Météo des forêts smart home integration, free and open source

Unofficial: Météo-France forest fire danger by department, tomorrow and the day after.
Unofficial integration, not affiliated with Météo-France. It reads the open data of the Météo des forêts published by Météo-France on data.gouv.fr (no account, no key) and gives, for each department followed, the forest fire danger level of today and of tomorrow, the text of the latest bulletin, and a scene trigger.
Information only, never an alert system: follow the instructions of the prefecture and of Météo-France. Never tested with a real device (it is a public service); tried against the real file of Météo-France.
What it does
- One device per department followed (mainland France and Corsica:
01to95,2A,2B; 10 at most). - Features of each device:
- Fire danger today (1-4) and Fire danger tomorrow (1-4): 1 low, 2 moderate, 3 high, 4 very high. The level of a day comes from the bulletin of the day before (J+1), else from the one of two days before (J+2). They change at midnight (Paris time) and when a new bulletin comes out.
- Bulletin: "Bulletin of 05/10/2026 16:50: 06/10 moderate, 07/10 low" (the J+2 level, the day after tomorrow, is in this text), or "No bulletin (off season). Last one: 05/10/2026.".
- Scene trigger "Forest fire danger forecast raised": a new bulletin forecasts for tomorrow a level reaching the chosen one (moderate, high or very high), coming from below it (the level of the day the bulletin comes out; none that day counts as low). Variables: level forecast, its name, level of the day before, level of the day after, department code, day forecast, time of the bulletin. Once per bulletin and per level crossed; never at the first read of a department; never for a bulletin more than 24 h old (found late after an outage); a bulletin corrected the same day never fires a rise already announced; a correction published after the read of the day is only read the next day. After an outage, a bulletin less than 24 h old may still fire while the "tomorrow" it forecasts is already today (the "day forecast" variable says so). When /data cannot be written, the event is sent all the same: a restart may then send it again.
Configuration
- Departments: their codes separated by commas, for example
13, 83, 2A. An unknown code (20,971...) is ignored and the status says so. Beyond 10, the next ones are ignored. - Language of the device names and of the bulletin text (French or English).
- Open Discovery and create the devices of the departments.
The Test button reads the file if a read is due; otherwise it shows the latest bulletin and the time of the next read. It never reads more often than below.
When the integration reads the file
Météo-France publishes the bulletin once a day, around 16:50 Paris time, then updates the yearly
file mdf_<year>.csv.gz (about 50 KB compressed).
- In season (a bulletin less than 3 days old): a read at 15:30 UTC; while the bulletin of the day is missing, again at 16:30, 18:00 and 20:30 UTC; nothing more that day once it is in.
- Off season (usually October to May): one read a day, at 17:30 UTC, to see the first bulletin of the season the day it comes out. There is no bulletin: the state says "no bulletin", it is not an error, and no level is published (never 0). The last values of the season stay shown in Gladys with their date; the bulletin text says there is none any more.
- At start, a read at once only if the file was never read for these departments or a slot was missed; two requests are always at least 20 minutes apart (restart, button, configuration, clock changed), unless /data was lost.
- Each read sends the ETag of the previous one: when the file did not change, the server answers 304 without any download.
- From January 1 until the file of the year exists, the server answers 404: "no bulletin yet this year", not an error, once a day.
- After a failure (429, 5xx, 403, network, a file not understood), the integration waits before
trying again: 20 minutes, doubled at each failure, 6 hours at most, what the server asks when it
says so (
Retry-After), across a restart too. A file not understood publishes no value and leaves the status in error.
What /data keeps
The time of the last request, the pause asked by the server, the 4 latest bulletins of the departments followed with the ETag of the file, the values last published (a restart does not publish the same value again) and the memory of the trigger. No personal data, no secret.
Limits
- Mainland France and Corsica only: the Météo des forêts does not cover the overseas departments.
- An unknown level stays unknown: nothing is published, never 0. An unreadable line of the file is ignored and counted in the status.
- The file is an archive updated once a day, not a real-time feed: the bulletin reaches Gladys by about 17:30 Paris time in summer when it comes out at the usual time.
Source and licence of the data
Météo des forêts, Météo-France, dataset "Archives de la Météo des forêts" on data.gouv.fr, under the Licence Ouverte 2.0 (Etalab, Open Licence). The levels are used as published.
Privacy
The integration sends nothing but a GET request to the file server of Météo-France
(meteofrance.s3.sbg.io.cloud.ovh.net), with a User-Agent of its own; neither your position nor your
departments are sent (the file holds the whole of France).
Configuration settings
These are the settings Météo des forêts asks for in its configuration screen in Gladys.
| Setting | Type | Required | Description |
|---|---|---|---|
| Forest fire danger in your departments | section | No | Unofficial, not affiliated with Météo-France. Reads the open data of the Météo des forêts on data.gouv.fr (no account, no key): one device per department with the danger level (1 low, 2 moderate, 3 high, 4 very high) of today and of tomorrow, the bulletin (with the day after), and a scene trigger. The bulletin comes out once a day in season (June to early October), around 16:50 Paris time; off season there is no bulletin: the status says so, it is not an error, nothing is published as 0. Mainland France and Corsica only. Information only, never an alert system: follow the instructions of the prefecture. Source: Météo-France, Licence Ouverte 2.0. Never tested with a real device (a public service), tried against the real file. |
| Departments | string | Yes | The codes of the departments to follow, separated by commas: 13, 83, 2A (10 at most). Then create their devices in Discovery. |
| Language of the device names and texts | select | No | The names of the devices offered in Discovery and the text of the bulletin. |
How to install Météo des forêts in Gladys
- In Gladys, open Integrations: Météo des forêts appears in the catalog, next to the native integrations, with a community badge.
- Click Install. Gladys pulls the Docker image (
ghcr.io/lm1lc3n7/gladys-meteo-des-forets:0.1.1), 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/LM1LC3N7/gladys-meteo-des-forets.
Météo des forêts requires Gladys >=5.1.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
Météo des forêts 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 LM1LC3N7, 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