Hello,
New integration, always for my Swiss friends! ![]()
![]()
I present to you Swiss Transports, a new integration to find the schedules of Swiss public transport directly in Gladys Assistant.
On the agenda:
Next departures from your station or stop, with the time, platform, and delays when available.
Routes between two stations, with arrival time, journey duration, and connections.
Several modes of transport: train, tram, bus, boat, and cable transport.
A search for stations and stops directly from the widgets to facilitate configuration.
Two widgets, “Next departures” and “Routes”, with their own settings to display multiple stations or journeys on your dashboard.
And above all, something to play with Gladys scenes! ![]()
You can trigger a scene when a departure is approaching or when a delay exceeds the chosen threshold. For example:
- Receive a notification: “Your train departs in 10 minutes, it’s time to put on your shoes!”
- Change the color of a lamp when a monitored departure shows more than 5 minutes of delay.
- Add the retrieval of the next journey to your morning routine.
Actions also allow you to retrieve the next departure, the next route, or update the schedules. The triggers follow the station configured in the integration; the widgets can display other journeys independently.
No account or API key required, just an Internet connection. The interface is available in French and English, and the schedules are updated every minute by default. If delay information is not available, the integration specifies it: it does not promise you an on-time train without knowing it ![]()
The data comes from Transport API / Opendata.ch with the schedules of opentransportdata.swiss.
The project is planned for Gladys Assistant 5.2 or later. The publication of the Docker image remains to be done before a ready-to-use installation.
The code and documentation: GitHub - valentinhttr/gladys-swiss-transports: Swiss public transport departures, connections and delay alerts for Gladys Assistant. · GitHub
