nmbs platform will create sensors for monitoring travel time and information between 2 stations.
To enable this sensor, add the following lines to your
# Example configuration.yaml entry sensor: - platform: nmbs station_from: "STATION_1" station_to: "STATION_2" station_live: "STATION_1" exclude_vias: true
The stations can only be provided by their standard names and not ids. The list of stations can be checked on the NMBS/SCNB website but for most accurate results check them on the iRail API page which this integration uses internally.
The station where the connection departs.
The station where the connection arrives.
Setting this will create another sensor to monitor the liveboard in a station.
Setting this will not show connections for which you have to transfer to another station.
Name to use in the frontend.
NMBS Livefor the liveboard sensor when set.
Show the station on the map.
Example using the Lovelace Attributes custom card