Ich bin gerade dabei meine Gartenberegnung aufzubauen. Es handelt sich um 3 Regner und ein Tropfschlauch. Mein Anliegen ist es die Beregnung vorerst manuell zu schalten. Einen passenden Schalter habe ich in den Datenpunkten nicht gefunden. Von daher würde ich gerne ein kleinen Blockly anlegen der die 3 Regner nach einander einschaltet und parallel dazu den Tropfschlauch laufen lässt.
Kann ich das so programmieren und umsetzen;
<xml xmlns="https://developers.google.com/blockly/xml">
<block type="on_ext" id="elLl01R=iK2]c$3g`Myg" x="-37" y="62">
<mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
<field name="CONDITION">ne</field>
<field name="ACK_CONDITION"></field>
<value name="OID0">
<shadow type="field_oid" id="S8@*(XUKAI[]zrn2)9b$">
<field name="oid">ID auswählen</field>
</shadow>
</value>
<statement name="STATEMENT">
<block type="controls_if" id="w;Yp~j=oo,IN*J-pXp3@">
<value name="IF0">
<block type="logic_compare" id="Iim(HH@}uJnO_FH8nUH3">
<field name="OP">EQ</field>
<value name="A">
<block type="on_source" id="I]CQcv;[{xS%cNzqe$b{">
<field name="ATTR">state.val</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id="r|si_%F%TlJ#xPditdZO">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="comment" id="x+4DZTrU{o,`:pb37pe%">
<field name="COMMENT">Schaltet das Hauptventil ein und nach &#10;92' wieder aus</field>
<next>
<block type="update" id="JSK*MQTSX[Eioa.}uCkh">
<mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
<field name="OID">zigbee.0.f4b3b1fffe4ef575.state</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="math_number" id="GkG{pIg90h2[]m9!A_Xc">
<field name="NUM">92</field>
</block>
</value>
<next>
<block type="comment" id="*D7WzbWf%_Ocv1WQUibA">
<field name="COMMENT">Schaltet die Tröpfchenberegnung für 90' ein</field>
<next>
<block type="update" id="w4Ms:F2tU_;M0qw{bnub">
<mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
<field name="OID">sprinklecontrol.0.sprinkle.Aktor_Tropfschlauch_Blumenbeet_STATE.runningTime</field>
<field name="WITH_DELAY">TRUE</field>
<field name="DELAY_MS">1000</field>
<field name="UNIT">ms</field>
<field name="CLEAR_RUNNING">FALSE</field>
<value name="VALUE">
<block type="math_number" id="NHf=fUvYgM?m5v%?zpYt">
<field name="NUM">90</field>
</block>
</value>
<next>
<block type="comment" id="MaE,ECbz}kZKo|J;v)?4">
<field name="COMMENT">Schaltet nacheinander die Rasenberegnung&#10;für jeweils 30' ein</field>
<next>
<block type="update" id="K-CfLt(hdK4k82Ppgr]I">
<mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
<field name="OID">sprinklecontrol.0.sprinkle.Aktor_Regner_links_STATE.runningTime</field>
<field name="WITH_DELAY">TRUE</field>
<field name="DELAY_MS">1000</field>
<field name="UNIT">ms</field>
<field name="CLEAR_RUNNING">FALSE</field>
<value name="VALUE">
<block type="math_number" id="Q.+8I/]d|Fu7C9@nSpT:">
<field name="NUM">30</field>
</block>
</value>
<next>
<block type="update" id="8X-$@PbRpHDmv?CF+}7H">
<mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
<field name="OID">sprinklecontrol.0.sprinkle.Aktor_Regner_Mitte_STATE.runningTime</field>
<field name="WITH_DELAY">TRUE</field>
<field name="DELAY_MS">30</field>
<field name="UNIT">min</field>
<field name="CLEAR_RUNNING">FALSE</field>
<value name="VALUE">
<block type="math_number" id="H[;r~iHI:=O^!Dr[9~2.">
<field name="NUM">30</field>
</block>
</value>
<next>
<block type="update" id="1g(-##I@(O3wrE:_J6-4">
<mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
<field name="OID">sprinklecontrol.0.sprinkle.Aktor_Regner_rechts_STATE.runningTime</field>
<field name="WITH_DELAY">TRUE</field>
<field name="DELAY_MS">60</field>
<field name="UNIT">min</field>
<field name="CLEAR_RUNNING">FALSE</field>
<value name="VALUE">
<block type="math_number" id="qekIB$aPP?n[O^C)Un#m">
<field name="NUM">30</field>
</block>
</value>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</statement>
</block>
</statement>
</block>
</xml>