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

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

Community Forum

  1. ioBroker Community Home
  2. Deutsch
  3. Tester
  4. Test Adapter Zendure Solarflow

NEWS

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

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

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    15
    1
    2.3k

Test Adapter Zendure Solarflow

Geplant Angeheftet Gesperrt Verschoben Tester
2.0k Beiträge 97 Kommentatoren 887.4k Aufrufe 92 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • D diet99

    @nograx Wenn ich das hier richtig lese, besteht wohl auch die Möglichkeit, den Zendure SolarFlow komplett über einen lokalen MQTT-Broker zu betreiben:

    https://github.com/reinhard-brandstaedter/solarflow-bt-manager

    Könnte man das ebenfalls mit dem ioBroker-Adapter nutzen? Ist da was geplant?

    nograxN Offline
    nograxN Offline
    nograx
    Developer
    schrieb am zuletzt editiert von
    #88

    @diet99 Das ist dann ja nicht direkt ein lokaler MQTT von Zendure, sondern etwas was per Bluetooth angebunden wird. Die Programmierung von Reinhard stellt da direkt eine eigene MQTT Anbindung zu Verfügung die man direkt im MQTT Adapter nutzen kann. Anbindung an diesen Adapter hier also gar nicht notwendig. Ich hoffe allerdings das Zendure noch eine lokale MQTT Anbindung bereit stellt...

    D 1 Antwort Letzte Antwort
    0
    • nograxN nograx

      @diet99 Das ist dann ja nicht direkt ein lokaler MQTT von Zendure, sondern etwas was per Bluetooth angebunden wird. Die Programmierung von Reinhard stellt da direkt eine eigene MQTT Anbindung zu Verfügung die man direkt im MQTT Adapter nutzen kann. Anbindung an diesen Adapter hier also gar nicht notwendig. Ich hoffe allerdings das Zendure noch eine lokale MQTT Anbindung bereit stellt...

      D Offline
      D Offline
      diet99
      schrieb am zuletzt editiert von diet99
      #89

      @nograx Moin und danke für Deine Antwort!
      Ich verstehe das schon so, daß man den Hub komplett lokal betreiben kann, ohne jegliche Verbindung zu Zendure - siehe die gelb markierten Bereiche.

      c555c673-7d76-411c-9a62-7894b9e8ddf5-grafik.png

      Bluetooth wird verwendet, um eben diese Umschaltung durchzuführen. Ja, man kann nebenbei auch die Daten per Bluetooth aus dem SolarFlow auslesen, aber der rein lokale MQTT-Betrieb wäre in meinen Augen durchaus eine interessante Variante.

      nograxN 1 Antwort Letzte Antwort
      0
      • D diet99

        @nograx Moin und danke für Deine Antwort!
        Ich verstehe das schon so, daß man den Hub komplett lokal betreiben kann, ohne jegliche Verbindung zu Zendure - siehe die gelb markierten Bereiche.

        c555c673-7d76-411c-9a62-7894b9e8ddf5-grafik.png

        Bluetooth wird verwendet, um eben diese Umschaltung durchzuführen. Ja, man kann nebenbei auch die Daten per Bluetooth aus dem SolarFlow auslesen, aber der rein lokale MQTT-Betrieb wäre in meinen Augen durchaus eine interessante Variante.

        nograxN Offline
        nograxN Offline
        nograx
        Developer
        schrieb am zuletzt editiert von
        #90

        @diet99 Der HUB wird dabei aber nicht "umgestellt" und kommuniziert dann direkt mit einem MQTT, sondern es wird immer der Umweg über Bluetooth verwendet. Da Reinhard selber davon spricht das die Verbindung ab und zu abbricht und er dann die Verbindung neu-starten muss weiß ich nicht ob das wirklich praktikabel ist.

        D 1 Antwort Letzte Antwort
        0
        • nograxN Offline
          nograxN Offline
          nograx
          Developer
          schrieb am zuletzt editiert von nograx
          #91
          • gelöscht -
          1 Antwort Letzte Antwort
          0
          • nograxN nograx

            @diet99 Der HUB wird dabei aber nicht "umgestellt" und kommuniziert dann direkt mit einem MQTT, sondern es wird immer der Umweg über Bluetooth verwendet. Da Reinhard selber davon spricht das die Verbindung ab und zu abbricht und er dann die Verbindung neu-starten muss weiß ich nicht ob das wirklich praktikabel ist.

            D Offline
            D Offline
            diet99
            schrieb am zuletzt editiert von diet99
            #92

            @nograx Ich lese da nichts von Bluetooth für den normalen Betrieb:

            d58a4c28-df9c-4b22-b9a2-ec315ffc5467-grafik.png

            Das sollte alles übers WLAN gehen, genauso, wie wenn er mit dem Zendure-Cloud-Service verbunden wäre. Oder ich habs komplett falsch verstanden, was ich nicht glaube.

            Das was Du meinst ist der Proxy Mode. Da ist die Bedienung weiterhin über die App möglich und die Telemetrie wird über Bluetooth abgegriffen. Dort schreibt er in der Tat, daß das "mostly stable" ist.

            nograxN 1 Antwort Letzte Antwort
            0
            • D diet99

              @nograx Ich lese da nichts von Bluetooth für den normalen Betrieb:

              d58a4c28-df9c-4b22-b9a2-ec315ffc5467-grafik.png

              Das sollte alles übers WLAN gehen, genauso, wie wenn er mit dem Zendure-Cloud-Service verbunden wäre. Oder ich habs komplett falsch verstanden, was ich nicht glaube.

              Das was Du meinst ist der Proxy Mode. Da ist die Bedienung weiterhin über die App möglich und die Telemetrie wird über Bluetooth abgegriffen. Dort schreibt er in der Tat, daß das "mostly stable" ist.

              nograxN Offline
              nograxN Offline
              nograx
              Developer
              schrieb am zuletzt editiert von
              #93

              @diet99 Ich nehme meine Aussagen zurück. Das was du schreibst scheint in der Tat zu stimmen. Das das so funktioniert ist in der Tat toll, ich bin mir persönlich aber nicht sicher ob ich das verwenden will. Weil wenn der HUB oder die Batterien mal kaputt gehen und es zum Garantiefall kommt, ist es fraglich ob Zendure sich hier kulant genug zeigt in diesem Fall einen Austausch vorzunehmen.

              1 Antwort Letzte Antwort
              0
              • L Offline
                L Offline
                lesiflo
                Most Active
                schrieb am zuletzt editiert von
                #94

                Hi, hat schon Mal jemand versucht sich die Daten in kWh umzurechnen. Hab's über den Mittelwert probiert ist aber sehr ungenau.

                L 1 Antwort Letzte Antwort
                0
                • L lesiflo

                  Hi, hat schon Mal jemand versucht sich die Daten in kWh umzurechnen. Hab's über den Mittelwert probiert ist aber sehr ungenau.

                  L Offline
                  L Offline
                  lesiflo
                  Most Active
                  schrieb am zuletzt editiert von
                  #95

                  @lesiflo sagte in Test Adapter Zendure Solarflow:

                  Hi, hat schon Mal jemand versucht sich die Daten in kWh umzurechnen. Hab's über den Mittelwert probiert ist aber sehr ungenau.

                  Hab's mit Hilfe von paul53 selber hinbekommen. Hier meine Lösung:

                  59ad44ab-a0fd-4013-b6c3-ca3cd1180cd6-image.png

                  245692df-f9cd-4d88-9ada-61e9b89d1c8c-image.png

                  1 Antwort Letzte Antwort
                  0
                  • M Offline
                    M Offline
                    MarvW
                    schrieb am zuletzt editiert von
                    #96

                    @nograx Nach langer Zeit habe ich mal wieder meine Adapter aktualisiert und nun die 1.0.7 installiert.
                    Damit scheint der Login zu funktionieren, aber es läuft dann in diesen Fehler.

                    Ich habe das SolarFlow und eine Steckdose die es damals als Vorbesteller dazu gab in meinem Account.
                    Die Zweite ID scheint zumindest einmalig den Ladestand zu bekommen.

                    zendure-solarflow.0
                    	2024-02-16 13:00:18.410	warn	Terminated (UNCAUGHT_EXCEPTION): Without reason
                    zendure-solarflow.0
                    	2024-02-16 13:00:18.403	error	The id "s3Xk4x." is invalid. Ids are not allowed to end in "."
                    zendure-solarflow.0
                    	2024-02-16 13:00:18.401	error	Error: The id "s3Xk4x." is invalid. Ids are not allowed to end in "." at Validator.validateId (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/validator.js:147:23) at ZendureSolarflow._extendObject (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:2068:25) at ZendureSolarflow.extendObject (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:2051:21) at /opt/iobroker/node_modules/@iobroker/js-controller-common/build/lib/common/tools.js:2037:16 at new Promise (<anonymous>) at ZendureSolarflow.extendObjectAsync (/opt/iobroker/node_modules/@iobroker/js-controller-common/build/lib/common/tools.js:2036:16) at createSolarFlowStates (/opt/iobroker/node_modules/iobroker.zendure-solarflow/build/services/adapterService.js:38:45)
                    zendure-solarflow.0
                    	2024-02-16 13:00:18.397	error	unhandled promise rejection: The id "s3Xk4x." is invalid. Ids are not allowed to end in "."
                    zendure-solarflow.0
                    	2024-02-16 13:00:18.396	error	Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
                    zendure-solarflow.0
                    	2024-02-16 13:00:18.353	warn	State "zendure-solarflow.0.s3Xk4x..electricLevel" has no existing object, this might lead to an error in future versions
                    

                    image.png

                    M 1 Antwort Letzte Antwort
                    0
                    • M MarvW

                      @nograx Nach langer Zeit habe ich mal wieder meine Adapter aktualisiert und nun die 1.0.7 installiert.
                      Damit scheint der Login zu funktionieren, aber es läuft dann in diesen Fehler.

                      Ich habe das SolarFlow und eine Steckdose die es damals als Vorbesteller dazu gab in meinem Account.
                      Die Zweite ID scheint zumindest einmalig den Ladestand zu bekommen.

                      zendure-solarflow.0
                      	2024-02-16 13:00:18.410	warn	Terminated (UNCAUGHT_EXCEPTION): Without reason
                      zendure-solarflow.0
                      	2024-02-16 13:00:18.403	error	The id "s3Xk4x." is invalid. Ids are not allowed to end in "."
                      zendure-solarflow.0
                      	2024-02-16 13:00:18.401	error	Error: The id "s3Xk4x." is invalid. Ids are not allowed to end in "." at Validator.validateId (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/validator.js:147:23) at ZendureSolarflow._extendObject (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:2068:25) at ZendureSolarflow.extendObject (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:2051:21) at /opt/iobroker/node_modules/@iobroker/js-controller-common/build/lib/common/tools.js:2037:16 at new Promise (<anonymous>) at ZendureSolarflow.extendObjectAsync (/opt/iobroker/node_modules/@iobroker/js-controller-common/build/lib/common/tools.js:2036:16) at createSolarFlowStates (/opt/iobroker/node_modules/iobroker.zendure-solarflow/build/services/adapterService.js:38:45)
                      zendure-solarflow.0
                      	2024-02-16 13:00:18.397	error	unhandled promise rejection: The id "s3Xk4x." is invalid. Ids are not allowed to end in "."
                      zendure-solarflow.0
                      	2024-02-16 13:00:18.396	error	Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
                      zendure-solarflow.0
                      	2024-02-16 13:00:18.353	warn	State "zendure-solarflow.0.s3Xk4x..electricLevel" has no existing object, this might lead to an error in future versions
                      

                      image.png

                      M Offline
                      M Offline
                      MarvW
                      schrieb am zuletzt editiert von
                      #97

                      @marvw said in Test Adapter Zendure Solarflow:

                      @nograx Nach langer Zeit habe ich mal wieder meine Adapter aktualisiert und nun die 1.0.7 installiert.
                      Damit scheint der Login zu funktionieren, aber es läuft dann in diesen Fehler.

                      Ich habe das SolarFlow und eine Steckdose die es damals als Vorbesteller dazu gab in meinem Account.
                      Die Zweite ID scheint zumindest einmalig den Ladestand zu bekommen.

                      zendure-solarflow.0
                      	2024-02-16 13:00:18.410	warn	Terminated (UNCAUGHT_EXCEPTION): Without reason
                      zendure-solarflow.0
                      	2024-02-16 13:00:18.403	error	The id "s3Xk4x." is invalid. Ids are not allowed to end in "."
                      zendure-solarflow.0
                      	2024-02-16 13:00:18.401	error	Error: The id "s3Xk4x." is invalid. Ids are not allowed to end in "." at Validator.validateId (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/validator.js:147:23) at ZendureSolarflow._extendObject (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:2068:25) at ZendureSolarflow.extendObject (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:2051:21) at /opt/iobroker/node_modules/@iobroker/js-controller-common/build/lib/common/tools.js:2037:16 at new Promise (<anonymous>) at ZendureSolarflow.extendObjectAsync (/opt/iobroker/node_modules/@iobroker/js-controller-common/build/lib/common/tools.js:2036:16) at createSolarFlowStates (/opt/iobroker/node_modules/iobroker.zendure-solarflow/build/services/adapterService.js:38:45)
                      zendure-solarflow.0
                      	2024-02-16 13:00:18.397	error	unhandled promise rejection: The id "s3Xk4x." is invalid. Ids are not allowed to end in "."
                      zendure-solarflow.0
                      	2024-02-16 13:00:18.396	error	Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
                      zendure-solarflow.0
                      	2024-02-16 13:00:18.353	warn	State "zendure-solarflow.0.s3Xk4x..electricLevel" has no existing object, this might lead to an error in future versions
                      

                      image.png

                      Hat sich gerade erledigt, bin noch einmal den ganzen Thread durchgegangen.
                      Es liegt tatsächlich an der Steckdose, habe mir einen zweiten Account erstellt und SolarFlow freigegeben.
                      Damit funktioniert es nun wunderbar. :)

                      1 Antwort Letzte Antwort
                      0
                      • F Offline
                        F Offline
                        FloJo
                        schrieb am zuletzt editiert von
                        #98

                        Hallo Zusammen, habe mir auch mal den Adapter installiert. Nach ein paar Schwierigkeiten funktioniert es auch.
                        @lesiflo hat ja schon über Blockly es geschafft die Kwh zu berechnen. Das würde ich auch gerne machen aber der Blockly übersteigt mein Wissen um das nachzubauen :confused: Gibt es dazu mehr Details wie ich den aufbaue? Ich habe ein shelly pro 3em und habe dadurch meinen Gesamtverbrauch, hätte aber gerne die KWh pro Tag die von dem Balkonkraftwerk kommen, damit ich genau rechnen und anzeigen kann, wie sich mein Verbrauch zusammen setzt. Was wäre da am einfachsten, dass zu bewerkstelligen?

                        F 1 Antwort Letzte Antwort
                        0
                        • F FloJo

                          Hallo Zusammen, habe mir auch mal den Adapter installiert. Nach ein paar Schwierigkeiten funktioniert es auch.
                          @lesiflo hat ja schon über Blockly es geschafft die Kwh zu berechnen. Das würde ich auch gerne machen aber der Blockly übersteigt mein Wissen um das nachzubauen :confused: Gibt es dazu mehr Details wie ich den aufbaue? Ich habe ein shelly pro 3em und habe dadurch meinen Gesamtverbrauch, hätte aber gerne die KWh pro Tag die von dem Balkonkraftwerk kommen, damit ich genau rechnen und anzeigen kann, wie sich mein Verbrauch zusammen setzt. Was wäre da am einfachsten, dass zu bewerkstelligen?

                          F Offline
                          F Offline
                          FloJo
                          schrieb am zuletzt editiert von
                          #99

                          @lesiflo

                          Könntest du vielleicht dein Blockly Code für die Umrechnung W in Kwh hier frei verfügbar machen, damit ich diesen bei mir importieren kann?
                          Dann würde ich versuchen, dass bei mir anzupassen. Das würde sehr helfen denke ich...

                          1 Antwort Letzte Antwort
                          0
                          • L Offline
                            L Offline
                            lesiflo
                            Most Active
                            schrieb am zuletzt editiert von
                            #100

                            Hallo zusammen,

                            hier der Blockly-Code für die Umrechnung in kWh

                            <xml xmlns="https://developers.google.com/blockly/xml">
                              <variables>
                                <variable id="gn:HU~SCGvnqbRCRMSCy">Neustart</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>
                                <variable id="6-EW?O6)X$_9j`r)iuXZ">energie_start</variable>
                              </variables>
                              <block type="comment" id="j2:aNxn%Er`8Q_}@!!P$" x="488" y="1388">
                                <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</field>
                                        <value name="VALUE">
                                          <block type="logic_boolean" id="9Lm!l6t-vOXOddA~3mJg">
                                            <field name="BOOL">TRUE</field>
                                          </block>
                                        </value>
                                        <next>
                                          <block type="comment" id="RV+eO`6:RC~uyK=4f_nx">
                                            <field name="COMMENT">Produktion PV</field>
                                            <next>
                                              <block type="variables_set" id="AgB0uh?CsFR}.}ii/]lj">
                                                <field name="VAR" id="H`8%Q[C];S#Po%f%^,*[">energie</field>
                                                <value name="VALUE">
                                                  <block type="get_object" id="LHEv}In-fr%NySNK.%#/">
                                                    <field name="OID">0_userdata.0.Eigene_Variablen.PV.Solarflow.solarInputPower_kWh</field>
                                                  </block>
                                                </value>
                                                <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="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=",5ZCZx[AyTZPJRCD4}~t">
                                                                <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>
                                                            <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>
                                                                    <next>
                                                                      <block type="controls_if" id="l?PM69}O3Ny(k|n,4W!q" collapsed="true" disabled="true">
                                                                        <mutation else="1"></mutation>
                                                                        <value name="IF0">
                                                                          <block type="logic_compare" id="dxSHTy}..dX]31ELC?+*">
                                                                            <field name="OP">EQ</field>
                                                                            <value name="A">
                                                                              <block type="variables_get" id="n5dslA_mI9Ou])Gyt:6A">
                                                                                <field name="VAR" id="gn:HU~SCGvnqbRCRMSCy">Neustart</field>
                                                                              </block>
                                                                            </value>
                                                                            <value name="B">
                                                                              <block type="logic_boolean" id="+uGx@r9=;yzVQ77vRIlg">
                                                                                <field name="BOOL">TRUE</field>
                                                                              </block>
                                                                            </value>
                                                                          </block>
                                                                        </value>
                                                                        <statement name="DO0">
                                                                          <block type="update" id="+|K^3$jkXW`=X}0xU/bc">
                                                                            <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_arithmetic" id="-fCShKtoQ)Ha2}/)PnuI">
                                                                                <field name="OP">ADD</field>
                                                                                <value name="A">
                                                                                  <shadow type="math_number" id="OgbG}/M{KA~DNG^NVzQd">
                                                                                    <field name="NUM">1</field>
                                                                                  </shadow>
                                                                                  <block type="variables_get" id="oo#pN(_vd0J(fEiw~B_x">
                                                                                    <field name="VAR" id="6-EW?O6)X$_9j`r)iuXZ">energie_start</field>
                                                                                  </block>
                                                                                </value>
                                                                                <value name="B">
                                                                                  <shadow type="math_number" id="wPrBhM!5:VdrFq{;y9MF">
                                                                                    <field name="NUM">1</field>
                                                                                  </shadow>
                                                                                  <block type="math_rndfixed" id="=Ztd-ze#r??+IaxSV}ua">
                                                                                    <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="v^;XU0)KEjM9-|/K~Bo4">
                                                                                        <field name="VAR" id="H`8%Q[C];S#Po%f%^,*[">energie</field>
                                                                                      </block>
                                                                                    </value>
                                                                                  </block>
                                                                                </value>
                                                                              </block>
                                                                            </value>
                                                                            <next>
                                                                              <block type="variables_set" id="jGEZLQ^+h]kw.X(h]dO!">
                                                                                <field name="VAR" id="gn:HU~SCGvnqbRCRMSCy">Neustart</field>
                                                                                <value name="VALUE">
                                                                                  <block type="logic_boolean" id="w+YH-t6C!S|2;e.pm;aQ">
                                                                                    <field name="BOOL">FALSE</field>
                                                                                  </block>
                                                                                </value>
                                                                              </block>
                                                                            </next>
                                                                          </block>
                                                                        </statement>
                                                                      </block>
                                                                    </next>
                                                                  </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="variables_set" id="Vx{@=gl.R24%PVZg^HjH">
                                                            <field name="VAR" id="B].n@]e_d8kNxs]d-Ky|">Laden_Akku</field>
                                                            <value name="VALUE">
                                                              <block type="get_object" id="}PPbjk$IqE~P,cG)tO;Z">
                                                                <field name="OID">0_userdata.0.Eigene_Variablen.PV.Solarflow.packInputPower_kWh</field>
                                                              </block>
                                                            </value>
                                                            <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="math_change" id="3D[l(^?)Z9jp74dD.IzF">
                                                                        <field name="VAR" id="B].n@]e_d8kNxs]d-Ky|">Laden_Akku</field>
                                                                        <value name="DELTA">
                                                                          <shadow type="math_number" id=",5ZCZx[AyTZPJRCD4}~t">
                                                                            <field name="NUM">1</field>
                                                                          </shadow>
                                                                          <block type="math_arithmetic" id="3KN-HkP.|^dECn0i2/5#" 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="@Sf}+Gea0jl=,%LWIFo2" 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="$^@Qa.}3uMQQJvd+da*1">
                                                                                    <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="#WpJ!YOf-_7#7PC5pBa5">
                                                                                    <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="{n03WD2#*3bft/ra((e5">
                                                                                        <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="4*MM-y!,o-]x%L{|$FGf">
                                                                                        <field name="ATTR">oldState.lc</field>
                                                                                      </block>
                                                                                    </value>
                                                                                  </block>
                                                                                </value>
                                                                              </block>
                                                                            </value>
                                                                            <value name="B">
                                                                              <shadow type="math_number" id="BZE$ono{@LG}q4`:/JE6">
                                                                                <field name="NUM">3600000000</field>
                                                                              </shadow>
                                                                            </value>
                                                                          </block>
                                                                        </value>
                                                                        <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>
                                                                                <next>
                                                                                  <block type="control" id="Z.d+spg1v98-k{7QJ@39">
                                                                                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                    <field name="OID">mqtt.0.openWB.housebattery.DailyYieldImportKwh</field>
                                                                                    <field name="WITH_DELAY">FALSE</field>
                                                                                    <value name="VALUE">
                                                                                      <block type="get_value" id="APZmsgLZl?fAgf?xyAEd">
                                                                                        <field name="ATTR">val</field>
                                                                                        <field name="OID">0_userdata.0.Eigene_Variablen.PV.Solarflow.packInputPower_kWh</field>
                                                                                      </block>
                                                                                    </value>
                                                                                  </block>
                                                                                </next>
                                                                              </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="variables_set" id=".iXLd,+o.#.:FMuVq*:F">
                                                                        <field name="VAR" id="Ua?)Az%)A;%j}Z?Y(@qh">Entladen_Akku</field>
                                                                        <value name="VALUE">
                                                                          <block type="get_object" id="5#B%R6?L%PE)#VFhs8wc">
                                                                            <field name="OID">0_userdata.0.Eigene_Variablen.PV.Solarflow.outputPackPower_kWh</field>
                                                                          </block>
                                                                        </value>
                                                                        <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="math_change" id="riS3c}TAcXe_!!.plM@F">
                                                                                    <field name="VAR" id="Ua?)Az%)A;%j}Z?Y(@qh">Entladen_Akku</field>
                                                                                    <value name="DELTA">
                                                                                      <shadow type="math_number" id=",5ZCZx[AyTZPJRCD4}~t">
                                                                                        <field name="NUM">1</field>
                                                                                      </shadow>
                                                                                      <block type="math_arithmetic" id="hT!A95o{|l`Dl-*L8~w0" 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="7h1m+`RNUVw,v~tSaaM8" 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="nb4yu%3.-{i95)0NjX?q">
                                                                                                <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="(k3DD)L{Sr1[9px73+zv">
                                                                                                <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="[d3)`-(trr7]Jc,DR!vG">
                                                                                                    <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="!WejTQC/;ZkuwWS[LORL">
                                                                                                    <field name="ATTR">oldState.lc</field>
                                                                                                  </block>
                                                                                                </value>
                                                                                              </block>
                                                                                            </value>
                                                                                          </block>
                                                                                        </value>
                                                                                        <value name="B">
                                                                                          <shadow type="math_number" id="rshwP?x0IX=aDOk|T6qZ">
                                                                                            <field name="NUM">3600000000</field>
                                                                                          </shadow>
                                                                                        </value>
                                                                                      </block>
                                                                                    </value>
                                                                                    <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>
                                                                                            <next>
                                                                                              <block type="control" id="Y9A7~$-]]w7U3_Q~8{z." disabled="true">
                                                                                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                                <field name="OID">mqtt.0.openWB.housebattery.DailyYieldExportKwh</field>
                                                                                                <field name="WITH_DELAY">FALSE</field>
                                                                                                <value name="VALUE">
                                                                                                  <block type="get_value" id="eu()*N4cXr):1jd}|iRA">
                                                                                                    <field name="ATTR">val</field>
                                                                                                    <field name="OID">0_userdata.0.Eigene_Variablen.PV.Solarflow.packInputPower_kWh</field>
                                                                                                  </block>
                                                                                                </value>
                                                                                              </block>
                                                                                            </next>
                                                                                          </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="variables_set" id="m5[7D*Dasi6r#F2/!+c!">
                                                                                    <field name="VAR" id="rNmt]Ylyn6~w3v(K59#b">Abgabe_Haus</field>
                                                                                    <value name="VALUE">
                                                                                      <block type="get_object" id="0;Fed2($nZ._EJVqt_hI">
                                                                                        <field name="OID">0_userdata.0.Eigene_Variablen.PV.Solarflow.outputHomePower_kWh</field>
                                                                                      </block>
                                                                                    </value>
                                                                                    <next>
                                                                                      <block type="on_ext" id="lu.)LCKv`g8i-n#_TISE">
                                                                                        <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="math_change" id="fOOtZ|OD;Zg^wc=%q-vu">
                                                                                                <field name="VAR" id="rNmt]Ylyn6~w3v(K59#b">Abgabe_Haus</field>
                                                                                                <value name="DELTA">
                                                                                                  <shadow type="math_number" id=",5ZCZx[AyTZPJRCD4}~t">
                                                                                                    <field name="NUM">1</field>
                                                                                                  </shadow>
                                                                                                  <block type="math_arithmetic" id="6`d(*2r1-^(nDnP22u}Y" 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=":(v{J5s[tylm.H@s?]DL" 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="H$z%4dk~6,]g.tJqB{L5">
                                                                                                            <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="=~~6_;L{LVTuz+}g!4.p">
                                                                                                            <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="?Fp$bU#F^_Hg*XTrF]`^">
                                                                                                                <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="L^%o@Qx+t:=j#mGtra=E">
                                                                                                                <field name="ATTR">oldState.lc</field>
                                                                                                              </block>
                                                                                                            </value>
                                                                                                          </block>
                                                                                                        </value>
                                                                                                      </block>
                                                                                                    </value>
                                                                                                    <value name="B">
                                                                                                      <shadow type="math_number" id="_[!N:%RqJ25HdZ}=i7=-">
                                                                                                        <field name="NUM">3600000000</field>
                                                                                                      </shadow>
                                                                                                    </value>
                                                                                                  </block>
                                                                                                </value>
                                                                                                <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>
                                </next>
                              </block>
                            </xml>
                            
                            F D 3 Antworten Letzte Antwort
                            0
                            • L lesiflo

                              Hallo zusammen,

                              hier der Blockly-Code für die Umrechnung in kWh

                              <xml xmlns="https://developers.google.com/blockly/xml">
                                <variables>
                                  <variable id="gn:HU~SCGvnqbRCRMSCy">Neustart</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>
                                  <variable id="6-EW?O6)X$_9j`r)iuXZ">energie_start</variable>
                                </variables>
                                <block type="comment" id="j2:aNxn%Er`8Q_}@!!P$" x="488" y="1388">
                                  <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</field>
                                          <value name="VALUE">
                                            <block type="logic_boolean" id="9Lm!l6t-vOXOddA~3mJg">
                                              <field name="BOOL">TRUE</field>
                                            </block>
                                          </value>
                                          <next>
                                            <block type="comment" id="RV+eO`6:RC~uyK=4f_nx">
                                              <field name="COMMENT">Produktion PV</field>
                                              <next>
                                                <block type="variables_set" id="AgB0uh?CsFR}.}ii/]lj">
                                                  <field name="VAR" id="H`8%Q[C];S#Po%f%^,*[">energie</field>
                                                  <value name="VALUE">
                                                    <block type="get_object" id="LHEv}In-fr%NySNK.%#/">
                                                      <field name="OID">0_userdata.0.Eigene_Variablen.PV.Solarflow.solarInputPower_kWh</field>
                                                    </block>
                                                  </value>
                                                  <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="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=",5ZCZx[AyTZPJRCD4}~t">
                                                                  <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>
                                                              <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>
                                                                      <next>
                                                                        <block type="controls_if" id="l?PM69}O3Ny(k|n,4W!q" collapsed="true" disabled="true">
                                                                          <mutation else="1"></mutation>
                                                                          <value name="IF0">
                                                                            <block type="logic_compare" id="dxSHTy}..dX]31ELC?+*">
                                                                              <field name="OP">EQ</field>
                                                                              <value name="A">
                                                                                <block type="variables_get" id="n5dslA_mI9Ou])Gyt:6A">
                                                                                  <field name="VAR" id="gn:HU~SCGvnqbRCRMSCy">Neustart</field>
                                                                                </block>
                                                                              </value>
                                                                              <value name="B">
                                                                                <block type="logic_boolean" id="+uGx@r9=;yzVQ77vRIlg">
                                                                                  <field name="BOOL">TRUE</field>
                                                                                </block>
                                                                              </value>
                                                                            </block>
                                                                          </value>
                                                                          <statement name="DO0">
                                                                            <block type="update" id="+|K^3$jkXW`=X}0xU/bc">
                                                                              <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_arithmetic" id="-fCShKtoQ)Ha2}/)PnuI">
                                                                                  <field name="OP">ADD</field>
                                                                                  <value name="A">
                                                                                    <shadow type="math_number" id="OgbG}/M{KA~DNG^NVzQd">
                                                                                      <field name="NUM">1</field>
                                                                                    </shadow>
                                                                                    <block type="variables_get" id="oo#pN(_vd0J(fEiw~B_x">
                                                                                      <field name="VAR" id="6-EW?O6)X$_9j`r)iuXZ">energie_start</field>
                                                                                    </block>
                                                                                  </value>
                                                                                  <value name="B">
                                                                                    <shadow type="math_number" id="wPrBhM!5:VdrFq{;y9MF">
                                                                                      <field name="NUM">1</field>
                                                                                    </shadow>
                                                                                    <block type="math_rndfixed" id="=Ztd-ze#r??+IaxSV}ua">
                                                                                      <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="v^;XU0)KEjM9-|/K~Bo4">
                                                                                          <field name="VAR" id="H`8%Q[C];S#Po%f%^,*[">energie</field>
                                                                                        </block>
                                                                                      </value>
                                                                                    </block>
                                                                                  </value>
                                                                                </block>
                                                                              </value>
                                                                              <next>
                                                                                <block type="variables_set" id="jGEZLQ^+h]kw.X(h]dO!">
                                                                                  <field name="VAR" id="gn:HU~SCGvnqbRCRMSCy">Neustart</field>
                                                                                  <value name="VALUE">
                                                                                    <block type="logic_boolean" id="w+YH-t6C!S|2;e.pm;aQ">
                                                                                      <field name="BOOL">FALSE</field>
                                                                                    </block>
                                                                                  </value>
                                                                                </block>
                                                                              </next>
                                                                            </block>
                                                                          </statement>
                                                                        </block>
                                                                      </next>
                                                                    </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="variables_set" id="Vx{@=gl.R24%PVZg^HjH">
                                                              <field name="VAR" id="B].n@]e_d8kNxs]d-Ky|">Laden_Akku</field>
                                                              <value name="VALUE">
                                                                <block type="get_object" id="}PPbjk$IqE~P,cG)tO;Z">
                                                                  <field name="OID">0_userdata.0.Eigene_Variablen.PV.Solarflow.packInputPower_kWh</field>
                                                                </block>
                                                              </value>
                                                              <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="math_change" id="3D[l(^?)Z9jp74dD.IzF">
                                                                          <field name="VAR" id="B].n@]e_d8kNxs]d-Ky|">Laden_Akku</field>
                                                                          <value name="DELTA">
                                                                            <shadow type="math_number" id=",5ZCZx[AyTZPJRCD4}~t">
                                                                              <field name="NUM">1</field>
                                                                            </shadow>
                                                                            <block type="math_arithmetic" id="3KN-HkP.|^dECn0i2/5#" 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="@Sf}+Gea0jl=,%LWIFo2" 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="$^@Qa.}3uMQQJvd+da*1">
                                                                                      <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="#WpJ!YOf-_7#7PC5pBa5">
                                                                                      <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="{n03WD2#*3bft/ra((e5">
                                                                                          <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="4*MM-y!,o-]x%L{|$FGf">
                                                                                          <field name="ATTR">oldState.lc</field>
                                                                                        </block>
                                                                                      </value>
                                                                                    </block>
                                                                                  </value>
                                                                                </block>
                                                                              </value>
                                                                              <value name="B">
                                                                                <shadow type="math_number" id="BZE$ono{@LG}q4`:/JE6">
                                                                                  <field name="NUM">3600000000</field>
                                                                                </shadow>
                                                                              </value>
                                                                            </block>
                                                                          </value>
                                                                          <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>
                                                                                  <next>
                                                                                    <block type="control" id="Z.d+spg1v98-k{7QJ@39">
                                                                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                      <field name="OID">mqtt.0.openWB.housebattery.DailyYieldImportKwh</field>
                                                                                      <field name="WITH_DELAY">FALSE</field>
                                                                                      <value name="VALUE">
                                                                                        <block type="get_value" id="APZmsgLZl?fAgf?xyAEd">
                                                                                          <field name="ATTR">val</field>
                                                                                          <field name="OID">0_userdata.0.Eigene_Variablen.PV.Solarflow.packInputPower_kWh</field>
                                                                                        </block>
                                                                                      </value>
                                                                                    </block>
                                                                                  </next>
                                                                                </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="variables_set" id=".iXLd,+o.#.:FMuVq*:F">
                                                                          <field name="VAR" id="Ua?)Az%)A;%j}Z?Y(@qh">Entladen_Akku</field>
                                                                          <value name="VALUE">
                                                                            <block type="get_object" id="5#B%R6?L%PE)#VFhs8wc">
                                                                              <field name="OID">0_userdata.0.Eigene_Variablen.PV.Solarflow.outputPackPower_kWh</field>
                                                                            </block>
                                                                          </value>
                                                                          <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="math_change" id="riS3c}TAcXe_!!.plM@F">
                                                                                      <field name="VAR" id="Ua?)Az%)A;%j}Z?Y(@qh">Entladen_Akku</field>
                                                                                      <value name="DELTA">
                                                                                        <shadow type="math_number" id=",5ZCZx[AyTZPJRCD4}~t">
                                                                                          <field name="NUM">1</field>
                                                                                        </shadow>
                                                                                        <block type="math_arithmetic" id="hT!A95o{|l`Dl-*L8~w0" 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="7h1m+`RNUVw,v~tSaaM8" 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="nb4yu%3.-{i95)0NjX?q">
                                                                                                  <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="(k3DD)L{Sr1[9px73+zv">
                                                                                                  <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="[d3)`-(trr7]Jc,DR!vG">
                                                                                                      <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="!WejTQC/;ZkuwWS[LORL">
                                                                                                      <field name="ATTR">oldState.lc</field>
                                                                                                    </block>
                                                                                                  </value>
                                                                                                </block>
                                                                                              </value>
                                                                                            </block>
                                                                                          </value>
                                                                                          <value name="B">
                                                                                            <shadow type="math_number" id="rshwP?x0IX=aDOk|T6qZ">
                                                                                              <field name="NUM">3600000000</field>
                                                                                            </shadow>
                                                                                          </value>
                                                                                        </block>
                                                                                      </value>
                                                                                      <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>
                                                                                              <next>
                                                                                                <block type="control" id="Y9A7~$-]]w7U3_Q~8{z." disabled="true">
                                                                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                                  <field name="OID">mqtt.0.openWB.housebattery.DailyYieldExportKwh</field>
                                                                                                  <field name="WITH_DELAY">FALSE</field>
                                                                                                  <value name="VALUE">
                                                                                                    <block type="get_value" id="eu()*N4cXr):1jd}|iRA">
                                                                                                      <field name="ATTR">val</field>
                                                                                                      <field name="OID">0_userdata.0.Eigene_Variablen.PV.Solarflow.packInputPower_kWh</field>
                                                                                                    </block>
                                                                                                  </value>
                                                                                                </block>
                                                                                              </next>
                                                                                            </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="variables_set" id="m5[7D*Dasi6r#F2/!+c!">
                                                                                      <field name="VAR" id="rNmt]Ylyn6~w3v(K59#b">Abgabe_Haus</field>
                                                                                      <value name="VALUE">
                                                                                        <block type="get_object" id="0;Fed2($nZ._EJVqt_hI">
                                                                                          <field name="OID">0_userdata.0.Eigene_Variablen.PV.Solarflow.outputHomePower_kWh</field>
                                                                                        </block>
                                                                                      </value>
                                                                                      <next>
                                                                                        <block type="on_ext" id="lu.)LCKv`g8i-n#_TISE">
                                                                                          <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="math_change" id="fOOtZ|OD;Zg^wc=%q-vu">
                                                                                                  <field name="VAR" id="rNmt]Ylyn6~w3v(K59#b">Abgabe_Haus</field>
                                                                                                  <value name="DELTA">
                                                                                                    <shadow type="math_number" id=",5ZCZx[AyTZPJRCD4}~t">
                                                                                                      <field name="NUM">1</field>
                                                                                                    </shadow>
                                                                                                    <block type="math_arithmetic" id="6`d(*2r1-^(nDnP22u}Y" 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=":(v{J5s[tylm.H@s?]DL" 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="H$z%4dk~6,]g.tJqB{L5">
                                                                                                              <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="=~~6_;L{LVTuz+}g!4.p">
                                                                                                              <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="?Fp$bU#F^_Hg*XTrF]`^">
                                                                                                                  <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="L^%o@Qx+t:=j#mGtra=E">
                                                                                                                  <field name="ATTR">oldState.lc</field>
                                                                                                                </block>
                                                                                                              </value>
                                                                                                            </block>
                                                                                                          </value>
                                                                                                        </block>
                                                                                                      </value>
                                                                                                      <value name="B">
                                                                                                        <shadow type="math_number" id="_[!N:%RqJ25HdZ}=i7=-">
                                                                                                          <field name="NUM">3600000000</field>
                                                                                                        </shadow>
                                                                                                      </value>
                                                                                                    </block>
                                                                                                  </value>
                                                                                                  <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>
                                  </next>
                                </block>
                              </xml>
                              
                              F Offline
                              F Offline
                              FloJo
                              schrieb am zuletzt editiert von
                              #101

                              @lesiflo
                              Super danke dir. Dann versuche ich mich mal dran.

                              F 1 Antwort Letzte Antwort
                              0
                              • F FloJo

                                @lesiflo
                                Super danke dir. Dann versuche ich mich mal dran.

                                F Offline
                                F Offline
                                FloJo
                                schrieb am zuletzt editiert von
                                #102

                                @lesiflo

                                Habe das Blocky mal importiert und entsprechend meine Datenpunkte eingetragen.
                                Mal sehen ob sich was tut, falls Morgen die Sonne scheint.

                                Ich habe nur erstmal die mqtt Blöcke deaktiviert:

                                7465a549-ff96-4e08-a4e6-6c2aa0815549-image.png

                                Wofür werden die benötigt? Und falls ich diese benötige, was muss ich dafür machen um das einzurichten?

                                Würde mich freuen, wenn ich da nochmal Hilfe bekomme...

                                Danke

                                L 1 Antwort Letzte Antwort
                                0
                                • F FloJo

                                  @lesiflo

                                  Habe das Blocky mal importiert und entsprechend meine Datenpunkte eingetragen.
                                  Mal sehen ob sich was tut, falls Morgen die Sonne scheint.

                                  Ich habe nur erstmal die mqtt Blöcke deaktiviert:

                                  7465a549-ff96-4e08-a4e6-6c2aa0815549-image.png

                                  Wofür werden die benötigt? Und falls ich diese benötige, was muss ich dafür machen um das einzurichten?

                                  Würde mich freuen, wenn ich da nochmal Hilfe bekomme...

                                  Danke

                                  L Offline
                                  L Offline
                                  lesiflo
                                  Most Active
                                  schrieb am zuletzt editiert von
                                  #103

                                  @flojo Die brauche ich für die Weiterleitung der Daten an openWB (Wallbox). Kannst du also komplett rauslöschen.

                                  F 1 Antwort Letzte Antwort
                                  0
                                  • L lesiflo

                                    @flojo Die brauche ich für die Weiterleitung der Daten an openWB (Wallbox). Kannst du also komplett rauslöschen.

                                    F Offline
                                    F Offline
                                    FloJo
                                    schrieb am zuletzt editiert von
                                    #104

                                    @lesiflo
                                    :+1:

                                    1 Antwort Letzte Antwort
                                    0
                                    • L lesiflo

                                      Hallo zusammen,

                                      hier der Blockly-Code für die Umrechnung in kWh

                                      <xml xmlns="https://developers.google.com/blockly/xml">
                                        <variables>
                                          <variable id="gn:HU~SCGvnqbRCRMSCy">Neustart</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>
                                          <variable id="6-EW?O6)X$_9j`r)iuXZ">energie_start</variable>
                                        </variables>
                                        <block type="comment" id="j2:aNxn%Er`8Q_}@!!P$" x="488" y="1388">
                                          <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</field>
                                                  <value name="VALUE">
                                                    <block type="logic_boolean" id="9Lm!l6t-vOXOddA~3mJg">
                                                      <field name="BOOL">TRUE</field>
                                                    </block>
                                                  </value>
                                                  <next>
                                                    <block type="comment" id="RV+eO`6:RC~uyK=4f_nx">
                                                      <field name="COMMENT">Produktion PV</field>
                                                      <next>
                                                        <block type="variables_set" id="AgB0uh?CsFR}.}ii/]lj">
                                                          <field name="VAR" id="H`8%Q[C];S#Po%f%^,*[">energie</field>
                                                          <value name="VALUE">
                                                            <block type="get_object" id="LHEv}In-fr%NySNK.%#/">
                                                              <field name="OID">0_userdata.0.Eigene_Variablen.PV.Solarflow.solarInputPower_kWh</field>
                                                            </block>
                                                          </value>
                                                          <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="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=",5ZCZx[AyTZPJRCD4}~t">
                                                                          <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>
                                                                      <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>
                                                                              <next>
                                                                                <block type="controls_if" id="l?PM69}O3Ny(k|n,4W!q" collapsed="true" disabled="true">
                                                                                  <mutation else="1"></mutation>
                                                                                  <value name="IF0">
                                                                                    <block type="logic_compare" id="dxSHTy}..dX]31ELC?+*">
                                                                                      <field name="OP">EQ</field>
                                                                                      <value name="A">
                                                                                        <block type="variables_get" id="n5dslA_mI9Ou])Gyt:6A">
                                                                                          <field name="VAR" id="gn:HU~SCGvnqbRCRMSCy">Neustart</field>
                                                                                        </block>
                                                                                      </value>
                                                                                      <value name="B">
                                                                                        <block type="logic_boolean" id="+uGx@r9=;yzVQ77vRIlg">
                                                                                          <field name="BOOL">TRUE</field>
                                                                                        </block>
                                                                                      </value>
                                                                                    </block>
                                                                                  </value>
                                                                                  <statement name="DO0">
                                                                                    <block type="update" id="+|K^3$jkXW`=X}0xU/bc">
                                                                                      <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_arithmetic" id="-fCShKtoQ)Ha2}/)PnuI">
                                                                                          <field name="OP">ADD</field>
                                                                                          <value name="A">
                                                                                            <shadow type="math_number" id="OgbG}/M{KA~DNG^NVzQd">
                                                                                              <field name="NUM">1</field>
                                                                                            </shadow>
                                                                                            <block type="variables_get" id="oo#pN(_vd0J(fEiw~B_x">
                                                                                              <field name="VAR" id="6-EW?O6)X$_9j`r)iuXZ">energie_start</field>
                                                                                            </block>
                                                                                          </value>
                                                                                          <value name="B">
                                                                                            <shadow type="math_number" id="wPrBhM!5:VdrFq{;y9MF">
                                                                                              <field name="NUM">1</field>
                                                                                            </shadow>
                                                                                            <block type="math_rndfixed" id="=Ztd-ze#r??+IaxSV}ua">
                                                                                              <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="v^;XU0)KEjM9-|/K~Bo4">
                                                                                                  <field name="VAR" id="H`8%Q[C];S#Po%f%^,*[">energie</field>
                                                                                                </block>
                                                                                              </value>
                                                                                            </block>
                                                                                          </value>
                                                                                        </block>
                                                                                      </value>
                                                                                      <next>
                                                                                        <block type="variables_set" id="jGEZLQ^+h]kw.X(h]dO!">
                                                                                          <field name="VAR" id="gn:HU~SCGvnqbRCRMSCy">Neustart</field>
                                                                                          <value name="VALUE">
                                                                                            <block type="logic_boolean" id="w+YH-t6C!S|2;e.pm;aQ">
                                                                                              <field name="BOOL">FALSE</field>
                                                                                            </block>
                                                                                          </value>
                                                                                        </block>
                                                                                      </next>
                                                                                    </block>
                                                                                  </statement>
                                                                                </block>
                                                                              </next>
                                                                            </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="variables_set" id="Vx{@=gl.R24%PVZg^HjH">
                                                                      <field name="VAR" id="B].n@]e_d8kNxs]d-Ky|">Laden_Akku</field>
                                                                      <value name="VALUE">
                                                                        <block type="get_object" id="}PPbjk$IqE~P,cG)tO;Z">
                                                                          <field name="OID">0_userdata.0.Eigene_Variablen.PV.Solarflow.packInputPower_kWh</field>
                                                                        </block>
                                                                      </value>
                                                                      <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="math_change" id="3D[l(^?)Z9jp74dD.IzF">
                                                                                  <field name="VAR" id="B].n@]e_d8kNxs]d-Ky|">Laden_Akku</field>
                                                                                  <value name="DELTA">
                                                                                    <shadow type="math_number" id=",5ZCZx[AyTZPJRCD4}~t">
                                                                                      <field name="NUM">1</field>
                                                                                    </shadow>
                                                                                    <block type="math_arithmetic" id="3KN-HkP.|^dECn0i2/5#" 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="@Sf}+Gea0jl=,%LWIFo2" 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="$^@Qa.}3uMQQJvd+da*1">
                                                                                              <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="#WpJ!YOf-_7#7PC5pBa5">
                                                                                              <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="{n03WD2#*3bft/ra((e5">
                                                                                                  <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="4*MM-y!,o-]x%L{|$FGf">
                                                                                                  <field name="ATTR">oldState.lc</field>
                                                                                                </block>
                                                                                              </value>
                                                                                            </block>
                                                                                          </value>
                                                                                        </block>
                                                                                      </value>
                                                                                      <value name="B">
                                                                                        <shadow type="math_number" id="BZE$ono{@LG}q4`:/JE6">
                                                                                          <field name="NUM">3600000000</field>
                                                                                        </shadow>
                                                                                      </value>
                                                                                    </block>
                                                                                  </value>
                                                                                  <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>
                                                                                          <next>
                                                                                            <block type="control" id="Z.d+spg1v98-k{7QJ@39">
                                                                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                              <field name="OID">mqtt.0.openWB.housebattery.DailyYieldImportKwh</field>
                                                                                              <field name="WITH_DELAY">FALSE</field>
                                                                                              <value name="VALUE">
                                                                                                <block type="get_value" id="APZmsgLZl?fAgf?xyAEd">
                                                                                                  <field name="ATTR">val</field>
                                                                                                  <field name="OID">0_userdata.0.Eigene_Variablen.PV.Solarflow.packInputPower_kWh</field>
                                                                                                </block>
                                                                                              </value>
                                                                                            </block>
                                                                                          </next>
                                                                                        </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="variables_set" id=".iXLd,+o.#.:FMuVq*:F">
                                                                                  <field name="VAR" id="Ua?)Az%)A;%j}Z?Y(@qh">Entladen_Akku</field>
                                                                                  <value name="VALUE">
                                                                                    <block type="get_object" id="5#B%R6?L%PE)#VFhs8wc">
                                                                                      <field name="OID">0_userdata.0.Eigene_Variablen.PV.Solarflow.outputPackPower_kWh</field>
                                                                                    </block>
                                                                                  </value>
                                                                                  <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="math_change" id="riS3c}TAcXe_!!.plM@F">
                                                                                              <field name="VAR" id="Ua?)Az%)A;%j}Z?Y(@qh">Entladen_Akku</field>
                                                                                              <value name="DELTA">
                                                                                                <shadow type="math_number" id=",5ZCZx[AyTZPJRCD4}~t">
                                                                                                  <field name="NUM">1</field>
                                                                                                </shadow>
                                                                                                <block type="math_arithmetic" id="hT!A95o{|l`Dl-*L8~w0" 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="7h1m+`RNUVw,v~tSaaM8" 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="nb4yu%3.-{i95)0NjX?q">
                                                                                                          <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="(k3DD)L{Sr1[9px73+zv">
                                                                                                          <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="[d3)`-(trr7]Jc,DR!vG">
                                                                                                              <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="!WejTQC/;ZkuwWS[LORL">
                                                                                                              <field name="ATTR">oldState.lc</field>
                                                                                                            </block>
                                                                                                          </value>
                                                                                                        </block>
                                                                                                      </value>
                                                                                                    </block>
                                                                                                  </value>
                                                                                                  <value name="B">
                                                                                                    <shadow type="math_number" id="rshwP?x0IX=aDOk|T6qZ">
                                                                                                      <field name="NUM">3600000000</field>
                                                                                                    </shadow>
                                                                                                  </value>
                                                                                                </block>
                                                                                              </value>
                                                                                              <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>
                                                                                                      <next>
                                                                                                        <block type="control" id="Y9A7~$-]]w7U3_Q~8{z." disabled="true">
                                                                                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                                          <field name="OID">mqtt.0.openWB.housebattery.DailyYieldExportKwh</field>
                                                                                                          <field name="WITH_DELAY">FALSE</field>
                                                                                                          <value name="VALUE">
                                                                                                            <block type="get_value" id="eu()*N4cXr):1jd}|iRA">
                                                                                                              <field name="ATTR">val</field>
                                                                                                              <field name="OID">0_userdata.0.Eigene_Variablen.PV.Solarflow.packInputPower_kWh</field>
                                                                                                            </block>
                                                                                                          </value>
                                                                                                        </block>
                                                                                                      </next>
                                                                                                    </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="variables_set" id="m5[7D*Dasi6r#F2/!+c!">
                                                                                              <field name="VAR" id="rNmt]Ylyn6~w3v(K59#b">Abgabe_Haus</field>
                                                                                              <value name="VALUE">
                                                                                                <block type="get_object" id="0;Fed2($nZ._EJVqt_hI">
                                                                                                  <field name="OID">0_userdata.0.Eigene_Variablen.PV.Solarflow.outputHomePower_kWh</field>
                                                                                                </block>
                                                                                              </value>
                                                                                              <next>
                                                                                                <block type="on_ext" id="lu.)LCKv`g8i-n#_TISE">
                                                                                                  <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="math_change" id="fOOtZ|OD;Zg^wc=%q-vu">
                                                                                                          <field name="VAR" id="rNmt]Ylyn6~w3v(K59#b">Abgabe_Haus</field>
                                                                                                          <value name="DELTA">
                                                                                                            <shadow type="math_number" id=",5ZCZx[AyTZPJRCD4}~t">
                                                                                                              <field name="NUM">1</field>
                                                                                                            </shadow>
                                                                                                            <block type="math_arithmetic" id="6`d(*2r1-^(nDnP22u}Y" 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=":(v{J5s[tylm.H@s?]DL" 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="H$z%4dk~6,]g.tJqB{L5">
                                                                                                                      <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="=~~6_;L{LVTuz+}g!4.p">
                                                                                                                      <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="?Fp$bU#F^_Hg*XTrF]`^">
                                                                                                                          <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="L^%o@Qx+t:=j#mGtra=E">
                                                                                                                          <field name="ATTR">oldState.lc</field>
                                                                                                                        </block>
                                                                                                                      </value>
                                                                                                                    </block>
                                                                                                                  </value>
                                                                                                                </block>
                                                                                                              </value>
                                                                                                              <value name="B">
                                                                                                                <shadow type="math_number" id="_[!N:%RqJ25HdZ}=i7=-">
                                                                                                                  <field name="NUM">3600000000</field>
                                                                                                                </shadow>
                                                                                                              </value>
                                                                                                            </block>
                                                                                                          </value>
                                                                                                          <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>
                                          </next>
                                        </block>
                                      </xml>
                                      
                                      D Offline
                                      D Offline
                                      diet99
                                      schrieb am zuletzt editiert von
                                      #105

                                      @lesiflo danke erstmal! Ich hab allerdings noch nicht ganz verstanden, was Du damit genau machst. Wo laufen die Daten hin bzw. wie werden die später dann visualisiert?

                                      Danke für ein paar mehr Details!

                                      L 1 Antwort Letzte Antwort
                                      0
                                      • D diet99

                                        @lesiflo danke erstmal! Ich hab allerdings noch nicht ganz verstanden, was Du damit genau machst. Wo laufen die Daten hin bzw. wie werden die später dann visualisiert?

                                        Danke für ein paar mehr Details!

                                        L Offline
                                        L Offline
                                        lesiflo
                                        Most Active
                                        schrieb am zuletzt editiert von
                                        #106

                                        @diet99 z.B. dafür:
                                        Widget oben links und unten rechts
                                        25534441-b687-4f3f-90c3-bc0be652a035-image.png

                                        1 Antwort Letzte Antwort
                                        0
                                        • L Offline
                                          L Offline
                                          lesiflo
                                          Most Active
                                          schrieb am zuletzt editiert von lesiflo
                                          #107

                                          @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 2 Antworten Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          553

                                          Online

                                          32.4k

                                          Benutzer

                                          81.4k

                                          Themen

                                          1.3m

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

                                          • Du hast noch kein Konto? Registrieren

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