NEWS
Zeitschaltung Steckdose Blockly [gelöst]
-
Hallo, ich habe eine Zeitschaltung gefunden und wollte diese bei mir einsetzen.
Leider springt es nicht an, was mache ich falsch beim Trigger?
Aslo es soll ein Sonoff 6:30 an 9 Uhr wieder aus und dann alle 3 h für 15 min. Der Zeitplan soll wohl funktionieren….
! ````
<xml xmlns="http://www.w3.org/1999/xhtml"><block type="on_ext" id="~D:F?#hnikLWQ+txYo=N" x="-462" y="-587"><mutation items="1"></mutation>
<field name="CONDITION">ne</field><value name="OID0"><shadow type="field_oid" id="N`/,?en-;l/mg*/D~^1i"><field name="oid">sonoff.0.SonoffS20.POWER</field></shadow></value> <statement name="STATEMENT"><block type="controls_if" id="u5E%S9y}f9cz`X0}W=2o"><value name="IF0"><block type="logic_compare" id="rX?]y1b1f|YQ`w^b%::F"><field name="OP">EQ</field> <value name="A"><block type="logic_boolean" id="nSghzNent9#0nCb6I%,D"><field name="BOOL">FALSE</field></block></value> <value name="B"><block type="get_value" id="Mp^+jj94k7!ypo~CFS)l"><field name="ATTR">val</field> <field name="OID">sonoff.0.SonoffS20.POWER</field></block></value></block></value> <statement name="DO0"><block type="schedule" id="Y29;D6RlbCn.?PzrDz%_"><field name="SCHEDULE">30 6 * * *</field> <statement name="STATEMENT"><block type="control" id="6jdp/4-~)5k}uPI9l]G2"><mutation delay_input="false"></mutation> <field name="OID">sonoff.0.SonoffS20.POWER</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"><block type="logic_boolean" id="zz!]g:([z8eqFe7,Q#eu"><field name="BOOL">TRUE</field></block></value></block></statement> <next><block type="schedule" id="hxwpAYK0Mqve4FQ:6/Xw"><field name="SCHEDULE">0 9 * * *</field> <statement name="STATEMENT"><block type="control" id="D(G@}_r3X}7EfG,[;Ovj"><mutation delay_input="false"></mutation> <field name="OID">sonoff.0.SonoffS20.POWER</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"><block type="logic_boolean" id="lH8tZ`-!JGpNne2k0?vm"><field name="BOOL">FALSE</field></block></value></block></statement> <next><block type="schedule" id="(JI]Es5R!#-w5zLx7;3E"><field name="SCHEDULE">0 12,15,18,21,23 * * *</field> <statement name="STATEMENT"><block type="control" id="Owb@mT~Y2/r6n(kp{=,?"><mutation delay_input="false"></mutation> <field name="OID">sonoff.0.SonoffS20.POWER</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"><block type="logic_boolean" id="[R;8h}+j22n)VBWq%dd3"><field name="BOOL">TRUE</field></block></value></block></statement> <next><block type="schedule" id=",p@Y=pNk8jN%JFJx]*f+"><field name="SCHEDULE">15 12,15,18,21,23 * * *</field> <statement name="STATEMENT"><block type="control" id="fmZBf)/Y=wstA63CFqYv"><mutation delay_input="false"></mutation> <field name="OID">sonoff.0.SonoffS20.POWER</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"><block type="logic_boolean" id="V*Ey[3:4:x{7/NKpC+?*"><field name="BOOL">FALSE</field></block></value></block></statement></block></next></block></next></block></next></block></statement></block></statement></block></xml>
-
In der falls abfrage unwahr mit der wert abfrage tauschen?
Gesendet von meinem HUAWEI VNS-L31 mit Tapatalk
-
Ist noch etwas anders.
Mir kam es mit dem Trigger selbst schon komisch vor. Deswegen habe ich mal die Zeit getriggert, denn auf die Uhrzeit soll es ja achten…
So klappt es im Moment.
! ````
<xml xmlns="http://www.w3.org/1999/xhtml"><block type="controls_if" id="mBz;soe800dNtiSqL0Yg" x="-413" y="-737"><value name="IF0"><block type="time_get" id="E2JwR?:LBGY}OV0=Q7N@"><mutation format="false" language="false"></mutation>
<field name="OPTION">object</field></block></value>
<statement name="DO0"><block type="schedule" id="Y29;D6RlbCn.?PzrDz%_"><field name="SCHEDULE">30 6 * * *</field>
<statement name="STATEMENT"><block type="control" id="6jdp/4-~)5k}uPI9l]G2"><mutation delay_input="false"></mutation>
<field name="OID">sonoff.0.SonoffS20.POWER</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE"><block type="logic_boolean" id="zz!]g:([z8eqFe7,Q#eu"><field name="BOOL">TRUE</field></block></value></block></statement>
<next><block type="schedule" id="hxwpAYK0Mqve4FQ:6/Xw"><field name="SCHEDULE">0 9 * * *</field>
<statement name="STATEMENT"><block type="control" id="D(G@}_r3X}7EfG,[;Ovj"><mutation delay_input="false"></mutation>
<field name="OID">sonoff.0.SonoffS20.POWER</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE"><block type="logic_boolean" id="lH8tZ`-!JGpNne2k0?vm"><field name="BOOL">FALSE</field></block></value></block></statement>
<next><block type="schedule" id="(JI]Es5R!#-w5zLx7;3E"><field name="SCHEDULE">0 12,15,18,21,23 * * *</field>
<statement name="STATEMENT"><block type="control" id="Owb@mT~Y2/r6n(kp{=,?"><mutation delay_input="false"></mutation>
<field name="OID">sonoff.0.SonoffS20.POWER</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE"><block type="logic_boolean" id="[R;8h}+j22n)VBWq%dd3"><field name="BOOL">TRUE</field></block></value></block></statement>
<next><block type="schedule" id=",p@Y=pNk8jN%JFJx]f+"><field name="SCHEDULE">15 12,15,18,21,23 * * </field>
<statement name="STATEMENT"><block type="control" id="fmZBf)/Y=wstA63CFqYv"><mutation delay_input="false"></mutation>
<field name="OID">sonoff.0.SonoffS20.POWER</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE"><block type="logic_boolean" id="VEy[3:4:x{7/NKpC+?"><field name="BOOL">FALSE</field></block></value></block></statement></block></next></block></next></block></next></block></statement></block></xml> -
der Falls Block an sich ist doch kein Trigger und kann weg.
Die Zeitpläne sind einzelne Trigger und davon hast du ja einige.
Also nimm die Zeitpläne aus der Falls raus und lösch dann den Falls Zweig komplett.
Grüße
Tom
Edit : Erklärung verständlicher angepasst
-
Noch besser und schlanker, Danke.