Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Skripten / Logik
  4. Blockly
  5. Pool Wärmepumpe & PV Überschuss + PV Speicherfüllstand

NEWS

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    17
    1
    3.1k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    1.1k

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.4k

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

Geplant Angeheftet Gesperrt Verschoben Blockly
26 Beiträge 5 Kommentatoren 2.2k Aufrufe 5 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • T Tobias_B

    @paul53

    Meine Idee war, dass morgens erst der Speicher auf 95% aufgeladen wird.
    Wenn dann Überschuss vorhanden, Pool Wärmepumpe an.
    Damit nicht bei jedem Wolkenfeld welches durchzieht die Wärmepumpe wieder aus geht, soll die Wärmepumpe auch aus dem Speicher betrieben werden, bis Speicherfüllstand von 90% erreicht.
    Dann soll die Wärmepumpe wieder aus gehen.

    Oder siehst du da einen Gedankenfehler?

    Aktuell so angepasst, Speicher lädt gerade noch auf ;)

    Neu2.png

    paul53P Offline
    paul53P Offline
    paul53
    schrieb am zuletzt editiert von paul53
    #8

    @tobias_b sagte: Wärmepumpe auch aus dem Speicher betrieben werden, bis Speicherfüllstand von 90% erreicht.

    Das verstehe ich nicht. Ausschalten bei Akku >= 90 % bedeutet: Wenn es den Rest des Tages bedeckt ist, wird der Akku durch die WP geleert. Nach meinem Verständnis muss die WP ausgeschaltet werden, wenn der Akku einen bestimmten Stand unterschreitet.

    Blockly_temp.JPG

    Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
    Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

    T 1 Antwort Letzte Antwort
    0
    • paul53P paul53

      @tobias_b sagte: Wärmepumpe auch aus dem Speicher betrieben werden, bis Speicherfüllstand von 90% erreicht.

      Das verstehe ich nicht. Ausschalten bei Akku >= 90 % bedeutet: Wenn es den Rest des Tages bedeckt ist, wird der Akku durch die WP geleert. Nach meinem Verständnis muss die WP ausgeschaltet werden, wenn der Akku einen bestimmten Stand unterschreitet.

      Blockly_temp.JPG

      T Offline
      T Offline
      Tobias_B
      schrieb am zuletzt editiert von
      #9

      @paul53
      Ja genau,

      • Wärmepumpe ein, wenn PV Speicher voll >95% und genügend PV Leistung vorhanden.
      • Wärmepumpe aus, wenn Speicher unter 90% Füllstand. Damit die Wärmepumpe nicht den Speicher komplett leer zieht, aber bei kleinen Wolkenfeldern nicht jedes mal abschaltet.

      So habe ich es auch versucht im Script zu realisieren....

      Habe ich da einen Denkfehler?

      paul53P 1 Antwort Letzte Antwort
      0
      • T Tobias_B

        @paul53
        Ja genau,

        • Wärmepumpe ein, wenn PV Speicher voll >95% und genügend PV Leistung vorhanden.
        • Wärmepumpe aus, wenn Speicher unter 90% Füllstand. Damit die Wärmepumpe nicht den Speicher komplett leer zieht, aber bei kleinen Wolkenfeldern nicht jedes mal abschaltet.

        So habe ich es auch versucht im Script zu realisieren....

        Habe ich da einen Denkfehler?

        paul53P Offline
        paul53P Offline
        paul53
        schrieb am zuletzt editiert von
        #10

        @tobias_b sagte: Habe ich da einen Denkfehler?

        Nein, aber das Blockly hat den falschen Vergleich: Akku >= 90 --> Akku < 90.

        Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
        Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

        T 1 Antwort Letzte Antwort
        0
        • paul53P paul53

          @tobias_b sagte: Habe ich da einen Denkfehler?

          Nein, aber das Blockly hat den falschen Vergleich: Akku >= 90 --> Akku < 90.

          T Offline
          T Offline
          Tobias_B
          schrieb am zuletzt editiert von
          #11

          @paul53 Ups, da sieht man den Wald vor Bäumen nicht :grin: :grin:
          Habe mich schon gewundert, warum die die Pumpe immer abgeschaltet wird, wenn die Leisung kurzfristig abfällt, aber der Speicher noch gefüllt ist... Heute halt teilweise bewölkt hier :wink:

          Dann werde ich das nun mal im Auge behalten ab es sich so verhält wie ich es gerne hätte...

          Danke DIR für deine Geduld :+1: :+1: :+1:

          M 1 Antwort Letzte Antwort
          0
          • T Tobias_B

            @paul53 Ups, da sieht man den Wald vor Bäumen nicht :grin: :grin:
            Habe mich schon gewundert, warum die die Pumpe immer abgeschaltet wird, wenn die Leisung kurzfristig abfällt, aber der Speicher noch gefüllt ist... Heute halt teilweise bewölkt hier :wink:

            Dann werde ich das nun mal im Auge behalten ab es sich so verhält wie ich es gerne hätte...

            Danke DIR für deine Geduld :+1: :+1: :+1:

            M Offline
            M Offline
            maniac
            schrieb am zuletzt editiert von
            #12

            @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?

            Gruß Frank…

            1 Antwort Letzte Antwort
            0
            • J Offline
              J Offline
              Jonas5492
              schrieb am zuletzt editiert von
              #13

              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>
              
              paul53P 1 Antwort Letzte Antwort
              0
              • J Jonas5492

                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>
                
                paul53P Offline
                paul53P Offline
                paul53
                schrieb am zuletzt editiert von paul53
                #14

                @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

                Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
                Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

                J 1 Antwort Letzte Antwort
                0
                • paul53P 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 Offline
                  J Offline
                  Jonas5492
                  schrieb am zuletzt editiert von Jonas5492
                  #15

                  @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.

                  paul53P 1 Antwort Letzte Antwort
                  0
                  • J 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.

                    paul53P Offline
                    paul53P Offline
                    paul53
                    schrieb am zuletzt editiert von paul53
                    #16

                    @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.

                    Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
                    Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

                    J 1 Antwort Letzte Antwort
                    0
                    • paul53P 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 Offline
                      J Offline
                      Jonas5492
                      schrieb am zuletzt editiert von
                      #17

                      @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

                      paul53P 1 Antwort Letzte Antwort
                      0
                      • J Jonas5492

                        @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

                        paul53P Offline
                        paul53P Offline
                        paul53
                        schrieb am zuletzt editiert von
                        #18

                        @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.

                        Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
                        Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

                        J 1 Antwort Letzte Antwort
                        0
                        • paul53P paul53

                          @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 Offline
                          J Offline
                          Jonas5492
                          schrieb am zuletzt editiert von
                          #19

                          @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

                          paul53P 1 Antwort Letzte Antwort
                          0
                          • J Jonas5492

                            @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

                            paul53P Offline
                            paul53P Offline
                            paul53
                            schrieb am zuletzt editiert von paul53
                            #20

                            @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

                            Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
                            Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

                            1 Antwort Letzte Antwort
                            0
                            • J Offline
                              J Offline
                              Jonas5492
                              schrieb am zuletzt editiert von Jonas5492
                              #21

                              @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 :+1:

                              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 Antwort Letzte Antwort
                              0
                              • J Offline
                                J Offline
                                Jonas5492
                                schrieb am zuletzt editiert von
                                #22

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

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

                                Folgende werte habe ich im Log.

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

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

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

                                Vielen Dank für Hilfe

                                paul53P 2 Antworten Letzte Antwort
                                0
                                • J Jonas5492

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

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

                                  Folgende werte habe ich im Log.

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

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

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

                                  Vielen Dank für Hilfe

                                  paul53P Offline
                                  paul53P Offline
                                  paul53
                                  schrieb am zuletzt editiert von paul53
                                  #23

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

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

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

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

                                  Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
                                  Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

                                  J 1 Antwort Letzte Antwort
                                  0
                                  • paul53P paul53

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

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

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

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

                                    J Offline
                                    J Offline
                                    Jonas5492
                                    schrieb am zuletzt editiert von
                                    #24

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

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

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

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

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

                                    werde jetzt mal schauen was mit den neuen debug rauskommt

                                    Vielen Dank schon mal

                                    paul53P 1 Antwort Letzte Antwort
                                    0
                                    • J Jonas5492

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

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

                                      Folgende werte habe ich im Log.

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

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

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

                                      Vielen Dank für Hilfe

                                      paul53P Offline
                                      paul53P Offline
                                      paul53
                                      schrieb am zuletzt editiert von
                                      #25

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

                                      Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
                                      Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

                                      1 Antwort Letzte Antwort
                                      0
                                      • J Jonas5492

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

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

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

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

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

                                        werde jetzt mal schauen was mit den neuen debug rauskommt

                                        Vielen Dank schon mal

                                        paul53P Offline
                                        paul53P Offline
                                        paul53
                                        schrieb am zuletzt editiert von paul53
                                        #26

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

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

                                        Blockly_temp.JPG

                                        Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
                                        Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

                                        1 Antwort Letzte Antwort
                                        0
                                        Antworten
                                        • In einem neuen Thema antworten
                                        Anmelden zum Antworten
                                        • Älteste zuerst
                                        • Neuste zuerst
                                        • Meiste Stimmen


                                        Support us

                                        ioBroker
                                        Community Adapters
                                        Donate

                                        767

                                        Online

                                        32.7k

                                        Benutzer

                                        82.3k

                                        Themen

                                        1.3m

                                        Beiträge
                                        Community
                                        Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                        ioBroker Community 2014-2025
                                        logo
                                        • Anmelden

                                        • Du hast noch kein Konto? Registrieren

                                        • Anmelden oder registrieren, um zu suchen
                                        • Erster Beitrag
                                          Letzter Beitrag
                                        0
                                        • Home
                                        • Aktuell
                                        • Tags
                                        • Ungelesen 0
                                        • Kategorien
                                        • Unreplied
                                        • Beliebt
                                        • GitHub
                                        • Docu
                                        • Hilfe