Hallo zusammen,
ich habe ein Zonenreinigungs script mit Rückmeldung geschrieben, leider sagt [definition='20','0']Alexa[/definition] den ersten Satz immer 2 mal.
weiß jemand Warum?
SCRIPT:
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="on_ext" id="K{hQuURiPCwR3zn^46zG" x="13" y="13">
<mutation items="2"></mutation>
<field name="CONDITION">ne</field>
<field name="ACK_CONDITION"></field>
<value name="OID0">
<shadow type="field_oid" id="x!HKrm9=0hm%--~4{Z-U">
<field name="oid">admin.0.info.Badezimmer_saugen</field>
</shadow>
</value>
<value name="OID1">
<shadow type="field_oid" id="+A-~gm=BRicNS8FM3i3;">
<field name="oid">mihome-vacuum.0.info.state</field>
</shadow>
</value>
<statement name="STATEMENT">
<block type="controls_if" id="Ut9jRekrh?q_s5]T01Kr">
<value name="IF0">
<block type="logic_compare" id="1t6|Vwwks,`v)*o)3_6C">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="s]Uqvx@_7hr6a*2b4P|(">
<field name="ATTR">val</field>
<field name="OID">admin.0.info.Badezimmer_saugen</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id="gz9?#X}IKi?NNpfZ.wH4">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="control" id="wgu@!=3;#QzZP=p`[T[5">
<mutation delay_input="false"></mutation>
<field name="OID">alexa2.0.Echo-Devices.G090LF118135223A.Commands.speak</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="text" id="C3+0FKMxV[=%{5?V6u=z">
<field name="TEXT">das Badezimmer wird gesaugt</field>
</block>
</value>
<next>
<block type="control" id="EN(kD.W#Nj42O^-T_}5Y">
<mutation delay_input="false"></mutation>
<field name="OID">mihome-vacuum.0.control.X_send_command</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="text" id="V8lp2uRi`xqF(|0xuSxw">
<field name="TEXT">app_zoned_clean;[[29518,28242,31668,29942,1]]</field>
</block>
</value>
<next>
<block type="controls_if" id="3^oMTbZt8)v4{k9D7g6f">
<value name="IF0">
<block type="logic_compare" id="_^]lw9EsrHNIW3`/XJm6">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="9uIO*M8^tj{aeqSssL+F">
<field name="ATTR">val</field>
<field name="OID">mihome-vacuum.0.info.state</field>
</block>
</value>
<value name="B">
<block type="math_number" id="xP%Mn0^%w}2xcbrjm91^">
<field name="NUM">6</field>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="control" id="c?Y;v!(UJFnca9?qP1`*">
<mutation delay_input="false"></mutation>
<field name="OID">alexa2.0.Echo-Devices.G090LF118135223A.Commands.speak</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="text" id="f7#+!nPjgNREvmTge2(c">
<field name="TEXT">das Badezimmer ist sauber</field>
</block>
</value>
<next>
<block type="control" id="Y]s%-E5?aA#=+q%dUo+f">
<mutation delay_input="false"></mutation>
<field name="OID">admin.0.info.Badezimmer_saugen</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id="PjwQw2G{t[#F|X)Rg5ev">
<field name="BOOL">FALSE</field>
</block>
</value>
</block>
</next>
</block>
</statement>
</block>
</next>
</block>
</next>
</block>
</statement>
</block>
</statement>
</block>
</xml>