Skip to content
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • 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

  • Default (No Skin)
  • No Skin
Collapse
Logo
  1. ioBroker Community Home
  2. Deutsch
  3. Tester
  4. Test Adapter Zendure Solarflow

NEWS

  • Wartung am 15.11. – Forum ab 22:00 Uhr nicht erreichbar
    BluefoxB
    Bluefox
    11
    2
    197

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    7.9k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    1.7k

Test Adapter Zendure Solarflow

Test Adapter Zendure Solarflow

Scheduled Pinned Locked Moved Tester
2.0k Posts 97 Posters 884.2k Views 92 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L lesiflo

    @diet99 Ja, genau. Die 4 angemeckerten Variablen musst du bei dir am besten unter 0_userdata.0. in einem eigenen Ordner anlegen und dann im Script an der jeweiligen Stelle eintragen.

    Alles was gelb markiert ist kann du rauslöschen, ist für meine Wallbox.

    0a04adf2-1f02-444f-9a99-c954aa33ee0d-image.png
    8a8dc0f8-5b90-4076-a08a-8cd1f55dc8ed-image.png

    D Offline
    D Offline
    diet99
    wrote on last edited by diet99
    #121

    @lesiflo Super - vielen Dank. Klappt jetzt offenbar.
    Die Zeilen mit mqtt wollte ich gerade noch nachfragen, aber das hast Du ja geschrieben, daß die rauskönnen.

    Nun muß ich nur noch schauen, wie ich die erzeugten Daten visualisieren kann.
    Werden die eigentlich irgendwo als historische Daten abgelegt, oder wie funktioniert das genau?

    L 2 Replies Last reply
    0
    • D diet99

      @lesiflo Super - vielen Dank. Klappt jetzt offenbar.
      Die Zeilen mit mqtt wollte ich gerade noch nachfragen, aber das hast Du ja geschrieben, daß die rauskönnen.

      Nun muß ich nur noch schauen, wie ich die erzeugten Daten visualisieren kann.
      Werden die eigentlich irgendwo als historische Daten abgelegt, oder wie funktioniert das genau?

      L Offline
      L Offline
      lesiflo
      Most Active
      wrote on last edited by lesiflo
      #122

      @diet99 Dafür gibt es mehrere Möglichkeiten. Am besten den history-Adapter installieren und dann für die jeweiligen Datenobjekte auswählen.

      History-Adapter
      bee19d0d-699b-4eac-a710-0e0c43a80ef2-image.png

      Rechts auf das Zahnrad klicken
      3682edfb-d4d5-43c3-9a08-5d4abc2ad394-image.png

      Dann auf "Aktiviert" klicken. Ich nutze jedoch influxdb und nicht history. Damit kann man noch etwas mehr machen.

      ee82e3f8-0630-45ca-b86c-6e2c7647eb57-image.png

      1 Reply Last reply
      0
      • D diet99

        @lesiflo Super - vielen Dank. Klappt jetzt offenbar.
        Die Zeilen mit mqtt wollte ich gerade noch nachfragen, aber das hast Du ja geschrieben, daß die rauskönnen.

        Nun muß ich nur noch schauen, wie ich die erzeugten Daten visualisieren kann.
        Werden die eigentlich irgendwo als historische Daten abgelegt, oder wie funktioniert das genau?

        L Offline
        L Offline
        lesiflo
        Most Active
        wrote on last edited by
        #123

        @diet99 sagte in Test Adapter Zendure Solarflow:

        @lesiflo Super - vielen Dank. Klappt jetzt offenbar.
        Die Zeilen mit mqtt wollte ich gerade noch nachfragen, aber das hast Du ja geschrieben, daß die rauskönnen.

        Nun muß ich nur noch schauen, wie ich die erzeugten Daten visualisieren kann.
        Werden die eigentlich irgendwo als historische Daten abgelegt, oder wie funktioniert das genau?

        Visualisieren z.B. damit:
        e1623bbd-8cf5-4472-ba8e-55e25669920b-image.png

        D 1 Reply Last reply
        0
        • L lesiflo

          @diet99 sagte in Test Adapter Zendure Solarflow:

          @lesiflo Super - vielen Dank. Klappt jetzt offenbar.
          Die Zeilen mit mqtt wollte ich gerade noch nachfragen, aber das hast Du ja geschrieben, daß die rauskönnen.

          Nun muß ich nur noch schauen, wie ich die erzeugten Daten visualisieren kann.
          Werden die eigentlich irgendwo als historische Daten abgelegt, oder wie funktioniert das genau?

          Visualisieren z.B. damit:
          e1623bbd-8cf5-4472-ba8e-55e25669920b-image.png

          D Offline
          D Offline
          diet99
          wrote on last edited by diet99
          #124

          @lesiflo ich hätte mir jetzt eher sowas vorgestellt:

          b27faf59-5d2f-4621-af2a-c8a36dad6254-1709224143460-25534441-b687-4f3f-90c3-bc0be652a035-image.png

          Dein Script läuft jedenfalls sauber! Ich hab gerade mal den PVHub angeworfen, um den restlichen Tagesertrag einzuspeisen:
          24489ed9-8bcd-443e-b833-f9d8f3f5397d-grafik.png

          Danke dafür 👏

          L 1 Reply Last reply
          0
          • D diet99

            @lesiflo ich hätte mir jetzt eher sowas vorgestellt:

            b27faf59-5d2f-4621-af2a-c8a36dad6254-1709224143460-25534441-b687-4f3f-90c3-bc0be652a035-image.png

            Dein Script läuft jedenfalls sauber! Ich hab gerade mal den PVHub angeworfen, um den restlichen Tagesertrag einzuspeisen:
            24489ed9-8bcd-443e-b833-f9d8f3f5397d-grafik.png

            Danke dafür 👏

            L Offline
            L Offline
            lesiflo
            Most Active
            wrote on last edited by lesiflo
            #125

            @diet99 Für rechts unten benötigst du die influxdb und Grafana. Darüber reicht der history Adapter und der Adapter für die Material Design Widget's. Links oben ist der energiefluss-erweitert adapter

            1 Reply Last reply
            0
            • L lesiflo

              @nograx: Hi, ich habe heute ein Firmware-Update vom Master auf V2.0.38 gemacht, seit dem kommen keine Daten mehr für pvPower1 und pwPower2 rein. Hat sich da eventuell etwas in der Datenstruktur/Namen verändert? Auf Github steht solarPower1 und solarPower2. Oder hast du das für den Adapter umbenannt?

              nograxN Offline
              nograxN Offline
              nograx
              Developer
              wrote on last edited by nograx
              #126

              @lesiflo ich habe eine neue Version bereitgestellt, sollte heute Nacht ins Latest wandern, schneller per Installation von github. Die PV Inputs funktionieren dann auch wieder mit der neuen Firmware.

              Verbrauchswerte werden da von mir auch im calculations Ordner berechnet. Das wird per eigenen Script gemacht und können von der App abweichen. Wenn es funktioniert würde ich die dann um 0 Uhr immer in einen „yesterday“ datenpunkt schieben sodass man mit einem history Adapter für eine visualisierung arbeiten kann.

              L D 3 Replies Last reply
              0
              • nograxN nograx

                @lesiflo ich habe eine neue Version bereitgestellt, sollte heute Nacht ins Latest wandern, schneller per Installation von github. Die PV Inputs funktionieren dann auch wieder mit der neuen Firmware.

                Verbrauchswerte werden da von mir auch im calculations Ordner berechnet. Das wird per eigenen Script gemacht und können von der App abweichen. Wenn es funktioniert würde ich die dann um 0 Uhr immer in einen „yesterday“ datenpunkt schieben sodass man mit einem history Adapter für eine visualisierung arbeiten kann.

                L Offline
                L Offline
                lesiflo
                Most Active
                wrote on last edited by lesiflo
                #127

                @nograx Alles klar. Hab's mal installiert. Energie-Daten kommen auch rein ebenso wieder für pvPower1 und pvPower2. Sieht bisher gut aus, werde das mal bis heute Abend beobachten und dir Rückmeldung geben. Top ! Danke dafür.

                Es gibt ja jetzt auch Datenpunkte für die Lade/Entladezeit, die allerdings bei mir noch nicht befüllt werden. Kommt da noch was?

                nograxN 1 Reply Last reply
                0
                • L lesiflo

                  @nograx Alles klar. Hab's mal installiert. Energie-Daten kommen auch rein ebenso wieder für pvPower1 und pvPower2. Sieht bisher gut aus, werde das mal bis heute Abend beobachten und dir Rückmeldung geben. Top ! Danke dafür.

                  Es gibt ja jetzt auch Datenpunkte für die Lade/Entladezeit, die allerdings bei mir noch nicht befüllt werden. Kommt da noch was?

                  nograxN Offline
                  nograxN Offline
                  nograx
                  Developer
                  wrote on last edited by
                  #128

                  @lesiflo ja entladezeit sollte gehen. Ladezeit aktuell nicht - da übermittelt Zendure tatsächlich keine Daten. Da werde ich mir noch was überlegen. Die Prozentanzeige funktioniert bei mir auch überhaupt nicht, da ich die Einspeisung über die Spannung der Akkus stoppe wenn unter 46,2 Volt damit die nicht leer laufen. Dann zieht mir der Standby aber Energie aus dem Akku welcher bei der % keine Auswirkung hat. Hatte das schon so weit das er angeblich 50% hatte aber faktisch leer war… die Grenze verschiebt sich erst wieder wenn der Akku wieder voll ist.

                  L 1 Reply Last reply
                  0
                  • nograxN nograx

                    @lesiflo ja entladezeit sollte gehen. Ladezeit aktuell nicht - da übermittelt Zendure tatsächlich keine Daten. Da werde ich mir noch was überlegen. Die Prozentanzeige funktioniert bei mir auch überhaupt nicht, da ich die Einspeisung über die Spannung der Akkus stoppe wenn unter 46,2 Volt damit die nicht leer laufen. Dann zieht mir der Standby aber Energie aus dem Akku welcher bei der % keine Auswirkung hat. Hatte das schon so weit das er angeblich 50% hatte aber faktisch leer war… die Grenze verschiebt sich erst wieder wenn der Akku wieder voll ist.

                    L Offline
                    L Offline
                    lesiflo
                    Most Active
                    wrote on last edited by
                    #129

                    @nograx OK, für die Lade/Entladezeit habe ich mir ja schon selbst was geschrieben. Bei mir kommt das gut hin.

                    WebrangerW 1 Reply Last reply
                    0
                    • L lesiflo

                      @nograx OK, für die Lade/Entladezeit habe ich mir ja schon selbst was geschrieben. Bei mir kommt das gut hin.

                      WebrangerW Offline
                      WebrangerW Offline
                      Webranger
                      wrote on last edited by
                      #130

                      Ich hab im Log viele dieser meldungen!?
                      Bildschirmfoto 2024-03-02 um 09.02.29.png

                      Intel NUC Celeron, Xiaomi Gateway, Fritzbox 7590, XS1

                      L 1 Reply Last reply
                      0
                      • WebrangerW Webranger

                        Ich hab im Log viele dieser meldungen!?
                        Bildschirmfoto 2024-03-02 um 09.02.29.png

                        L Offline
                        L Offline
                        lesiflo
                        Most Active
                        wrote on last edited by
                        #131

                        @webranger Setz mal im Adapter die Protokollebene auf "error" dann werden nur noch Fehler ausgegeben.

                        1bc579bd-09e3-4871-93bc-ad0b809ecf4f-image.png

                        1 Reply Last reply
                        0
                        • nograxN nograx

                          @lesiflo ich habe eine neue Version bereitgestellt, sollte heute Nacht ins Latest wandern, schneller per Installation von github. Die PV Inputs funktionieren dann auch wieder mit der neuen Firmware.

                          Verbrauchswerte werden da von mir auch im calculations Ordner berechnet. Das wird per eigenen Script gemacht und können von der App abweichen. Wenn es funktioniert würde ich die dann um 0 Uhr immer in einen „yesterday“ datenpunkt schieben sodass man mit einem history Adapter für eine visualisierung arbeiten kann.

                          D Offline
                          D Offline
                          diet99
                          wrote on last edited by diet99
                          #132

                          @nograx Cool! Vielen Dank!
                          Die Solareingänge zeigen wieder was an - und die Calculations werde ich ab morgen mal mit denen von @lesiflo vergleichen 👍

                          Noch eine Frage zu den Spannungen: aktuell sieht das hier so aus:

                          13530f49-015b-462f-91bb-915115f38628-image.png

                          Keine Ahnung, ob das plausibel ist. Auf 100% war ich schon länger nicht mehr.

                          nograxN 1 Reply Last reply
                          0
                          • D diet99

                            @nograx Cool! Vielen Dank!
                            Die Solareingänge zeigen wieder was an - und die Calculations werde ich ab morgen mal mit denen von @lesiflo vergleichen 👍

                            Noch eine Frage zu den Spannungen: aktuell sieht das hier so aus:

                            13530f49-015b-462f-91bb-915115f38628-image.png

                            Keine Ahnung, ob das plausibel ist. Auf 100% war ich schon länger nicht mehr.

                            nograxN Offline
                            nograxN Offline
                            nograx
                            Developer
                            wrote on last edited by
                            #133

                            @diet99 TotalVol ist die Spannung aller Zellen zusammen, maxVol die höchste Einzelzelle, minVol die niedrigste. Wenn die auseinanderdriften hast du ein Problem. 3,38 zu 3,39 halt ich mal für Messtoleranz 😉 bei TotalVol von ca. 43V sind die quasi leer. Ladeschluss liegt bei 51,3. Da sind die dann voll. Zwischen 20% und 90% liegen die immer so zwischen 49V und 50V, je nachdem wir viel Saft gerade vom Dach bzw. Balkon kommt.

                            1 Reply Last reply
                            0
                            • nograxN nograx

                              @lesiflo ich habe eine neue Version bereitgestellt, sollte heute Nacht ins Latest wandern, schneller per Installation von github. Die PV Inputs funktionieren dann auch wieder mit der neuen Firmware.

                              Verbrauchswerte werden da von mir auch im calculations Ordner berechnet. Das wird per eigenen Script gemacht und können von der App abweichen. Wenn es funktioniert würde ich die dann um 0 Uhr immer in einen „yesterday“ datenpunkt schieben sodass man mit einem history Adapter für eine visualisierung arbeiten kann.

                              D Offline
                              D Offline
                              diet99
                              wrote on last edited by
                              #134

                              @nograx Da bin ich im Moment leicht irritiert. Die Scripte von lesiflo erzeugen mir das hier:

                              af8eaa1d-3941-4ebd-86e0-4f34b09a28c4-grafik.png

                              und in den Calculations steht das:

                              6345eb08-4777-4930-90b4-c250ffb3d3be-grafik.png

                              Das sind nahezu die doppelten Werte. Fragt sich nur, warum ...

                              WebrangerW nograxN L 3 Replies Last reply
                              0
                              • D diet99

                                @nograx Da bin ich im Moment leicht irritiert. Die Scripte von lesiflo erzeugen mir das hier:

                                af8eaa1d-3941-4ebd-86e0-4f34b09a28c4-grafik.png

                                und in den Calculations steht das:

                                6345eb08-4777-4930-90b4-c250ffb3d3be-grafik.png

                                Das sind nahezu die doppelten Werte. Fragt sich nur, warum ...

                                WebrangerW Offline
                                WebrangerW Offline
                                Webranger
                                wrote on last edited by
                                #135

                                Gibt es gerade ein Problem mit dem Server?
                                Per app komm ich drauf aber der iobroker kann sich nicht verbinden.

                                Bildschirmfoto 2024-03-06 um 17.00.19.png

                                Intel NUC Celeron, Xiaomi Gateway, Fritzbox 7590, XS1

                                nograxN 1 Reply Last reply
                                0
                                • WebrangerW Webranger

                                  Gibt es gerade ein Problem mit dem Server?
                                  Per app komm ich drauf aber der iobroker kann sich nicht verbinden.

                                  Bildschirmfoto 2024-03-06 um 17.00.19.png

                                  nograxN Offline
                                  nograxN Offline
                                  nograx
                                  Developer
                                  wrote on last edited by
                                  #136

                                  @webranger welche Version ist installiert? Ich habe neuerdings das Problem das mein Browser Benutzer und Password automatisch in die Adapter Einstellungen Haut. Ggf. Noch mal neu eingeben.

                                  WebrangerW 1 Reply Last reply
                                  0
                                  • D diet99

                                    @nograx Da bin ich im Moment leicht irritiert. Die Scripte von lesiflo erzeugen mir das hier:

                                    af8eaa1d-3941-4ebd-86e0-4f34b09a28c4-grafik.png

                                    und in den Calculations steht das:

                                    6345eb08-4777-4930-90b4-c250ffb3d3be-grafik.png

                                    Das sind nahezu die doppelten Werte. Fragt sich nur, warum ...

                                    nograxN Offline
                                    nograxN Offline
                                    nograx
                                    Developer
                                    wrote on last edited by
                                    #137

                                    @diet99 habe da noch ein paar Ungereimtheiten drin. Optimiere das noch in dieser Woche…

                                    1 Reply Last reply
                                    0
                                    • nograxN nograx

                                      @webranger welche Version ist installiert? Ich habe neuerdings das Problem das mein Browser Benutzer und Password automatisch in die Adapter Einstellungen Haut. Ggf. Noch mal neu eingeben.

                                      WebrangerW Offline
                                      WebrangerW Offline
                                      Webranger
                                      wrote on last edited by
                                      #138

                                      @nograx Aktuelle Version 1.1.15 aber bei 1.1.14 war es auch schon so

                                      Habe schon versucht die zugangsdaten neu einzutrage und das in verschieden Browsern.
                                      Keine änderung

                                      Intel NUC Celeron, Xiaomi Gateway, Fritzbox 7590, XS1

                                      nograxN 1 Reply Last reply
                                      0
                                      • D diet99

                                        @nograx Da bin ich im Moment leicht irritiert. Die Scripte von lesiflo erzeugen mir das hier:

                                        af8eaa1d-3941-4ebd-86e0-4f34b09a28c4-grafik.png

                                        und in den Calculations steht das:

                                        6345eb08-4777-4930-90b4-c250ffb3d3be-grafik.png

                                        Das sind nahezu die doppelten Werte. Fragt sich nur, warum ...

                                        L Offline
                                        L Offline
                                        lesiflo
                                        Most Active
                                        wrote on last edited by lesiflo
                                        #139

                                        @diet99 Bei der alten Script-Version wurden beim Restart die Werte auf Null gesetzt. Hast du da einen Restart gemacht?

                                        Hier die korrigierte Version, diese setzt bei den letzten ermittelten Werten auf:

                                        <xml xmlns="https://developers.google.com/blockly/xml">
                                          <variables>
                                            <variable id="gn:HU~SCGvnqbRCRMSCy">Neustart_1</variable>
                                            <variable id="a/H8.,c0S360]Nw/|3:F">Neustart_2</variable>
                                            <variable id="XNCv~NlI5*nArvrO2?sc">Neustart_3</variable>
                                            <variable id="b:qp3p2Oss,$m0DdLd:M">Neustart_4</variable>
                                            <variable id="H`8%Q[C];S#Po%f%^,*[">energie</variable>
                                            <variable id="B].n@]e_d8kNxs]d-Ky|">Laden_Akku</variable>
                                            <variable id="Ua?)Az%)A;%j}Z?Y(@qh">Entladen_Akku</variable>
                                            <variable id="rNmt]Ylyn6~w3v(K59#b">Abgabe_Haus</variable>
                                          </variables>
                                          <block type="comment" id="j2:aNxn%Er`8Q_}@!!P$" x="789" y="1475">
                                            <field name="COMMENT">Reset Tageswerte</field>
                                            <next>
                                              <block type="schedule" id="]L}6=Uyw4CKieYA8qo*{">
                                                <field name="SCHEDULE">2 0 * * *</field>
                                                <statement name="STATEMENT">
                                                  <block type="control" id="wO]+tfPu:O]@8vg4)@^w">
                                                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                    <field name="OID">0_userdata.0.Eigene_Variablen.PV.Solarflow.packInputPower_kWh</field>
                                                    <field name="WITH_DELAY">FALSE</field>
                                                    <value name="VALUE">
                                                      <block type="math_number" id="0-8b%VD~nqwRqI#LWXFs">
                                                        <field name="NUM">0</field>
                                                      </block>
                                                    </value>
                                                    <next>
                                                      <block type="control" id=":Xx0TE*B2+5{)MCyETx9">
                                                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                        <field name="OID">0_userdata.0.Eigene_Variablen.PV.Solarflow.outputPackPower_kWh</field>
                                                        <field name="WITH_DELAY">FALSE</field>
                                                        <value name="VALUE">
                                                          <block type="math_number" id="%F@$?A{uLGsZVc@9nVkI">
                                                            <field name="NUM">0</field>
                                                          </block>
                                                        </value>
                                                        <next>
                                                          <block type="control" id="!Ssd`Ac.tsL+mEscm.y!">
                                                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                            <field name="OID">0_userdata.0.Eigene_Variablen.PV.Solarflow.solarInputPower_kWh</field>
                                                            <field name="WITH_DELAY">FALSE</field>
                                                            <value name="VALUE">
                                                              <block type="math_number" id="B.yO.QUgA{;$4X?-g8,h">
                                                                <field name="NUM">0</field>
                                                              </block>
                                                            </value>
                                                            <next>
                                                              <block type="control" id="EW#t.vr$F-%Xm}DI79r$">
                                                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                <field name="OID">0_userdata.0.Eigene_Variablen.PV.Solarflow.outputHomePower_kWh</field>
                                                                <field name="WITH_DELAY">FALSE</field>
                                                                <value name="VALUE">
                                                                  <block type="math_number" id=")~K]8GK6@)ZJoFk(PTjL">
                                                                    <field name="NUM">0</field>
                                                                  </block>
                                                                </value>
                                                                <next>
                                                                  <block type="variables_set" id="RfP%gUCE_#E^hZzbQAYj">
                                                                    <field name="VAR" id="H`8%Q[C];S#Po%f%^,*[">energie</field>
                                                                    <value name="VALUE">
                                                                      <block type="get_object" id="fhJ-zn1s(d8_~@ror)Ga">
                                                                        <field name="OID">0_userdata.0.Eigene_Variablen.PV.Solarflow.solarInputPower_kWh</field>
                                                                      </block>
                                                                    </value>
                                                                    <next>
                                                                      <block type="variables_set" id="gw70B~d](MZS^tlJL$ZE">
                                                                        <field name="VAR" id="B].n@]e_d8kNxs]d-Ky|">Laden_Akku</field>
                                                                        <value name="VALUE">
                                                                          <block type="get_object" id="nvgxO+GU:/NYyfGjd(T7">
                                                                            <field name="OID">0_userdata.0.Eigene_Variablen.PV.Solarflow.packInputPower_kWh</field>
                                                                          </block>
                                                                        </value>
                                                                        <next>
                                                                          <block type="variables_set" id="(HL3sW/GTkqUWTykp!IY">
                                                                            <field name="VAR" id="Ua?)Az%)A;%j}Z?Y(@qh">Entladen_Akku</field>
                                                                            <value name="VALUE">
                                                                              <block type="get_object" id="k8M@bC*%_F78uSqVwepP">
                                                                                <field name="OID">0_userdata.0.Eigene_Variablen.PV.Solarflow.outputPackPower_kWh</field>
                                                                              </block>
                                                                            </value>
                                                                            <next>
                                                                              <block type="variables_set" id=".j`=}xOL2?JBtSp_b6LK">
                                                                                <field name="VAR" id="rNmt]Ylyn6~w3v(K59#b">Abgabe_Haus</field>
                                                                                <value name="VALUE">
                                                                                  <block type="get_object" id="c[)j_kHXIV/jwf7+(%gs">
                                                                                    <field name="OID">0_userdata.0.Eigene_Variablen.PV.Solarflow.outputHomePower_kWh</field>
                                                                                  </block>
                                                                                </value>
                                                                              </block>
                                                                            </next>
                                                                          </block>
                                                                        </next>
                                                                      </block>
                                                                    </next>
                                                                  </block>
                                                                </next>
                                                              </block>
                                                            </next>
                                                          </block>
                                                        </next>
                                                      </block>
                                                    </next>
                                                  </block>
                                                </statement>
                                                <next>
                                                  <block type="variables_set" id="A.e$V`ynjg0#}qJnFF)w">
                                                    <field name="VAR" id="gn:HU~SCGvnqbRCRMSCy">Neustart_1</field>
                                                    <value name="VALUE">
                                                      <block type="logic_boolean" id="9Lm!l6t-vOXOddA~3mJg">
                                                        <field name="BOOL">TRUE</field>
                                                      </block>
                                                    </value>
                                                    <next>
                                                      <block type="variables_set" id="Kwwkm.V~1`Ki68g_9#b%">
                                                        <field name="VAR" id="a/H8.,c0S360]Nw/|3:F">Neustart_2</field>
                                                        <value name="VALUE">
                                                          <block type="logic_boolean" id="UJ:^du30dYguD?8AaTS_">
                                                            <field name="BOOL">TRUE</field>
                                                          </block>
                                                        </value>
                                                        <next>
                                                          <block type="variables_set" id="xKnM0`eD{gXYrjW[m8-~">
                                                            <field name="VAR" id="XNCv~NlI5*nArvrO2?sc">Neustart_3</field>
                                                            <value name="VALUE">
                                                              <block type="logic_boolean" id="5}jK$ZYn{!C.;k;}lZfO">
                                                                <field name="BOOL">TRUE</field>
                                                              </block>
                                                            </value>
                                                            <next>
                                                              <block type="variables_set" id="IA]l7VT+#U1)a(Wx,f,8">
                                                                <field name="VAR" id="b:qp3p2Oss,$m0DdLd:M">Neustart_4</field>
                                                                <value name="VALUE">
                                                                  <block type="logic_boolean" id="##^J8V1KGH.r~8;dy?]Z">
                                                                    <field name="BOOL">TRUE</field>
                                                                  </block>
                                                                </value>
                                                                <next>
                                                                  <block type="comment" id="RV+eO`6:RC~uyK=4f_nx">
                                                                    <field name="COMMENT">Produktion PV in kWh</field>
                                                                    <next>
                                                                      <block type="on_ext" id="TZZI45[#ikP]~r)[F#^K">
                                                                        <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="FYq7rQr_UY1$l*O%mT96">
                                                                            <field name="oid">zendure-solarflow.0.73bkTV.7rk1nVD9.solarInputPower</field>
                                                                          </shadow>
                                                                        </value>
                                                                        <statement name="STATEMENT">
                                                                          <block type="controls_if" id="9ONCtcSN=;/2qz9[DzO~">
                                                                            <value name="IF0">
                                                                              <block type="logic_compare" id="4EEJBi[?ILa5iGd=EP**">
                                                                                <field name="OP">GT</field>
                                                                                <value name="A">
                                                                                  <block type="on_source" id="^t~l#qd|9b]s|+=[u^;5">
                                                                                    <field name="ATTR">state.val</field>
                                                                                  </block>
                                                                                </value>
                                                                                <value name="B">
                                                                                  <block type="math_number" id="pmxSrG=-GuXXA_}`$X1D">
                                                                                    <field name="NUM">0</field>
                                                                                  </block>
                                                                                </value>
                                                                              </block>
                                                                            </value>
                                                                            <statement name="DO0">
                                                                              <block type="controls_if" id="*L*Yc!EzfPIh*2k}_7Vz">
                                                                                <mutation else="1"></mutation>
                                                                                <value name="IF0">
                                                                                  <block type="logic_compare" id="n;dpIW~`J2u7;lV3ROiX">
                                                                                    <field name="OP">EQ</field>
                                                                                    <value name="A">
                                                                                      <block type="variables_get" id="4fY}typI~6{8=h%GUoQ~">
                                                                                        <field name="VAR" id="gn:HU~SCGvnqbRCRMSCy">Neustart_1</field>
                                                                                      </block>
                                                                                    </value>
                                                                                    <value name="B">
                                                                                      <block type="logic_boolean" id="rkB9sBz,O9_}wD4.-5u8">
                                                                                        <field name="BOOL">TRUE</field>
                                                                                      </block>
                                                                                    </value>
                                                                                  </block>
                                                                                </value>
                                                                                <statement name="DO0">
                                                                                  <block type="math_change" id="y-9zY$P8f}:4ALE*brXu">
                                                                                    <field name="VAR" id="H`8%Q[C];S#Po%f%^,*[">energie</field>
                                                                                    <value name="DELTA">
                                                                                      <shadow type="math_number" id=",5ZCZx[AyTZPJRCD4}~t">
                                                                                        <field name="NUM">3.41</field>
                                                                                      </shadow>
                                                                                      <block type="get_value" id="S?iu6=CgEh|3V[gG}+,q">
                                                                                        <field name="ATTR">val</field>
                                                                                        <field name="OID">0_userdata.0.Eigene_Variablen.PV.Solarflow.solarInputPower_kWh</field>
                                                                                      </block>
                                                                                    </value>
                                                                                    <next>
                                                                                      <block type="variables_set" id="a3[{#PxcqT50XxDZ8o+/">
                                                                                        <field name="VAR" id="gn:HU~SCGvnqbRCRMSCy">Neustart_1</field>
                                                                                        <value name="VALUE">
                                                                                          <block type="logic_boolean" id="[5x*/OoOwUtJnu5;fI!%">
                                                                                            <field name="BOOL">FALSE</field>
                                                                                          </block>
                                                                                        </value>
                                                                                      </block>
                                                                                    </next>
                                                                                  </block>
                                                                                </statement>
                                                                                <statement name="ELSE">
                                                                                  <block type="math_change" id="4l|3nJK3ab*a;%4oOEr:">
                                                                                    <field name="VAR" id="H`8%Q[C];S#Po%f%^,*[">energie</field>
                                                                                    <value name="DELTA">
                                                                                      <shadow type="math_number" id="v6ED/wn1{*R^;wC?o2j!">
                                                                                        <field name="NUM">1</field>
                                                                                      </shadow>
                                                                                      <block type="math_arithmetic" id="*TjAL)Qm[^ij,1^%-zFp" inline="false">
                                                                                        <field name="OP">DIVIDE</field>
                                                                                        <value name="A">
                                                                                          <shadow type="math_number" id="7TDAa@37OuJ`vcT;P%*S">
                                                                                            <field name="NUM">1</field>
                                                                                          </shadow>
                                                                                          <block type="math_arithmetic" id="f-yO-QtK`#*o44p4l~(z" inline="false">
                                                                                            <field name="OP">MULTIPLY</field>
                                                                                            <value name="A">
                                                                                              <shadow type="math_number" id="5~%F;bHMxZ^filO5NJlP">
                                                                                                <field name="NUM">1</field>
                                                                                              </shadow>
                                                                                              <block type="on_source" id=":[cP3-xt`]9uOyB~EA0|">
                                                                                                <field name="ATTR">oldState.val</field>
                                                                                              </block>
                                                                                            </value>
                                                                                            <value name="B">
                                                                                              <shadow type="math_number" id="pL#ugPnA,fA?t^ZJgf.Y">
                                                                                                <field name="NUM">1</field>
                                                                                              </shadow>
                                                                                              <block type="math_arithmetic" id="Lg(3A*d,5?1Nb.q|gM=s">
                                                                                                <field name="OP">MINUS</field>
                                                                                                <value name="A">
                                                                                                  <shadow type="math_number" id="vD5aC,I(S]J9iOZ+c4J-">
                                                                                                    <field name="NUM">1</field>
                                                                                                  </shadow>
                                                                                                  <block type="on_source" id="Znb.rqcqheWmt5$ect[t">
                                                                                                    <field name="ATTR">state.lc</field>
                                                                                                  </block>
                                                                                                </value>
                                                                                                <value name="B">
                                                                                                  <shadow type="math_number" id="RlrE5saDi)]Sef;L+Ayu">
                                                                                                    <field name="NUM">1</field>
                                                                                                  </shadow>
                                                                                                  <block type="on_source" id="sC$AGCU(o~$];AuwLfa_">
                                                                                                    <field name="ATTR">oldState.lc</field>
                                                                                                  </block>
                                                                                                </value>
                                                                                              </block>
                                                                                            </value>
                                                                                          </block>
                                                                                        </value>
                                                                                        <value name="B">
                                                                                          <shadow type="math_number" id="f6(R_NuM*Zwyrg-(qhk}">
                                                                                            <field name="NUM">3600000000</field>
                                                                                          </shadow>
                                                                                        </value>
                                                                                      </block>
                                                                                    </value>
                                                                                  </block>
                                                                                </statement>
                                                                                <next>
                                                                                  <block type="update" id="CII[{jcsb@hcMs[d|BQ(">
                                                                                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                    <field name="OID">0_userdata.0.Eigene_Variablen.PV.Solarflow.solarInputPower_kWh</field>
                                                                                    <field name="WITH_DELAY">FALSE</field>
                                                                                    <value name="VALUE">
                                                                                      <block type="math_rndfixed" id="~?Jqw`YNch87/XxEuB~~">
                                                                                        <field name="n">3</field>
                                                                                        <value name="x">
                                                                                          <shadow type="math_number" id="${2/m,%T*ULKInSPhEs;">
                                                                                            <field name="NUM">3.1234</field>
                                                                                          </shadow>
                                                                                          <block type="variables_get" id=";gMk*PhZzVvIU5*ye4Zc">
                                                                                            <field name="VAR" id="H`8%Q[C];S#Po%f%^,*[">energie</field>
                                                                                          </block>
                                                                                        </value>
                                                                                      </block>
                                                                                    </value>
                                                                                    <next>
                                                                                      <block type="control" id="Q!_jCcJF^7_-(qn6CvZ,">
                                                                                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                        <field name="OID">mqtt.0.openWB.set.pv.2.WhCounter</field>
                                                                                        <field name="WITH_DELAY">FALSE</field>
                                                                                        <value name="VALUE">
                                                                                          <block type="math_arithmetic" id="Ea`xv/s7NDugI.AC@N@g" inline="false">
                                                                                            <field name="OP">MULTIPLY</field>
                                                                                            <value name="A">
                                                                                              <shadow type="math_number" id="N=7tsj%3fV7yT+T#m[MR">
                                                                                                <field name="NUM">1</field>
                                                                                              </shadow>
                                                                                              <block type="get_value" id="pmeKMtFb8gwAO1?l@QVQ">
                                                                                                <field name="ATTR">val</field>
                                                                                                <field name="OID">0_userdata.0.Eigene_Variablen.PV.Solarflow.solarInputPower_kWh</field>
                                                                                              </block>
                                                                                            </value>
                                                                                            <value name="B">
                                                                                              <shadow type="math_number" id="w`C6H+RV?nMM32v2P^09">
                                                                                                <field name="NUM">1000</field>
                                                                                              </shadow>
                                                                                            </value>
                                                                                          </block>
                                                                                        </value>
                                                                                      </block>
                                                                                    </next>
                                                                                  </block>
                                                                                </next>
                                                                              </block>
                                                                            </statement>
                                                                          </block>
                                                                        </statement>
                                                                        <next>
                                                                          <block type="comment" id="S[uq}2B1D)vx]H[TnOay">
                                                                            <field name="COMMENT">Berechnung Akku laden in kWh</field>
                                                                            <next>
                                                                              <block type="on_ext" id="tA7mP|%Y5`?gn6w1L-|D">
                                                                                <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="N7O~V4f9c?ea+dU1L`:X">
                                                                                    <field name="oid">zendure-solarflow.0.73bkTV.7rk1nVD9.outputPackPower</field>
                                                                                  </shadow>
                                                                                </value>
                                                                                <statement name="STATEMENT">
                                                                                  <block type="controls_if" id=")7LDT=K6QU!2Mi~2:ch[">
                                                                                    <value name="IF0">
                                                                                      <block type="logic_compare" id="~|FCyyy5ewSEEN=g(M/.">
                                                                                        <field name="OP">GT</field>
                                                                                        <value name="A">
                                                                                          <block type="on_source" id="P-hhEf#);IW^2rvTpOl~">
                                                                                            <field name="ATTR">state.val</field>
                                                                                          </block>
                                                                                        </value>
                                                                                        <value name="B">
                                                                                          <block type="math_number" id="b[5`?J9:V/-r9#MPS,I~">
                                                                                            <field name="NUM">0</field>
                                                                                          </block>
                                                                                        </value>
                                                                                      </block>
                                                                                    </value>
                                                                                    <statement name="DO0">
                                                                                      <block type="controls_if" id="c5aDvpeTriLk~6vf]Y|~">
                                                                                        <mutation else="1"></mutation>
                                                                                        <value name="IF0">
                                                                                          <block type="logic_compare" id="*G.~;x%ZLo_bOv7Tl2d9">
                                                                                            <field name="OP">EQ</field>
                                                                                            <value name="A">
                                                                                              <block type="variables_get" id="7AGWjISHl;MPE4!e2f3L">
                                                                                                <field name="VAR" id="a/H8.,c0S360]Nw/|3:F">Neustart_2</field>
                                                                                              </block>
                                                                                            </value>
                                                                                            <value name="B">
                                                                                              <block type="logic_boolean" id="IU+EFtT5I~l-h!|:Y,lS">
                                                                                                <field name="BOOL">TRUE</field>
                                                                                              </block>
                                                                                            </value>
                                                                                          </block>
                                                                                        </value>
                                                                                        <statement name="DO0">
                                                                                          <block type="math_change" id="h@wU*SxqXA[~W5EB*08B">
                                                                                            <field name="VAR" id="B].n@]e_d8kNxs]d-Ky|">Laden_Akku</field>
                                                                                            <value name="DELTA">
                                                                                              <shadow type="math_number" id="?2w483KU@L1=[MXF[gOY">
                                                                                                <field name="NUM">1.602</field>
                                                                                              </shadow>
                                                                                              <block type="get_object" id="i-oJ.c]tqs_+g;RZ5Ox)">
                                                                                                <field name="OID">0_userdata.0.Eigene_Variablen.PV.Solarflow.packInputPower_kWh</field>
                                                                                              </block>
                                                                                            </value>
                                                                                            <next>
                                                                                              <block type="variables_set" id="/MC0[xVQ[1|)r]N^uhgy">
                                                                                                <field name="VAR" id="a/H8.,c0S360]Nw/|3:F">Neustart_2</field>
                                                                                                <value name="VALUE">
                                                                                                  <block type="logic_boolean" id="DDdhB,3DE,K[{?sDGMb`">
                                                                                                    <field name="BOOL">FALSE</field>
                                                                                                  </block>
                                                                                                </value>
                                                                                              </block>
                                                                                            </next>
                                                                                          </block>
                                                                                        </statement>
                                                                                        <statement name="ELSE">
                                                                                          <block type="math_change" id=",LTm7BNxx,@5BA3Rh$OI">
                                                                                            <field name="VAR" id="B].n@]e_d8kNxs]d-Ky|">Laden_Akku</field>
                                                                                            <value name="DELTA">
                                                                                              <shadow type="math_number" id="Tz.y^`eEKJCgv04Ea084">
                                                                                                <field name="NUM">1</field>
                                                                                              </shadow>
                                                                                              <block type="math_arithmetic" id="C9xe[8k:R1)F;mW!.Ry^" inline="false">
                                                                                                <field name="OP">DIVIDE</field>
                                                                                                <value name="A">
                                                                                                  <shadow type="math_number" id="7TDAa@37OuJ`vcT;P%*S">
                                                                                                    <field name="NUM">1</field>
                                                                                                  </shadow>
                                                                                                  <block type="math_arithmetic" id="M-Dd1Nd]nm;c|u`.Muod" inline="false">
                                                                                                    <field name="OP">MULTIPLY</field>
                                                                                                    <value name="A">
                                                                                                      <shadow type="math_number" id="5~%F;bHMxZ^filO5NJlP">
                                                                                                        <field name="NUM">1</field>
                                                                                                      </shadow>
                                                                                                      <block type="on_source" id="8VDYuoUm^NjBe$n;`ASx">
                                                                                                        <field name="ATTR">oldState.val</field>
                                                                                                      </block>
                                                                                                    </value>
                                                                                                    <value name="B">
                                                                                                      <shadow type="math_number" id="pL#ugPnA,fA?t^ZJgf.Y">
                                                                                                        <field name="NUM">1</field>
                                                                                                      </shadow>
                                                                                                      <block type="math_arithmetic" id="~^1xrvsa`JBhMeA(Ly[A">
                                                                                                        <field name="OP">MINUS</field>
                                                                                                        <value name="A">
                                                                                                          <shadow type="math_number" id="vD5aC,I(S]J9iOZ+c4J-">
                                                                                                            <field name="NUM">1</field>
                                                                                                          </shadow>
                                                                                                          <block type="on_source" id="`DDM(..({)7,a$.8/)lo">
                                                                                                            <field name="ATTR">state.lc</field>
                                                                                                          </block>
                                                                                                        </value>
                                                                                                        <value name="B">
                                                                                                          <shadow type="math_number" id="RlrE5saDi)]Sef;L+Ayu">
                                                                                                            <field name="NUM">1</field>
                                                                                                          </shadow>
                                                                                                          <block type="on_source" id="O,KFUPd_Uo~Hzh2W4g[%">
                                                                                                            <field name="ATTR">oldState.lc</field>
                                                                                                          </block>
                                                                                                        </value>
                                                                                                      </block>
                                                                                                    </value>
                                                                                                  </block>
                                                                                                </value>
                                                                                                <value name="B">
                                                                                                  <shadow type="math_number" id="Zq.8%jE+,+:1O9jL!fKG">
                                                                                                    <field name="NUM">3600000000</field>
                                                                                                  </shadow>
                                                                                                </value>
                                                                                              </block>
                                                                                            </value>
                                                                                          </block>
                                                                                        </statement>
                                                                                        <next>
                                                                                          <block type="update" id="qXnE^jarf]|@.iM]pXSN">
                                                                                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                            <field name="OID">0_userdata.0.Eigene_Variablen.PV.Solarflow.packInputPower_kWh</field>
                                                                                            <field name="WITH_DELAY">FALSE</field>
                                                                                            <value name="VALUE">
                                                                                              <block type="math_rndfixed" id="As^GC*c3c#/ovcCj[Izk">
                                                                                                <field name="n">3</field>
                                                                                                <value name="x">
                                                                                                  <shadow type="math_number" id="${2/m,%T*ULKInSPhEs;">
                                                                                                    <field name="NUM">3.1234</field>
                                                                                                  </shadow>
                                                                                                  <block type="variables_get" id="DVvB(,~+n;u?KX$i-3+{">
                                                                                                    <field name="VAR" id="B].n@]e_d8kNxs]d-Ky|">Laden_Akku</field>
                                                                                                  </block>
                                                                                                </value>
                                                                                              </block>
                                                                                            </value>
                                                                                            <next>
                                                                                              <block type="control" id="[)VC.[VO$|K8PP2]tY67">
                                                                                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                                <field name="OID">mqtt.0.openWB.set.houseBattery.WhImported</field>
                                                                                                <field name="WITH_DELAY">FALSE</field>
                                                                                                <value name="VALUE">
                                                                                                  <block type="math_arithmetic" id="AhC[[X(wwlT`p31ph@gH" inline="false">
                                                                                                    <field name="OP">MULTIPLY</field>
                                                                                                    <value name="A">
                                                                                                      <shadow type="math_number" id="N=7tsj%3fV7yT+T#m[MR">
                                                                                                        <field name="NUM">1</field>
                                                                                                      </shadow>
                                                                                                      <block type="get_value" id="?,B:`OZ!(-V](MS~Z[jR">
                                                                                                        <field name="ATTR">val</field>
                                                                                                        <field name="OID">0_userdata.0.Eigene_Variablen.PV.Solarflow.packInputPower_kWh</field>
                                                                                                      </block>
                                                                                                    </value>
                                                                                                    <value name="B">
                                                                                                      <shadow type="math_number" id="095(Ty8?(Bn804.AK%N@">
                                                                                                        <field name="NUM">1000</field>
                                                                                                      </shadow>
                                                                                                    </value>
                                                                                                  </block>
                                                                                                </value>
                                                                                              </block>
                                                                                            </next>
                                                                                          </block>
                                                                                        </next>
                                                                                      </block>
                                                                                    </statement>
                                                                                  </block>
                                                                                </statement>
                                                                                <next>
                                                                                  <block type="comment" id="c=~;P.ij`)3VXFF.QfJ9">
                                                                                    <field name="COMMENT">Berechnung Akku entladen in kWh</field>
                                                                                    <next>
                                                                                      <block type="on_ext" id="!BqpT6L5Jt9!dy}Om1f_">
                                                                                        <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="-$}N.4QXm{r96x(/6LPZ">
                                                                                            <field name="oid">zendure-solarflow.0.73bkTV.7rk1nVD9.packInputPower</field>
                                                                                          </shadow>
                                                                                        </value>
                                                                                        <statement name="STATEMENT">
                                                                                          <block type="controls_if" id="8v:aj[g:]uaMl].C1`_.">
                                                                                            <value name="IF0">
                                                                                              <block type="logic_compare" id="H3slbvS[c!1Lq#r^W74f">
                                                                                                <field name="OP">GT</field>
                                                                                                <value name="A">
                                                                                                  <block type="on_source" id="f.E$s3*Wp/UKOokR7Lob">
                                                                                                    <field name="ATTR">state.val</field>
                                                                                                  </block>
                                                                                                </value>
                                                                                                <value name="B">
                                                                                                  <block type="math_number" id="#~(=zoaXW2j_5O/GTH$U">
                                                                                                    <field name="NUM">0</field>
                                                                                                  </block>
                                                                                                </value>
                                                                                              </block>
                                                                                            </value>
                                                                                            <statement name="DO0">
                                                                                              <block type="controls_if" id="VJ8Io*WhRDbS1}FaX:74">
                                                                                                <mutation else="1"></mutation>
                                                                                                <value name="IF0">
                                                                                                  <block type="logic_compare" id="V1zhz55Qm7$vDkk2z%T3">
                                                                                                    <field name="OP">EQ</field>
                                                                                                    <value name="A">
                                                                                                      <block type="variables_get" id="?;zl!U(GfWmA{?6/4:cM">
                                                                                                        <field name="VAR" id="XNCv~NlI5*nArvrO2?sc">Neustart_3</field>
                                                                                                      </block>
                                                                                                    </value>
                                                                                                    <value name="B">
                                                                                                      <block type="logic_boolean" id="XQ#hdORn*wHz{=F8nSa?">
                                                                                                        <field name="BOOL">TRUE</field>
                                                                                                      </block>
                                                                                                    </value>
                                                                                                  </block>
                                                                                                </value>
                                                                                                <statement name="DO0">
                                                                                                  <block type="math_change" id="m0~C1eo2h6f6yZFU6MS8">
                                                                                                    <field name="VAR" id="Ua?)Az%)A;%j}Z?Y(@qh">Entladen_Akku</field>
                                                                                                    <value name="DELTA">
                                                                                                      <shadow type="math_number" id="1r4~awuX!)O}@Lmc*#vZ">
                                                                                                        <field name="NUM">1.71</field>
                                                                                                      </shadow>
                                                                                                      <block type="get_object" id="9^W,912D^Kj{T=_rhV#@">
                                                                                                        <field name="OID">0_userdata.0.Eigene_Variablen.PV.Solarflow.outputPackPower_kWh</field>
                                                                                                      </block>
                                                                                                    </value>
                                                                                                    <next>
                                                                                                      <block type="variables_set" id="]/EX6[=X`iRF;C3hn=Vs">
                                                                                                        <field name="VAR" id="XNCv~NlI5*nArvrO2?sc">Neustart_3</field>
                                                                                                        <value name="VALUE">
                                                                                                          <block type="logic_boolean" id="}S=44gZ,lyqsH([ac97s">
                                                                                                            <field name="BOOL">FALSE</field>
                                                                                                          </block>
                                                                                                        </value>
                                                                                                      </block>
                                                                                                    </next>
                                                                                                  </block>
                                                                                                </statement>
                                                                                                <statement name="ELSE">
                                                                                                  <block type="math_change" id="zv~:LFqOXR8eCzZ}2PSn">
                                                                                                    <field name="VAR" id="Ua?)Az%)A;%j}Z?Y(@qh">Entladen_Akku</field>
                                                                                                    <value name="DELTA">
                                                                                                      <shadow type="math_number" id="ay#exbh~G#uELijBtY?p">
                                                                                                        <field name="NUM">1</field>
                                                                                                      </shadow>
                                                                                                      <block type="math_arithmetic" id="=~zzaYs@C!=/7kiGaDYT" inline="false">
                                                                                                        <field name="OP">DIVIDE</field>
                                                                                                        <value name="A">
                                                                                                          <shadow type="math_number" id="7TDAa@37OuJ`vcT;P%*S">
                                                                                                            <field name="NUM">1</field>
                                                                                                          </shadow>
                                                                                                          <block type="math_arithmetic" id="*c:?e5VPn7Sh9~_QJ=-j" inline="false">
                                                                                                            <field name="OP">MULTIPLY</field>
                                                                                                            <value name="A">
                                                                                                              <shadow type="math_number" id="5~%F;bHMxZ^filO5NJlP">
                                                                                                                <field name="NUM">1</field>
                                                                                                              </shadow>
                                                                                                              <block type="on_source" id="HvBAv0llhwnR6p[ODeBS">
                                                                                                                <field name="ATTR">oldState.val</field>
                                                                                                              </block>
                                                                                                            </value>
                                                                                                            <value name="B">
                                                                                                              <shadow type="math_number" id="pL#ugPnA,fA?t^ZJgf.Y">
                                                                                                                <field name="NUM">1</field>
                                                                                                              </shadow>
                                                                                                              <block type="math_arithmetic" id="5yr^uZJ29Ue}-Hlpod-c">
                                                                                                                <field name="OP">MINUS</field>
                                                                                                                <value name="A">
                                                                                                                  <shadow type="math_number" id="vD5aC,I(S]J9iOZ+c4J-">
                                                                                                                    <field name="NUM">1</field>
                                                                                                                  </shadow>
                                                                                                                  <block type="on_source" id="Uex!oWqZ]paz15!9(cFm">
                                                                                                                    <field name="ATTR">state.lc</field>
                                                                                                                  </block>
                                                                                                                </value>
                                                                                                                <value name="B">
                                                                                                                  <shadow type="math_number" id="RlrE5saDi)]Sef;L+Ayu">
                                                                                                                    <field name="NUM">1</field>
                                                                                                                  </shadow>
                                                                                                                  <block type="on_source" id="#(Wqzv;9MnYqi|T$8:FQ">
                                                                                                                    <field name="ATTR">oldState.lc</field>
                                                                                                                  </block>
                                                                                                                </value>
                                                                                                              </block>
                                                                                                            </value>
                                                                                                          </block>
                                                                                                        </value>
                                                                                                        <value name="B">
                                                                                                          <shadow type="math_number" id="v2u8FsxwPa=M=y?4:9M8">
                                                                                                            <field name="NUM">3600000000</field>
                                                                                                          </shadow>
                                                                                                        </value>
                                                                                                      </block>
                                                                                                    </value>
                                                                                                  </block>
                                                                                                </statement>
                                                                                                <next>
                                                                                                  <block type="update" id=";^JXx3vl[5u[6j}uIq(0">
                                                                                                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                                    <field name="OID">0_userdata.0.Eigene_Variablen.PV.Solarflow.outputPackPower_kWh</field>
                                                                                                    <field name="WITH_DELAY">FALSE</field>
                                                                                                    <value name="VALUE">
                                                                                                      <block type="math_rndfixed" id="o4%pJbXN;{br1M}:2,Sa">
                                                                                                        <field name="n">3</field>
                                                                                                        <value name="x">
                                                                                                          <shadow type="math_number" id="${2/m,%T*ULKInSPhEs;">
                                                                                                            <field name="NUM">3.1234</field>
                                                                                                          </shadow>
                                                                                                          <block type="variables_get" id="e6xZibt(AEyrALe;?(`j">
                                                                                                            <field name="VAR" id="Ua?)Az%)A;%j}Z?Y(@qh">Entladen_Akku</field>
                                                                                                          </block>
                                                                                                        </value>
                                                                                                      </block>
                                                                                                    </value>
                                                                                                    <next>
                                                                                                      <block type="control" id="(06jUc?xnQ,eg+64uDv`">
                                                                                                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                                        <field name="OID">mqtt.0.openWB.set.houseBattery.WhExported</field>
                                                                                                        <field name="WITH_DELAY">FALSE</field>
                                                                                                        <value name="VALUE">
                                                                                                          <block type="math_arithmetic" id="G%YwXy}:JLdYme*1aOEN" inline="false">
                                                                                                            <field name="OP">MULTIPLY</field>
                                                                                                            <value name="A">
                                                                                                              <shadow type="math_number" id="N=7tsj%3fV7yT+T#m[MR">
                                                                                                                <field name="NUM">1</field>
                                                                                                              </shadow>
                                                                                                              <block type="get_value" id="PH#Ytw3L8+aUa)$O|p3m">
                                                                                                                <field name="ATTR">val</field>
                                                                                                                <field name="OID">0_userdata.0.Eigene_Variablen.PV.Solarflow.outputPackPower_kWh</field>
                                                                                                              </block>
                                                                                                            </value>
                                                                                                            <value name="B">
                                                                                                              <shadow type="math_number" id="D|T1ZM^54Ur/]np;jQ~L">
                                                                                                                <field name="NUM">1000</field>
                                                                                                              </shadow>
                                                                                                            </value>
                                                                                                          </block>
                                                                                                        </value>
                                                                                                      </block>
                                                                                                    </next>
                                                                                                  </block>
                                                                                                </next>
                                                                                              </block>
                                                                                            </statement>
                                                                                          </block>
                                                                                        </statement>
                                                                                        <next>
                                                                                          <block type="comment" id="!Rz`~!wnwyL0;![Qh:}p">
                                                                                            <field name="COMMENT">Berechnung Abgabe Haus in kWh</field>
                                                                                            <next>
                                                                                              <block type="on_ext" id="lu.)LCKv`g8i-n#_TISE" collapsed="true">
                                                                                                <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="N3{ZrX7f+OsMsIP#/U9i">
                                                                                                    <field name="oid">zendure-solarflow.0.73bkTV.7rk1nVD9.outputHomePower</field>
                                                                                                  </shadow>
                                                                                                </value>
                                                                                                <statement name="STATEMENT">
                                                                                                  <block type="controls_if" id="+G8hcCGY@}X{m=_./ZS9">
                                                                                                    <value name="IF0">
                                                                                                      <block type="logic_compare" id="6?gQo4NovHN[5^(I,XC4">
                                                                                                        <field name="OP">GT</field>
                                                                                                        <value name="A">
                                                                                                          <block type="on_source" id="/),v0q8DTHi1duT7Tgk2">
                                                                                                            <field name="ATTR">state.val</field>
                                                                                                          </block>
                                                                                                        </value>
                                                                                                        <value name="B">
                                                                                                          <block type="math_number" id="BB)1-0}6e._yDF76=WOt">
                                                                                                            <field name="NUM">0</field>
                                                                                                          </block>
                                                                                                        </value>
                                                                                                      </block>
                                                                                                    </value>
                                                                                                    <statement name="DO0">
                                                                                                      <block type="controls_if" id="mSS8%^)DYudFmr@:+8I9">
                                                                                                        <mutation else="1"></mutation>
                                                                                                        <value name="IF0">
                                                                                                          <block type="logic_compare" id="$E#Dc8vr.B]olt;a-y(G">
                                                                                                            <field name="OP">EQ</field>
                                                                                                            <value name="A">
                                                                                                              <block type="variables_get" id="|`D=XZ|35{IQ3S;Jndfe">
                                                                                                                <field name="VAR" id="b:qp3p2Oss,$m0DdLd:M">Neustart_4</field>
                                                                                                              </block>
                                                                                                            </value>
                                                                                                            <value name="B">
                                                                                                              <block type="logic_boolean" id="l*KugydQ(QG8/H_!CRO$">
                                                                                                                <field name="BOOL">TRUE</field>
                                                                                                              </block>
                                                                                                            </value>
                                                                                                          </block>
                                                                                                        </value>
                                                                                                        <statement name="DO0">
                                                                                                          <block type="math_change" id="6z6`_uZX34.@i5b~Vb^J">
                                                                                                            <field name="VAR" id="rNmt]Ylyn6~w3v(K59#b">Abgabe_Haus</field>
                                                                                                            <value name="DELTA">
                                                                                                              <shadow type="math_number" id="1r4~awuX!)O}@Lmc*#vZ">
                                                                                                                <field name="NUM">1.74</field>
                                                                                                              </shadow>
                                                                                                              <block type="get_value" id="=O`7WQ]*m(8x=h#@2%eD">
                                                                                                                <field name="ATTR">val</field>
                                                                                                                <field name="OID">0_userdata.0.Eigene_Variablen.PV.Solarflow.outputHomePower_kWh</field>
                                                                                                              </block>
                                                                                                            </value>
                                                                                                            <next>
                                                                                                              <block type="variables_set" id="U$3upQY@!8D2iq5ZAu5K">
                                                                                                                <field name="VAR" id="b:qp3p2Oss,$m0DdLd:M">Neustart_4</field>
                                                                                                                <value name="VALUE">
                                                                                                                  <block type="logic_boolean" id="C9eqy.G8v9ZLb+}]k2sL">
                                                                                                                    <field name="BOOL">FALSE</field>
                                                                                                                  </block>
                                                                                                                </value>
                                                                                                              </block>
                                                                                                            </next>
                                                                                                          </block>
                                                                                                        </statement>
                                                                                                        <statement name="ELSE">
                                                                                                          <block type="math_change" id="9b^dkm#-?~e0OS5Nq^4V">
                                                                                                            <field name="VAR" id="rNmt]Ylyn6~w3v(K59#b">Abgabe_Haus</field>
                                                                                                            <value name="DELTA">
                                                                                                              <shadow type="math_number" id="ay#exbh~G#uELijBtY?p">
                                                                                                                <field name="NUM">1</field>
                                                                                                              </shadow>
                                                                                                              <block type="math_arithmetic" id="{vcK[DOQcI)]y;z4Kr4C" inline="false">
                                                                                                                <field name="OP">DIVIDE</field>
                                                                                                                <value name="A">
                                                                                                                  <shadow type="math_number" id="7TDAa@37OuJ`vcT;P%*S">
                                                                                                                    <field name="NUM">1</field>
                                                                                                                  </shadow>
                                                                                                                  <block type="math_arithmetic" id="gJV2]_@S+B~UD}TSpd;4" inline="false">
                                                                                                                    <field name="OP">MULTIPLY</field>
                                                                                                                    <value name="A">
                                                                                                                      <shadow type="math_number" id="5~%F;bHMxZ^filO5NJlP">
                                                                                                                        <field name="NUM">1</field>
                                                                                                                      </shadow>
                                                                                                                      <block type="on_source" id="IAb1A;puC-C6AMdJhhgT">
                                                                                                                        <field name="ATTR">oldState.val</field>
                                                                                                                      </block>
                                                                                                                    </value>
                                                                                                                    <value name="B">
                                                                                                                      <shadow type="math_number" id="pL#ugPnA,fA?t^ZJgf.Y">
                                                                                                                        <field name="NUM">1</field>
                                                                                                                      </shadow>
                                                                                                                      <block type="math_arithmetic" id="olvs!]kL^=dCZ!e:AX.J">
                                                                                                                        <field name="OP">MINUS</field>
                                                                                                                        <value name="A">
                                                                                                                          <shadow type="math_number" id="vD5aC,I(S]J9iOZ+c4J-">
                                                                                                                            <field name="NUM">1</field>
                                                                                                                          </shadow>
                                                                                                                          <block type="on_source" id="~bmB$Km8w],+,S%s0tOs">
                                                                                                                            <field name="ATTR">state.lc</field>
                                                                                                                          </block>
                                                                                                                        </value>
                                                                                                                        <value name="B">
                                                                                                                          <shadow type="math_number" id="RlrE5saDi)]Sef;L+Ayu">
                                                                                                                            <field name="NUM">1</field>
                                                                                                                          </shadow>
                                                                                                                          <block type="on_source" id=":2+j;NyubW-?`^b=wo=a">
                                                                                                                            <field name="ATTR">oldState.lc</field>
                                                                                                                          </block>
                                                                                                                        </value>
                                                                                                                      </block>
                                                                                                                    </value>
                                                                                                                  </block>
                                                                                                                </value>
                                                                                                                <value name="B">
                                                                                                                  <shadow type="math_number" id="y]r%zv}RqUk.DhB!z`|S">
                                                                                                                    <field name="NUM">3600000000</field>
                                                                                                                  </shadow>
                                                                                                                </value>
                                                                                                              </block>
                                                                                                            </value>
                                                                                                          </block>
                                                                                                        </statement>
                                                                                                        <next>
                                                                                                          <block type="update" id="NVg/pYOb]:Z0#~Y4x~^c">
                                                                                                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                                            <field name="OID">0_userdata.0.Eigene_Variablen.PV.Solarflow.outputHomePower_kWh</field>
                                                                                                            <field name="WITH_DELAY">FALSE</field>
                                                                                                            <value name="VALUE">
                                                                                                              <block type="math_rndfixed" id="uT1DuxRN5JQjq:xj(%`+">
                                                                                                                <field name="n">3</field>
                                                                                                                <value name="x">
                                                                                                                  <shadow type="math_number" id="${2/m,%T*ULKInSPhEs;">
                                                                                                                    <field name="NUM">3.1234</field>
                                                                                                                  </shadow>
                                                                                                                  <block type="variables_get" id="/AI?+5SzC8*}70Yiw`In">
                                                                                                                    <field name="VAR" id="rNmt]Ylyn6~w3v(K59#b">Abgabe_Haus</field>
                                                                                                                  </block>
                                                                                                                </value>
                                                                                                              </block>
                                                                                                            </value>
                                                                                                          </block>
                                                                                                        </next>
                                                                                                      </block>
                                                                                                    </statement>
                                                                                                  </block>
                                                                                                </statement>
                                                                                              </block>
                                                                                            </next>
                                                                                          </block>
                                                                                        </next>
                                                                                      </block>
                                                                                    </next>
                                                                                  </block>
                                                                                </next>
                                                                              </block>
                                                                            </next>
                                                                          </block>
                                                                        </next>
                                                                      </block>
                                                                    </next>
                                                                  </block>
                                                                </next>
                                                              </block>
                                                            </next>
                                                          </block>
                                                        </next>
                                                      </block>
                                                    </next>
                                                  </block>
                                                </next>
                                              </block>
                                            </next>
                                          </block>
                                        </xml>
                                        
                                        D 1 Reply Last reply
                                        0
                                        • L lesiflo

                                          @diet99 Bei der alten Script-Version wurden beim Restart die Werte auf Null gesetzt. Hast du da einen Restart gemacht?

                                          Hier die korrigierte Version, diese setzt bei den letzten ermittelten Werten auf:

                                          <xml xmlns="https://developers.google.com/blockly/xml">
                                            <variables>
                                              <variable id="gn:HU~SCGvnqbRCRMSCy">Neustart_1</variable>
                                              <variable id="a/H8.,c0S360]Nw/|3:F">Neustart_2</variable>
                                              <variable id="XNCv~NlI5*nArvrO2?sc">Neustart_3</variable>
                                              <variable id="b:qp3p2Oss,$m0DdLd:M">Neustart_4</variable>
                                              <variable id="H`8%Q[C];S#Po%f%^,*[">energie</variable>
                                              <variable id="B].n@]e_d8kNxs]d-Ky|">Laden_Akku</variable>
                                              <variable id="Ua?)Az%)A;%j}Z?Y(@qh">Entladen_Akku</variable>
                                              <variable id="rNmt]Ylyn6~w3v(K59#b">Abgabe_Haus</variable>
                                            </variables>
                                            <block type="comment" id="j2:aNxn%Er`8Q_}@!!P$" x="789" y="1475">
                                              <field name="COMMENT">Reset Tageswerte</field>
                                              <next>
                                                <block type="schedule" id="]L}6=Uyw4CKieYA8qo*{">
                                                  <field name="SCHEDULE">2 0 * * *</field>
                                                  <statement name="STATEMENT">
                                                    <block type="control" id="wO]+tfPu:O]@8vg4)@^w">
                                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                      <field name="OID">0_userdata.0.Eigene_Variablen.PV.Solarflow.packInputPower_kWh</field>
                                                      <field name="WITH_DELAY">FALSE</field>
                                                      <value name="VALUE">
                                                        <block type="math_number" id="0-8b%VD~nqwRqI#LWXFs">
                                                          <field name="NUM">0</field>
                                                        </block>
                                                      </value>
                                                      <next>
                                                        <block type="control" id=":Xx0TE*B2+5{)MCyETx9">
                                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                          <field name="OID">0_userdata.0.Eigene_Variablen.PV.Solarflow.outputPackPower_kWh</field>
                                                          <field name="WITH_DELAY">FALSE</field>
                                                          <value name="VALUE">
                                                            <block type="math_number" id="%F@$?A{uLGsZVc@9nVkI">
                                                              <field name="NUM">0</field>
                                                            </block>
                                                          </value>
                                                          <next>
                                                            <block type="control" id="!Ssd`Ac.tsL+mEscm.y!">
                                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                              <field name="OID">0_userdata.0.Eigene_Variablen.PV.Solarflow.solarInputPower_kWh</field>
                                                              <field name="WITH_DELAY">FALSE</field>
                                                              <value name="VALUE">
                                                                <block type="math_number" id="B.yO.QUgA{;$4X?-g8,h">
                                                                  <field name="NUM">0</field>
                                                                </block>
                                                              </value>
                                                              <next>
                                                                <block type="control" id="EW#t.vr$F-%Xm}DI79r$">
                                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                  <field name="OID">0_userdata.0.Eigene_Variablen.PV.Solarflow.outputHomePower_kWh</field>
                                                                  <field name="WITH_DELAY">FALSE</field>
                                                                  <value name="VALUE">
                                                                    <block type="math_number" id=")~K]8GK6@)ZJoFk(PTjL">
                                                                      <field name="NUM">0</field>
                                                                    </block>
                                                                  </value>
                                                                  <next>
                                                                    <block type="variables_set" id="RfP%gUCE_#E^hZzbQAYj">
                                                                      <field name="VAR" id="H`8%Q[C];S#Po%f%^,*[">energie</field>
                                                                      <value name="VALUE">
                                                                        <block type="get_object" id="fhJ-zn1s(d8_~@ror)Ga">
                                                                          <field name="OID">0_userdata.0.Eigene_Variablen.PV.Solarflow.solarInputPower_kWh</field>
                                                                        </block>
                                                                      </value>
                                                                      <next>
                                                                        <block type="variables_set" id="gw70B~d](MZS^tlJL$ZE">
                                                                          <field name="VAR" id="B].n@]e_d8kNxs]d-Ky|">Laden_Akku</field>
                                                                          <value name="VALUE">
                                                                            <block type="get_object" id="nvgxO+GU:/NYyfGjd(T7">
                                                                              <field name="OID">0_userdata.0.Eigene_Variablen.PV.Solarflow.packInputPower_kWh</field>
                                                                            </block>
                                                                          </value>
                                                                          <next>
                                                                            <block type="variables_set" id="(HL3sW/GTkqUWTykp!IY">
                                                                              <field name="VAR" id="Ua?)Az%)A;%j}Z?Y(@qh">Entladen_Akku</field>
                                                                              <value name="VALUE">
                                                                                <block type="get_object" id="k8M@bC*%_F78uSqVwepP">
                                                                                  <field name="OID">0_userdata.0.Eigene_Variablen.PV.Solarflow.outputPackPower_kWh</field>
                                                                                </block>
                                                                              </value>
                                                                              <next>
                                                                                <block type="variables_set" id=".j`=}xOL2?JBtSp_b6LK">
                                                                                  <field name="VAR" id="rNmt]Ylyn6~w3v(K59#b">Abgabe_Haus</field>
                                                                                  <value name="VALUE">
                                                                                    <block type="get_object" id="c[)j_kHXIV/jwf7+(%gs">
                                                                                      <field name="OID">0_userdata.0.Eigene_Variablen.PV.Solarflow.outputHomePower_kWh</field>
                                                                                    </block>
                                                                                  </value>
                                                                                </block>
                                                                              </next>
                                                                            </block>
                                                                          </next>
                                                                        </block>
                                                                      </next>
                                                                    </block>
                                                                  </next>
                                                                </block>
                                                              </next>
                                                            </block>
                                                          </next>
                                                        </block>
                                                      </next>
                                                    </block>
                                                  </statement>
                                                  <next>
                                                    <block type="variables_set" id="A.e$V`ynjg0#}qJnFF)w">
                                                      <field name="VAR" id="gn:HU~SCGvnqbRCRMSCy">Neustart_1</field>
                                                      <value name="VALUE">
                                                        <block type="logic_boolean" id="9Lm!l6t-vOXOddA~3mJg">
                                                          <field name="BOOL">TRUE</field>
                                                        </block>
                                                      </value>
                                                      <next>
                                                        <block type="variables_set" id="Kwwkm.V~1`Ki68g_9#b%">
                                                          <field name="VAR" id="a/H8.,c0S360]Nw/|3:F">Neustart_2</field>
                                                          <value name="VALUE">
                                                            <block type="logic_boolean" id="UJ:^du30dYguD?8AaTS_">
                                                              <field name="BOOL">TRUE</field>
                                                            </block>
                                                          </value>
                                                          <next>
                                                            <block type="variables_set" id="xKnM0`eD{gXYrjW[m8-~">
                                                              <field name="VAR" id="XNCv~NlI5*nArvrO2?sc">Neustart_3</field>
                                                              <value name="VALUE">
                                                                <block type="logic_boolean" id="5}jK$ZYn{!C.;k;}lZfO">
                                                                  <field name="BOOL">TRUE</field>
                                                                </block>
                                                              </value>
                                                              <next>
                                                                <block type="variables_set" id="IA]l7VT+#U1)a(Wx,f,8">
                                                                  <field name="VAR" id="b:qp3p2Oss,$m0DdLd:M">Neustart_4</field>
                                                                  <value name="VALUE">
                                                                    <block type="logic_boolean" id="##^J8V1KGH.r~8;dy?]Z">
                                                                      <field name="BOOL">TRUE</field>
                                                                    </block>
                                                                  </value>
                                                                  <next>
                                                                    <block type="comment" id="RV+eO`6:RC~uyK=4f_nx">
                                                                      <field name="COMMENT">Produktion PV in kWh</field>
                                                                      <next>
                                                                        <block type="on_ext" id="TZZI45[#ikP]~r)[F#^K">
                                                                          <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="FYq7rQr_UY1$l*O%mT96">
                                                                              <field name="oid">zendure-solarflow.0.73bkTV.7rk1nVD9.solarInputPower</field>
                                                                            </shadow>
                                                                          </value>
                                                                          <statement name="STATEMENT">
                                                                            <block type="controls_if" id="9ONCtcSN=;/2qz9[DzO~">
                                                                              <value name="IF0">
                                                                                <block type="logic_compare" id="4EEJBi[?ILa5iGd=EP**">
                                                                                  <field name="OP">GT</field>
                                                                                  <value name="A">
                                                                                    <block type="on_source" id="^t~l#qd|9b]s|+=[u^;5">
                                                                                      <field name="ATTR">state.val</field>
                                                                                    </block>
                                                                                  </value>
                                                                                  <value name="B">
                                                                                    <block type="math_number" id="pmxSrG=-GuXXA_}`$X1D">
                                                                                      <field name="NUM">0</field>
                                                                                    </block>
                                                                                  </value>
                                                                                </block>
                                                                              </value>
                                                                              <statement name="DO0">
                                                                                <block type="controls_if" id="*L*Yc!EzfPIh*2k}_7Vz">
                                                                                  <mutation else="1"></mutation>
                                                                                  <value name="IF0">
                                                                                    <block type="logic_compare" id="n;dpIW~`J2u7;lV3ROiX">
                                                                                      <field name="OP">EQ</field>
                                                                                      <value name="A">
                                                                                        <block type="variables_get" id="4fY}typI~6{8=h%GUoQ~">
                                                                                          <field name="VAR" id="gn:HU~SCGvnqbRCRMSCy">Neustart_1</field>
                                                                                        </block>
                                                                                      </value>
                                                                                      <value name="B">
                                                                                        <block type="logic_boolean" id="rkB9sBz,O9_}wD4.-5u8">
                                                                                          <field name="BOOL">TRUE</field>
                                                                                        </block>
                                                                                      </value>
                                                                                    </block>
                                                                                  </value>
                                                                                  <statement name="DO0">
                                                                                    <block type="math_change" id="y-9zY$P8f}:4ALE*brXu">
                                                                                      <field name="VAR" id="H`8%Q[C];S#Po%f%^,*[">energie</field>
                                                                                      <value name="DELTA">
                                                                                        <shadow type="math_number" id=",5ZCZx[AyTZPJRCD4}~t">
                                                                                          <field name="NUM">3.41</field>
                                                                                        </shadow>
                                                                                        <block type="get_value" id="S?iu6=CgEh|3V[gG}+,q">
                                                                                          <field name="ATTR">val</field>
                                                                                          <field name="OID">0_userdata.0.Eigene_Variablen.PV.Solarflow.solarInputPower_kWh</field>
                                                                                        </block>
                                                                                      </value>
                                                                                      <next>
                                                                                        <block type="variables_set" id="a3[{#PxcqT50XxDZ8o+/">
                                                                                          <field name="VAR" id="gn:HU~SCGvnqbRCRMSCy">Neustart_1</field>
                                                                                          <value name="VALUE">
                                                                                            <block type="logic_boolean" id="[5x*/OoOwUtJnu5;fI!%">
                                                                                              <field name="BOOL">FALSE</field>
                                                                                            </block>
                                                                                          </value>
                                                                                        </block>
                                                                                      </next>
                                                                                    </block>
                                                                                  </statement>
                                                                                  <statement name="ELSE">
                                                                                    <block type="math_change" id="4l|3nJK3ab*a;%4oOEr:">
                                                                                      <field name="VAR" id="H`8%Q[C];S#Po%f%^,*[">energie</field>
                                                                                      <value name="DELTA">
                                                                                        <shadow type="math_number" id="v6ED/wn1{*R^;wC?o2j!">
                                                                                          <field name="NUM">1</field>
                                                                                        </shadow>
                                                                                        <block type="math_arithmetic" id="*TjAL)Qm[^ij,1^%-zFp" inline="false">
                                                                                          <field name="OP">DIVIDE</field>
                                                                                          <value name="A">
                                                                                            <shadow type="math_number" id="7TDAa@37OuJ`vcT;P%*S">
                                                                                              <field name="NUM">1</field>
                                                                                            </shadow>
                                                                                            <block type="math_arithmetic" id="f-yO-QtK`#*o44p4l~(z" inline="false">
                                                                                              <field name="OP">MULTIPLY</field>
                                                                                              <value name="A">
                                                                                                <shadow type="math_number" id="5~%F;bHMxZ^filO5NJlP">
                                                                                                  <field name="NUM">1</field>
                                                                                                </shadow>
                                                                                                <block type="on_source" id=":[cP3-xt`]9uOyB~EA0|">
                                                                                                  <field name="ATTR">oldState.val</field>
                                                                                                </block>
                                                                                              </value>
                                                                                              <value name="B">
                                                                                                <shadow type="math_number" id="pL#ugPnA,fA?t^ZJgf.Y">
                                                                                                  <field name="NUM">1</field>
                                                                                                </shadow>
                                                                                                <block type="math_arithmetic" id="Lg(3A*d,5?1Nb.q|gM=s">
                                                                                                  <field name="OP">MINUS</field>
                                                                                                  <value name="A">
                                                                                                    <shadow type="math_number" id="vD5aC,I(S]J9iOZ+c4J-">
                                                                                                      <field name="NUM">1</field>
                                                                                                    </shadow>
                                                                                                    <block type="on_source" id="Znb.rqcqheWmt5$ect[t">
                                                                                                      <field name="ATTR">state.lc</field>
                                                                                                    </block>
                                                                                                  </value>
                                                                                                  <value name="B">
                                                                                                    <shadow type="math_number" id="RlrE5saDi)]Sef;L+Ayu">
                                                                                                      <field name="NUM">1</field>
                                                                                                    </shadow>
                                                                                                    <block type="on_source" id="sC$AGCU(o~$];AuwLfa_">
                                                                                                      <field name="ATTR">oldState.lc</field>
                                                                                                    </block>
                                                                                                  </value>
                                                                                                </block>
                                                                                              </value>
                                                                                            </block>
                                                                                          </value>
                                                                                          <value name="B">
                                                                                            <shadow type="math_number" id="f6(R_NuM*Zwyrg-(qhk}">
                                                                                              <field name="NUM">3600000000</field>
                                                                                            </shadow>
                                                                                          </value>
                                                                                        </block>
                                                                                      </value>
                                                                                    </block>
                                                                                  </statement>
                                                                                  <next>
                                                                                    <block type="update" id="CII[{jcsb@hcMs[d|BQ(">
                                                                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                      <field name="OID">0_userdata.0.Eigene_Variablen.PV.Solarflow.solarInputPower_kWh</field>
                                                                                      <field name="WITH_DELAY">FALSE</field>
                                                                                      <value name="VALUE">
                                                                                        <block type="math_rndfixed" id="~?Jqw`YNch87/XxEuB~~">
                                                                                          <field name="n">3</field>
                                                                                          <value name="x">
                                                                                            <shadow type="math_number" id="${2/m,%T*ULKInSPhEs;">
                                                                                              <field name="NUM">3.1234</field>
                                                                                            </shadow>
                                                                                            <block type="variables_get" id=";gMk*PhZzVvIU5*ye4Zc">
                                                                                              <field name="VAR" id="H`8%Q[C];S#Po%f%^,*[">energie</field>
                                                                                            </block>
                                                                                          </value>
                                                                                        </block>
                                                                                      </value>
                                                                                      <next>
                                                                                        <block type="control" id="Q!_jCcJF^7_-(qn6CvZ,">
                                                                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                          <field name="OID">mqtt.0.openWB.set.pv.2.WhCounter</field>
                                                                                          <field name="WITH_DELAY">FALSE</field>
                                                                                          <value name="VALUE">
                                                                                            <block type="math_arithmetic" id="Ea`xv/s7NDugI.AC@N@g" inline="false">
                                                                                              <field name="OP">MULTIPLY</field>
                                                                                              <value name="A">
                                                                                                <shadow type="math_number" id="N=7tsj%3fV7yT+T#m[MR">
                                                                                                  <field name="NUM">1</field>
                                                                                                </shadow>
                                                                                                <block type="get_value" id="pmeKMtFb8gwAO1?l@QVQ">
                                                                                                  <field name="ATTR">val</field>
                                                                                                  <field name="OID">0_userdata.0.Eigene_Variablen.PV.Solarflow.solarInputPower_kWh</field>
                                                                                                </block>
                                                                                              </value>
                                                                                              <value name="B">
                                                                                                <shadow type="math_number" id="w`C6H+RV?nMM32v2P^09">
                                                                                                  <field name="NUM">1000</field>
                                                                                                </shadow>
                                                                                              </value>
                                                                                            </block>
                                                                                          </value>
                                                                                        </block>
                                                                                      </next>
                                                                                    </block>
                                                                                  </next>
                                                                                </block>
                                                                              </statement>
                                                                            </block>
                                                                          </statement>
                                                                          <next>
                                                                            <block type="comment" id="S[uq}2B1D)vx]H[TnOay">
                                                                              <field name="COMMENT">Berechnung Akku laden in kWh</field>
                                                                              <next>
                                                                                <block type="on_ext" id="tA7mP|%Y5`?gn6w1L-|D">
                                                                                  <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="N7O~V4f9c?ea+dU1L`:X">
                                                                                      <field name="oid">zendure-solarflow.0.73bkTV.7rk1nVD9.outputPackPower</field>
                                                                                    </shadow>
                                                                                  </value>
                                                                                  <statement name="STATEMENT">
                                                                                    <block type="controls_if" id=")7LDT=K6QU!2Mi~2:ch[">
                                                                                      <value name="IF0">
                                                                                        <block type="logic_compare" id="~|FCyyy5ewSEEN=g(M/.">
                                                                                          <field name="OP">GT</field>
                                                                                          <value name="A">
                                                                                            <block type="on_source" id="P-hhEf#);IW^2rvTpOl~">
                                                                                              <field name="ATTR">state.val</field>
                                                                                            </block>
                                                                                          </value>
                                                                                          <value name="B">
                                                                                            <block type="math_number" id="b[5`?J9:V/-r9#MPS,I~">
                                                                                              <field name="NUM">0</field>
                                                                                            </block>
                                                                                          </value>
                                                                                        </block>
                                                                                      </value>
                                                                                      <statement name="DO0">
                                                                                        <block type="controls_if" id="c5aDvpeTriLk~6vf]Y|~">
                                                                                          <mutation else="1"></mutation>
                                                                                          <value name="IF0">
                                                                                            <block type="logic_compare" id="*G.~;x%ZLo_bOv7Tl2d9">
                                                                                              <field name="OP">EQ</field>
                                                                                              <value name="A">
                                                                                                <block type="variables_get" id="7AGWjISHl;MPE4!e2f3L">
                                                                                                  <field name="VAR" id="a/H8.,c0S360]Nw/|3:F">Neustart_2</field>
                                                                                                </block>
                                                                                              </value>
                                                                                              <value name="B">
                                                                                                <block type="logic_boolean" id="IU+EFtT5I~l-h!|:Y,lS">
                                                                                                  <field name="BOOL">TRUE</field>
                                                                                                </block>
                                                                                              </value>
                                                                                            </block>
                                                                                          </value>
                                                                                          <statement name="DO0">
                                                                                            <block type="math_change" id="h@wU*SxqXA[~W5EB*08B">
                                                                                              <field name="VAR" id="B].n@]e_d8kNxs]d-Ky|">Laden_Akku</field>
                                                                                              <value name="DELTA">
                                                                                                <shadow type="math_number" id="?2w483KU@L1=[MXF[gOY">
                                                                                                  <field name="NUM">1.602</field>
                                                                                                </shadow>
                                                                                                <block type="get_object" id="i-oJ.c]tqs_+g;RZ5Ox)">
                                                                                                  <field name="OID">0_userdata.0.Eigene_Variablen.PV.Solarflow.packInputPower_kWh</field>
                                                                                                </block>
                                                                                              </value>
                                                                                              <next>
                                                                                                <block type="variables_set" id="/MC0[xVQ[1|)r]N^uhgy">
                                                                                                  <field name="VAR" id="a/H8.,c0S360]Nw/|3:F">Neustart_2</field>
                                                                                                  <value name="VALUE">
                                                                                                    <block type="logic_boolean" id="DDdhB,3DE,K[{?sDGMb`">
                                                                                                      <field name="BOOL">FALSE</field>
                                                                                                    </block>
                                                                                                  </value>
                                                                                                </block>
                                                                                              </next>
                                                                                            </block>
                                                                                          </statement>
                                                                                          <statement name="ELSE">
                                                                                            <block type="math_change" id=",LTm7BNxx,@5BA3Rh$OI">
                                                                                              <field name="VAR" id="B].n@]e_d8kNxs]d-Ky|">Laden_Akku</field>
                                                                                              <value name="DELTA">
                                                                                                <shadow type="math_number" id="Tz.y^`eEKJCgv04Ea084">
                                                                                                  <field name="NUM">1</field>
                                                                                                </shadow>
                                                                                                <block type="math_arithmetic" id="C9xe[8k:R1)F;mW!.Ry^" inline="false">
                                                                                                  <field name="OP">DIVIDE</field>
                                                                                                  <value name="A">
                                                                                                    <shadow type="math_number" id="7TDAa@37OuJ`vcT;P%*S">
                                                                                                      <field name="NUM">1</field>
                                                                                                    </shadow>
                                                                                                    <block type="math_arithmetic" id="M-Dd1Nd]nm;c|u`.Muod" inline="false">
                                                                                                      <field name="OP">MULTIPLY</field>
                                                                                                      <value name="A">
                                                                                                        <shadow type="math_number" id="5~%F;bHMxZ^filO5NJlP">
                                                                                                          <field name="NUM">1</field>
                                                                                                        </shadow>
                                                                                                        <block type="on_source" id="8VDYuoUm^NjBe$n;`ASx">
                                                                                                          <field name="ATTR">oldState.val</field>
                                                                                                        </block>
                                                                                                      </value>
                                                                                                      <value name="B">
                                                                                                        <shadow type="math_number" id="pL#ugPnA,fA?t^ZJgf.Y">
                                                                                                          <field name="NUM">1</field>
                                                                                                        </shadow>
                                                                                                        <block type="math_arithmetic" id="~^1xrvsa`JBhMeA(Ly[A">
                                                                                                          <field name="OP">MINUS</field>
                                                                                                          <value name="A">
                                                                                                            <shadow type="math_number" id="vD5aC,I(S]J9iOZ+c4J-">
                                                                                                              <field name="NUM">1</field>
                                                                                                            </shadow>
                                                                                                            <block type="on_source" id="`DDM(..({)7,a$.8/)lo">
                                                                                                              <field name="ATTR">state.lc</field>
                                                                                                            </block>
                                                                                                          </value>
                                                                                                          <value name="B">
                                                                                                            <shadow type="math_number" id="RlrE5saDi)]Sef;L+Ayu">
                                                                                                              <field name="NUM">1</field>
                                                                                                            </shadow>
                                                                                                            <block type="on_source" id="O,KFUPd_Uo~Hzh2W4g[%">
                                                                                                              <field name="ATTR">oldState.lc</field>
                                                                                                            </block>
                                                                                                          </value>
                                                                                                        </block>
                                                                                                      </value>
                                                                                                    </block>
                                                                                                  </value>
                                                                                                  <value name="B">
                                                                                                    <shadow type="math_number" id="Zq.8%jE+,+:1O9jL!fKG">
                                                                                                      <field name="NUM">3600000000</field>
                                                                                                    </shadow>
                                                                                                  </value>
                                                                                                </block>
                                                                                              </value>
                                                                                            </block>
                                                                                          </statement>
                                                                                          <next>
                                                                                            <block type="update" id="qXnE^jarf]|@.iM]pXSN">
                                                                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                              <field name="OID">0_userdata.0.Eigene_Variablen.PV.Solarflow.packInputPower_kWh</field>
                                                                                              <field name="WITH_DELAY">FALSE</field>
                                                                                              <value name="VALUE">
                                                                                                <block type="math_rndfixed" id="As^GC*c3c#/ovcCj[Izk">
                                                                                                  <field name="n">3</field>
                                                                                                  <value name="x">
                                                                                                    <shadow type="math_number" id="${2/m,%T*ULKInSPhEs;">
                                                                                                      <field name="NUM">3.1234</field>
                                                                                                    </shadow>
                                                                                                    <block type="variables_get" id="DVvB(,~+n;u?KX$i-3+{">
                                                                                                      <field name="VAR" id="B].n@]e_d8kNxs]d-Ky|">Laden_Akku</field>
                                                                                                    </block>
                                                                                                  </value>
                                                                                                </block>
                                                                                              </value>
                                                                                              <next>
                                                                                                <block type="control" id="[)VC.[VO$|K8PP2]tY67">
                                                                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                                  <field name="OID">mqtt.0.openWB.set.houseBattery.WhImported</field>
                                                                                                  <field name="WITH_DELAY">FALSE</field>
                                                                                                  <value name="VALUE">
                                                                                                    <block type="math_arithmetic" id="AhC[[X(wwlT`p31ph@gH" inline="false">
                                                                                                      <field name="OP">MULTIPLY</field>
                                                                                                      <value name="A">
                                                                                                        <shadow type="math_number" id="N=7tsj%3fV7yT+T#m[MR">
                                                                                                          <field name="NUM">1</field>
                                                                                                        </shadow>
                                                                                                        <block type="get_value" id="?,B:`OZ!(-V](MS~Z[jR">
                                                                                                          <field name="ATTR">val</field>
                                                                                                          <field name="OID">0_userdata.0.Eigene_Variablen.PV.Solarflow.packInputPower_kWh</field>
                                                                                                        </block>
                                                                                                      </value>
                                                                                                      <value name="B">
                                                                                                        <shadow type="math_number" id="095(Ty8?(Bn804.AK%N@">
                                                                                                          <field name="NUM">1000</field>
                                                                                                        </shadow>
                                                                                                      </value>
                                                                                                    </block>
                                                                                                  </value>
                                                                                                </block>
                                                                                              </next>
                                                                                            </block>
                                                                                          </next>
                                                                                        </block>
                                                                                      </statement>
                                                                                    </block>
                                                                                  </statement>
                                                                                  <next>
                                                                                    <block type="comment" id="c=~;P.ij`)3VXFF.QfJ9">
                                                                                      <field name="COMMENT">Berechnung Akku entladen in kWh</field>
                                                                                      <next>
                                                                                        <block type="on_ext" id="!BqpT6L5Jt9!dy}Om1f_">
                                                                                          <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="-$}N.4QXm{r96x(/6LPZ">
                                                                                              <field name="oid">zendure-solarflow.0.73bkTV.7rk1nVD9.packInputPower</field>
                                                                                            </shadow>
                                                                                          </value>
                                                                                          <statement name="STATEMENT">
                                                                                            <block type="controls_if" id="8v:aj[g:]uaMl].C1`_.">
                                                                                              <value name="IF0">
                                                                                                <block type="logic_compare" id="H3slbvS[c!1Lq#r^W74f">
                                                                                                  <field name="OP">GT</field>
                                                                                                  <value name="A">
                                                                                                    <block type="on_source" id="f.E$s3*Wp/UKOokR7Lob">
                                                                                                      <field name="ATTR">state.val</field>
                                                                                                    </block>
                                                                                                  </value>
                                                                                                  <value name="B">
                                                                                                    <block type="math_number" id="#~(=zoaXW2j_5O/GTH$U">
                                                                                                      <field name="NUM">0</field>
                                                                                                    </block>
                                                                                                  </value>
                                                                                                </block>
                                                                                              </value>
                                                                                              <statement name="DO0">
                                                                                                <block type="controls_if" id="VJ8Io*WhRDbS1}FaX:74">
                                                                                                  <mutation else="1"></mutation>
                                                                                                  <value name="IF0">
                                                                                                    <block type="logic_compare" id="V1zhz55Qm7$vDkk2z%T3">
                                                                                                      <field name="OP">EQ</field>
                                                                                                      <value name="A">
                                                                                                        <block type="variables_get" id="?;zl!U(GfWmA{?6/4:cM">
                                                                                                          <field name="VAR" id="XNCv~NlI5*nArvrO2?sc">Neustart_3</field>
                                                                                                        </block>
                                                                                                      </value>
                                                                                                      <value name="B">
                                                                                                        <block type="logic_boolean" id="XQ#hdORn*wHz{=F8nSa?">
                                                                                                          <field name="BOOL">TRUE</field>
                                                                                                        </block>
                                                                                                      </value>
                                                                                                    </block>
                                                                                                  </value>
                                                                                                  <statement name="DO0">
                                                                                                    <block type="math_change" id="m0~C1eo2h6f6yZFU6MS8">
                                                                                                      <field name="VAR" id="Ua?)Az%)A;%j}Z?Y(@qh">Entladen_Akku</field>
                                                                                                      <value name="DELTA">
                                                                                                        <shadow type="math_number" id="1r4~awuX!)O}@Lmc*#vZ">
                                                                                                          <field name="NUM">1.71</field>
                                                                                                        </shadow>
                                                                                                        <block type="get_object" id="9^W,912D^Kj{T=_rhV#@">
                                                                                                          <field name="OID">0_userdata.0.Eigene_Variablen.PV.Solarflow.outputPackPower_kWh</field>
                                                                                                        </block>
                                                                                                      </value>
                                                                                                      <next>
                                                                                                        <block type="variables_set" id="]/EX6[=X`iRF;C3hn=Vs">
                                                                                                          <field name="VAR" id="XNCv~NlI5*nArvrO2?sc">Neustart_3</field>
                                                                                                          <value name="VALUE">
                                                                                                            <block type="logic_boolean" id="}S=44gZ,lyqsH([ac97s">
                                                                                                              <field name="BOOL">FALSE</field>
                                                                                                            </block>
                                                                                                          </value>
                                                                                                        </block>
                                                                                                      </next>
                                                                                                    </block>
                                                                                                  </statement>
                                                                                                  <statement name="ELSE">
                                                                                                    <block type="math_change" id="zv~:LFqOXR8eCzZ}2PSn">
                                                                                                      <field name="VAR" id="Ua?)Az%)A;%j}Z?Y(@qh">Entladen_Akku</field>
                                                                                                      <value name="DELTA">
                                                                                                        <shadow type="math_number" id="ay#exbh~G#uELijBtY?p">
                                                                                                          <field name="NUM">1</field>
                                                                                                        </shadow>
                                                                                                        <block type="math_arithmetic" id="=~zzaYs@C!=/7kiGaDYT" inline="false">
                                                                                                          <field name="OP">DIVIDE</field>
                                                                                                          <value name="A">
                                                                                                            <shadow type="math_number" id="7TDAa@37OuJ`vcT;P%*S">
                                                                                                              <field name="NUM">1</field>
                                                                                                            </shadow>
                                                                                                            <block type="math_arithmetic" id="*c:?e5VPn7Sh9~_QJ=-j" inline="false">
                                                                                                              <field name="OP">MULTIPLY</field>
                                                                                                              <value name="A">
                                                                                                                <shadow type="math_number" id="5~%F;bHMxZ^filO5NJlP">
                                                                                                                  <field name="NUM">1</field>
                                                                                                                </shadow>
                                                                                                                <block type="on_source" id="HvBAv0llhwnR6p[ODeBS">
                                                                                                                  <field name="ATTR">oldState.val</field>
                                                                                                                </block>
                                                                                                              </value>
                                                                                                              <value name="B">
                                                                                                                <shadow type="math_number" id="pL#ugPnA,fA?t^ZJgf.Y">
                                                                                                                  <field name="NUM">1</field>
                                                                                                                </shadow>
                                                                                                                <block type="math_arithmetic" id="5yr^uZJ29Ue}-Hlpod-c">
                                                                                                                  <field name="OP">MINUS</field>
                                                                                                                  <value name="A">
                                                                                                                    <shadow type="math_number" id="vD5aC,I(S]J9iOZ+c4J-">
                                                                                                                      <field name="NUM">1</field>
                                                                                                                    </shadow>
                                                                                                                    <block type="on_source" id="Uex!oWqZ]paz15!9(cFm">
                                                                                                                      <field name="ATTR">state.lc</field>
                                                                                                                    </block>
                                                                                                                  </value>
                                                                                                                  <value name="B">
                                                                                                                    <shadow type="math_number" id="RlrE5saDi)]Sef;L+Ayu">
                                                                                                                      <field name="NUM">1</field>
                                                                                                                    </shadow>
                                                                                                                    <block type="on_source" id="#(Wqzv;9MnYqi|T$8:FQ">
                                                                                                                      <field name="ATTR">oldState.lc</field>
                                                                                                                    </block>
                                                                                                                  </value>
                                                                                                                </block>
                                                                                                              </value>
                                                                                                            </block>
                                                                                                          </value>
                                                                                                          <value name="B">
                                                                                                            <shadow type="math_number" id="v2u8FsxwPa=M=y?4:9M8">
                                                                                                              <field name="NUM">3600000000</field>
                                                                                                            </shadow>
                                                                                                          </value>
                                                                                                        </block>
                                                                                                      </value>
                                                                                                    </block>
                                                                                                  </statement>
                                                                                                  <next>
                                                                                                    <block type="update" id=";^JXx3vl[5u[6j}uIq(0">
                                                                                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                                      <field name="OID">0_userdata.0.Eigene_Variablen.PV.Solarflow.outputPackPower_kWh</field>
                                                                                                      <field name="WITH_DELAY">FALSE</field>
                                                                                                      <value name="VALUE">
                                                                                                        <block type="math_rndfixed" id="o4%pJbXN;{br1M}:2,Sa">
                                                                                                          <field name="n">3</field>
                                                                                                          <value name="x">
                                                                                                            <shadow type="math_number" id="${2/m,%T*ULKInSPhEs;">
                                                                                                              <field name="NUM">3.1234</field>
                                                                                                            </shadow>
                                                                                                            <block type="variables_get" id="e6xZibt(AEyrALe;?(`j">
                                                                                                              <field name="VAR" id="Ua?)Az%)A;%j}Z?Y(@qh">Entladen_Akku</field>
                                                                                                            </block>
                                                                                                          </value>
                                                                                                        </block>
                                                                                                      </value>
                                                                                                      <next>
                                                                                                        <block type="control" id="(06jUc?xnQ,eg+64uDv`">
                                                                                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                                          <field name="OID">mqtt.0.openWB.set.houseBattery.WhExported</field>
                                                                                                          <field name="WITH_DELAY">FALSE</field>
                                                                                                          <value name="VALUE">
                                                                                                            <block type="math_arithmetic" id="G%YwXy}:JLdYme*1aOEN" inline="false">
                                                                                                              <field name="OP">MULTIPLY</field>
                                                                                                              <value name="A">
                                                                                                                <shadow type="math_number" id="N=7tsj%3fV7yT+T#m[MR">
                                                                                                                  <field name="NUM">1</field>
                                                                                                                </shadow>
                                                                                                                <block type="get_value" id="PH#Ytw3L8+aUa)$O|p3m">
                                                                                                                  <field name="ATTR">val</field>
                                                                                                                  <field name="OID">0_userdata.0.Eigene_Variablen.PV.Solarflow.outputPackPower_kWh</field>
                                                                                                                </block>
                                                                                                              </value>
                                                                                                              <value name="B">
                                                                                                                <shadow type="math_number" id="D|T1ZM^54Ur/]np;jQ~L">
                                                                                                                  <field name="NUM">1000</field>
                                                                                                                </shadow>
                                                                                                              </value>
                                                                                                            </block>
                                                                                                          </value>
                                                                                                        </block>
                                                                                                      </next>
                                                                                                    </block>
                                                                                                  </next>
                                                                                                </block>
                                                                                              </statement>
                                                                                            </block>
                                                                                          </statement>
                                                                                          <next>
                                                                                            <block type="comment" id="!Rz`~!wnwyL0;![Qh:}p">
                                                                                              <field name="COMMENT">Berechnung Abgabe Haus in kWh</field>
                                                                                              <next>
                                                                                                <block type="on_ext" id="lu.)LCKv`g8i-n#_TISE" collapsed="true">
                                                                                                  <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="N3{ZrX7f+OsMsIP#/U9i">
                                                                                                      <field name="oid">zendure-solarflow.0.73bkTV.7rk1nVD9.outputHomePower</field>
                                                                                                    </shadow>
                                                                                                  </value>
                                                                                                  <statement name="STATEMENT">
                                                                                                    <block type="controls_if" id="+G8hcCGY@}X{m=_./ZS9">
                                                                                                      <value name="IF0">
                                                                                                        <block type="logic_compare" id="6?gQo4NovHN[5^(I,XC4">
                                                                                                          <field name="OP">GT</field>
                                                                                                          <value name="A">
                                                                                                            <block type="on_source" id="/),v0q8DTHi1duT7Tgk2">
                                                                                                              <field name="ATTR">state.val</field>
                                                                                                            </block>
                                                                                                          </value>
                                                                                                          <value name="B">
                                                                                                            <block type="math_number" id="BB)1-0}6e._yDF76=WOt">
                                                                                                              <field name="NUM">0</field>
                                                                                                            </block>
                                                                                                          </value>
                                                                                                        </block>
                                                                                                      </value>
                                                                                                      <statement name="DO0">
                                                                                                        <block type="controls_if" id="mSS8%^)DYudFmr@:+8I9">
                                                                                                          <mutation else="1"></mutation>
                                                                                                          <value name="IF0">
                                                                                                            <block type="logic_compare" id="$E#Dc8vr.B]olt;a-y(G">
                                                                                                              <field name="OP">EQ</field>
                                                                                                              <value name="A">
                                                                                                                <block type="variables_get" id="|`D=XZ|35{IQ3S;Jndfe">
                                                                                                                  <field name="VAR" id="b:qp3p2Oss,$m0DdLd:M">Neustart_4</field>
                                                                                                                </block>
                                                                                                              </value>
                                                                                                              <value name="B">
                                                                                                                <block type="logic_boolean" id="l*KugydQ(QG8/H_!CRO$">
                                                                                                                  <field name="BOOL">TRUE</field>
                                                                                                                </block>
                                                                                                              </value>
                                                                                                            </block>
                                                                                                          </value>
                                                                                                          <statement name="DO0">
                                                                                                            <block type="math_change" id="6z6`_uZX34.@i5b~Vb^J">
                                                                                                              <field name="VAR" id="rNmt]Ylyn6~w3v(K59#b">Abgabe_Haus</field>
                                                                                                              <value name="DELTA">
                                                                                                                <shadow type="math_number" id="1r4~awuX!)O}@Lmc*#vZ">
                                                                                                                  <field name="NUM">1.74</field>
                                                                                                                </shadow>
                                                                                                                <block type="get_value" id="=O`7WQ]*m(8x=h#@2%eD">
                                                                                                                  <field name="ATTR">val</field>
                                                                                                                  <field name="OID">0_userdata.0.Eigene_Variablen.PV.Solarflow.outputHomePower_kWh</field>
                                                                                                                </block>
                                                                                                              </value>
                                                                                                              <next>
                                                                                                                <block type="variables_set" id="U$3upQY@!8D2iq5ZAu5K">
                                                                                                                  <field name="VAR" id="b:qp3p2Oss,$m0DdLd:M">Neustart_4</field>
                                                                                                                  <value name="VALUE">
                                                                                                                    <block type="logic_boolean" id="C9eqy.G8v9ZLb+}]k2sL">
                                                                                                                      <field name="BOOL">FALSE</field>
                                                                                                                    </block>
                                                                                                                  </value>
                                                                                                                </block>
                                                                                                              </next>
                                                                                                            </block>
                                                                                                          </statement>
                                                                                                          <statement name="ELSE">
                                                                                                            <block type="math_change" id="9b^dkm#-?~e0OS5Nq^4V">
                                                                                                              <field name="VAR" id="rNmt]Ylyn6~w3v(K59#b">Abgabe_Haus</field>
                                                                                                              <value name="DELTA">
                                                                                                                <shadow type="math_number" id="ay#exbh~G#uELijBtY?p">
                                                                                                                  <field name="NUM">1</field>
                                                                                                                </shadow>
                                                                                                                <block type="math_arithmetic" id="{vcK[DOQcI)]y;z4Kr4C" inline="false">
                                                                                                                  <field name="OP">DIVIDE</field>
                                                                                                                  <value name="A">
                                                                                                                    <shadow type="math_number" id="7TDAa@37OuJ`vcT;P%*S">
                                                                                                                      <field name="NUM">1</field>
                                                                                                                    </shadow>
                                                                                                                    <block type="math_arithmetic" id="gJV2]_@S+B~UD}TSpd;4" inline="false">
                                                                                                                      <field name="OP">MULTIPLY</field>
                                                                                                                      <value name="A">
                                                                                                                        <shadow type="math_number" id="5~%F;bHMxZ^filO5NJlP">
                                                                                                                          <field name="NUM">1</field>
                                                                                                                        </shadow>
                                                                                                                        <block type="on_source" id="IAb1A;puC-C6AMdJhhgT">
                                                                                                                          <field name="ATTR">oldState.val</field>
                                                                                                                        </block>
                                                                                                                      </value>
                                                                                                                      <value name="B">
                                                                                                                        <shadow type="math_number" id="pL#ugPnA,fA?t^ZJgf.Y">
                                                                                                                          <field name="NUM">1</field>
                                                                                                                        </shadow>
                                                                                                                        <block type="math_arithmetic" id="olvs!]kL^=dCZ!e:AX.J">
                                                                                                                          <field name="OP">MINUS</field>
                                                                                                                          <value name="A">
                                                                                                                            <shadow type="math_number" id="vD5aC,I(S]J9iOZ+c4J-">
                                                                                                                              <field name="NUM">1</field>
                                                                                                                            </shadow>
                                                                                                                            <block type="on_source" id="~bmB$Km8w],+,S%s0tOs">
                                                                                                                              <field name="ATTR">state.lc</field>
                                                                                                                            </block>
                                                                                                                          </value>
                                                                                                                          <value name="B">
                                                                                                                            <shadow type="math_number" id="RlrE5saDi)]Sef;L+Ayu">
                                                                                                                              <field name="NUM">1</field>
                                                                                                                            </shadow>
                                                                                                                            <block type="on_source" id=":2+j;NyubW-?`^b=wo=a">
                                                                                                                              <field name="ATTR">oldState.lc</field>
                                                                                                                            </block>
                                                                                                                          </value>
                                                                                                                        </block>
                                                                                                                      </value>
                                                                                                                    </block>
                                                                                                                  </value>
                                                                                                                  <value name="B">
                                                                                                                    <shadow type="math_number" id="y]r%zv}RqUk.DhB!z`|S">
                                                                                                                      <field name="NUM">3600000000</field>
                                                                                                                    </shadow>
                                                                                                                  </value>
                                                                                                                </block>
                                                                                                              </value>
                                                                                                            </block>
                                                                                                          </statement>
                                                                                                          <next>
                                                                                                            <block type="update" id="NVg/pYOb]:Z0#~Y4x~^c">
                                                                                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                                              <field name="OID">0_userdata.0.Eigene_Variablen.PV.Solarflow.outputHomePower_kWh</field>
                                                                                                              <field name="WITH_DELAY">FALSE</field>
                                                                                                              <value name="VALUE">
                                                                                                                <block type="math_rndfixed" id="uT1DuxRN5JQjq:xj(%`+">
                                                                                                                  <field name="n">3</field>
                                                                                                                  <value name="x">
                                                                                                                    <shadow type="math_number" id="${2/m,%T*ULKInSPhEs;">
                                                                                                                      <field name="NUM">3.1234</field>
                                                                                                                    </shadow>
                                                                                                                    <block type="variables_get" id="/AI?+5SzC8*}70Yiw`In">
                                                                                                                      <field name="VAR" id="rNmt]Ylyn6~w3v(K59#b">Abgabe_Haus</field>
                                                                                                                    </block>
                                                                                                                  </value>
                                                                                                                </block>
                                                                                                              </value>
                                                                                                            </block>
                                                                                                          </next>
                                                                                                        </block>
                                                                                                      </statement>
                                                                                                    </block>
                                                                                                  </statement>
                                                                                                </block>
                                                                                              </next>
                                                                                            </block>
                                                                                          </next>
                                                                                        </block>
                                                                                      </next>
                                                                                    </block>
                                                                                  </next>
                                                                                </block>
                                                                              </next>
                                                                            </block>
                                                                          </next>
                                                                        </block>
                                                                      </next>
                                                                    </block>
                                                                  </next>
                                                                </block>
                                                              </next>
                                                            </block>
                                                          </next>
                                                        </block>
                                                      </next>
                                                    </block>
                                                  </next>
                                                </block>
                                              </next>
                                            </block>
                                          </xml>
                                          
                                          D Offline
                                          D Offline
                                          diet99
                                          wrote on last edited by diet99
                                          #140

                                          @lesiflo Moin! Das wäre rein theoretisch möglich - bin aber nicht sicher. Muß ich mir anschauen.
                                          Danke für die neue Version!

                                          Edit: wo kommt der Block hin?

                                          L 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          166

                                          Online

                                          32.4k

                                          Users

                                          81.3k

                                          Topics

                                          1.3m

                                          Posts
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Recent
                                          • Tags
                                          • Unread 0
                                          • Categories
                                          • Unreplied
                                          • Popular
                                          • GitHub
                                          • Docu
                                          • Hilfe