Über Alexa die Haustür öffnen lassen. Mit Sonoff Basic und ioBroker
Code
- <xml xmlns="http://www.w3.org/1999/xhtml">
- <block type="on" id="1^1IXHS.b?M*ul+%7_wa" x="-462" y="-212">
- <field name="OID">cloud.0.services.ifttt</field>
- <field name="CONDITION">any</field>
- <field name="ACK_CONDITION"></field>
- <statement name="STATEMENT">
- <block type="controls_if" id="O}^?7r4,x0|wj^euJWA6">
- <value name="IF0">
- <block type="logic_compare" id="wDbsD)P_TEJzeLkwTJ?Y">
- <field name="OP">EQ</field>
- <value name="A">
- <block type="get_value" id="59r3Yw=QROuzVWR}xWp7">
- <field name="ATTR">val</field>
- <field name="OID">cloud.0.services.ifttt</field>
- </block>
- </value>
- <value name="B">
- <block type="text" id="GIA{lkGI!LpJIe6}7#SU">
- <field name="TEXT">zuhause</field>
- </block>
- </value>
- </block>
- </value>
- <statement name="DO0">
- <block type="control" id="gKZ+hE3f6dTLnD#}^;pG">
- <mutation delay_input="true"></mutation>
- <field name="OID">cloud.0.services.ifttt</field>
- <field name="WITH_DELAY">TRUE</field>
- <field name="DELAY_MS">15</field>
- <field name="UNIT">min</field>
- <field name="CLEAR_RUNNING">TRUE</field>
- <value name="VALUE">
- <block type="text" id="%^[nOqI=7wVsRNl4vkjp">
- <field name="TEXT">ausserhalb</field>
- </block>
- </value>
- </block>
- </statement>
- </block>
- </statement>
- <next>
- <block type="on" id="LG#/VD]zUn~rS=qM.*Zf">
- <field name="OID">Meine_Geräte.0.Tueroeffner</field>
- <field name="CONDITION">any</field>
- <field name="ACK_CONDITION"></field>
- <statement name="STATEMENT">
- <block type="controls_if" id="jxsjgC~8,Z#kETveB||)">
- <value name="IF0">
- <block type="logic_operation" id="?6GXRgd?kS]x}9:rbL{j">
- <field name="OP">AND</field>
- <value name="A">
- <block type="logic_compare" id="rsZH;JVhZ6(=|U(Vt:ID">
- <field name="OP">EQ</field>
- <value name="A">
- <block type="get_value" id="cFU.jASp:o9lr~X9+Z|]">
- <field name="ATTR">val</field>
- <field name="OID">Meine_Geräte.0.Tueroeffner</field>
- </block>
- </value>
- <value name="B">
- <block type="logic_boolean" id=",W*Aaj1QU!S+YC1j^Bo2">
- <field name="BOOL">TRUE</field>
- </block>
- </value>
- </block>
- </value>
- <value name="B">
- <block type="logic_compare" id="?{hGBy.DbkY-r:j[_X4k">
- <field name="OP">EQ</field>
- <value name="A">
- <block type="get_value" id="~_V-HyX-DNhC]TqJCivp">
- <field name="ATTR">val</field>
- <field name="OID">cloud.0.services.ifttt</field>
- </block>
- </value>
- <value name="B">
- <block type="text" id=",uYIvuy_v7=}-L6j(?F}">
- <field name="TEXT">zuhause</field>
- </block>
- </value>
- </block>
- </value>
- </block>
- </value>
- <statement name="DO0">
- <block type="control" id="pP|cP[iS_44;wz=w%0k-">
- <mutation delay_input="false"></mutation>
- <field name="OID">sonoff.0.Tueroeffner.POWER</field>
- <field name="WITH_DELAY">FALSE</field>
- <value name="VALUE">
- <block type="logic_boolean" id="tHb,E)zCsZqljSPI2.FZ">
- <field name="BOOL">TRUE</field>
- </block>
- </value>
- <next>
- <block type="control" id="-%gNq]AD,Y%]#,q}+v_@">
- <mutation delay_input="true"></mutation>
- <field name="OID">sonoff.0.Tueroeffner.POWER</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 type="logic_boolean" id="H/(0GHg@)qI{I:N6YwRx">
- <field name="BOOL">FALSE</field>
- </block>
- </value>
- <next>
- <block type="control" id="TT:bDey{80T^z|B`sg6=">
- <mutation delay_input="true"></mutation>
- <field name="OID">sonoff.0.Tueroeffner.POWER</field>
- <field name="WITH_DELAY">TRUE</field>
- <field name="DELAY_MS">16</field>
- <field name="UNIT">sec</field>
- <field name="CLEAR_RUNNING">FALSE</field>
- <value name="VALUE">
- <block type="logic_boolean" id="!ryu}7^lz*FSqN[,tvC4">
- <field name="BOOL">TRUE</field>
- </block>
- </value>
- <next>
- <block type="control" id="7e|n@K^l.tyLCq#{G=@[">
- <mutation delay_input="true"></mutation>
- <field name="OID">sonoff.0.Tueroeffner.POWER</field>
- <field name="WITH_DELAY">TRUE</field>
- <field name="DELAY_MS">19</field>
- <field name="UNIT">sec</field>
- <field name="CLEAR_RUNNING">FALSE</field>
- <value name="VALUE">
- <block type="logic_boolean" id="|0xoc!PJQ(a#Qfq!o4[j">
- <field name="BOOL">FALSE</field>
- </block>
- </value>
- <next>
- <block type="control" id="o(X`3d3o{U3Sa1pVwU3G">
- <mutation delay_input="false"></mutation>
- <field name="OID">cloud.0.services.ifttt</field>
- <field name="WITH_DELAY">FALSE</field>
- <value name="VALUE">
- <block type="text" id="B#,TMk^x*T)o2;.RDT]4">
- <field name="TEXT">ausserhalb</field>
- </block>
- </value>
- </block>
- </next>
- </block>
- </next>
- </block>
- </next>
- </block>
- </next>
- </block>
- </statement>
- </block>
- </statement>
- </block>
- </next>
- </block>
- </xml>