Trafikverket Ferry

Retrieve ferry departure information from Trafikverket.

Prerequisites

Please click here and register to obtain the API key.

配置

要将 Trafikverket Ferry integration 添加到您的 Home Assistant 实例中,请使用此 My 按钮:

手动配置步骤

如果上述 My 按钮不起作用,您也可以手动执行以下步骤:

  • 浏览到您的 Home Assistant 实例。

  • 转到 设置 > 设备与服务

  • 在右下角,选择 Add Integration 按钮。

  • 从列表中选择 Trafikverket Ferry

  • 按照屏幕上的说明完成设置。

Use cases

  • Retrieve the next departure and information connected to it.
  • Destination harbor is optional and by leaving it empty it will show the next destination available from the selected departure harbor.
  • By choosing a specific time it will only show departures after this.
  • By deselecting from the pre-filled days of the week you can make selections such as only Monday to Friday if needed.

Sensors

  • Departure date and time by made selections.
  • Departure sensor for following two departures after next (disabled by default)
  • Departure harbor.
  • Destination harbor.
  • Modified time (this sensor is deactivated as standard).

Other information provided by Trafikverket related to the specific departure is shown as attribute on all sensors.

Ferry harbour names

Click here to see examples of harbor names, use city name as harbor, as for example “Ekerö”, “Svanesund”.