mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 11:50:00 +00:00
## Added Weather Provider for Open-Meteo. I've found a completely free weather REST API (event with option of self-hosting) after having problems with API keys from all MagicMirror weather providers currently implemented (the remote services, not the providers themselves). This API doesn't return information about reverse geocode from latitude and longitude options like others. I solved that issue using another free API. ### APIs used - [Open-Meteo Weather Forecast API](https://open-meteo.com/en/docs) - [BigDataCloud’s Free Client-Side Reverse Geocoding API](https://www.bigdatacloud.com/docs/api/free-reverse-geocode-to-city-api) ### Considerations - This provider is config reliable so, be free to use the same config you can found in the official MagicMirror Weather module documentation. - This module config skips the `apiKey` parameter. It's not used at all. Only `latitude` and `longitude` are required. #### Config examples: ``` modules: [ { module: "weather", position: "top_right", header: "Weather Forecast", config: { updateInterval: <number here>, weatherProvider: "openmeteo", type: "current", lat: <number here>, lon: <number here>, showHumidity: true, showWindDirectionAsArrow: true, showWindDirection: true, degreeLabel: true, } }, { module: "weather", position: "top_right", header: "Weather Forecast", config: { updateInterval: <number here>, weatherProvider: "openmeteo", type: "daily", lat: <number here>, lon: <number here> colored: true, maxNumberOfDays: <number here>, showPrecipitationAmount: true, appendLocationNameToHeader: true } }, { module: "weather", position: "top_right", header: "Weather Forecast", config: { updateInterval: <number here>, weatherProvider: "openmeteo", type: "hourly", lat: <number here>, lon: <number here>, maxEntries: <number here>, showPrecipitationAmount: true, degreeLabel: true, appendLocationNameToHeader: true } }, ] ``` Co-authored-by: Michael Teeuw <michael@xonaymedia.nl>
Weather Module Weather Provider Development Documentation
For how to develop your own weather provider, please check the MagicMirror² documentation.