From 6dda9d93881e18df55bf0fffa8f8aed01252de32 Mon Sep 17 00:00:00 2001 From: G Johansson Date: Fri, 3 Oct 2025 18:33:44 +0000 Subject: [PATCH 1/3] Add fire sensors to smhi --- source/_integrations/smhi.markdown | 37 +++++++++++++++++++----------- 1 file changed, 24 insertions(+), 13 deletions(-) diff --git a/source/_integrations/smhi.markdown b/source/_integrations/smhi.markdown index 93099670fe40..15270db20e1c 100644 --- a/source/_integrations/smhi.markdown +++ b/source/_integrations/smhi.markdown @@ -33,19 +33,30 @@ The weather entity provides the current state of the weather as well as detailed ## Sensors -The integration creates entities showing the current state of some additional weather metrics. - -| Sensor | Type | Description | -| ------------------------- | ----------------- | --------------------------------------------------------------------------------------------------------------------------- | -| 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 | None | Precipitation category can be any of: No precipitation, Snow, Snow and rain, Rain, Drizzle, Freezing rain, Freezing drizzle. | -| Frozen precipitation | % | Percent of precipitation in frozen form. | - -The cloud sensors are not enabled by default. +The integration creates entities showing the current state of some additional weather and fire metrics. + +The following weather sensors are provided (The cloud sensors are not enabled 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 (no fire sensors are enabled by default): + +- **FWI-index**: Fire Weather Index classed 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 moisture content in the dead fine fuel +- **Duff Moisture Code (DMC)**: Describes moisture content of loosely compact 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, un-grazed, 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. From 39eb70a94d25977844788774938c0c2109c7c071 Mon Sep 17 00:00:00 2001 From: G Johansson Date: Fri, 3 Oct 2025 20:57:41 +0200 Subject: [PATCH 2/3] Apply suggestions from code review Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- source/_integrations/smhi.markdown | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/source/_integrations/smhi.markdown b/source/_integrations/smhi.markdown index 15270db20e1c..f2e264887d60 100644 --- a/source/_integrations/smhi.markdown +++ b/source/_integrations/smhi.markdown @@ -35,7 +35,7 @@ The weather entity provides the current state of the weather as well as detailed The integration creates entities showing the current state of some additional weather and fire metrics. -The following weather sensors are provided (The cloud sensors are not enabled by default): +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 @@ -45,17 +45,17 @@ The following weather sensors are provided (The cloud sensors are not enabled by - **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 (no fire sensors are enabled by default): +The following fire sensors are provided (fire sensors are disabled by default): -- **FWI-index**: Fire Weather Index classed from low risk to very high risk +- **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 moisture content in the dead fine fuel -- **Duff Moisture Code (DMC)**: Describes moisture content of loosely compact organic layers of moderate depth +- **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, un-grazed, natural grass +- **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. From ca8e49f48b8a54e75bf787aa8207d1fe531c4fff Mon Sep 17 00:00:00 2001 From: G Johansson Date: Tue, 7 Oct 2025 21:21:55 +0200 Subject: [PATCH 3/3] Update source/_integrations/smhi.markdown --- source/_integrations/smhi.markdown | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/source/_integrations/smhi.markdown b/source/_integrations/smhi.markdown index f2e264887d60..06957768b718 100644 --- a/source/_integrations/smhi.markdown +++ b/source/_integrations/smhi.markdown @@ -47,13 +47,13 @@ The following weather sensors are provided (cloud sensors are disabled by defaul 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 +- **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