Athlon Posted January 27, 2023 Posted January 27, 2023 Here's my program: AC Upstairs Off - [ID 001E][Parent 0001] If $Bedroom_Temperature is 0 Or $Outside_Temperature is 0 Then Set 'Jen's Room Sensibo' Off Wait 10 seconds Set 'Guest Room Sensibo' Off Wait 10 seconds Set 'Bedroom Sensibo' Off Else - No Actions - (To add one, press 'Action') My issue: When either variable changes to '0', the Sensibos do not turn off. If I right click on the program and chose 'Run (If)' the Sensibos do turn off (if either one is '0'}. My question - why is my Policy not checking to see if those variables are changing?
Athlon Posted January 27, 2023 Author Posted January 27, 2023 (edited) The reason I don't have the program check the temperatures directly is because the Sensibo controllers beep with every 'on' and 'off' command. The program worked flawlessly when I used temperature from sensors directly, but the beeping every time a temperature inside or outside changed was driving us nuts 🤬. I have a similar program to turn them On, by the way (also not working). Each time a temperature changed, an 'on' or 'off' command was sent to them causing a beep. I even tried to have the program check the state of each Sensibo before sending the command, but it wasn't reliable. The variables are working perfectly, and the program I listed above does as well if I run it manually. Edited January 27, 2023 by Athlon
Solution larryllix Posted January 27, 2023 Solution Posted January 27, 2023 It appears you used Integer variable instead of State variables. Only State variables will trigger programs to run. 3
Athlon Posted January 27, 2023 Author Posted January 27, 2023 21 minutes ago, larryllix said: It appears you used Integer variable instead of State variables. Only State variables will trigger programs to run. Thank you for your quick response! Gonna make that change right now 😀.
brians Posted January 27, 2023 Posted January 27, 2023 How do you get the temperature in room then to fill the variables ? You are keeing those rooms fairly cold unless I am misunderstanding the purpose of the programs.Â
Athlon Posted January 27, 2023 Author Posted January 27, 2023 Just now, brians said: How do you get the temperature in room then to fill the variables ? You are keeing those rooms fairly cold unless I am misunderstanding the purpose of the programs. The 0's and 1's are just to trigger On or Off. I don't have the house temp at 0 - 🤣 Here's an example of how I'm changing a 'State Variable' (instead of an Integer Variable thanks to @larryllix): Temperature - Outside Greater than 20 - [ID 000F][Parent 0001] If 'WeatherBit Weather' Temperature >= 20.0°F Then $Outside_Temp = 1 Else - No Actions - (To add one, press 'Action') I have six of these, two for upstairs using a sensor in the master bedroom, two for outside using Weatherbit and two for the family room downstairs. The inside sensors are Ecobees.
Athlon Posted January 27, 2023 Author Posted January 27, 2023 The other one for Outside: Temperature - Outside Less than 20 - [ID 001A][Parent 0001] If 'WeatherBit Weather' Temperature < 20.0°F Then $Outside_Temp = 0 Else - No Actions - (To add one, press 'Action') Â
Athlon Posted January 27, 2023 Author Posted January 27, 2023 (edited) The Sensibos control my Mitsubishi Mini Splits. They are heat pumps, so I have the programs set to turn them off if the outside temp falls below 20F. I have 4 indoor units coupled to 2 outdoor compressors. They are reducing my oil consumption considerably. Â Edited January 27, 2023 by Athlon
Recommended Posts