Trafikverket Weather Station

Showing weather information provided by Trafikverket weather stations in Sweden.

Potential use cases

  • Get weather data in general.
  • You live near a weather station and want to know the current weather conditions at home.
  • Setup automations for your car heating system. If the road is frozen along the way to work, you might want the car heating system to start earlier.

Prerequisites

Please click here and register to obtain the API key.

配置

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

手动配置步骤

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

  • 浏览到您的 Home Assistant 实例。

  • 转到 设置 > 设备与服务

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

  • 从列表中选择 Trafikverket Weather Station

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

Entities provided by the integration

  • Air temperature.
  • Road temperature.
  • Dew point
  • Relative humidity.
  • Precipitation type.
  • Precipitation amount
  • Wind direction in degrees.
  • Wind speed

Entities provided but not enabled by default

  • Maximum wind speed measured during the last 30 minutes
  • Measurement time
  • Visible distance
  • Road ice depth
  • Road snow depth
  • Road water depth
  • Road water equivalent depth
  • Wind measurement height
  • Data modified time

Weather stations

To get a map of valid weather stations, open the trafikverket website. Once a station is found, copy the name according to the below picture and paste it as the station variable.