The smhi integration adds support for the web service as a source for meteorological data for your location.

There is currently support for the following device types within Home Assistant:

  • Weather


Adding SMHI to your Home Assistant instance can be done via the user interface, by taking the following steps:

  • Browse to your Home Assistant instance.

  • In the sidebar click on Configuration.

  • From the configuration menu select: Integrations.

  • In the bottom right, click on the Add Integration button.

  • From the list, search and select “SMHI”.

  • Follow the instruction on screen to complete the set up.

After completing, the SMHI integration will be immediately available for use.

The SMHI weather service is free under the Creative Commons Attribution 4.0, international license. Weather data will be pulled once every 30 minutes.

Only location close to Sweden can be added. See area for more details what locations are supported.

Details about the API are available in the SMHI API documentation.