Astuce Rouen smart home integration, free and open source

Next metro, TEOR and bus departures at your Astuce stops in Rouen, in real time.
Next metro, TEOR and bus departures of the Astuce network (Métropole Rouen Normandie) at your stops, in real time, in Gladys.
The data comes from the official open data of the network, published on transport.data.gouv.fr under the Open Licence 2.0: no account, no API key. The integration needs an Internet connection (cloud service).
Installation
- In Gladys, open Integrations, then the external integrations store.
- Search for Astuce Rouen and click Install.
- Wait for the container to start: the integration shows up in the list.
Configuration
Open the Configuration tab of the integration:
| Field | Description |
|---|---|
| Stations | Names of the stations to follow, separated by semicolons, e.g. Théâtre des Arts; Boulingrin. Accents and case do not matter. |
| Lines (optional) | Only offer these lines, e.g. Métro; T1; F5. Empty: every line serving the stations. |
| Delay alert | Delay, in minutes, from which the "Departure delayed" scene trigger fires (5 by default). |
| Refresh interval | How often the real-time data is fetched, in seconds (60 by default, 30 minimum). |
Not sure of a station name? Use the Search a station button: type part of the name (theatre, mairie...), the integration lists the matching stations and their lines.
The Update the timetable now button downloads the timetable of the network again (otherwise done once a day).
Devices
Save the configuration, then open the Discovery tab: the integration offers one departure board per line and direction serving your stations, e.g. Théâtre des Arts · Métro → Georges Braque / Technopôle. Add the ones you want.
Each board has four features:
| Feature | Content |
|---|---|
| Next departure | Minutes before the next departure (rounded down: 0 = the vehicle is at the platform). |
| Following departure | Minutes before the departure after it. |
| Destination | Destination of the next vehicle (a line can have several branches, like the Métro). |
| Disruption | Current traffic alert on the line, the station or the whole network, — when there is none. |
Departures tracked in real time use the predicted times (with their delay); the others use the timetable.
Scenes and dashboards
Scene triggers
- Disruption started: a traffic alert concerning a followed board appeared. Filter by board; variables: line, station, direction, alert message.
- Disruption ended: the alert was lifted. Same filter and variables.
- Departure delayed: a vehicle tracked in real time runs late by at least the configured delay (once per vehicle). Variables: line, station, direction, destination, delay (min), departure in (min), departure time.
To be warned that it is time to leave, use the core device value trigger on the Next departure feature (e.g. "less than 8 minutes").
Scene actions
- Get the next departures: reads a board and returns the minutes before the next departure, its time, its destination, whether it is tracked in real time, the following departure, the current disruption and a summary sentence (in the chosen language), ready to send in a message:
Métro → Georges Braque / Technopôle: in 4 min (08:12), then 9 min. - Refresh the departures: fetches the real-time data now and updates every board.
Dashboard widget
The Astuce departures widget shows, for every board, the line, the destination, the next departure (green: real time, grey: timetable, orange: disruption) and, on tap, the next departures. Choose a board in the widget settings to display it alone, with its live countdowns and its list of departures. A Refresh button fetches the real-time data now.
Good to know
- The real-time feeds cover the trips of the coming hour; later departures come from the timetable (marked "scheduled").
- If the real-time feeds are unreachable, the boards keep working with the timetable and the Configuration screen says so.
- The timetable (about 5 MB) is kept in the integration's data volume and downloaded again once a day.
Help
A question or a problem? Ask on the Gladys community forum or open an issue on the GitHub repository.
This integration is independent: it is not affiliated with Métropole Rouen Normandie nor with the network operators. Data © Métropole Rouen Normandie, Open Licence 2.0.
Configuration settings
These are the settings Astuce Rouen asks for in its configuration screen in Gladys.
| Setting | Type | Required | Description |
|---|---|---|---|
| Getting started | section | No | Departures come from the open data of the Astuce network (Métropole Rouen Normandie): no account, no API key. Type the stations to follow and save, then add the departure boards you want (one per line and direction) from the Discovery tab. The "Search a station" button below gives the exact names. |
| Stations | string | Yes | Names of the stations to follow, separated by semicolons (accents and case do not matter). |
| Lines (optional) | string | No | Only offer these lines, separated by semicolons. Empty: every line serving the stations. |
| Delay alert (min) | number | No | Delay, in minutes, from which the "Departure delayed" scene trigger fires. |
| Refresh interval (s) | number | No | How often the real-time data is fetched, in seconds (30 minimum). |
How to install Astuce Rouen in Gladys
- In Gladys, open Integrations: Astuce Rouen appears in the catalog, next to the native integrations, with a community badge.
- Click Install. Gladys pulls the Docker image (
ghcr.io/prohand/gladys-astuce-rouen:1.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/prohand/gladys-astuce-rouen.
Astuce Rouen 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
Astuce Rouen 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 prohand, 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