Navitia (transports français) smart home integration, free and open source

Next departures and disruptions of French transit networks, via Navitia.
Follow the next departures and the disruptions of most French urban and regional networks, through the Navitia API.
Installation
- In Gladys, open Integrations, then the external integrations store.
- Search for Navitia (transports français) and click Install.
- Wait for the container to start: the integration shows up in the list.
Configuration
- Create a free account on navitia.io and copy your API key.
- Pick the coverage of your network (
sncf,fr-idffor Île-de-France,fr-se...). - List the stop areas to follow, separated by commas or new lines (for example
stop_area:SNCF:87271007|Gare de Lyon). The optional|Namegives the device its name. Find the ids with the Navitiaplacessearch. - Save, then use Test the Navitia connection. The refresh interval is one minute at least.
Usage
Each stop area becomes a device, found by the scan of Gladys, with: minutes before the next departure, minutes before the following one, a text summary of the next departures (line, direction), and the active disruptions. Use them on dashboards and in scenes.
Help
A question or a problem? Ask on the Gladys community forum or open an issue on the GitHub repository.
Configuration settings
These are the settings Navitia (transports français) asks for in its configuration screen in Gladys.
| Setting | Type | Required | Description |
|---|---|---|---|
| Getting started | section | No | Create a free account on navitia.io to get an API key, then list the stop areas to follow (ids such as stop_area:SNCF:87271007). |
| API key | secret | Yes | |
| Coverage | string | Yes | Navitia coverage of your network, e.g. sncf, fr-idf (Île-de-France) or fr-se. |
| Stop areas | string | Yes | Stop area ids, separated by commas or new lines. Add |Name after an id to name the device. |
| Refresh interval (s) | number | No | How often departures are read, in seconds (one minute minimum). |
How to install Navitia (transports français) in Gladys
- In Gladys, open Integrations: Navitia (transports français) appears in the catalog, next to the native integrations, with a community badge.
- Click Install. Gladys pulls the Docker image (
ghcr.io/prohand/gladys-navitia-reseaux-de-transport-francais:1.2.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-navitia-reseaux-de-transport-francais.
Navitia (transports français) 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
Navitia (transports français) 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