big update

This commit is contained in:
2023-07-30 17:52:18 +02:00
parent 4ec3c5ab2f
commit 65f8d8567e
12 changed files with 2631 additions and 3115 deletions

View File

@@ -12,7 +12,7 @@ try:
humidity = dhtDevice.humidity
co2 = None
try:
mhz19_reading = mh_z19.read()
mhz19_reading = mh_z19.read(serial_console_untouched=True)
if mhz19_reading is not None and mhz19_reading['co2'] is not None:
co2 = mhz19_reading['co2']
except Exception as error: