I want to turn on a fan when the CO2 level in a room is above 750 ppm and turn it off when the CO2 level is below 725 ppm. However, at temperatures above 25°C under no circumstances the fan should be switched on when the outside temperature is above the inside temperature.
For this I made the attached Blocky script. However, it doesn't work. It did work without the condition that the fan should not be turned on at temperatures above 25°C when the outside temperature is above the inside temperature.
Now, is the script wrong or is Blocky unable to handle the nested If statements?
In the script it is:
Buiten Temp/Humi (Davis) = outside temperature;
Binnen Temp/Hum (Davis) = inside temperature;
CO2 Woonkamer = CO2 level in the room;
Switch Suskast Werkkamer = Switch fan.
Blocky script doesn't do what I want Topic is solved
Moderator: leecollings
-
- Posts: 29
- Joined: Wednesday 31 July 2019 16:43
- Target OS: Windows
- Domoticz version: 12736
- Location: Netherlands
- Contact:
Blocky script doesn't do what I want
Aeotec Z-wave Gen5, RFXtrx433xl, Philips Hue Bridge, Davies Weather Station, Honeywell HGI/S80, AurAir CO2
-
- Posts: 46
- Joined: Friday 12 February 2016 20:58
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.4834
- Contact:
Re: Blocky script doesn't do what I want
Hoi HoogendoornJH,
I think you chose the wrong "if" function.
2x * is not possible.
See image
Kind regards cobra045
I think you chose the wrong "if" function.
2x * is not possible.
See image
Kind regards cobra045
Who is online
Users browsing this forum: No registered users and 1 guest