MMM-forecast-io migration to OpenWeatherMap from DarkSky
FlatPepsi last edited by FlatPepsi
I’ve just updated my fork of MMM-forecast-io
DarkSky, the source of data for this module is shutting down! Dark Sky API will end on March 31st, 2023 as per: https://blog.darksky.net/
I’ve looked around, and OpenWeather seems to be the easiest alternative. I’ve ported my fork to the new data source. Bug reports welcome, but seems to be running well so far.
The screen and display are essentially the same, only the data source has changed.
Enjoy - and feel free to steal my code changes to update other forks!
For anyone else using Dark Sky, Open Weather has a nice migration page with a table of field name changes between the two.
The overall data format is very close to the same, making migration easier.
@FlatPepsi Hi, can you please send me your changes or upload them here? Thanks in advance
doctorwhen last edited by
@FlatPepsi Good to see you are ahead of the game as DarkSky is shutting down next year. Did you consider the successor to DarkSky, WeatherKit ? I have not yet checked it out and it is currently in Beta. I am happy with OpenWeather, just curious about WeatherKit.
@trividar See the first link of the first post.
@doctorwhen Haven’t explored that one yet. The community really needs multiple weather sources - not a fan of being limited to just one resource!
I’m still squashing bugs here and there - big update today. This one should be stable.
Felt inspired, added full metric support. Units set via the config file.
- ‘imperial’ for Fahrenheit temp and MPH wind
- ‘metric’ for Celsius temp and Meters Per Second wind
Graph now should scale appropriately when using non-default widths.