Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Blockly
    5. Pool Wärmepumpe & PV Überschuss + PV Speicherfüllstand

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    Pool Wärmepumpe & PV Überschuss + PV Speicherfüllstand

    This topic has been deleted. Only users with topic management privileges can see it.
    • paul53
      paul53 @Jonas5492 last edited by paul53

      @jonas5492 sagte: ich möchte nur die Ausschaltung um 10 min verzögern

      Bei jeder kleinen Wolkenlücke soll eingeschaltet werden?
      Man kann auch eine geringere Verzögerung vorsehen.

      @jonas5492 sagte in Pool Wärmepumpe & PV Überschuss + PV Speicherfüllstand:

      Wenn die Pumpe ein geht wird diese dann auch dazugerechnet.

      Welche Leistungsaufnahme hat die Pumpe?

      @jonas5492 sagte in Pool Wärmepumpe & PV Überschuss + PV Speicherfüllstand:

      Der wert "pv an Verbraucher" kommt vom wechselrichter und ist der wert was aktuell im Haus benötigt wird.

      Den Wert kann der WR nur berechnen, wenn er den Wert von Bezug-Einspeisung kennt. Gibt es dafür keinen Datenpunkt?

      @jonas5492 sagte in Pool Wärmepumpe & PV Überschuss + PV Speicherfüllstand:

      möchte auch noch das gleiche script für die wärmepumpe erstellen aber mit höheren werten

      Wenn eine Priorisierung erfolgen soll, sollte es im gleichen Skript geschehen.

      J 1 Reply Last reply Reply Quote 0
      • J
        Jonas5492 @paul53 last edited by

        @paul53
        danke für die schnelle Hilfe
        Ich habe dein Script nachgebaut
        leider funktioniert die Aus schaltung nicht
        @paul53

        Bei jeder kleinen Wolkenlücke soll eingeschaltet werden?

        Nein aber dies habe ich mir gedacht das ich durch die 10 min abschaltung verhindere

        Welche Leistungsaufnahme hat die Pumpe?

        Muss ich die Tage erst noch messen was Pumpe allein und mit Wärmepumpe aufnahme haben

        Der wert "pv an Verbraucher" kommt vom wechselrichter und ist der wert was aktuell im Haus benötigt wird.

        Den Wert kann der WR nur berechnen, wenn er den Wert von Bezug-Einspeisung kennt. Gibt es dafür keinen Datenpunkt?

        Ich habe ein Script für meinen Wechselrichter der errechnet wie viel verbrauch am Haus anstehen und wie viel in batterie oder netz eingespeist werden

        pv iobroker.PNG

        ich habe die größer als und kleiner als werte auch geändert da die in deinem script verkehrt herum sind oder?
        pv script.PNG

        Vielen Dank schon mal für deine Hilfe

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

          @jonas5492 sagte: größer als und kleiner als werte auch geändert da die in deinem script verkehrt herum sind oder?

          Nein, die sind richtig herum, wenn die Einspeiseleistung ein negativer Wert ist. Es wird mit positiven Werten (Negation des Trigger-Wertes) verglichen.

          J 1 Reply Last reply Reply Quote 0
          • J
            Jonas5492 @paul53 last edited by

            @paul53
            ich glaube wir reden aneinander vorbei

            mein datenpunkt "Differenz pv / verbrauch" setzt sich aus den werten PV leistung aktuell (106W) - (PV an Batterie(68W) + PV an Haus(37W)) zusammen
            IMG_8440.png

            das heist ich möchte bei dem wert +2000W die pumpe einschalten lassen und wenn die pumpe ein ist der "wert von Differenz PV" auf +200w sinkt wieder ausschalten lassen. mit 10min verzögerung
            ich weis noch nicht genau wie viel die pumpe aufnimmt. ich rechne im moment 500W

            hab ich irgendwie einen denkfehler

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

              @jonas5492 sagte: "Differenz pv / verbrauch" setzt sich aus den werten PV leistung aktuell (106W) - (PV an Batterie(68W) + PV an Haus(37W)) zusammen

              Dann ist er offenbar positiv bei Überschuss. Lasse einfach die Negation (Block -) weg.

              Blockly_temp.JPG

              1 Reply Last reply Reply Quote 0
              • J
                Jonas5492 last edited by Jonas5492

                @paul53 Vielen Dank habe etwas gebraucht bis ich es verstanden habe mit stop delay on und off und mit größer als und kleiner als

                es funktioniert 👍

                ich habe noch die errechnung von der Differenz pv/verbraucher und Pumpe ein und aus in selbe script genommen
                ist das ok oder soll ich für alle ein einzelnes script machen?

                pv script 2.PNG

                v8.8.3
                
                Blockly
                Javascript
                TypeScript
                Rules
                Skript läuft nicht
                Ausgewählte Blöcke exportieren
                
                <xml xmlns="https://developers.google.com/blockly/xml">
                  <variables>
                    <variable id="nEjb|p?EsLR5{aN`2|35">Überschuss</variable>
                    <variable id="$wVDvzwVT3g:A#`#ZwjH">Pumpe Ein</variable>
                    <variable type="timeout" id="timeout">timeout</variable>
                    <variable type="timeout" id="timeout3">timeout3</variable>
                    <variable type="timeout" id="delayOn">delayOn</variable>
                    <variable type="timeout" id="delayOn2">delayOn2</variable>
                    <variable type="timeout" id="timeout2">timeout2</variable>
                    <variable type="timeout" id="timeout4">timeout4</variable>
                    <variable type="timeout" id="delayOff">delayOff</variable>
                    <variable type="timeout" id="delayOff2">delayOff2</variable>
                  </variables>
                  <block type="on" id="-NQpr3!O^A*hD2]0oEdN" x="87" y="-688">
                    <field name="OID">modbus.1.inputRegisters.5016_Total_DC_Power</field>
                    <field name="CONDITION">ne</field>
                    <field name="ACK_CONDITION"></field>
                    <statement name="STATEMENT">
                      <block type="update" id="#GtCWkqW{K2*DY|M.f2#">
                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                        <field name="OID">0_userdata.0.PV.Differenz_pv_/_verbrauch</field>
                        <field name="WITH_DELAY">FALSE</field>
                        <value name="VALUE">
                          <block type="math_arithmetic" id="?IA2Dx:OvGR^FbtYMi+?">
                            <field name="OP">MINUS</field>
                            <value name="A">
                              <shadow type="math_number" id="}1u~Hp!5XkhUYdxm=h6o">
                                <field name="NUM">1</field>
                              </shadow>
                              <block type="get_value" id="(l,yb9PSCsm6of`|NT=j">
                                <field name="ATTR">val</field>
                                <field name="OID">modbus.1.inputRegisters.5016_Total_DC_Power</field>
                              </block>
                            </value>
                            <value name="B">
                              <shadow type="math_number" id="8^p9V]%tVNOZqe~Fg6pS">
                                <field name="NUM">1</field>
                              </shadow>
                              <block type="math_arithmetic" id="lpW$vU9O=X}Yae0mWx_@">
                                <field name="OP">ADD</field>
                                <value name="A">
                                  <shadow type="math_number" id="(0R-fN?h+^Xm7Yibc$:X">
                                    <field name="NUM">1</field>
                                  </shadow>
                                  <block type="get_value" id="l}Xv*rYeKvxLfK+;^*[u">
                                    <field name="ATTR">val</field>
                                    <field name="OID">0_userdata.0.PV.PvToLoad</field>
                                  </block>
                                </value>
                                <value name="B">
                                  <shadow type="math_number" id="}p+(]!A}wJN^HOUth^Xk">
                                    <field name="NUM">1</field>
                                  </shadow>
                                  <block type="get_value" id="8($Oe_u5R[{)Z.I|!dRN">
                                    <field name="ATTR">val</field>
                                    <field name="OID">0_userdata.0.PV.PvToBat</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </statement>
                  </block>
                  <block type="comment" id="WPm2l~GM+37RHd=OYFyY" x="13" y="-512">
                    <field name="COMMENT">Pumpe Ein</field>
                    <next>
                      <block type="on" id="y+r-14Ewj05Fsf@gjAH4">
                        <field name="OID">0_userdata.0.Pool.Pumpe_Ein/Aus</field>
                        <field name="CONDITION">true</field>
                        <field name="ACK_CONDITION"></field>
                        <statement name="STATEMENT">
                          <block type="control" id="/0{JN=6cA-#-%vF$eu]a">
                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                            <field name="OID">s7.1.DBs.DB1.Pumpe_Ein</field>
                            <field name="WITH_DELAY">FALSE</field>
                            <value name="VALUE">
                              <block type="logic_boolean" id="2A!}P{Gr#.@ComCKUQCG">
                                <field name="BOOL">TRUE</field>
                              </block>
                            </value>
                            <next>
                              <block type="timeouts_settimeout" id="BW(MnCZ_62hPuQ,!*`6q">
                                <field name="NAME">timeout</field>
                                <field name="DELAY">1000</field>
                                <field name="UNIT">ms</field>
                                <statement name="STATEMENT">
                                  <block type="control" id="v/+f2XR)B4dGJ{N`]8ov">
                                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                    <field name="OID">s7.1.DBs.DB1.Pumpe_Ein</field>
                                    <field name="WITH_DELAY">FALSE</field>
                                    <value name="VALUE">
                                      <block type="logic_boolean" id="AwR|G/OPDzw?[5QFD0St">
                                        <field name="BOOL">FALSE</field>
                                      </block>
                                    </value>
                                  </block>
                                </statement>
                              </block>
                            </next>
                          </block>
                        </statement>
                        <next>
                          <block type="comment" id="#c#E5mSx*=n7u?2].nr;">
                            <field name="COMMENT">Pumpe Aus</field>
                            <next>
                              <block type="on" id="6uB=v03n4.h}][7-TlOp">
                                <field name="OID">0_userdata.0.Pool.Pumpe_Ein/Aus</field>
                                <field name="CONDITION">false</field>
                                <field name="ACK_CONDITION"></field>
                                <statement name="STATEMENT">
                                  <block type="control" id="W~4HGSv~?Tf#C/*TIl%+">
                                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                    <field name="OID">s7.1.DBs.DB1.Pumpe_Aus</field>
                                    <field name="WITH_DELAY">FALSE</field>
                                    <value name="VALUE">
                                      <block type="logic_boolean" id="cM%#2swV-d2?+N8:M8eu">
                                        <field name="BOOL">TRUE</field>
                                      </block>
                                    </value>
                                    <next>
                                      <block type="timeouts_settimeout" id=")|LPB+X9Co-Rn5B1P`^G">
                                        <field name="NAME">timeout2</field>
                                        <field name="DELAY">1000</field>
                                        <field name="UNIT">ms</field>
                                        <statement name="STATEMENT">
                                          <block type="control" id="RzBa_O)+I4o46fa~jQl,">
                                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                            <field name="OID">s7.1.DBs.DB1.Pumpe_Aus</field>
                                            <field name="WITH_DELAY">FALSE</field>
                                            <value name="VALUE">
                                              <block type="logic_boolean" id="%./0%a~,beX8;iuc`Mf1">
                                                <field name="BOOL">FALSE</field>
                                              </block>
                                            </value>
                                          </block>
                                        </statement>
                                      </block>
                                    </next>
                                  </block>
                                </statement>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                  <block type="comment" id="}p_QB]4xw559{-3m2{rC" x="638" y="-513">
                    <field name="COMMENT">Wärmepumpe Ein</field>
                    <next>
                      <block type="on" id=")9AL*HO`2UGm)IOCzF7N">
                        <field name="OID">0_userdata.0.Pool.Wärmepumpe_Ein/Aus</field>
                        <field name="CONDITION">true</field>
                        <field name="ACK_CONDITION"></field>
                        <statement name="STATEMENT">
                          <block type="control" id="jTkviAGZ,{(4zLAoit)|">
                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                            <field name="OID">s7.1.DBs.DB1.Wärmepumpe_Ein</field>
                            <field name="WITH_DELAY">FALSE</field>
                            <value name="VALUE">
                              <block type="logic_boolean" id="HZJP|No@Yc/y/aZI+9gA">
                                <field name="BOOL">TRUE</field>
                              </block>
                            </value>
                            <next>
                              <block type="timeouts_settimeout" id="AJ:EI60_DvB4EzS{o?g^">
                                <field name="NAME">timeout3</field>
                                <field name="DELAY">1000</field>
                                <field name="UNIT">ms</field>
                                <statement name="STATEMENT">
                                  <block type="control" id=";b^oC,43sPD=(96o#J@5">
                                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                    <field name="OID">s7.1.DBs.DB1.Wärmepumpe_Ein</field>
                                    <field name="WITH_DELAY">FALSE</field>
                                    <value name="VALUE">
                                      <block type="logic_boolean" id="I;JnDZ^wA`u]=1tvNO2v">
                                        <field name="BOOL">FALSE</field>
                                      </block>
                                    </value>
                                  </block>
                                </statement>
                              </block>
                            </next>
                          </block>
                        </statement>
                        <next>
                          <block type="comment" id="p/o@j9{}e+AF@HuKyU+6">
                            <field name="COMMENT">Wärmepumpe Aus</field>
                            <next>
                              <block type="on" id="bV90Kj7_p*bjw8v|l%sV">
                                <field name="OID">0_userdata.0.Pool.Wärmepumpe_Ein/Aus</field>
                                <field name="CONDITION">false</field>
                                <field name="ACK_CONDITION"></field>
                                <statement name="STATEMENT">
                                  <block type="control" id="4D~XDmp5icWN9fa[|WeJ">
                                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                    <field name="OID">s7.1.DBs.DB1.Wärmepumpe_Aus</field>
                                    <field name="WITH_DELAY">FALSE</field>
                                    <value name="VALUE">
                                      <block type="logic_boolean" id="BM=?.txF!G[F=g^dUfY-">
                                        <field name="BOOL">TRUE</field>
                                      </block>
                                    </value>
                                    <next>
                                      <block type="timeouts_settimeout" id="jGbWP%DY{ySYH`SwR9~5">
                                        <field name="NAME">timeout4</field>
                                        <field name="DELAY">1000</field>
                                        <field name="UNIT">ms</field>
                                        <statement name="STATEMENT">
                                          <block type="control" id="{)v*.%PV^zXk+CVnHkHG">
                                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                            <field name="OID">s7.1.DBs.DB1.Wärmepumpe_Aus</field>
                                            <field name="WITH_DELAY">FALSE</field>
                                            <value name="VALUE">
                                              <block type="logic_boolean" id="),A{bxLtK|j*$zd4iVP[">
                                                <field name="BOOL">FALSE</field>
                                              </block>
                                            </value>
                                          </block>
                                        </statement>
                                      </block>
                                    </next>
                                  </block>
                                </statement>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                  <block type="on" id="Nc8U!ba#,^xI8$Yg:j-P" x="63" y="38">
                    <field name="OID">0_userdata.0.PV.Differenz_pv_/_verbrauch</field>
                    <field name="CONDITION">ne</field>
                    <field name="ACK_CONDITION"></field>
                    <statement name="STATEMENT">
                      <block type="variables_set" id="-$6haeB#-2)OW^kvlyB!">
                        <field name="VAR" id="nEjb|p?EsLR5{aN`2|35">Überschuss</field>
                        <value name="VALUE">
                          <block type="on_source" id="B8@X:3U**:,HOr_4@%Vn">
                            <field name="ATTR">state.val</field>
                          </block>
                        </value>
                        <next>
                          <block type="variables_set" id="n)y_.r9t-)(UwkTNK532">
                            <field name="VAR" id="$wVDvzwVT3g:A#`#ZwjH">Pumpe Ein</field>
                            <value name="VALUE">
                              <block type="get_value" id="sF}Kw%3onAz:;V[yB(wu">
                                <field name="ATTR">val</field>
                                <field name="OID">0_userdata.0.Pool.Pumpe_Ein/Aus</field>
                              </block>
                            </value>
                            <next>
                              <block type="controls_if" id=",7G`w*Eo_urCYCL0?#Un">
                                <mutation elseif="1"></mutation>
                                <value name="IF0">
                                  <block type="logic_compare" id=",|ck3v*8@PD+Z#hqw1?)">
                                    <field name="OP">LTE</field>
                                    <value name="A">
                                      <block type="variables_get" id="-|TY;46=oT^Hc36Y,XGa">
                                        <field name="VAR" id="nEjb|p?EsLR5{aN`2|35">Überschuss</field>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="math_number" id="{a#_ANYe]3u6aNEkXGdM">
                                        <field name="NUM">2000</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <statement name="DO0">
                                  <block type="timeouts_cleartimeout" id="]9QTYw3wts7p=@EQ9cut">
                                    <field name="NAME">delayOn</field>
                                  </block>
                                </statement>
                                <value name="IF1">
                                  <block type="logic_multi_and" id=":cCmcjwD_-e],%T/#8A[">
                                    <mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation>
                                    <value name="AND0">
                                      <block type="logic_negate" id="G0$fGV3[yat/nBwjRUG3">
                                        <value name="BOOL">
                                          <block type="variables_get" id="H9RHu()pFT|!GagaGf`g">
                                            <field name="VAR" id="$wVDvzwVT3g:A#`#ZwjH">Pumpe Ein</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <value name="AND1">
                                      <block type="logic_negate" id="`o~US2I||1wPKpplw2iY">
                                        <value name="BOOL">
                                          <block type="timeouts_gettimeout" id="o95+Pf3;I_ZFgof4W!0F">
                                            <field name="NAME">delayOn</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <statement name="DO1">
                                  <block type="timeouts_settimeout" id="#D.FYb[C-^xi5LGS[I`A">
                                    <field name="NAME">delayOn</field>
                                    <field name="DELAY">10</field>
                                    <field name="UNIT">min</field>
                                    <statement name="STATEMENT">
                                      <block type="control" id="]|~j1%Fb#./Jml%~DP*U">
                                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                        <field name="OID">0_userdata.0.Pool.Pumpe_Ein/Aus</field>
                                        <field name="WITH_DELAY">FALSE</field>
                                        <value name="VALUE">
                                          <block type="logic_boolean" id="%vEi9uqCb-+ukx}_/e#]">
                                            <field name="BOOL">TRUE</field>
                                          </block>
                                        </value>
                                      </block>
                                    </statement>
                                  </block>
                                </statement>
                                <next>
                                  <block type="controls_if" id="e-#TdWURq]={J,Z9V0d@">
                                    <mutation elseif="1"></mutation>
                                    <value name="IF0">
                                      <block type="logic_compare" id="6;i;LeuAmmQ6_ZBHbP#0">
                                        <field name="OP">GTE</field>
                                        <value name="A">
                                          <block type="variables_get" id="T22M$X.Uv_i[n=e)6*vB">
                                            <field name="VAR" id="nEjb|p?EsLR5{aN`2|35">Überschuss</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="math_number" id="$NU^!NN-QNH5f$rv!o]7">
                                            <field name="NUM">500</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <statement name="DO0">
                                      <block type="timeouts_cleartimeout" id="GDH,DrXR;`l6C#[N[]!]">
                                        <field name="NAME">delayOff</field>
                                      </block>
                                    </statement>
                                    <value name="IF1">
                                      <block type="logic_multi_and" id="-(yY@|J|]}/@Ct~D:9G[">
                                        <mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation>
                                        <value name="AND0">
                                          <block type="variables_get" id="9nlvCS00gF=r1~@jLZ|i">
                                            <field name="VAR" id="$wVDvzwVT3g:A#`#ZwjH">Pumpe Ein</field>
                                          </block>
                                        </value>
                                        <value name="AND1">
                                          <block type="logic_negate" id="YuHhNBakU2e5Wt~qCk6@">
                                            <value name="BOOL">
                                              <block type="timeouts_gettimeout" id="^pa1Sem^re7V_Mv91!R3">
                                                <field name="NAME">delayOff</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <statement name="DO1">
                                      <block type="timeouts_settimeout" id="j,%YP|d9AteH3mM#-Hly">
                                        <field name="NAME">delayOff</field>
                                        <field name="DELAY">10</field>
                                        <field name="UNIT">min</field>
                                        <statement name="STATEMENT">
                                          <block type="control" id="OvY=ea*Ix$bfb88yl%HU">
                                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                            <field name="OID">0_userdata.0.Pool.Pumpe_Ein/Aus</field>
                                            <field name="WITH_DELAY">FALSE</field>
                                            <value name="VALUE">
                                              <block type="logic_boolean" id="`a34oZ41AUGDKslGKte]">
                                                <field name="BOOL">FALSE</field>
                                              </block>
                                            </value>
                                          </block>
                                        </statement>
                                      </block>
                                    </statement>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </statement>
                  </block>
                  <block type="on" id="nu@6ik./ph!Gn~}O,W$Z" x="713" y="38">
                    <field name="OID">0_userdata.0.PV.Differenz_pv_/_verbrauch</field>
                    <field name="CONDITION">ne</field>
                    <field name="ACK_CONDITION"></field>
                    <statement name="STATEMENT">
                      <block type="variables_set" id="]EQa!/(5Is,0=x4pznM^">
                        <field name="VAR" id="nEjb|p?EsLR5{aN`2|35">Überschuss</field>
                        <value name="VALUE">
                          <block type="on_source" id="9!A4suCLf1),3k-c~*wQ">
                            <field name="ATTR">state.val</field>
                          </block>
                        </value>
                        <next>
                          <block type="variables_set" id="!GriOn!YS(lxq+BeR!)C">
                            <field name="VAR" id="$wVDvzwVT3g:A#`#ZwjH">Pumpe Ein</field>
                            <value name="VALUE">
                              <block type="get_value" id="h|Ii^#.mO5rhiBay}pv7">
                                <field name="ATTR">val</field>
                                <field name="OID">0_userdata.0.Pool.Wärmepumpe_Ein/Aus</field>
                              </block>
                            </value>
                            <next>
                              <block type="controls_if" id="2s+sB:CpQq!SS`3+K%IJ">
                                <mutation elseif="1"></mutation>
                                <value name="IF0">
                                  <block type="logic_compare" id="|sH5sjk`}VPTs,za1d6I">
                                    <field name="OP">LTE</field>
                                    <value name="A">
                                      <block type="variables_get" id="R$z9X7z[u.K*1:@ugsR9">
                                        <field name="VAR" id="nEjb|p?EsLR5{aN`2|35">Überschuss</field>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="math_number" id="#FUFY)*zB$26xi{QVh1]">
                                        <field name="NUM">3000</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <statement name="DO0">
                                  <block type="timeouts_cleartimeout" id="P.nNb7@aW+7/IzKh#OIw">
                                    <field name="NAME">delayOn</field>
                                  </block>
                                </statement>
                                <value name="IF1">
                                  <block type="logic_multi_and" id="?(YfGLBAUUO9_T}m;=B-">
                                    <mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation>
                                    <value name="AND0">
                                      <block type="logic_negate" id="#5^Gl^x$`bChz!Y+IE%:">
                                        <value name="BOOL">
                                          <block type="variables_get" id="FS[)M3Qi#f8(ghW)PbLc">
                                            <field name="VAR" id="$wVDvzwVT3g:A#`#ZwjH">Pumpe Ein</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <value name="AND1">
                                      <block type="logic_negate" id="R`!Is;Q[Jz326QMtE)by">
                                        <value name="BOOL">
                                          <block type="timeouts_gettimeout" id=":`t*X7j*LMv(.::2c;LL">
                                            <field name="NAME">delayOn</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <statement name="DO1">
                                  <block type="timeouts_settimeout" id="6oxe^*|DJsY-gY-CMK@~">
                                    <field name="NAME">delayOn2</field>
                                    <field name="DELAY">10</field>
                                    <field name="UNIT">min</field>
                                    <statement name="STATEMENT">
                                      <block type="control" id="%n,UAM:;mj:b)$B`EMdL">
                                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                        <field name="OID">0_userdata.0.Pool.Wärmepumpe_Ein/Aus</field>
                                        <field name="WITH_DELAY">FALSE</field>
                                        <value name="VALUE">
                                          <block type="logic_boolean" id="HU#[:ay#t84+el0Y.D$a">
                                            <field name="BOOL">TRUE</field>
                                          </block>
                                        </value>
                                      </block>
                                    </statement>
                                  </block>
                                </statement>
                                <next>
                                  <block type="controls_if" id="1%Lv+2cQw(Pz%)`,xPA5">
                                    <mutation elseif="1"></mutation>
                                    <value name="IF0">
                                      <block type="logic_compare" id="CUw/-!`$EswFWr0Ko9!h">
                                        <field name="OP">GTE</field>
                                        <value name="A">
                                          <block type="variables_get" id="j(uPvN4BLXDTN|%NrAva">
                                            <field name="VAR" id="nEjb|p?EsLR5{aN`2|35">Überschuss</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="math_number" id="7G6l-Hg%arous|=[:QL?">
                                            <field name="NUM">1000</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <statement name="DO0">
                                      <block type="timeouts_cleartimeout" id="3(hJlJMx{E[|LHT6i9!6">
                                        <field name="NAME">delayOff</field>
                                      </block>
                                    </statement>
                                    <value name="IF1">
                                      <block type="logic_multi_and" id="v$KLzQ9|Sn*%;#GzB9hE">
                                        <mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation>
                                        <value name="AND0">
                                          <block type="variables_get" id="u-W^*%bF:ykN.+xv}Vd8">
                                            <field name="VAR" id="$wVDvzwVT3g:A#`#ZwjH">Pumpe Ein</field>
                                          </block>
                                        </value>
                                        <value name="AND1">
                                          <block type="logic_negate" id="$V_^H%3`]A3047KF[xm6">
                                            <value name="BOOL">
                                              <block type="timeouts_gettimeout" id=")f6niYqXvB8X9lH/_`kX">
                                                <field name="NAME">delayOff</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <statement name="DO1">
                                      <block type="timeouts_settimeout" id="~3EM4oD[4SY%4W,g:`q_">
                                        <field name="NAME">delayOff2</field>
                                        <field name="DELAY">10</field>
                                        <field name="UNIT">min</field>
                                        <statement name="STATEMENT">
                                          <block type="control" id="2p~AKjXZTIxDl=5r+QcT">
                                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                            <field name="OID">0_userdata.0.Pool.Wärmepumpe_Ein/Aus</field>
                                            <field name="WITH_DELAY">FALSE</field>
                                            <value name="VALUE">
                                              <block type="logic_boolean" id="NZ~9=tVIHgs5W5|]cB}/">
                                                <field name="BOOL">FALSE</field>
                                              </block>
                                            </value>
                                          </block>
                                        </statement>
                                      </block>
                                    </statement>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </statement>
                  </block>
                </xml>
                
                <xml xmlns="https://developers.google.com/blockly/xml">
                  <variables>
                    <variable id="nEjb|p?EsLR5{aN`2|35">Überschuss</variable>
                    <variable id="$wVDvzwVT3g:A#`#ZwjH">Pumpe Ein</variable>
                    <variable type="timeout" id="timeout">timeout</variable>
                    <variable type="timeout" id="timeout3">timeout3</variable>
                    <variable type="timeout" id="delayOn">delayOn</variable>
                    <variable type="timeout" id="delayOn2">delayOn2</variable>
                    <variable type="timeout" id="timeout2">timeout2</variable>
                    <variable type="timeout" id="timeout4">timeout4</variable>
                    <variable type="timeout" id="delayOff">delayOff</variable>
                    <variable type="timeout" id="delayOff2">delayOff2</variable>
                  </variables>
                  <block type="on" id="-NQpr3!O^A*hD2]0oEdN" x="87" y="-688">
                    <field name="OID">modbus.1.inputRegisters.5016_Total_DC_Power</field>
                    <field name="CONDITION">ne</field>
                    <field name="ACK_CONDITION"></field>
                    <statement name="STATEMENT">
                      <block type="update" id="#GtCWkqW{K2*DY|M.f2#">
                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                        <field name="OID">0_userdata.0.PV.Differenz_pv_/_verbrauch</field>
                        <field name="WITH_DELAY">FALSE</field>
                        <value name="VALUE">
                          <block type="math_arithmetic" id="?IA2Dx:OvGR^FbtYMi+?">
                            <field name="OP">MINUS</field>
                            <value name="A">
                              <shadow type="math_number" id="}1u~Hp!5XkhUYdxm=h6o">
                                <field name="NUM">1</field>
                              </shadow>
                              <block type="get_value" id="(l,yb9PSCsm6of`|NT=j">
                                <field name="ATTR">val</field>
                                <field name="OID">modbus.1.inputRegisters.5016_Total_DC_Power</field>
                              </block>
                            </value>
                            <value name="B">
                              <shadow type="math_number" id="8^p9V]%tVNOZqe~Fg6pS">
                                <field name="NUM">1</field>
                              </shadow>
                              <block type="math_arithmetic" id="lpW$vU9O=X}Yae0mWx_@">
                                <field name="OP">ADD</field>
                                <value name="A">
                                  <shadow type="math_number" id="(0R-fN?h+^Xm7Yibc$:X">
                                    <field name="NUM">1</field>
                                  </shadow>
                                  <block type="get_value" id="l}Xv*rYeKvxLfK+;^*[u">
                                    <field name="ATTR">val</field>
                                    <field name="OID">0_userdata.0.PV.PvToLoad</field>
                                  </block>
                                </value>
                                <value name="B">
                                  <shadow type="math_number" id="}p+(]!A}wJN^HOUth^Xk">
                                    <field name="NUM">1</field>
                                  </shadow>
                                  <block type="get_value" id="8($Oe_u5R[{)Z.I|!dRN">
                                    <field name="ATTR">val</field>
                                    <field name="OID">0_userdata.0.PV.PvToBat</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </statement>
                  </block>
                  <block type="comment" id="WPm2l~GM+37RHd=OYFyY" x="13" y="-512">
                    <field name="COMMENT">Pumpe Ein</field>
                    <next>
                      <block type="on" id="y+r-14Ewj05Fsf@gjAH4">
                        <field name="OID">0_userdata.0.Pool.Pumpe_Ein/Aus</field>
                        <field name="CONDITION">true</field>
                        <field name="ACK_CONDITION"></field>
                        <statement name="STATEMENT">
                          <block type="control" id="/0{JN=6cA-#-%vF$eu]a">
                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                            <field name="OID">s7.1.DBs.DB1.Pumpe_Ein</field>
                            <field name="WITH_DELAY">FALSE</field>
                            <value name="VALUE">
                              <block type="logic_boolean" id="2A!}P{Gr#.@ComCKUQCG">
                                <field name="BOOL">TRUE</field>
                              </block>
                            </value>
                            <next>
                              <block type="timeouts_settimeout" id="BW(MnCZ_62hPuQ,!*`6q">
                                <field name="NAME">timeout</field>
                                <field name="DELAY">1000</field>
                                <field name="UNIT">ms</field>
                                <statement name="STATEMENT">
                                  <block type="control" id="v/+f2XR)B4dGJ{N`]8ov">
                                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                    <field name="OID">s7.1.DBs.DB1.Pumpe_Ein</field>
                                    <field name="WITH_DELAY">FALSE</field>
                                    <value name="VALUE">
                                      <block type="logic_boolean" id="AwR|G/OPDzw?[5QFD0St">
                                        <field name="BOOL">FALSE</field>
                                      </block>
                                    </value>
                                  </block>
                                </statement>
                              </block>
                            </next>
                          </block>
                        </statement>
                        <next>
                          <block type="comment" id="#c#E5mSx*=n7u?2].nr;">
                            <field name="COMMENT">Pumpe Aus</field>
                            <next>
                              <block type="on" id="6uB=v03n4.h}][7-TlOp">
                                <field name="OID">0_userdata.0.Pool.Pumpe_Ein/Aus</field>
                                <field name="CONDITION">false</field>
                                <field name="ACK_CONDITION"></field>
                                <statement name="STATEMENT">
                                  <block type="control" id="W~4HGSv~?Tf#C/*TIl%+">
                                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                    <field name="OID">s7.1.DBs.DB1.Pumpe_Aus</field>
                                    <field name="WITH_DELAY">FALSE</field>
                                    <value name="VALUE">
                                      <block type="logic_boolean" id="cM%#2swV-d2?+N8:M8eu">
                                        <field name="BOOL">TRUE</field>
                                      </block>
                                    </value>
                                    <next>
                                      <block type="timeouts_settimeout" id=")|LPB+X9Co-Rn5B1P`^G">
                                        <field name="NAME">timeout2</field>
                                        <field name="DELAY">1000</field>
                                        <field name="UNIT">ms</field>
                                        <statement name="STATEMENT">
                                          <block type="control" id="RzBa_O)+I4o46fa~jQl,">
                                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                            <field name="OID">s7.1.DBs.DB1.Pumpe_Aus</field>
                                            <field name="WITH_DELAY">FALSE</field>
                                            <value name="VALUE">
                                              <block type="logic_boolean" id="%./0%a~,beX8;iuc`Mf1">
                                                <field name="BOOL">FALSE</field>
                                              </block>
                                            </value>
                                          </block>
                                        </statement>
                                      </block>
                                    </next>
                                  </block>
                                </statement>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                  <block type="comment" id="}p_QB]4xw559{-3m2{rC" x="638" y="-513">
                    <field name="COMMENT">Wärmepumpe Ein</field>
                    <next>
                      <block type="on" id=")9AL*HO`2UGm)IOCzF7N">
                        <field name="OID">0_userdata.0.Pool.Wärmepumpe_Ein/Aus</field>
                        <field name="CONDITION">true</field>
                        <field name="ACK_CONDITION"></field>
                        <statement name="STATEMENT">
                          <block type="control" id="jTkviAGZ,{(4zLAoit)|">
                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                            <field name="OID">s7.1.DBs.DB1.Wärmepumpe_Ein</field>
                            <field name="WITH_DELAY">FALSE</field>
                            <value name="VALUE">
                              <block type="logic_boolean" id="HZJP|No@Yc/y/aZI+9gA">
                                <field name="BOOL">TRUE</field>
                              </block>
                            </value>
                            <next>
                              <block type="timeouts_settimeout" id="AJ:EI60_DvB4EzS{o?g^">
                                <field name="NAME">timeout3</field>
                                <field name="DELAY">1000</field>
                                <field name="UNIT">ms</field>
                                <statement name="STATEMENT">
                                  <block type="control" id=";b^oC,43sPD=(96o#J@5">
                                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                    <field name="OID">s7.1.DBs.DB1.Wärmepumpe_Ein</field>
                                    <field name="WITH_DELAY">FALSE</field>
                                    <value name="VALUE">
                                      <block type="logic_boolean" id="I;JnDZ^wA`u]=1tvNO2v">
                                        <field name="BOOL">FALSE</field>
                                      </block>
                                    </value>
                                  </block>
                                </statement>
                              </block>
                            </next>
                          </block>
                        </statement>
                        <next>
                          <block type="comment" id="p/o@j9{}e+AF@HuKyU+6">
                            <field name="COMMENT">Wärmepumpe Aus</field>
                            <next>
                              <block type="on" id="bV90Kj7_p*bjw8v|l%sV">
                                <field name="OID">0_userdata.0.Pool.Wärmepumpe_Ein/Aus</field>
                                <field name="CONDITION">false</field>
                                <field name="ACK_CONDITION"></field>
                                <statement name="STATEMENT">
                                  <block type="control" id="4D~XDmp5icWN9fa[|WeJ">
                                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                    <field name="OID">s7.1.DBs.DB1.Wärmepumpe_Aus</field>
                                    <field name="WITH_DELAY">FALSE</field>
                                    <value name="VALUE">
                                      <block type="logic_boolean" id="BM=?.txF!G[F=g^dUfY-">
                                        <field name="BOOL">TRUE</field>
                                      </block>
                                    </value>
                                    <next>
                                      <block type="timeouts_settimeout" id="jGbWP%DY{ySYH`SwR9~5">
                                        <field name="NAME">timeout4</field>
                                        <field name="DELAY">1000</field>
                                        <field name="UNIT">ms</field>
                                        <statement name="STATEMENT">
                                          <block type="control" id="{)v*.%PV^zXk+CVnHkHG">
                                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                            <field name="OID">s7.1.DBs.DB1.Wärmepumpe_Aus</field>
                                            <field name="WITH_DELAY">FALSE</field>
                                            <value name="VALUE">
                                              <block type="logic_boolean" id="),A{bxLtK|j*$zd4iVP[">
                                                <field name="BOOL">FALSE</field>
                                              </block>
                                            </value>
                                          </block>
                                        </statement>
                                      </block>
                                    </next>
                                  </block>
                                </statement>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                  <block type="on" id="Nc8U!ba#,^xI8$Yg:j-P" x="63" y="38">
                    <field name="OID">0_userdata.0.PV.Differenz_pv_/_verbrauch</field>
                    <field name="CONDITION">ne</field>
                    <field name="ACK_CONDITION"></field>
                    <statement name="STATEMENT">
                      <block type="variables_set" id="-$6haeB#-2)OW^kvlyB!">
                        <field name="VAR" id="nEjb|p?EsLR5{aN`2|35">Überschuss</field>
                        <value name="VALUE">
                          <block type="on_source" id="B8@X:3U**:,HOr_4@%Vn">
                            <field name="ATTR">state.val</field>
                          </block>
                        </value>
                        <next>
                          <block type="variables_set" id="n)y_.r9t-)(UwkTNK532">
                            <field name="VAR" id="$wVDvzwVT3g:A#`#ZwjH">Pumpe Ein</field>
                            <value name="VALUE">
                              <block type="get_value" id="sF}Kw%3onAz:;V[yB(wu">
                                <field name="ATTR">val</field>
                                <field name="OID">0_userdata.0.Pool.Pumpe_Ein/Aus</field>
                              </block>
                            </value>
                            <next>
                              <block type="controls_if" id=",7G`w*Eo_urCYCL0?#Un">
                                <mutation elseif="1"></mutation>
                                <value name="IF0">
                                  <block type="logic_compare" id=",|ck3v*8@PD+Z#hqw1?)">
                                    <field name="OP">LTE</field>
                                    <value name="A">
                                      <block type="variables_get" id="-|TY;46=oT^Hc36Y,XGa">
                                        <field name="VAR" id="nEjb|p?EsLR5{aN`2|35">Überschuss</field>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="math_number" id="{a#_ANYe]3u6aNEkXGdM">
                                        <field name="NUM">2000</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <statement name="DO0">
                                  <block type="timeouts_cleartimeout" id="]9QTYw3wts7p=@EQ9cut">
                                    <field name="NAME">delayOn</field>
                                  </block>
                                </statement>
                                <value name="IF1">
                                  <block type="logic_multi_and" id=":cCmcjwD_-e],%T/#8A[">
                                    <mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation>
                                    <value name="AND0">
                                      <block type="logic_negate" id="G0$fGV3[yat/nBwjRUG3">
                                        <value name="BOOL">
                                          <block type="variables_get" id="H9RHu()pFT|!GagaGf`g">
                                            <field name="VAR" id="$wVDvzwVT3g:A#`#ZwjH">Pumpe Ein</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <value name="AND1">
                                      <block type="logic_negate" id="`o~US2I||1wPKpplw2iY">
                                        <value name="BOOL">
                                          <block type="timeouts_gettimeout" id="o95+Pf3;I_ZFgof4W!0F">
                                            <field name="NAME">delayOn</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <statement name="DO1">
                                  <block type="timeouts_settimeout" id="#D.FYb[C-^xi5LGS[I`A">
                                    <field name="NAME">delayOn</field>
                                    <field name="DELAY">10</field>
                                    <field name="UNIT">min</field>
                                    <statement name="STATEMENT">
                                      <block type="control" id="]|~j1%Fb#./Jml%~DP*U">
                                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                        <field name="OID">0_userdata.0.Pool.Pumpe_Ein/Aus</field>
                                        <field name="WITH_DELAY">FALSE</field>
                                        <value name="VALUE">
                                          <block type="logic_boolean" id="%vEi9uqCb-+ukx}_/e#]">
                                            <field name="BOOL">TRUE</field>
                                          </block>
                                        </value>
                                      </block>
                                    </statement>
                                  </block>
                                </statement>
                                <next>
                                  <block type="controls_if" id="e-#TdWURq]={J,Z9V0d@">
                                    <mutation elseif="1"></mutation>
                                    <value name="IF0">
                                      <block type="logic_compare" id="6;i;LeuAmmQ6_ZBHbP#0">
                                        <field name="OP">GTE</field>
                                        <value name="A">
                                          <block type="variables_get" id="T22M$X.Uv_i[n=e)6*vB">
                                            <field name="VAR" id="nEjb|p?EsLR5{aN`2|35">Überschuss</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="math_number" id="$NU^!NN-QNH5f$rv!o]7">
                                            <field name="NUM">500</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <statement name="DO0">
                                      <block type="timeouts_cleartimeout" id="GDH,DrXR;`l6C#[N[]!]">
                                        <field name="NAME">delayOff</field>
                                      </block>
                                    </statement>
                                    <value name="IF1">
                                      <block type="logic_multi_and" id="-(yY@|J|]}/@Ct~D:9G[">
                                        <mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation>
                                        <value name="AND0">
                                          <block type="variables_get" id="9nlvCS00gF=r1~@jLZ|i">
                                            <field name="VAR" id="$wVDvzwVT3g:A#`#ZwjH">Pumpe Ein</field>
                                          </block>
                                        </value>
                                        <value name="AND1">
                                          <block type="logic_negate" id="YuHhNBakU2e5Wt~qCk6@">
                                            <value name="BOOL">
                                              <block type="timeouts_gettimeout" id="^pa1Sem^re7V_Mv91!R3">
                                                <field name="NAME">delayOff</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <statement name="DO1">
                                      <block type="timeouts_settimeout" id="j,%YP|d9AteH3mM#-Hly">
                                        <field name="NAME">delayOff</field>
                                        <field name="DELAY">10</field>
                                        <field name="UNIT">min</field>
                                        <statement name="STATEMENT">
                                          <block type="control" id="OvY=ea*Ix$bfb88yl%HU">
                                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                            <field name="OID">0_userdata.0.Pool.Pumpe_Ein/Aus</field>
                                            <field name="WITH_DELAY">FALSE</field>
                                            <value name="VALUE">
                                              <block type="logic_boolean" id="`a34oZ41AUGDKslGKte]">
                                                <field name="BOOL">FALSE</field>
                                              </block>
                                            </value>
                                          </block>
                                        </statement>
                                      </block>
                                    </statement>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </statement>
                  </block>
                  <block type="on" id="nu@6ik./ph!Gn~}O,W$Z" x="713" y="38">
                    <field name="OID">0_userdata.0.PV.Differenz_pv_/_verbrauch</field>
                    <field name="CONDITION">ne</field>
                    <field name="ACK_CONDITION"></field>
                    <statement name="STATEMENT">
                      <block type="variables_set" id="]EQa!/(5Is,0=x4pznM^">
                        <field name="VAR" id="nEjb|p?EsLR5{aN`2|35">Überschuss</field>
                        <value name="VALUE">
                          <block type="on_source" id="9!A4suCLf1),3k-c~*wQ">
                            <field name="ATTR">state.val</field>
                          </block>
                        </value>
                        <next>
                          <block type="variables_set" id="!GriOn!YS(lxq+BeR!)C">
                            <field name="VAR" id="$wVDvzwVT3g:A#`#ZwjH">Pumpe Ein</field>
                            <value name="VALUE">
                              <block type="get_value" id="h|Ii^#.mO5rhiBay}pv7">
                                <field name="ATTR">val</field>
                                <field name="OID">0_userdata.0.Pool.Wärmepumpe_Ein/Aus</field>
                              </block>
                            </value>
                            <next>
                              <block type="controls_if" id="2s+sB:CpQq!SS`3+K%IJ">
                                <mutation elseif="1"></mutation>
                                <value name="IF0">
                                  <block type="logic_compare" id="|sH5sjk`}VPTs,za1d6I">
                                    <field name="OP">LTE</field>
                                    <value name="A">
                                      <block type="variables_get" id="R$z9X7z[u.K*1:@ugsR9">
                                        <field name="VAR" id="nEjb|p?EsLR5{aN`2|35">Überschuss</field>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="math_number" id="#FUFY)*zB$26xi{QVh1]">
                                        <field name="NUM">3000</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <statement name="DO0">
                                  <block type="timeouts_cleartimeout" id="P.nNb7@aW+7/IzKh#OIw">
                                    <field name="NAME">delayOn</field>
                                  </block>
                                </statement>
                                <value name="IF1">
                                  <block type="logic_multi_and" id="?(YfGLBAUUO9_T}m;=B-">
                                    <mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation>
                                    <value name="AND0">
                                      <block type="logic_negate" id="#5^Gl^x$`bChz!Y+IE%:">
                                        <value name="BOOL">
                                          <block type="variables_get" id="FS[)M3Qi#f8(ghW)PbLc">
                                            <field name="VAR" id="$wVDvzwVT3g:A#`#ZwjH">Pumpe Ein</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <value name="AND1">
                                      <block type="logic_negate" id="R`!Is;Q[Jz326QMtE)by">
                                        <value name="BOOL">
                                          <block type="timeouts_gettimeout" id=":`t*X7j*LMv(.::2c;LL">
                                            <field name="NAME">delayOn</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <statement name="DO1">
                                  <block type="timeouts_settimeout" id="6oxe^*|DJsY-gY-CMK@~">
                                    <field name="NAME">delayOn2</field>
                                    <field name="DELAY">10</field>
                                    <field name="UNIT">min</field>
                                    <statement name="STATEMENT">
                                      <block type="control" id="%n,UAM:;mj:b)$B`EMdL">
                                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                        <field name="OID">0_userdata.0.Pool.Wärmepumpe_Ein/Aus</field>
                                        <field name="WITH_DELAY">FALSE</field>
                                        <value name="VALUE">
                                          <block type="logic_boolean" id="HU#[:ay#t84+el0Y.D$a">
                                            <field name="BOOL">TRUE</field>
                                          </block>
                                        </value>
                                      </block>
                                    </statement>
                                  </block>
                                </statement>
                                <next>
                                  <block type="controls_if" id="1%Lv+2cQw(Pz%)`,xPA5">
                                    <mutation elseif="1"></mutation>
                                    <value name="IF0">
                                      <block type="logic_compare" id="CUw/-!`$EswFWr0Ko9!h">
                                        <field name="OP">GTE</field>
                                        <value name="A">
                                          <block type="variables_get" id="j(uPvN4BLXDTN|%NrAva">
                                            <field name="VAR" id="nEjb|p?EsLR5{aN`2|35">Überschuss</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="math_number" id="7G6l-Hg%arous|=[:QL?">
                                            <field name="NUM">1000</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <statement name="DO0">
                                      <block type="timeouts_cleartimeout" id="3(hJlJMx{E[|LHT6i9!6">
                                        <field name="NAME">delayOff</field>
                                      </block>
                                    </statement>
                                    <value name="IF1">
                                      <block type="logic_multi_and" id="v$KLzQ9|Sn*%;#GzB9hE">
                                        <mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation>
                                        <value name="AND0">
                                          <block type="variables_get" id="u-W^*%bF:ykN.+xv}Vd8">
                                            <field name="VAR" id="$wVDvzwVT3g:A#`#ZwjH">Pumpe Ein</field>
                                          </block>
                                        </value>
                                        <value name="AND1">
                                          <block type="logic_negate" id="$V_^H%3`]A3047KF[xm6">
                                            <value name="BOOL">
                                              <block type="timeouts_gettimeout" id=")f6niYqXvB8X9lH/_`kX">
                                                <field name="NAME">delayOff</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <statement name="DO1">
                                      <block type="timeouts_settimeout" id="~3EM4oD[4SY%4W,g:`q_">
                                        <field name="NAME">delayOff2</field>
                                        <field name="DELAY">10</field>
                                        <field name="UNIT">min</field>
                                        <statement name="STATEMENT">
                                          <block type="control" id="2p~AKjXZTIxDl=5r+QcT">
                                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                            <field name="OID">0_userdata.0.Pool.Wärmepumpe_Ein/Aus</field>
                                            <field name="WITH_DELAY">FALSE</field>
                                            <value name="VALUE">
                                              <block type="logic_boolean" id="NZ~9=tVIHgs5W5|]cB}/">
                                                <field name="BOOL">FALSE</field>
                                              </block>
                                            </value>
                                          </block>
                                        </statement>
                                      </block>
                                    </statement>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </statement>
                  </block>
                </xml>
                
                

                und ich habe durch meine Siemens Logo noch einen Datenpunkt erstellt für Pumpe ein und aus
                da ich mit der logo keinen taster erstellen kann

                kann man den wert für pumpe ein aus in einen trigger unterbringen hab es nicht hinbekommen.
                und ich habe auch keine abfrage für den wert wenn ich den taster manuell drücke
                ich habe von der Logo Folgende Datenpunkte
                Pumpe Ein
                Pumpe Aus
                und eine Überwachung ob Ein oder Aus

                pv iobroker 2.PNG

                1 Reply Last reply Reply Quote 0
                • J
                  Jonas5492 last edited by

                  @paul53 Ich habe jetzt das script immer beobachtet aber irgendwie funktioniert es nicht. Kannst du mir nochmal helfen?

                  die pumpe geht auch aus wenn ich einen überschuss von über 19kw habe

                  Folgende werte habe ich im Log.

                  2025-06-11 07:02:33.838 - warn: javascript.0 (2186983) script.js.PV.Poolsteuerung_PV_überschuss: Pool Pumpe Ein
                  2025-06-11 07:02:33.840 - warn: javascript.0 (2186983) script.js.PV.Poolsteuerung_PV_überschuss: 1020
                  2025-06-11 07:10:10.686 - warn: javascript.0 (2186983) script.js.PV.Poolsteuerung_PV_überschuss: Pool Pumpe Ein
                  2025-06-11 07:10:10.686 - warn: javascript.0 (2186983) script.js.PV.Poolsteuerung_PV_überschuss: 1002
                  2025-06-11 07:19:52.445 - warn: javascript.0 (2186983) script.js.PV.Poolsteuerung_PV_überschuss: Pool Pumpe Ein
                  2025-06-11 07:19:52.445 - warn: javascript.0 (2186983) script.js.PV.Poolsteuerung_PV_überschuss: 2171
                  2025-06-11 07:20:06.716 - warn: javascript.0 (2186983) script.js.PV.Poolsteuerung_PV_überschuss: Pool Pumpe Ein
                  2025-06-11 07:20:06.717 - warn: javascript.0 (2186983) script.js.PV.Poolsteuerung_PV_überschuss: 1055
                  2025-06-11 07:20:13.864 - warn: javascript.0 (2186983) script.js.PV.Poolsteuerung_PV_überschuss: Pool Pumpe Ein
                  2025-06-11 07:20:13.866 - warn: javascript.0 (2186983) script.js.PV.Poolsteuerung_PV_überschuss: 1235
                  2025-06-11 07:37:50.349 - warn: javascript.0 (2186983) script.js.PV.Poolsteuerung_PV_überschuss: Pool Pumpe Ein
                  2025-06-11 07:37:50.350 - warn: javascript.0 (2186983) script.js.PV.Poolsteuerung_PV_überschuss: 2189
                  2025-06-11 08:02:01.540 - warn: javascript.0 (2186983) script.js.PV.Poolsteuerung_PV_überschuss: Pool Pumpe Ein
                  2025-06-11 08:02:01.543 - warn: javascript.0 (2186983) script.js.PV.Poolsteuerung_PV_überschuss: 1314
                  2025-06-11 08:07:51.360 - warn: javascript.0 (2186983) script.js.PV.Poolsteuerung_PV_überschuss: Pool Pumpe Ein
                  2025-06-11 08:07:51.361 - warn: javascript.0 (2186983) script.js.PV.Poolsteuerung_PV_überschuss: 1401
                  2025-06-11 08:08:48.431 - warn: javascript.0 (2186983) script.js.PV.Poolsteuerung_PV_überschuss: Pool Pumpe Ein
                  2025-06-11 08:08:48.432 - warn: javascript.0 (2186983) script.js.PV.Poolsteuerung_PV_überschuss: 1190
                  2025-06-11 08:09:31.287 - warn: javascript.0 (2186983) script.js.PV.Poolsteuerung_PV_überschuss: Pool Pumpe Ein
                  2025-06-11 08:09:31.288 - warn: javascript.0 (2186983) script.js.PV.Poolsteuerung_PV_überschuss: 1698
                  2025-06-11 08:10:31.959 - warn: javascript.0 (2186983) script.js.PV.Poolsteuerung_PV_überschuss: Pool Pumpe Ein
                  2025-06-11 08:10:31.960 - warn: javascript.0 (2186983) script.js.PV.Poolsteuerung_PV_überschuss: 3160
                  2025-06-11 08:10:39.133 - warn: javascript.0 (2186983) script.js.PV.Poolsteuerung_PV_überschuss: Pool Pumpe Ein
                  2025-06-11 08:10:39.133 - warn: javascript.0 (2186983) script.js.PV.Poolsteuerung_PV_überschuss: 1421
                  2025-06-11 08:12:51.210 - warn: javascript.0 (2186983) script.js.PV.Poolsteuerung_PV_überschuss: Pool Pumpe Ein
                  2025-06-11 08:12:51.210 - warn: javascript.0 (2186983) script.js.PV.Poolsteuerung_PV_überschuss: 7189
                  2025-06-11 08:17:11.800 - warn: javascript.0 (2186983) script.js.PV.Poolsteuerung_PV_überschuss: Pool Pumpe Ein
                  2025-06-11 08:17:11.800 - warn: javascript.0 (2186983) script.js.PV.Poolsteuerung_PV_überschuss: 1991
                  2025-06-11 08:18:05.360 - warn: javascript.0 (2186983) script.js.PV.Poolsteuerung_PV_überschuss: Pool Pumpe Ein
                  2025-06-11 08:18:05.361 - warn: javascript.0 (2186983) script.js.PV.Poolsteuerung_PV_überschuss: 2799
                  2025-06-11 08:22:36.598 - warn: javascript.0 (2186983) script.js.PV.Poolsteuerung_PV_überschuss: Pool Pumpe Ein
                  2025-06-11 08:22:36.598 - warn: javascript.0 (2186983) script.js.PV.Poolsteuerung_PV_überschuss: 1053
                  2025-06-11 08:32:36.753 - warn: javascript.0 (2186983) script.js.PV.Poolsteuerung_PV_überschuss: Pool Pumpe Aus
                  2025-06-11 08:32:36.754 - warn: javascript.0 (2186983) script.js.PV.Poolsteuerung_PV_überschuss: 6593
                  2025-06-11 08:52:14.122 - warn: javascript.0 (2186983) script.js.PV.Poolsteuerung_PV_überschuss: Pool Pumpe Aus
                  2025-06-11 08:52:14.123 - warn: javascript.0 (2186983) script.js.PV.Poolsteuerung_PV_überschuss: 491
                  2025-06-11 14:03:06.629 - warn: javascript.0 (2186983) script.js.PV.Poolsteuerung_PV_überschuss: Pool Pumpe Aus
                  2025-06-11 14:03:06.631 - warn: javascript.0 (2186983) script.js.PV.Poolsteuerung_PV_überschuss: 19280
                  2025-06-11 18:15:44.780 - warn: javascript.0 (2186983) script.js.PV.Poolsteuerung_PV_überschuss: Pool Pumpe Aus
                  2025-06-11 18:15:44.782 - warn: javascript.0 (2186983) script.js.PV.Poolsteuerung_PV_überschuss: -4
                  2025-06-11 18:17:56.835 - warn: javascript.0 (2186983) script.js.PV.Poolsteuerung_PV_überschuss: Pool Pumpe Aus
                  2025-06-11 18:17:56.835 - warn: javascript.0 (2186983) script.js.PV.Poolsteuerung_PV_überschuss: -15
                  2025-06-11 18:18:50.291 - warn: javascript.0 (2186983) script.js.PV.Poolsteuerung_PV_überschuss: Pool Pumpe Aus
                  2025-06-11 18:18:50.291 - warn: javascript.0 (2186983) script.js.PV.Poolsteuerung_PV_überschuss: -13
                  2025-06-11 18:19:54.535 - warn: javascript.0 (2186983) script.js.PV.Poolsteuerung_PV_überschuss: Pool Pumpe Aus
                  2025-06-11 18:19:54.535 - warn: javascript.0 (2186983) script.js.PV.Poolsteuerung_PV_überschuss: -5
                  2025-06-11 18:21:02.415 - warn: javascript.0 (2186983) script.js.PV.Poolsteuerung_PV_überschuss: Pool Pumpe Aus
                  2025-06-11 18:21:02.416 - warn: javascript.0 (2186983) script.js.PV.Poolsteuerung_PV_überschuss: -7
                  2025-06-11 18:26:02.188 - warn: javascript.0 (2186983) script.js.PV.Poolsteuerung_PV_überschuss: Pool Pumpe Aus
                  2025-06-11 18:26:02.190 - warn: javascript.0 (2186983) script.js.PV.Poolsteuerung_PV_überschuss: 405
                  2025-06-11 18:39:07.612 - warn: javascript.0 (2186983) script.js.PV.Poolsteuerung_PV_überschuss: Pool Pumpe Aus
                  2025-06-11 18:39:07.612 - warn: javascript.0 (2186983) script.js.PV.Poolsteuerung_PV_überschuss: -1
                  2025-06-11 18:44:37.918 - warn: javascript.0 (2186983) script.js.PV.Poolsteuerung_PV_überschuss: Pool Pumpe Aus
                  2025-06-11 18:44:37.918 - warn: javascript.0 (2186983) script.js.PV.Poolsteuerung_PV_überschuss: -7
                  2025-06-11 18:59:05.158 - warn: javascript.0 (2186983) script.js.PV.Poolsteuerung_PV_überschuss: Pool Pumpe Aus
                  2025-06-11 18:59:05.159 - warn: javascript.0 (2186983) script.js.PV.Poolsteuerung_PV_überschuss: 247
                  2025-06-11 19:03:36.459 - warn: javascript.0 (2186983) script.js.PV.Poolsteuerung_PV_überschuss: Pool Pumpe Aus
                  2025-06-11 19:03:36.460 - warn: javascript.0 (2186983) script.js.PV.Poolsteuerung_PV_überschuss: 400
                  2025-06-11 19:08:04.186 - warn: javascript.0 (2186983) script.js.PV.Poolsteuerung_PV_überschuss: Pool Pumpe Aus
                  2025-06-11 19:08:04.187 - warn: javascript.0 (2186983) script.js.PV.Poolsteuerung_PV_überschuss: -17
                  2025-06-11 19:12:32.516 - warn: javascript.0 (2186983) script.js.PV.Poolsteuerung_PV_überschuss: Pool Pumpe Aus
                  2025-06-11 19:12:32.517 - warn: javascript.0 (2186983) script.js.PV.Poolsteuerung_PV_überschuss: 814
                  2025-06-11 19:12:53.315 - warn: javascript.0 (2186983) script.js.PV.Poolsteuerung_PV_überschuss: Pool Pumpe Aus
                  2025-06-11 19:12:53.316 - warn: javascript.0 (2186983) script.js.PV.Poolsteuerung_PV_überschuss: -2
                  2025-06-11 20:00:00.349 - warn: javascript.0 (2186983) script.js.PV.Poolsteuerung_PV_überschuss: Pool Pumpe Aus Zeit 20:00
                  2025-06-11 20:00:03.879 - warn: javascript.0 (2186983) script.js.PV.Poolsteuerung_PV_überschuss: Pool Pumpe Aus Zeit 20:00
                  2025-06-11 20:00:07.508 - warn: javascript.0 (2186983) script.js.PV.Poolsteuerung_PV_überschuss: Pool Pumpe Aus Zeit 20:00
                  2025-06-11 20:00:11.036 - warn: javascript.0 (2186983) script.js.PV.Poolsteuerung_PV_überschuss: Pool Pumpe Aus Zeit 20:00
                  2025-06-11 20:00:21.738 - warn: javascript.0 (2186983) script.js.PV.Poolsteuerung_PV_überschuss: Pool Pumpe Aus Zeit 20:00
                  2025-06-11 20:00:25.314 - warn: javascript.0 (2186983) script.js.PV.Poolsteuerung_PV_überschuss: Pool Pumpe Aus Zeit 20:00
                  2025-06-11 20:00:32.446 - warn: javascript.0 (2186983) script.js.PV.Poolsteuerung_PV_überschuss: Pool Pumpe Aus Zeit 20:00
                  2025-06-11 20:00:36.022 - warn: javascript.0 (2186983) script.js.PV.Poolsteuerung_PV_überschuss: Pool Pumpe Aus Zeit 20:00
                  2025-06-11 20:00:39.607 - warn: javascript.0 (2186983) script.js.PV.Poolsteuerung_PV_überschuss: Pool Pumpe Aus Zeit 20:00
                  2025-06-11 20:00:46.682 - warn: javascript.0 (2186983) script.js.PV.Poolsteuerung_PV_überschuss: Pool Pumpe Aus Zeit 20:00
                  

                  das ist das script das ich verwendeScreenshot 2025-06-12 163006.png

                  <xml xmlns="https://developers.google.com/blockly/xml">
                    <variables>
                      <variable id="nEjb|p?EsLR5{aN`2|35">Überschuss</variable>
                      <variable id="$wVDvzwVT3g:A#`#ZwjH">Pumpe Ein</variable>
                      <variable id="XiY.%*SlHfThLWKP.$g.">Wp Ein</variable>
                      <variable type="timeout" id="timeout">timeout</variable>
                      <variable type="timeout" id="timeout2">timeout2</variable>
                      <variable type="timeout" id="timeout3">timeout3</variable>
                      <variable type="timeout" id="timeout4">timeout4</variable>
                      <variable type="timeout" id="delayOn">delayOn</variable>
                      <variable type="timeout" id="delayOn2">delayOn2</variable>
                      <variable type="timeout" id="delayOff">delayOff</variable>
                      <variable type="timeout" id="delayOff2">delayOff2</variable>
                    </variables>
                    <block type="on" id="-NQpr3!O^A*hD2]0oEdN" x="37" y="-662">
                      <field name="OID">modbus.1.inputRegisters.5016_Total_DC_Power</field>
                      <field name="CONDITION">ne</field>
                      <field name="ACK_CONDITION"></field>
                      <statement name="STATEMENT">
                        <block type="update" id="#GtCWkqW{K2*DY|M.f2#">
                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                          <field name="OID">0_userdata.0.PV.Differenz_pv_/_verbrauch</field>
                          <field name="WITH_DELAY">FALSE</field>
                          <value name="VALUE">
                            <block type="math_arithmetic" id="?IA2Dx:OvGR^FbtYMi+?">
                              <field name="OP">MINUS</field>
                              <value name="A">
                                <shadow type="math_number" id="}1u~Hp!5XkhUYdxm=h6o">
                                  <field name="NUM">1</field>
                                </shadow>
                                <block type="get_value" id="(l,yb9PSCsm6of`|NT=j">
                                  <field name="ATTR">val</field>
                                  <field name="OID">modbus.1.inputRegisters.5016_Total_DC_Power</field>
                                </block>
                              </value>
                              <value name="B">
                                <shadow type="math_number" id="8^p9V]%tVNOZqe~Fg6pS">
                                  <field name="NUM">1</field>
                                </shadow>
                                <block type="math_arithmetic" id="lpW$vU9O=X}Yae0mWx_@">
                                  <field name="OP">ADD</field>
                                  <value name="A">
                                    <shadow type="math_number" id="(0R-fN?h+^Xm7Yibc$:X">
                                      <field name="NUM">1</field>
                                    </shadow>
                                    <block type="get_value" id="l}Xv*rYeKvxLfK+;^*[u">
                                      <field name="ATTR">val</field>
                                      <field name="OID">0_userdata.0.PV.PvToLoad</field>
                                    </block>
                                  </value>
                                  <value name="B">
                                    <shadow type="math_number" id="}p+(]!A}wJN^HOUth^Xk">
                                      <field name="NUM">1</field>
                                    </shadow>
                                    <block type="get_value" id="8($Oe_u5R[{)Z.I|!dRN">
                                      <field name="ATTR">val</field>
                                      <field name="OID">0_userdata.0.PV.PvToBat</field>
                                    </block>
                                  </value>
                                </block>
                              </value>
                            </block>
                          </value>
                        </block>
                      </statement>
                    </block>
                    <block type="on" id="y+r-14Ewj05Fsf@gjAH4" x="38" y="-438">
                      <field name="OID">0_userdata.0.Pool.Pumpe_Ein/Aus</field>
                      <field name="CONDITION">ne</field>
                      <field name="ACK_CONDITION"></field>
                      <statement name="STATEMENT">
                        <block type="controls_if" id="~q}D?P7;pM9~0l^1JJec">
                          <mutation elseif="1"></mutation>
                          <value name="IF0">
                            <block type="logic_multi_and" id="Yq$:q*bjK9:DYx%L@SY=">
                              <mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation>
                              <value name="AND0">
                                <block type="logic_compare" id="[qLM/78J?H;z]LLR5sc!">
                                  <field name="OP">EQ</field>
                                  <value name="A">
                                    <block type="get_value" id="qCTNYFeu3sl~}hNKzZ4@">
                                      <field name="ATTR">val</field>
                                      <field name="OID">0_userdata.0.Pool.Pumpe_Ein/Aus</field>
                                    </block>
                                  </value>
                                  <value name="B">
                                    <block type="logic_boolean" id="n.k:oS]aE0=3hpzOq2th">
                                      <field name="BOOL">TRUE</field>
                                    </block>
                                  </value>
                                </block>
                              </value>
                              <value name="AND1">
                                <block type="logic_compare" id="[7YkHO=PiWwE@MvubGTx">
                                  <field name="OP">EQ</field>
                                  <value name="A">
                                    <block type="get_value" id="dEo^xN3mA@s6b`P:eKo{">
                                      <field name="ATTR">val</field>
                                      <field name="OID">s7.1.DBs.DB1.Pool_Pumpe</field>
                                    </block>
                                  </value>
                                  <value name="B">
                                    <block type="logic_boolean" id="BF+ztFx1MJ=C4+?W9*h/">
                                      <field name="BOOL">FALSE</field>
                                    </block>
                                  </value>
                                </block>
                              </value>
                            </block>
                          </value>
                          <statement name="DO0">
                            <block type="comment" id="WPm2l~GM+37RHd=OYFyY">
                              <field name="COMMENT">Pumpe Ein</field>
                              <next>
                                <block type="control" id="/0{JN=6cA-#-%vF$eu]a">
                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                  <field name="OID">s7.1.DBs.DB1.Pumpe_Ein</field>
                                  <field name="WITH_DELAY">FALSE</field>
                                  <value name="VALUE">
                                    <block type="logic_boolean" id="2A!}P{Gr#.@ComCKUQCG">
                                      <field name="BOOL">TRUE</field>
                                    </block>
                                  </value>
                                  <next>
                                    <block type="timeouts_settimeout" id="BW(MnCZ_62hPuQ,!*`6q">
                                      <field name="NAME">timeout</field>
                                      <field name="DELAY">1</field>
                                      <field name="UNIT">sec</field>
                                      <statement name="STATEMENT">
                                        <block type="control" id="v/+f2XR)B4dGJ{N`]8ov">
                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                          <field name="OID">s7.1.DBs.DB1.Pumpe_Ein</field>
                                          <field name="WITH_DELAY">FALSE</field>
                                          <value name="VALUE">
                                            <block type="logic_boolean" id="AwR|G/OPDzw?[5QFD0St">
                                              <field name="BOOL">FALSE</field>
                                            </block>
                                          </value>
                                        </block>
                                      </statement>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </statement>
                          <value name="IF1">
                            <block type="logic_multi_and" id="*XRvGA8*7yIhC40cSM}D">
                              <mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation>
                              <value name="AND0">
                                <block type="logic_compare" id="N@n]qy()Ad?^Rj{bo.%`">
                                  <field name="OP">EQ</field>
                                  <value name="A">
                                    <block type="get_value" id="abXFPiXFRs7]zgg%=FHY">
                                      <field name="ATTR">val</field>
                                      <field name="OID">0_userdata.0.Pool.Pumpe_Ein/Aus</field>
                                    </block>
                                  </value>
                                  <value name="B">
                                    <block type="logic_boolean" id="Yir9ic^(*@-WOVbg;yKI">
                                      <field name="BOOL">FALSE</field>
                                    </block>
                                  </value>
                                </block>
                              </value>
                              <value name="AND1">
                                <block type="logic_compare" id="GuFmYKfsa5`L:htkz1ms">
                                  <field name="OP">EQ</field>
                                  <value name="A">
                                    <block type="get_value" id="9hY4bnQwEKgVh0d6^I~o">
                                      <field name="ATTR">val</field>
                                      <field name="OID">s7.1.DBs.DB1.Pool_Pumpe</field>
                                    </block>
                                  </value>
                                  <value name="B">
                                    <block type="logic_boolean" id="8?2;R++)rr(Z(.);NViY">
                                      <field name="BOOL">TRUE</field>
                                    </block>
                                  </value>
                                </block>
                              </value>
                            </block>
                          </value>
                          <statement name="DO1">
                            <block type="comment" id="#c#E5mSx*=n7u?2].nr;">
                              <field name="COMMENT">Pumpe Aus</field>
                              <next>
                                <block type="control" id="W~4HGSv~?Tf#C/*TIl%+">
                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                  <field name="OID">s7.1.DBs.DB1.Pumpe_Aus</field>
                                  <field name="WITH_DELAY">FALSE</field>
                                  <value name="VALUE">
                                    <block type="logic_boolean" id="cM%#2swV-d2?+N8:M8eu">
                                      <field name="BOOL">TRUE</field>
                                    </block>
                                  </value>
                                  <next>
                                    <block type="timeouts_settimeout" id=")|LPB+X9Co-Rn5B1P`^G">
                                      <field name="NAME">timeout2</field>
                                      <field name="DELAY">1</field>
                                      <field name="UNIT">sec</field>
                                      <statement name="STATEMENT">
                                        <block type="control" id="RzBa_O)+I4o46fa~jQl,">
                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                          <field name="OID">s7.1.DBs.DB1.Pumpe_Aus</field>
                                          <field name="WITH_DELAY">FALSE</field>
                                          <value name="VALUE">
                                            <block type="logic_boolean" id="%./0%a~,beX8;iuc`Mf1">
                                              <field name="BOOL">FALSE</field>
                                            </block>
                                          </value>
                                        </block>
                                      </statement>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </statement>
                        </block>
                      </statement>
                    </block>
                    <block type="on" id=")9AL*HO`2UGm)IOCzF7N" x="738" y="-463">
                      <field name="OID">0_userdata.0.Pool.Wärmepumpe_Ein/Aus</field>
                      <field name="CONDITION">ne</field>
                      <field name="ACK_CONDITION"></field>
                      <statement name="STATEMENT">
                        <block type="controls_if" id="uX9#wN?~;YNlMtvU=/AL">
                          <mutation elseif="1"></mutation>
                          <value name="IF0">
                            <block type="logic_multi_and" id="=km2WKmvsj/VbAMS*!O]">
                              <mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation>
                              <value name="AND0">
                                <block type="logic_compare" id="lNJ=P;H(2VO~r:odCTWI">
                                  <field name="OP">EQ</field>
                                  <value name="A">
                                    <block type="get_value" id="_?ypOw2=d?tfd$D.g4D{">
                                      <field name="ATTR">val</field>
                                      <field name="OID">0_userdata.0.Pool.Wärmepumpe_Ein/Aus</field>
                                    </block>
                                  </value>
                                  <value name="B">
                                    <block type="logic_boolean" id="6a[r2QF]n%R:GJgLDwk}">
                                      <field name="BOOL">TRUE</field>
                                    </block>
                                  </value>
                                </block>
                              </value>
                              <value name="AND1">
                                <block type="logic_compare" id="ghE#f?G*jT{pr0`SQ/t?">
                                  <field name="OP">EQ</field>
                                  <value name="A">
                                    <block type="get_value" id="n4@;g$2W{VVKyUe3p,8H">
                                      <field name="ATTR">val</field>
                                      <field name="OID">s7.1.DBs.DB1.Wärmepumpe</field>
                                    </block>
                                  </value>
                                  <value name="B">
                                    <block type="logic_boolean" id="IkolY-aY32db#moYr1eb">
                                      <field name="BOOL">FALSE</field>
                                    </block>
                                  </value>
                                </block>
                              </value>
                            </block>
                          </value>
                          <statement name="DO0">
                            <block type="comment" id="}p_QB]4xw559{-3m2{rC">
                              <field name="COMMENT">Wärmepumpe Ein</field>
                              <next>
                                <block type="control" id="jTkviAGZ,{(4zLAoit)|">
                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                  <field name="OID">s7.1.DBs.DB1.Wärmepumpe_Ein</field>
                                  <field name="WITH_DELAY">FALSE</field>
                                  <value name="VALUE">
                                    <block type="logic_boolean" id="HZJP|No@Yc/y/aZI+9gA">
                                      <field name="BOOL">TRUE</field>
                                    </block>
                                  </value>
                                  <next>
                                    <block type="timeouts_settimeout" id="AJ:EI60_DvB4EzS{o?g^">
                                      <field name="NAME">timeout3</field>
                                      <field name="DELAY">1</field>
                                      <field name="UNIT">sec</field>
                                      <statement name="STATEMENT">
                                        <block type="control" id=";b^oC,43sPD=(96o#J@5">
                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                          <field name="OID">s7.1.DBs.DB1.Wärmepumpe_Ein</field>
                                          <field name="WITH_DELAY">FALSE</field>
                                          <value name="VALUE">
                                            <block type="logic_boolean" id="I;JnDZ^wA`u]=1tvNO2v">
                                              <field name="BOOL">FALSE</field>
                                            </block>
                                          </value>
                                        </block>
                                      </statement>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </statement>
                          <value name="IF1">
                            <block type="logic_multi_and" id="XoF/]r(w[w9HHwJql8kY">
                              <mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation>
                              <value name="AND0">
                                <block type="logic_compare" id="P7{L`|ZaZ15~f0B300kj">
                                  <field name="OP">EQ</field>
                                  <value name="A">
                                    <block type="get_value" id="NOj(y?#~m|5pHAj)oZb[">
                                      <field name="ATTR">val</field>
                                      <field name="OID">0_userdata.0.Pool.Wärmepumpe_Ein/Aus</field>
                                    </block>
                                  </value>
                                  <value name="B">
                                    <block type="logic_boolean" id=";x3Zfo?79*6E:L}Ycrl+">
                                      <field name="BOOL">FALSE</field>
                                    </block>
                                  </value>
                                </block>
                              </value>
                              <value name="AND1">
                                <block type="logic_compare" id="-MNeH$GL^8D?y+yD+Cf8">
                                  <field name="OP">EQ</field>
                                  <value name="A">
                                    <block type="get_value" id="L6I$uAmVK5440IlH86`y">
                                      <field name="ATTR">val</field>
                                      <field name="OID">s7.1.DBs.DB1.Wärmepumpe</field>
                                    </block>
                                  </value>
                                  <value name="B">
                                    <block type="logic_boolean" id="QPUxma(v,t^:nNp9FjLn">
                                      <field name="BOOL">TRUE</field>
                                    </block>
                                  </value>
                                </block>
                              </value>
                            </block>
                          </value>
                          <statement name="DO1">
                            <block type="comment" id="p/o@j9{}e+AF@HuKyU+6">
                              <field name="COMMENT">Wärmepumpe Aus</field>
                              <next>
                                <block type="control" id="4D~XDmp5icWN9fa[|WeJ">
                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                  <field name="OID">s7.1.DBs.DB1.Wärmepumpe_Aus</field>
                                  <field name="WITH_DELAY">FALSE</field>
                                  <value name="VALUE">
                                    <block type="logic_boolean" id="BM=?.txF!G[F=g^dUfY-">
                                      <field name="BOOL">TRUE</field>
                                    </block>
                                  </value>
                                  <next>
                                    <block type="timeouts_settimeout" id="jGbWP%DY{ySYH`SwR9~5">
                                      <field name="NAME">timeout4</field>
                                      <field name="DELAY">1</field>
                                      <field name="UNIT">sec</field>
                                      <statement name="STATEMENT">
                                        <block type="control" id="{)v*.%PV^zXk+CVnHkHG">
                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                          <field name="OID">s7.1.DBs.DB1.Wärmepumpe_Aus</field>
                                          <field name="WITH_DELAY">FALSE</field>
                                          <value name="VALUE">
                                            <block type="logic_boolean" id="),A{bxLtK|j*$zd4iVP[">
                                              <field name="BOOL">FALSE</field>
                                            </block>
                                          </value>
                                        </block>
                                      </statement>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </statement>
                        </block>
                      </statement>
                    </block>
                    <block type="on_ext" id="#c0~Yy#Gs8KcOOvO2uCe" x="38" y="213">
                      <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="?nAZl:=^?Hn8S7(z8#}~">
                          <field name="oid">0_userdata.0.PV.Differenz_pv_/_verbrauch</field>
                        </shadow>
                      </value>
                      <value name="OID1">
                        <shadow type="field_oid" id="yu=PtX5(ng-8:Y0OQC,;">
                          <field name="oid">s7.1.DBs.DB1.Pool_Pumpe</field>
                        </shadow>
                      </value>
                      <statement name="STATEMENT">
                        <block type="variables_set" id="-$6haeB#-2)OW^kvlyB!">
                          <field name="VAR" id="nEjb|p?EsLR5{aN`2|35">Überschuss</field>
                          <value name="VALUE">
                            <block type="on_source" id="B8@X:3U**:,HOr_4@%Vn">
                              <field name="ATTR">state.val</field>
                            </block>
                          </value>
                          <next>
                            <block type="variables_set" id="n)y_.r9t-)(UwkTNK532">
                              <field name="VAR" id="$wVDvzwVT3g:A#`#ZwjH">Pumpe Ein</field>
                              <value name="VALUE">
                                <block type="get_value" id="sF}Kw%3onAz:;V[yB(wu">
                                  <field name="ATTR">val</field>
                                  <field name="OID">0_userdata.0.Pool.Pumpe_Ein/Aus</field>
                                </block>
                              </value>
                              <next>
                                <block type="controls_if" id=",7G`w*Eo_urCYCL0?#Un">
                                  <mutation elseif="1"></mutation>
                                  <value name="IF0">
                                    <block type="logic_compare" id=",|ck3v*8@PD+Z#hqw1?)">
                                      <field name="OP">LTE</field>
                                      <value name="A">
                                        <block type="variables_get" id="-|TY;46=oT^Hc36Y,XGa">
                                          <field name="VAR" id="nEjb|p?EsLR5{aN`2|35">Überschuss</field>
                                        </block>
                                      </value>
                                      <value name="B">
                                        <block type="math_number" id="{a#_ANYe]3u6aNEkXGdM">
                                          <field name="NUM">1000</field>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                  <statement name="DO0">
                                    <block type="timeouts_cleartimeout" id="]9QTYw3wts7p=@EQ9cut">
                                      <field name="NAME">delayOn</field>
                                    </block>
                                  </statement>
                                  <value name="IF1">
                                    <block type="logic_multi_and" id=":cCmcjwD_-e],%T/#8A[">
                                      <mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation>
                                      <value name="AND0">
                                        <block type="logic_negate" id="G0$fGV3[yat/nBwjRUG3">
                                          <value name="BOOL">
                                            <block type="variables_get" id="H9RHu()pFT|!GagaGf`g">
                                              <field name="VAR" id="$wVDvzwVT3g:A#`#ZwjH">Pumpe Ein</field>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                      <value name="AND1">
                                        <block type="logic_negate" id="`o~US2I||1wPKpplw2iY">
                                          <value name="BOOL">
                                            <block type="timeouts_gettimeout" id="o95+Pf3;I_ZFgof4W!0F">
                                              <field name="NAME">delayOn</field>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                  <statement name="DO1">
                                    <block type="timeouts_settimeout" id="#D.FYb[C-^xi5LGS[I`A">
                                      <field name="NAME">delayOn</field>
                                      <field name="DELAY">10</field>
                                      <field name="UNIT">min</field>
                                      <statement name="STATEMENT">
                                        <block type="control" id="]|~j1%Fb#./Jml%~DP*U">
                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                          <field name="OID">0_userdata.0.Pool.Pumpe_Ein/Aus</field>
                                          <field name="WITH_DELAY">FALSE</field>
                                          <value name="VALUE">
                                            <block type="logic_boolean" id="%vEi9uqCb-+ukx}_/e#]">
                                              <field name="BOOL">TRUE</field>
                                            </block>
                                          </value>
                                        </block>
                                      </statement>
                                      <next>
                                        <block type="debug" id="iuXgc3`c6!u^]F:z^Mb*">
                                          <field name="Severity">warn</field>
                                          <value name="TEXT">
                                            <shadow type="text" id="pE,ApzJm_8%-Xib2zv:L">
                                              <field name="TEXT">Pool Pumpe Ein</field>
                                            </shadow>
                                          </value>
                                          <next>
                                            <block type="debug" id="tZt5GobAH=W{2H!MQk2X">
                                              <field name="Severity">warn</field>
                                              <value name="TEXT">
                                                <shadow type="text" id="gDT|qNy/lLP`.%JTOW`!">
                                                  <field name="TEXT">test</field>
                                                </shadow>
                                                <block type="get_value_var" id="eSHw@Mv2LN)7S#~(?kB)">
                                                  <field name="ATTR">val</field>
                                                  <value name="OID">
                                                    <shadow type="field_oid" id="wz1]=zg(p|L_hfGvqB#r">
                                                      <field name="oid">0_userdata.0.PV.Differenz_pv_/_verbrauch</field>
                                                    </shadow>
                                                  </value>
                                                </block>
                                              </value>
                                            </block>
                                          </next>
                                        </block>
                                      </next>
                                    </block>
                                  </statement>
                                  <next>
                                    <block type="controls_if" id="e-#TdWURq]={J,Z9V0d@">
                                      <mutation elseif="1"></mutation>
                                      <value name="IF0">
                                        <block type="logic_compare" id="6;i;LeuAmmQ6_ZBHbP#0">
                                          <field name="OP">GTE</field>
                                          <value name="A">
                                            <block type="variables_get" id="T22M$X.Uv_i[n=e)6*vB">
                                              <field name="VAR" id="nEjb|p?EsLR5{aN`2|35">Überschuss</field>
                                            </block>
                                          </value>
                                          <value name="B">
                                            <block type="math_number" id="$NU^!NN-QNH5f$rv!o]7">
                                              <field name="NUM">500</field>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                      <statement name="DO0">
                                        <block type="timeouts_cleartimeout" id="GDH,DrXR;`l6C#[N[]!]">
                                          <field name="NAME">delayOff</field>
                                        </block>
                                      </statement>
                                      <value name="IF1">
                                        <block type="logic_multi_and" id="-(yY@|J|]}/@Ct~D:9G[">
                                          <mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation>
                                          <value name="AND0">
                                            <block type="variables_get" id="9nlvCS00gF=r1~@jLZ|i">
                                              <field name="VAR" id="$wVDvzwVT3g:A#`#ZwjH">Pumpe Ein</field>
                                            </block>
                                          </value>
                                          <value name="AND1">
                                            <block type="logic_negate" id="YuHhNBakU2e5Wt~qCk6@">
                                              <value name="BOOL">
                                                <block type="timeouts_gettimeout" id="^pa1Sem^re7V_Mv91!R3">
                                                  <field name="NAME">delayOff</field>
                                                </block>
                                              </value>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                      <statement name="DO1">
                                        <block type="timeouts_settimeout" id="j,%YP|d9AteH3mM#-Hly">
                                          <field name="NAME">delayOff</field>
                                          <field name="DELAY">10</field>
                                          <field name="UNIT">min</field>
                                          <statement name="STATEMENT">
                                            <block type="control" id="OvY=ea*Ix$bfb88yl%HU">
                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                              <field name="OID">0_userdata.0.Pool.Pumpe_Ein/Aus</field>
                                              <field name="WITH_DELAY">FALSE</field>
                                              <value name="VALUE">
                                                <block type="logic_boolean" id="`a34oZ41AUGDKslGKte]">
                                                  <field name="BOOL">FALSE</field>
                                                </block>
                                              </value>
                                            </block>
                                          </statement>
                                          <next>
                                            <block type="debug" id="H5}y05T{e:`_T(2Qi;:w">
                                              <field name="Severity">warn</field>
                                              <value name="TEXT">
                                                <shadow type="text" id="/hLcr1IqD?GU2n[:j{[w">
                                                  <field name="TEXT">Pool Pumpe Aus</field>
                                                </shadow>
                                              </value>
                                              <next>
                                                <block type="debug" id="y,Ou7RwkhDa@G;5C`^U0">
                                                  <field name="Severity">warn</field>
                                                  <value name="TEXT">
                                                    <shadow type="text" id="gDT|qNy/lLP`.%JTOW`!">
                                                      <field name="TEXT">test</field>
                                                    </shadow>
                                                    <block type="get_value_var" id=")Q9$|v/:hgJ@[I(WL^*N">
                                                      <field name="ATTR">val</field>
                                                      <value name="OID">
                                                        <shadow type="field_oid" id="lm?j0t2|-QT8KSvumC2x">
                                                          <field name="oid">0_userdata.0.PV.Differenz_pv_/_verbrauch</field>
                                                        </shadow>
                                                      </value>
                                                    </block>
                                                  </value>
                                                </block>
                                              </next>
                                            </block>
                                          </next>
                                        </block>
                                      </statement>
                                      <next>
                                        <block type="controls_if" id="%qW^:uU$~2+!`m/3cj;:">
                                          <value name="IF0">
                                            <block type="time_compare" id="y0tLdM?GP%jxi4C@-dh-">
                                              <mutation xmlns="http://www.w3.org/1999/xhtml" end_time="true"></mutation>
                                              <field name="OPTION">between</field>
                                              <field name="START_TIME">20:00</field>
                                              <field name="END_TIME">20:01</field>
                                            </block>
                                          </value>
                                          <statement name="DO0">
                                            <block type="control" id="?`7p[:i,Z$7xTx%dz.Kr">
                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                              <field name="OID">0_userdata.0.Pool.Pumpe_Ein/Aus</field>
                                              <field name="WITH_DELAY">FALSE</field>
                                              <value name="VALUE">
                                                <block type="logic_boolean" id="RK(=0y[p:OhWH(sR.eph">
                                                  <field name="BOOL">FALSE</field>
                                                </block>
                                              </value>
                                              <next>
                                                <block type="debug" id="|V3zl?7De(7pa!d$7?}:">
                                                  <field name="Severity">warn</field>
                                                  <value name="TEXT">
                                                    <shadow type="text" id="1Q/tKfP:UAr{Dlw*FYp/">
                                                      <field name="TEXT">Pool Pumpe Aus Zeit 20:00</field>
                                                    </shadow>
                                                  </value>
                                                </block>
                                              </next>
                                            </block>
                                          </statement>
                                        </block>
                                      </next>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </next>
                        </block>
                      </statement>
                    </block>
                    <block type="on" id="nu@6ik./ph!Gn~}O,W$Z" disabled="true" x="713" y="213">
                      <field name="OID">0_userdata.0.PV.Differenz_pv_/_verbrauch</field>
                      <field name="CONDITION">ne</field>
                      <field name="ACK_CONDITION"></field>
                      <statement name="STATEMENT">
                        <block type="variables_set" id="]EQa!/(5Is,0=x4pznM^">
                          <field name="VAR" id="nEjb|p?EsLR5{aN`2|35">Überschuss</field>
                          <value name="VALUE">
                            <block type="on_source" id="9!A4suCLf1),3k-c~*wQ">
                              <field name="ATTR">state.val</field>
                            </block>
                          </value>
                          <next>
                            <block type="variables_set" id="!GriOn!YS(lxq+BeR!)C">
                              <field name="VAR" id="XiY.%*SlHfThLWKP.$g.">Wp Ein</field>
                              <value name="VALUE">
                                <block type="get_value" id="h|Ii^#.mO5rhiBay}pv7">
                                  <field name="ATTR">val</field>
                                  <field name="OID">0_userdata.0.Pool.Wärmepumpe_Ein/Aus</field>
                                </block>
                              </value>
                              <next>
                                <block type="controls_if" id="2s+sB:CpQq!SS`3+K%IJ">
                                  <mutation elseif="1"></mutation>
                                  <value name="IF0">
                                    <block type="logic_compare" id="|sH5sjk`}VPTs,za1d6I">
                                      <field name="OP">LTE</field>
                                      <value name="A">
                                        <block type="variables_get" id="R$z9X7z[u.K*1:@ugsR9">
                                          <field name="VAR" id="nEjb|p?EsLR5{aN`2|35">Überschuss</field>
                                        </block>
                                      </value>
                                      <value name="B">
                                        <block type="math_number" id="#FUFY)*zB$26xi{QVh1]">
                                          <field name="NUM">1000</field>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                  <statement name="DO0">
                                    <block type="timeouts_cleartimeout" id="P.nNb7@aW+7/IzKh#OIw">
                                      <field name="NAME">delayOn2</field>
                                    </block>
                                  </statement>
                                  <value name="IF1">
                                    <block type="logic_multi_and" id="?(YfGLBAUUO9_T}m;=B-">
                                      <mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation>
                                      <value name="AND0">
                                        <block type="logic_negate" id="#5^Gl^x$`bChz!Y+IE%:">
                                          <value name="BOOL">
                                            <block type="variables_get" id="AIN~e#n;bN|~`xu:u[iR">
                                              <field name="VAR" id="XiY.%*SlHfThLWKP.$g.">Wp Ein</field>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                      <value name="AND1">
                                        <block type="logic_negate" id="R`!Is;Q[Jz326QMtE)by">
                                          <value name="BOOL">
                                            <block type="timeouts_gettimeout" id=":`t*X7j*LMv(.::2c;LL">
                                              <field name="NAME">delayOn2</field>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                  <statement name="DO1">
                                    <block type="timeouts_settimeout" id="6oxe^*|DJsY-gY-CMK@~">
                                      <field name="NAME">delayOn2</field>
                                      <field name="DELAY">1</field>
                                      <field name="UNIT">min</field>
                                      <statement name="STATEMENT">
                                        <block type="control" id="%n,UAM:;mj:b)$B`EMdL">
                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                          <field name="OID">0_userdata.0.Pool.Wärmepumpe_Ein/Aus</field>
                                          <field name="WITH_DELAY">FALSE</field>
                                          <value name="VALUE">
                                            <block type="logic_boolean" id="HU#[:ay#t84+el0Y.D$a">
                                              <field name="BOOL">TRUE</field>
                                            </block>
                                          </value>
                                        </block>
                                      </statement>
                                      <next>
                                        <block type="debug" id="Q2t}F]J{vAYE_9{khT_=">
                                          <field name="Severity">warn</field>
                                          <value name="TEXT">
                                            <shadow type="text" id="7G#7D*|t)CoLiI~e?W66">
                                              <field name="TEXT">Wärmepumpe Ein</field>
                                            </shadow>
                                          </value>
                                          <next>
                                            <block type="debug" id=",UUj9I`!E0n1{?wY_,xf">
                                              <field name="Severity">warn</field>
                                              <value name="TEXT">
                                                <shadow type="text" id="gDT|qNy/lLP`.%JTOW`!">
                                                  <field name="TEXT">test</field>
                                                </shadow>
                                                <block type="get_value_var" id="IL+eR[,n69xVM:1=|K}.">
                                                  <field name="ATTR">val</field>
                                                  <value name="OID">
                                                    <shadow type="field_oid" id="@:ifN1g(nSY)#1=P]{,f">
                                                      <field name="oid">0_userdata.0.PV.Differenz_pv_/_verbrauch</field>
                                                    </shadow>
                                                  </value>
                                                </block>
                                              </value>
                                            </block>
                                          </next>
                                        </block>
                                      </next>
                                    </block>
                                  </statement>
                                  <next>
                                    <block type="controls_if" id="1%Lv+2cQw(Pz%)`,xPA5">
                                      <mutation elseif="1"></mutation>
                                      <value name="IF0">
                                        <block type="logic_compare" id="CUw/-!`$EswFWr0Ko9!h">
                                          <field name="OP">GTE</field>
                                          <value name="A">
                                            <block type="variables_get" id="j(uPvN4BLXDTN|%NrAva">
                                              <field name="VAR" id="nEjb|p?EsLR5{aN`2|35">Überschuss</field>
                                            </block>
                                          </value>
                                          <value name="B">
                                            <block type="math_number" id="7G6l-Hg%arous|=[:QL?">
                                              <field name="NUM">500</field>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                      <statement name="DO0">
                                        <block type="timeouts_cleartimeout" id="3(hJlJMx{E[|LHT6i9!6">
                                          <field name="NAME">delayOff2</field>
                                        </block>
                                      </statement>
                                      <value name="IF1">
                                        <block type="logic_multi_and" id="v$KLzQ9|Sn*%;#GzB9hE">
                                          <mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation>
                                          <value name="AND0">
                                            <block type="variables_get" id="@9ole8~d7=+^/Otm8y*l">
                                              <field name="VAR" id="XiY.%*SlHfThLWKP.$g.">Wp Ein</field>
                                            </block>
                                          </value>
                                          <value name="AND1">
                                            <block type="logic_negate" id="$V_^H%3`]A3047KF[xm6">
                                              <value name="BOOL">
                                                <block type="timeouts_gettimeout" id=")f6niYqXvB8X9lH/_`kX">
                                                  <field name="NAME">delayOff2</field>
                                                </block>
                                              </value>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                      <statement name="DO1">
                                        <block type="timeouts_settimeout" id="~3EM4oD[4SY%4W,g:`q_">
                                          <field name="NAME">delayOff2</field>
                                          <field name="DELAY">10</field>
                                          <field name="UNIT">min</field>
                                          <statement name="STATEMENT">
                                            <block type="control" id="2p~AKjXZTIxDl=5r+QcT">
                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                              <field name="OID">0_userdata.0.Pool.Wärmepumpe_Ein/Aus</field>
                                              <field name="WITH_DELAY">FALSE</field>
                                              <value name="VALUE">
                                                <block type="logic_boolean" id="NZ~9=tVIHgs5W5|]cB}/">
                                                  <field name="BOOL">FALSE</field>
                                                </block>
                                              </value>
                                            </block>
                                          </statement>
                                          <next>
                                            <block type="debug" id=".pCl6d7:MsP|x~7VtOVn">
                                              <field name="Severity">warn</field>
                                              <value name="TEXT">
                                                <shadow type="text" id="$UH|MVCguxf;2}NEWC`4">
                                                  <field name="TEXT">Wärmepumpe Aus</field>
                                                </shadow>
                                              </value>
                                              <next>
                                                <block type="debug" id="Or9*g2|MO89^q3)1,fYq">
                                                  <field name="Severity">warn</field>
                                                  <value name="TEXT">
                                                    <shadow type="text" id="gDT|qNy/lLP`.%JTOW`!">
                                                      <field name="TEXT">test</field>
                                                    </shadow>
                                                    <block type="get_value_var" id="v7X^tmm3PRb)iI4W(;ce">
                                                      <field name="ATTR">val</field>
                                                      <value name="OID">
                                                        <shadow type="field_oid" id="JWl(TN%?lsGr[ZH@gV@c">
                                                          <field name="oid">0_userdata.0.PV.Differenz_pv_/_verbrauch</field>
                                                        </shadow>
                                                      </value>
                                                    </block>
                                                  </value>
                                                </block>
                                              </next>
                                            </block>
                                          </next>
                                        </block>
                                      </statement>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </next>
                        </block>
                      </statement>
                    </block>
                  </xml>
                  

                  Vielen Dank für Hilfe

                  paul53 2 Replies Last reply Reply Quote 0
                  • paul53
                    paul53 @Jonas5492 last edited by paul53

                    @jonas5492 sagte: pumpe geht auch aus wenn ich einen überschuss von über 19kw habe

                    Es sieht so aus, als bliebe sie aus (Überschuss nicht mind. 10 Minuten über 1000 W?).

                    Dieses Log sagt wenig aus: Schiebe die Debug-Blöcke in die Verzögerungen.

                    Damit ab 20:00 Uhr nicht ständig die Pumpe ausgeschaltet wird, prüfe zusätzlich (UND) noch die Variable Pumpe ein.

                    J 1 Reply Last reply Reply Quote 0
                    • J
                      Jonas5492 @paul53 last edited by

                      @paul53 "Es sieht so aus, als bliebe sie aus (Überschuss nicht mind. 10 Minuten über 1000 W?)."

                      ich denke das der überschuss hier um die uhrzeit
                      (2025-06-11 14:03:06.629 - warn: javascript.0 (2186983) script.js.PV.Poolsteuerung_PV_überschuss: Pool Pumpe Aus
                      2025-06-11 14:03:06.631 - warn: javascript.0 (2186983) script.js.PV.Poolsteuerung_PV_überschuss: 19280)

                      nie unter 1000W fällt in 10 min
                      ich habe eine 25kw anlage normal müsste diese immer über 1000W haben auser bei schlechten wetter
                      deshalb finde ich es komisch

                      ich werde die debug blöcke auch noch bei der verzögerung einfügen

                      Die zeitsteuerung um 20:00 habe ich auch nur 1 minute aktiv

                      werde jetzt mal schauen was mit den neuen debug rauskommt

                      Vielen Dank schon mal

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

                        @jonas5492
                        Sehe gerade: Du hast zwei Trigger-DP (wozu?), verwendest aber die Variable Wert. Das funktioniert nicht!!

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

                          @jonas5492 sagte: werde jetzt mal schauen was mit den neuen debug rauskommt

                          Packe die Debug-Blöcke besser in den Trigger von "Pumpe Ein/Aus":

                          Blockly_temp.JPG

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

                          Support us

                          ioBroker
                          Community Adapters
                          Donate

                          836
                          Online

                          31.9k
                          Users

                          80.1k
                          Topics

                          1.3m
                          Posts

                          5
                          26
                          1127
                          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