SMHI
The SMHI integrationIntegrations connect and integrate Home Assistant with your devices, services, and more. [Learn more] adds support for the SMHI.se
Only locations close to Sweden can be added. See SMHI.se area
Configuration
To add the SMHI 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.
-
In the bottom right corner, select the
Add Integration button. -
From the list, select SMHI.
-
Follow the instructions on screen to complete the setup.
Weather
The weather entity provides the current state of the weather as well as detailed forecasts for daily, hourly, and twice-daily weather.
Sensors
The integration creates entities showing the current state of some additional weather and fire metrics.
The following weather sensors are provided (cloud sensors are disabled by default):
- Thunder probability (%): Probability of thunder
- Total cloud coverage (%): Mean value of total cloud cover
- Low cloud coverage (%): Mean value of low-level cloud cover
- Medium cloud coverage (%): Mean value of medium-level cloud cover
- High cloud coverage (%): Mean value of high-level cloud cover
- Precipitation category: Precipitation category can be any of the following: No precipitation, Snow, Snow and rain, Rain, Drizzle, Freezing rain, or Freezing drizzle
- Frozen precipitation (%): Percent of precipitation in frozen form
The following fire sensors are provided (fire sensors are disabled by default):
- FWI-index: Fire weather index classified from low risk to very high risk
- FWI-value: Fire weather index as its native value
- Initial spread index (ISI): Describes the expected rate of fire spread
- Build up index (BUI): Indicates the total amount of fuel available for the fire
- Fine fuel moisture code (FFMC): Describes the moisture content in the dead fine fuels
- Duff moisture code (DMC): Describes moisture content of loosely compacted organic layers of moderate depth
- Drought code (DC): Describes moisture content of deep compact organic layers
- Highest grass fire risk: Highest grass fire risk (danger) according to the grass fire model ranging from snow cover to very high
- Potential rate of spread: Potential rate of spread (m/min) of uncut and ungrazed natural grass
- Fuel drying: Measure of the available water amount in the forest fuel ranging from extremely dry to very wet
The SMHI weather service is free under the Creative Commons Attribution 4.0, international license. Weather data will be pulled once every 30 minutes.
Details about the API are available in the SMHI API documentation
Remove the integration
To remove an integration instance from Home Assistant
- Go to Settings > Devices & services and select the integration card.
- From the list of devices, select the integration instance you want to remove.
- Next to the entry, select the three dots
menu. Then, select Delete.