I'm trying to turn on the house ventilation (mechanische ventilatie) when the CO2 is too high using a Sonoff wifi swich like this topic: https://www.domoticz.com/forum/viewtopic.php?t=12544
I have a working MHZ19 sensor on a NodeMCU. It is working in Domoticz.
I have a Sonoff wich I will connect to my ventilator (DUCO). For now I have connected a lamp on it. The switch in domoticz is working.
I created this blockly script:

Why is it not working when I blow into the CO2 sensor and make the CO2 higher then 800ppm?