Guten Abend
ich möchte gerne das mein Bewegungsmelder das Licht bei Erkennung anschaltet was auch wunderbar klappt aber ich möchte auch das er nach einer Zeitsteuerung die ich vorgebe das Licht nicht mehr einschaltet und das klappt leider nicht was mache ich falsch?
Code
<xml xmlns="http://www.w3.org/1999/xhtml">
<block id="zW*uCH,T.g8Zy)eUuUy8" type="on_ext" y="162" x="363">
<mutation items="1"></mutation>
<field name="CONDITION">ne</field>
<field name="ACK_CONDITION"></field>
<value name="OID0">
<shadow id="i.T+W@wb+Z7;#gEHwC*Q" type="field_oid">
<field name="oid">hm-rpc.1.000C18A98B935D.1.PRESENCE_DETECTION_STATE</field>
</shadow>
</value>
<statement name="STATEMENT">
<block id="uzFMZj2/2y9H7Jxmtn?u" type="controls_if">
<mutation elseif="1"></mutation>
<value name="IF0">
<block id="c]d!qB=hPX@lEQ.BIKPo" type="convert_toboolean">
<value name="VALUE">
<block id="p5L_HWM_^M^oxXJO0pIS" type="logic_compare">
<field name="OP">EQ</field>
<value name="A">
<block id="G?}Pm*Z_Mu@F0d7YoNH@" type="on_source">
<field name="ATTR">state.val</field>
</block>
</value>
<value name="B">
<block id="wpkUI!c~,3T|TY~7DL;X" type="logic_operation">
<field name="OP">AND</field>
<value name="A">
<block id="93=2COHh7hKf@eO[+WN/" type="logic_boolean">
<field name="BOOL">TRUE</field>
</block>
</value>
<value name="B">
<block id="h{chZ)/}bz?g3KSS=_Z#" type="time_compare">
<mutation end_time="true"></mutation>
<field name="OPTION">between</field>
<field name="START_TIME">03:15</field>
<field name="END_TIME">21:00</field>
</block>
</value>
</block>
</value>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block id="iX(g:~l_rwZSsPrGX_wv" type="control">
<mutation delay_input="false"></mutation>
<field name="OID">hm-rpc.0.NEQ1101557.1.LEVEL</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block id="*}w!!9Qbk3?W[%RA`~bx" type="math_number">
<field name="NUM">30</field>
</block>
</value>
</block>
</statement>
<value name="IF1">
<block id="l?;P%c7Eb#8[n#Tr)5-4" type="convert_toboolean">
<value name="VALUE">
<block id="[U)JwHYbnL`=J;pTd[f}" type="logic_compare">
<field name="OP">EQ</field>
<value name="A">
<block id="ETX197[JF^0tqhrkzR!K" type="on_source">
<field name="ATTR">state.val</field>
</block>
</value>
<value name="B">
<block id="7HZ7-UD:w[60.dWip^cb" type="logic_boolean">
<field name="BOOL">FALSE</field>
</block>
</value>
</block>
</value>
</block>
</value>
<statement name="DO1">
<block id="[=+HB~J,3?x0RmNe?M4}" type="control">
<mutation delay_input="false"></mutation>
<field name="OID">hm-rpc.0.NEQ1101557.1.LEVEL</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block id="?%1N:SN*L7~Y*dxZaf1@" type="math_number">
<field name="NUM">0</field>
</block>
</value>
</block>
</statement>
</block>
</statement>
</block>
</xml>
Alles anzeigen