Jump to content

WeatherBug Temp value / program status


TJF1960

Recommended Posts

Posted

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

Posted

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)

Posted

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

Guest
This topic is now closed to further replies.

×
×
  • Create New...