From ae7d055a9719f3beaade37284412b653743d1adf Mon Sep 17 00:00:00 2001 From: rolfberkenbosch <30292281+rolfberkenbosch@users.noreply.github.com> Date: Wed, 8 May 2019 02:50:53 +0200 Subject: [PATCH] Added information for the MeteoAlarm Sensor (#9375) * Added information for the MeteoAlarm Sensor * Update source/_components/meteoalarm.markdown Co-Authored-By: rolfberkenbosch <30292281+rolfberkenbosch@users.noreply.github.com> * Update source/_components/meteoalarm.markdown Co-Authored-By: rolfberkenbosch <30292281+rolfberkenbosch@users.noreply.github.com> * Update source/_components/meteoalarm.markdown Co-Authored-By: rolfberkenbosch <30292281+rolfberkenbosch@users.noreply.github.com> * Update source/_components/meteoalarm.markdown Co-Authored-By: rolfberkenbosch <30292281+rolfberkenbosch@users.noreply.github.com> * Update source/_components/meteoalarm.markdown Co-Authored-By: rolfberkenbosch <30292281+rolfberkenbosch@users.noreply.github.com> * Update source/_components/meteoalarm.markdown Co-Authored-By: rolfberkenbosch <30292281+rolfberkenbosch@users.noreply.github.com> * Update meteoalarm.markdown * :pencil2: Tweak * Change the sensor to a binary_sensor * Fix some typos. --- source/_components/meteoalarm.markdown | 107 ++++++++++++++++++ source/images/supported_brands/meteoalarm.png | Bin 0 -> 6400 bytes 2 files changed, 107 insertions(+) create mode 100644 source/_components/meteoalarm.markdown create mode 100644 source/images/supported_brands/meteoalarm.png diff --git a/source/_components/meteoalarm.markdown b/source/_components/meteoalarm.markdown new file mode 100644 index 00000000000..a8ec7771e5c --- /dev/null +++ b/source/_components/meteoalarm.markdown @@ -0,0 +1,107 @@ +--- +layout: page +title: MeteoAlarm Sensor +description: "Instructions on how to set up MeteoAlarm binary sensors within Home Assistant." +date: 2019-05-03 16:50 +sidebar: true +comments: false +sharing: true +footer: true +logo: meteoalarm.png +ha_category: Binary Sensor +ha_release: 0.93 +ha_iot_class: Local Polling +--- + +The `MeteoAlarm` platform allows one to watch for weather alerts in europe from [MeteoAlarm](https://www.meteoalarm.eu) (EUMETNET). To use this binary sensor, you need the two digits of your country and the province name from [MeteoAlarm](https://www.meteoalarm.eu). Please note that you need to write the exact details from the website with capitals. + +The binary sensor state shows if applicable the warning message. The details are available as attribute. + +## {% linkable_title Configuration %} + +To enable this binary sensor, add the following lines to your `configuration.yaml`: + +```yaml +binary_sensor: + - platform: meteoalarm + country: 'NL' + province: 'Groningen' +``` + +{% configuration %} +name: + description: Binary sensor name + required: false + default: meteoalarm + type: string +country: + description: The 2 digits of your country + required: true + type: string +province: + description: The province + required: true + type: string +language: + description: "The 4 digits our your language, please be aware that this is only possible in the current country. So 'ne' is only possible in Netherlands. Possible options is: bu, bs, ce, da, de, ee, en, es, ga, ca, su, fr, gr, he, hr, ma, is, it, li, la, sr, mk, ma, ne, no, po, ro, cp, sv, sl, eu." + required: false + type: string + default: 'en' +{% endconfiguration %} + + +{% linkable_title Example output %} + +You will find an example below when the state is "on". + +{% raw %} +attribution: Information provided by MeteoAlarm +language: en-GB +category: Met +event: Severe forest-fire warning +responseType: Monitor +urgency: Immediate +severity: Severe +certainty: Likely +effective: 2019-05-02T22:00:00+00:00 +onset: 2019-05-02T22:00:00+00:00 +expires: 2019-05-03T21:59:00+00:00 +senderName: Stig Carlsson +headline: Orange forest-fire for Hedmark, Oppland +description: High grass and heather fire hazard in areas without snow until significant amount of precipitation. +Consequences: Vegetation is very easily ignited and very large areas may be affected. +instruction: Be very careful with open fire. Follow the instructions from the local authorities. Emergency services should assess a necessary level of alertness. +awareness_level: 3; orange; Severe +awareness_type: 8; forest-fire +unit_of_measurement: +friendly_name: meteoalarm +icon: mdi:alert +{% endraw %} + +There are a few awareness levels: + +* 2; yellow; Moderate +* 3; orange; Severe +* 4; red; High + +{% linkable_title Example automation %} + +Below you find an example of an automation. + +{% raw %} +automation: + - alias: Alert me about weather warnings + trigger: + platform: state + entity_id: binary_sensor.meteoalarm + from: ‘off’ + action: + - service: notify.notify + data_template: + title: '{{state_attr('binary_sensor.meteoalarm', 'headline')}}' + message: "{{state_attr('binary_sensor.meteoalarm', 'description')}} is effective on {{state_attr('binary_sensor.meteoalarm', 'effective')}}" +{% endraw %} + +

+This component is not affiliated with MeteoAlarm and retrieves data from the website by using the XML feeds. Use it at your own risk. +

diff --git a/source/images/supported_brands/meteoalarm.png b/source/images/supported_brands/meteoalarm.png new file mode 100644 index 0000000000000000000000000000000000000000..051e171170bb4f0eaa1510a8f0fa6f0f38e5c01c GIT binary patch literal 6400 zcmbtZWmr`0x*kDdD3NZ4Ar(ft89Jq<1%v?x1c3o&Xe6X0m1aokP(VVYk(L&uQ%X9d zn}gr}{Py{=_xW?y^{n;2>%E@)e)7ks91OR}^VXJG1GE`R+vqU&N zg8kNc zhOVX83rkTeu#_Z7!b9wqzyXeefjk`S9g$)lQ1D;8Vz>L>$J}7hUn-~&p{gFHWBZP|$H?OFuC^ruuHyQ(kvp~3_px|3i{}qCR(?7J1$iLHcn=oz6?rK5mgkYJt(BMppDeGO z0M9K#MwXXXL0CjsKt_>YmY+|QPe?{cMDY(+9%1R~0CzDID5 z+{M-nZl&mgZ~*-kxR~vK@I^#WR#sR+SnsCBjOZGnhFl7Mcub_X+)S{wQc=Blly_2z1eA2w+SLVgiM-Hs@R3xY+xv4qN?77th5Rh~zD^IrEM?ym#VymSh`?@ILlfTy2kEDP{K&C*# zd#k(WY@N}~PQ(>5Vu3|rqhFmea5b(jvpuuW`?6quo6drEiL-_HI_&16H&Q!lm%Nms zMK3N@+(p0JCX*=sI8HY2xD_F;AQC{M1>4*&LM;WymJ##GH2#fHzw)O&o zpQ!pa70z?ivj`pc8;JsH@wX(wA{CORUo5szIaZA8_jzbFqao5kcZ^(yVckEJl1muf zh96UvCm@#68pyvqCRO6SMzSz@l17+M=2Cp*vnIJ_N)y2L3O{>ERxE|zV7~^6ZCGBd z#(afC{U8T>G*IpY@g%(36zf1MSTm$JzR9r1%-*#!p0kCsdyIGmhbk*ybj@2Jk2*~x zVg41HI^#i7GGjqx;Cal1D$2gj@8qlc(&K%!TG?&Es~JV*ljF2sg>@^zXs6%h9Aw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