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.

Configuration

To add the Trafikverket Weather Station integration to your Home Assistant instance, use this My button:

Manual configuration steps

If the above My button doesn’t work, you can also perform the following steps manually:

  • Browse to your Home Assistant instance.

  • Go to Settings > Devices & Services.

  • In the bottom right corner, select the Add Integration button.

  • From the list, select Trafikverket Weather Station.

  • Follow the instructions on screen to complete the setup.

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.