Servus,
ich möchte gerne das der Flur immer angeht, wenn ich nach Hause komme. Im moment schaltet das Licht bei jeder Uhrzeit ein, ich möchte allerdings, das nur wenns Dunkel ist das Licht geschaltet wird.
Kann mir jemand sagen, wo ich den Fehler gemacht habe ?
Code
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="on_ext" id="_ssJnMhul+gYmlgzjBdf" x="-787" y="-262">
<mutation items="1"></mutation>
<field name="CONDITION">any</field>
<field name="ACK_CONDITION"></field>
<value name="OID0">
<shadow type="field_oid" id="3*x8ktGby9subx#QYc_Y">
<field name="oid">cloud.0.services.ifttt</field>
</shadow>
</value>
<statement name="STATEMENT">
<block type="comment" id="IjdSJ_yV64]%wZZ[.xEd">
<field name="COMMENT">Flur-Licht-An</field>
<next>
<block type="controls_if" id="zTKZZ./HRU}SV|w^%Os]">
<value name="IF0">
<block type="logic_operation" id="CgrXx2b:b_I]Er;B8@Gb">
<field name="OP">AND</field>
<value name="A">
<block type="time_astro" id="[N0p#mXF+b{EgzWBTu*n">
<field name="TYPE">sunsetStart</field>
<field name="OFFSET">0</field>
</block>
</value>
<value name="B">
<block type="logic_compare" id="Lqc[B@3ni,Sn,XUyKh6J">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="_1bHt9%)!Gr3,NLj`m5z">
<field name="ATTR">val</field>
<field name="OID">cloud.0.services.ifttt</field>
</block>
</value>
<value name="B">
<block type="text" id="R{)MG9*_A-qBEx!F#7H|">
<field name="TEXT">entered</field>
</block>
</value>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="control" id="q9B`:Q}OO`2K.D_ibDT:">
<mutation delay_input="false"></mutation>
<field name="OID">sonoff.0.Sonoff-Flur.POWER</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id="}@p_O=:]7qj8GM`gh2@g">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</statement>
<next>
<block type="comment" id="crUz6t6ybcB~Ngs@NY`m">
<field name="COMMENT">Flur-Licht-Aus</field>
<next>
<block type="controls_if" id="PR]nYbkWLq5TgU,1#.YY">
<value name="IF0">
<block type="logic_compare" id="Ecr{3+ub30^[t!kS)?7@">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="iZ-T(2#,wCT,/aRf6)4_">
<field name="ATTR">val</field>
<field name="OID">cloud.0.services.ifttt</field>
</block>
</value>
<value name="B">
<block type="text" id="kx4G|In24DaS)k!pDQ-:">
<field name="TEXT">exit</field>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="control" id="TIl(yA8~K@;R8JSqH(}:">
<mutation delay_input="false"></mutation>
<field name="OID">sonoff.0.Sonoff-Flur.POWER</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id="I}jas-8Kr1zG64AbLt!@">
<field name="BOOL">FALSE</field>
</block>
</value>
</block>
</statement>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</statement>
</block>
</xml>
Alles anzeigen