2019-03-10 04:45:59 -07:00

1.9 KiB

layout, title, description, date, sidebar, comments, sharing, footer, logo, ha_category, ha_release, ha_iot_class, redirect_from
layout title description date sidebar comments sharing footer logo ha_category ha_release ha_iot_class redirect_from
page SMHI Instructions on how to integrate SMHI forecasts within Home Assistant. 2018-09-23 20:00 true false true true smhi.png
Hub
Weather
0.81 Cloud Polling
/components/weather.smhi/

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

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

  • Weather

{% linkable_title Configuration %}

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

To add SMHI weather forecast to your installation, go to the Integrations page inside the config panel and add a location by providing the longitude and latitude of your location.

If the location is configured in Home Assistant, it will be selected as the default location. After that, you can add additional locations.

You can only add locations through the integrations page, not in configuration files.

Only location close to Sweden can be added. See [SMHI.se area](http://opendata.smhi.se/apidocs/metfcst/geographic_area.html) for more details what locations are supported.

{% configuration %} latitude: description: Manually specify latitude. required: false type: number default: Provided by Home Assistant configuration longitude: description: Manually specify longitude. required: false type: number default: Provided by Home Assistant configuration name: description: Name to use in the frontend. required: false type: string default: Home {% endconfiguration %}

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