Jump to content

WeatherBug Temp value / program status


TJF1960

Recommended Posts

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

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

Archived

This topic is now archived and is closed to further replies.


×
×
  • Create New...