bbernstein / homebridge-snowswitch

A switch that turns on when it's showing out using local weather forecast
MIT License
2 stars 0 forks source link

Alternative services #1

Closed mbriney closed 5 years ago

mbriney commented 6 years ago

With the Weather Underground API moving to a closed paid model (https://www.wunderground.com/weather/api/) any thoughts on moving to a different provider?

bbernstein commented 6 years ago

I hadn't heard that, but winter is coming and I'll try to find a solution before the first snow. Thanks for the heads-up... any suggestions?

bbernstein commented 6 years ago

I hope they have a solution before they shut it down according to this:

bbernstein commented 6 years ago

Looking at OpenWeatherMap as a possibility. Another to consider is Accuweather Developer.

mbriney commented 6 years ago

Would something like the Dark Sky API work? https://darksky.net/dev

The first 1,000 API requests you make every day are free of charge

The forecast API returns current conditions https://darksky.net/dev/docs#forecast-request

bbernstein commented 6 years ago

That looks good, and easier to get a key. Thanks, I'll see if I can do some work on it this weekend.

bbernstein commented 6 years ago

I finally had some time to work on this. I have a new version that I'll release soon using darksky. I'm making a few other improvements along the way so I'll bump the version number with the next release.

bbernstein commented 5 years ago

Updated to now use DarkSky instead of Weather Underground. Please upgrade and follow new directions for configuration. It will now use Lat/Lon rather than other location values. Also, you'll need a DarkSky API key.

Read the new instructions.