Ansage Unwetterwarnung über DWD und Alexa

  • Hallo, hier ein Beispiel zur Ansage der Unwetterwarnungen über Alexa.

    Daten werden aus dem DWD Adapter genommen.

    schimmer-media.de/attachment/3594/


    Code

    <xml xmlns="http://www.w3.org/1999/xhtml">

    <block id="d3+fW*`X:w_H#4QTNzgQ" type="on_ext" x="-462" y="13">

    <mutation items="4"></mutation>

    <field name="CONDITION">ne</field>

    <field name="ACK_CONDITION"></field>

    <value name="OID0">

    <shadow id="L+h%NV/jMF@LF%,u,+xm" type="field_oid">

    <field name="oid">dwd.0.warning.severity</field>

    </shadow>

    </value>

    <value name="OID1">

    <shadow id="MLR^EPW(z}8.YFqFg?u#" type="field_oid">

    <field name="oid">dwd.0.warning1.severity</field>

    </shadow>

    </value>

    <value name="OID2">

    <shadow id=")@qaK.qBYYn~la,G9?SO" type="field_oid">

    <field name="oid">dwd.0.warning2.severity</field>

    </shadow>

    </value>

    <value name="OID3">

    <shadow id="x?v9a*ifIoY),5KK|Sk3" type="field_oid">

    <field name="oid">dwd.0.warning3.severity</field>

    </shadow>

    </value>

    <statement name="STATEMENT">

    <block id="j*VCXFq,ZP=1Ov`QruCT" type="controls_if">

    <value name="IF0">

    <block id="33V^WkDjsld?I-6mWJ4s" type="time_compare_ex">

    <mutation actual_time="true" end_time="true"></mutation>

    <field name="USE_ACTUAL_TIME">TRUE</field>

    <field name="OPTION">between</field>

    <value name="START_TIME">

    <shadow id="R|4#9x8~m?mB.LNY6c6z" type="text">

    <field name="TEXT">06:00</field>

    </shadow>

    </value>

    <value name="END_TIME">

    <shadow id=".pAil|[(YyVGnU;Bfclu" type="text">

    <field name="TEXT">22:00</field>

    </shadow>

    </value>

    </block>

    </value>

    <statement name="DO0">

    <block id="i%WGH,}%M-;C]Aomq#3q" type="control">

    <mutation delay_input="false"></mutation>

    <field name="OID">alexa2.0.echo-devices.G090L91181753MN3.Commands.speak</field>

    <field name="WITH_DELAY">FALSE</field>

    <value name="VALUE">

    <block id="!O,O;5KGa=:P{RMrI#5(" type="text">

    <field name="TEXT">Achtung, neue Unwetterwarnung</field>

    </block>

    </value>

    <next>

    <block id="qD6S~Zlc^}94;pH-5s]4" type="control">

    <mutation delay_input="false"></mutation>

    <field name="OID">alexa2.0.echo-devices.G090L91181753MN3.Commands.speak</field>

    <field name="WITH_DELAY">FALSE</field>

    <value name="VALUE">

    <block id="Si,_|Il5=33%W;Y~6^an" type="get_value">

    <field name="ATTR">val</field>

    <field name="OID">dwd.0.warning.text</field>

    </block>

    </value>

    <next>

    <block id="!-8Wn,[l?2z1Gjz;Zm|y" type="control">

    <mutation delay_input="false"></mutation>

    <field name="OID">alexa2.0.echo-devices.G090L91181753MN3.Commands.speak</field>

    <field name="WITH_DELAY">FALSE</field>

    <value name="VALUE">

    <block id="suA!Cu,:2jm*Ng{Qo2s;" type="get_value">

    <field name="ATTR">val</field>

    <field name="OID">dwd.0.warning1.text</field>

    </block>

    </value>

    <next>

    <block id="1^QxPhY-N!%@%^1zOZw?" type="control">

    <mutation delay_input="false"></mutation>

    <field name="OID">alexa2.0.echo-devices.G090L91181753MN3.Commands.speak</field>

    <field name="WITH_DELAY">FALSE</field>

    <value name="VALUE">

    <block id="@pRu5co6eXiC-[D9!8bX" type="get_value">

    <field name="ATTR">val</field>

    <field name="OID">dwd.0.warning2.text</field>

    </block>

    </value>

    <next>

    <block id="Ms%|U`zk=5Xp70T;[@h2" type="control">

    <mutation delay_input="false"></mutation>

    <field name="OID">alexa2.0.echo-devices.G090L91181753MN3.Commands.speak</field>

    <field name="WITH_DELAY">FALSE</field>

    <value name="VALUE">

    <block id="4D=b#3+I)dff9e{Xs#;x" type="get_value">

    <field name="ATTR">val</field>

    <field name="OID">dwd.0.warning3.text</field>

    </block>

    </value>

    <next>

    <block id="eedq;g=l)O#_Z3+63{[N" type="control">

    <mutation delay_input="false"></mutation>

    <field name="OID">javascript.0.scriptEnabled.Benachrichtigungen.lcdon</field>

    <field name="WITH_DELAY">FALSE</field>

    <value name="VALUE">

    <block id="UCx.K,k~E*FrnZhM94S`" type="logic_boolean">

    <field name="BOOL">TRUE</field>

    </block>

    </value>

    <next>

    <block id=")}e:gb6lTgN,)QkJis~," type="control">

    <mutation delay_input="false"></mutation>

    <field name="OID">javascript.0.scriptEnabled.Server.auf_Wetter_wechseln</field>

    <field name="WITH_DELAY">FALSE</field>

    <value name="VALUE">

    <block id="3?K(5hqx8m~gzQ6kL*C*" type="logic_boolean">

    <field name="BOOL">TRUE</field>

    </block>

    </value>

    </block>

    </next>

    </block>

    </next>

    </block>

    </next>

    </block>

    </next>

    </block>

    </next>

    </block>

    </next>

    </block>

    </statement>

    </block>

    </statement>

    </block>

    <block id="nB(_!dn:ZjDvG8JqGz/c" type="logic_compare" x="819" y="126">

    <field name="OP">EQ</field>

    <value name="A">

    <block id="JK@;eNJ)M^qxpf+H15d." type="time_get">

    <mutation language="false" format="false"></mutation>

    <field name="OPTION">wd</field>

    </block>

    </value>

    <value name="B">

    <block id="YvX4fO]X=#c;u?H[tm2N" type="math_number">

    <field name="NUM">7</field>

    </block>

    </value>

    </block>

    <block id="]Sj~/GZW3zc6,W9ZFeVV" type="logic_compare" x="839" y="166">

    <field name="OP">EQ</field>

    <value name="A">

    <block id="ClC8cJ3iwzK{;l.PEOh_" type="time_get">

    <mutation language="false" format="false"></mutation>

    <field name="OPTION">wd</field>

    </block>

    </value>

    <value name="B">

    <block id="b_~~3:RyO^nJd1B+kW5E" type="math_number">

    <field name="NUM">7</field>

    </block>

    </value>

    </block>

    <block id="tkz#o|_e/-=[%3tp[t#T" type="logic_compare" x="859" y="206">

    <field name="OP">EQ</field>

    <value name="A">

    <block id="GGu-]U^y+Dn_*OS/MksG" type="time_get">

    <mutation language="false" format="false"></mutation>

    <field name="OPTION">wd</field>

    </block>

    </value>

    <value name="B">

    <block id="DLaF8aqU;TX.T`L(ICQ{" type="math_number">

    <field name="NUM">7</field>

    </block>

    </value>

    </block>

    </XML>

  • Finde ich eine gute Idee. Habe ich auch direkt mal so übernommen. Allerdings kommt bei mir auch die Durchsage, wenn die Warnung gelöscht wird bzw. nicht mehr gültig ist. Hast du das auch?

  • Ja genau. Ich hatte auch schon etwas rumgespielt, aber noch nicht hinbekommen. Werde es die Tage mal wieder versuchen. Wenn ich ein Erfolg vermelden kann, melde ich mich wieder ?

  • Ich versuche es mal so:


    schimmer-media.de/attachment/3733/


  • Ich kriege folgenden Fehler beim Import:

    TypeError: Cannot read property 'appendChild' of null


    Ist es auch möglich, dass der Text den Alexa erzählt über den Telegram-Adapter aufs Handy geschickt wird?

    2 Mal editiert, zuletzt von martin (8. August 2018 um 20:59)

  • Ich habe nochmal ein wenig geändert, gestern wurde nur die erste Warnung (Hitze) angesagt. Die zweite (Gewitter) aber nicht. Vielleicht lag es auch am DWD Adapter :/

    Zum probieren:

    schimmer-media.de/attachment/3761/

    Code

    <xml xmlns="http://www.w3.org/1999/xhtml">

    <block id="d3+fW*`X:w_H#4QTNzgQ" type="on_ext" x="-513" y="-86">

    <mutation items="4"></mutation>

    <field name="CONDITION">ne</field>

    <field name="ACK_CONDITION"></field>

    <value name="OID0">

    <shadow id="L+h%NV/jMF@LF%,u,+xm" type="field_oid">

    <field name="oid">dwd.0.warning.severity</field>

    </shadow>

    </value>

    <value name="OID1">

    <shadow id="MLR^EPW(z}8.YFqFg?u#" type="field_oid">

    <field name="oid">dwd.0.warning1.severity</field>

    </shadow>

    </value>

    <value name="OID2">

    <shadow id=")@qaK.qBYYn~la,G9?SO" type="field_oid">

    <field name="oid">dwd.0.warning2.severity</field>

    </shadow>

    </value>

    <value name="OID3">

    <shadow id="x?v9a*ifIoY),5KK|Sk3" type="field_oid">

    <field name="oid">dwd.0.warning3.severity</field>

    </shadow>

    </value>

    <statement name="STATEMENT">

    <block id="j*VCXFq,ZP=1Ov`QruCT" type="controls_if">

    <value name="IF0">

    <block id="q0.49Npbm5,h,_[CH!]W" type="logic_operation">

    <field name="OP">AND</field>

    <value name="A">

    <block id="beFnIQSCL[-uu.;IwujU" type="logic_compare">

    <field name="OP">GTE</field>

    <value name="A">

    <block id="tBLzlgis8ldYYn-K-6AC" type="get_value">

    <field name="ATTR">val</field>

    <field name="OID">dwd.0.warning.severity</field>

    </block>

    </value>

    <value name="B">

    <block id=".,itkwS!JlxoRU?~U@o3" type="math_number">

    <field name="NUM">1</field>

    </block>

    </value>

    </block>

    </value>

    <value name="B">

    <block id="33V^WkDjsld?I-6mWJ4s" type="time_compare_ex">

    <mutation actual_time="true" end_time="true"></mutation>

    <field name="USE_ACTUAL_TIME">TRUE</field>

    <field name="OPTION">between</field>

    <value name="START_TIME">

    <shadow id="R|4#9x8~m?mB.LNY6c6z" type="text">

    <field name="TEXT">06:00</field>

    </shadow>

    </value>

    <value name="END_TIME">

    <shadow id=".pAil|[(YyVGnU;Bfclu" type="text">

    <field name="TEXT">22:00</field>

    </shadow>

    </value>

    </block>

    </value>

    </block>

    </value>

    <statement name="DO0">

    <block id="eedq;g=l)O#_Z3+63{[N" type="control">

    <mutation delay_input="false"></mutation>

    <field name="OID">javascript.0.scriptEnabled.Benachrichtigungen.lcdon</field>

    <field name="WITH_DELAY">FALSE</field>

    <value name="VALUE">

    <block id="UCx.K,k~E*FrnZhM94S`" type="logic_boolean">

    <field name="BOOL">TRUE</field>

    </block>

    </value>

    <next>

    <block id=")}e:gb6lTgN,)QkJis~," type="control">

    <mutation delay_input="false"></mutation>

    <field name="OID">javascript.0.scriptEnabled.Server.auf_Wetter_wechseln</field>

    <field name="WITH_DELAY">FALSE</field>

    <value name="VALUE">

    <block id="3?K(5hqx8m~gzQ6kL*C*" type="logic_boolean">

    <field name="BOOL">TRUE</field>

    </block>

    </value>

    <next>

    <block id="i%WGH,}%M-;C]Aomq#3q" type="control">

    <mutation delay_input="false"></mutation>

    <field name="OID">alexa2.0.Echo-Devices.G090L91181753MN3.Commands.speak</field>

    <field name="WITH_DELAY">FALSE</field>

    <value name="VALUE">

    <block id=";k]Obf#q1y42h+mvv`O;" type="text_join">

    <mutation items="2"></mutation>

    <value name="ADD0">

    <block id="!O,O;5KGa=:P{RMrI#5(" type="text">

    <field name="TEXT">Achtung, Unwetterwarnung</field>

    </block>

    </value>

    <value name="ADD1">

    <block id="J,^[)qt#PDiq0E-v^!gy" type="get_value">

    <field name="ATTR">val</field>

    <field name="OID">dwd.0.warning.text</field>

    </block>

    </value>

    </block>

    </value>

    </block>

    </next>

    </block>

    </next>

    </block>

    </statement>

    <next>

    <block id="0la}J)|pGYAwhAeZY|w," type="controls_if">

    <value name="IF0">

    <block id="P[#^CUdTL:FKSh;wTMNw" type="logic_operation">

    <field name="OP">AND</field>

    <value name="A">

    <block id="1DhFgMFNoj3(W!;;LU;]" type="logic_compare">

    <field name="OP">GTE</field>

    <value name="A">

    <block id="g*pu|925k2?@mqk-B)OD" type="get_value">

    <field name="ATTR">val</field>

    <field name="OID">dwd.0.warning1.severity</field>

    </block>

    </value>

    <value name="B">

    <block id="|{8[NVj9]%sz7-m}@q0]" type="math_number">

    <field name="NUM">1</field>

    </block>

    </value>

    </block>

    </value>

    <value name="B">

    <block id="|*]e](bm(mub7)vOgvV;" type="time_compare_ex">

    <mutation actual_time="true" end_time="true"></mutation>

    <field name="USE_ACTUAL_TIME">TRUE</field>

    <field name="OPTION">between</field>

    <value name="START_TIME">

    <shadow id="^B[cg!3!i}]D?B%iv3@`" type="text">

    <field name="TEXT">06:00</field>

    </shadow>

    </value>

    <value name="END_TIME">

    <shadow id="``ir19!nu#Jp3}Q0;}#~" type="text">

    <field name="TEXT">22:00</field>

    </shadow>

    </value>

    </block>

    </value>

    </block>

    </value>

    <statement name="DO0">

    <block id="rgIG(xA=jy@KjQ@N1`47" type="control">

    <mutation delay_input="true"></mutation>

    <field name="OID">alexa2.0.Echo-Devices.G090L91181753MN3.Commands.speak</field>

    <field name="WITH_DELAY">TRUE</field>

    <field name="DELAY_MS">3</field>

    <field name="UNIT">sec</field>

    <field name="CLEAR_RUNNING">FALSE</field>

    <value name="VALUE">

    <block id=":5M#0vl#1.6H(G|2L@+3" type="text_join">

    <mutation items="1"></mutation>

    <value name="ADD0">

    <block id="S)`Qq);TK)Bs+Dy:O!=t" type="get_value">

    <field name="ATTR">val</field>

    <field name="OID">dwd.0.warning1.text</field>

    </block>

    </value>

    </block>

    </value>

    </block>

    </statement>

    <next>

    <block id="LD_9{t_}=3oX*fy2OVf!" type="controls_if">

    <value name="IF0">

    <block id="#XjQ|Nz0]r*#BvO/+)tb" type="logic_operation">

    <field name="OP">AND</field>

    <value name="A">

    <block id="[EZi|cbm;~sZHY=,Wc7`" type="logic_compare">

    <field name="OP">GTE</field>

    <value name="A">

    <block id="UD7#R1ko_I}618[|Pt!y" type="get_value">

    <field name="ATTR">val</field>

    <field name="OID">dwd.0.warning2.severity</field>

    </block>

    </value>

    <value name="B">

    <block id="(/ksnI6zS2EA*1X29+^[" type="math_number">

    <field name="NUM">1</field>

    </block>

    </value>

    </block>

    </value>

    <value name="B">

    <block id="s!sd`er52vWb+pa7L0bU" type="time_compare_ex">

    <mutation actual_time="true" end_time="true"></mutation>

    <field name="USE_ACTUAL_TIME">TRUE</field>

    <field name="OPTION">between</field>

    <value name="START_TIME">

    <shadow id="ho%sbrpvNUc_T^cbDOJs" type="text">

    <field name="TEXT">06:00</field>

    </shadow>

    </value>

    <value name="END_TIME">

    <shadow id="D%;3F(:bnyyC(_fTEo}n" type="text">

    <field name="TEXT">22:00</field>

    </shadow>

    </value>

    </block>

    </value>

    </block>

    </value>

    <statement name="DO0">

    <block id="SPck.YMX3Nbw*%5w!`R3" type="control">

    <mutation delay_input="true"></mutation>

    <field name="OID">alexa2.0.Echo-Devices.G090L91181753MN3.Commands.speak</field>

    <field name="WITH_DELAY">TRUE</field>

    <field name="DELAY_MS">6</field>

    <field name="UNIT">sec</field>

    <field name="CLEAR_RUNNING">FALSE</field>

    <value name="VALUE">

    <block id="m1A:3x;+9Sk1DzY;y}KS" type="text_join">

    <mutation items="1"></mutation>

    <value name="ADD0">

    <block id="gd=ewjx|qHN0dHsZbg=/" type="get_value">

    <field name="ATTR">val</field>

    <field name="OID">dwd.0.warning2.text</field>

    </block>

    </value>

    </block>

    </value>

    </block>

    </statement>

    <next>

    <block id="k+=-j_-lftZBzAvgn^+5" type="controls_if">

    <value name="IF0">

    <block id="7~xM5Zqg9BR*p-4A46;U" type="logic_operation">

    <field name="OP">AND</field>

    <value name="A">

    <block id="nmZLPyyvlOR|MK8ml`1O" type="logic_compare">

    <field name="OP">GTE</field>

    <value name="A">

    <block id="rXJ%L^wlP3:q)Yn}hA{#" type="get_value">

    <field name="ATTR">val</field>

    <field name="OID">dwd.0.warning3.severity</field>

    </block>

    </value>

    <value name="B">

    <block id="KT^T1]ZM:C:Kq8x`KGP*" type="math_number">

    <field name="NUM">1</field>

    </block>

    </value>

    </block>

    </value>

    <value name="B">

    <block id="K22.](!qk2d_+WH.oHT~" type="time_compare_ex">

    <mutation actual_time="true" end_time="true"></mutation>

    <field name="USE_ACTUAL_TIME">TRUE</field>

    <field name="OPTION">between</field>

    <value name="START_TIME">

    <shadow id="3c,z{e0t7)Yg7)wQxwTd" type="text">

    <field name="TEXT">06:00</field>

    </shadow>

    </value>

    <value name="END_TIME">

    <shadow id="bQCq/k^gS/noXc_9c}Jo" type="text">

    <field name="TEXT">22:00</field>

    </shadow>

    </value>

    </block>

    </value>

    </block>

    </value>

    <statement name="DO0">

    <block id="=~~2xXQ88U|VWU:VfEK?" type="control">

    <mutation delay_input="true"></mutation>

    <field name="OID">alexa2.0.Echo-Devices.G090L91181753MN3.Commands.speak</field>

    <field name="WITH_DELAY">TRUE</field>

    <field name="DELAY_MS">9</field>

    <field name="UNIT">sec</field>

    <field name="CLEAR_RUNNING">FALSE</field>

    <value name="VALUE">

    <block id="{.tlM%E%:*@=v}EYY.hR" type="text_join">

    <mutation items="1"></mutation>

    <value name="ADD0">

    <block id="V/m}3tN)hH7[GunOjB_[" type="get_value">

    <field name="ATTR">val</field>

    <field name="OID">dwd.0.warning3.text</field>

    </block>

    </value>

    </block>

    </value>

    </block>

    </statement>

    </block>

    </next>

    </block>

    </next>

    </block>

    </next>

    </block>

    </statement>

    </block>

    </XML>


  • Kommt darauf an wie viele Warnungen du anzeigen lässt. Glaube Standard sind 3 (Instanzen --> DWD --> Anzahl der Warnungen). IMHO sind 9 das Maximum, mehr sendet DWD nicht... (und sollte genügen ^^ )

    Die letzten Worte vor dem Weltuntergang: "...das ist technisch völlig unmöglich..."

    aktuelle Projekte: <<< Magic Mirror +++ RMS +++ Wetterstation +++ Somfy Fernbedienung >>>

  • Danke für das Script, aber leider ist der Import nicht möglich.

    TypeError: Cannot read property 'appendChild' of null

    Wenigstens liegt es nicht an mir. Habe den gleichen Fehler.

    Ich habe das Script mal nachgebaut, weiß aber nicht ob es funktioniert.

  • Danke für das Script, aber leider ist der Import nicht möglich.

    TypeError: Cannot read property 'appendChild' of null

    Wenn ich das Script bei mir exportiere und gleich wieder importiere geht es.

    Aus dem Forum kopiert, kommt bei mir auch der Fehler.

    Test Inline Code im Spoiler


    <xml xmlns="http://www.w3.org/1999/xhtml"> <block id="d3+fW*`X:w_H#4QTNzgQ" type="on_ext" x="-513" y="-86"> <mutation items="4"></mutation> <field name="CONDITION">ne</field> <field name="ACK_CONDITION"></field> <value name="OID0"> <shadow id="L+h%NV/jMF@LF%,u,+xm" type="field_oid"> <field name="oid">dwd.0.warning.severity</field> </shadow> </value> <value name="OID1"> <shadow id="MLR^EPW(z}8.YFqFg?u#" type="field_oid"> <field name="oid">dwd.0.warning1.severity</field> </shadow> </value> <value name="OID2"> <shadow id=")@qaK.qBYYn~la,G9?SO" type="field_oid"> <field name="oid">dwd.0.warning2.severity</field> </shadow> </value> <value name="OID3"> <shadow id="x?v9a*ifIoY),5KK|Sk3" type="field_oid"> <field name="oid">dwd.0.warning3.severity</field> </shadow> </value> <statement name="STATEMENT"> <block id="j*VCXFq,ZP=1Ov`QruCT" type="controls_if"> <value name="IF0"> <block id="q0.49Npbm5,h,_[CH!]W" type="logic_operation"> <field name="OP">AND</field> <value name="A"> <block id="beFnIQSCL[-uu.;IwujU" type="logic_compare"> <field name="OP">GTE</field> <value name="A"> <block id="tBLzlgis8ldYYn-K-6AC" type="get_value"> <field name="ATTR">val</field> <field name="OID">dwd.0.warning.severity</field> </block> </value> <value name="B"> <block id=".,itkwS!JlxoRU?~U@o3" type="math_number"> <field name="NUM">1</field> </block> </value> </block> </value> <value name="B"> <block id="33V^WkDjsld?I-6mWJ4s" type="time_compare_ex"> <mutation actual_time="true" end_time="true"></mutation> <field name="USE_ACTUAL_TIME">TRUE</field> <field name="OPTION">between</field> <value name="START_TIME"> <shadow id="R|4#9x8~m?mB.LNY6c6z" type="text"> <field name="TEXT">06:00</field> </shadow> </value> <value name="END_TIME"> <shadow id=".pAil|[(YyVGnU;Bfclu" type="text"> <field name="TEXT">22:00</field> </shadow> </value> </block> </value> </block> </value> <statement name="DO0"> <block id="eedq;g=l)O#_Z3+63{[N" type="control"> <mutation delay_input="false"></mutation> <field name="OID">javascript.0.scriptEnabled.Benachrichtigungen.lcdon</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block id="UCx.K,k~E*FrnZhM94S`" type="logic_boolean"> <field name="BOOL">TRUE</field> </block> </value> <next> <block id=")}e:gb6lTgN,)QkJis~," type="control"> <mutation delay_input="false"></mutation> <field name="OID">javascript.0.scriptEnabled.Server.auf_Wetter_wechseln</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block id="3?K(5hqx8m~gzQ6kL*C*" type="logic_boolean"> <field name="BOOL">TRUE</field> </block> </value> <next> <block id="i%WGH,}%M-;C]Aomq#3q" type="control"> <mutation delay_input="false"></mutation> <field name="OID">alexa2.0.Echo-Devices.G090L91181753MN3.Commands.speak</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block id=";k]Obf#q1y42h+mvv`O;" type="text_join"> <mutation items="2"></mutation> <value name="ADD0"> <block id="!O,O;5KGa=:P{RMrI#5(" type="text"> <field name="TEXT">Achtung, Unwetterwarnung</field> </block> </value> <value name="ADD1"> <block id="J,^[)qt#PDiq0E-v^!gy" type="get_value"> <field name="ATTR">val</field> <field name="OID">dwd.0.warning.text</field> </block> </value> </block> </value> </block> </next> </block> </next> </block> </statement> <next> <block id="0la}J)|pGYAwhAeZY|w," type="controls_if"> <value name="IF0"> <block id="P[#^CUdTL:FKSh;wTMNw" type="logic_operation"> <field name="OP">AND</field> <value name="A"> <block id="1DhFgMFNoj3(W!;;LU;]" type="logic_compare"> <field name="OP">GTE</field> <value name="A"> <block id="g*pu|925k2?@mqk-B)OD" type="get_value"> <field name="ATTR">val</field> <field name="OID">dwd.0.warning1.severity</field> </block> </value> <value name="B"> <block id="|{8[NVj9]%sz7-m}@q0]" type="math_number"> <field name="NUM">1</field> </block> </value> </block> </value> <value name="B"> <block id="|*]e](bm(mub7)vOgvV;" type="time_compare_ex"> <mutation actual_time="true" end_time="true"></mutation> <field name="USE_ACTUAL_TIME">TRUE</field> <field name="OPTION">between</field> <value name="START_TIME"> <shadow id="^B[cg!3!i}]D?B%iv3@`" type="text"> <field name="TEXT">06:00</field> </shadow> </value> <value name="END_TIME"> <shadow id="``ir19!nu#Jp3}Q0;}#~" type="text"> <field name="TEXT">22:00</field> </shadow> </value> </block> </value> </block> </value> <statement name="DO0"> <block id="rgIG(xA=jy@KjQ@N1`47" type="control"> <mutation delay_input="true"></mutation> <field name="OID">alexa2.0.Echo-Devices.G090L91181753MN3.Commands.speak</field> <field name="WITH_DELAY">TRUE</field> <field name="DELAY_MS">3</field> <field name="UNIT">sec</field> <field name="CLEAR_RUNNING">FALSE</field> <value name="VALUE"> <block id=":5M#0vl#1.6H(G|2L@+3" type="text_join"> <mutation items="1"></mutation> <value name="ADD0"> <block id="S)`Qq);TK)Bs+Dy:O!=t" type="get_value"> <field name="ATTR">val</field> <field name="OID">dwd.0.warning1.text</field> </block> </value> </block> </value> </block> </statement> <next> <block id="LD_9{t_}=3oX*fy2OVf!" type="controls_if"> <value name="IF0"> <block id="#XjQ|Nz0]r*#BvO/+)tb" type="logic_operation"> <field name="OP">AND</field> <value name="A"> <block id="[EZi|cbm;~sZHY=,Wc7`" type="logic_compare"> <field name="OP">GTE</field> <value name="A"> <block id="UD7#R1ko_I}618[|Pt!y" type="get_value"> <field name="ATTR">val</field> <field name="OID">dwd.0.warning2.severity</field> </block> </value> <value name="B"> <block id="(/ksnI6zS2EA*1X29+^[" type="math_number"> <field name="NUM">1</field> </block> </value> </block> </value> <value name="B"> <block id="s!sd`er52vWb+pa7L0bU" type="time_compare_ex"> <mutation actual_time="true" end_time="true"></mutation> <field name="USE_ACTUAL_TIME">TRUE</field> <field name="OPTION">between</field> <value name="START_TIME"> <shadow id="ho%sbrpvNUc_T^cbDOJs" type="text"> <field name="TEXT">06:00</field> </shadow> </value> <value name="END_TIME"> <shadow id="D%;3F(:bnyyC(_fTEo}n" type="text"> <field name="TEXT">22:00</field> </shadow> </value> </block> </value> </block> </value> <statement name="DO0"> <block id="SPck.YMX3Nbw*%5w!`R3" type="control"> <mutation delay_input="true"></mutation> <field name="OID">alexa2.0.Echo-Devices.G090L91181753MN3.Commands.speak</field> <field name="WITH_DELAY">TRUE</field> <field name="DELAY_MS">6</field> <field name="UNIT">sec</field> <field name="CLEAR_RUNNING">FALSE</field> <value name="VALUE"> <block id="m1A:3x;+9Sk1DzY;y}KS" type="text_join"> <mutation items="1"></mutation> <value name="ADD0"> <block id="gd=ewjx|qHN0dHsZbg=/" type="get_value"> <field name="ATTR">val</field> <field name="OID">dwd.0.warning2.text</field> </block> </value> </block> </value> </block> </statement> <next> <block id="k+=-j_-lftZBzAvgn^+5" type="controls_if"> <value name="IF0"> <block id="7~xM5Zqg9BR*p-4A46;U" type="logic_operation"> <field name="OP">AND</field> <value name="A"> <block id="nmZLPyyvlOR|MK8ml`1O" type="logic_compare"> <field name="OP">GTE</field> <value name="A"> <block id="rXJ%L^wlP3:q)Yn}hA{#" type="get_value"> <field name="ATTR">val</field> <field name="OID">dwd.0.warning3.severity</field> </block> </value> <value name="B"> <block id="KT^T1]ZM:C:Kq8x`KGP*" type="math_number"> <field name="NUM">1</field> </block> </value> </block> </value> <value name="B"> <block id="K22.](!qk2d_+WH.oHT~" type="time_compare_ex"> <mutation actual_time="true" end_time="true"></mutation> <field name="USE_ACTUAL_TIME">TRUE</field> <field name="OPTION">between</field> <value name="START_TIME"> <shadow id="3c,z{e0t7)Yg7)wQxwTd" type="text"> <field name="TEXT">06:00</field> </shadow> </value> <value name="END_TIME"> <shadow id="bQCq/k^gS/noXc_9c}Jo" type="text"> <field name="TEXT">22:00</field> </shadow> </value> </block> </value> </block> </value> <statement name="DO0"> <block id="=~~2xXQ88U|VWU:VfEK?" type="control"> <mutation delay_input="true"></mutation> <field name="OID">alexa2.0.Echo-Devices.G090L91181753MN3.Commands.speak</field> <field name="WITH_DELAY">TRUE</field> <field name="DELAY_MS">9</field> <field name="UNIT">sec</field> <field name="CLEAR_RUNNING">FALSE</field> <value name="VALUE"> <block id="{.tlM%E%:*@=v}EYY.hR" type="text_join"> <mutation items="1"></mutation> <value name="ADD0"> <block id="V/m}3tN)hH7[GunOjB_[" type="get_value"> <field name="ATTR">val</field> <field name="OID">dwd.0.warning3.text</field> </block> </value> </block> </value> </block> </statement> </block> </next> </block> </next> </block> </next> </block> </statement> </block> </xml>

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!