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>