TJF1960 Posted September 3, 2010 Share Posted September 3, 2010 I have a question in regards to WB temp data. If you have a program such as: If Module 'Climate' Temperature <= 74 °F Then Run Program 'Temp 074 Dwn Status' (Then Path) Else - No Actions - (To add one, press 'Action') At what point does the program turn from false to true. Does the ISY consider 74.0 to 74.4 = 74? And likewise does ISY consider 74.5 to 74.9 = 75? Or does it consider 74.0 to 74.9 = 74? I have had programs in the past not run when I thought they should have and it was always when the temp was in between a value, but I have not ever exactly figured out the break point. Thanks, Tim Link to comment
Mark Sanctuary Posted September 5, 2010 Share Posted September 5, 2010 This is how you would make your 'Temp 074 Dwn Status' flag program to go false. If Module 'Climate' Temperature <= 74 °F Then Run Program 'Temp 074 Dwn Status' (Then Path) Else Run Program 'Temp 074 Dwn Status' (Else Path) Link to comment
Michel Kohanim Posted September 5, 2010 Share Posted September 5, 2010 Hi Tim, Apologies for a tardy reply. Weatherbug values are integers with 4 decimal places. i.e. 74.235, 101.824, etc. ISY does NOT round off the values in program execution but it does so for display purposes. So, basically: 74.235 > 74.000 74.900 So, if you really want to handle "in between values" you would have to use the And/is not operators. With kind regards, Michel Link to comment
TJF1960 Posted September 5, 2010 Author Share Posted September 5, 2010 That makes sense. Thank you! Tim Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.