bofh69 / AiLight

This fork of AiLight sets the lamp's colour from a weather station.
Other
0 stars 0 forks source link

Forecast mode #9

Open duelago opened 6 years ago

duelago commented 6 years ago

Use the API at http://api.windyty.com/ to change to color to green if the forecast looks good at a certain destination.

bofh69 commented 6 years ago

They only seem to have an API for rendering their map in a browser. Do they have some other API?

duelago commented 6 years ago

Hmmm. Bummer. I didn't look closely enough. Guess we have to wait with that one.

duelago commented 6 years ago

Maybe a forecast from YR? http://www.yr.no/place/Sweden/Scania/K%C3%A5seberga//forecast.xml

bofh69 commented 6 years ago

SMHI has: http://opendata.smhi.se/apidocs/ I have not looked closely, but it seems they have current observations as well as forecasts.

YR has: http://api.met.no/weatherapi/documentation

YR's forecast API seem to have a nice lat&long parameters to get forecasts for a specific location. Could be found from a google map.