Jump to content

Using Temp in program


wswartz

Recommended Posts

Posted

Recently purchased the climate module and trying to understand how to use temp in a program. Got this simple one to turn on a pond heater when the temp falls below freezing:

If
       Module 'Climate' Temperature <= 32 °F

Then
       Set Scene 'House / Garage / Scene.WaterFeature' On

Else
       Set Scene 'House / Garage / Scene.WaterFeature' Off


I see the temp in the climate module is less then 32deg, but nothing seems to happen. I guessed this was because there was no "event" that was testing the temp, so I added a schedule line that looks like this:

If
       From    12:00:00AM
       To      11:59:59PM (same day)
   And Module 'Climate' Temperature <= 32 °F
...

 

That seemed to make it work. So what's the problem? Just curious if there was a better way of doing this and if my assumptions were correct. Trying to understand this better :)

 

Bill

Posted

The program triggers when the temperature crosses the threshold.

 

My guess is, that it was already below 32 when your first created the program, so it never crossed 32 and thus never triggered.

 

By adding the from/to times, you created 2 more triggers which forced the temp evaluation.

Guest
This topic is now closed to further replies.

×
×
  • Create New...