Netatmo Public Weather smart home integration, free and open source

Weather around your home from the public Netatmo stations: rain, wind, temperature.
Overviewâ
Thousands of Netatmo owners share the measures of their weather station. This integration reads the public stations around a house of Gladys and turns them into the weather of your neighborhood: temperature, humidity, pressure, rain, wind. It tells your scenes when the rain starts or stops nearby, and shows the nearest stations on the dashboard. You do not need any Netatmo device.
Prerequisitesâ
- Gladys Assistant 5.3.0 or later.
- A house with a position in Gladys (Settings â Houses).
- A free Netatmo account and your own Netatmo Connect application.
Create a Netatmo applicationâ
- Open https://dev.netatmo.com/apps/createanapp#form and sign in with a Netatmo account (create one if needed).
- Fill in the required fields: name (e.g. "Gladys"), description, your name and e-mail. Leave "Redirect URI" and "Webhook URI" empty.
- Save: the page shows a "client ID" and a "client secret".
If you already use the Netatmo integration of Gladys, create a second application for this one: each integration keeps its own tokens.
Configurationâ
- Integrations â Netatmo Public Weather â Configuration: paste the client ID and the client secret, then click Save configuration.
- Click Connect next to "Netatmo account", sign in at Netatmo and accept (Gladys only asks to read weather data). The status turns to connected. If Netatmo refuses the redirect address, paste the one Gladys shows into the "Redirect URI" of your application.
- Choose the house, the radius (1 to 20 km, 3 by default: 2 to 5 km is enough in town, widen it in the countryside), how the stations are combined (the median ignores a badly placed station), how many nearby stations are offered as devices and the reading interval (10 minutes recommended: one request per reading).
- Press Read Netatmo now to check: it shows the weather of the neighborhood.
Usageâ
Devicesâ
In Discovery, add Netatmo weather around âŠ: temperature, humidity, pressure (sea level), rain over the last hour and over 24 hours, wind, gust, direction, "Raining" (yes when a third of the rain gauges nearby measure rain) and the number of stations used. Add the nearest stations you want: each one gives the measures of its modules and its distance from home. A value Netatmo does not give is not shown.
Dashboard widgetsâ

- Weather nearby: raining or not, temperature, humidity, wind, gusts, pressure, rain over 24 hours.
- Netatmo stations nearby: the nearest stations with their distance and measures.
- Neighborhood, last 24 h: a chart of the temperature, humidity, pressure, wind or rain (setting), with its lowest and highest values. It fills up over the first day.
Scenesâ
- Triggers Netatmo: rain starts nearby and Netatmo: rain stops nearby (after two dry readings in a row, so that a pause between two showers is not an end). Their variables: rain over 1 h and 24 h, rain gauges, temperature, a ready-made summary.
- Action Netatmo: read the weather nearby: reads the stations now, with the radius you choose, and gives the values and a summary to the next actions.
Examples: when the rain starts nearby, close the roof window and send the summary; when it stops, resume the watering; every evening, read the weather and warn of frost below 1 °C.
Transportâ
Cloud: the integration calls api.netatmo.com over HTTPS. Netatmo receives a rectangle around your house and your access token. The tokens stay in the configuration of Gladys; they are never written to the logs.
Troubleshootingâ
- "Enter the client ID and secret": save both fields before clicking Connect.
- "Netatmo refused the connection": check the client ID and secret (a copy with a space, an application deleted), then click Connect again. Netatmo also refuses when the access was revoked from your Netatmo account.
- "No house of Gladys has a position": set it in Settings â Houses.
- No station: widen the radius. Stations offline for more than an hour are not used.
- "Netatmo limits the requests": Netatmo allows 500 requests an hour per account; another tool using the same account may use them up. The integration tries again in 15 minutes.
- To report a problem, open an issue with the versions of Gladys and of the integration, the radius and the message of Read Netatmo now. Never paste your client secret.
Configuration settingsâ
These are the settings Netatmo Public Weather asks for in its configuration screen in Gladys.
| Setting | Type | Required | Description |
|---|---|---|---|
| Netatmo Connect application | section | No | Netatmo shares the measures of the weather stations their owners made public. Gladys reads them through YOUR own Netatmo Connect application (free, 2 minutes), no Netatmo device needed: 1. Open "Create a Netatmo application" below and sign in with a Netatmo account (create one if needed). 2. Fill in the required fields (name, e.g. "Gladys", description, your name and e-mail). Leave "Redirect URI" and "Webhook URI" empty. 3. Save, copy the "client ID" and "client secret" into the fields below, then click "Save configuration". 4. Click "Connect" and accept on the Netatmo page. |
| Client ID | string | Yes | The "client ID" line of your application on dev.netatmo.com. |
| Client secret | secret | Yes | The "client secret" line of the same page. Once saved it is no longer shown. |
| Netatmo account | oauth2 | No | Gladys only asks to read weather data (read_station). The redirect address shown above does not need to be declared at Netatmo; if Netatmo refuses it, paste it into the "Redirect URI" of your application. |
| Around the house | section | No | The public stations are searched around the position of a house of Gladys (Settings > Houses). |
| House | select | No | Empty: the first house with a position. |
| Radius (km) | number | No | From 1 to 20 km. 2 to 5 km is enough in town; widen it in the countryside. |
| Combine the stations by | select | No | The median ignores a badly placed station (in the sun, against a wall); the mean uses them all. |
| Nearby stations offered as devices | select | No | The nearest stations show in Discovery; add only the ones you want. |
| Options | section | No | |
| Reading every | select | No | One request per reading; the stations send their measures every 10 minutes. |
| Language of the texts | select | No | Device names and the texts given to scenes. Automatic: the language of the dashboard. |
How to install Netatmo Public Weather in Gladysâ
- In Gladys, open Integrations: Netatmo Public Weather appears in the catalog, next to the native integrations, with a community badge.
- Click Install. Gladys pulls the Docker image (
ghcr.io/william-de71/gladys-netatmo-public-weather:0.1.0), starts it in a sandbox isolated from the core, and generates the integration's interface (devices, discovery and configuration). - Open the Configuration screen of the integration, fill in the settings, and save.
- You can also install it directly from its repository URL: https://github.com/William-De71/gladys-netatmo-public-weather.
Netatmo Public Weather requires Gladys >=5.3.0. The catalog inside Gladys refreshes every hour, so a new version becomes available at most one hour after its release.
Not running Gladys yet? It is free and open source: follow the installation guide to get started.
About external integrationsâ
Netatmo Public Weather is an external integration: a community integration packaged as a Docker container and published on GitHub, that Gladys installs in one click and runs in a sandbox isolated from its core. It is published and maintained by William-De71, not by the Gladys core team.
- Browse all integrations, native and community
- Build and publish your own external integration
- Source code on GitHub â source of this documentation