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

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

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

    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      maniac @Tobias_B last edited by

      @tobias_b Moin.

      Ich bin auch gerade in der Findungsphase.. 🙂
      Solaranlage läuft, nun soll der Pool warm werden.

      Magst Du mir sagen welche Hardware Du verbaut hast? Welche Wärmepmpe?
      Und wie sie im IOBroker eingebunden ist?

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

        ich habe fast das gleiche vor
        kann jemand über mein skript darüberschauen ob es so funktioniert oder was kann ich verbessern kann.
        kurz zu meinen angaben:
        ich prüfe (PV leistung aktuell - (PV an Verbraucher + PV an Batterie) dies ist mein Objekt Differenz)
        ich möchte das die pumpe zwischen 8 und 21 uhr läuft
        die pumpe soll ab 1kw überschuss anfangen zum laufen und abschalten wenn der wert auf 200W absinkt aber es soll noch 10 min warten und dann nochmals prüfen und dann abschalten wenn immer noch unter 200w
        Unbenannt.PNG
        ich hoffe ihr versteht was ich meine
        und wenn ich es so mache wann läuft die pumpe wieder an
        ich möchte verhindern dass die pumpe immer an und aus geht
        ich möchte auch noch das gleiche script für die wärmepumpe erstellen aber mit höheren werten

        der wert gartenbeleuchtung steht eig für die pumpe, ist nur testzweck
        und ich benötige durch meine siemens logo immer eine rückstellung des wertes da bei der logo keine taster funktionieren

        MfG Jonas

        <xml xmlns="https://developers.google.com/blockly/xml">
          <variables>
            <variable type="timeout" id="timeout">timeout</variable>
            <variable type="timeout" id="timeout4">timeout4</variable>
            <variable type="timeout" id="timeout2">timeout2</variable>
            <variable type="timeout" id="timeout3">timeout3</variable>
          </variables>
          <block type="on_ext" id="oaL|SQ^9FlR7oB!=v@Jk" x="363" y="-62">
            <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
            <field name="CONDITION">ne</field>
            <field name="ACK_CONDITION"></field>
            <value name="OID0">
              <shadow type="field_oid" id="k.]Fdjwxl;kEY+d/9[,,">
                <field name="oid">modbus.1.inputRegisters.5016_Total_DC_Power</field>
              </shadow>
            </value>
            <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="$!}j`TXzL~USW2{RbOQk" x="400" y="117">
            <field name="COMMENT">Pumpe einschalten ab 1000 kw sonnenleistung</field>
            <next>
              <block type="on_ext" id="9ZdRm?Iz2c?C51bfUnb(">
                <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                <field name="CONDITION">ne</field>
                <field name="ACK_CONDITION"></field>
                <value name="OID0">
                  <shadow type="field_oid" id="I|(]UX-B#U,X.c7ZS[]4">
                    <field name="oid">0_userdata.0.PV.Differenz_pv_/_verbrauch</field>
                  </shadow>
                </value>
                <statement name="STATEMENT">
                  <block type="controls_if" id="YY;|PF0+rtfJ`eN]hZ.1">
                    <value name="IF0">
                      <block type="time_compare_ex" id="$+HKl{(FoNA@%.K$D1|-">
                        <mutation xmlns="http://www.w3.org/1999/xhtml" end_time="true" actual_time="true"></mutation>
                        <field name="USE_ACTUAL_TIME">TRUE</field>
                        <field name="OPTION">between</field>
                        <value name="START_TIME">
                          <shadow type="text" id="X5[;/vbkTbdWwU[x`d4Z">
                            <field name="TEXT">8:00</field>
                          </shadow>
                        </value>
                        <value name="END_TIME">
                          <shadow type="text" id="vv~,_Q65Sk*3mF=CQ32K">
                            <field name="TEXT">21:00</field>
                          </shadow>
                        </value>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="control" id="mJ~v(93:,(Jue1Im@NV{">
                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                        <field name="OID">s7.1.DBs.DB1.Gartenbeleuchtung_Ein</field>
                        <field name="WITH_DELAY">FALSE</field>
                        <value name="VALUE">
                          <block type="logic_boolean" id="ute*puJ5kHgsfmLLte]d">
                            <field name="BOOL">TRUE</field>
                          </block>
                        </value>
                        <next>
                          <block type="timeouts_settimeout" id="9DPCM1j82q:D6Z_LtNG~">
                            <field name="NAME">timeout</field>
                            <field name="DELAY">1000</field>
                            <field name="UNIT">ms</field>
                            <statement name="STATEMENT">
                              <block type="control" id="WDoOHX}@3SA60.ludRpw">
                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                <field name="OID">s7.1.DBs.DB1.Gartenbeleuchtung_Ein</field>
                                <field name="WITH_DELAY">FALSE</field>
                                <value name="VALUE">
                                  <block type="logic_boolean" id=".pv;rbASM+G^=PFDf[Aj">
                                    <field name="BOOL">FALSE</field>
                                  </block>
                                </value>
                              </block>
                            </statement>
                            <next>
                              <block type="controls_if" id="!h(Gc`-[cU${Jmzd5Px4">
                                <mutation elseif="1"></mutation>
                                <value name="IF0">
                                  <block type="logic_compare" id="~q;5MNW/n-?GUBR=U~K+">
                                    <field name="OP">GT</field>
                                    <value name="A">
                                      <block type="on_source" id=";t#6vn`Y^]30JH*O8rjk">
                                        <field name="ATTR">state.val</field>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="math_number" id="AyL%B^*iQ]SC*Zz%T@iX">
                                        <field name="NUM">1000</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <statement name="DO0">
                                  <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.Gartenbeleuchtung_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">timeout2</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.Gartenbeleuchtung_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>
                                <value name="IF1">
                                  <block type="logic_compare" id="Gw}]U}Xa-e1l=[fKKb7M">
                                    <field name="OP">LTE</field>
                                    <value name="A">
                                      <block type="on_source" id="oz1V^`:6HcxfKv)n9r6_">
                                        <field name="ATTR">state.val</field>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="math_number" id=";?$G!u2y5pA!Q:c=9*NR">
                                        <field name="NUM">200</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <statement name="DO1">
                                  <block type="timeouts_settimeout" id="=GGU5GZGbQ!]{BMRc+B%">
                                    <field name="NAME">timeout4</field>
                                    <field name="DELAY">10</field>
                                    <field name="UNIT">min</field>
                                    <statement name="STATEMENT">
                                      <block type="controls_if" id="23ljJ|~ClaCaEspRvOL!">
                                        <value name="IF0">
                                          <block type="logic_compare" id="lA#bd@l_YVIGd8}v9CrQ">
                                            <field name="OP">LTE</field>
                                            <value name="A">
                                              <block type="on_source" id="/hk4nhY:%u}-%^wS`^w~">
                                                <field name="ATTR">state.val</field>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block type="math_number" id="qns2.B#E+m:(M{RXl%Yg">
                                                <field name="NUM">200</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <next>
                                          <block type="control" id="lUDirwjXJGw1]M+(Fz+_">
                                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                            <field name="OID">s7.1.DBs.DB1.Gartenbeleuchtung_Aus</field>
                                            <field name="WITH_DELAY">FALSE</field>
                                            <value name="VALUE">
                                              <block type="logic_boolean" id="jn^VhcT,X5`.WHqMYSVK">
                                                <field name="BOOL">TRUE</field>
                                              </block>
                                            </value>
                                            <next>
                                              <block type="timeouts_settimeout" id="-_[jIN,Zb/Nyw9p=(y-c">
                                                <field name="NAME">timeout3</field>
                                                <field name="DELAY">1000</field>
                                                <field name="UNIT">ms</field>
                                                <statement name="STATEMENT">
                                                  <block type="control" id="gVkJ-TdP@rtD6![:H;jk">
                                                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                    <field name="OID">s7.1.DBs.DB1.Gartenbeleuchtung_Aus</field>
                                                    <field name="WITH_DELAY">FALSE</field>
                                                    <value name="VALUE">
                                                      <block type="logic_boolean" id="5aLZemrykr5r_|ayn;Ou">
                                                        <field name="BOOL">FALSE</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </statement>
                                              </block>
                                            </next>
                                          </block>
                                        </next>
                                      </block>
                                    </statement>
                                  </block>
                                </statement>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </statement>
                  </block>
                </statement>
              </block>
            </next>
          </block>
        </xml>
        
        paul53 1 Reply Last reply Reply Quote 0
        • paul53
          paul53 @Jonas5492 last edited by paul53

          @jonas5492 sagte: - (PV an Verbraucher

          Wie wird diese Leitung ermittelt?

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

          ich möchte verhindern dass die pumpe immer an und aus geht

          Prinzip:

          Blockly_temp.JPG

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

            @paul53
            Danke für das Script
            Aber in dem Script ist doch auch die Einschaltung um 10min verzögert oder?
            Und ich möchte nur die Ausschaltung um 10 min verzögern und wenn der wert immer noch unter soll ist aus geht und wenn er über soll ist an bleibt.
            Bin mit blockly nicht so fit
            Der wert "pv an Verbraucher" kommt vom wechselrichter und ist der wert was aktuell im Haus benötigt wird.
            Wenn die Pumpe ein geht wird diese dann auch dazugerechnet.

            paul53 1 Reply Last reply Reply Quote 0
            • 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
                        • First post
                          Last post

                        Support us

                        ioBroker
                        Community Adapters
                        Donate

                        952
                        Online

                        31.7k
                        Users

                        79.7k
                        Topics

                        1.3m
                        Posts

                        5
                        21
                        825
                        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