forecaswatch2
forecaswatch2 copied to clipboard
Idea: Alternative weather providers
Instead of scraping, the watchface could try some well-supported API. Examples:
- [ ] Met.no (also used in Home Assistant)
- [x] OpenWeatherMap (they even claim it is easy to migrate from DarkSky API)
- [ ] Buienradar (minutely rain forecast only for a couple of countries)
- [ ] drops.live (AKA Buienalarm, minutely rain forecast, but sadly no API)
- [ ] AccuWeather (Limited Trial access allows each developer up to 50 calls per day.)
You may even want to take a look at the weather services already implemented in Home Assistant.
Is there a particular one of these that you are keen on supporting? I'm pretty happy already with the forecasts from Weather Underground, at least in the US.
I've been using forecaswatch2 for just a day, and WU seems to be working fine as well. (I used the older watchface for months until it stopped working.)
I am confused by what you mean "hacky workaround" on the README page. I thought you were scraping the website or using a non-official API. I thought the hacky workaround was unstable. If it is stable enough, then there isn't much to do here in this issue.
This issue is mostly a suggestion/research of alternative providers, in case WU and DarkSky stop working. If I were to choose to implement extra providers, I'd go for the first two. (met.no seems reliable and widely used in Home Assistant; while OpenWeatherMap should be simple to implement, based on existing DarkSky code.)
The current implementation has been stable for the past year or so, but if it breaks at some point I'll look into those suggestions :)
@denilsonsa or @mattrossman please could you update the description to mark OpenWeatherMap as completed and available in v1.19?
Done, updated the description with checkboxes.