Trafikverket Train
Retrieve train departure information from Trafikverket
Use cases
- Retrieve the next departure between two stations.
- Retrieve information for specific departure time between two stations.
- Set up an alert or perform actions if your train is delayed or canceled.
Retrieved data
- Next departure for the specific train line.
- Canceled status.
- Delayed time.
- Planned time if no delays occur.
- Estimated time of arrival if delays occur.
- Actual time - when it did arrive.
- Other information / additional texts.
- Deviations.
The next departure is calculated from actual, estimated, and planned to provide the most accurate information about departure.
If a specific departure time has not been set, the integration will return the 3 next departures.
You can filter based on product descriptions such as SJ Regionaltåg
to only see specific trains between the two stations.
Prerequisites
Please click here
配置
要将 Trafikverket Train integration 添加到您的 Home Assistant 实例中,请使用此 My 按钮:
手动配置步骤
如果上述 My 按钮不起作用,您也可以手动执行以下步骤:
-
浏览到您的 Home Assistant 实例。
-
转到
设置 > 设备与服务。 -
在右下角,选择
Add Integration 按钮。 -
从列表中选择 Trafikverket Train。
-
按照屏幕上的说明完成设置。
Train station names
Click here