Open-Meteo Smart-Home-Integration, kostenlos und Open Source

Kostenlose weltweite Vorhersagen der nationalen Wettermodelle, ohne Konto oder API-Schlüssel.
Die Dokumentation dieser Integration wird von ihrem Autor geschrieben und ist bisher nur auf Englisch verfügbar.
Weather for Gladys from Open-Meteo, the free and open weather API built on the forecasts of the national weather services (Météo-France, DWD, NOAA, ECMWF, Met Office, Environment Canada, MET Norway, MeteoSwiss…): current conditions, the next 24 hours, the next 8 days, and the rain of the next hour quarter by quarter.
It works anywhere in the world, with no account and no API key.
Weather data by Open-Meteo.com, under the CC BY 4.0 licence. This integration is a community project, not affiliated with Open-Meteo.
What you get
- The Gladys weather widget and the chat assistant use Open-Meteo: the weather now (temperature, feels-like, humidity, pressure, dew point, wind and gusts, visibility, cloud cover, UV index, sunrise and sunset), the next 24 hours (with the chance of rain) and the next 8 days. Day and night are told apart, so the night gets its own icons. Everything is shown in °F, mph and inches or °C, m/s and mm, following the unit system of each Gladys user.
- Scene trigger "Rain or snow expected within the hour": fires when the quarter-hour forecast starts showing precipitation within the hour.
- Scene action "Get the precipitation of the next hour": tells a scene whether rain or snow is coming, when, and how strong — to close the awning or skip the sprinklers.
- Dashboard widget "Precipitation, next 2 hours": the quarter-hour chart of the rain and snow to come.
No weather alerts. Open-Meteo does not publish the official warnings of the weather services (vigilance, storm or heat warnings): the built-in "Weather alert" trigger of Gladys stays silent with it. For alerts, install the Météo France integration (vigilance, France) or Pirate Weather (United States, Canada, Europe) next to this one.
Installation
- In Gladys, check that your house has a location: Settings → Houses, then set the address or the position on the map. The integration refreshes the weather of every house that has one.
- Install Open-Meteo from the integration catalog. Gladys asks you to allow access to the location of your houses: it is needed to fetch their weather.
- Open the Configuration tab and click Test Open-Meteo. The answer shows the current temperature at your house.
That's it: the weather widget of your dashboard now shows Open-Meteo. If another weather integration is installed, you can choose the provider in the settings of the weather widget.
Configuration
- Refresh interval — every 15 minutes (recommended), 30 minutes or hour.
- Weather model — leave Automatic: Open-Meteo then combines the best models for your location (the national high-resolution model where there is one, such as Météo-France AROME in France, then global models). Pick a model only to follow one weather service: Météo-France (AROME, ARPEGE), DWD ICON (Germany), NOAA GFS and HRRR (United States), ECMWF IFS, UK Met Office, Environment Canada GEM, MET Norway (Nordic countries), MeteoSwiss ICON. Outside their region, the regional models fall back to a global one. Some models lack a value (visibility, UV index, chance of rain…): it is then simply not shown. If a model has no forecast at all for your house, the integration says so in the Configuration screen: choose Automatic.
- Language of the scene texts — the language of the sentences the integration writes in scene variables ("Moderate rain expected in 23 minutes (85% chance)."): English, French, German or Spanish. Automatic follows the language of your Gladys.
How often the weather is refreshed
A timer in the integration refreshes every house with a location, every 15 minutes by default. Each refresh is one call per house (houses closer than about 100 m share it), and that single call feeds everything: the dashboard, the chat, the scenes and the widget. Opening the dashboard costs nothing: Gladys is served from the forecast in memory.
The free Open-Meteo API allows 10,000 calls a day per Internet connection. Open-Meteo counts a request with many variables as several calls: about four here, so a house refreshed every 15 minutes uses some 420 calls a day. The limit is shared by every application on your connection; if it is reached, the integration waits and keeps showing the last forecast for up to 3 hours.
Scenes
Rain or snow expected within the hour
Fires once when the quarter-hour forecast shows precipitation within the hour where the previous refresh showed none. Filters: the house (its name, exactly as in Gladys; empty for any house), the kind of precipitation (rain, snow, freezing rain) and the strongest intensity expected (light, moderate, heavy).
Variables for the following actions: the house, the precipitation, the intensity, the minutes until it starts, the probability (when the model gives one), and a ready-made sentence — for example "Moderate rain expected in 23 minutes (85% chance)."
A quarter of an hour counts as wet from 0.1 mm (0.004 in) of water. Light is under 2.5 mm/h (0.1 in/h), heavy above 7.6 mm/h (0.3 in/h). The trigger does not fire twice for the same house within 45 minutes, and never on the first refresh after a restart.
Example: Rain or snow expected within the hour, house Home, rain, moderate or heavy → close the roof window and send a message with the sentence.
Get the precipitation of the next hour
A scene action that reads the quarter-hour forecast of a house (empty: your first house) and returns whether precipitation is expected, in how many minutes, its kind, intensity and probability, and a sentence. Use a condition on Precipitation expected to decide what comes next. It costs no call.
Dashboard
- The Weather widget of Gladys shows Open-Meteo as soon as the integration is installed.
- The Precipitation, next 2 hours widget, added to a dashboard like any widget, draws the next two hours quarter by quarter, in in/h or mm/h. Leave the "House" setting empty for your first house, or type the name of another one.
Limits
- No official alerts (see above).
- The quarter-hour forecast is model data, not radar. Some models run natively every 15 minutes over parts of Europe and North America (NOAA HRRR in the United States); elsewhere it is interpolated from hourly models. It is refreshed every 15 minutes at best: a shower that pops up between two refreshes is announced by the next one.
- Chance of rain: Open-Meteo derives it from ensemble models, by the hour and the day; some models and places have none.
- Houses are matched by name in the scene and widget fields: type the name exactly as shown in Gladys.
- Non-commercial use only, as the free Open-Meteo API requires.
- The integration needs Gladys 5.1 or later.
Troubleshooting
- "No house of Gladys has a location" — set the location of your house in Settings → Houses.
- "Open-Meteo has no forecast for your house with this weather model" — the chosen model does not cover your house: choose Automatic.
- "Open-Meteo request limit reached" — another application on your Internet connection uses the same free API heavily. The integration retries after an hour (a minute for the per-minute limit); choose a longer refresh interval if it happens often.
- "Open-Meteo is unreachable" — Gladys cannot reach
api.open-meteo.com: check its Internet access. The integration retries every 5 minutes. - The dashboard still shows another provider — open the settings of the weather widget and choose Open-Meteo.
- Logs: the Logs tab of the integration shows each refresh ("Refreshed 1 location(s) of 1 house(s); next refresh in 15 min").
Privacy
The coordinates of your houses are sent to Open-Meteo to get their forecast, and nowhere else. No account, no key, nothing stored on disk.
Credits
Weather data by Open-Meteo.com (CC BY 4.0), from the models of Météo-France, DWD, NOAA, ECMWF, the Met Office, Environment Canada, MET Norway, MeteoSwiss and other national weather services. Thank you to Open-Meteo for keeping a free API open to everyone.
Konfigurationseinstellungen
Diese Einstellungen fragt Open-Meteo in seinem Konfigurationsbildschirm in Gladys ab.
| Einstellung | Typ | Pflichtfeld | Beschreibung |
|---|---|---|---|
| Keine Anmeldung nötig | section | Nein | Open-Meteo ist für die nicht-kommerzielle Nutzung kostenlos und braucht keinen API-Schlüssel. Die Integration aktualisiert das Wetter jedes Zuhauses, das in Gladys einen Standort hat. Weather data by Open-Meteo.com (CC BY 4.0); diese Integration ist nicht mit Open-Meteo verbunden. |
| Aktualisierungsintervall | select | Nein | Jede Aktualisierung kostet einen Aufruf pro Zuhause. Alle 15 Minuten hält die Regenvorhersage der nächsten Stunde aktuell. |
| Wettermodell | select | Nein | Automatisch kombiniert die besten Modelle für deinen Standort. Wähle ein Modell nur, wenn du einem bestimmten Wetterdienst folgen willst. |
| Sprache der Szenentexte | select | Nein | Sprache der Sätze, die die Integration in Szenenvariablen schreibt. Automatisch folgt der Sprache deines Gladys. |
So installierst du Open-Meteo in Gladys
- Öffne in Gladys Integrationen: Open-Meteo erscheint im Katalog neben den nativen Integrationen, mit einem Community-Badge.
- Klicke auf Installieren. Gladys lädt das Docker-Image (
ghcr.io/guim31/gladys-open-meteo:1.1.0) herunter, startet es in einer vom Kern isolierten Sandbox und erzeugt die Oberfläche der Integration (Geräte, Erkennung und Konfiguration). - Öffne den Bildschirm Konfiguration der Integration, fülle die Einstellungen aus und speichere.
- Du kannst sie auch direkt über die URL ihres Repositorys installieren: https://github.com/guim31/gladys-open-meteo.
Open-Meteo benötigt Gladys >=5.1.0. Der Katalog in Gladys wird stündlich aktualisiert, eine neue Version ist also spätestens eine Stunde nach ihrer Veröffentlichung verfügbar.
Du nutzt Gladys noch nicht? Es ist kostenlos und Open Source: folge der Installationsanleitung, um loszulegen.
Über externe Integrationen
Open-Meteo ist eine externe Integration: eine Community-Integration, die als Docker-Container verpackt und auf GitHub veröffentlicht wird. Gladys installiert sie mit einem Klick und führt sie in einer vom Kern isolierten Sandbox aus. Sie wird von guim31 veröffentlicht und gepflegt, nicht vom Gladys-Kernteam.
- Alle externen Integrationen durchsuchen
- Die nativen Integrationen entdecken, die in Gladys eingebaut sind
- Deine eigene externe Integration bauen und veröffentlichen
- Quellcode auf GitHub — Quelle dieser Dokumentation