Jump to content

Predictive WeatherBug programming


mitch236

Recommended Posts

Posted

I think it would be great if I could have the ability to run a program based on the weather prediction of the following day.

 

For instance, my family usually wants to swim in our pool on the weekends as long as the temp is warm and it isn't too cloudy or raining. So every Friday, I have to turn on the pool heater after checking the weather to see if its going to be good for swimming. I would rather set up a program that uses Weather Bug to determine the predicted weather for Saturday and then only runs when the predicted weather meets or exceeds the requirement.

 

You could assign a numeric value to each criteria except the temp. So you could write your if something like this:

 

If:

Predicted high temp on Saturday is >70

And the sky clarity is >5 (where 0 is completely clouded and 10 is blue skies)

And chance of rain is <50%

 

Then:

Run Scene 'Pool On'

Posted

Hi,

 

This is an excellent idea and it's part of the 7 day forecast in WB (not very accurate). This is indeed on our list and it shall be implemented. Priority is low.

 

With kind regards,

Michel

  • 4 weeks later...
Posted

I just purchased the Climate module and was surprised as well to not see forecast data.

I wrote a .NET program that pulls 7 days of data from the WB API so it's certainly possible.

 

Put me down as another vote for adding this data to the Climate module.

Posted

Hello io_guy,

 

Consider it done ...

 

Also, it would really help if you could send us the APIs you are using. As you may already know, there are two types of APIs: 1) free and 2) commercial. What we are using is the commercial APIs.

 

With kind regards,

Michel

Posted

I'll also throw my vote for predictive temps for my personal home setup. I'd like to change how often my irrigation programs run based on the high temp for the day. Currently I'm working through a complex set of programs that look at the previous days high temp to decide how often to run my irrigation for the current day. Not an ideal setup, but it's fairly close since temps don't fluctuate too much from day to day out here in AZ. A predictive high temp for the day would simplify the number of programs I need to manage.

 

Wes

Posted

Also, it would really help if you could send us the APIs you are using. As you may already know, there are two types of APIs: 1) free and 2) commercial. What we are using is the commercial APIs.

 

Michel,

I am accessing the WB data through their WSDL interface, using the free API.

LiveWeatherData gives me all the information that the Climate module currently pulls.

ApiForecastData gives me the next 7 days of forecast.

 

After that I simply do some brute force parsing of the SOAP and all is good.

Archived

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

×
×
  • Create New...