openhab-addons/bundles/org.openhab.binding.publictransportswitzerland
openhab-bot 15d1610952
New Crowdin updates (#12050)
* New translations tradfri.properties (Italian)

* New translations mycroft.properties (French)

* New translations deutschebahn.properties (German)

* New translations gardena.properties (German)

* New translations luftdateninfo.properties (German)

* New translations network.properties (Finnish)

* New translations publictransportswitzerland.properties (Finnish)

* New translations mycroft.properties (Finnish)

* New translations pushover.properties (German)

* New translations yamahamusiccast.properties (Italian)

* New translations ecotouch.properties (German)

* New translations voicerss.properties (French)
2022-01-28 07:58:33 +01:00
..
doc [publictransportswitzerland] Public Transport Switzerland Initial contribution (#8540) 2021-12-27 21:19:22 +01:00
src/main New Crowdin updates (#12050) 2022-01-28 07:58:33 +01:00
NOTICE [publictransportswitzerland] Public Transport Switzerland Initial contribution (#8540) 2021-12-27 21:19:22 +01:00
pom.xml [publictransportswitzerland] Public Transport Switzerland Initial contribution (#8540) 2021-12-27 21:19:22 +01:00
README.md [publictransportswitzerland] Public Transport Switzerland Initial contribution (#8540) 2021-12-27 21:19:22 +01:00

Public Transport Switzerland Binding

Connects to the "Swiss public transport API" to provide real-time public transport information. Link to the API

For example, here is a station board in HABPanel. (Download here)

Departure board in HABPanel

Supported Things

Stationboard

Upcoming departures for a single station. This is what you would usually see displayed at the train station.

Channels

channel type description
departures#n String A dynamic channel for each upcoming departure
tsv (advanced) String A tsv which contains the fields:
identifier, departureTime, destination, track, delay

UI based Configuration

station is the station name for which to display departures.
The name has to be one that is used by the swiss federal railways.
Please consult their website.

Textual configuration

Thing
Thing publictransportswitzerland:stationboard:zurich [ station="Zürich HB" ]
Items
String Next_Departure             "Next Departure"             { channel="publictransportswitzerland:stationboard:zurich:departures#1" }
String Upcoming_Departures_TSV    "Upcoming_Departures_TSV"    { channel="publictransportswitzerland:stationboard:zurich:tsv" }

Discovery

This binding does not support auto-discovery.