Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. Test Adapter Zendure Solarflow

    NEWS

    • [erledigt] 15. 05. Wartungsarbeiten am ioBroker Forum

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Test Adapter Zendure Solarflow

    This topic has been deleted. Only users with topic management privileges can see it.
    • L
      lesiflo Most Active @diet99 last edited by

      @diet99 Das ist nicht nötig. Mit Blockly z.B. kannst du die selber und sogar wesentlich umfangreicher nachbauen.

      So was z.B.

      c08f1bd4-c17e-40e0-8a5f-45be6494143f-image.png

      Außerdem gibt die API-Schnittstelle das nicht her.

      T 1 Reply Last reply Reply Quote 0
      • LukKlin
        LukKlin last edited by

        Hallo, ich nutze seit gestern auch den Adapter. Auf den ersten Blick ist alles soweit gut und funktioniert.

        Ich stelle mir gerade noch die Frage, ob es in Zukunft möglich wäre, den Bypass zu steuern?

        Danke!

        D 1 Reply Last reply Reply Quote 0
        • D
          diet99 @LukKlin last edited by

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

          nograx 1 Reply Last reply Reply Quote 0
          • O
            olly023 last edited by

            Danke @nograx für den Adapter, ich habe gestern mein Zendure System aufgebaut und gerade den Adapter installiert. Nach anfänglichen schwierigkeiten läuft er wie er soll. Man muss nur einige Dinge hier aus dem Thread beachten.
            -Global Server nutzen
            -Alle Haken bei Energiepläne wegmachen und Speichern
            -Zweiten Account anlegen und im ersten Account freigeben, diese Freigabe im zweiten Account annehmen
            -Daten vom Zweiten Account im Adapter übernehmen
            Jetzt werde ich mich daran machen alle meine Shelly und sonstige Steckdosen zusammen zu fassen und ein Blockly nutzen um den Hub anzusteuern. Wie gut das funktioniert wird sich zeigen, man wird ja mit etwas Wartezeit den Wert schreiben müssen damit er nicht ständig geändert wird. Der Hub reagiert ja auch eher träge beim ändern der Ausgangsleistung.

            1 Reply Last reply Reply Quote 0
            • tinuvil
              tinuvil last edited by

              Hallo miteinander,
              Bin eben über meine Github Mails auf den Adapter aufmerksam geworden.
              Sogleich installiert und angemeldet. Mein Solarflow läuft bereits seit Beginn auf dem globalen Server. Glück gehabt.
              Zweiten Account hatte ich auch schon (Für Handy und Tablet).
              Also alles perfekte Startbedingungen.

              Ich musste allerdings den Adapter nach dem ersten Installieren wieder komplett löschen und neu installieren. Danach alles grün und der SoC wird auch schon gemeldet. Sonst noch nichts. (Was soll sich nachts auch ändern).
              Ich habe parallel noch die "alte" MQTT Developer Anbindung laufen. Damit war ich bisher zum reinen Anzeigen der Werte zufrieden. Außer, dass man ab und an neue Werte im json-File wieder händisch auslesen muss. (Wenn Zendure nach Firmware Update neue Werte freigibt.)
              Ich bin sehr auf die Steuermöglichkeiten gespannt. Ich habe leider keinen Hoymiles Umrichter, der per DTU bedienbar ist, sondern einen EVT560 der ersten Generation. Meinen Stromzähler lese ich per Hichi USB IR Lesekopf aus.

              Sobald wieder Sonne in Oberfranken scheint und die Akkus halbwegs voll sind, erfolgen die nächsten Schritte.

              1 Reply Last reply Reply Quote 0
              • nograx
                nograx Developer @diet99 last edited by

                @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 Reply Last reply Reply Quote 0
                • D
                  diet99 @nograx last edited by 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.

                  nograx 1 Reply Last reply Reply Quote 0
                  • nograx
                    nograx Developer @diet99 last edited by

                    @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 Reply Last reply Reply Quote 0
                    • nograx
                      nograx Developer last edited by nograx

                      • gelöscht -
                      1 Reply Last reply Reply Quote 0
                      • D
                        diet99 @nograx last edited by 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.

                        nograx 1 Reply Last reply Reply Quote 0
                        • nograx
                          nograx Developer @diet99 last edited by

                          @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 Reply Last reply Reply Quote 0
                          • L
                            lesiflo Most Active last edited by

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

                            L 1 Reply Last reply Reply Quote 0
                            • L
                              lesiflo Most Active @lesiflo last edited by

                              @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 Reply Last reply Reply Quote 0
                              • M
                                MarvW last edited by

                                @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 Reply Last reply Reply Quote 0
                                • M
                                  MarvW @MarvW last edited by

                                  @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 Reply Last reply Reply Quote 0
                                  • F
                                    FloJo last edited by

                                    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 😕 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 Reply Last reply Reply Quote 0
                                    • F
                                      FloJo @FloJo last edited by

                                      @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 Reply Last reply Reply Quote 0
                                      • L
                                        lesiflo Most Active last edited by

                                        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 Replies Last reply Reply Quote 0
                                        • F
                                          FloJo @lesiflo last edited by

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

                                          F 1 Reply Last reply Reply Quote 0
                                          • F
                                            FloJo @FloJo last edited by

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            508
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

                                            72
                                            1201
                                            268970
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo