Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Blockly
    5. Verständnis Frage Trigger

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    Verständnis Frage Trigger

    This topic has been deleted. Only users with topic management privileges can see it.
    • F
      Fritzk last edited by

      Hallo
      Ich Hab ein Blockly für PV Überschuss und Heizstab mit 3 Stufen. Jetzt Hab ich so ne Art Not Aus und bin mir nicht sicher ob das so funktioniert. Der Teil von dem Blockly soll die 3 Stufen des Heizstabes überwachen und wenn eine stufe von den 3 eingeschalten ist und irgend eine irgend eine bedingung entweder die Temperatur ist größer wie 65 oder die Zeit ist zwischen 17:00 und 09:00 Uhr oder Status der Batterie ist unter 60 sollen alle 3 Verbraucher abschalten. dieses ist nur ein Teil eines ganzen Blocklys. Würde diese Not Aus Schaltung funktionieren ?
      Notaus.jpg

      G paul53 2 Replies Last reply Reply Quote 0
      • G
        GombersIOB @Fritzk last edited by GombersIOB

        @fritzk

        Für den Ablauf spielt es doch gar keine Rolle, ob ein Heizstab schon an war. Wenn die Nebenbedingungen zutreffen, sollen alle drei Stufen des Heizstabes auf "aus" gesetzt werden.
        Das Script, wie es jetzt läuft, triggert jetzt die Heizstabstufen, es sollte aber, wenn ich das recht verstanden habe, eigentlich die Nebenbedingungen triggern - also anlaufen wenn der Batterielevel unter 60% fällt oder die Speichertemperatur über 65 Grad geht.

        F 1 Reply Last reply Reply Quote 0
        • F
          Fritzk @GombersIOB last edited by Fritzk

          @gombersiob
          das script soll die 3 Objekt ID ( switch, Heizstufe 2, Heizstufe 3) triggeren. sobald eine von diesen auf true steht und eine der Bedingungen erfüllt ist sollen alle 3 Verbraucher abgeschaltet werden bzw auf false gesetzt werden

          G 1 Reply Last reply Reply Quote 0
          • paul53
            paul53 @Fritzk last edited by paul53

            @fritzk sagte: Temperatur ist größer wie 65 oder die Zeit ist zwischen 17:00 und 09:00 Uhr oder Status der Batterie ist unter 60 sollen alle 3 Verbraucher abschalten.

            Dann müssen diese Datenpunkte / der Zeitplan als Trigger dienen.

            Blockly_temp.JPG

            1 Reply Last reply Reply Quote 0
            • G
              GombersIOB @Fritzk last edited by

              @fritzk said in Verständnis Frage Trigger:

              das script soll die 3 Objekt ID ( switch, Heizstufe 2, Heizstufe 3) triggeren. sobald eine von diesen auf true steht und eine der Bedingungen erfüllt ist sollen alle 3 Verbraucher abgeschaltet werden bzw auf false gesetzt werden

              Diese "Und"-Verbindung zwischen Status des Heizstabs und der Nebenbedingungen leistet es aber nicht. Es wird nur auf die Nebenbedingung geprüft, wenn eine der Heizstufen geschaltet wird.

              Wenn der Heizstab den ganzen Tag an ist, kann sich der Batterie-Level und die Temperatur des Speichers, ohne Auswirkung auf den Heizstab, ändern.

              F 1 Reply Last reply Reply Quote 0
              • F
                Fritzk @GombersIOB last edited by Fritzk

                Hier mal das Ganze Blockly. Es funktioniert auch super. Ich wollte nur verhindern das mir die Temperatur des Boilers auf über 65 Grad geht, oder das es mir meine Batterie leer macht bis Abends und das es ab 17 uhr abneds bis in der früh 9 uhr nicht einschaltet.

                <xml xmlns="https://developers.google.com/blockly/xml">
                  <variables>
                    <variable id="#3v}HDbdMRBS$0v{!o)h">TempOK</variable>
                    <variable id="u$n!XZBM)j[J?f~JT%z5">WolkenVerzoegerung</variable>
                    <variable id="N2Dk85CQN2uL0w3qt8A_">Verbraucher_1</variable>
                    <variable id="f6*O*xo-Qtq,VGU7f|-6">Verbraucher_2</variable>
                    <variable id="iwu_1;PHCBW[(6sePQ9Q">Verbraucher_1_TF</variable>
                    <variable id="Qd@~YUEX}4:5(CxoR0XE">Verbraucher_3</variable>
                    <variable id="Zs+nKXWb1F_(8ioCBAN2">Verbraucher_2_TF</variable>
                    <variable id="p^C8]xkYA`vcvj}h|bOJ">Verbraucher_3_TF</variable>
                    <variable type="timeout" id="WolkenTimeout">WolkenTimeout</variable>
                  </variables>
                  <block type="comment" id=":KcJp(XA6BC.9$O`{08=" x="88" y="-1312">
                    
                    <next>
                      <block type="comment" id="!$7v[$OV+$1bj2,8AG^I">
                        <field name="COMMENT">Verbraucher nach Priorität definieren</field>
                        <next>
                          <block type="variables_set" id="X,Kte;fb[i[!TOm:{KMP">
                            <field name="VAR" id="N2Dk85CQN2uL0w3qt8A_">Verbraucher_1</field>
                            <value name="VALUE">
                              <block type="math_number" id="4]$iqGm92WQ(}+WKtd@b">
                                <field name="NUM">1000</field>
                              </block>
                            </value>
                            <next>
                              <block type="variables_set" id="D}?AQ/fSwSt3Yn@5aWda">
                                <field name="VAR" id="f6*O*xo-Qtq,VGU7f|-6">Verbraucher_2</field>
                                <value name="VALUE">
                                  <block type="math_number" id=";x*A;(3wi@hJO^nx#Rdx">
                                    <field name="NUM">1100</field>
                                  </block>
                                </value>
                                <next>
                                  <block type="variables_set" id="*#bP}Vb`Ny@(KL.dN5Z5">
                                    <field name="VAR" id="Qd@~YUEX}4:5(CxoR0XE">Verbraucher_3</field>
                                    <value name="VALUE">
                                      <block type="math_number" id=")S3mPs;-xP/57{2:|Luf">
                                        <field name="NUM">1200</field>
                                      </block>
                                    </value>
                                    <next>
                                      <block type="variables_set" id="q9RCpGf%NCHwe3CT?.Bg">
                                        <field name="VAR" id="iwu_1;PHCBW[(6sePQ9Q">Verbraucher_1_TF</field>
                                        <value name="VALUE">
                                          <block type="logic_boolean" id="S%3.V:zT{[3GZ]B9GhTu">
                                            <field name="BOOL">FALSE</field>
                                          </block>
                                        </value>
                                        <next>
                                          <block type="variables_set" id="+e=+FZA$6D/hg3sg}-6~">
                                            <field name="VAR" id="Zs+nKXWb1F_(8ioCBAN2">Verbraucher_2_TF</field>
                                            <value name="VALUE">
                                              <block type="logic_boolean" id="IwMX1dzDOB#m*QTi$gMq">
                                                <field name="BOOL">FALSE</field>
                                              </block>
                                            </value>
                                            <next>
                                              <block type="variables_set" id="/E-q[dH)W-w]o13faTdn">
                                                <field name="VAR" id="p^C8]xkYA`vcvj}h|bOJ">Verbraucher_3_TF</field>
                                                <value name="VALUE">
                                                  <block type="logic_boolean" id="cN+]-J6tWyNJF!1RK6Fa">
                                                    <field name="BOOL">FALSE</field>
                                                  </block>
                                                </value>
                                                <next>
                                                  <block type="procedures_callnoreturn" id="N$t)M,:~htBoAo.G_^)p">
                                                    <mutation name="Verbraucher_1_F"></mutation>
                                                    <next>
                                                      <block type="procedures_callnoreturn" id="U,y:5!^da~,*5BF~il0v">
                                                        <mutation name="Verbraucher_2_F"></mutation>
                                                        <next>
                                                          <block type="procedures_callnoreturn" id="`q_aF*(K(]hp6[X`hX1x">
                                                            <mutation name="Verbraucher_3_F"></mutation>
                                                            <next>
                                                              <block type="on_ext" id="W*oi[r42Fur~gO:zbm4g">
                                                                <mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation>
                                                                <field name="CONDITION">ne</field>
                                                                <field name="ACK_CONDITION"></field>
                                                                <value name="OID0">
                                                                  <shadow type="field_oid" id="85SpWm|JTqSGg:^e/*rU">
                                                                    <field name="oid">default</field>
                                                                  </shadow>
                                                                  <block type="field_oid" id="QJ=%Ay8%ZQ4%B9.thx%A">
                                                                    <field name="oid">0_userdata.0.Strom_Geliefert</field>
                                                                  </block>
                                                                </value>
                                                                <value name="OID1">
                                                                  <shadow type="field_oid" id="p,ke`l}Dw-?*+.^!V%/G">
                                                                    <field name="oid">default</field>
                                                                  </shadow>
                                                                  <block type="field_oid" id="#a`3[p,W%r/bDBKGnYO)">
                                                                    <field name="oid">0_userdata.0.Strom_Bezug</field>
                                                                  </block>
                                                                </value>
                                                                <statement name="STATEMENT">
                                                                  <block type="controls_if" id="^7l^4UD1B#B1Ze$~9,5R">
                                                                    <value name="IF0">
                                                                      <block type="logic_compare" id="R[55*32U9|fV73jr|d5w">
                                                                        <field name="OP">EQ</field>
                                                                        <value name="A">
                                                                          <block type="variables_get" id="wD#_u4grFGiK*IuaQTh|">
                                                                            <field name="VAR" id="u$n!XZBM)j[J?f~JT%z5">WolkenVerzoegerung</field>
                                                                          </block>
                                                                        </value>
                                                                        <value name="B">
                                                                          <block type="logic_boolean" id="Rmo~p[C`sY{T:v`@.hR_">
                                                                            <field name="BOOL">FALSE</field>
                                                                          </block>
                                                                        </value>
                                                                      </block>
                                                                    </value>
                                                                    <statement name="DO0">
                                                                      <block type="variables_set" id="pe}-WiBkwCh)557LFEEA">
                                                                        <field name="VAR" id="u$n!XZBM)j[J?f~JT%z5">WolkenVerzoegerung</field>
                                                                        <value name="VALUE">
                                                                          <block type="logic_boolean" id="|.0)VM`BPJ#(SM$L%Q|P">
                                                                            <field name="BOOL">TRUE</field>
                                                                          </block>
                                                                        </value>
                                                                        <next>
                                                                          <block type="timeouts_settimeout" id="15Tt]:5FLZ+hls0uWS7C">
                                                                            <field name="NAME">WolkenTimeout</field>
                                                                            <field name="DELAY">3</field>
                                                                            <field name="UNIT">min</field>
                                                                            <statement name="STATEMENT">
                                                                              <block type="variables_set" id="%IH/_dNX*NNu4-D5DKEq">
                                                                                <field name="VAR" id="u$n!XZBM)j[J?f~JT%z5">WolkenVerzoegerung</field>
                                                                                <value name="VALUE">
                                                                                  <block type="logic_boolean" id="jzJKMdVAcr-KH,=lqAVW">
                                                                                    <field name="BOOL">FALSE</field>
                                                                                  </block>
                                                                                </value>
                                                                              </block>
                                                                            </statement>
                                                                            <next>
                                                                              <block type="controls_if" id="OEQ[V;`THSEyZA1ok[{I">
                                                                                <value name="IF0">
                                                                                  <block type="logic_compare" id="%R*rwCt*,+;f5pX}09vO">
                                                                                    <field name="OP">EQ</field>
                                                                                    <value name="A">
                                                                                      <block type="on_source" id="vUtwM@oGXuw{0%6vVVC:">
                                                                                        <field name="ATTR">common.name</field>
                                                                                      </block>
                                                                                    </value>
                                                                                    <value name="B">
                                                                                      <block type="text" id="YS+CfAp3mdUW!IlcPx=;">
                                                                                        <field name="TEXT">Strom Geliefert</field>
                                                                                      </block>
                                                                                    </value>
                                                                                  </block>
                                                                                </value>
                                                                                <statement name="DO0">
                                                                                  <block type="controls_if" id="t.XI=#VXj0H!fM{0bY_:">
                                                                                    <value name="IF0">
                                                                                      <block type="logic_operation" id="{-Ok}Tq^6famB8*r?8!c" inline="false">
                                                                                        <field name="OP">AND</field>
                                                                                        <value name="A">
                                                                                          <block type="logic_operation" id="V,+DBlwc3RcC_Z0;%Zmq" inline="false">
                                                                                            <field name="OP">AND</field>
                                                                                            <value name="A">
                                                                                              <block type="logic_compare" id="iD|?etR?+R+iMsPXh~ur">
                                                                                                <field name="OP">EQ</field>
                                                                                                <value name="A">
                                                                                                  <block type="variables_get" id="rmU-UOP9y{h.AL3mPV=A">
                                                                                                    <field name="VAR" id="Zs+nKXWb1F_(8ioCBAN2">Verbraucher_2_TF</field>
                                                                                                  </block>
                                                                                                </value>
                                                                                                <value name="B">
                                                                                                  <block type="logic_boolean" id="@WO#FL{bE^{nzla/+4RI">
                                                                                                    <field name="BOOL">TRUE</field>
                                                                                                  </block>
                                                                                                </value>
                                                                                              </block>
                                                                                            </value>
                                                                                            <value name="B">
                                                                                              <block type="logic_compare" id="0Nc1JZhc%qRQfKgv~i9{">
                                                                                                <field name="OP">EQ</field>
                                                                                                <value name="A">
                                                                                                  <block type="variables_get" id="n^_FO~a2pbFz+8ylUj~{">
                                                                                                    <field name="VAR" id="p^C8]xkYA`vcvj}h|bOJ">Verbraucher_3_TF</field>
                                                                                                  </block>
                                                                                                </value>
                                                                                                <value name="B">
                                                                                                  <block type="logic_boolean" id="q2v6oqX:!e!vD#nmgLAk">
                                                                                                    <field name="BOOL">FALSE</field>
                                                                                                  </block>
                                                                                                </value>
                                                                                              </block>
                                                                                            </value>
                                                                                          </block>
                                                                                        </value>
                                                                                        <value name="B">
                                                                                          <block type="logic_compare" id="+{V3I=d_,Ut#m`ib2Z2;">
                                                                                            <field name="OP">GT</field>
                                                                                            <value name="A">
                                                                                              <block type="on_source" id="mK-g1|fy$C=9wO?aCFea">
                                                                                                <field name="ATTR">state.val</field>
                                                                                              </block>
                                                                                            </value>
                                                                                            <value name="B">
                                                                                              <block type="variables_get" id="*[Hy@(,~J)Q^XXb=XY?v">
                                                                                                <field name="VAR" id="Qd@~YUEX}4:5(CxoR0XE">Verbraucher_3</field>
                                                                                              </block>
                                                                                            </value>
                                                                                          </block>
                                                                                        </value>
                                                                                      </block>
                                                                                    </value>
                                                                                    <statement name="DO0">
                                                                                      <block type="controls_if" id="hxdyiLx-+hrD|H**mt]o">
                                                                                        <value name="IF0">
                                                                                          <block type="logic_compare" id="Y`qo/a@^}e$3Up1]Gho2">
                                                                                            <field name="OP">EQ</field>
                                                                                            <value name="A">
                                                                                              <block type="variables_get" id="v~,L?XVi#x_GY9):?6HA">
                                                                                                <field name="VAR" id="#3v}HDbdMRBS$0v{!o)h">TempOK</field>
                                                                                              </block>
                                                                                            </value>
                                                                                            <value name="B">
                                                                                              <block type="logic_boolean" id="$9*$ioWP+aMb,uq^wDin">
                                                                                                <field name="BOOL">TRUE</field>
                                                                                              </block>
                                                                                            </value>
                                                                                          </block>
                                                                                        </value>
                                                                                        <statement name="DO0">
                                                                                          <block type="variables_set" id="4ITjd}1LnqzvO|cncQ~,">
                                                                                            <field name="VAR" id="p^C8]xkYA`vcvj}h|bOJ">Verbraucher_3_TF</field>
                                                                                            <value name="VALUE">
                                                                                              <block type="logic_boolean" id="xW@]Ee`^fp{~wAk/$10(">
                                                                                                <field name="BOOL">TRUE</field>
                                                                                              </block>
                                                                                            </value>
                                                                                            <next>
                                                                                              <block type="procedures_callnoreturn" id="HI{mswB}yHji[a[hqbLm">
                                                                                                <mutation name="Verbraucher_3_F"></mutation>
                                                                                              </block>
                                                                                            </next>
                                                                                          </block>
                                                                                        </statement>
                                                                                      </block>
                                                                                    </statement>
                                                                                    <next>
                                                                                      <block type="controls_if" id="TlcF#~;(KK,X;G*vlZ8=">
                                                                                        <value name="IF0">
                                                                                          <block type="logic_operation" id="(Rj_mFB[y=NL]@HA7P/|" inline="false">
                                                                                            <field name="OP">AND</field>
                                                                                            <value name="A">
                                                                                              <block type="logic_operation" id="7N^F+8]71lW$##QIUy$B" inline="false">
                                                                                                <field name="OP">AND</field>
                                                                                                <value name="A">
                                                                                                  <block type="logic_compare" id="h{d{Dw:k9^KsTD$L{nZ7">
                                                                                                    <field name="OP">EQ</field>
                                                                                                    <value name="A">
                                                                                                      <block type="variables_get" id=",QW|)b.9Tq}2!F|NR!1x">
                                                                                                        <field name="VAR" id="iwu_1;PHCBW[(6sePQ9Q">Verbraucher_1_TF</field>
                                                                                                      </block>
                                                                                                    </value>
                                                                                                    <value name="B">
                                                                                                      <block type="logic_boolean" id="th:D+I`=$t*~EaFGdK~G">
                                                                                                        <field name="BOOL">TRUE</field>
                                                                                                      </block>
                                                                                                    </value>
                                                                                                  </block>
                                                                                                </value>
                                                                                                <value name="B">
                                                                                                  <block type="logic_compare" id="DTqYVel.mUQrL@|]~Lmd">
                                                                                                    <field name="OP">EQ</field>
                                                                                                    <value name="A">
                                                                                                      <block type="variables_get" id="D=AepqiQ{QDRI]n%b1f7">
                                                                                                        <field name="VAR" id="Zs+nKXWb1F_(8ioCBAN2">Verbraucher_2_TF</field>
                                                                                                      </block>
                                                                                                    </value>
                                                                                                    <value name="B">
                                                                                                      <block type="logic_boolean" id="?T)F?s)1CDYj7%CO.g`B">
                                                                                                        <field name="BOOL">FALSE</field>
                                                                                                      </block>
                                                                                                    </value>
                                                                                                  </block>
                                                                                                </value>
                                                                                              </block>
                                                                                            </value>
                                                                                            <value name="B">
                                                                                              <block type="logic_compare" id="?v3=Y9}r,}OY(ncYjj9g">
                                                                                                <field name="OP">GT</field>
                                                                                                <value name="A">
                                                                                                  <block type="on_source" id="C/Pmre#rdW$tUH-XW*$*">
                                                                                                    <field name="ATTR">state.val</field>
                                                                                                  </block>
                                                                                                </value>
                                                                                                <value name="B">
                                                                                                  <block type="variables_get" id="9*Jny))Y@xs%`xDHR*@p">
                                                                                                    <field name="VAR" id="f6*O*xo-Qtq,VGU7f|-6">Verbraucher_2</field>
                                                                                                  </block>
                                                                                                </value>
                                                                                              </block>
                                                                                            </value>
                                                                                          </block>
                                                                                        </value>
                                                                                        <statement name="DO0">
                                                                                          <block type="controls_if" id="q,w5R@QJ{v=k+[Hl?t/r">
                                                                                            <value name="IF0">
                                                                                              <block type="logic_compare" id="^-58?--FDp{qqsIS{7;M">
                                                                                                <field name="OP">EQ</field>
                                                                                                <value name="A">
                                                                                                  <block type="variables_get" id="bb+xF[tR^~x:U.kFXNIG">
                                                                                                    <field name="VAR" id="#3v}HDbdMRBS$0v{!o)h">TempOK</field>
                                                                                                  </block>
                                                                                                </value>
                                                                                                <value name="B">
                                                                                                  <block type="logic_boolean" id="=(~nv9:(4lNdRxG+VYF`">
                                                                                                    <field name="BOOL">TRUE</field>
                                                                                                  </block>
                                                                                                </value>
                                                                                              </block>
                                                                                            </value>
                                                                                            <statement name="DO0">
                                                                                              <block type="variables_set" id="Zg$SD{N]K+PSUxYB9-o|">
                                                                                                <field name="VAR" id="Zs+nKXWb1F_(8ioCBAN2">Verbraucher_2_TF</field>
                                                                                                <value name="VALUE">
                                                                                                  <block type="logic_boolean" id="/oh?,o%I$vT+j)lb_O(#">
                                                                                                    <field name="BOOL">TRUE</field>
                                                                                                  </block>
                                                                                                </value>
                                                                                                <next>
                                                                                                  <block type="procedures_callnoreturn" id="KfF(Reu0A`vil9gQLN0Y">
                                                                                                    <mutation name="Verbraucher_2_F"></mutation>
                                                                                                  </block>
                                                                                                </next>
                                                                                              </block>
                                                                                            </statement>
                                                                                          </block>
                                                                                        </statement>
                                                                                        <next>
                                                                                          <block type="controls_if" id="OR;gh_3qNzTWff^,Odz?">
                                                                                            <value name="IF0">
                                                                                              <block type="logic_operation" id="-sA^!k(a^)![bgg8QO,0" inline="false">
                                                                                                <field name="OP">AND</field>
                                                                                                <value name="A">
                                                                                                  <block type="logic_compare" id="[:_X{(FJiRjRP5Dq[b~7">
                                                                                                    <field name="OP">EQ</field>
                                                                                                    <value name="A">
                                                                                                      <block type="variables_get" id="5l|ih7Z{?RspVMO/,T+*">
                                                                                                        <field name="VAR" id="iwu_1;PHCBW[(6sePQ9Q">Verbraucher_1_TF</field>
                                                                                                      </block>
                                                                                                    </value>
                                                                                                    <value name="B">
                                                                                                      <block type="logic_boolean" id="Ysq0?hi]75cZ;bA?Idq8">
                                                                                                        <field name="BOOL">FALSE</field>
                                                                                                      </block>
                                                                                                    </value>
                                                                                                  </block>
                                                                                                </value>
                                                                                                <value name="B">
                                                                                                  <block type="logic_compare" id=",g[iGCo{TR}`a3/UY_EV">
                                                                                                    <field name="OP">GT</field>
                                                                                                    <value name="A">
                                                                                                      <block type="on_source" id="9F5lP(6(HiG8a*)D/2Ly">
                                                                                                        <field name="ATTR">state.val</field>
                                                                                                      </block>
                                                                                                    </value>
                                                                                                    <value name="B">
                                                                                                      <block type="variables_get" id="fTjOF-28N.5xkh.w3{}*">
                                                                                                        <field name="VAR" id="N2Dk85CQN2uL0w3qt8A_">Verbraucher_1</field>
                                                                                                      </block>
                                                                                                    </value>
                                                                                                  </block>
                                                                                                </value>
                                                                                              </block>
                                                                                            </value>
                                                                                            <statement name="DO0">
                                                                                              <block type="variables_set" id="VS:=Vu}2;M9#/-!Bs$j+">
                                                                                                <field name="VAR" id="iwu_1;PHCBW[(6sePQ9Q">Verbraucher_1_TF</field>
                                                                                                <value name="VALUE">
                                                                                                  <block type="logic_boolean" id="bv=z4F*]g3`I_!*W03Q^">
                                                                                                    <field name="BOOL">TRUE</field>
                                                                                                  </block>
                                                                                                </value>
                                                                                                <next>
                                                                                                  <block type="procedures_callnoreturn" id="$_59jQ7tbX]YcUXk@o(:">
                                                                                                    <mutation name="Verbraucher_1_F"></mutation>
                                                                                                  </block>
                                                                                                </next>
                                                                                              </block>
                                                                                            </statement>
                                                                                          </block>
                                                                                        </next>
                                                                                      </block>
                                                                                    </next>
                                                                                  </block>
                                                                                </statement>
                                                                                <next>
                                                                                  <block type="controls_if" id="uC1XTN|}ER:(B(XDJQ-k">
                                                                                    <value name="IF0">
                                                                                      <block type="logic_compare" id="V@I;MW5*~=~~z-MtboMD">
                                                                                        <field name="OP">EQ</field>
                                                                                        <value name="A">
                                                                                          <block type="on_source" id="9nQ]K;pDOtTY$~4LU%*O">
                                                                                            <field name="ATTR">common.name</field>
                                                                                          </block>
                                                                                        </value>
                                                                                        <value name="B">
                                                                                          <block type="text" id="3GE06,@El}_1{n,dJ-qd">
                                                                                            <field name="TEXT">Strom Bezug</field>
                                                                                          </block>
                                                                                        </value>
                                                                                      </block>
                                                                                    </value>
                                                                                    <statement name="DO0">
                                                                                      <block type="controls_if" id="6=1*.Afj/9S!Iab2LFQR">
                                                                                        <mutation elseif="2"></mutation>
                                                                                        <value name="IF0">
                                                                                          <block type="logic_operation" id="vnLhnn:#XfvGmd@]}e,E" inline="false">
                                                                                            <field name="OP">AND</field>
                                                                                            <value name="A">
                                                                                              <block type="logic_compare" id="DhztCHC}xjSoVz%kp4dG">
                                                                                                <field name="OP">EQ</field>
                                                                                                <value name="A">
                                                                                                  <block type="variables_get" id="scM/kU*7TP*]C[i_npzN">
                                                                                                    <field name="VAR" id="p^C8]xkYA`vcvj}h|bOJ">Verbraucher_3_TF</field>
                                                                                                  </block>
                                                                                                </value>
                                                                                                <value name="B">
                                                                                                  <block type="logic_boolean" id="]gmRpKHu4,Hxs{Zdu`r?">
                                                                                                    <field name="BOOL">TRUE</field>
                                                                                                  </block>
                                                                                                </value>
                                                                                              </block>
                                                                                            </value>
                                                                                            <value name="B">
                                                                                              <block type="logic_compare" id="2LKHdpjKy1EyHR?.FVt$">
                                                                                                <field name="OP">LT</field>
                                                                                                <value name="A">
                                                                                                  <block type="on_source" id="-^oF!vgjO6mRpWqK:C^U">
                                                                                                    <field name="ATTR">state.val</field>
                                                                                                  </block>
                                                                                                </value>
                                                                                                <value name="B">
                                                                                                  <block type="variables_get" id="ZLF^jCN,qjggU-iWK.U-">
                                                                                                    <field name="VAR" id="Qd@~YUEX}4:5(CxoR0XE">Verbraucher_3</field>
                                                                                                  </block>
                                                                                                </value>
                                                                                              </block>
                                                                                            </value>
                                                                                          </block>
                                                                                        </value>
                                                                                        <statement name="DO0">
                                                                                          <block type="variables_set" id="^ODI8wS9$6CvIasDCP?l">
                                                                                            <field name="VAR" id="p^C8]xkYA`vcvj}h|bOJ">Verbraucher_3_TF</field>
                                                                                            <value name="VALUE">
                                                                                              <block type="logic_boolean" id="^R.MVS:SK_{)j=.-8^|7">
                                                                                                <field name="BOOL">FALSE</field>
                                                                                              </block>
                                                                                            </value>
                                                                                            <next>
                                                                                              <block type="procedures_callnoreturn" id="u:hqtieIXe/0XTiGs]`q">
                                                                                                <mutation name="Verbraucher_3_F"></mutation>
                                                                                              </block>
                                                                                            </next>
                                                                                          </block>
                                                                                        </statement>
                                                                                        <value name="IF1">
                                                                                          <block type="logic_operation" id="12nva]Q=7I]aU=RqPcF^" inline="false">
                                                                                            <field name="OP">AND</field>
                                                                                            <value name="A">
                                                                                              <block type="logic_compare" id="B/,5-jyojV+qqsCnlguO">
                                                                                                <field name="OP">EQ</field>
                                                                                                <value name="A">
                                                                                                  <block type="variables_get" id="olTmeRlU/{_y6p~fNgbK">
                                                                                                    <field name="VAR" id="Zs+nKXWb1F_(8ioCBAN2">Verbraucher_2_TF</field>
                                                                                                  </block>
                                                                                                </value>
                                                                                                <value name="B">
                                                                                                  <block type="logic_boolean" id="GEr$l_D,jsSI#i$XS:*?">
                                                                                                    <field name="BOOL">TRUE</field>
                                                                                                  </block>
                                                                                                </value>
                                                                                              </block>
                                                                                            </value>
                                                                                            <value name="B">
                                                                                              <block type="logic_compare" id="e%|4mPECYNQ?=Wxe_-N-">
                                                                                                <field name="OP">LT</field>
                                                                                                <value name="A">
                                                                                                  <block type="on_source" id="BX,l?`N8Ne$//Pj[be79">
                                                                                                    <field name="ATTR">state.val</field>
                                                                                                  </block>
                                                                                                </value>
                                                                                                <value name="B">
                                                                                                  <block type="variables_get" id="6w]Y.3!mnc3gkOHJcNfr">
                                                                                                    <field name="VAR" id="f6*O*xo-Qtq,VGU7f|-6">Verbraucher_2</field>
                                                                                                  </block>
                                                                                                </value>
                                                                                              </block>
                                                                                            </value>
                                                                                          </block>
                                                                                        </value>
                                                                                        <statement name="DO1">
                                                                                          <block type="variables_set" id="9RgBrLvxD2U,ye-m9viy">
                                                                                            <field name="VAR" id="Zs+nKXWb1F_(8ioCBAN2">Verbraucher_2_TF</field>
                                                                                            <value name="VALUE">
                                                                                              <block type="logic_boolean" id="@1`T||6b=WVwfp5%#[8%">
                                                                                                <field name="BOOL">FALSE</field>
                                                                                              </block>
                                                                                            </value>
                                                                                            <next>
                                                                                              <block type="procedures_callnoreturn" id="rh}kO.E$x/(8_Uq(19zR">
                                                                                                <mutation name="Verbraucher_2_F"></mutation>
                                                                                              </block>
                                                                                            </next>
                                                                                          </block>
                                                                                        </statement>
                                                                                        <value name="IF2">
                                                                                          <block type="logic_operation" id="OoH]dSnZuO^}B?a}EP8z" inline="false">
                                                                                            <field name="OP">AND</field>
                                                                                            <value name="A">
                                                                                              <block type="logic_compare" id="$68a%w#)rPE:4TDpRWis">
                                                                                                <field name="OP">EQ</field>
                                                                                                <value name="A">
                                                                                                  <block type="variables_get" id="/;g5aqBuPe84GnfC2UbU">
                                                                                                    <field name="VAR" id="iwu_1;PHCBW[(6sePQ9Q">Verbraucher_1_TF</field>
                                                                                                  </block>
                                                                                                </value>
                                                                                                <value name="B">
                                                                                                  <block type="logic_boolean" id=")hP]*877jPwu9N8.[(79">
                                                                                                    <field name="BOOL">TRUE</field>
                                                                                                  </block>
                                                                                                </value>
                                                                                              </block>
                                                                                            </value>
                                                                                            <value name="B">
                                                                                              <block type="logic_compare" id=".V;dQCQ)J3E+aXm0(^vh">
                                                                                                <field name="OP">LT</field>
                                                                                                <value name="A">
                                                                                                  <block type="on_source" id="[g1HWrXjMhE+XBZ[C?{u">
                                                                                                    <field name="ATTR">state.val</field>
                                                                                                  </block>
                                                                                                </value>
                                                                                                <value name="B">
                                                                                                  <block type="variables_get" id="##_kE;LZ.iFP~mVkc`DL">
                                                                                                    <field name="VAR" id="N2Dk85CQN2uL0w3qt8A_">Verbraucher_1</field>
                                                                                                  </block>
                                                                                                </value>
                                                                                              </block>
                                                                                            </value>
                                                                                          </block>
                                                                                        </value>
                                                                                        <statement name="DO2">
                                                                                          <block type="variables_set" id="UBdvQr/~=|oAO4JZI2YP">
                                                                                            <field name="VAR" id="iwu_1;PHCBW[(6sePQ9Q">Verbraucher_1_TF</field>
                                                                                            <value name="VALUE">
                                                                                              <block type="logic_boolean" id="q894myS0At?(+8Iub+)O">
                                                                                                <field name="BOOL">FALSE</field>
                                                                                              </block>
                                                                                            </value>
                                                                                            <next>
                                                                                              <block type="procedures_callnoreturn" id="t*`6kK;Hg:%(cS!PAAy#">
                                                                                                <mutation name="Verbraucher_1_F"></mutation>
                                                                                              </block>
                                                                                            </next>
                                                                                          </block>
                                                                                        </statement>
                                                                                      </block>
                                                                                    </statement>
                                                                                  </block>
                                                                                </next>
                                                                              </block>
                                                                            </next>
                                                                          </block>
                                                                        </next>
                                                                      </block>
                                                                    </statement>
                                                                  </block>
                                                                </statement>
                                                              </block>
                                                            </next>
                                                          </block>
                                                        </next>
                                                      </block>
                                                    </next>
                                                  </block>
                                                </next>
                                              </block>
                                            </next>
                                          </block>
                                        </next>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                  <block type="variables_set" id="Hz@XF.}:2NgO*2SD%57^" x="-613" y="-1263">
                    <field name="VAR" id="#3v}HDbdMRBS$0v{!o)h">TempOK</field>
                    <value name="VALUE">
                      <block type="logic_boolean" id="=oF$|VBZhwvbE$.Q/B:!">
                        <field name="BOOL">TRUE</field>
                      </block>
                    </value>
                    <next>
                      <block type="variables_set" id="Jv~]JN{Wz4|M@iwOuN^v">
                        <field name="VAR" id="u$n!XZBM)j[J?f~JT%z5">WolkenVerzoegerung</field>
                        <value name="VALUE">
                          <block type="logic_boolean" id="*(b(K4%^0I8ec!O/.5yL">
                            <field name="BOOL">FALSE</field>
                          </block>
                        </value>
                        <next>
                          <block type="comment" id="/~]JAFM2.C#D1UQK^uLh">
                            <field name="COMMENT">Temperaturueberwachung_AllesAus</field>
                            <next>
                              <block type="on_ext" id="0hd:RwW%?]GOfK[.ej.,">
                                <mutation xmlns="http://www.w3.org/1999/xhtml" items="3"></mutation>
                                <field name="CONDITION">ne</field>
                                <field name="ACK_CONDITION"></field>
                                <value name="OID0">
                                  <shadow type="field_oid" id="_rauvj`=RS7Q3TH[KoIW">
                                    <field name="oid">default</field>
                                  </shadow>
                                  <block type="field_oid" id="sRg(ropR[q/b047+(/v2">
                                    <field name="oid">shelly.0.SHSW-1#40F5200069BA#1.Relay0.Switch</field>
                                  </block>
                                </value>
                                <value name="OID1">
                                  <shadow type="field_oid" id="QSVpr4;.FQj3JZo]mhT1">
                                    <field name="oid">default</field>
                                  </shadow>
                                  <block type="field_oid" id="btnpaR,ndKk@B9X~rLkK">
                                    <field name="oid">shelly.0.SHSW-1#485519CA22D1#1.Relay0.Switch</field>
                                  </block>
                                </value>
                                <value name="OID2">
                                  <shadow type="field_oid" id="ByiT%zXsf$cUW)JcdC%0">
                                    <field name="oid">default</field>
                                  </shadow>
                                  <block type="field_oid" id=";/+/.1pAdS,lryP16gt$">
                                    <field name="oid">shelly.0.SHSW-1#485519CA2648#1.Relay0.Switch</field>
                                  </block>
                                </value>
                                <statement name="STATEMENT">
                                  <block type="controls_if" id="2zJQO1vNS-#ra6jw[Sn/">
                                    <mutation else="1"></mutation>
                                    <value name="IF0">
                                      <block type="logic_operation" id="EYRw{-1mqWYMq~*/VCbj" inline="false">
                                        <field name="OP">OR</field>
                                        <value name="A">
                                          <block type="logic_operation" id="dk9xYVEYFDe%TAWnh;3$" inline="false">
                                            <field name="OP">OR</field>
                                            <value name="A">
                                              <block type="logic_compare" id="{5C2N!,mtYq?LNh$}-jM">
                                                <field name="OP">LT</field>
                                                <value name="A">
                                                  <block type="get_value" id="bWRQ%gw79h:_{#4XD69)">
                                                    <field name="ATTR">val</field>
                                                    <field name="OID">0_userdata.0.PV_Batterie_Status</field>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <block type="math_number" id="lsxr?}NxSJ|}O!2*i:17">
                                                    <field name="NUM">60</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block type="time_compare" id="%Z,yVI[a#Br%Q|]:mkuu">
                                                <mutation xmlns="http://www.w3.org/1999/xhtml" end_time="true"></mutation>
                                                <field name="OPTION">between</field>
                                                <field name="START_TIME">17:00</field>
                                                <field name="END_TIME">09:00</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="logic_compare" id="87-$_Nr!bMey|H#@KED3">
                                            <field name="OP">GTE</field>
                                            <value name="A">
                                              <block type="get_value" id="rILSb,=G(PTy|_]T_iu!">
                                                <field name="ATTR">val</field>
                                                <field name="OID">shelly.0.SHSW-1#40F5200069BA#1.ext.temperatureC1</field>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block type="math_number" id="zA8,h}jip^y%+`yauwbr">
                                                <field name="NUM">65</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <statement name="DO0">
                                      <block type="variables_set" id="OsH]Vz8mnB@u3Z!XZbh3">
                                        <field name="VAR" id="iwu_1;PHCBW[(6sePQ9Q">Verbraucher_1_TF</field>
                                        <value name="VALUE">
                                          <block type="logic_boolean" id="OqaVV)W_Nz_Nm.t=HPCT">
                                            <field name="BOOL">FALSE</field>
                                          </block>
                                        </value>
                                        <next>
                                          <block type="procedures_callnoreturn" id="hj)|bu!R@tep0/c2?MK(">
                                            <mutation name="Verbraucher_1_F"></mutation>
                                            <next>
                                              <block type="variables_set" id="CQQ1MS/*)yoCs`nsRrBS">
                                                <field name="VAR" id="Zs+nKXWb1F_(8ioCBAN2">Verbraucher_2_TF</field>
                                                <value name="VALUE">
                                                  <block type="logic_boolean" id="L!g`I:u%GK5E?Vt/%S{Q">
                                                    <field name="BOOL">FALSE</field>
                                                  </block>
                                                </value>
                                                <next>
                                                  <block type="procedures_callnoreturn" id="w|QRnRf0{Abbpeyg~53K">
                                                    <mutation name="Verbraucher_2_F"></mutation>
                                                    <next>
                                                      <block type="variables_set" id="oc1]Z,MFB@_);9w7Bqlc">
                                                        <field name="VAR" id="p^C8]xkYA`vcvj}h|bOJ">Verbraucher_3_TF</field>
                                                        <value name="VALUE">
                                                          <block type="logic_boolean" id="yXrVxx_ErG-Z{Si*(*5z">
                                                            <field name="BOOL">FALSE</field>
                                                          </block>
                                                        </value>
                                                        <next>
                                                          <block type="procedures_callnoreturn" id="3=@?[If+4icZK]l$$7mx">
                                                            <mutation name="Verbraucher_3_F"></mutation>
                                                            <next>
                                                              <block type="variables_set" id="@FAiEs@(61oLU,.4AK{^">
                                                                <field name="VAR" id="#3v}HDbdMRBS$0v{!o)h">TempOK</field>
                                                                <value name="VALUE">
                                                                  <block type="logic_boolean" id="PTcMpEIcv|rP[t*g*coD">
                                                                    <field name="BOOL">FALSE</field>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </next>
                                                          </block>
                                                        </next>
                                                      </block>
                                                    </next>
                                                  </block>
                                                </next>
                                              </block>
                                            </next>
                                          </block>
                                        </next>
                                      </block>
                                    </statement>
                                    <statement name="ELSE">
                                      <block type="variables_set" id="L1nQX2#@l)F*e}rW/B!n">
                                        <field name="VAR" id="#3v}HDbdMRBS$0v{!o)h">TempOK</field>
                                        <value name="VALUE">
                                          <block type="logic_boolean" id="5hW`%0k%}ezLa[5ki%8[">
                                            <field name="BOOL">TRUE</field>
                                          </block>
                                        </value>
                                      </block>
                                    </statement>
                                  </block>
                                </statement>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                  <block type="procedures_defnoreturn" id="@ekGxf-0b4ul@_*yU!q!" x="1013" y="-1188">
                    <field name="NAME">Verbraucher_1_F</field>
                    <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                    <statement name="STACK">
                      <block type="debug" id="XsQy?M`M`FP^QIJ)GB|7">
                        <field name="Severity">log</field>
                        <value name="TEXT">
                          <shadow type="text" id="Id[jm[wLw-/,vB51Uf]H">
                            <field name="TEXT">Verbraucher 1</field>
                          </shadow>
                          <block type="text_join" id="]4D|#f/?y/zeHDhp$LWS">
                            <mutation items="2"></mutation>
                            <value name="ADD0">
                              <block type="text" id="jQw-UwTC]DksT)NNdDF.">
                                <field name="TEXT">Verbraucher 1</field>
                              </block>
                            </value>
                            <value name="ADD1">
                              <block type="logic_ternary" id="3$oAdrX`bqXSv1TghR.a" collapsed="true">
                                <value name="IF">
                                  <block type="logic_compare" id="_^RA22h*u.[ABpnqOU-6">
                                    <field name="OP">EQ</field>
                                    <value name="A">
                                      <block type="variables_get" id="DjJzTDY_{F!8$yQ,;f~w">
                                        <field name="VAR" id="iwu_1;PHCBW[(6sePQ9Q">Verbraucher_1_TF</field>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="logic_boolean" id="ynJ[Spx.q3u?mqcU0Qxy">
                                        <field name="BOOL">TRUE</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <value name="THEN">
                                  <block type="text" id="[7]As70kU{wfCZ8:,62F">
                                    <field name="TEXT"> zugeschaltet</field>
                                  </block>
                                </value>
                                <value name="ELSE">
                                  <block type="text" id="f%SouFvX9rOT[udv-)ON">
                                    <field name="TEXT"> abgeschaltet</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                          </block>
                        </value>
                        <next>
                          <block type="control" id="i5St;qI=KfF6(?@W4e|G">
                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                            <field name="OID">shelly.0.SHSW-1#40F5200069BA#1.Relay0.Switch</field>
                            <field name="WITH_DELAY">FALSE</field>
                            <value name="VALUE">
                              <block type="variables_get" id="W@27ApZuY8.*wCEN]X~1">
                                <field name="VAR" id="iwu_1;PHCBW[(6sePQ9Q">Verbraucher_1_TF</field>
                              </block>
                            </value>
                            <next>
                              <block type="telegram" id="z}iiFwa1%ntNQ7jN`Gc_" collapsed="true">
                                <field name="INSTANCE">.0</field>
                                <field name="LOG"></field>
                                <field name="SILENT">FALSE</field>
                                <field name="PARSEMODE">default</field>
                                <field name="DISABLE_WEB_PAGE_PREVIEW">FALSE</field>
                                <value name="MESSAGE">
                                  <shadow type="text" id="m=_K3_M@6_#8%x[({+LL">
                                    <field name="TEXT"></field>
                                  </shadow>
                                  <block type="text_join" id="%K*mSEhsE?QreM;{8iI[">
                                    <mutation items="2"></mutation>
                                    <value name="ADD0">
                                      <block type="text" id="fCfs:JhzO;gG3or%._83">
                                        <field name="TEXT">Verbraucher 1</field>
                                      </block>
                                    </value>
                                    <value name="ADD1">
                                      <block type="logic_ternary" id=".F9zZr;qjcC38Rw+X~VO" collapsed="true">
                                        <value name="IF">
                                          <block type="logic_compare" id="l-b@*=UCj/|ejre9ZkLb">
                                            <field name="OP">EQ</field>
                                            <value name="A">
                                              <block type="variables_get" id="Bl/iKXaG!Z5}od7zi{$v">
                                                <field name="VAR" id="iwu_1;PHCBW[(6sePQ9Q">Verbraucher_1_TF</field>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block type="logic_boolean" id="E;-|3Nj_ny]eOb4o{2tW">
                                                <field name="BOOL">TRUE</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <value name="THEN">
                                          <block type="text" id="jA@-0=@Td)_suT*[g%3d">
                                            <field name="TEXT"> zugeschaltet</field>
                                          </block>
                                        </value>
                                        <value name="ELSE">
                                          <block type="text" id="VD*3=4S53,K)qnU3v8?(">
                                            <field name="TEXT"> abgeschaltet</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </statement>
                  </block>
                  <block type="procedures_defnoreturn" id="F^J*l7#(vxkqOv6n)nLf" x="1018" y="-897">
                    <field name="NAME">Verbraucher_2_F</field>
                    <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                    <statement name="STACK">
                      <block type="debug" id="If`Pz%NHny~M=l4AMJx1">
                        <field name="Severity">log</field>
                        <value name="TEXT">
                          <shadow type="text">
                            <field name="TEXT">Verbraucher 1</field>
                          </shadow>
                          <block type="text_join" id="~^.dt!hM~I?DoQg7dyf9">
                            <mutation items="2"></mutation>
                            <value name="ADD0">
                              <block type="text" id="WK4M9[-w%~LwJYG;P4y@">
                                <field name="TEXT">Verbraucher 2</field>
                              </block>
                            </value>
                            <value name="ADD1">
                              <block type="logic_ternary" id="T8._+^dNayVtrY,5wyUO" collapsed="true">
                                <value name="IF">
                                  <block type="logic_compare" id="z``pY2*;X=~7=DU7`0(b">
                                    <field name="OP">EQ</field>
                                    <value name="A">
                                      <block type="variables_get" id="2DY;v,+~;E`GhWN(UehP">
                                        <field name="VAR" id="Zs+nKXWb1F_(8ioCBAN2">Verbraucher_2_TF</field>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="logic_boolean" id="]:B-TeVoq?l?+RB9}+!^">
                                        <field name="BOOL">TRUE</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <value name="THEN">
                                  <block type="text" id="CGE4y~V]Ky}?W:_K9u+A">
                                    <field name="TEXT"> zugeschaltet</field>
                                  </block>
                                </value>
                                <value name="ELSE">
                                  <block type="text" id="RiVXqI.mm[=Y]rgpn-6T">
                                    <field name="TEXT"> abgeschaltet</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                          </block>
                        </value>
                        <next>
                          <block type="control" id="ZIqr$I$mRmk7USuWqn8x">
                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                            <field name="OID">shelly.0.SHSW-1#40F5200069BA#1.Relay0.Switch</field>
                            <field name="WITH_DELAY">FALSE</field>
                            <value name="VALUE">
                              <block type="variables_get" id=".wVIwhoO2sQgN[e4hyKw">
                                <field name="VAR" id="iwu_1;PHCBW[(6sePQ9Q">Verbraucher_1_TF</field>
                              </block>
                            </value>
                            <next>
                              <block type="control" id="Ab]ShI{UYRiAaaT!$NwT">
                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                <field name="OID">shelly.0.SHSW-1#485519CA22D1#1.Relay0.Switch</field>
                                <field name="WITH_DELAY">FALSE</field>
                                <value name="VALUE">
                                  <block type="variables_get" id=":vYLNLT)_fh2R+)0#1d]">
                                    <field name="VAR" id="Zs+nKXWb1F_(8ioCBAN2">Verbraucher_2_TF</field>
                                  </block>
                                </value>
                                <next>
                                  <block type="telegram" id="g}gI7?H)@lEbX+Ea(lHR" collapsed="true">
                                    <field name="INSTANCE">.0</field>
                                    <field name="LOG"></field>
                                    <field name="SILENT">FALSE</field>
                                    <field name="PARSEMODE">default</field>
                                    <field name="DISABLE_WEB_PAGE_PREVIEW">FALSE</field>
                                    <value name="MESSAGE">
                                      <shadow type="text" id="]mm1M5:]yLUp9jHA%od7">
                                        <field name="TEXT">text</field>
                                      </shadow>
                                      <block type="text_join" id="Z~a?V.?NvM-QT(U|g^m`">
                                        <mutation items="2"></mutation>
                                        <value name="ADD0">
                                          <block type="text" id="73(WFjBOr{pnC-,%J@uQ">
                                            <field name="TEXT">Verbraucher 2</field>
                                          </block>
                                        </value>
                                        <value name="ADD1">
                                          <block type="logic_ternary" id="_/b@~qc!WBo-*CNoLQD[" collapsed="true">
                                            <value name="IF">
                                              <block type="logic_compare" id="=Y4m8T1,DB+Dg2ED^UVl">
                                                <field name="OP">EQ</field>
                                                <value name="A">
                                                  <block type="variables_get" id="]ZLik1Hl_+z%}t%H2t1Q">
                                                    <field name="VAR" id="Zs+nKXWb1F_(8ioCBAN2">Verbraucher_2_TF</field>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <block type="logic_boolean" id="`K.`hz!C/@d5=-cL3#Mn">
                                                    <field name="BOOL">TRUE</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <value name="THEN">
                                              <block type="text" id="(d]F}(SCeN2zi/9(o~@w">
                                                <field name="TEXT"> zugeschaltet</field>
                                              </block>
                                            </value>
                                            <value name="ELSE">
                                              <block type="text" id="S4#71s@97mTOcYmTJ=_7">
                                                <field name="TEXT"> abgeschaltet</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </statement>
                  </block>
                  <block type="procedures_defnoreturn" id="rVnNMwa*ldF*C!S`2Tch" x="1013" y="-562">
                    <field name="NAME">Verbraucher_3_F</field>
                    <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                    <statement name="STACK">
                      <block type="debug" id="i3V2P?+By1VW3C~IuvBF">
                        <field name="Severity">log</field>
                        <value name="TEXT">
                          <shadow type="text">
                            <field name="TEXT">Verbraucher 1</field>
                          </shadow>
                          <block type="text_join" id="wIetKZ2Ymar]/WVPxh}@">
                            <mutation items="2"></mutation>
                            <value name="ADD0">
                              <block type="text" id="Vqx~~[XvWb+[E$dZ4]J4">
                                <field name="TEXT">Verbraucher 3</field>
                              </block>
                            </value>
                            <value name="ADD1">
                              <block type="logic_ternary" id="=GQ]r[dcOt[nJ}c)6j/O" collapsed="true">
                                <value name="IF">
                                  <block type="logic_compare" id="]{#nwEqLHZvC?#BD:jo7">
                                    <field name="OP">EQ</field>
                                    <value name="A">
                                      <block type="variables_get" id="2^~lRHaC5dQ-[;{s3p~9">
                                        <field name="VAR" id="p^C8]xkYA`vcvj}h|bOJ">Verbraucher_3_TF</field>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="logic_boolean" id=";F}r,kfP_pt3ysSM+edX">
                                        <field name="BOOL">TRUE</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <value name="THEN">
                                  <block type="text" id="RHD5q%W3mNv~Rc2}gE3}">
                                    <field name="TEXT"> zugeschaltet</field>
                                  </block>
                                </value>
                                <value name="ELSE">
                                  <block type="text" id=",89l.Z35zw#b^FWyd{YV">
                                    <field name="TEXT"> abgeschaltet</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                          </block>
                        </value>
                        <next>
                          <block type="control" id="UMpAk|X(hfn_eRMjkw8d">
                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                            <field name="OID">shelly.0.SHSW-1#40F5200069BA#1.Relay0.Switch</field>
                            <field name="WITH_DELAY">FALSE</field>
                            <value name="VALUE">
                              <block type="variables_get" id="TMldZX@nVrC3`F+]x#wZ">
                                <field name="VAR" id="iwu_1;PHCBW[(6sePQ9Q">Verbraucher_1_TF</field>
                              </block>
                            </value>
                            <next>
                              <block type="control" id="$/PU2c0J+htc%!z0d3*:">
                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                <field name="OID">shelly.0.SHSW-1#485519CA22D1#1.Relay0.Switch</field>
                                <field name="WITH_DELAY">FALSE</field>
                                <value name="VALUE">
                                  <block type="variables_get" id="$l-B]rW:)!$FEw?]XtA`">
                                    <field name="VAR" id="Zs+nKXWb1F_(8ioCBAN2">Verbraucher_2_TF</field>
                                  </block>
                                </value>
                                <next>
                                  <block type="control" id="/=;XRR9-*f/ajXjJqP7a">
                                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                    <field name="OID">shelly.0.SHSW-1#485519CA2648#1.Relay0.Switch</field>
                                    <field name="WITH_DELAY">FALSE</field>
                                    <value name="VALUE">
                                      <block type="variables_get" id="Z$j+EjUo@+(mmIQ.X?)g">
                                        <field name="VAR" id="p^C8]xkYA`vcvj}h|bOJ">Verbraucher_3_TF</field>
                                      </block>
                                    </value>
                                    <next>
                                      <block type="telegram" id="uQ|k6~SAIUrbW}CL[JGG" collapsed="true">
                                        <field name="INSTANCE">.0</field>
                                        <field name="LOG"></field>
                                        <field name="SILENT">FALSE</field>
                                        <field name="PARSEMODE">default</field>
                                        <field name="DISABLE_WEB_PAGE_PREVIEW">FALSE</field>
                                        <value name="MESSAGE">
                                          <shadow type="text" id="LRZ|wEkEI`^X*sT]K[=C">
                                            <field name="TEXT">text</field>
                                          </shadow>
                                          <block type="text_join" id=":6R,%Sk#Td5T=EjoOm7X">
                                            <mutation items="2"></mutation>
                                            <value name="ADD0">
                                              <block type="text" id="D59C_k3cN*z3(N8N]!m`">
                                                <field name="TEXT">Verbraucher 3</field>
                                              </block>
                                            </value>
                                            <value name="ADD1">
                                              <block type="logic_ternary" id="sn7Pd6DjtMS{IUp7?}SD" collapsed="true">
                                                <value name="IF">
                                                  <block type="logic_compare" id="C1{jIYE?BKz93wTbhKI+">
                                                    <field name="OP">EQ</field>
                                                    <value name="A">
                                                      <block type="variables_get" id="Kd,4lt(Fx0dn4~_Rw0|D">
                                                        <field name="VAR" id="p^C8]xkYA`vcvj}h|bOJ">Verbraucher_3_TF</field>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <block type="logic_boolean" id="`J~3-pzNt.F`A6;kv)z%">
                                                        <field name="BOOL">TRUE</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                                <value name="THEN">
                                                  <block type="text" id="([|I=+5@S[W_z)0o{.db">
                                                    <field name="TEXT"> zugeschaltet</field>
                                                  </block>
                                                </value>
                                                <value name="ELSE">
                                                  <block type="text" id="7g=FZTm@[5DNoGJ{[qei">
                                                    <field name="TEXT"> abgeschaltet</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </statement>
                  </block>
                </xml>
                
                G 1 Reply Last reply Reply Quote 0
                • G
                  GombersIOB @Fritzk last edited by

                  @fritzk said in Verständnis Frage Trigger:

                  Es funktioniert auch super.

                  Ich habe mir das Blockly angeschaut. Ich kann nicht jede Fallunterscheidung nachvollziehen weil ich die Bedeutung der Felder nicht im Detail verstehe. Aber nach allem was ich hier verstehe, ändert sich nichts an meiner Aussage. Weder Batterie-Level noch Temperatur werden als primärer Trigger zum Schalten des Heizstabes verwendet.
                  Aber wenn das Script super läuft ist doch alles gut, oder? ich hab halt nur den Zweck des Ganzen falsch verstanden.

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post

                  Support us

                  ioBroker
                  Community Adapters
                  Donate

                  734
                  Online

                  32.0k
                  Users

                  80.5k
                  Topics

                  1.3m
                  Posts

                  3
                  7
                  534
                  Loading More Posts
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes
                  Reply
                  • Reply as topic
                  Log in to reply
                  Community
                  Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                  The ioBroker Community 2014-2023
                  logo