Grundlage der Abhängigkeit von CO2 und Aerosol in der Luft https://depositonce.tu-berlin.de/bitstream/11303/11477/5/hartmann_kriegel_2020_de.pdf
./esptool.py --port /dev/ttyUSB0 erase_flash ./esptool.py -p /dev/ttyUSB0 write_flash -fs 1MB -fm dout 0x0 ~/tasmota-sensors.bin
der MHZ19 kann auf 4 verschiedene maximale Werte eingestellt werden
Ich nutze für meine Test den Bereich bis 3000 ppm für eine Co2 Ampel reicht bis 2000ppm
der Sensor sollte mit Frischluft Kalibriert werden. Frischluft hat um die 400ppm
Anbei eine Liste über alle Parameter
Sensor15 Automatic Baseline Correction for MH-Z19B CO2 sensor
gesetzt werden die Werte immer mit:
sensor15 <WERT>
Rule1 on Rule1 off
https://www.umwelt-campus.de/forschung/projekte/iot-werkstatt/ideen-zur-corona-krise
Rule1 ON MHZ19B#CarbonDioxide<1400 DO HSBColor 359,100,35 ENDON ON MHZ19B#CarbonDioxide<1200 DO HSBColor 58,100,50 ENDON ON MHZ19B#CarbonDioxide<800 DO HSBColor 126,100,39 ENDON ON MHZ19B#CarbonDioxide<700 DO HSBColor 168,100,39 ENDON ON MHZ19B#CarbonDioxide<600 DO HSBColor 174,76,43 ENDON ON MHZ19B#CarbonDioxide>1400 DO HSBColor 1,100,50 ENDON Rule1 ON MHZ19B#CarbonDioxide<1400 DO HSBColor 359,100,20 ENDON ON MHZ19B#CarbonDioxide<1200 DO HSBColor 58,100,25 ENDON ON MHZ19B#CarbonDioxide<800 DO HSBColor 126,100,20 ENDON ON MHZ19B#CarbonDioxide<700 DO HSBColor 168,100,20 ENDON ON MHZ19B#CarbonDioxide<600 DO HSBColor 174,76,20 ENDON ON MHZ19B#CarbonDioxide>1400 DO HSBColor 1,100,25 ENDON #Neuer Regelsatz mit BREAK für Kita optimiert # <600 == BLAU # <1000 == dunkel Grün # <1250 == hell Grün # <1000 == GRÜN # <1500 == Gelb # <1990 == Orange # >1990 == ROT Rule1 ON MHZ19B#CarbonDioxide>1990 DO HSBColor 1,100,50 BREAK ON MHZ19B#CarbonDioxide<600 DO HSBColor 234,100,25 BREAK ON MHZ19B#CarbonDioxide<1000 DO HSBColor 103,100,53 BREAK ON MHZ19B#CarbonDioxide<1250 DO HSBColor 87,63,53 BREAK ON MHZ19B#CarbonDioxide<1500 DO HSBColor 58,100,53 BREAK ON MHZ19B#CarbonDioxide<1990 DO HSBColor 37,100,50 BREAK
HSB (hue, saturation, brightness) HSL (hue, saturation, lightness)
Die drei Parameter bei dem HSB-Farbe stehen für:
HSL-Farbe entspricht HSB, in dem „L“ für Lightness steht.