dwd_weather_warnings sensor platform uses the Deutsche Wetter Dienst (DWD) as a source for current and advance warnings.
- A name is optional but if multiple regions are used a name will be required.
- The sensor checks for new data every 15 minutes.
To add the DWD WarnApp sensor to your installation, add the following to your
# Example configuration.yaml entry sensor: - platform: dwd_weather_warnings region_name: Hansestadt Hamburg
As it suggests the region name is not the city or nearest city you want to get the warnings for but the next higher level of the governmental district called “Kreis” in German.
Be aware, to get the region name you need to use the following link by replacing
Hamburg with your city:
- Find your region here:
- On the page that is loaded in your browser you will find the correct region (“Kreis”) below the map as a headding.
- Verify if you find any warning for your region here. Your region (“Kreis”) will appear only if warnings exist:
||Information last update from DWD service.|
||Requested region name. This should be the same as the region name in the configuration.|
||State (Bundesland) in abriviated form the requested region is located, e.g., “HE” for “Hessen”.|
||Region ID assigned by DWD.|
||(int) Number of issued warnings. There can be more than one warning issued at once.|
(int) Issued warning level between 0 and 4.
0: Keine Warnungen
2: Warnungen vor markantem Wetter
4: Warnungen vor extremem Unwetter
(int) Issued warning type.
0: Gewitter, Starkes Gewitter
1: Windböen, Sturmböen
6: Glätte, Glatteis
8: Hitze (always level 10)
9: UV-Index (always level 20)
Please be aware that the type numbers represent more like a category than an exact number-to-string match. For example Type
||This name correlates with the warning type and indicates it in short as a string.|
||Official headline the weather warning.|
||Starting time and date of the issued warning.|
||Ending time and date of the issued warning.|
||Details for the issued warning.|
||The DWD is sometimes providing helpful information about precautions to take for the issued warning.|
In the attribute name
x is the counter of the warning starting from