If CO2 is to high set fan on

Moderator: leecollings

Post Reply
jonathan12
Posts: 25
Joined: Sunday 31 December 2017 17:30
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

If CO2 is to high set fan on

Post by jonathan12 »

Hi all,

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:

Image

Why is it not working when I blow into the CO2 sensor and make the CO2 higher then 800ppm?
Last edited by jonathan12 on Sunday 23 June 2019 17:56, edited 1 time in total.
jonathan12
Posts: 25
Joined: Sunday 31 December 2017 17:30
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: If CO2 is to high set fan on

Post by jonathan12 »

Fixed it with another type of if do:

Image

And this is also working:

Image
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest