From 9c5f2100fc26a752b62943fd82b1c94307419281 Mon Sep 17 00:00:00 2001 From: Philipp Hellmich Date: Wed, 26 Jul 2017 21:52:58 +0200 Subject: [PATCH 1/2] Added docs for dwdwarnapp --- source/_components/sensor.dwdwarnapp.markdown | 43 +++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 source/_components/sensor.dwdwarnapp.markdown diff --git a/source/_components/sensor.dwdwarnapp.markdown b/source/_components/sensor.dwdwarnapp.markdown new file mode 100644 index 000000000000..7c4f6ca6e242 --- /dev/null +++ b/source/_components/sensor.dwdwarnapp.markdown @@ -0,0 +1,43 @@ +--- +layout: page +title: "DWD WarnApp" +description: "Instructions on how to integrate Deutsche Wetter Dienst weather warnings into Home Assistant." +date: 2017-07-26 22:00 +sidebar: true +comments: false +sharing: true +footer: true +#logo: dwdwarnapp.png +ha_category: Weather +ha_release: 0.51 +ha_iot_class: "Cloud Polling" +--- + +The `dwdwarnapp` sensor platform uses the [Deutsche Wetter Dienst (DWD)](http://www.dwd.de) 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 `configuration.yaml` file: + +```yaml +# Example configuration.yaml entry +sensor: + - platform: dwdwarnapp + region_name: Hansestadt Hamburg +``` + +To get the region name: +- Find your region here: `https://www.dwd.de/DE/wetter/warnungen_landkreise/warnWetter_node.html?ort=Hamburg` +- Verify if you find any warning for your region here: `https://www.dwd.de/DWD/warnungen/warnapp_landkreise/json/warnings.json?jsonp=loadWarnings` + +The warning level is between 0 (no danger) and 4: +- Warnungen vor extremem Unwetter (Stufe 4) +- Unwetterwarnungen (Stufe 3) +- Warnungen vor markantem Wetter (Stufe 2) +- Wetterwarnungen (Stufe 1) + +Configuration variables: + +- **region_name** (*Optional*): The region name string as identified from the DWD website. If not given, defaults to Hansestadt Hamburg. +- **name** (*Optional*): The name you would like to give to the warnapp sensor. From 932e663e313bcc3fd61625357b4c0ef9f64e64c1 Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Sat, 9 Sep 2017 09:39:25 +0200 Subject: [PATCH 2/2] Updated documentation As suggested by Landrash --- source/_components/sensor.dwdwarnapp.markdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/_components/sensor.dwdwarnapp.markdown b/source/_components/sensor.dwdwarnapp.markdown index 7c4f6ca6e242..618794ea4cb7 100644 --- a/source/_components/sensor.dwdwarnapp.markdown +++ b/source/_components/sensor.dwdwarnapp.markdown @@ -1,6 +1,6 @@ --- layout: page -title: "DWD WarnApp" +title: "DWD Warn Weather" description: "Instructions on how to integrate Deutsche Wetter Dienst weather warnings into Home Assistant." date: 2017-07-26 22:00 sidebar: true @@ -31,7 +31,7 @@ To get the region name: - Find your region here: `https://www.dwd.de/DE/wetter/warnungen_landkreise/warnWetter_node.html?ort=Hamburg` - Verify if you find any warning for your region here: `https://www.dwd.de/DWD/warnungen/warnapp_landkreise/json/warnings.json?jsonp=loadWarnings` -The warning level is between 0 (no danger) and 4: +The warning level is between 0 (no danger) and 4 (warnings of extreme weather): - Warnungen vor extremem Unwetter (Stufe 4) - Unwetterwarnungen (Stufe 3) - Warnungen vor markantem Wetter (Stufe 2)