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

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

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Entwicklung
  4. Anker Adapter

NEWS

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

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

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

Anker Adapter

Geplant Angeheftet Gesperrt Verschoben Entwicklung
401 Beiträge 58 Kommentatoren 99.5k Aufrufe 54 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • R ronny130286

    @toralt

    Ich habe gestern Abend noch eine commit auf Github gemacht, diese hat den Powerplan und das ACLoading enthalten.
    Wenn du willst kannst du es gern testen (ich kann es noch nicht zu 100% testen).

    @Holger76
    Du könntest den Post einfach editieren ;)
    Aber Kurz erklärt, das mit der Site ist nur verwirrend, weil man denkt man steuert das Geräte selbst, aber technisch gesehen steuert man die Site und nicht das Gerät. Auch wenn du dort das Device (Solarbank) auswählst holt sich der Adapter aus dem String nur die SiteID.
    af1c47cb-7801-49e5-a69f-806b1409bdba-image.png

    T Offline
    T Offline
    toralt
    schrieb am zuletzt editiert von toralt
    #335

    @ronny130286 Ich habe mir jetzt zunächst mal zwei neue Datenpunkte gebastelt, die den Shelly total Power Wert aufteilen. Der positive Shelly Wert gibt den Bezug in einem neuen Wert wieder und der negative Shelly Wert erzeugt einen Einspeisewert.
    Nun habe ich "Steuern über Datenpunkt aktivieren" für meine 2. SB aktiv und als Datenpunkt meinen neu erstellten Bezugspunkt genommen. Seltsamerweise wurde aber, als ich vorhin meine PV vom Netz genommen habe, nichts aus dem Akku zurückgespeist...
    Von der Einstellung her, sollte dies aber passen.
    Zusätzlich habe ich AC-Lade aktiviert. Der Punkt ist nun da. Damit lässt sich der Ladevorgang auch starten.
    Jetzt muss ich mir noch ein vernünftiges Script basteln um das entsprechend zu schalten.

    << ioBroker im Docker auf Synology DS1821+, 10GBit, 32GB RAM>>

    1 Antwort Letzte Antwort
    0
    • R ronny130286

      @holger76

      Was meinst du genau mit Verweildauer einer Messung?

      Holger76H Offline
      Holger76H Offline
      Holger76
      schrieb am zuletzt editiert von
      #336

      @ronny130286 blöd ausgedrückt. Die API liefert ja nun mal nur alle paar Minuten Werte, das meine ich ;-)

      Ich glaube, ich werde mir ein Script basteln, welches die Batterie, wenn einmal komplett voll am Nachmittag, mit festem Wert langsam wieder entlädt... so 250-300W. Morgens ist sie so auf jedem Fall leer. Aktuell ist es so, dass die Batterie schon 20 Uhr ca. komplett leer ist und machmal sehr hoher Entladestrom eingetragen ist, was nicht gebraucht wird und somit verschenkt wird. Wichtiger ist, dass das Laden variabel funktioniert.

      NUC8I5BEH (32GB,1TB-SSD) -> Proxmox VM [ioBroker.Pro auf Debian]+[InfluxDB/Grafana]+[AdGuard]+[ Rasp.matic] + [Conbee3] +[Graylog]+[Octopi]
      NUC6CAYH (16GB) [Proxmox Backup Server]+[OMV]

      R 1 Antwort Letzte Antwort
      0
      • Holger76H Holger76

        @ronny130286 blöd ausgedrückt. Die API liefert ja nun mal nur alle paar Minuten Werte, das meine ich ;-)

        Ich glaube, ich werde mir ein Script basteln, welches die Batterie, wenn einmal komplett voll am Nachmittag, mit festem Wert langsam wieder entlädt... so 250-300W. Morgens ist sie so auf jedem Fall leer. Aktuell ist es so, dass die Batterie schon 20 Uhr ca. komplett leer ist und machmal sehr hoher Entladestrom eingetragen ist, was nicht gebraucht wird und somit verschenkt wird. Wichtiger ist, dass das Laden variabel funktioniert.

        R Offline
        R Offline
        ronny130286
        schrieb am zuletzt editiert von
        #337

        @holger76

        Mit der neuen Version auf Github, kannst du das machen.
        Du erstellst einen eigenen Energieplan im Adapter (wie in der App auch) und über die DP ankersolix2.0.control.SetPowerplan kannst du den Powerplan erneut setzen (true + ack).
        Wichtig es darf sich dann dein SteuerDP nicht mehr ändern, weil sonst wird der gesetzte Powerplan vorerst wieder überschrieben.

        Wenn du dann wieder tagsüber den Verbrauch dynamisch regeln willst, änderst du einfach wieder den SteuerDP.

        Dein Script könnte so aussehen:

        • von 06:00 bis 20:00 änderst du den Steuer DP
        • nach 20:00 änderst du den SteuerDP nicht mehr und setzt den ankersolix2.0.control.SetPowerplan einmal auf true/ack, dann übernimmt er wieder den Powerplan, aus dem Adapater
        • 06:00 früh fängt er wieder an den DP zu ändern.
        T 1 Antwort Letzte Antwort
        0
        • R ronny130286

          @holger76

          Mit der neuen Version auf Github, kannst du das machen.
          Du erstellst einen eigenen Energieplan im Adapter (wie in der App auch) und über die DP ankersolix2.0.control.SetPowerplan kannst du den Powerplan erneut setzen (true + ack).
          Wichtig es darf sich dann dein SteuerDP nicht mehr ändern, weil sonst wird der gesetzte Powerplan vorerst wieder überschrieben.

          Wenn du dann wieder tagsüber den Verbrauch dynamisch regeln willst, änderst du einfach wieder den SteuerDP.

          Dein Script könnte so aussehen:

          • von 06:00 bis 20:00 änderst du den Steuer DP
          • nach 20:00 änderst du den SteuerDP nicht mehr und setzt den ankersolix2.0.control.SetPowerplan einmal auf true/ack, dann übernimmt er wieder den Powerplan, aus dem Adapater
          • 06:00 früh fängt er wieder an den DP zu ändern.
          T Offline
          T Offline
          toralt
          schrieb am zuletzt editiert von toralt
          #338

          @ronny130286 Nochmals vielen Dank. Eine Frage hätte ich noch. Kann ich irgendwie selbst die Vorgaben machen, wie viel Watt eingespeist werden oder geht das nur über die im Adapter automatische Steuerung?
          Mein Problem ist aktuell, dass die Automatik natürlich nachrangig zur per Shelly gesteuerten SB 1 agiert. In der Folge ist das dann so, dass die SB 1 immer bis max 1200 Watt regelt und erst , sobald ein höherer Verbrauch anliegt (oder die SB1 leer ist), die SB 2 via ioBroker anfängt einzuspeisen.
          Ich würde gerne, damit beide Akkus gleichzeitig entladen werden, gerne selbst die Werte für die Abgabe in verschiedenen Stufen steuern wollen.

          Kleines Update: Wenn man mit Notladen lädt, dann kann es passieren, wenn Akku voll, dass die SB den letzten Einspeisewert wieder nimmt und anfängt einzuspeisen. Man müsste bei start der Notladung den Einspeisewert zunächst auf 0 setzen. Wenn dann fertig geladen ist und die Automatik nichts zu regeln hat, dann würde die SB nicht einspeisen.

          << ioBroker im Docker auf Synology DS1821+, 10GBit, 32GB RAM>>

          R 1 Antwort Letzte Antwort
          0
          • V Offline
            V Offline
            Volker3.0
            schrieb am zuletzt editiert von
            #339

            Hallo,
            ist es möglich über den Adapter von Eigenverbrauch umzustellen auf Benutzerdefinierter Modus?

            Gruß Volker

            1 Antwort Letzte Antwort
            0
            • T toralt

              @ronny130286 Nochmals vielen Dank. Eine Frage hätte ich noch. Kann ich irgendwie selbst die Vorgaben machen, wie viel Watt eingespeist werden oder geht das nur über die im Adapter automatische Steuerung?
              Mein Problem ist aktuell, dass die Automatik natürlich nachrangig zur per Shelly gesteuerten SB 1 agiert. In der Folge ist das dann so, dass die SB 1 immer bis max 1200 Watt regelt und erst , sobald ein höherer Verbrauch anliegt (oder die SB1 leer ist), die SB 2 via ioBroker anfängt einzuspeisen.
              Ich würde gerne, damit beide Akkus gleichzeitig entladen werden, gerne selbst die Werte für die Abgabe in verschiedenen Stufen steuern wollen.

              Kleines Update: Wenn man mit Notladen lädt, dann kann es passieren, wenn Akku voll, dass die SB den letzten Einspeisewert wieder nimmt und anfängt einzuspeisen. Man müsste bei start der Notladung den Einspeisewert zunächst auf 0 setzen. Wenn dann fertig geladen ist und die Automatik nichts zu regeln hat, dann würde die SB nicht einspeisen.

              R Offline
              R Offline
              ronny130286
              schrieb am zuletzt editiert von ronny130286
              #340

              @toralt

              ich hatte mir das in der App angesehen, bei mir war es so, dass nach dem Laden automatisch wieder auf den eingestellten benutzerdefinierten Modus umgestellt wurde wenn er fertig war mit laden oder man das Laden ausgeschalten hat. Wenn du dort natürlich dann 400W eingestellt hattest, stellt er das drauf ein.

              Beim Laden habe ich es so gemacht, das er deinen aktuellen Energieplan holt, dann das Laden drauf editiert und es an die Solarbank übergibt.

              @Volker3-0

              Es ist noch nicht implementiert, aber ich bin dabei einen DP zu machen wo man die Betriebsmodis frei umschalten kann.

              T 1 Antwort Letzte Antwort
              0
              • B Online
                B Online
                BigMike71
                schrieb am zuletzt editiert von
                #341

                @ronny130286
                besteht die Möglichkeit die reservierte Leistung umzustellen (5/10 %) ?

                1 Antwort Letzte Antwort
                0
                • R ronny130286

                  @krys

                  Ja, was ganz einfaches habe ich schon auf meinem DEV System laufen, das sieht erst mal nur vor via Datenpunkt einen Wattwert im benutzerdefinierten Modus an die Solix zu schicken.
                  Allerdings bis jetzt nur an die Solix 2 und Solix 3.

                  Ich denke mal bis zum Wochenende habe ich eine Beta online.

                  UweRLPU Offline
                  UweRLPU Offline
                  UweRLP
                  schrieb am zuletzt editiert von
                  #342

                  @ronny130286 sagte in Anker Adapter:

                  Ja, was ganz einfaches habe ich schon auf meinem DEV System laufen, das sieht erst mal nur vor via Datenpunkt einen Wattwert im benutzerdefinierten Modus an die Solix zu schicken.

                  Der eventuell vorhandene eigene Benutzerdefinierte Zeitplan wird dabei gelöscht!

                  Mal als Hinweis, habe ich nicht erwartet und hat mich ein wenig überrascht.

                  ThisoftT 1 Antwort Letzte Antwort
                  0
                  • UweRLPU UweRLP

                    @ronny130286 sagte in Anker Adapter:

                    Ja, was ganz einfaches habe ich schon auf meinem DEV System laufen, das sieht erst mal nur vor via Datenpunkt einen Wattwert im benutzerdefinierten Modus an die Solix zu schicken.

                    Der eventuell vorhandene eigene Benutzerdefinierte Zeitplan wird dabei gelöscht!

                    Mal als Hinweis, habe ich nicht erwartet und hat mich ein wenig überrascht.

                    ThisoftT Offline
                    ThisoftT Offline
                    Thisoft
                    schrieb am zuletzt editiert von
                    #343

                    @uwerlp
                    Das ist aber ureigenes Verhalten der Solix-Steuerung! Auch dort überschreibt ein neuer Zeitplan den alten! Es sei denn du trennst diese Zeitpläne nach der Gültigkeit der Wochentage. Das bildet m.E. der Adapter genau so ab. Mehr kann der Adapter da auch nicht "hineinzaubern".

                    22 HM-Geräte; PivCCU2 auf RasPi

                    ioBroker-Multihost; Ubuntu-Master auf Intel-Atom und 3 RasPi-Clients

                    1 Antwort Letzte Antwort
                    1
                    • R ronny130286

                      @toralt

                      ich hatte mir das in der App angesehen, bei mir war es so, dass nach dem Laden automatisch wieder auf den eingestellten benutzerdefinierten Modus umgestellt wurde wenn er fertig war mit laden oder man das Laden ausgeschalten hat. Wenn du dort natürlich dann 400W eingestellt hattest, stellt er das drauf ein.

                      Beim Laden habe ich es so gemacht, das er deinen aktuellen Energieplan holt, dann das Laden drauf editiert und es an die Solarbank übergibt.

                      @Volker3-0

                      Es ist noch nicht implementiert, aber ich bin dabei einen DP zu machen wo man die Betriebsmodis frei umschalten kann.

                      T Offline
                      T Offline
                      toralt
                      schrieb am zuletzt editiert von toralt
                      #344

                      @ronny130286 said in Anker Adapter:

                      das er deinen aktuellen Energieplan holt, dann das Laden drauf editiert und es an die Solarbank übergibt.

                      Was bedeutet "das laden darauf editiert"? Energieplan habe ich bisher nichts eingestellt.
                      Wenn ich Notladen starte (in der App) stellt er halt immer den aktuellen Zeitpunkt ein und ich muss einen Endzeitpunkt festlegen.

                      Ich habe mir nun einen Datenpunkt erstellt, der immer genau den halben Verbrauch anzeigt. Nun nehme ich diesen für die automatische Steuerung der SB 2. SB 1 wird nach wie vor per Shelly gesteuert. Das funktioniert nun so, wie ich mir das gedacht habe und beide Anker Solarbank 3 teilen sich die Last.

                      << ioBroker im Docker auf Synology DS1821+, 10GBit, 32GB RAM>>

                      1 Antwort Letzte Antwort
                      0
                      • UweRLPU Offline
                        UweRLPU Offline
                        UweRLP
                        schrieb am zuletzt editiert von UweRLP
                        #345

                        Da ich keinen Anker Smartmeter aber dafür einen intelligenten Stromzähler mit Tibber Pulse und eine Solarbank3 habe versuche ich diese beiden mittels eines Blockly zu verheiraten :-)
                        Dafür nutze ich diesen Adapter ankersolix2 und den Adapter tibberlink
                        Was ich früher manuell/händisch versucht habe bevor der Anker Adapter steuern konnte war, bei geringem Strompreis und hoher Stromerzeugung primär den Akku zu laden um später wenn der Strompreis hoch läuft diesen wieder ins Hausnetzt einzuspeisen. Das gebastelte Blocky läuft für meine Situation recht gut. Nicht berücksichtigt werden Wetteraussichten oder so, einfach nur der aktuelle Moment für den aktuellen Tag.
                        Der ein oder andere mag es als Vorlage nutzen.

                        Hier noch eine kurze Erklärung welche Datenpunkte benötigt werden:

                        Stromzaehler:AktStrom - tibberlink - tibberlink.0.Homes.XXX.LiveMeasurement.power
                        SolarPower:SolarSumme - ankersolix2 - ankersolix2.0.XXX.solarbank_info.solarbank_list.XXX.photovoltaic_power
                        Stromzaehler:PreisHeuteHoechster - tibberlink - tibberlink.0.Homes.XXX.PricesToday.maximum.total
                        Stromzaehler:PreisHeuteGeringster - tibberlink - tibberlink.0.Homes.XXX.minimum.total
                        StromzählerAktPreis - tibberlink - tibberlink.0.Homes.XXX.CurrentPrice.total
                        SolarPower:BatterieLadung - ankersolix2 - ankersolix2.0.XXX.solarbank_info.solarbank_list.XXX.battery_power
                        StromAbgabeSollwertErrechnet - Userdatenpunkt für ankersolix2 unter STEUERN
                        Also der hier:
                        01 Userdatenpunkt.png
                        Hier das Blockly als Bilder:
                        01 Blockly T01.png
                        01 Blockly T02.png
                        Hier als Code zum importieren:

                        <xml xmlns="https://developers.google.com/blockly/xml">
                          <variables>
                            <variable id="S)?Q9/DlHU.scLN:0;Nr">StromSolarSumme</variable>
                            <variable id="2SX,.OJb~*_IWN8T:D(C">StromFuerNetzALT</variable>
                            <variable id="jIclgY1C0H)/DZUa/1(o">StrompreisDiff_HG</variable>
                            <variable id="/;n%+?^Bo%(R_m:==5kA">Zaehler</variable>
                            <variable id="X2!RJ{O`!TUC}+1Y{*Xa">StrompreisAktuell</variable>
                            <variable id="I3@Ic3t[x|s6oUbD_]:E">StrompreisDiffAktuell</variable>
                            <variable id="-bf#o^2onvnJg3%9EsE)">StromVerbrauchAktuell</variable>
                            <variable id="1q:NEfP.A#Zjdb/r@v;.">StrompreisDiffProzent</variable>
                            <variable id="~,d%PYXpGX.0[%3LW/Xh">BatterieLadung</variable>
                            <variable id="BYezFA/G^RBbnK}Gmo_q">StrompreisDiffProzent_NEG</variable>
                            <variable id=".3a#3rU)Oli?_9F:pfy,">StromFuerNetzPreis</variable>
                            <variable id="[*{z8rcYYfa:Fv_kxZGe">StromFuerNetzBatt</variable>
                            <variable id="BES/[o|.r[`RnV:P@rsR">StromFuerNetz</variable>
                            <variable id="8}u}NRqFOR(RhuI:|mko">StromFuerNetzABS</variable>
                          </variables>
                          <block type="on_ext" id="I@$RR#h9]/`UNN:X.Hv=" x="38" y="-1060">
                            <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=",[lrP^^s:0d!nR_5k(R;">
                                <field name="oid">alias.0.Keller.Stromzaehler.AktuellerStrom</field>
                              </shadow>
                            </value>
                            <statement name="STATEMENT">
                              <block type="variables_set" id="m[gg^_s(hyroJlJ36dej">
                                <field name="VAR" id="S)?Q9/DlHU.scLN:0;Nr">StromSolarSumme</field>
                                <value name="VALUE">
                                  <block type="get_value" id="H=3qpT/qS[:oI)/WGDJ,">
                                    <field name="ATTR">val</field>
                                    <field name="OID">alias.0.Balkon.SolarPower.SolarSumme</field>
                                  </block>
                                </value>
                                <next>
                                  <block type="variables_set" id="YL|%xFi2]}?_ZG{{TG/W">
                                    <field name="VAR" id="jIclgY1C0H)/DZUa/1(o">StrompreisDiff_HG</field>
                                    <value name="VALUE">
                                      <block type="math_arithmetic" id="sWKU$u;Idl3kr}47b]U]">
                                        <field name="OP">MINUS</field>
                                        <value name="A">
                                          <shadow type="math_number" id="WsGv]S|@58KtNna3spjh">
                                            <field name="NUM">1</field>
                                          </shadow>
                                          <block type="get_value" id="MCmE)a|XLb9wD^Gv[2{f">
                                            <field name="ATTR">val</field>
                                            <field name="OID">alias.0.Keller.Stromzaehler.PreisHeuteHoechster</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <shadow type="math_number" id="E@qn?|zuU-hfa/W}N4wX">
                                            <field name="NUM">1</field>
                                          </shadow>
                                          <block type="get_value" id="{H+SMJjrQd9j9^:UT2(~">
                                            <field name="ATTR">val</field>
                                            <field name="OID">alias.0.Keller.Stromzaehler.PreisHeuteGeringster</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <next>
                                      <block type="variables_set" id="XLxs|TBmNU9M~!C`]1He">
                                        <field name="VAR" id="X2!RJ{O`!TUC}+1Y{*Xa">StrompreisAktuell</field>
                                        <value name="VALUE">
                                          <block type="get_value" id="1IoS_3pAuH#X0z8|(NL?">
                                            <field name="ATTR">val</field>
                                            <field name="OID">alias.0.Keller.Stromzaehler.AktPreis</field>
                                          </block>
                                        </value>
                                        <next>
                                          <block type="variables_set" id="vW}6,nwyC{j9]CGlq9V]">
                                            <field name="VAR" id="I3@Ic3t[x|s6oUbD_]:E">StrompreisDiffAktuell</field>
                                            <value name="VALUE">
                                              <block type="math_arithmetic" id="T~[sokWR)2dG.2]nI3Tl">
                                                <field name="OP">MINUS</field>
                                                <value name="A">
                                                  <shadow type="math_number" id="WsGv]S|@58KtNna3spjh">
                                                    <field name="NUM">1</field>
                                                  </shadow>
                                                  <block type="variables_get" id=";+JGgGA1l)cX^e]mzt:N">
                                                    <field name="VAR" id="X2!RJ{O`!TUC}+1Y{*Xa">StrompreisAktuell</field>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <shadow type="math_number" id="E@qn?|zuU-hfa/W}N4wX">
                                                    <field name="NUM">1</field>
                                                  </shadow>
                                                  <block type="get_value" id="0=cUm86g:;;apDal20rO">
                                                    <field name="ATTR">val</field>
                                                    <field name="OID">alias.0.Keller.Stromzaehler.PreisHeuteGeringster</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <next>
                                              <block type="variables_set" id="P#c6W]Ms3G[y4Q!fODaz">
                                                <field name="VAR" id="-bf#o^2onvnJg3%9EsE)">StromVerbrauchAktuell</field>
                                                <value name="VALUE">
                                                  <block type="get_value" id="M1xh8[2f4e9r%[:lZbP`">
                                                    <field name="ATTR">val</field>
                                                    <field name="OID">0_userdata.0.Keller.StromSummeNetzSolar</field>
                                                  </block>
                                                </value>
                                                <next>
                                                  <block type="controls_if" id="a3.Jc4s;ueU0/tu}T_C{">
                                                    <mutation else="1"></mutation>
                                                    <value name="IF0">
                                                      <block type="logic_compare" id="tnoga){oieQMHh$7[Bwj">
                                                        <field name="OP">GT</field>
                                                        <value name="A">
                                                          <block type="variables_get" id="Ab~`L/Ost(J:g~1s[/3N">
                                                            <field name="VAR" id="I3@Ic3t[x|s6oUbD_]:E">StrompreisDiffAktuell</field>
                                                          </block>
                                                        </value>
                                                        <value name="B">
                                                          <block type="math_number" id="_38|p#/9+=eaLrzc/4[/">
                                                            <field name="NUM">0</field>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                    <statement name="DO0">
                                                      <block type="variables_set" id="S#.aj}%J8r,YK;C*4U!j">
                                                        <field name="VAR" id="1q:NEfP.A#Zjdb/r@v;.">StrompreisDiffProzent</field>
                                                        <value name="VALUE">
                                                          <block type="math_round" id="I)tznk[@(Io5;7/XWj,B">
                                                            <field name="OP">ROUND</field>
                                                            <value name="NUM">
                                                              <shadow type="math_number" id=",qOFAI*yN?XRL^DH6Bez">
                                                                <field name="NUM">3.1</field>
                                                              </shadow>
                                                              <block type="math_arithmetic" id="eg_?-*|]x2X/INC(?4bl">
                                                                <field name="OP">DIVIDE</field>
                                                                <value name="A">
                                                                  <shadow type="math_number" id="@zTs}%#zBc(mrD@{;%x5">
                                                                    <field name="NUM">1</field>
                                                                  </shadow>
                                                                  <block type="math_arithmetic" id="zir=1,v8+s-u?S@JEy3u">
                                                                    <field name="OP">MULTIPLY</field>
                                                                    <value name="A">
                                                                      <shadow type="math_number" id="W3H`([^b.H?@X8^h[#fw">
                                                                        <field name="NUM">1</field>
                                                                      </shadow>
                                                                      <block type="variables_get" id="Am~Yd^;k33yE3mi_05Mp">
                                                                        <field name="VAR" id="I3@Ic3t[x|s6oUbD_]:E">StrompreisDiffAktuell</field>
                                                                      </block>
                                                                    </value>
                                                                    <value name="B">
                                                                      <shadow type="math_number" id="Ua=i4(9QV:^?s;(ogUvd">
                                                                        <field name="NUM">100</field>
                                                                      </shadow>
                                                                    </value>
                                                                  </block>
                                                                </value>
                                                                <value name="B">
                                                                  <shadow type="math_number" id="EAB/Z8{B_g0Gw)QmeRj/">
                                                                    <field name="NUM">1</field>
                                                                  </shadow>
                                                                  <block type="variables_get" id="0=zJZ|!NMU}]?K$YU]53">
                                                                    <field name="VAR" id="jIclgY1C0H)/DZUa/1(o">StrompreisDiff_HG</field>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </value>
                                                        <next>
                                                          <block type="variables_set" id="2H+#xA]S@Wnum6r|Sq6P">
                                                            <field name="VAR" id="BYezFA/G^RBbnK}Gmo_q">StrompreisDiffProzent_NEG</field>
                                                            <value name="VALUE">
                                                              <block type="math_arithmetic" id="=DLZK]%qC/WsO#9]YSf)">
                                                                <field name="OP">MINUS</field>
                                                                <value name="A">
                                                                  <shadow type="math_number" id="r)eg]s1x+.;9.hBrA~}A">
                                                                    <field name="NUM">100</field>
                                                                  </shadow>
                                                                </value>
                                                                <value name="B">
                                                                  <shadow type="math_number" id="Zvj`JepiPEzk)?tA2!n_">
                                                                    <field name="NUM">1</field>
                                                                  </shadow>
                                                                  <block type="variables_get" id="2Y~nm);@-Vxn5VzgE7i!">
                                                                    <field name="VAR" id="1q:NEfP.A#Zjdb/r@v;.">StrompreisDiffProzent</field>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </next>
                                                      </block>
                                                    </statement>
                                                    <statement name="ELSE">
                                                      <block type="variables_set" id="_dZuQM9I}7l([[UsQRJY">
                                                        <field name="VAR" id="1q:NEfP.A#Zjdb/r@v;.">StrompreisDiffProzent</field>
                                                        <value name="VALUE">
                                                          <block type="math_number" id="]V@tXPH_izKthdaZKsJV">
                                                            <field name="NUM">0</field>
                                                          </block>
                                                        </value>
                                                        <next>
                                                          <block type="variables_set" id="m97f_:D4Mu|!tNfzsp]/">
                                                            <field name="VAR" id="BYezFA/G^RBbnK}Gmo_q">StrompreisDiffProzent_NEG</field>
                                                            <value name="VALUE">
                                                              <block type="math_number" id="Gj#@tV?qr-~IG+/eJ_h!">
                                                                <field name="NUM">100</field>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </next>
                                                      </block>
                                                    </statement>
                                                    <next>
                                                      <block type="variables_set" id="l:X*XjRs:Z9*[|hKIil.">
                                                        <field name="VAR" id="~,d%PYXpGX.0[%3LW/Xh">BatterieLadung</field>
                                                        <value name="VALUE">
                                                          <block type="get_value" id="?T_e/ZT;OH0n1*1/|+08">
                                                            <field name="ATTR">val</field>
                                                            <field name="OID">alias.0.Balkon.SolarPower.BatterieLadung</field>
                                                          </block>
                                                        </value>
                                                        <next>
                                                          <block type="controls_if" id="$TD-;$6moK6swtdnZ7Sn">
                                                            <mutation elseif="1" else="1"></mutation>
                                                            <value name="IF0">
                                                              <block type="logic_compare" id="qVJ~Tis?xH}8@E2LZDR%">
                                                                <field name="OP">GT</field>
                                                                <value name="A">
                                                                  <block type="variables_get" id="OIvER{ZSA%h]U#m,M:wb">
                                                                    <field name="VAR" id="1q:NEfP.A#Zjdb/r@v;.">StrompreisDiffProzent</field>
                                                                  </block>
                                                                </value>
                                                                <value name="B">
                                                                  <block type="math_number" id="f{]C,]0snmF$KGx:18:W">
                                                                    <field name="NUM">90</field>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </value>
                                                            <statement name="DO0">
                                                              <block type="variables_set" id="gQso0?gcsLwfO6CcW!HC">
                                                                <field name="VAR" id=".3a#3rU)Oli?_9F:pfy,">StromFuerNetzPreis</field>
                                                                <value name="VALUE">
                                                                  <block type="math_round" id="f!%UjaN;`C{ac+Jq{E0B">
                                                                    <field name="OP">ROUND</field>
                                                                    <value name="NUM">
                                                                      <shadow type="math_number" id="eCiFf~*v.m.8]8;kgcAh">
                                                                        <field name="NUM">3.1</field>
                                                                      </shadow>
                                                                      <block type="math_arithmetic" id="H/;w@~BMp|{4Yem:{rxW">
                                                                        <field name="OP">DIVIDE</field>
                                                                        <value name="A">
                                                                          <shadow type="math_number" id="acmM4^wg|[6tk,bl7%}(">
                                                                            <field name="NUM">1</field>
                                                                          </shadow>
                                                                          <block type="math_arithmetic" id="B`Wlag+s8)RNLVPULL)t">
                                                                            <field name="OP">MULTIPLY</field>
                                                                            <value name="A">
                                                                              <shadow type="math_number" id="jtN|Pby!ClU*xNSf/n[O">
                                                                                <field name="NUM">90</field>
                                                                              </shadow>
                                                                              <block type="variables_get" id="x@`,u_w*{.8K.lVKGxo-">
                                                                                <field name="VAR" id="-bf#o^2onvnJg3%9EsE)">StromVerbrauchAktuell</field>
                                                                              </block>
                                                                            </value>
                                                                            <value name="B">
                                                                              <shadow type="math_number" id="P5lA|ojr10/UQRI!h)(D">
                                                                                <field name="NUM">1</field>
                                                                              </shadow>
                                                                              <block type="math_number" id="zkgi;ao/^U22_dYg)l!M">
                                                                                <field name="NUM">90</field>
                                                                              </block>
                                                                            </value>
                                                                          </block>
                                                                        </value>
                                                                        <value name="B">
                                                                          <shadow type="math_number" id="{iN-=P$N*S,W%Vw0+VJ3">
                                                                            <field name="NUM">100</field>
                                                                          </shadow>
                                                                        </value>
                                                                      </block>
                                                                    </value>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </statement>
                                                            <value name="IF1">
                                                              <block type="logic_compare" id="wZ!8SoW]6J5hDIW|Be%r">
                                                                <field name="OP">GT</field>
                                                                <value name="A">
                                                                  <block type="variables_get" id="/r-*~YIl(t5piOi=P*+j">
                                                                    <field name="VAR" id="1q:NEfP.A#Zjdb/r@v;.">StrompreisDiffProzent</field>
                                                                  </block>
                                                                </value>
                                                                <value name="B">
                                                                  <block type="math_number" id="@f[;6iB([J[a/WThwnx3">
                                                                    <field name="NUM">0</field>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </value>
                                                            <statement name="DO1">
                                                              <block type="variables_set" id="2rgz_yZjXDLF!@JBoVr(">
                                                                <field name="VAR" id=".3a#3rU)Oli?_9F:pfy,">StromFuerNetzPreis</field>
                                                                <value name="VALUE">
                                                                  <block type="math_round" id="0L`|SI+^G8X,-iDpr|PC">
                                                                    <field name="OP">ROUND</field>
                                                                    <value name="NUM">
                                                                      <shadow type="math_number" id="eCiFf~*v.m.8]8;kgcAh">
                                                                        <field name="NUM">3.1</field>
                                                                      </shadow>
                                                                      <block type="math_arithmetic" id="T)E##c%f(/:3i+5%M96(">
                                                                        <field name="OP">DIVIDE</field>
                                                                        <value name="A">
                                                                          <shadow type="math_number" id="acmM4^wg|[6tk,bl7%}(">
                                                                            <field name="NUM">1</field>
                                                                          </shadow>
                                                                          <block type="math_arithmetic" id="oQeC`LSY(d1#.S?yOGo~">
                                                                            <field name="OP">MULTIPLY</field>
                                                                            <value name="A">
                                                                              <shadow type="math_number" id="jtN|Pby!ClU*xNSf/n[O">
                                                                                <field name="NUM">90</field>
                                                                              </shadow>
                                                                              <block type="variables_get" id="o%lAPznS2jlGj8m*ec[p">
                                                                                <field name="VAR" id="-bf#o^2onvnJg3%9EsE)">StromVerbrauchAktuell</field>
                                                                              </block>
                                                                            </value>
                                                                            <value name="B">
                                                                              <shadow type="math_number" id="P5lA|ojr10/UQRI!h)(D">
                                                                                <field name="NUM">1</field>
                                                                              </shadow>
                                                                              <block type="variables_get" id="IPXeyuj%e31:3ay!~L^c">
                                                                                <field name="VAR" id="1q:NEfP.A#Zjdb/r@v;.">StrompreisDiffProzent</field>
                                                                              </block>
                                                                            </value>
                                                                          </block>
                                                                        </value>
                                                                        <value name="B">
                                                                          <shadow type="math_number" id="k2BTt^%fFdx4ngcfA4-F">
                                                                            <field name="NUM">100</field>
                                                                          </shadow>
                                                                        </value>
                                                                      </block>
                                                                    </value>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </statement>
                                                            <statement name="ELSE">
                                                              <block type="variables_set" id="AL-hqhjk4/8K74aWkA+p">
                                                                <field name="VAR" id=".3a#3rU)Oli?_9F:pfy,">StromFuerNetzPreis</field>
                                                                <value name="VALUE">
                                                                  <block type="math_number" id="R{)q[|!N{EW2yw%?OE1i">
                                                                    <field name="NUM">0</field>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </statement>
                                                            <next>
                                                              <block type="controls_if" id="js$gTOy!BPz/4X|!Q=nL">
                                                                <mutation else="1"></mutation>
                                                                <value name="IF0">
                                                                  <block type="logic_compare" id="ss4bR)wmbc9l3g*8Okpa">
                                                                    <field name="OP">GT</field>
                                                                    <value name="A">
                                                                      <block type="variables_get" id="BBn-_HZ!c^5gE$i(%V9r">
                                                                        <field name="VAR" id="S)?Q9/DlHU.scLN:0;Nr">StromSolarSumme</field>
                                                                      </block>
                                                                    </value>
                                                                    <value name="B">
                                                                      <block type="math_number" id="8)U3Sy}v,QCr3oT3AKmp">
                                                                        <field name="NUM">0</field>
                                                                      </block>
                                                                    </value>
                                                                  </block>
                                                                </value>
                                                                <statement name="DO0">
                                                                  <block type="controls_if" id="E:JQbo-*6n4{X*2vkM+`">
                                                                    <mutation else="1"></mutation>
                                                                    <value name="IF0">
                                                                      <block type="logic_compare" id="+NZAC)M:OkdhpB4+)1oO">
                                                                        <field name="OP">LT</field>
                                                                        <value name="A">
                                                                          <block type="variables_get" id="E92bqX~un0o/H1.Q/Sj-">
                                                                            <field name="VAR" id="~,d%PYXpGX.0[%3LW/Xh">BatterieLadung</field>
                                                                          </block>
                                                                        </value>
                                                                        <value name="B">
                                                                          <block type="math_number" id="K-Xq056LezC1+3j=BG-/">
                                                                            <field name="NUM">80</field>
                                                                          </block>
                                                                        </value>
                                                                      </block>
                                                                    </value>
                                                                    <statement name="DO0">
                                                                      <block type="variables_set" id=")4IgYYc1T@PW![)B!TxK">
                                                                        <field name="VAR" id="[*{z8rcYYfa:Fv_kxZGe">StromFuerNetzBatt</field>
                                                                        <value name="VALUE">
                                                                          <block type="math_round" id="ib{$6Z;f9lv-rJN^3!2?">
                                                                            <field name="OP">ROUND</field>
                                                                            <value name="NUM">
                                                                              <shadow type="math_number" id="eCiFf~*v.m.8]8;kgcAh">
                                                                                <field name="NUM">3.1</field>
                                                                              </shadow>
                                                                              <block type="math_arithmetic" id="vrqsG2:uH-~}9HCCtnb$">
                                                                                <field name="OP">DIVIDE</field>
                                                                                <value name="A">
                                                                                  <shadow type="math_number" id="acmM4^wg|[6tk,bl7%}(">
                                                                                    <field name="NUM">1</field>
                                                                                  </shadow>
                                                                                  <block type="math_arithmetic" id="hoWc67zbHH1qvsAMl.yQ">
                                                                                    <field name="OP">MULTIPLY</field>
                                                                                    <value name="A">
                                                                                      <shadow type="math_number" id="Ex::s|Iu#A)_J1u`CeF=">
                                                                                        <field name="NUM">1</field>
                                                                                      </shadow>
                                                                                      <block type="variables_get" id="Z6Y%;P2Gy;@9/gccpS!V">
                                                                                        <field name="VAR" id="S)?Q9/DlHU.scLN:0;Nr">StromSolarSumme</field>
                                                                                      </block>
                                                                                    </value>
                                                                                    <value name="B">
                                                                                      <shadow type="math_number" id="P5lA|ojr10/UQRI!h)(D">
                                                                                        <field name="NUM">1</field>
                                                                                      </shadow>
                                                                                      <block type="variables_get" id="*W%3j;eF+cfyfY%.~J]F">
                                                                                        <field name="VAR" id="~,d%PYXpGX.0[%3LW/Xh">BatterieLadung</field>
                                                                                      </block>
                                                                                    </value>
                                                                                  </block>
                                                                                </value>
                                                                                <value name="B">
                                                                                  <shadow type="math_number" id="cXfVu}Pgz{.yHtUcvymp">
                                                                                    <field name="NUM">100</field>
                                                                                  </shadow>
                                                                                </value>
                                                                              </block>
                                                                            </value>
                                                                          </block>
                                                                        </value>
                                                                      </block>
                                                                    </statement>
                                                                    <statement name="ELSE">
                                                                      <block type="variables_set" id="Y,{1WInFoyn`}J_]-[No">
                                                                        <field name="VAR" id="[*{z8rcYYfa:Fv_kxZGe">StromFuerNetzBatt</field>
                                                                        <value name="VALUE">
                                                                          <block type="math_round" id="{e,#oVk/!Ukzb#JWpZxZ">
                                                                            <field name="OP">ROUND</field>
                                                                            <value name="NUM">
                                                                              <shadow type="math_number" id="eCiFf~*v.m.8]8;kgcAh">
                                                                                <field name="NUM">3.1</field>
                                                                              </shadow>
                                                                              <block type="math_arithmetic" id="z}VB^Do,8o1aV@EVu4;e">
                                                                                <field name="OP">DIVIDE</field>
                                                                                <value name="A">
                                                                                  <shadow type="math_number" id="acmM4^wg|[6tk,bl7%}(">
                                                                                    <field name="NUM">1</field>
                                                                                  </shadow>
                                                                                  <block type="math_arithmetic" id="B@0^=JULFJ.9Pz*/?/Yn">
                                                                                    <field name="OP">MULTIPLY</field>
                                                                                    <value name="A">
                                                                                      <shadow type="math_number" id="m3)K5ixWnl?h94hp@GzK">
                                                                                        <field name="NUM">80</field>
                                                                                      </shadow>
                                                                                    </value>
                                                                                    <value name="B">
                                                                                      <shadow type="math_number" id="P5lA|ojr10/UQRI!h)(D">
                                                                                        <field name="NUM">1</field>
                                                                                      </shadow>
                                                                                      <block type="variables_get" id="rx|U@fG;6Id%u4UgY4Q3">
                                                                                        <field name="VAR" id="S)?Q9/DlHU.scLN:0;Nr">StromSolarSumme</field>
                                                                                      </block>
                                                                                    </value>
                                                                                  </block>
                                                                                </value>
                                                                                <value name="B">
                                                                                  <shadow type="math_number" id="Txml(}Oeo7CN]F-L7x7=">
                                                                                    <field name="NUM">100</field>
                                                                                  </shadow>
                                                                                </value>
                                                                              </block>
                                                                            </value>
                                                                          </block>
                                                                        </value>
                                                                      </block>
                                                                    </statement>
                                                                    <next>
                                                                      <block type="variables_set" id="|/JY$_G$Y-!yf!M~qXbw">
                                                                        <field name="VAR" id="BES/[o|.r[`RnV:P@rsR">StromFuerNetz</field>
                                                                        <value name="VALUE">
                                                                          <block type="math_round" id="aL:~u{`xil4c*]J5_H?1">
                                                                            <field name="OP">ROUND</field>
                                                                            <value name="NUM">
                                                                              <shadow type="math_number" id="Upk8-YcQbASI0=0MBVft">
                                                                                <field name="NUM">3.1</field>
                                                                              </shadow>
                                                                              <block type="math_arithmetic" id="v;kJ0Ve6Kndsc6]c77|F">
                                                                                <field name="OP">DIVIDE</field>
                                                                                <value name="A">
                                                                                  <shadow type="math_number" id="M7ijTT|m[l(L35Cv=88-">
                                                                                    <field name="NUM">1</field>
                                                                                  </shadow>
                                                                                  <block type="math_arithmetic" id=")^9yajaw8}:8=AB)_^ja">
                                                                                    <field name="OP">ADD</field>
                                                                                    <value name="A">
                                                                                      <shadow type="math_number" id="WBjluk{EnQ*:~m5Y[.Lv">
                                                                                        <field name="NUM">1</field>
                                                                                      </shadow>
                                                                                      <block type="variables_get" id="K]`3v~{|g3Vfe.=;Jx#Z">
                                                                                        <field name="VAR" id="[*{z8rcYYfa:Fv_kxZGe">StromFuerNetzBatt</field>
                                                                                      </block>
                                                                                    </value>
                                                                                    <value name="B">
                                                                                      <shadow type="math_number" id="SnUre0Z)-:)?!uPaW~Y;">
                                                                                        <field name="NUM">1</field>
                                                                                      </shadow>
                                                                                      <block type="math_arithmetic" id="7UN*v[D_Mw;$RO8FA}qs">
                                                                                        <field name="OP">MULTIPLY</field>
                                                                                        <value name="A">
                                                                                          <shadow type="math_number" id="D6nP8!8v,w.xh3[2#J?q">
                                                                                            <field name="NUM">1</field>
                                                                                          </shadow>
                                                                                          <block type="variables_get" id="6V8IO2:uUR2/=OpGD9/?">
                                                                                            <field name="VAR" id=".3a#3rU)Oli?_9F:pfy,">StromFuerNetzPreis</field>
                                                                                          </block>
                                                                                        </value>
                                                                                        <value name="B">
                                                                                          <shadow type="math_number" id="zDRImn9`{:XUCZj1!Cmd">
                                                                                            <field name="NUM">2</field>
                                                                                          </shadow>
                                                                                        </value>
                                                                                      </block>
                                                                                    </value>
                                                                                  </block>
                                                                                </value>
                                                                                <value name="B">
                                                                                  <shadow type="math_number" id="f|scGG5R=*8RA.$#OR8N">
                                                                                    <field name="NUM">2</field>
                                                                                  </shadow>
                                                                                </value>
                                                                              </block>
                                                                            </value>
                                                                          </block>
                                                                        </value>
                                                                      </block>
                                                                    </next>
                                                                  </block>
                                                                </statement>
                                                                <statement name="ELSE">
                                                                  <block type="variables_set" id="Z2.R:llj`(!v$R~5,Yu:">
                                                                    <field name="VAR" id="[*{z8rcYYfa:Fv_kxZGe">StromFuerNetzBatt</field>
                                                                    <value name="VALUE">
                                                                      <block type="math_number" id=":Bf_a_77[=^AUfzGCK0s">
                                                                        <field name="NUM">0</field>
                                                                      </block>
                                                                    </value>
                                                                    <next>
                                                                      <block type="variables_set" id="qh%9A3}^h5?5;@G`}@~b">
                                                                        <field name="VAR" id="BES/[o|.r[`RnV:P@rsR">StromFuerNetz</field>
                                                                        <value name="VALUE">
                                                                          <block type="variables_get" id="yBDI@m?TiF3q*Q%Q:VtM">
                                                                            <field name="VAR" id=".3a#3rU)Oli?_9F:pfy,">StromFuerNetzPreis</field>
                                                                          </block>
                                                                        </value>
                                                                      </block>
                                                                    </next>
                                                                  </block>
                                                                </statement>
                                                                <next>
                                                                  <block type="controls_if" id="/M}[)@yeksxef/0?suiH">
                                                                    <value name="IF0">
                                                                      <block type="logic_compare" id="Qacuf@kU)cxIIi{J)I!N">
                                                                        <field name="OP">GT</field>
                                                                        <value name="A">
                                                                          <block type="variables_get" id="]+x;3jnE,L5Iakg=cQAz">
                                                                            <field name="VAR" id="BES/[o|.r[`RnV:P@rsR">StromFuerNetz</field>
                                                                          </block>
                                                                        </value>
                                                                        <value name="B">
                                                                          <block type="variables_get" id=".gMwlBk5qUM*s,T6;D3`">
                                                                            <field name="VAR" id="-bf#o^2onvnJg3%9EsE)">StromVerbrauchAktuell</field>
                                                                          </block>
                                                                        </value>
                                                                      </block>
                                                                    </value>
                                                                    <statement name="DO0">
                                                                      <block type="variables_set" id="R%XxuW/#|i14Wi/h6H4C">
                                                                        <field name="VAR" id="BES/[o|.r[`RnV:P@rsR">StromFuerNetz</field>
                                                                        <value name="VALUE">
                                                                          <block type="math_round" id="Z[f3i:JD@zf1!-.36:sd">
                                                                            <field name="OP">ROUND</field>
                                                                            <value name="NUM">
                                                                              <shadow type="math_number" id="}^Gf,n:$7n5Em;s/A{bz">
                                                                                <field name="NUM">3.1</field>
                                                                              </shadow>
                                                                              <block type="math_arithmetic" id="YM^5_e{ywombwLm;gpW@">
                                                                                <field name="OP">DIVIDE</field>
                                                                                <value name="A">
                                                                                  <shadow type="math_number" id="j1b8d,`2B/@voO=Yp.~e">
                                                                                    <field name="NUM">1</field>
                                                                                  </shadow>
                                                                                  <block type="math_arithmetic" id="p.)=d:J0V=}m~g:omK$e">
                                                                                    <field name="OP">MULTIPLY</field>
                                                                                    <value name="A">
                                                                                      <shadow type="math_number" id=".M|T44[.-.Y!Cz)q%zvK">
                                                                                        <field name="NUM">1</field>
                                                                                      </shadow>
                                                                                      <block type="variables_get" id="ZFuV=zG#)UQf34/o?o@s">
                                                                                        <field name="VAR" id="-bf#o^2onvnJg3%9EsE)">StromVerbrauchAktuell</field>
                                                                                      </block>
                                                                                    </value>
                                                                                    <value name="B">
                                                                                      <shadow type="math_number" id="p-O)W/V]$uB@#`Z6foD+">
                                                                                        <field name="NUM">90</field>
                                                                                      </shadow>
                                                                                    </value>
                                                                                  </block>
                                                                                </value>
                                                                                <value name="B">
                                                                                  <shadow type="math_number" id="m!qLf$QaBQnP(jE4FVn-">
                                                                                    <field name="NUM">100</field>
                                                                                  </shadow>
                                                                                </value>
                                                                              </block>
                                                                            </value>
                                                                          </block>
                                                                        </value>
                                                                      </block>
                                                                    </statement>
                                                                    <next>
                                                                      <block type="controls_if" id="1Gfj/+i6/5M`63#7JXPM">
                                                                        <value name="IF0">
                                                                          <block type="logic_compare" id="-p.R?gKmkrhW:/fRm33f">
                                                                            <field name="OP">GT</field>
                                                                            <value name="A">
                                                                              <block type="variables_get" id="Wv[G(edealf?L#EOwjkZ">
                                                                                <field name="VAR" id="BES/[o|.r[`RnV:P@rsR">StromFuerNetz</field>
                                                                              </block>
                                                                            </value>
                                                                            <value name="B">
                                                                              <block type="math_number" id="~[AZPNjMJ7r8/bzZ2~F.">
                                                                                <field name="NUM">800</field>
                                                                              </block>
                                                                            </value>
                                                                          </block>
                                                                        </value>
                                                                        <statement name="DO0">
                                                                          <block type="variables_set" id="JyZ$.G@#L=nIg@8cdC5G">
                                                                            <field name="VAR" id="BES/[o|.r[`RnV:P@rsR">StromFuerNetz</field>
                                                                            <value name="VALUE">
                                                                              <block type="math_number" id="U9H9x(#xq`_o85fO6LVG">
                                                                                <field name="NUM">800</field>
                                                                              </block>
                                                                            </value>
                                                                          </block>
                                                                        </statement>
                                                                        <next>
                                                                          <block type="variables_set" id=":jj;r*p,fiTe!K_+)kc;">
                                                                            <field name="VAR" id="BES/[o|.r[`RnV:P@rsR">StromFuerNetz</field>
                                                                            <value name="VALUE">
                                                                              <block type="math_arithmetic" id="9*~%]`LW%wrHodV}3-Fj">
                                                                                <field name="OP">MULTIPLY</field>
                                                                                <value name="A">
                                                                                  <shadow type="math_number" id="!6e0r,Np~H+XQy!#n}^s">
                                                                                    <field name="NUM">1</field>
                                                                                  </shadow>
                                                                                  <block type="math_round" id="QZ)`dy$:eYdQUB4~^szq">
                                                                                    <field name="OP">ROUND</field>
                                                                                    <value name="NUM">
                                                                                      <shadow type="math_number" id="}LhK*Zq717M~e0G!S21T">
                                                                                        <field name="NUM">3.1</field>
                                                                                      </shadow>
                                                                                      <block type="math_arithmetic" id="Eo2I[s*[S*$]GOSK,@@[">
                                                                                        <field name="OP">DIVIDE</field>
                                                                                        <value name="A">
                                                                                          <shadow type="math_number" id="!6e0r,Np~H+XQy!#n}^s">
                                                                                            <field name="NUM">1</field>
                                                                                          </shadow>
                                                                                          <block type="variables_get" id="o0Ikwupu/|7ka|g^ECAV">
                                                                                            <field name="VAR" id="BES/[o|.r[`RnV:P@rsR">StromFuerNetz</field>
                                                                                          </block>
                                                                                        </value>
                                                                                        <value name="B">
                                                                                          <shadow type="math_number" id="#iGCKROP[F?2}YE$l9#u">
                                                                                            <field name="NUM">10</field>
                                                                                          </shadow>
                                                                                        </value>
                                                                                      </block>
                                                                                    </value>
                                                                                  </block>
                                                                                </value>
                                                                                <value name="B">
                                                                                  <shadow type="math_number" id="zmCl!F[Fmq4=[G_`!bI#">
                                                                                    <field name="NUM">10</field>
                                                                                  </shadow>
                                                                                </value>
                                                                              </block>
                                                                            </value>
                                                                            <next>
                                                                              <block type="variables_set" id="P/geR+XyRZ6SMqb[ZnJ3">
                                                                                <field name="VAR" id="8}u}NRqFOR(RhuI:|mko">StromFuerNetzABS</field>
                                                                                <value name="VALUE">
                                                                                  <block type="math_single" id="S4fmzk-`NFH[}X!apGky">
                                                                                    <field name="OP">ABS</field>
                                                                                    <value name="NUM">
                                                                                      <shadow type="math_number" id="2Ttl]A{}(Rk4pRST%W9[">
                                                                                        <field name="NUM">9</field>
                                                                                      </shadow>
                                                                                      <block type="math_arithmetic" id="FNe]uV1de;I8T{gYy(gI">
                                                                                        <field name="OP">MINUS</field>
                                                                                        <value name="A">
                                                                                          <shadow type="math_number" id="B6;6Wic^F(:_0g@dBXyK">
                                                                                            <field name="NUM">1</field>
                                                                                          </shadow>
                                                                                          <block type="variables_get" id="}qaM[zMjZVF?Bc%Q~E8,">
                                                                                            <field name="VAR" id="BES/[o|.r[`RnV:P@rsR">StromFuerNetz</field>
                                                                                          </block>
                                                                                        </value>
                                                                                        <value name="B">
                                                                                          <shadow type="math_number" id=":.~p@koEVpye*l?1i%/9">
                                                                                            <field name="NUM">1</field>
                                                                                          </shadow>
                                                                                          <block type="variables_get" id="%,h(XyXT{3g*-3wu5yvw">
                                                                                            <field name="VAR" id="2SX,.OJb~*_IWN8T:D(C">StromFuerNetzALT</field>
                                                                                          </block>
                                                                                        </value>
                                                                                      </block>
                                                                                    </value>
                                                                                  </block>
                                                                                </value>
                                                                                <next>
                                                                                  <block type="math_change" id="X1@e=N3fUQc[4B0{3jvw">
                                                                                    <field name="VAR" id="/;n%+?^Bo%(R_m:==5kA">Zaehler</field>
                                                                                    <value name="DELTA">
                                                                                      <shadow type="math_number" id="hfM^9e9$oZ^9:W]jtzP;">
                                                                                        <field name="NUM">1</field>
                                                                                      </shadow>
                                                                                    </value>
                                                                                    <next>
                                                                                      <block type="controls_if" id="/4@,7ITq|fkG(r^:e^[N">
                                                                                        <value name="IF0">
                                                                                          <block type="logic_multi_or" id="/`rr:nZB~9f7OOSmSU2/">
                                                                                            <mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation>
                                                                                            <value name="OR0">
                                                                                              <block type="logic_multi_and" id="Y$^|8rbdkmRR4idlE~#-">
                                                                                                <mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation>
                                                                                                <value name="AND0">
                                                                                                  <block type="logic_compare" id="r@qv*ua)##@+0_k31?$-">
                                                                                                    <field name="OP">GT</field>
                                                                                                    <value name="A">
                                                                                                      <block type="variables_get" id="LC)oTT,P*6J9R].ky*Xq">
                                                                                                        <field name="VAR" id="8}u}NRqFOR(RhuI:|mko">StromFuerNetzABS</field>
                                                                                                      </block>
                                                                                                    </value>
                                                                                                    <value name="B">
                                                                                                      <block type="math_number" id="[gb|7e@$td/QohUzKGjR">
                                                                                                        <field name="NUM">50</field>
                                                                                                      </block>
                                                                                                    </value>
                                                                                                  </block>
                                                                                                </value>
                                                                                                <value name="AND1">
                                                                                                  <block type="logic_compare" id="0b?L$+BF9L+iMF2`gF(z">
                                                                                                    <field name="OP">GT</field>
                                                                                                    <value name="A">
                                                                                                      <block type="variables_get" id="xDMZiMIToxRr#-#hzNs9">
                                                                                                        <field name="VAR" id="/;n%+?^Bo%(R_m:==5kA">Zaehler</field>
                                                                                                      </block>
                                                                                                    </value>
                                                                                                    <value name="B">
                                                                                                      <block type="math_number" id="LjrW7!n%.jThr}JxkaLZ">
                                                                                                        <field name="NUM">5</field>
                                                                                                      </block>
                                                                                                    </value>
                                                                                                  </block>
                                                                                                </value>
                                                                                              </block>
                                                                                            </value>
                                                                                            <value name="OR1">
                                                                                              <block type="logic_compare" id="q+CshyocS8VlFICJ]]HW">
                                                                                                <field name="OP">GT</field>
                                                                                                <value name="A">
                                                                                                  <block type="variables_get" id="viAXd8;r{[,lu*87JJ8C">
                                                                                                    <field name="VAR" id="/;n%+?^Bo%(R_m:==5kA">Zaehler</field>
                                                                                                  </block>
                                                                                                </value>
                                                                                                <value name="B">
                                                                                                  <block type="math_number" id="z`~93~GlKG?Rm~OMq)cF">
                                                                                                    <field name="NUM">15</field>
                                                                                                  </block>
                                                                                                </value>
                                                                                              </block>
                                                                                            </value>
                                                                                          </block>
                                                                                        </value>
                                                                                        <statement name="DO0">
                                                                                          <block type="control" id="mA9mt]58dups%39iHJE,">
                                                                                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                            <field name="OID">0_userdata.0.Keller.StromAbgabeSollwertErrechnet</field>
                                                                                            <field name="WITH_DELAY">FALSE</field>
                                                                                            <value name="VALUE">
                                                                                              <block type="variables_get" id="ag:LNe-3s^cFYadPS`2G">
                                                                                                <field name="VAR" id="BES/[o|.r[`RnV:P@rsR">StromFuerNetz</field>
                                                                                              </block>
                                                                                            </value>
                                                                                            <next>
                                                                                              <block type="variables_set" id="xjaB?4bxepDDa}^zB$u3">
                                                                                                <field name="VAR" id="2SX,.OJb~*_IWN8T:D(C">StromFuerNetzALT</field>
                                                                                                <value name="VALUE">
                                                                                                  <block type="variables_get" id="5UJVQukqzfb{q~5`;h?U">
                                                                                                    <field name="VAR" id="BES/[o|.r[`RnV:P@rsR">StromFuerNetz</field>
                                                                                                  </block>
                                                                                                </value>
                                                                                                <next>
                                                                                                  <block type="variables_set" id="$5v`d+87BYssP{GDwM%o">
                                                                                                    <field name="VAR" id="/;n%+?^Bo%(R_m:==5kA">Zaehler</field>
                                                                                                    <value name="VALUE">
                                                                                                      <block type="math_number" id="2B}7KIf0.(.o1jq1r`BB">
                                                                                                        <field name="NUM">0</field>
                                                                                                      </block>
                                                                                                    </value>
                                                                                                  </block>
                                                                                                </next>
                                                                                              </block>
                                                                                            </next>
                                                                                          </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>
                            </statement>
                            <next>
                              <block type="variables_set" id="7b)48muFc5ce68$#lyD]">
                                <field name="VAR" id="2SX,.OJb~*_IWN8T:D(C">StromFuerNetzALT</field>
                                <value name="VALUE">
                                  <block type="math_number" id="_GQT_Gg+X?+Log13qZB9">
                                    <field name="NUM">0</field>
                                  </block>
                                </value>
                                <next>
                                  <block type="variables_set" id="Oiibk!gqJAZd[o1`Xbq7">
                                    <field name="VAR" id="/;n%+?^Bo%(R_m:==5kA">Zaehler</field>
                                    <value name="VALUE">
                                      <block type="math_number" id="-6M}.ZLDwUB*hl=OPUxg">
                                        <field name="NUM">0</field>
                                      </block>
                                    </value>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </xml>
                        
                        CinimodC UweRLPU 3 Antworten Letzte Antwort
                        1
                        • UweRLPU UweRLP

                          Da ich keinen Anker Smartmeter aber dafür einen intelligenten Stromzähler mit Tibber Pulse und eine Solarbank3 habe versuche ich diese beiden mittels eines Blockly zu verheiraten :-)
                          Dafür nutze ich diesen Adapter ankersolix2 und den Adapter tibberlink
                          Was ich früher manuell/händisch versucht habe bevor der Anker Adapter steuern konnte war, bei geringem Strompreis und hoher Stromerzeugung primär den Akku zu laden um später wenn der Strompreis hoch läuft diesen wieder ins Hausnetzt einzuspeisen. Das gebastelte Blocky läuft für meine Situation recht gut. Nicht berücksichtigt werden Wetteraussichten oder so, einfach nur der aktuelle Moment für den aktuellen Tag.
                          Der ein oder andere mag es als Vorlage nutzen.

                          Hier noch eine kurze Erklärung welche Datenpunkte benötigt werden:

                          Stromzaehler:AktStrom - tibberlink - tibberlink.0.Homes.XXX.LiveMeasurement.power
                          SolarPower:SolarSumme - ankersolix2 - ankersolix2.0.XXX.solarbank_info.solarbank_list.XXX.photovoltaic_power
                          Stromzaehler:PreisHeuteHoechster - tibberlink - tibberlink.0.Homes.XXX.PricesToday.maximum.total
                          Stromzaehler:PreisHeuteGeringster - tibberlink - tibberlink.0.Homes.XXX.minimum.total
                          StromzählerAktPreis - tibberlink - tibberlink.0.Homes.XXX.CurrentPrice.total
                          SolarPower:BatterieLadung - ankersolix2 - ankersolix2.0.XXX.solarbank_info.solarbank_list.XXX.battery_power
                          StromAbgabeSollwertErrechnet - Userdatenpunkt für ankersolix2 unter STEUERN
                          Also der hier:
                          01 Userdatenpunkt.png
                          Hier das Blockly als Bilder:
                          01 Blockly T01.png
                          01 Blockly T02.png
                          Hier als Code zum importieren:

                          <xml xmlns="https://developers.google.com/blockly/xml">
                            <variables>
                              <variable id="S)?Q9/DlHU.scLN:0;Nr">StromSolarSumme</variable>
                              <variable id="2SX,.OJb~*_IWN8T:D(C">StromFuerNetzALT</variable>
                              <variable id="jIclgY1C0H)/DZUa/1(o">StrompreisDiff_HG</variable>
                              <variable id="/;n%+?^Bo%(R_m:==5kA">Zaehler</variable>
                              <variable id="X2!RJ{O`!TUC}+1Y{*Xa">StrompreisAktuell</variable>
                              <variable id="I3@Ic3t[x|s6oUbD_]:E">StrompreisDiffAktuell</variable>
                              <variable id="-bf#o^2onvnJg3%9EsE)">StromVerbrauchAktuell</variable>
                              <variable id="1q:NEfP.A#Zjdb/r@v;.">StrompreisDiffProzent</variable>
                              <variable id="~,d%PYXpGX.0[%3LW/Xh">BatterieLadung</variable>
                              <variable id="BYezFA/G^RBbnK}Gmo_q">StrompreisDiffProzent_NEG</variable>
                              <variable id=".3a#3rU)Oli?_9F:pfy,">StromFuerNetzPreis</variable>
                              <variable id="[*{z8rcYYfa:Fv_kxZGe">StromFuerNetzBatt</variable>
                              <variable id="BES/[o|.r[`RnV:P@rsR">StromFuerNetz</variable>
                              <variable id="8}u}NRqFOR(RhuI:|mko">StromFuerNetzABS</variable>
                            </variables>
                            <block type="on_ext" id="I@$RR#h9]/`UNN:X.Hv=" x="38" y="-1060">
                              <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=",[lrP^^s:0d!nR_5k(R;">
                                  <field name="oid">alias.0.Keller.Stromzaehler.AktuellerStrom</field>
                                </shadow>
                              </value>
                              <statement name="STATEMENT">
                                <block type="variables_set" id="m[gg^_s(hyroJlJ36dej">
                                  <field name="VAR" id="S)?Q9/DlHU.scLN:0;Nr">StromSolarSumme</field>
                                  <value name="VALUE">
                                    <block type="get_value" id="H=3qpT/qS[:oI)/WGDJ,">
                                      <field name="ATTR">val</field>
                                      <field name="OID">alias.0.Balkon.SolarPower.SolarSumme</field>
                                    </block>
                                  </value>
                                  <next>
                                    <block type="variables_set" id="YL|%xFi2]}?_ZG{{TG/W">
                                      <field name="VAR" id="jIclgY1C0H)/DZUa/1(o">StrompreisDiff_HG</field>
                                      <value name="VALUE">
                                        <block type="math_arithmetic" id="sWKU$u;Idl3kr}47b]U]">
                                          <field name="OP">MINUS</field>
                                          <value name="A">
                                            <shadow type="math_number" id="WsGv]S|@58KtNna3spjh">
                                              <field name="NUM">1</field>
                                            </shadow>
                                            <block type="get_value" id="MCmE)a|XLb9wD^Gv[2{f">
                                              <field name="ATTR">val</field>
                                              <field name="OID">alias.0.Keller.Stromzaehler.PreisHeuteHoechster</field>
                                            </block>
                                          </value>
                                          <value name="B">
                                            <shadow type="math_number" id="E@qn?|zuU-hfa/W}N4wX">
                                              <field name="NUM">1</field>
                                            </shadow>
                                            <block type="get_value" id="{H+SMJjrQd9j9^:UT2(~">
                                              <field name="ATTR">val</field>
                                              <field name="OID">alias.0.Keller.Stromzaehler.PreisHeuteGeringster</field>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                      <next>
                                        <block type="variables_set" id="XLxs|TBmNU9M~!C`]1He">
                                          <field name="VAR" id="X2!RJ{O`!TUC}+1Y{*Xa">StrompreisAktuell</field>
                                          <value name="VALUE">
                                            <block type="get_value" id="1IoS_3pAuH#X0z8|(NL?">
                                              <field name="ATTR">val</field>
                                              <field name="OID">alias.0.Keller.Stromzaehler.AktPreis</field>
                                            </block>
                                          </value>
                                          <next>
                                            <block type="variables_set" id="vW}6,nwyC{j9]CGlq9V]">
                                              <field name="VAR" id="I3@Ic3t[x|s6oUbD_]:E">StrompreisDiffAktuell</field>
                                              <value name="VALUE">
                                                <block type="math_arithmetic" id="T~[sokWR)2dG.2]nI3Tl">
                                                  <field name="OP">MINUS</field>
                                                  <value name="A">
                                                    <shadow type="math_number" id="WsGv]S|@58KtNna3spjh">
                                                      <field name="NUM">1</field>
                                                    </shadow>
                                                    <block type="variables_get" id=";+JGgGA1l)cX^e]mzt:N">
                                                      <field name="VAR" id="X2!RJ{O`!TUC}+1Y{*Xa">StrompreisAktuell</field>
                                                    </block>
                                                  </value>
                                                  <value name="B">
                                                    <shadow type="math_number" id="E@qn?|zuU-hfa/W}N4wX">
                                                      <field name="NUM">1</field>
                                                    </shadow>
                                                    <block type="get_value" id="0=cUm86g:;;apDal20rO">
                                                      <field name="ATTR">val</field>
                                                      <field name="OID">alias.0.Keller.Stromzaehler.PreisHeuteGeringster</field>
                                                    </block>
                                                  </value>
                                                </block>
                                              </value>
                                              <next>
                                                <block type="variables_set" id="P#c6W]Ms3G[y4Q!fODaz">
                                                  <field name="VAR" id="-bf#o^2onvnJg3%9EsE)">StromVerbrauchAktuell</field>
                                                  <value name="VALUE">
                                                    <block type="get_value" id="M1xh8[2f4e9r%[:lZbP`">
                                                      <field name="ATTR">val</field>
                                                      <field name="OID">0_userdata.0.Keller.StromSummeNetzSolar</field>
                                                    </block>
                                                  </value>
                                                  <next>
                                                    <block type="controls_if" id="a3.Jc4s;ueU0/tu}T_C{">
                                                      <mutation else="1"></mutation>
                                                      <value name="IF0">
                                                        <block type="logic_compare" id="tnoga){oieQMHh$7[Bwj">
                                                          <field name="OP">GT</field>
                                                          <value name="A">
                                                            <block type="variables_get" id="Ab~`L/Ost(J:g~1s[/3N">
                                                              <field name="VAR" id="I3@Ic3t[x|s6oUbD_]:E">StrompreisDiffAktuell</field>
                                                            </block>
                                                          </value>
                                                          <value name="B">
                                                            <block type="math_number" id="_38|p#/9+=eaLrzc/4[/">
                                                              <field name="NUM">0</field>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </value>
                                                      <statement name="DO0">
                                                        <block type="variables_set" id="S#.aj}%J8r,YK;C*4U!j">
                                                          <field name="VAR" id="1q:NEfP.A#Zjdb/r@v;.">StrompreisDiffProzent</field>
                                                          <value name="VALUE">
                                                            <block type="math_round" id="I)tznk[@(Io5;7/XWj,B">
                                                              <field name="OP">ROUND</field>
                                                              <value name="NUM">
                                                                <shadow type="math_number" id=",qOFAI*yN?XRL^DH6Bez">
                                                                  <field name="NUM">3.1</field>
                                                                </shadow>
                                                                <block type="math_arithmetic" id="eg_?-*|]x2X/INC(?4bl">
                                                                  <field name="OP">DIVIDE</field>
                                                                  <value name="A">
                                                                    <shadow type="math_number" id="@zTs}%#zBc(mrD@{;%x5">
                                                                      <field name="NUM">1</field>
                                                                    </shadow>
                                                                    <block type="math_arithmetic" id="zir=1,v8+s-u?S@JEy3u">
                                                                      <field name="OP">MULTIPLY</field>
                                                                      <value name="A">
                                                                        <shadow type="math_number" id="W3H`([^b.H?@X8^h[#fw">
                                                                          <field name="NUM">1</field>
                                                                        </shadow>
                                                                        <block type="variables_get" id="Am~Yd^;k33yE3mi_05Mp">
                                                                          <field name="VAR" id="I3@Ic3t[x|s6oUbD_]:E">StrompreisDiffAktuell</field>
                                                                        </block>
                                                                      </value>
                                                                      <value name="B">
                                                                        <shadow type="math_number" id="Ua=i4(9QV:^?s;(ogUvd">
                                                                          <field name="NUM">100</field>
                                                                        </shadow>
                                                                      </value>
                                                                    </block>
                                                                  </value>
                                                                  <value name="B">
                                                                    <shadow type="math_number" id="EAB/Z8{B_g0Gw)QmeRj/">
                                                                      <field name="NUM">1</field>
                                                                    </shadow>
                                                                    <block type="variables_get" id="0=zJZ|!NMU}]?K$YU]53">
                                                                      <field name="VAR" id="jIclgY1C0H)/DZUa/1(o">StrompreisDiff_HG</field>
                                                                    </block>
                                                                  </value>
                                                                </block>
                                                              </value>
                                                            </block>
                                                          </value>
                                                          <next>
                                                            <block type="variables_set" id="2H+#xA]S@Wnum6r|Sq6P">
                                                              <field name="VAR" id="BYezFA/G^RBbnK}Gmo_q">StrompreisDiffProzent_NEG</field>
                                                              <value name="VALUE">
                                                                <block type="math_arithmetic" id="=DLZK]%qC/WsO#9]YSf)">
                                                                  <field name="OP">MINUS</field>
                                                                  <value name="A">
                                                                    <shadow type="math_number" id="r)eg]s1x+.;9.hBrA~}A">
                                                                      <field name="NUM">100</field>
                                                                    </shadow>
                                                                  </value>
                                                                  <value name="B">
                                                                    <shadow type="math_number" id="Zvj`JepiPEzk)?tA2!n_">
                                                                      <field name="NUM">1</field>
                                                                    </shadow>
                                                                    <block type="variables_get" id="2Y~nm);@-Vxn5VzgE7i!">
                                                                      <field name="VAR" id="1q:NEfP.A#Zjdb/r@v;.">StrompreisDiffProzent</field>
                                                                    </block>
                                                                  </value>
                                                                </block>
                                                              </value>
                                                            </block>
                                                          </next>
                                                        </block>
                                                      </statement>
                                                      <statement name="ELSE">
                                                        <block type="variables_set" id="_dZuQM9I}7l([[UsQRJY">
                                                          <field name="VAR" id="1q:NEfP.A#Zjdb/r@v;.">StrompreisDiffProzent</field>
                                                          <value name="VALUE">
                                                            <block type="math_number" id="]V@tXPH_izKthdaZKsJV">
                                                              <field name="NUM">0</field>
                                                            </block>
                                                          </value>
                                                          <next>
                                                            <block type="variables_set" id="m97f_:D4Mu|!tNfzsp]/">
                                                              <field name="VAR" id="BYezFA/G^RBbnK}Gmo_q">StrompreisDiffProzent_NEG</field>
                                                              <value name="VALUE">
                                                                <block type="math_number" id="Gj#@tV?qr-~IG+/eJ_h!">
                                                                  <field name="NUM">100</field>
                                                                </block>
                                                              </value>
                                                            </block>
                                                          </next>
                                                        </block>
                                                      </statement>
                                                      <next>
                                                        <block type="variables_set" id="l:X*XjRs:Z9*[|hKIil.">
                                                          <field name="VAR" id="~,d%PYXpGX.0[%3LW/Xh">BatterieLadung</field>
                                                          <value name="VALUE">
                                                            <block type="get_value" id="?T_e/ZT;OH0n1*1/|+08">
                                                              <field name="ATTR">val</field>
                                                              <field name="OID">alias.0.Balkon.SolarPower.BatterieLadung</field>
                                                            </block>
                                                          </value>
                                                          <next>
                                                            <block type="controls_if" id="$TD-;$6moK6swtdnZ7Sn">
                                                              <mutation elseif="1" else="1"></mutation>
                                                              <value name="IF0">
                                                                <block type="logic_compare" id="qVJ~Tis?xH}8@E2LZDR%">
                                                                  <field name="OP">GT</field>
                                                                  <value name="A">
                                                                    <block type="variables_get" id="OIvER{ZSA%h]U#m,M:wb">
                                                                      <field name="VAR" id="1q:NEfP.A#Zjdb/r@v;.">StrompreisDiffProzent</field>
                                                                    </block>
                                                                  </value>
                                                                  <value name="B">
                                                                    <block type="math_number" id="f{]C,]0snmF$KGx:18:W">
                                                                      <field name="NUM">90</field>
                                                                    </block>
                                                                  </value>
                                                                </block>
                                                              </value>
                                                              <statement name="DO0">
                                                                <block type="variables_set" id="gQso0?gcsLwfO6CcW!HC">
                                                                  <field name="VAR" id=".3a#3rU)Oli?_9F:pfy,">StromFuerNetzPreis</field>
                                                                  <value name="VALUE">
                                                                    <block type="math_round" id="f!%UjaN;`C{ac+Jq{E0B">
                                                                      <field name="OP">ROUND</field>
                                                                      <value name="NUM">
                                                                        <shadow type="math_number" id="eCiFf~*v.m.8]8;kgcAh">
                                                                          <field name="NUM">3.1</field>
                                                                        </shadow>
                                                                        <block type="math_arithmetic" id="H/;w@~BMp|{4Yem:{rxW">
                                                                          <field name="OP">DIVIDE</field>
                                                                          <value name="A">
                                                                            <shadow type="math_number" id="acmM4^wg|[6tk,bl7%}(">
                                                                              <field name="NUM">1</field>
                                                                            </shadow>
                                                                            <block type="math_arithmetic" id="B`Wlag+s8)RNLVPULL)t">
                                                                              <field name="OP">MULTIPLY</field>
                                                                              <value name="A">
                                                                                <shadow type="math_number" id="jtN|Pby!ClU*xNSf/n[O">
                                                                                  <field name="NUM">90</field>
                                                                                </shadow>
                                                                                <block type="variables_get" id="x@`,u_w*{.8K.lVKGxo-">
                                                                                  <field name="VAR" id="-bf#o^2onvnJg3%9EsE)">StromVerbrauchAktuell</field>
                                                                                </block>
                                                                              </value>
                                                                              <value name="B">
                                                                                <shadow type="math_number" id="P5lA|ojr10/UQRI!h)(D">
                                                                                  <field name="NUM">1</field>
                                                                                </shadow>
                                                                                <block type="math_number" id="zkgi;ao/^U22_dYg)l!M">
                                                                                  <field name="NUM">90</field>
                                                                                </block>
                                                                              </value>
                                                                            </block>
                                                                          </value>
                                                                          <value name="B">
                                                                            <shadow type="math_number" id="{iN-=P$N*S,W%Vw0+VJ3">
                                                                              <field name="NUM">100</field>
                                                                            </shadow>
                                                                          </value>
                                                                        </block>
                                                                      </value>
                                                                    </block>
                                                                  </value>
                                                                </block>
                                                              </statement>
                                                              <value name="IF1">
                                                                <block type="logic_compare" id="wZ!8SoW]6J5hDIW|Be%r">
                                                                  <field name="OP">GT</field>
                                                                  <value name="A">
                                                                    <block type="variables_get" id="/r-*~YIl(t5piOi=P*+j">
                                                                      <field name="VAR" id="1q:NEfP.A#Zjdb/r@v;.">StrompreisDiffProzent</field>
                                                                    </block>
                                                                  </value>
                                                                  <value name="B">
                                                                    <block type="math_number" id="@f[;6iB([J[a/WThwnx3">
                                                                      <field name="NUM">0</field>
                                                                    </block>
                                                                  </value>
                                                                </block>
                                                              </value>
                                                              <statement name="DO1">
                                                                <block type="variables_set" id="2rgz_yZjXDLF!@JBoVr(">
                                                                  <field name="VAR" id=".3a#3rU)Oli?_9F:pfy,">StromFuerNetzPreis</field>
                                                                  <value name="VALUE">
                                                                    <block type="math_round" id="0L`|SI+^G8X,-iDpr|PC">
                                                                      <field name="OP">ROUND</field>
                                                                      <value name="NUM">
                                                                        <shadow type="math_number" id="eCiFf~*v.m.8]8;kgcAh">
                                                                          <field name="NUM">3.1</field>
                                                                        </shadow>
                                                                        <block type="math_arithmetic" id="T)E##c%f(/:3i+5%M96(">
                                                                          <field name="OP">DIVIDE</field>
                                                                          <value name="A">
                                                                            <shadow type="math_number" id="acmM4^wg|[6tk,bl7%}(">
                                                                              <field name="NUM">1</field>
                                                                            </shadow>
                                                                            <block type="math_arithmetic" id="oQeC`LSY(d1#.S?yOGo~">
                                                                              <field name="OP">MULTIPLY</field>
                                                                              <value name="A">
                                                                                <shadow type="math_number" id="jtN|Pby!ClU*xNSf/n[O">
                                                                                  <field name="NUM">90</field>
                                                                                </shadow>
                                                                                <block type="variables_get" id="o%lAPznS2jlGj8m*ec[p">
                                                                                  <field name="VAR" id="-bf#o^2onvnJg3%9EsE)">StromVerbrauchAktuell</field>
                                                                                </block>
                                                                              </value>
                                                                              <value name="B">
                                                                                <shadow type="math_number" id="P5lA|ojr10/UQRI!h)(D">
                                                                                  <field name="NUM">1</field>
                                                                                </shadow>
                                                                                <block type="variables_get" id="IPXeyuj%e31:3ay!~L^c">
                                                                                  <field name="VAR" id="1q:NEfP.A#Zjdb/r@v;.">StrompreisDiffProzent</field>
                                                                                </block>
                                                                              </value>
                                                                            </block>
                                                                          </value>
                                                                          <value name="B">
                                                                            <shadow type="math_number" id="k2BTt^%fFdx4ngcfA4-F">
                                                                              <field name="NUM">100</field>
                                                                            </shadow>
                                                                          </value>
                                                                        </block>
                                                                      </value>
                                                                    </block>
                                                                  </value>
                                                                </block>
                                                              </statement>
                                                              <statement name="ELSE">
                                                                <block type="variables_set" id="AL-hqhjk4/8K74aWkA+p">
                                                                  <field name="VAR" id=".3a#3rU)Oli?_9F:pfy,">StromFuerNetzPreis</field>
                                                                  <value name="VALUE">
                                                                    <block type="math_number" id="R{)q[|!N{EW2yw%?OE1i">
                                                                      <field name="NUM">0</field>
                                                                    </block>
                                                                  </value>
                                                                </block>
                                                              </statement>
                                                              <next>
                                                                <block type="controls_if" id="js$gTOy!BPz/4X|!Q=nL">
                                                                  <mutation else="1"></mutation>
                                                                  <value name="IF0">
                                                                    <block type="logic_compare" id="ss4bR)wmbc9l3g*8Okpa">
                                                                      <field name="OP">GT</field>
                                                                      <value name="A">
                                                                        <block type="variables_get" id="BBn-_HZ!c^5gE$i(%V9r">
                                                                          <field name="VAR" id="S)?Q9/DlHU.scLN:0;Nr">StromSolarSumme</field>
                                                                        </block>
                                                                      </value>
                                                                      <value name="B">
                                                                        <block type="math_number" id="8)U3Sy}v,QCr3oT3AKmp">
                                                                          <field name="NUM">0</field>
                                                                        </block>
                                                                      </value>
                                                                    </block>
                                                                  </value>
                                                                  <statement name="DO0">
                                                                    <block type="controls_if" id="E:JQbo-*6n4{X*2vkM+`">
                                                                      <mutation else="1"></mutation>
                                                                      <value name="IF0">
                                                                        <block type="logic_compare" id="+NZAC)M:OkdhpB4+)1oO">
                                                                          <field name="OP">LT</field>
                                                                          <value name="A">
                                                                            <block type="variables_get" id="E92bqX~un0o/H1.Q/Sj-">
                                                                              <field name="VAR" id="~,d%PYXpGX.0[%3LW/Xh">BatterieLadung</field>
                                                                            </block>
                                                                          </value>
                                                                          <value name="B">
                                                                            <block type="math_number" id="K-Xq056LezC1+3j=BG-/">
                                                                              <field name="NUM">80</field>
                                                                            </block>
                                                                          </value>
                                                                        </block>
                                                                      </value>
                                                                      <statement name="DO0">
                                                                        <block type="variables_set" id=")4IgYYc1T@PW![)B!TxK">
                                                                          <field name="VAR" id="[*{z8rcYYfa:Fv_kxZGe">StromFuerNetzBatt</field>
                                                                          <value name="VALUE">
                                                                            <block type="math_round" id="ib{$6Z;f9lv-rJN^3!2?">
                                                                              <field name="OP">ROUND</field>
                                                                              <value name="NUM">
                                                                                <shadow type="math_number" id="eCiFf~*v.m.8]8;kgcAh">
                                                                                  <field name="NUM">3.1</field>
                                                                                </shadow>
                                                                                <block type="math_arithmetic" id="vrqsG2:uH-~}9HCCtnb$">
                                                                                  <field name="OP">DIVIDE</field>
                                                                                  <value name="A">
                                                                                    <shadow type="math_number" id="acmM4^wg|[6tk,bl7%}(">
                                                                                      <field name="NUM">1</field>
                                                                                    </shadow>
                                                                                    <block type="math_arithmetic" id="hoWc67zbHH1qvsAMl.yQ">
                                                                                      <field name="OP">MULTIPLY</field>
                                                                                      <value name="A">
                                                                                        <shadow type="math_number" id="Ex::s|Iu#A)_J1u`CeF=">
                                                                                          <field name="NUM">1</field>
                                                                                        </shadow>
                                                                                        <block type="variables_get" id="Z6Y%;P2Gy;@9/gccpS!V">
                                                                                          <field name="VAR" id="S)?Q9/DlHU.scLN:0;Nr">StromSolarSumme</field>
                                                                                        </block>
                                                                                      </value>
                                                                                      <value name="B">
                                                                                        <shadow type="math_number" id="P5lA|ojr10/UQRI!h)(D">
                                                                                          <field name="NUM">1</field>
                                                                                        </shadow>
                                                                                        <block type="variables_get" id="*W%3j;eF+cfyfY%.~J]F">
                                                                                          <field name="VAR" id="~,d%PYXpGX.0[%3LW/Xh">BatterieLadung</field>
                                                                                        </block>
                                                                                      </value>
                                                                                    </block>
                                                                                  </value>
                                                                                  <value name="B">
                                                                                    <shadow type="math_number" id="cXfVu}Pgz{.yHtUcvymp">
                                                                                      <field name="NUM">100</field>
                                                                                    </shadow>
                                                                                  </value>
                                                                                </block>
                                                                              </value>
                                                                            </block>
                                                                          </value>
                                                                        </block>
                                                                      </statement>
                                                                      <statement name="ELSE">
                                                                        <block type="variables_set" id="Y,{1WInFoyn`}J_]-[No">
                                                                          <field name="VAR" id="[*{z8rcYYfa:Fv_kxZGe">StromFuerNetzBatt</field>
                                                                          <value name="VALUE">
                                                                            <block type="math_round" id="{e,#oVk/!Ukzb#JWpZxZ">
                                                                              <field name="OP">ROUND</field>
                                                                              <value name="NUM">
                                                                                <shadow type="math_number" id="eCiFf~*v.m.8]8;kgcAh">
                                                                                  <field name="NUM">3.1</field>
                                                                                </shadow>
                                                                                <block type="math_arithmetic" id="z}VB^Do,8o1aV@EVu4;e">
                                                                                  <field name="OP">DIVIDE</field>
                                                                                  <value name="A">
                                                                                    <shadow type="math_number" id="acmM4^wg|[6tk,bl7%}(">
                                                                                      <field name="NUM">1</field>
                                                                                    </shadow>
                                                                                    <block type="math_arithmetic" id="B@0^=JULFJ.9Pz*/?/Yn">
                                                                                      <field name="OP">MULTIPLY</field>
                                                                                      <value name="A">
                                                                                        <shadow type="math_number" id="m3)K5ixWnl?h94hp@GzK">
                                                                                          <field name="NUM">80</field>
                                                                                        </shadow>
                                                                                      </value>
                                                                                      <value name="B">
                                                                                        <shadow type="math_number" id="P5lA|ojr10/UQRI!h)(D">
                                                                                          <field name="NUM">1</field>
                                                                                        </shadow>
                                                                                        <block type="variables_get" id="rx|U@fG;6Id%u4UgY4Q3">
                                                                                          <field name="VAR" id="S)?Q9/DlHU.scLN:0;Nr">StromSolarSumme</field>
                                                                                        </block>
                                                                                      </value>
                                                                                    </block>
                                                                                  </value>
                                                                                  <value name="B">
                                                                                    <shadow type="math_number" id="Txml(}Oeo7CN]F-L7x7=">
                                                                                      <field name="NUM">100</field>
                                                                                    </shadow>
                                                                                  </value>
                                                                                </block>
                                                                              </value>
                                                                            </block>
                                                                          </value>
                                                                        </block>
                                                                      </statement>
                                                                      <next>
                                                                        <block type="variables_set" id="|/JY$_G$Y-!yf!M~qXbw">
                                                                          <field name="VAR" id="BES/[o|.r[`RnV:P@rsR">StromFuerNetz</field>
                                                                          <value name="VALUE">
                                                                            <block type="math_round" id="aL:~u{`xil4c*]J5_H?1">
                                                                              <field name="OP">ROUND</field>
                                                                              <value name="NUM">
                                                                                <shadow type="math_number" id="Upk8-YcQbASI0=0MBVft">
                                                                                  <field name="NUM">3.1</field>
                                                                                </shadow>
                                                                                <block type="math_arithmetic" id="v;kJ0Ve6Kndsc6]c77|F">
                                                                                  <field name="OP">DIVIDE</field>
                                                                                  <value name="A">
                                                                                    <shadow type="math_number" id="M7ijTT|m[l(L35Cv=88-">
                                                                                      <field name="NUM">1</field>
                                                                                    </shadow>
                                                                                    <block type="math_arithmetic" id=")^9yajaw8}:8=AB)_^ja">
                                                                                      <field name="OP">ADD</field>
                                                                                      <value name="A">
                                                                                        <shadow type="math_number" id="WBjluk{EnQ*:~m5Y[.Lv">
                                                                                          <field name="NUM">1</field>
                                                                                        </shadow>
                                                                                        <block type="variables_get" id="K]`3v~{|g3Vfe.=;Jx#Z">
                                                                                          <field name="VAR" id="[*{z8rcYYfa:Fv_kxZGe">StromFuerNetzBatt</field>
                                                                                        </block>
                                                                                      </value>
                                                                                      <value name="B">
                                                                                        <shadow type="math_number" id="SnUre0Z)-:)?!uPaW~Y;">
                                                                                          <field name="NUM">1</field>
                                                                                        </shadow>
                                                                                        <block type="math_arithmetic" id="7UN*v[D_Mw;$RO8FA}qs">
                                                                                          <field name="OP">MULTIPLY</field>
                                                                                          <value name="A">
                                                                                            <shadow type="math_number" id="D6nP8!8v,w.xh3[2#J?q">
                                                                                              <field name="NUM">1</field>
                                                                                            </shadow>
                                                                                            <block type="variables_get" id="6V8IO2:uUR2/=OpGD9/?">
                                                                                              <field name="VAR" id=".3a#3rU)Oli?_9F:pfy,">StromFuerNetzPreis</field>
                                                                                            </block>
                                                                                          </value>
                                                                                          <value name="B">
                                                                                            <shadow type="math_number" id="zDRImn9`{:XUCZj1!Cmd">
                                                                                              <field name="NUM">2</field>
                                                                                            </shadow>
                                                                                          </value>
                                                                                        </block>
                                                                                      </value>
                                                                                    </block>
                                                                                  </value>
                                                                                  <value name="B">
                                                                                    <shadow type="math_number" id="f|scGG5R=*8RA.$#OR8N">
                                                                                      <field name="NUM">2</field>
                                                                                    </shadow>
                                                                                  </value>
                                                                                </block>
                                                                              </value>
                                                                            </block>
                                                                          </value>
                                                                        </block>
                                                                      </next>
                                                                    </block>
                                                                  </statement>
                                                                  <statement name="ELSE">
                                                                    <block type="variables_set" id="Z2.R:llj`(!v$R~5,Yu:">
                                                                      <field name="VAR" id="[*{z8rcYYfa:Fv_kxZGe">StromFuerNetzBatt</field>
                                                                      <value name="VALUE">
                                                                        <block type="math_number" id=":Bf_a_77[=^AUfzGCK0s">
                                                                          <field name="NUM">0</field>
                                                                        </block>
                                                                      </value>
                                                                      <next>
                                                                        <block type="variables_set" id="qh%9A3}^h5?5;@G`}@~b">
                                                                          <field name="VAR" id="BES/[o|.r[`RnV:P@rsR">StromFuerNetz</field>
                                                                          <value name="VALUE">
                                                                            <block type="variables_get" id="yBDI@m?TiF3q*Q%Q:VtM">
                                                                              <field name="VAR" id=".3a#3rU)Oli?_9F:pfy,">StromFuerNetzPreis</field>
                                                                            </block>
                                                                          </value>
                                                                        </block>
                                                                      </next>
                                                                    </block>
                                                                  </statement>
                                                                  <next>
                                                                    <block type="controls_if" id="/M}[)@yeksxef/0?suiH">
                                                                      <value name="IF0">
                                                                        <block type="logic_compare" id="Qacuf@kU)cxIIi{J)I!N">
                                                                          <field name="OP">GT</field>
                                                                          <value name="A">
                                                                            <block type="variables_get" id="]+x;3jnE,L5Iakg=cQAz">
                                                                              <field name="VAR" id="BES/[o|.r[`RnV:P@rsR">StromFuerNetz</field>
                                                                            </block>
                                                                          </value>
                                                                          <value name="B">
                                                                            <block type="variables_get" id=".gMwlBk5qUM*s,T6;D3`">
                                                                              <field name="VAR" id="-bf#o^2onvnJg3%9EsE)">StromVerbrauchAktuell</field>
                                                                            </block>
                                                                          </value>
                                                                        </block>
                                                                      </value>
                                                                      <statement name="DO0">
                                                                        <block type="variables_set" id="R%XxuW/#|i14Wi/h6H4C">
                                                                          <field name="VAR" id="BES/[o|.r[`RnV:P@rsR">StromFuerNetz</field>
                                                                          <value name="VALUE">
                                                                            <block type="math_round" id="Z[f3i:JD@zf1!-.36:sd">
                                                                              <field name="OP">ROUND</field>
                                                                              <value name="NUM">
                                                                                <shadow type="math_number" id="}^Gf,n:$7n5Em;s/A{bz">
                                                                                  <field name="NUM">3.1</field>
                                                                                </shadow>
                                                                                <block type="math_arithmetic" id="YM^5_e{ywombwLm;gpW@">
                                                                                  <field name="OP">DIVIDE</field>
                                                                                  <value name="A">
                                                                                    <shadow type="math_number" id="j1b8d,`2B/@voO=Yp.~e">
                                                                                      <field name="NUM">1</field>
                                                                                    </shadow>
                                                                                    <block type="math_arithmetic" id="p.)=d:J0V=}m~g:omK$e">
                                                                                      <field name="OP">MULTIPLY</field>
                                                                                      <value name="A">
                                                                                        <shadow type="math_number" id=".M|T44[.-.Y!Cz)q%zvK">
                                                                                          <field name="NUM">1</field>
                                                                                        </shadow>
                                                                                        <block type="variables_get" id="ZFuV=zG#)UQf34/o?o@s">
                                                                                          <field name="VAR" id="-bf#o^2onvnJg3%9EsE)">StromVerbrauchAktuell</field>
                                                                                        </block>
                                                                                      </value>
                                                                                      <value name="B">
                                                                                        <shadow type="math_number" id="p-O)W/V]$uB@#`Z6foD+">
                                                                                          <field name="NUM">90</field>
                                                                                        </shadow>
                                                                                      </value>
                                                                                    </block>
                                                                                  </value>
                                                                                  <value name="B">
                                                                                    <shadow type="math_number" id="m!qLf$QaBQnP(jE4FVn-">
                                                                                      <field name="NUM">100</field>
                                                                                    </shadow>
                                                                                  </value>
                                                                                </block>
                                                                              </value>
                                                                            </block>
                                                                          </value>
                                                                        </block>
                                                                      </statement>
                                                                      <next>
                                                                        <block type="controls_if" id="1Gfj/+i6/5M`63#7JXPM">
                                                                          <value name="IF0">
                                                                            <block type="logic_compare" id="-p.R?gKmkrhW:/fRm33f">
                                                                              <field name="OP">GT</field>
                                                                              <value name="A">
                                                                                <block type="variables_get" id="Wv[G(edealf?L#EOwjkZ">
                                                                                  <field name="VAR" id="BES/[o|.r[`RnV:P@rsR">StromFuerNetz</field>
                                                                                </block>
                                                                              </value>
                                                                              <value name="B">
                                                                                <block type="math_number" id="~[AZPNjMJ7r8/bzZ2~F.">
                                                                                  <field name="NUM">800</field>
                                                                                </block>
                                                                              </value>
                                                                            </block>
                                                                          </value>
                                                                          <statement name="DO0">
                                                                            <block type="variables_set" id="JyZ$.G@#L=nIg@8cdC5G">
                                                                              <field name="VAR" id="BES/[o|.r[`RnV:P@rsR">StromFuerNetz</field>
                                                                              <value name="VALUE">
                                                                                <block type="math_number" id="U9H9x(#xq`_o85fO6LVG">
                                                                                  <field name="NUM">800</field>
                                                                                </block>
                                                                              </value>
                                                                            </block>
                                                                          </statement>
                                                                          <next>
                                                                            <block type="variables_set" id=":jj;r*p,fiTe!K_+)kc;">
                                                                              <field name="VAR" id="BES/[o|.r[`RnV:P@rsR">StromFuerNetz</field>
                                                                              <value name="VALUE">
                                                                                <block type="math_arithmetic" id="9*~%]`LW%wrHodV}3-Fj">
                                                                                  <field name="OP">MULTIPLY</field>
                                                                                  <value name="A">
                                                                                    <shadow type="math_number" id="!6e0r,Np~H+XQy!#n}^s">
                                                                                      <field name="NUM">1</field>
                                                                                    </shadow>
                                                                                    <block type="math_round" id="QZ)`dy$:eYdQUB4~^szq">
                                                                                      <field name="OP">ROUND</field>
                                                                                      <value name="NUM">
                                                                                        <shadow type="math_number" id="}LhK*Zq717M~e0G!S21T">
                                                                                          <field name="NUM">3.1</field>
                                                                                        </shadow>
                                                                                        <block type="math_arithmetic" id="Eo2I[s*[S*$]GOSK,@@[">
                                                                                          <field name="OP">DIVIDE</field>
                                                                                          <value name="A">
                                                                                            <shadow type="math_number" id="!6e0r,Np~H+XQy!#n}^s">
                                                                                              <field name="NUM">1</field>
                                                                                            </shadow>
                                                                                            <block type="variables_get" id="o0Ikwupu/|7ka|g^ECAV">
                                                                                              <field name="VAR" id="BES/[o|.r[`RnV:P@rsR">StromFuerNetz</field>
                                                                                            </block>
                                                                                          </value>
                                                                                          <value name="B">
                                                                                            <shadow type="math_number" id="#iGCKROP[F?2}YE$l9#u">
                                                                                              <field name="NUM">10</field>
                                                                                            </shadow>
                                                                                          </value>
                                                                                        </block>
                                                                                      </value>
                                                                                    </block>
                                                                                  </value>
                                                                                  <value name="B">
                                                                                    <shadow type="math_number" id="zmCl!F[Fmq4=[G_`!bI#">
                                                                                      <field name="NUM">10</field>
                                                                                    </shadow>
                                                                                  </value>
                                                                                </block>
                                                                              </value>
                                                                              <next>
                                                                                <block type="variables_set" id="P/geR+XyRZ6SMqb[ZnJ3">
                                                                                  <field name="VAR" id="8}u}NRqFOR(RhuI:|mko">StromFuerNetzABS</field>
                                                                                  <value name="VALUE">
                                                                                    <block type="math_single" id="S4fmzk-`NFH[}X!apGky">
                                                                                      <field name="OP">ABS</field>
                                                                                      <value name="NUM">
                                                                                        <shadow type="math_number" id="2Ttl]A{}(Rk4pRST%W9[">
                                                                                          <field name="NUM">9</field>
                                                                                        </shadow>
                                                                                        <block type="math_arithmetic" id="FNe]uV1de;I8T{gYy(gI">
                                                                                          <field name="OP">MINUS</field>
                                                                                          <value name="A">
                                                                                            <shadow type="math_number" id="B6;6Wic^F(:_0g@dBXyK">
                                                                                              <field name="NUM">1</field>
                                                                                            </shadow>
                                                                                            <block type="variables_get" id="}qaM[zMjZVF?Bc%Q~E8,">
                                                                                              <field name="VAR" id="BES/[o|.r[`RnV:P@rsR">StromFuerNetz</field>
                                                                                            </block>
                                                                                          </value>
                                                                                          <value name="B">
                                                                                            <shadow type="math_number" id=":.~p@koEVpye*l?1i%/9">
                                                                                              <field name="NUM">1</field>
                                                                                            </shadow>
                                                                                            <block type="variables_get" id="%,h(XyXT{3g*-3wu5yvw">
                                                                                              <field name="VAR" id="2SX,.OJb~*_IWN8T:D(C">StromFuerNetzALT</field>
                                                                                            </block>
                                                                                          </value>
                                                                                        </block>
                                                                                      </value>
                                                                                    </block>
                                                                                  </value>
                                                                                  <next>
                                                                                    <block type="math_change" id="X1@e=N3fUQc[4B0{3jvw">
                                                                                      <field name="VAR" id="/;n%+?^Bo%(R_m:==5kA">Zaehler</field>
                                                                                      <value name="DELTA">
                                                                                        <shadow type="math_number" id="hfM^9e9$oZ^9:W]jtzP;">
                                                                                          <field name="NUM">1</field>
                                                                                        </shadow>
                                                                                      </value>
                                                                                      <next>
                                                                                        <block type="controls_if" id="/4@,7ITq|fkG(r^:e^[N">
                                                                                          <value name="IF0">
                                                                                            <block type="logic_multi_or" id="/`rr:nZB~9f7OOSmSU2/">
                                                                                              <mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation>
                                                                                              <value name="OR0">
                                                                                                <block type="logic_multi_and" id="Y$^|8rbdkmRR4idlE~#-">
                                                                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation>
                                                                                                  <value name="AND0">
                                                                                                    <block type="logic_compare" id="r@qv*ua)##@+0_k31?$-">
                                                                                                      <field name="OP">GT</field>
                                                                                                      <value name="A">
                                                                                                        <block type="variables_get" id="LC)oTT,P*6J9R].ky*Xq">
                                                                                                          <field name="VAR" id="8}u}NRqFOR(RhuI:|mko">StromFuerNetzABS</field>
                                                                                                        </block>
                                                                                                      </value>
                                                                                                      <value name="B">
                                                                                                        <block type="math_number" id="[gb|7e@$td/QohUzKGjR">
                                                                                                          <field name="NUM">50</field>
                                                                                                        </block>
                                                                                                      </value>
                                                                                                    </block>
                                                                                                  </value>
                                                                                                  <value name="AND1">
                                                                                                    <block type="logic_compare" id="0b?L$+BF9L+iMF2`gF(z">
                                                                                                      <field name="OP">GT</field>
                                                                                                      <value name="A">
                                                                                                        <block type="variables_get" id="xDMZiMIToxRr#-#hzNs9">
                                                                                                          <field name="VAR" id="/;n%+?^Bo%(R_m:==5kA">Zaehler</field>
                                                                                                        </block>
                                                                                                      </value>
                                                                                                      <value name="B">
                                                                                                        <block type="math_number" id="LjrW7!n%.jThr}JxkaLZ">
                                                                                                          <field name="NUM">5</field>
                                                                                                        </block>
                                                                                                      </value>
                                                                                                    </block>
                                                                                                  </value>
                                                                                                </block>
                                                                                              </value>
                                                                                              <value name="OR1">
                                                                                                <block type="logic_compare" id="q+CshyocS8VlFICJ]]HW">
                                                                                                  <field name="OP">GT</field>
                                                                                                  <value name="A">
                                                                                                    <block type="variables_get" id="viAXd8;r{[,lu*87JJ8C">
                                                                                                      <field name="VAR" id="/;n%+?^Bo%(R_m:==5kA">Zaehler</field>
                                                                                                    </block>
                                                                                                  </value>
                                                                                                  <value name="B">
                                                                                                    <block type="math_number" id="z`~93~GlKG?Rm~OMq)cF">
                                                                                                      <field name="NUM">15</field>
                                                                                                    </block>
                                                                                                  </value>
                                                                                                </block>
                                                                                              </value>
                                                                                            </block>
                                                                                          </value>
                                                                                          <statement name="DO0">
                                                                                            <block type="control" id="mA9mt]58dups%39iHJE,">
                                                                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                              <field name="OID">0_userdata.0.Keller.StromAbgabeSollwertErrechnet</field>
                                                                                              <field name="WITH_DELAY">FALSE</field>
                                                                                              <value name="VALUE">
                                                                                                <block type="variables_get" id="ag:LNe-3s^cFYadPS`2G">
                                                                                                  <field name="VAR" id="BES/[o|.r[`RnV:P@rsR">StromFuerNetz</field>
                                                                                                </block>
                                                                                              </value>
                                                                                              <next>
                                                                                                <block type="variables_set" id="xjaB?4bxepDDa}^zB$u3">
                                                                                                  <field name="VAR" id="2SX,.OJb~*_IWN8T:D(C">StromFuerNetzALT</field>
                                                                                                  <value name="VALUE">
                                                                                                    <block type="variables_get" id="5UJVQukqzfb{q~5`;h?U">
                                                                                                      <field name="VAR" id="BES/[o|.r[`RnV:P@rsR">StromFuerNetz</field>
                                                                                                    </block>
                                                                                                  </value>
                                                                                                  <next>
                                                                                                    <block type="variables_set" id="$5v`d+87BYssP{GDwM%o">
                                                                                                      <field name="VAR" id="/;n%+?^Bo%(R_m:==5kA">Zaehler</field>
                                                                                                      <value name="VALUE">
                                                                                                        <block type="math_number" id="2B}7KIf0.(.o1jq1r`BB">
                                                                                                          <field name="NUM">0</field>
                                                                                                        </block>
                                                                                                      </value>
                                                                                                    </block>
                                                                                                  </next>
                                                                                                </block>
                                                                                              </next>
                                                                                            </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>
                              </statement>
                              <next>
                                <block type="variables_set" id="7b)48muFc5ce68$#lyD]">
                                  <field name="VAR" id="2SX,.OJb~*_IWN8T:D(C">StromFuerNetzALT</field>
                                  <value name="VALUE">
                                    <block type="math_number" id="_GQT_Gg+X?+Log13qZB9">
                                      <field name="NUM">0</field>
                                    </block>
                                  </value>
                                  <next>
                                    <block type="variables_set" id="Oiibk!gqJAZd[o1`Xbq7">
                                      <field name="VAR" id="/;n%+?^Bo%(R_m:==5kA">Zaehler</field>
                                      <value name="VALUE">
                                        <block type="math_number" id="-6M}.ZLDwUB*hl=OPUxg">
                                          <field name="NUM">0</field>
                                        </block>
                                      </value>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </xml>
                          
                          CinimodC Offline
                          CinimodC Offline
                          Cinimod
                          Most Active
                          schrieb am zuletzt editiert von Cinimod
                          #346

                          Welche Datenpunkte kann ich denn jetzt beschreiben/ändern? Ich finde da irgendwie nichts was sich bei mir ändern lässt.
                          Das Update vom Adapter habe ich natürlich durchgeführt und ich bin auch mit dem Hauptaccount angemeldet.

                          "Steuern Aktivieren" habe ich auch aktiviert.
                          Ich stehe wohl etwas auf dem Schlauch ...

                          Synology DS918+, Fritzbox 6690 Cable, #Docker #Blockly #Vis2 #Deconz #Tasmota

                          R 1 Antwort Letzte Antwort
                          0
                          • CinimodC Cinimod

                            Welche Datenpunkte kann ich denn jetzt beschreiben/ändern? Ich finde da irgendwie nichts was sich bei mir ändern lässt.
                            Das Update vom Adapter habe ich natürlich durchgeführt und ich bin auch mit dem Hauptaccount angemeldet.

                            "Steuern Aktivieren" habe ich auch aktiviert.
                            Ich stehe wohl etwas auf dem Schlauch ...

                            R Offline
                            R Offline
                            ronny130286
                            schrieb am zuletzt editiert von
                            #347

                            @cinimod

                            In der aktuellen Version ist es noch so, dass du dir den DP im AdminUi aussuchen kannst.
                            Dieser wird auf Änderung überwacht und dann im benutzerdefinierten Modus an die Solix übergeben (Hinweis: es werden alle benutzerdefinierten Pläne mit einem 24/7 und deinem Powerwert überschrieben)
                            Der DP muss ein Nummerwert sein und wichtig bei setzen Ack=True übergeben.

                            K 1 Antwort Letzte Antwort
                            0
                            • R ronny130286

                              @cinimod

                              In der aktuellen Version ist es noch so, dass du dir den DP im AdminUi aussuchen kannst.
                              Dieser wird auf Änderung überwacht und dann im benutzerdefinierten Modus an die Solix übergeben (Hinweis: es werden alle benutzerdefinierten Pläne mit einem 24/7 und deinem Powerwert überschrieben)
                              Der DP muss ein Nummerwert sein und wichtig bei setzen Ack=True übergeben.

                              K Offline
                              K Offline
                              kla960
                              schrieb am zuletzt editiert von kla960
                              #348

                              Seit dem Update und Verwendung des Admin Accounts aktualisieren bei mir die Werte nur sehr träge. In welchem Bereich kann man den Abfrage Intervall einstellen?

                              Habe den auf 10 s aber die Werte ändern sich nicht mal im Minutentakt.

                              1 Antwort Letzte Antwort
                              0
                              • R Offline
                                R Offline
                                ronny130286
                                schrieb am zuletzt editiert von ronny130286
                                #349

                                Ich habe mich nochmal schlau gemacht bzgl. der Aktualisierungszeiten und einige Werte die in der Cloud fehlen.
                                Es ist scheinbar so, die Anker Cloud wir nur alles x Minuten von Anker aktualisiert.
                                Der Adapter greift reinweg die Cloud Daten ab, die App jedoch holt sich scheinbar die Werte via MQTT von der Solarbank selbst ab was dann auch deutlich schneller geht( irgendwas um die 3s ).

                                Auch Werte wie Temperatur der Headunit oder der einzelnen Akkupacks, werde über die MQTT Schnittstellen geladen und nur in der App dargestellt (sie werden nicht an die Cloud übertragen).

                                Ich habe mir das Projekt mal angesehen, aber brauchbar Werte kommen da bei mir nicht raus, wenn ich die MQTT Schnittstelle der Solix 3 abfrage.

                                1 Antwort Letzte Antwort
                                0
                                • V Offline
                                  V Offline
                                  Volker3.0
                                  schrieb am zuletzt editiert von Volker3.0
                                  #350

                                  Hallo,

                                  ich suche einen Weg, den Anker Solix 3über ein Blockly zu steuern.
                                  Genuer möchte ich umschalten zwischen Benutzerdefiniertem Modus und Eigenverbrauch.
                                  Hat das schon jemand hinbekommen und wenn ja, wie?

                                  Wenn ich in der App umschalte ändert sich der scene_mode und der user_scene_mode
                                  Aber wenn ich diese beiden Werte ändere, ändert sich nicht in der App und die Werte werden nach ein paar Sekunden wieder automatisch zurückgesetzt.

                                  Jemand eine Idee?

                                  R 1 Antwort Letzte Antwort
                                  0
                                  • V Volker3.0

                                    Hallo,

                                    ich suche einen Weg, den Anker Solix 3über ein Blockly zu steuern.
                                    Genuer möchte ich umschalten zwischen Benutzerdefiniertem Modus und Eigenverbrauch.
                                    Hat das schon jemand hinbekommen und wenn ja, wie?

                                    Wenn ich in der App umschalte ändert sich der scene_mode und der user_scene_mode
                                    Aber wenn ich diese beiden Werte ändere, ändert sich nicht in der App und die Werte werden nach ein paar Sekunden wieder automatisch zurückgesetzt.

                                    Jemand eine Idee?

                                    R Offline
                                    R Offline
                                    ronny130286
                                    schrieb am zuletzt editiert von ronny130286
                                    #351

                                    @volker3-0

                                    alle Werte unter der Site-ID sind nur Lesewerte, du kannst dort nicht einen einzigen Wert schreiben bzw. bringt dir das nichts, da es die Werte nicht an die Solix übertragen wird.
                                    Ich habe 2.4 als Beta released, damit kannst du sowas aus dem Adapter heraus realisieren (über einen Zeitplan).

                                    Ich werde in einem kommenden Update einen Datenpunkt zur Verfügung stellen, wo man die Umschaltung auch über einen extrenen DP machen kann.
                                    Der wird sich dann unter .control wiederfinden.

                                    D 1 Antwort Letzte Antwort
                                    0
                                    • UweRLPU UweRLP

                                      Da ich keinen Anker Smartmeter aber dafür einen intelligenten Stromzähler mit Tibber Pulse und eine Solarbank3 habe versuche ich diese beiden mittels eines Blockly zu verheiraten :-)
                                      Dafür nutze ich diesen Adapter ankersolix2 und den Adapter tibberlink
                                      Was ich früher manuell/händisch versucht habe bevor der Anker Adapter steuern konnte war, bei geringem Strompreis und hoher Stromerzeugung primär den Akku zu laden um später wenn der Strompreis hoch läuft diesen wieder ins Hausnetzt einzuspeisen. Das gebastelte Blocky läuft für meine Situation recht gut. Nicht berücksichtigt werden Wetteraussichten oder so, einfach nur der aktuelle Moment für den aktuellen Tag.
                                      Der ein oder andere mag es als Vorlage nutzen.

                                      Hier noch eine kurze Erklärung welche Datenpunkte benötigt werden:

                                      Stromzaehler:AktStrom - tibberlink - tibberlink.0.Homes.XXX.LiveMeasurement.power
                                      SolarPower:SolarSumme - ankersolix2 - ankersolix2.0.XXX.solarbank_info.solarbank_list.XXX.photovoltaic_power
                                      Stromzaehler:PreisHeuteHoechster - tibberlink - tibberlink.0.Homes.XXX.PricesToday.maximum.total
                                      Stromzaehler:PreisHeuteGeringster - tibberlink - tibberlink.0.Homes.XXX.minimum.total
                                      StromzählerAktPreis - tibberlink - tibberlink.0.Homes.XXX.CurrentPrice.total
                                      SolarPower:BatterieLadung - ankersolix2 - ankersolix2.0.XXX.solarbank_info.solarbank_list.XXX.battery_power
                                      StromAbgabeSollwertErrechnet - Userdatenpunkt für ankersolix2 unter STEUERN
                                      Also der hier:
                                      01 Userdatenpunkt.png
                                      Hier das Blockly als Bilder:
                                      01 Blockly T01.png
                                      01 Blockly T02.png
                                      Hier als Code zum importieren:

                                      <xml xmlns="https://developers.google.com/blockly/xml">
                                        <variables>
                                          <variable id="S)?Q9/DlHU.scLN:0;Nr">StromSolarSumme</variable>
                                          <variable id="2SX,.OJb~*_IWN8T:D(C">StromFuerNetzALT</variable>
                                          <variable id="jIclgY1C0H)/DZUa/1(o">StrompreisDiff_HG</variable>
                                          <variable id="/;n%+?^Bo%(R_m:==5kA">Zaehler</variable>
                                          <variable id="X2!RJ{O`!TUC}+1Y{*Xa">StrompreisAktuell</variable>
                                          <variable id="I3@Ic3t[x|s6oUbD_]:E">StrompreisDiffAktuell</variable>
                                          <variable id="-bf#o^2onvnJg3%9EsE)">StromVerbrauchAktuell</variable>
                                          <variable id="1q:NEfP.A#Zjdb/r@v;.">StrompreisDiffProzent</variable>
                                          <variable id="~,d%PYXpGX.0[%3LW/Xh">BatterieLadung</variable>
                                          <variable id="BYezFA/G^RBbnK}Gmo_q">StrompreisDiffProzent_NEG</variable>
                                          <variable id=".3a#3rU)Oli?_9F:pfy,">StromFuerNetzPreis</variable>
                                          <variable id="[*{z8rcYYfa:Fv_kxZGe">StromFuerNetzBatt</variable>
                                          <variable id="BES/[o|.r[`RnV:P@rsR">StromFuerNetz</variable>
                                          <variable id="8}u}NRqFOR(RhuI:|mko">StromFuerNetzABS</variable>
                                        </variables>
                                        <block type="on_ext" id="I@$RR#h9]/`UNN:X.Hv=" x="38" y="-1060">
                                          <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=",[lrP^^s:0d!nR_5k(R;">
                                              <field name="oid">alias.0.Keller.Stromzaehler.AktuellerStrom</field>
                                            </shadow>
                                          </value>
                                          <statement name="STATEMENT">
                                            <block type="variables_set" id="m[gg^_s(hyroJlJ36dej">
                                              <field name="VAR" id="S)?Q9/DlHU.scLN:0;Nr">StromSolarSumme</field>
                                              <value name="VALUE">
                                                <block type="get_value" id="H=3qpT/qS[:oI)/WGDJ,">
                                                  <field name="ATTR">val</field>
                                                  <field name="OID">alias.0.Balkon.SolarPower.SolarSumme</field>
                                                </block>
                                              </value>
                                              <next>
                                                <block type="variables_set" id="YL|%xFi2]}?_ZG{{TG/W">
                                                  <field name="VAR" id="jIclgY1C0H)/DZUa/1(o">StrompreisDiff_HG</field>
                                                  <value name="VALUE">
                                                    <block type="math_arithmetic" id="sWKU$u;Idl3kr}47b]U]">
                                                      <field name="OP">MINUS</field>
                                                      <value name="A">
                                                        <shadow type="math_number" id="WsGv]S|@58KtNna3spjh">
                                                          <field name="NUM">1</field>
                                                        </shadow>
                                                        <block type="get_value" id="MCmE)a|XLb9wD^Gv[2{f">
                                                          <field name="ATTR">val</field>
                                                          <field name="OID">alias.0.Keller.Stromzaehler.PreisHeuteHoechster</field>
                                                        </block>
                                                      </value>
                                                      <value name="B">
                                                        <shadow type="math_number" id="E@qn?|zuU-hfa/W}N4wX">
                                                          <field name="NUM">1</field>
                                                        </shadow>
                                                        <block type="get_value" id="{H+SMJjrQd9j9^:UT2(~">
                                                          <field name="ATTR">val</field>
                                                          <field name="OID">alias.0.Keller.Stromzaehler.PreisHeuteGeringster</field>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </value>
                                                  <next>
                                                    <block type="variables_set" id="XLxs|TBmNU9M~!C`]1He">
                                                      <field name="VAR" id="X2!RJ{O`!TUC}+1Y{*Xa">StrompreisAktuell</field>
                                                      <value name="VALUE">
                                                        <block type="get_value" id="1IoS_3pAuH#X0z8|(NL?">
                                                          <field name="ATTR">val</field>
                                                          <field name="OID">alias.0.Keller.Stromzaehler.AktPreis</field>
                                                        </block>
                                                      </value>
                                                      <next>
                                                        <block type="variables_set" id="vW}6,nwyC{j9]CGlq9V]">
                                                          <field name="VAR" id="I3@Ic3t[x|s6oUbD_]:E">StrompreisDiffAktuell</field>
                                                          <value name="VALUE">
                                                            <block type="math_arithmetic" id="T~[sokWR)2dG.2]nI3Tl">
                                                              <field name="OP">MINUS</field>
                                                              <value name="A">
                                                                <shadow type="math_number" id="WsGv]S|@58KtNna3spjh">
                                                                  <field name="NUM">1</field>
                                                                </shadow>
                                                                <block type="variables_get" id=";+JGgGA1l)cX^e]mzt:N">
                                                                  <field name="VAR" id="X2!RJ{O`!TUC}+1Y{*Xa">StrompreisAktuell</field>
                                                                </block>
                                                              </value>
                                                              <value name="B">
                                                                <shadow type="math_number" id="E@qn?|zuU-hfa/W}N4wX">
                                                                  <field name="NUM">1</field>
                                                                </shadow>
                                                                <block type="get_value" id="0=cUm86g:;;apDal20rO">
                                                                  <field name="ATTR">val</field>
                                                                  <field name="OID">alias.0.Keller.Stromzaehler.PreisHeuteGeringster</field>
                                                                </block>
                                                              </value>
                                                            </block>
                                                          </value>
                                                          <next>
                                                            <block type="variables_set" id="P#c6W]Ms3G[y4Q!fODaz">
                                                              <field name="VAR" id="-bf#o^2onvnJg3%9EsE)">StromVerbrauchAktuell</field>
                                                              <value name="VALUE">
                                                                <block type="get_value" id="M1xh8[2f4e9r%[:lZbP`">
                                                                  <field name="ATTR">val</field>
                                                                  <field name="OID">0_userdata.0.Keller.StromSummeNetzSolar</field>
                                                                </block>
                                                              </value>
                                                              <next>
                                                                <block type="controls_if" id="a3.Jc4s;ueU0/tu}T_C{">
                                                                  <mutation else="1"></mutation>
                                                                  <value name="IF0">
                                                                    <block type="logic_compare" id="tnoga){oieQMHh$7[Bwj">
                                                                      <field name="OP">GT</field>
                                                                      <value name="A">
                                                                        <block type="variables_get" id="Ab~`L/Ost(J:g~1s[/3N">
                                                                          <field name="VAR" id="I3@Ic3t[x|s6oUbD_]:E">StrompreisDiffAktuell</field>
                                                                        </block>
                                                                      </value>
                                                                      <value name="B">
                                                                        <block type="math_number" id="_38|p#/9+=eaLrzc/4[/">
                                                                          <field name="NUM">0</field>
                                                                        </block>
                                                                      </value>
                                                                    </block>
                                                                  </value>
                                                                  <statement name="DO0">
                                                                    <block type="variables_set" id="S#.aj}%J8r,YK;C*4U!j">
                                                                      <field name="VAR" id="1q:NEfP.A#Zjdb/r@v;.">StrompreisDiffProzent</field>
                                                                      <value name="VALUE">
                                                                        <block type="math_round" id="I)tznk[@(Io5;7/XWj,B">
                                                                          <field name="OP">ROUND</field>
                                                                          <value name="NUM">
                                                                            <shadow type="math_number" id=",qOFAI*yN?XRL^DH6Bez">
                                                                              <field name="NUM">3.1</field>
                                                                            </shadow>
                                                                            <block type="math_arithmetic" id="eg_?-*|]x2X/INC(?4bl">
                                                                              <field name="OP">DIVIDE</field>
                                                                              <value name="A">
                                                                                <shadow type="math_number" id="@zTs}%#zBc(mrD@{;%x5">
                                                                                  <field name="NUM">1</field>
                                                                                </shadow>
                                                                                <block type="math_arithmetic" id="zir=1,v8+s-u?S@JEy3u">
                                                                                  <field name="OP">MULTIPLY</field>
                                                                                  <value name="A">
                                                                                    <shadow type="math_number" id="W3H`([^b.H?@X8^h[#fw">
                                                                                      <field name="NUM">1</field>
                                                                                    </shadow>
                                                                                    <block type="variables_get" id="Am~Yd^;k33yE3mi_05Mp">
                                                                                      <field name="VAR" id="I3@Ic3t[x|s6oUbD_]:E">StrompreisDiffAktuell</field>
                                                                                    </block>
                                                                                  </value>
                                                                                  <value name="B">
                                                                                    <shadow type="math_number" id="Ua=i4(9QV:^?s;(ogUvd">
                                                                                      <field name="NUM">100</field>
                                                                                    </shadow>
                                                                                  </value>
                                                                                </block>
                                                                              </value>
                                                                              <value name="B">
                                                                                <shadow type="math_number" id="EAB/Z8{B_g0Gw)QmeRj/">
                                                                                  <field name="NUM">1</field>
                                                                                </shadow>
                                                                                <block type="variables_get" id="0=zJZ|!NMU}]?K$YU]53">
                                                                                  <field name="VAR" id="jIclgY1C0H)/DZUa/1(o">StrompreisDiff_HG</field>
                                                                                </block>
                                                                              </value>
                                                                            </block>
                                                                          </value>
                                                                        </block>
                                                                      </value>
                                                                      <next>
                                                                        <block type="variables_set" id="2H+#xA]S@Wnum6r|Sq6P">
                                                                          <field name="VAR" id="BYezFA/G^RBbnK}Gmo_q">StrompreisDiffProzent_NEG</field>
                                                                          <value name="VALUE">
                                                                            <block type="math_arithmetic" id="=DLZK]%qC/WsO#9]YSf)">
                                                                              <field name="OP">MINUS</field>
                                                                              <value name="A">
                                                                                <shadow type="math_number" id="r)eg]s1x+.;9.hBrA~}A">
                                                                                  <field name="NUM">100</field>
                                                                                </shadow>
                                                                              </value>
                                                                              <value name="B">
                                                                                <shadow type="math_number" id="Zvj`JepiPEzk)?tA2!n_">
                                                                                  <field name="NUM">1</field>
                                                                                </shadow>
                                                                                <block type="variables_get" id="2Y~nm);@-Vxn5VzgE7i!">
                                                                                  <field name="VAR" id="1q:NEfP.A#Zjdb/r@v;.">StrompreisDiffProzent</field>
                                                                                </block>
                                                                              </value>
                                                                            </block>
                                                                          </value>
                                                                        </block>
                                                                      </next>
                                                                    </block>
                                                                  </statement>
                                                                  <statement name="ELSE">
                                                                    <block type="variables_set" id="_dZuQM9I}7l([[UsQRJY">
                                                                      <field name="VAR" id="1q:NEfP.A#Zjdb/r@v;.">StrompreisDiffProzent</field>
                                                                      <value name="VALUE">
                                                                        <block type="math_number" id="]V@tXPH_izKthdaZKsJV">
                                                                          <field name="NUM">0</field>
                                                                        </block>
                                                                      </value>
                                                                      <next>
                                                                        <block type="variables_set" id="m97f_:D4Mu|!tNfzsp]/">
                                                                          <field name="VAR" id="BYezFA/G^RBbnK}Gmo_q">StrompreisDiffProzent_NEG</field>
                                                                          <value name="VALUE">
                                                                            <block type="math_number" id="Gj#@tV?qr-~IG+/eJ_h!">
                                                                              <field name="NUM">100</field>
                                                                            </block>
                                                                          </value>
                                                                        </block>
                                                                      </next>
                                                                    </block>
                                                                  </statement>
                                                                  <next>
                                                                    <block type="variables_set" id="l:X*XjRs:Z9*[|hKIil.">
                                                                      <field name="VAR" id="~,d%PYXpGX.0[%3LW/Xh">BatterieLadung</field>
                                                                      <value name="VALUE">
                                                                        <block type="get_value" id="?T_e/ZT;OH0n1*1/|+08">
                                                                          <field name="ATTR">val</field>
                                                                          <field name="OID">alias.0.Balkon.SolarPower.BatterieLadung</field>
                                                                        </block>
                                                                      </value>
                                                                      <next>
                                                                        <block type="controls_if" id="$TD-;$6moK6swtdnZ7Sn">
                                                                          <mutation elseif="1" else="1"></mutation>
                                                                          <value name="IF0">
                                                                            <block type="logic_compare" id="qVJ~Tis?xH}8@E2LZDR%">
                                                                              <field name="OP">GT</field>
                                                                              <value name="A">
                                                                                <block type="variables_get" id="OIvER{ZSA%h]U#m,M:wb">
                                                                                  <field name="VAR" id="1q:NEfP.A#Zjdb/r@v;.">StrompreisDiffProzent</field>
                                                                                </block>
                                                                              </value>
                                                                              <value name="B">
                                                                                <block type="math_number" id="f{]C,]0snmF$KGx:18:W">
                                                                                  <field name="NUM">90</field>
                                                                                </block>
                                                                              </value>
                                                                            </block>
                                                                          </value>
                                                                          <statement name="DO0">
                                                                            <block type="variables_set" id="gQso0?gcsLwfO6CcW!HC">
                                                                              <field name="VAR" id=".3a#3rU)Oli?_9F:pfy,">StromFuerNetzPreis</field>
                                                                              <value name="VALUE">
                                                                                <block type="math_round" id="f!%UjaN;`C{ac+Jq{E0B">
                                                                                  <field name="OP">ROUND</field>
                                                                                  <value name="NUM">
                                                                                    <shadow type="math_number" id="eCiFf~*v.m.8]8;kgcAh">
                                                                                      <field name="NUM">3.1</field>
                                                                                    </shadow>
                                                                                    <block type="math_arithmetic" id="H/;w@~BMp|{4Yem:{rxW">
                                                                                      <field name="OP">DIVIDE</field>
                                                                                      <value name="A">
                                                                                        <shadow type="math_number" id="acmM4^wg|[6tk,bl7%}(">
                                                                                          <field name="NUM">1</field>
                                                                                        </shadow>
                                                                                        <block type="math_arithmetic" id="B`Wlag+s8)RNLVPULL)t">
                                                                                          <field name="OP">MULTIPLY</field>
                                                                                          <value name="A">
                                                                                            <shadow type="math_number" id="jtN|Pby!ClU*xNSf/n[O">
                                                                                              <field name="NUM">90</field>
                                                                                            </shadow>
                                                                                            <block type="variables_get" id="x@`,u_w*{.8K.lVKGxo-">
                                                                                              <field name="VAR" id="-bf#o^2onvnJg3%9EsE)">StromVerbrauchAktuell</field>
                                                                                            </block>
                                                                                          </value>
                                                                                          <value name="B">
                                                                                            <shadow type="math_number" id="P5lA|ojr10/UQRI!h)(D">
                                                                                              <field name="NUM">1</field>
                                                                                            </shadow>
                                                                                            <block type="math_number" id="zkgi;ao/^U22_dYg)l!M">
                                                                                              <field name="NUM">90</field>
                                                                                            </block>
                                                                                          </value>
                                                                                        </block>
                                                                                      </value>
                                                                                      <value name="B">
                                                                                        <shadow type="math_number" id="{iN-=P$N*S,W%Vw0+VJ3">
                                                                                          <field name="NUM">100</field>
                                                                                        </shadow>
                                                                                      </value>
                                                                                    </block>
                                                                                  </value>
                                                                                </block>
                                                                              </value>
                                                                            </block>
                                                                          </statement>
                                                                          <value name="IF1">
                                                                            <block type="logic_compare" id="wZ!8SoW]6J5hDIW|Be%r">
                                                                              <field name="OP">GT</field>
                                                                              <value name="A">
                                                                                <block type="variables_get" id="/r-*~YIl(t5piOi=P*+j">
                                                                                  <field name="VAR" id="1q:NEfP.A#Zjdb/r@v;.">StrompreisDiffProzent</field>
                                                                                </block>
                                                                              </value>
                                                                              <value name="B">
                                                                                <block type="math_number" id="@f[;6iB([J[a/WThwnx3">
                                                                                  <field name="NUM">0</field>
                                                                                </block>
                                                                              </value>
                                                                            </block>
                                                                          </value>
                                                                          <statement name="DO1">
                                                                            <block type="variables_set" id="2rgz_yZjXDLF!@JBoVr(">
                                                                              <field name="VAR" id=".3a#3rU)Oli?_9F:pfy,">StromFuerNetzPreis</field>
                                                                              <value name="VALUE">
                                                                                <block type="math_round" id="0L`|SI+^G8X,-iDpr|PC">
                                                                                  <field name="OP">ROUND</field>
                                                                                  <value name="NUM">
                                                                                    <shadow type="math_number" id="eCiFf~*v.m.8]8;kgcAh">
                                                                                      <field name="NUM">3.1</field>
                                                                                    </shadow>
                                                                                    <block type="math_arithmetic" id="T)E##c%f(/:3i+5%M96(">
                                                                                      <field name="OP">DIVIDE</field>
                                                                                      <value name="A">
                                                                                        <shadow type="math_number" id="acmM4^wg|[6tk,bl7%}(">
                                                                                          <field name="NUM">1</field>
                                                                                        </shadow>
                                                                                        <block type="math_arithmetic" id="oQeC`LSY(d1#.S?yOGo~">
                                                                                          <field name="OP">MULTIPLY</field>
                                                                                          <value name="A">
                                                                                            <shadow type="math_number" id="jtN|Pby!ClU*xNSf/n[O">
                                                                                              <field name="NUM">90</field>
                                                                                            </shadow>
                                                                                            <block type="variables_get" id="o%lAPznS2jlGj8m*ec[p">
                                                                                              <field name="VAR" id="-bf#o^2onvnJg3%9EsE)">StromVerbrauchAktuell</field>
                                                                                            </block>
                                                                                          </value>
                                                                                          <value name="B">
                                                                                            <shadow type="math_number" id="P5lA|ojr10/UQRI!h)(D">
                                                                                              <field name="NUM">1</field>
                                                                                            </shadow>
                                                                                            <block type="variables_get" id="IPXeyuj%e31:3ay!~L^c">
                                                                                              <field name="VAR" id="1q:NEfP.A#Zjdb/r@v;.">StrompreisDiffProzent</field>
                                                                                            </block>
                                                                                          </value>
                                                                                        </block>
                                                                                      </value>
                                                                                      <value name="B">
                                                                                        <shadow type="math_number" id="k2BTt^%fFdx4ngcfA4-F">
                                                                                          <field name="NUM">100</field>
                                                                                        </shadow>
                                                                                      </value>
                                                                                    </block>
                                                                                  </value>
                                                                                </block>
                                                                              </value>
                                                                            </block>
                                                                          </statement>
                                                                          <statement name="ELSE">
                                                                            <block type="variables_set" id="AL-hqhjk4/8K74aWkA+p">
                                                                              <field name="VAR" id=".3a#3rU)Oli?_9F:pfy,">StromFuerNetzPreis</field>
                                                                              <value name="VALUE">
                                                                                <block type="math_number" id="R{)q[|!N{EW2yw%?OE1i">
                                                                                  <field name="NUM">0</field>
                                                                                </block>
                                                                              </value>
                                                                            </block>
                                                                          </statement>
                                                                          <next>
                                                                            <block type="controls_if" id="js$gTOy!BPz/4X|!Q=nL">
                                                                              <mutation else="1"></mutation>
                                                                              <value name="IF0">
                                                                                <block type="logic_compare" id="ss4bR)wmbc9l3g*8Okpa">
                                                                                  <field name="OP">GT</field>
                                                                                  <value name="A">
                                                                                    <block type="variables_get" id="BBn-_HZ!c^5gE$i(%V9r">
                                                                                      <field name="VAR" id="S)?Q9/DlHU.scLN:0;Nr">StromSolarSumme</field>
                                                                                    </block>
                                                                                  </value>
                                                                                  <value name="B">
                                                                                    <block type="math_number" id="8)U3Sy}v,QCr3oT3AKmp">
                                                                                      <field name="NUM">0</field>
                                                                                    </block>
                                                                                  </value>
                                                                                </block>
                                                                              </value>
                                                                              <statement name="DO0">
                                                                                <block type="controls_if" id="E:JQbo-*6n4{X*2vkM+`">
                                                                                  <mutation else="1"></mutation>
                                                                                  <value name="IF0">
                                                                                    <block type="logic_compare" id="+NZAC)M:OkdhpB4+)1oO">
                                                                                      <field name="OP">LT</field>
                                                                                      <value name="A">
                                                                                        <block type="variables_get" id="E92bqX~un0o/H1.Q/Sj-">
                                                                                          <field name="VAR" id="~,d%PYXpGX.0[%3LW/Xh">BatterieLadung</field>
                                                                                        </block>
                                                                                      </value>
                                                                                      <value name="B">
                                                                                        <block type="math_number" id="K-Xq056LezC1+3j=BG-/">
                                                                                          <field name="NUM">80</field>
                                                                                        </block>
                                                                                      </value>
                                                                                    </block>
                                                                                  </value>
                                                                                  <statement name="DO0">
                                                                                    <block type="variables_set" id=")4IgYYc1T@PW![)B!TxK">
                                                                                      <field name="VAR" id="[*{z8rcYYfa:Fv_kxZGe">StromFuerNetzBatt</field>
                                                                                      <value name="VALUE">
                                                                                        <block type="math_round" id="ib{$6Z;f9lv-rJN^3!2?">
                                                                                          <field name="OP">ROUND</field>
                                                                                          <value name="NUM">
                                                                                            <shadow type="math_number" id="eCiFf~*v.m.8]8;kgcAh">
                                                                                              <field name="NUM">3.1</field>
                                                                                            </shadow>
                                                                                            <block type="math_arithmetic" id="vrqsG2:uH-~}9HCCtnb$">
                                                                                              <field name="OP">DIVIDE</field>
                                                                                              <value name="A">
                                                                                                <shadow type="math_number" id="acmM4^wg|[6tk,bl7%}(">
                                                                                                  <field name="NUM">1</field>
                                                                                                </shadow>
                                                                                                <block type="math_arithmetic" id="hoWc67zbHH1qvsAMl.yQ">
                                                                                                  <field name="OP">MULTIPLY</field>
                                                                                                  <value name="A">
                                                                                                    <shadow type="math_number" id="Ex::s|Iu#A)_J1u`CeF=">
                                                                                                      <field name="NUM">1</field>
                                                                                                    </shadow>
                                                                                                    <block type="variables_get" id="Z6Y%;P2Gy;@9/gccpS!V">
                                                                                                      <field name="VAR" id="S)?Q9/DlHU.scLN:0;Nr">StromSolarSumme</field>
                                                                                                    </block>
                                                                                                  </value>
                                                                                                  <value name="B">
                                                                                                    <shadow type="math_number" id="P5lA|ojr10/UQRI!h)(D">
                                                                                                      <field name="NUM">1</field>
                                                                                                    </shadow>
                                                                                                    <block type="variables_get" id="*W%3j;eF+cfyfY%.~J]F">
                                                                                                      <field name="VAR" id="~,d%PYXpGX.0[%3LW/Xh">BatterieLadung</field>
                                                                                                    </block>
                                                                                                  </value>
                                                                                                </block>
                                                                                              </value>
                                                                                              <value name="B">
                                                                                                <shadow type="math_number" id="cXfVu}Pgz{.yHtUcvymp">
                                                                                                  <field name="NUM">100</field>
                                                                                                </shadow>
                                                                                              </value>
                                                                                            </block>
                                                                                          </value>
                                                                                        </block>
                                                                                      </value>
                                                                                    </block>
                                                                                  </statement>
                                                                                  <statement name="ELSE">
                                                                                    <block type="variables_set" id="Y,{1WInFoyn`}J_]-[No">
                                                                                      <field name="VAR" id="[*{z8rcYYfa:Fv_kxZGe">StromFuerNetzBatt</field>
                                                                                      <value name="VALUE">
                                                                                        <block type="math_round" id="{e,#oVk/!Ukzb#JWpZxZ">
                                                                                          <field name="OP">ROUND</field>
                                                                                          <value name="NUM">
                                                                                            <shadow type="math_number" id="eCiFf~*v.m.8]8;kgcAh">
                                                                                              <field name="NUM">3.1</field>
                                                                                            </shadow>
                                                                                            <block type="math_arithmetic" id="z}VB^Do,8o1aV@EVu4;e">
                                                                                              <field name="OP">DIVIDE</field>
                                                                                              <value name="A">
                                                                                                <shadow type="math_number" id="acmM4^wg|[6tk,bl7%}(">
                                                                                                  <field name="NUM">1</field>
                                                                                                </shadow>
                                                                                                <block type="math_arithmetic" id="B@0^=JULFJ.9Pz*/?/Yn">
                                                                                                  <field name="OP">MULTIPLY</field>
                                                                                                  <value name="A">
                                                                                                    <shadow type="math_number" id="m3)K5ixWnl?h94hp@GzK">
                                                                                                      <field name="NUM">80</field>
                                                                                                    </shadow>
                                                                                                  </value>
                                                                                                  <value name="B">
                                                                                                    <shadow type="math_number" id="P5lA|ojr10/UQRI!h)(D">
                                                                                                      <field name="NUM">1</field>
                                                                                                    </shadow>
                                                                                                    <block type="variables_get" id="rx|U@fG;6Id%u4UgY4Q3">
                                                                                                      <field name="VAR" id="S)?Q9/DlHU.scLN:0;Nr">StromSolarSumme</field>
                                                                                                    </block>
                                                                                                  </value>
                                                                                                </block>
                                                                                              </value>
                                                                                              <value name="B">
                                                                                                <shadow type="math_number" id="Txml(}Oeo7CN]F-L7x7=">
                                                                                                  <field name="NUM">100</field>
                                                                                                </shadow>
                                                                                              </value>
                                                                                            </block>
                                                                                          </value>
                                                                                        </block>
                                                                                      </value>
                                                                                    </block>
                                                                                  </statement>
                                                                                  <next>
                                                                                    <block type="variables_set" id="|/JY$_G$Y-!yf!M~qXbw">
                                                                                      <field name="VAR" id="BES/[o|.r[`RnV:P@rsR">StromFuerNetz</field>
                                                                                      <value name="VALUE">
                                                                                        <block type="math_round" id="aL:~u{`xil4c*]J5_H?1">
                                                                                          <field name="OP">ROUND</field>
                                                                                          <value name="NUM">
                                                                                            <shadow type="math_number" id="Upk8-YcQbASI0=0MBVft">
                                                                                              <field name="NUM">3.1</field>
                                                                                            </shadow>
                                                                                            <block type="math_arithmetic" id="v;kJ0Ve6Kndsc6]c77|F">
                                                                                              <field name="OP">DIVIDE</field>
                                                                                              <value name="A">
                                                                                                <shadow type="math_number" id="M7ijTT|m[l(L35Cv=88-">
                                                                                                  <field name="NUM">1</field>
                                                                                                </shadow>
                                                                                                <block type="math_arithmetic" id=")^9yajaw8}:8=AB)_^ja">
                                                                                                  <field name="OP">ADD</field>
                                                                                                  <value name="A">
                                                                                                    <shadow type="math_number" id="WBjluk{EnQ*:~m5Y[.Lv">
                                                                                                      <field name="NUM">1</field>
                                                                                                    </shadow>
                                                                                                    <block type="variables_get" id="K]`3v~{|g3Vfe.=;Jx#Z">
                                                                                                      <field name="VAR" id="[*{z8rcYYfa:Fv_kxZGe">StromFuerNetzBatt</field>
                                                                                                    </block>
                                                                                                  </value>
                                                                                                  <value name="B">
                                                                                                    <shadow type="math_number" id="SnUre0Z)-:)?!uPaW~Y;">
                                                                                                      <field name="NUM">1</field>
                                                                                                    </shadow>
                                                                                                    <block type="math_arithmetic" id="7UN*v[D_Mw;$RO8FA}qs">
                                                                                                      <field name="OP">MULTIPLY</field>
                                                                                                      <value name="A">
                                                                                                        <shadow type="math_number" id="D6nP8!8v,w.xh3[2#J?q">
                                                                                                          <field name="NUM">1</field>
                                                                                                        </shadow>
                                                                                                        <block type="variables_get" id="6V8IO2:uUR2/=OpGD9/?">
                                                                                                          <field name="VAR" id=".3a#3rU)Oli?_9F:pfy,">StromFuerNetzPreis</field>
                                                                                                        </block>
                                                                                                      </value>
                                                                                                      <value name="B">
                                                                                                        <shadow type="math_number" id="zDRImn9`{:XUCZj1!Cmd">
                                                                                                          <field name="NUM">2</field>
                                                                                                        </shadow>
                                                                                                      </value>
                                                                                                    </block>
                                                                                                  </value>
                                                                                                </block>
                                                                                              </value>
                                                                                              <value name="B">
                                                                                                <shadow type="math_number" id="f|scGG5R=*8RA.$#OR8N">
                                                                                                  <field name="NUM">2</field>
                                                                                                </shadow>
                                                                                              </value>
                                                                                            </block>
                                                                                          </value>
                                                                                        </block>
                                                                                      </value>
                                                                                    </block>
                                                                                  </next>
                                                                                </block>
                                                                              </statement>
                                                                              <statement name="ELSE">
                                                                                <block type="variables_set" id="Z2.R:llj`(!v$R~5,Yu:">
                                                                                  <field name="VAR" id="[*{z8rcYYfa:Fv_kxZGe">StromFuerNetzBatt</field>
                                                                                  <value name="VALUE">
                                                                                    <block type="math_number" id=":Bf_a_77[=^AUfzGCK0s">
                                                                                      <field name="NUM">0</field>
                                                                                    </block>
                                                                                  </value>
                                                                                  <next>
                                                                                    <block type="variables_set" id="qh%9A3}^h5?5;@G`}@~b">
                                                                                      <field name="VAR" id="BES/[o|.r[`RnV:P@rsR">StromFuerNetz</field>
                                                                                      <value name="VALUE">
                                                                                        <block type="variables_get" id="yBDI@m?TiF3q*Q%Q:VtM">
                                                                                          <field name="VAR" id=".3a#3rU)Oli?_9F:pfy,">StromFuerNetzPreis</field>
                                                                                        </block>
                                                                                      </value>
                                                                                    </block>
                                                                                  </next>
                                                                                </block>
                                                                              </statement>
                                                                              <next>
                                                                                <block type="controls_if" id="/M}[)@yeksxef/0?suiH">
                                                                                  <value name="IF0">
                                                                                    <block type="logic_compare" id="Qacuf@kU)cxIIi{J)I!N">
                                                                                      <field name="OP">GT</field>
                                                                                      <value name="A">
                                                                                        <block type="variables_get" id="]+x;3jnE,L5Iakg=cQAz">
                                                                                          <field name="VAR" id="BES/[o|.r[`RnV:P@rsR">StromFuerNetz</field>
                                                                                        </block>
                                                                                      </value>
                                                                                      <value name="B">
                                                                                        <block type="variables_get" id=".gMwlBk5qUM*s,T6;D3`">
                                                                                          <field name="VAR" id="-bf#o^2onvnJg3%9EsE)">StromVerbrauchAktuell</field>
                                                                                        </block>
                                                                                      </value>
                                                                                    </block>
                                                                                  </value>
                                                                                  <statement name="DO0">
                                                                                    <block type="variables_set" id="R%XxuW/#|i14Wi/h6H4C">
                                                                                      <field name="VAR" id="BES/[o|.r[`RnV:P@rsR">StromFuerNetz</field>
                                                                                      <value name="VALUE">
                                                                                        <block type="math_round" id="Z[f3i:JD@zf1!-.36:sd">
                                                                                          <field name="OP">ROUND</field>
                                                                                          <value name="NUM">
                                                                                            <shadow type="math_number" id="}^Gf,n:$7n5Em;s/A{bz">
                                                                                              <field name="NUM">3.1</field>
                                                                                            </shadow>
                                                                                            <block type="math_arithmetic" id="YM^5_e{ywombwLm;gpW@">
                                                                                              <field name="OP">DIVIDE</field>
                                                                                              <value name="A">
                                                                                                <shadow type="math_number" id="j1b8d,`2B/@voO=Yp.~e">
                                                                                                  <field name="NUM">1</field>
                                                                                                </shadow>
                                                                                                <block type="math_arithmetic" id="p.)=d:J0V=}m~g:omK$e">
                                                                                                  <field name="OP">MULTIPLY</field>
                                                                                                  <value name="A">
                                                                                                    <shadow type="math_number" id=".M|T44[.-.Y!Cz)q%zvK">
                                                                                                      <field name="NUM">1</field>
                                                                                                    </shadow>
                                                                                                    <block type="variables_get" id="ZFuV=zG#)UQf34/o?o@s">
                                                                                                      <field name="VAR" id="-bf#o^2onvnJg3%9EsE)">StromVerbrauchAktuell</field>
                                                                                                    </block>
                                                                                                  </value>
                                                                                                  <value name="B">
                                                                                                    <shadow type="math_number" id="p-O)W/V]$uB@#`Z6foD+">
                                                                                                      <field name="NUM">90</field>
                                                                                                    </shadow>
                                                                                                  </value>
                                                                                                </block>
                                                                                              </value>
                                                                                              <value name="B">
                                                                                                <shadow type="math_number" id="m!qLf$QaBQnP(jE4FVn-">
                                                                                                  <field name="NUM">100</field>
                                                                                                </shadow>
                                                                                              </value>
                                                                                            </block>
                                                                                          </value>
                                                                                        </block>
                                                                                      </value>
                                                                                    </block>
                                                                                  </statement>
                                                                                  <next>
                                                                                    <block type="controls_if" id="1Gfj/+i6/5M`63#7JXPM">
                                                                                      <value name="IF0">
                                                                                        <block type="logic_compare" id="-p.R?gKmkrhW:/fRm33f">
                                                                                          <field name="OP">GT</field>
                                                                                          <value name="A">
                                                                                            <block type="variables_get" id="Wv[G(edealf?L#EOwjkZ">
                                                                                              <field name="VAR" id="BES/[o|.r[`RnV:P@rsR">StromFuerNetz</field>
                                                                                            </block>
                                                                                          </value>
                                                                                          <value name="B">
                                                                                            <block type="math_number" id="~[AZPNjMJ7r8/bzZ2~F.">
                                                                                              <field name="NUM">800</field>
                                                                                            </block>
                                                                                          </value>
                                                                                        </block>
                                                                                      </value>
                                                                                      <statement name="DO0">
                                                                                        <block type="variables_set" id="JyZ$.G@#L=nIg@8cdC5G">
                                                                                          <field name="VAR" id="BES/[o|.r[`RnV:P@rsR">StromFuerNetz</field>
                                                                                          <value name="VALUE">
                                                                                            <block type="math_number" id="U9H9x(#xq`_o85fO6LVG">
                                                                                              <field name="NUM">800</field>
                                                                                            </block>
                                                                                          </value>
                                                                                        </block>
                                                                                      </statement>
                                                                                      <next>
                                                                                        <block type="variables_set" id=":jj;r*p,fiTe!K_+)kc;">
                                                                                          <field name="VAR" id="BES/[o|.r[`RnV:P@rsR">StromFuerNetz</field>
                                                                                          <value name="VALUE">
                                                                                            <block type="math_arithmetic" id="9*~%]`LW%wrHodV}3-Fj">
                                                                                              <field name="OP">MULTIPLY</field>
                                                                                              <value name="A">
                                                                                                <shadow type="math_number" id="!6e0r,Np~H+XQy!#n}^s">
                                                                                                  <field name="NUM">1</field>
                                                                                                </shadow>
                                                                                                <block type="math_round" id="QZ)`dy$:eYdQUB4~^szq">
                                                                                                  <field name="OP">ROUND</field>
                                                                                                  <value name="NUM">
                                                                                                    <shadow type="math_number" id="}LhK*Zq717M~e0G!S21T">
                                                                                                      <field name="NUM">3.1</field>
                                                                                                    </shadow>
                                                                                                    <block type="math_arithmetic" id="Eo2I[s*[S*$]GOSK,@@[">
                                                                                                      <field name="OP">DIVIDE</field>
                                                                                                      <value name="A">
                                                                                                        <shadow type="math_number" id="!6e0r,Np~H+XQy!#n}^s">
                                                                                                          <field name="NUM">1</field>
                                                                                                        </shadow>
                                                                                                        <block type="variables_get" id="o0Ikwupu/|7ka|g^ECAV">
                                                                                                          <field name="VAR" id="BES/[o|.r[`RnV:P@rsR">StromFuerNetz</field>
                                                                                                        </block>
                                                                                                      </value>
                                                                                                      <value name="B">
                                                                                                        <shadow type="math_number" id="#iGCKROP[F?2}YE$l9#u">
                                                                                                          <field name="NUM">10</field>
                                                                                                        </shadow>
                                                                                                      </value>
                                                                                                    </block>
                                                                                                  </value>
                                                                                                </block>
                                                                                              </value>
                                                                                              <value name="B">
                                                                                                <shadow type="math_number" id="zmCl!F[Fmq4=[G_`!bI#">
                                                                                                  <field name="NUM">10</field>
                                                                                                </shadow>
                                                                                              </value>
                                                                                            </block>
                                                                                          </value>
                                                                                          <next>
                                                                                            <block type="variables_set" id="P/geR+XyRZ6SMqb[ZnJ3">
                                                                                              <field name="VAR" id="8}u}NRqFOR(RhuI:|mko">StromFuerNetzABS</field>
                                                                                              <value name="VALUE">
                                                                                                <block type="math_single" id="S4fmzk-`NFH[}X!apGky">
                                                                                                  <field name="OP">ABS</field>
                                                                                                  <value name="NUM">
                                                                                                    <shadow type="math_number" id="2Ttl]A{}(Rk4pRST%W9[">
                                                                                                      <field name="NUM">9</field>
                                                                                                    </shadow>
                                                                                                    <block type="math_arithmetic" id="FNe]uV1de;I8T{gYy(gI">
                                                                                                      <field name="OP">MINUS</field>
                                                                                                      <value name="A">
                                                                                                        <shadow type="math_number" id="B6;6Wic^F(:_0g@dBXyK">
                                                                                                          <field name="NUM">1</field>
                                                                                                        </shadow>
                                                                                                        <block type="variables_get" id="}qaM[zMjZVF?Bc%Q~E8,">
                                                                                                          <field name="VAR" id="BES/[o|.r[`RnV:P@rsR">StromFuerNetz</field>
                                                                                                        </block>
                                                                                                      </value>
                                                                                                      <value name="B">
                                                                                                        <shadow type="math_number" id=":.~p@koEVpye*l?1i%/9">
                                                                                                          <field name="NUM">1</field>
                                                                                                        </shadow>
                                                                                                        <block type="variables_get" id="%,h(XyXT{3g*-3wu5yvw">
                                                                                                          <field name="VAR" id="2SX,.OJb~*_IWN8T:D(C">StromFuerNetzALT</field>
                                                                                                        </block>
                                                                                                      </value>
                                                                                                    </block>
                                                                                                  </value>
                                                                                                </block>
                                                                                              </value>
                                                                                              <next>
                                                                                                <block type="math_change" id="X1@e=N3fUQc[4B0{3jvw">
                                                                                                  <field name="VAR" id="/;n%+?^Bo%(R_m:==5kA">Zaehler</field>
                                                                                                  <value name="DELTA">
                                                                                                    <shadow type="math_number" id="hfM^9e9$oZ^9:W]jtzP;">
                                                                                                      <field name="NUM">1</field>
                                                                                                    </shadow>
                                                                                                  </value>
                                                                                                  <next>
                                                                                                    <block type="controls_if" id="/4@,7ITq|fkG(r^:e^[N">
                                                                                                      <value name="IF0">
                                                                                                        <block type="logic_multi_or" id="/`rr:nZB~9f7OOSmSU2/">
                                                                                                          <mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation>
                                                                                                          <value name="OR0">
                                                                                                            <block type="logic_multi_and" id="Y$^|8rbdkmRR4idlE~#-">
                                                                                                              <mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation>
                                                                                                              <value name="AND0">
                                                                                                                <block type="logic_compare" id="r@qv*ua)##@+0_k31?$-">
                                                                                                                  <field name="OP">GT</field>
                                                                                                                  <value name="A">
                                                                                                                    <block type="variables_get" id="LC)oTT,P*6J9R].ky*Xq">
                                                                                                                      <field name="VAR" id="8}u}NRqFOR(RhuI:|mko">StromFuerNetzABS</field>
                                                                                                                    </block>
                                                                                                                  </value>
                                                                                                                  <value name="B">
                                                                                                                    <block type="math_number" id="[gb|7e@$td/QohUzKGjR">
                                                                                                                      <field name="NUM">50</field>
                                                                                                                    </block>
                                                                                                                  </value>
                                                                                                                </block>
                                                                                                              </value>
                                                                                                              <value name="AND1">
                                                                                                                <block type="logic_compare" id="0b?L$+BF9L+iMF2`gF(z">
                                                                                                                  <field name="OP">GT</field>
                                                                                                                  <value name="A">
                                                                                                                    <block type="variables_get" id="xDMZiMIToxRr#-#hzNs9">
                                                                                                                      <field name="VAR" id="/;n%+?^Bo%(R_m:==5kA">Zaehler</field>
                                                                                                                    </block>
                                                                                                                  </value>
                                                                                                                  <value name="B">
                                                                                                                    <block type="math_number" id="LjrW7!n%.jThr}JxkaLZ">
                                                                                                                      <field name="NUM">5</field>
                                                                                                                    </block>
                                                                                                                  </value>
                                                                                                                </block>
                                                                                                              </value>
                                                                                                            </block>
                                                                                                          </value>
                                                                                                          <value name="OR1">
                                                                                                            <block type="logic_compare" id="q+CshyocS8VlFICJ]]HW">
                                                                                                              <field name="OP">GT</field>
                                                                                                              <value name="A">
                                                                                                                <block type="variables_get" id="viAXd8;r{[,lu*87JJ8C">
                                                                                                                  <field name="VAR" id="/;n%+?^Bo%(R_m:==5kA">Zaehler</field>
                                                                                                                </block>
                                                                                                              </value>
                                                                                                              <value name="B">
                                                                                                                <block type="math_number" id="z`~93~GlKG?Rm~OMq)cF">
                                                                                                                  <field name="NUM">15</field>
                                                                                                                </block>
                                                                                                              </value>
                                                                                                            </block>
                                                                                                          </value>
                                                                                                        </block>
                                                                                                      </value>
                                                                                                      <statement name="DO0">
                                                                                                        <block type="control" id="mA9mt]58dups%39iHJE,">
                                                                                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                                          <field name="OID">0_userdata.0.Keller.StromAbgabeSollwertErrechnet</field>
                                                                                                          <field name="WITH_DELAY">FALSE</field>
                                                                                                          <value name="VALUE">
                                                                                                            <block type="variables_get" id="ag:LNe-3s^cFYadPS`2G">
                                                                                                              <field name="VAR" id="BES/[o|.r[`RnV:P@rsR">StromFuerNetz</field>
                                                                                                            </block>
                                                                                                          </value>
                                                                                                          <next>
                                                                                                            <block type="variables_set" id="xjaB?4bxepDDa}^zB$u3">
                                                                                                              <field name="VAR" id="2SX,.OJb~*_IWN8T:D(C">StromFuerNetzALT</field>
                                                                                                              <value name="VALUE">
                                                                                                                <block type="variables_get" id="5UJVQukqzfb{q~5`;h?U">
                                                                                                                  <field name="VAR" id="BES/[o|.r[`RnV:P@rsR">StromFuerNetz</field>
                                                                                                                </block>
                                                                                                              </value>
                                                                                                              <next>
                                                                                                                <block type="variables_set" id="$5v`d+87BYssP{GDwM%o">
                                                                                                                  <field name="VAR" id="/;n%+?^Bo%(R_m:==5kA">Zaehler</field>
                                                                                                                  <value name="VALUE">
                                                                                                                    <block type="math_number" id="2B}7KIf0.(.o1jq1r`BB">
                                                                                                                      <field name="NUM">0</field>
                                                                                                                    </block>
                                                                                                                  </value>
                                                                                                                </block>
                                                                                                              </next>
                                                                                                            </block>
                                                                                                          </next>
                                                                                                        </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>
                                          </statement>
                                          <next>
                                            <block type="variables_set" id="7b)48muFc5ce68$#lyD]">
                                              <field name="VAR" id="2SX,.OJb~*_IWN8T:D(C">StromFuerNetzALT</field>
                                              <value name="VALUE">
                                                <block type="math_number" id="_GQT_Gg+X?+Log13qZB9">
                                                  <field name="NUM">0</field>
                                                </block>
                                              </value>
                                              <next>
                                                <block type="variables_set" id="Oiibk!gqJAZd[o1`Xbq7">
                                                  <field name="VAR" id="/;n%+?^Bo%(R_m:==5kA">Zaehler</field>
                                                  <value name="VALUE">
                                                    <block type="math_number" id="-6M}.ZLDwUB*hl=OPUxg">
                                                      <field name="NUM">0</field>
                                                    </block>
                                                  </value>
                                                </block>
                                              </next>
                                            </block>
                                          </next>
                                        </block>
                                      </xml>
                                      
                                      UweRLPU Offline
                                      UweRLPU Offline
                                      UweRLP
                                      schrieb am zuletzt editiert von
                                      #352

                                      Da der ankersolix Adapter leider nur sehr verzögert aktuelle Werte liefern kann habe ich das Blockly ein wenig angepasst.
                                      Die Steuerrung der Stromabgabe der Solarbank durch den User Datenpunkt (StromAbgabeSollwertErrechnet) funktioniert recht gut auch Tibber liefert zügig neue Werte. Daher berechne ich den aktuellen (Gesamt)Stromverbrauch aus der Summe vom User Datenpunkt (StromAbgabeSollwertErrechnet) und dem Tibber gelieferten Bezug.

                                      Screenshot 2025-09-29 at 07-06-10 javascript - DESKTOP-77OGRTU.png

                                      Dadurch ist die Reglung deutlich besser geworden.

                                      1 Antwort Letzte Antwort
                                      0
                                      • H Offline
                                        H Offline
                                        hacki11
                                        schrieb am zuletzt editiert von hacki11
                                        #353

                                        Hat von euch auch jemand das Problem, dass manchmal die Werte nur dann kommen, wenn man die App öffnet?

                                        Ich setze den Datenpunkt um die Batterie zu entladen und ich sehe in meinem SmartMeter auch, dass es bereits passiert aber die Datenpunkte bleiben manchmal für Minuten unverändert. Nicht nur einzelne, sondern alle die sich hierzu ändern müssten. retain_load, other_loads_power, home_load_power, total_output_power, battery_discharge_power, etc. Sobald ich die App öffnet, sind die Werte alle im nächsten Abfrageintervall auch in ioBroker verfügbar.

                                        Gibts da ein Problem, oder einen Trick die neuen Daten zu erhalten?
                                        Ich nutze den Hauptaccount und habe keinen Familienaccount angelegt, da dies scheinbar nicht mehr erforderlich ist: https://github.com/ronny130286/ioBroker.ankersolix2/issues/25

                                        Version: 2.4.0

                                        R 1 Antwort Letzte Antwort
                                        0
                                        • UweRLPU UweRLP

                                          Da ich keinen Anker Smartmeter aber dafür einen intelligenten Stromzähler mit Tibber Pulse und eine Solarbank3 habe versuche ich diese beiden mittels eines Blockly zu verheiraten :-)
                                          Dafür nutze ich diesen Adapter ankersolix2 und den Adapter tibberlink
                                          Was ich früher manuell/händisch versucht habe bevor der Anker Adapter steuern konnte war, bei geringem Strompreis und hoher Stromerzeugung primär den Akku zu laden um später wenn der Strompreis hoch läuft diesen wieder ins Hausnetzt einzuspeisen. Das gebastelte Blocky läuft für meine Situation recht gut. Nicht berücksichtigt werden Wetteraussichten oder so, einfach nur der aktuelle Moment für den aktuellen Tag.
                                          Der ein oder andere mag es als Vorlage nutzen.

                                          Hier noch eine kurze Erklärung welche Datenpunkte benötigt werden:

                                          Stromzaehler:AktStrom - tibberlink - tibberlink.0.Homes.XXX.LiveMeasurement.power
                                          SolarPower:SolarSumme - ankersolix2 - ankersolix2.0.XXX.solarbank_info.solarbank_list.XXX.photovoltaic_power
                                          Stromzaehler:PreisHeuteHoechster - tibberlink - tibberlink.0.Homes.XXX.PricesToday.maximum.total
                                          Stromzaehler:PreisHeuteGeringster - tibberlink - tibberlink.0.Homes.XXX.minimum.total
                                          StromzählerAktPreis - tibberlink - tibberlink.0.Homes.XXX.CurrentPrice.total
                                          SolarPower:BatterieLadung - ankersolix2 - ankersolix2.0.XXX.solarbank_info.solarbank_list.XXX.battery_power
                                          StromAbgabeSollwertErrechnet - Userdatenpunkt für ankersolix2 unter STEUERN
                                          Also der hier:
                                          01 Userdatenpunkt.png
                                          Hier das Blockly als Bilder:
                                          01 Blockly T01.png
                                          01 Blockly T02.png
                                          Hier als Code zum importieren:

                                          <xml xmlns="https://developers.google.com/blockly/xml">
                                            <variables>
                                              <variable id="S)?Q9/DlHU.scLN:0;Nr">StromSolarSumme</variable>
                                              <variable id="2SX,.OJb~*_IWN8T:D(C">StromFuerNetzALT</variable>
                                              <variable id="jIclgY1C0H)/DZUa/1(o">StrompreisDiff_HG</variable>
                                              <variable id="/;n%+?^Bo%(R_m:==5kA">Zaehler</variable>
                                              <variable id="X2!RJ{O`!TUC}+1Y{*Xa">StrompreisAktuell</variable>
                                              <variable id="I3@Ic3t[x|s6oUbD_]:E">StrompreisDiffAktuell</variable>
                                              <variable id="-bf#o^2onvnJg3%9EsE)">StromVerbrauchAktuell</variable>
                                              <variable id="1q:NEfP.A#Zjdb/r@v;.">StrompreisDiffProzent</variable>
                                              <variable id="~,d%PYXpGX.0[%3LW/Xh">BatterieLadung</variable>
                                              <variable id="BYezFA/G^RBbnK}Gmo_q">StrompreisDiffProzent_NEG</variable>
                                              <variable id=".3a#3rU)Oli?_9F:pfy,">StromFuerNetzPreis</variable>
                                              <variable id="[*{z8rcYYfa:Fv_kxZGe">StromFuerNetzBatt</variable>
                                              <variable id="BES/[o|.r[`RnV:P@rsR">StromFuerNetz</variable>
                                              <variable id="8}u}NRqFOR(RhuI:|mko">StromFuerNetzABS</variable>
                                            </variables>
                                            <block type="on_ext" id="I@$RR#h9]/`UNN:X.Hv=" x="38" y="-1060">
                                              <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=",[lrP^^s:0d!nR_5k(R;">
                                                  <field name="oid">alias.0.Keller.Stromzaehler.AktuellerStrom</field>
                                                </shadow>
                                              </value>
                                              <statement name="STATEMENT">
                                                <block type="variables_set" id="m[gg^_s(hyroJlJ36dej">
                                                  <field name="VAR" id="S)?Q9/DlHU.scLN:0;Nr">StromSolarSumme</field>
                                                  <value name="VALUE">
                                                    <block type="get_value" id="H=3qpT/qS[:oI)/WGDJ,">
                                                      <field name="ATTR">val</field>
                                                      <field name="OID">alias.0.Balkon.SolarPower.SolarSumme</field>
                                                    </block>
                                                  </value>
                                                  <next>
                                                    <block type="variables_set" id="YL|%xFi2]}?_ZG{{TG/W">
                                                      <field name="VAR" id="jIclgY1C0H)/DZUa/1(o">StrompreisDiff_HG</field>
                                                      <value name="VALUE">
                                                        <block type="math_arithmetic" id="sWKU$u;Idl3kr}47b]U]">
                                                          <field name="OP">MINUS</field>
                                                          <value name="A">
                                                            <shadow type="math_number" id="WsGv]S|@58KtNna3spjh">
                                                              <field name="NUM">1</field>
                                                            </shadow>
                                                            <block type="get_value" id="MCmE)a|XLb9wD^Gv[2{f">
                                                              <field name="ATTR">val</field>
                                                              <field name="OID">alias.0.Keller.Stromzaehler.PreisHeuteHoechster</field>
                                                            </block>
                                                          </value>
                                                          <value name="B">
                                                            <shadow type="math_number" id="E@qn?|zuU-hfa/W}N4wX">
                                                              <field name="NUM">1</field>
                                                            </shadow>
                                                            <block type="get_value" id="{H+SMJjrQd9j9^:UT2(~">
                                                              <field name="ATTR">val</field>
                                                              <field name="OID">alias.0.Keller.Stromzaehler.PreisHeuteGeringster</field>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </value>
                                                      <next>
                                                        <block type="variables_set" id="XLxs|TBmNU9M~!C`]1He">
                                                          <field name="VAR" id="X2!RJ{O`!TUC}+1Y{*Xa">StrompreisAktuell</field>
                                                          <value name="VALUE">
                                                            <block type="get_value" id="1IoS_3pAuH#X0z8|(NL?">
                                                              <field name="ATTR">val</field>
                                                              <field name="OID">alias.0.Keller.Stromzaehler.AktPreis</field>
                                                            </block>
                                                          </value>
                                                          <next>
                                                            <block type="variables_set" id="vW}6,nwyC{j9]CGlq9V]">
                                                              <field name="VAR" id="I3@Ic3t[x|s6oUbD_]:E">StrompreisDiffAktuell</field>
                                                              <value name="VALUE">
                                                                <block type="math_arithmetic" id="T~[sokWR)2dG.2]nI3Tl">
                                                                  <field name="OP">MINUS</field>
                                                                  <value name="A">
                                                                    <shadow type="math_number" id="WsGv]S|@58KtNna3spjh">
                                                                      <field name="NUM">1</field>
                                                                    </shadow>
                                                                    <block type="variables_get" id=";+JGgGA1l)cX^e]mzt:N">
                                                                      <field name="VAR" id="X2!RJ{O`!TUC}+1Y{*Xa">StrompreisAktuell</field>
                                                                    </block>
                                                                  </value>
                                                                  <value name="B">
                                                                    <shadow type="math_number" id="E@qn?|zuU-hfa/W}N4wX">
                                                                      <field name="NUM">1</field>
                                                                    </shadow>
                                                                    <block type="get_value" id="0=cUm86g:;;apDal20rO">
                                                                      <field name="ATTR">val</field>
                                                                      <field name="OID">alias.0.Keller.Stromzaehler.PreisHeuteGeringster</field>
                                                                    </block>
                                                                  </value>
                                                                </block>
                                                              </value>
                                                              <next>
                                                                <block type="variables_set" id="P#c6W]Ms3G[y4Q!fODaz">
                                                                  <field name="VAR" id="-bf#o^2onvnJg3%9EsE)">StromVerbrauchAktuell</field>
                                                                  <value name="VALUE">
                                                                    <block type="get_value" id="M1xh8[2f4e9r%[:lZbP`">
                                                                      <field name="ATTR">val</field>
                                                                      <field name="OID">0_userdata.0.Keller.StromSummeNetzSolar</field>
                                                                    </block>
                                                                  </value>
                                                                  <next>
                                                                    <block type="controls_if" id="a3.Jc4s;ueU0/tu}T_C{">
                                                                      <mutation else="1"></mutation>
                                                                      <value name="IF0">
                                                                        <block type="logic_compare" id="tnoga){oieQMHh$7[Bwj">
                                                                          <field name="OP">GT</field>
                                                                          <value name="A">
                                                                            <block type="variables_get" id="Ab~`L/Ost(J:g~1s[/3N">
                                                                              <field name="VAR" id="I3@Ic3t[x|s6oUbD_]:E">StrompreisDiffAktuell</field>
                                                                            </block>
                                                                          </value>
                                                                          <value name="B">
                                                                            <block type="math_number" id="_38|p#/9+=eaLrzc/4[/">
                                                                              <field name="NUM">0</field>
                                                                            </block>
                                                                          </value>
                                                                        </block>
                                                                      </value>
                                                                      <statement name="DO0">
                                                                        <block type="variables_set" id="S#.aj}%J8r,YK;C*4U!j">
                                                                          <field name="VAR" id="1q:NEfP.A#Zjdb/r@v;.">StrompreisDiffProzent</field>
                                                                          <value name="VALUE">
                                                                            <block type="math_round" id="I)tznk[@(Io5;7/XWj,B">
                                                                              <field name="OP">ROUND</field>
                                                                              <value name="NUM">
                                                                                <shadow type="math_number" id=",qOFAI*yN?XRL^DH6Bez">
                                                                                  <field name="NUM">3.1</field>
                                                                                </shadow>
                                                                                <block type="math_arithmetic" id="eg_?-*|]x2X/INC(?4bl">
                                                                                  <field name="OP">DIVIDE</field>
                                                                                  <value name="A">
                                                                                    <shadow type="math_number" id="@zTs}%#zBc(mrD@{;%x5">
                                                                                      <field name="NUM">1</field>
                                                                                    </shadow>
                                                                                    <block type="math_arithmetic" id="zir=1,v8+s-u?S@JEy3u">
                                                                                      <field name="OP">MULTIPLY</field>
                                                                                      <value name="A">
                                                                                        <shadow type="math_number" id="W3H`([^b.H?@X8^h[#fw">
                                                                                          <field name="NUM">1</field>
                                                                                        </shadow>
                                                                                        <block type="variables_get" id="Am~Yd^;k33yE3mi_05Mp">
                                                                                          <field name="VAR" id="I3@Ic3t[x|s6oUbD_]:E">StrompreisDiffAktuell</field>
                                                                                        </block>
                                                                                      </value>
                                                                                      <value name="B">
                                                                                        <shadow type="math_number" id="Ua=i4(9QV:^?s;(ogUvd">
                                                                                          <field name="NUM">100</field>
                                                                                        </shadow>
                                                                                      </value>
                                                                                    </block>
                                                                                  </value>
                                                                                  <value name="B">
                                                                                    <shadow type="math_number" id="EAB/Z8{B_g0Gw)QmeRj/">
                                                                                      <field name="NUM">1</field>
                                                                                    </shadow>
                                                                                    <block type="variables_get" id="0=zJZ|!NMU}]?K$YU]53">
                                                                                      <field name="VAR" id="jIclgY1C0H)/DZUa/1(o">StrompreisDiff_HG</field>
                                                                                    </block>
                                                                                  </value>
                                                                                </block>
                                                                              </value>
                                                                            </block>
                                                                          </value>
                                                                          <next>
                                                                            <block type="variables_set" id="2H+#xA]S@Wnum6r|Sq6P">
                                                                              <field name="VAR" id="BYezFA/G^RBbnK}Gmo_q">StrompreisDiffProzent_NEG</field>
                                                                              <value name="VALUE">
                                                                                <block type="math_arithmetic" id="=DLZK]%qC/WsO#9]YSf)">
                                                                                  <field name="OP">MINUS</field>
                                                                                  <value name="A">
                                                                                    <shadow type="math_number" id="r)eg]s1x+.;9.hBrA~}A">
                                                                                      <field name="NUM">100</field>
                                                                                    </shadow>
                                                                                  </value>
                                                                                  <value name="B">
                                                                                    <shadow type="math_number" id="Zvj`JepiPEzk)?tA2!n_">
                                                                                      <field name="NUM">1</field>
                                                                                    </shadow>
                                                                                    <block type="variables_get" id="2Y~nm);@-Vxn5VzgE7i!">
                                                                                      <field name="VAR" id="1q:NEfP.A#Zjdb/r@v;.">StrompreisDiffProzent</field>
                                                                                    </block>
                                                                                  </value>
                                                                                </block>
                                                                              </value>
                                                                            </block>
                                                                          </next>
                                                                        </block>
                                                                      </statement>
                                                                      <statement name="ELSE">
                                                                        <block type="variables_set" id="_dZuQM9I}7l([[UsQRJY">
                                                                          <field name="VAR" id="1q:NEfP.A#Zjdb/r@v;.">StrompreisDiffProzent</field>
                                                                          <value name="VALUE">
                                                                            <block type="math_number" id="]V@tXPH_izKthdaZKsJV">
                                                                              <field name="NUM">0</field>
                                                                            </block>
                                                                          </value>
                                                                          <next>
                                                                            <block type="variables_set" id="m97f_:D4Mu|!tNfzsp]/">
                                                                              <field name="VAR" id="BYezFA/G^RBbnK}Gmo_q">StrompreisDiffProzent_NEG</field>
                                                                              <value name="VALUE">
                                                                                <block type="math_number" id="Gj#@tV?qr-~IG+/eJ_h!">
                                                                                  <field name="NUM">100</field>
                                                                                </block>
                                                                              </value>
                                                                            </block>
                                                                          </next>
                                                                        </block>
                                                                      </statement>
                                                                      <next>
                                                                        <block type="variables_set" id="l:X*XjRs:Z9*[|hKIil.">
                                                                          <field name="VAR" id="~,d%PYXpGX.0[%3LW/Xh">BatterieLadung</field>
                                                                          <value name="VALUE">
                                                                            <block type="get_value" id="?T_e/ZT;OH0n1*1/|+08">
                                                                              <field name="ATTR">val</field>
                                                                              <field name="OID">alias.0.Balkon.SolarPower.BatterieLadung</field>
                                                                            </block>
                                                                          </value>
                                                                          <next>
                                                                            <block type="controls_if" id="$TD-;$6moK6swtdnZ7Sn">
                                                                              <mutation elseif="1" else="1"></mutation>
                                                                              <value name="IF0">
                                                                                <block type="logic_compare" id="qVJ~Tis?xH}8@E2LZDR%">
                                                                                  <field name="OP">GT</field>
                                                                                  <value name="A">
                                                                                    <block type="variables_get" id="OIvER{ZSA%h]U#m,M:wb">
                                                                                      <field name="VAR" id="1q:NEfP.A#Zjdb/r@v;.">StrompreisDiffProzent</field>
                                                                                    </block>
                                                                                  </value>
                                                                                  <value name="B">
                                                                                    <block type="math_number" id="f{]C,]0snmF$KGx:18:W">
                                                                                      <field name="NUM">90</field>
                                                                                    </block>
                                                                                  </value>
                                                                                </block>
                                                                              </value>
                                                                              <statement name="DO0">
                                                                                <block type="variables_set" id="gQso0?gcsLwfO6CcW!HC">
                                                                                  <field name="VAR" id=".3a#3rU)Oli?_9F:pfy,">StromFuerNetzPreis</field>
                                                                                  <value name="VALUE">
                                                                                    <block type="math_round" id="f!%UjaN;`C{ac+Jq{E0B">
                                                                                      <field name="OP">ROUND</field>
                                                                                      <value name="NUM">
                                                                                        <shadow type="math_number" id="eCiFf~*v.m.8]8;kgcAh">
                                                                                          <field name="NUM">3.1</field>
                                                                                        </shadow>
                                                                                        <block type="math_arithmetic" id="H/;w@~BMp|{4Yem:{rxW">
                                                                                          <field name="OP">DIVIDE</field>
                                                                                          <value name="A">
                                                                                            <shadow type="math_number" id="acmM4^wg|[6tk,bl7%}(">
                                                                                              <field name="NUM">1</field>
                                                                                            </shadow>
                                                                                            <block type="math_arithmetic" id="B`Wlag+s8)RNLVPULL)t">
                                                                                              <field name="OP">MULTIPLY</field>
                                                                                              <value name="A">
                                                                                                <shadow type="math_number" id="jtN|Pby!ClU*xNSf/n[O">
                                                                                                  <field name="NUM">90</field>
                                                                                                </shadow>
                                                                                                <block type="variables_get" id="x@`,u_w*{.8K.lVKGxo-">
                                                                                                  <field name="VAR" id="-bf#o^2onvnJg3%9EsE)">StromVerbrauchAktuell</field>
                                                                                                </block>
                                                                                              </value>
                                                                                              <value name="B">
                                                                                                <shadow type="math_number" id="P5lA|ojr10/UQRI!h)(D">
                                                                                                  <field name="NUM">1</field>
                                                                                                </shadow>
                                                                                                <block type="math_number" id="zkgi;ao/^U22_dYg)l!M">
                                                                                                  <field name="NUM">90</field>
                                                                                                </block>
                                                                                              </value>
                                                                                            </block>
                                                                                          </value>
                                                                                          <value name="B">
                                                                                            <shadow type="math_number" id="{iN-=P$N*S,W%Vw0+VJ3">
                                                                                              <field name="NUM">100</field>
                                                                                            </shadow>
                                                                                          </value>
                                                                                        </block>
                                                                                      </value>
                                                                                    </block>
                                                                                  </value>
                                                                                </block>
                                                                              </statement>
                                                                              <value name="IF1">
                                                                                <block type="logic_compare" id="wZ!8SoW]6J5hDIW|Be%r">
                                                                                  <field name="OP">GT</field>
                                                                                  <value name="A">
                                                                                    <block type="variables_get" id="/r-*~YIl(t5piOi=P*+j">
                                                                                      <field name="VAR" id="1q:NEfP.A#Zjdb/r@v;.">StrompreisDiffProzent</field>
                                                                                    </block>
                                                                                  </value>
                                                                                  <value name="B">
                                                                                    <block type="math_number" id="@f[;6iB([J[a/WThwnx3">
                                                                                      <field name="NUM">0</field>
                                                                                    </block>
                                                                                  </value>
                                                                                </block>
                                                                              </value>
                                                                              <statement name="DO1">
                                                                                <block type="variables_set" id="2rgz_yZjXDLF!@JBoVr(">
                                                                                  <field name="VAR" id=".3a#3rU)Oli?_9F:pfy,">StromFuerNetzPreis</field>
                                                                                  <value name="VALUE">
                                                                                    <block type="math_round" id="0L`|SI+^G8X,-iDpr|PC">
                                                                                      <field name="OP">ROUND</field>
                                                                                      <value name="NUM">
                                                                                        <shadow type="math_number" id="eCiFf~*v.m.8]8;kgcAh">
                                                                                          <field name="NUM">3.1</field>
                                                                                        </shadow>
                                                                                        <block type="math_arithmetic" id="T)E##c%f(/:3i+5%M96(">
                                                                                          <field name="OP">DIVIDE</field>
                                                                                          <value name="A">
                                                                                            <shadow type="math_number" id="acmM4^wg|[6tk,bl7%}(">
                                                                                              <field name="NUM">1</field>
                                                                                            </shadow>
                                                                                            <block type="math_arithmetic" id="oQeC`LSY(d1#.S?yOGo~">
                                                                                              <field name="OP">MULTIPLY</field>
                                                                                              <value name="A">
                                                                                                <shadow type="math_number" id="jtN|Pby!ClU*xNSf/n[O">
                                                                                                  <field name="NUM">90</field>
                                                                                                </shadow>
                                                                                                <block type="variables_get" id="o%lAPznS2jlGj8m*ec[p">
                                                                                                  <field name="VAR" id="-bf#o^2onvnJg3%9EsE)">StromVerbrauchAktuell</field>
                                                                                                </block>
                                                                                              </value>
                                                                                              <value name="B">
                                                                                                <shadow type="math_number" id="P5lA|ojr10/UQRI!h)(D">
                                                                                                  <field name="NUM">1</field>
                                                                                                </shadow>
                                                                                                <block type="variables_get" id="IPXeyuj%e31:3ay!~L^c">
                                                                                                  <field name="VAR" id="1q:NEfP.A#Zjdb/r@v;.">StrompreisDiffProzent</field>
                                                                                                </block>
                                                                                              </value>
                                                                                            </block>
                                                                                          </value>
                                                                                          <value name="B">
                                                                                            <shadow type="math_number" id="k2BTt^%fFdx4ngcfA4-F">
                                                                                              <field name="NUM">100</field>
                                                                                            </shadow>
                                                                                          </value>
                                                                                        </block>
                                                                                      </value>
                                                                                    </block>
                                                                                  </value>
                                                                                </block>
                                                                              </statement>
                                                                              <statement name="ELSE">
                                                                                <block type="variables_set" id="AL-hqhjk4/8K74aWkA+p">
                                                                                  <field name="VAR" id=".3a#3rU)Oli?_9F:pfy,">StromFuerNetzPreis</field>
                                                                                  <value name="VALUE">
                                                                                    <block type="math_number" id="R{)q[|!N{EW2yw%?OE1i">
                                                                                      <field name="NUM">0</field>
                                                                                    </block>
                                                                                  </value>
                                                                                </block>
                                                                              </statement>
                                                                              <next>
                                                                                <block type="controls_if" id="js$gTOy!BPz/4X|!Q=nL">
                                                                                  <mutation else="1"></mutation>
                                                                                  <value name="IF0">
                                                                                    <block type="logic_compare" id="ss4bR)wmbc9l3g*8Okpa">
                                                                                      <field name="OP">GT</field>
                                                                                      <value name="A">
                                                                                        <block type="variables_get" id="BBn-_HZ!c^5gE$i(%V9r">
                                                                                          <field name="VAR" id="S)?Q9/DlHU.scLN:0;Nr">StromSolarSumme</field>
                                                                                        </block>
                                                                                      </value>
                                                                                      <value name="B">
                                                                                        <block type="math_number" id="8)U3Sy}v,QCr3oT3AKmp">
                                                                                          <field name="NUM">0</field>
                                                                                        </block>
                                                                                      </value>
                                                                                    </block>
                                                                                  </value>
                                                                                  <statement name="DO0">
                                                                                    <block type="controls_if" id="E:JQbo-*6n4{X*2vkM+`">
                                                                                      <mutation else="1"></mutation>
                                                                                      <value name="IF0">
                                                                                        <block type="logic_compare" id="+NZAC)M:OkdhpB4+)1oO">
                                                                                          <field name="OP">LT</field>
                                                                                          <value name="A">
                                                                                            <block type="variables_get" id="E92bqX~un0o/H1.Q/Sj-">
                                                                                              <field name="VAR" id="~,d%PYXpGX.0[%3LW/Xh">BatterieLadung</field>
                                                                                            </block>
                                                                                          </value>
                                                                                          <value name="B">
                                                                                            <block type="math_number" id="K-Xq056LezC1+3j=BG-/">
                                                                                              <field name="NUM">80</field>
                                                                                            </block>
                                                                                          </value>
                                                                                        </block>
                                                                                      </value>
                                                                                      <statement name="DO0">
                                                                                        <block type="variables_set" id=")4IgYYc1T@PW![)B!TxK">
                                                                                          <field name="VAR" id="[*{z8rcYYfa:Fv_kxZGe">StromFuerNetzBatt</field>
                                                                                          <value name="VALUE">
                                                                                            <block type="math_round" id="ib{$6Z;f9lv-rJN^3!2?">
                                                                                              <field name="OP">ROUND</field>
                                                                                              <value name="NUM">
                                                                                                <shadow type="math_number" id="eCiFf~*v.m.8]8;kgcAh">
                                                                                                  <field name="NUM">3.1</field>
                                                                                                </shadow>
                                                                                                <block type="math_arithmetic" id="vrqsG2:uH-~}9HCCtnb$">
                                                                                                  <field name="OP">DIVIDE</field>
                                                                                                  <value name="A">
                                                                                                    <shadow type="math_number" id="acmM4^wg|[6tk,bl7%}(">
                                                                                                      <field name="NUM">1</field>
                                                                                                    </shadow>
                                                                                                    <block type="math_arithmetic" id="hoWc67zbHH1qvsAMl.yQ">
                                                                                                      <field name="OP">MULTIPLY</field>
                                                                                                      <value name="A">
                                                                                                        <shadow type="math_number" id="Ex::s|Iu#A)_J1u`CeF=">
                                                                                                          <field name="NUM">1</field>
                                                                                                        </shadow>
                                                                                                        <block type="variables_get" id="Z6Y%;P2Gy;@9/gccpS!V">
                                                                                                          <field name="VAR" id="S)?Q9/DlHU.scLN:0;Nr">StromSolarSumme</field>
                                                                                                        </block>
                                                                                                      </value>
                                                                                                      <value name="B">
                                                                                                        <shadow type="math_number" id="P5lA|ojr10/UQRI!h)(D">
                                                                                                          <field name="NUM">1</field>
                                                                                                        </shadow>
                                                                                                        <block type="variables_get" id="*W%3j;eF+cfyfY%.~J]F">
                                                                                                          <field name="VAR" id="~,d%PYXpGX.0[%3LW/Xh">BatterieLadung</field>
                                                                                                        </block>
                                                                                                      </value>
                                                                                                    </block>
                                                                                                  </value>
                                                                                                  <value name="B">
                                                                                                    <shadow type="math_number" id="cXfVu}Pgz{.yHtUcvymp">
                                                                                                      <field name="NUM">100</field>
                                                                                                    </shadow>
                                                                                                  </value>
                                                                                                </block>
                                                                                              </value>
                                                                                            </block>
                                                                                          </value>
                                                                                        </block>
                                                                                      </statement>
                                                                                      <statement name="ELSE">
                                                                                        <block type="variables_set" id="Y,{1WInFoyn`}J_]-[No">
                                                                                          <field name="VAR" id="[*{z8rcYYfa:Fv_kxZGe">StromFuerNetzBatt</field>
                                                                                          <value name="VALUE">
                                                                                            <block type="math_round" id="{e,#oVk/!Ukzb#JWpZxZ">
                                                                                              <field name="OP">ROUND</field>
                                                                                              <value name="NUM">
                                                                                                <shadow type="math_number" id="eCiFf~*v.m.8]8;kgcAh">
                                                                                                  <field name="NUM">3.1</field>
                                                                                                </shadow>
                                                                                                <block type="math_arithmetic" id="z}VB^Do,8o1aV@EVu4;e">
                                                                                                  <field name="OP">DIVIDE</field>
                                                                                                  <value name="A">
                                                                                                    <shadow type="math_number" id="acmM4^wg|[6tk,bl7%}(">
                                                                                                      <field name="NUM">1</field>
                                                                                                    </shadow>
                                                                                                    <block type="math_arithmetic" id="B@0^=JULFJ.9Pz*/?/Yn">
                                                                                                      <field name="OP">MULTIPLY</field>
                                                                                                      <value name="A">
                                                                                                        <shadow type="math_number" id="m3)K5ixWnl?h94hp@GzK">
                                                                                                          <field name="NUM">80</field>
                                                                                                        </shadow>
                                                                                                      </value>
                                                                                                      <value name="B">
                                                                                                        <shadow type="math_number" id="P5lA|ojr10/UQRI!h)(D">
                                                                                                          <field name="NUM">1</field>
                                                                                                        </shadow>
                                                                                                        <block type="variables_get" id="rx|U@fG;6Id%u4UgY4Q3">
                                                                                                          <field name="VAR" id="S)?Q9/DlHU.scLN:0;Nr">StromSolarSumme</field>
                                                                                                        </block>
                                                                                                      </value>
                                                                                                    </block>
                                                                                                  </value>
                                                                                                  <value name="B">
                                                                                                    <shadow type="math_number" id="Txml(}Oeo7CN]F-L7x7=">
                                                                                                      <field name="NUM">100</field>
                                                                                                    </shadow>
                                                                                                  </value>
                                                                                                </block>
                                                                                              </value>
                                                                                            </block>
                                                                                          </value>
                                                                                        </block>
                                                                                      </statement>
                                                                                      <next>
                                                                                        <block type="variables_set" id="|/JY$_G$Y-!yf!M~qXbw">
                                                                                          <field name="VAR" id="BES/[o|.r[`RnV:P@rsR">StromFuerNetz</field>
                                                                                          <value name="VALUE">
                                                                                            <block type="math_round" id="aL:~u{`xil4c*]J5_H?1">
                                                                                              <field name="OP">ROUND</field>
                                                                                              <value name="NUM">
                                                                                                <shadow type="math_number" id="Upk8-YcQbASI0=0MBVft">
                                                                                                  <field name="NUM">3.1</field>
                                                                                                </shadow>
                                                                                                <block type="math_arithmetic" id="v;kJ0Ve6Kndsc6]c77|F">
                                                                                                  <field name="OP">DIVIDE</field>
                                                                                                  <value name="A">
                                                                                                    <shadow type="math_number" id="M7ijTT|m[l(L35Cv=88-">
                                                                                                      <field name="NUM">1</field>
                                                                                                    </shadow>
                                                                                                    <block type="math_arithmetic" id=")^9yajaw8}:8=AB)_^ja">
                                                                                                      <field name="OP">ADD</field>
                                                                                                      <value name="A">
                                                                                                        <shadow type="math_number" id="WBjluk{EnQ*:~m5Y[.Lv">
                                                                                                          <field name="NUM">1</field>
                                                                                                        </shadow>
                                                                                                        <block type="variables_get" id="K]`3v~{|g3Vfe.=;Jx#Z">
                                                                                                          <field name="VAR" id="[*{z8rcYYfa:Fv_kxZGe">StromFuerNetzBatt</field>
                                                                                                        </block>
                                                                                                      </value>
                                                                                                      <value name="B">
                                                                                                        <shadow type="math_number" id="SnUre0Z)-:)?!uPaW~Y;">
                                                                                                          <field name="NUM">1</field>
                                                                                                        </shadow>
                                                                                                        <block type="math_arithmetic" id="7UN*v[D_Mw;$RO8FA}qs">
                                                                                                          <field name="OP">MULTIPLY</field>
                                                                                                          <value name="A">
                                                                                                            <shadow type="math_number" id="D6nP8!8v,w.xh3[2#J?q">
                                                                                                              <field name="NUM">1</field>
                                                                                                            </shadow>
                                                                                                            <block type="variables_get" id="6V8IO2:uUR2/=OpGD9/?">
                                                                                                              <field name="VAR" id=".3a#3rU)Oli?_9F:pfy,">StromFuerNetzPreis</field>
                                                                                                            </block>
                                                                                                          </value>
                                                                                                          <value name="B">
                                                                                                            <shadow type="math_number" id="zDRImn9`{:XUCZj1!Cmd">
                                                                                                              <field name="NUM">2</field>
                                                                                                            </shadow>
                                                                                                          </value>
                                                                                                        </block>
                                                                                                      </value>
                                                                                                    </block>
                                                                                                  </value>
                                                                                                  <value name="B">
                                                                                                    <shadow type="math_number" id="f|scGG5R=*8RA.$#OR8N">
                                                                                                      <field name="NUM">2</field>
                                                                                                    </shadow>
                                                                                                  </value>
                                                                                                </block>
                                                                                              </value>
                                                                                            </block>
                                                                                          </value>
                                                                                        </block>
                                                                                      </next>
                                                                                    </block>
                                                                                  </statement>
                                                                                  <statement name="ELSE">
                                                                                    <block type="variables_set" id="Z2.R:llj`(!v$R~5,Yu:">
                                                                                      <field name="VAR" id="[*{z8rcYYfa:Fv_kxZGe">StromFuerNetzBatt</field>
                                                                                      <value name="VALUE">
                                                                                        <block type="math_number" id=":Bf_a_77[=^AUfzGCK0s">
                                                                                          <field name="NUM">0</field>
                                                                                        </block>
                                                                                      </value>
                                                                                      <next>
                                                                                        <block type="variables_set" id="qh%9A3}^h5?5;@G`}@~b">
                                                                                          <field name="VAR" id="BES/[o|.r[`RnV:P@rsR">StromFuerNetz</field>
                                                                                          <value name="VALUE">
                                                                                            <block type="variables_get" id="yBDI@m?TiF3q*Q%Q:VtM">
                                                                                              <field name="VAR" id=".3a#3rU)Oli?_9F:pfy,">StromFuerNetzPreis</field>
                                                                                            </block>
                                                                                          </value>
                                                                                        </block>
                                                                                      </next>
                                                                                    </block>
                                                                                  </statement>
                                                                                  <next>
                                                                                    <block type="controls_if" id="/M}[)@yeksxef/0?suiH">
                                                                                      <value name="IF0">
                                                                                        <block type="logic_compare" id="Qacuf@kU)cxIIi{J)I!N">
                                                                                          <field name="OP">GT</field>
                                                                                          <value name="A">
                                                                                            <block type="variables_get" id="]+x;3jnE,L5Iakg=cQAz">
                                                                                              <field name="VAR" id="BES/[o|.r[`RnV:P@rsR">StromFuerNetz</field>
                                                                                            </block>
                                                                                          </value>
                                                                                          <value name="B">
                                                                                            <block type="variables_get" id=".gMwlBk5qUM*s,T6;D3`">
                                                                                              <field name="VAR" id="-bf#o^2onvnJg3%9EsE)">StromVerbrauchAktuell</field>
                                                                                            </block>
                                                                                          </value>
                                                                                        </block>
                                                                                      </value>
                                                                                      <statement name="DO0">
                                                                                        <block type="variables_set" id="R%XxuW/#|i14Wi/h6H4C">
                                                                                          <field name="VAR" id="BES/[o|.r[`RnV:P@rsR">StromFuerNetz</field>
                                                                                          <value name="VALUE">
                                                                                            <block type="math_round" id="Z[f3i:JD@zf1!-.36:sd">
                                                                                              <field name="OP">ROUND</field>
                                                                                              <value name="NUM">
                                                                                                <shadow type="math_number" id="}^Gf,n:$7n5Em;s/A{bz">
                                                                                                  <field name="NUM">3.1</field>
                                                                                                </shadow>
                                                                                                <block type="math_arithmetic" id="YM^5_e{ywombwLm;gpW@">
                                                                                                  <field name="OP">DIVIDE</field>
                                                                                                  <value name="A">
                                                                                                    <shadow type="math_number" id="j1b8d,`2B/@voO=Yp.~e">
                                                                                                      <field name="NUM">1</field>
                                                                                                    </shadow>
                                                                                                    <block type="math_arithmetic" id="p.)=d:J0V=}m~g:omK$e">
                                                                                                      <field name="OP">MULTIPLY</field>
                                                                                                      <value name="A">
                                                                                                        <shadow type="math_number" id=".M|T44[.-.Y!Cz)q%zvK">
                                                                                                          <field name="NUM">1</field>
                                                                                                        </shadow>
                                                                                                        <block type="variables_get" id="ZFuV=zG#)UQf34/o?o@s">
                                                                                                          <field name="VAR" id="-bf#o^2onvnJg3%9EsE)">StromVerbrauchAktuell</field>
                                                                                                        </block>
                                                                                                      </value>
                                                                                                      <value name="B">
                                                                                                        <shadow type="math_number" id="p-O)W/V]$uB@#`Z6foD+">
                                                                                                          <field name="NUM">90</field>
                                                                                                        </shadow>
                                                                                                      </value>
                                                                                                    </block>
                                                                                                  </value>
                                                                                                  <value name="B">
                                                                                                    <shadow type="math_number" id="m!qLf$QaBQnP(jE4FVn-">
                                                                                                      <field name="NUM">100</field>
                                                                                                    </shadow>
                                                                                                  </value>
                                                                                                </block>
                                                                                              </value>
                                                                                            </block>
                                                                                          </value>
                                                                                        </block>
                                                                                      </statement>
                                                                                      <next>
                                                                                        <block type="controls_if" id="1Gfj/+i6/5M`63#7JXPM">
                                                                                          <value name="IF0">
                                                                                            <block type="logic_compare" id="-p.R?gKmkrhW:/fRm33f">
                                                                                              <field name="OP">GT</field>
                                                                                              <value name="A">
                                                                                                <block type="variables_get" id="Wv[G(edealf?L#EOwjkZ">
                                                                                                  <field name="VAR" id="BES/[o|.r[`RnV:P@rsR">StromFuerNetz</field>
                                                                                                </block>
                                                                                              </value>
                                                                                              <value name="B">
                                                                                                <block type="math_number" id="~[AZPNjMJ7r8/bzZ2~F.">
                                                                                                  <field name="NUM">800</field>
                                                                                                </block>
                                                                                              </value>
                                                                                            </block>
                                                                                          </value>
                                                                                          <statement name="DO0">
                                                                                            <block type="variables_set" id="JyZ$.G@#L=nIg@8cdC5G">
                                                                                              <field name="VAR" id="BES/[o|.r[`RnV:P@rsR">StromFuerNetz</field>
                                                                                              <value name="VALUE">
                                                                                                <block type="math_number" id="U9H9x(#xq`_o85fO6LVG">
                                                                                                  <field name="NUM">800</field>
                                                                                                </block>
                                                                                              </value>
                                                                                            </block>
                                                                                          </statement>
                                                                                          <next>
                                                                                            <block type="variables_set" id=":jj;r*p,fiTe!K_+)kc;">
                                                                                              <field name="VAR" id="BES/[o|.r[`RnV:P@rsR">StromFuerNetz</field>
                                                                                              <value name="VALUE">
                                                                                                <block type="math_arithmetic" id="9*~%]`LW%wrHodV}3-Fj">
                                                                                                  <field name="OP">MULTIPLY</field>
                                                                                                  <value name="A">
                                                                                                    <shadow type="math_number" id="!6e0r,Np~H+XQy!#n}^s">
                                                                                                      <field name="NUM">1</field>
                                                                                                    </shadow>
                                                                                                    <block type="math_round" id="QZ)`dy$:eYdQUB4~^szq">
                                                                                                      <field name="OP">ROUND</field>
                                                                                                      <value name="NUM">
                                                                                                        <shadow type="math_number" id="}LhK*Zq717M~e0G!S21T">
                                                                                                          <field name="NUM">3.1</field>
                                                                                                        </shadow>
                                                                                                        <block type="math_arithmetic" id="Eo2I[s*[S*$]GOSK,@@[">
                                                                                                          <field name="OP">DIVIDE</field>
                                                                                                          <value name="A">
                                                                                                            <shadow type="math_number" id="!6e0r,Np~H+XQy!#n}^s">
                                                                                                              <field name="NUM">1</field>
                                                                                                            </shadow>
                                                                                                            <block type="variables_get" id="o0Ikwupu/|7ka|g^ECAV">
                                                                                                              <field name="VAR" id="BES/[o|.r[`RnV:P@rsR">StromFuerNetz</field>
                                                                                                            </block>
                                                                                                          </value>
                                                                                                          <value name="B">
                                                                                                            <shadow type="math_number" id="#iGCKROP[F?2}YE$l9#u">
                                                                                                              <field name="NUM">10</field>
                                                                                                            </shadow>
                                                                                                          </value>
                                                                                                        </block>
                                                                                                      </value>
                                                                                                    </block>
                                                                                                  </value>
                                                                                                  <value name="B">
                                                                                                    <shadow type="math_number" id="zmCl!F[Fmq4=[G_`!bI#">
                                                                                                      <field name="NUM">10</field>
                                                                                                    </shadow>
                                                                                                  </value>
                                                                                                </block>
                                                                                              </value>
                                                                                              <next>
                                                                                                <block type="variables_set" id="P/geR+XyRZ6SMqb[ZnJ3">
                                                                                                  <field name="VAR" id="8}u}NRqFOR(RhuI:|mko">StromFuerNetzABS</field>
                                                                                                  <value name="VALUE">
                                                                                                    <block type="math_single" id="S4fmzk-`NFH[}X!apGky">
                                                                                                      <field name="OP">ABS</field>
                                                                                                      <value name="NUM">
                                                                                                        <shadow type="math_number" id="2Ttl]A{}(Rk4pRST%W9[">
                                                                                                          <field name="NUM">9</field>
                                                                                                        </shadow>
                                                                                                        <block type="math_arithmetic" id="FNe]uV1de;I8T{gYy(gI">
                                                                                                          <field name="OP">MINUS</field>
                                                                                                          <value name="A">
                                                                                                            <shadow type="math_number" id="B6;6Wic^F(:_0g@dBXyK">
                                                                                                              <field name="NUM">1</field>
                                                                                                            </shadow>
                                                                                                            <block type="variables_get" id="}qaM[zMjZVF?Bc%Q~E8,">
                                                                                                              <field name="VAR" id="BES/[o|.r[`RnV:P@rsR">StromFuerNetz</field>
                                                                                                            </block>
                                                                                                          </value>
                                                                                                          <value name="B">
                                                                                                            <shadow type="math_number" id=":.~p@koEVpye*l?1i%/9">
                                                                                                              <field name="NUM">1</field>
                                                                                                            </shadow>
                                                                                                            <block type="variables_get" id="%,h(XyXT{3g*-3wu5yvw">
                                                                                                              <field name="VAR" id="2SX,.OJb~*_IWN8T:D(C">StromFuerNetzALT</field>
                                                                                                            </block>
                                                                                                          </value>
                                                                                                        </block>
                                                                                                      </value>
                                                                                                    </block>
                                                                                                  </value>
                                                                                                  <next>
                                                                                                    <block type="math_change" id="X1@e=N3fUQc[4B0{3jvw">
                                                                                                      <field name="VAR" id="/;n%+?^Bo%(R_m:==5kA">Zaehler</field>
                                                                                                      <value name="DELTA">
                                                                                                        <shadow type="math_number" id="hfM^9e9$oZ^9:W]jtzP;">
                                                                                                          <field name="NUM">1</field>
                                                                                                        </shadow>
                                                                                                      </value>
                                                                                                      <next>
                                                                                                        <block type="controls_if" id="/4@,7ITq|fkG(r^:e^[N">
                                                                                                          <value name="IF0">
                                                                                                            <block type="logic_multi_or" id="/`rr:nZB~9f7OOSmSU2/">
                                                                                                              <mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation>
                                                                                                              <value name="OR0">
                                                                                                                <block type="logic_multi_and" id="Y$^|8rbdkmRR4idlE~#-">
                                                                                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation>
                                                                                                                  <value name="AND0">
                                                                                                                    <block type="logic_compare" id="r@qv*ua)##@+0_k31?$-">
                                                                                                                      <field name="OP">GT</field>
                                                                                                                      <value name="A">
                                                                                                                        <block type="variables_get" id="LC)oTT,P*6J9R].ky*Xq">
                                                                                                                          <field name="VAR" id="8}u}NRqFOR(RhuI:|mko">StromFuerNetzABS</field>
                                                                                                                        </block>
                                                                                                                      </value>
                                                                                                                      <value name="B">
                                                                                                                        <block type="math_number" id="[gb|7e@$td/QohUzKGjR">
                                                                                                                          <field name="NUM">50</field>
                                                                                                                        </block>
                                                                                                                      </value>
                                                                                                                    </block>
                                                                                                                  </value>
                                                                                                                  <value name="AND1">
                                                                                                                    <block type="logic_compare" id="0b?L$+BF9L+iMF2`gF(z">
                                                                                                                      <field name="OP">GT</field>
                                                                                                                      <value name="A">
                                                                                                                        <block type="variables_get" id="xDMZiMIToxRr#-#hzNs9">
                                                                                                                          <field name="VAR" id="/;n%+?^Bo%(R_m:==5kA">Zaehler</field>
                                                                                                                        </block>
                                                                                                                      </value>
                                                                                                                      <value name="B">
                                                                                                                        <block type="math_number" id="LjrW7!n%.jThr}JxkaLZ">
                                                                                                                          <field name="NUM">5</field>
                                                                                                                        </block>
                                                                                                                      </value>
                                                                                                                    </block>
                                                                                                                  </value>
                                                                                                                </block>
                                                                                                              </value>
                                                                                                              <value name="OR1">
                                                                                                                <block type="logic_compare" id="q+CshyocS8VlFICJ]]HW">
                                                                                                                  <field name="OP">GT</field>
                                                                                                                  <value name="A">
                                                                                                                    <block type="variables_get" id="viAXd8;r{[,lu*87JJ8C">
                                                                                                                      <field name="VAR" id="/;n%+?^Bo%(R_m:==5kA">Zaehler</field>
                                                                                                                    </block>
                                                                                                                  </value>
                                                                                                                  <value name="B">
                                                                                                                    <block type="math_number" id="z`~93~GlKG?Rm~OMq)cF">
                                                                                                                      <field name="NUM">15</field>
                                                                                                                    </block>
                                                                                                                  </value>
                                                                                                                </block>
                                                                                                              </value>
                                                                                                            </block>
                                                                                                          </value>
                                                                                                          <statement name="DO0">
                                                                                                            <block type="control" id="mA9mt]58dups%39iHJE,">
                                                                                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                                              <field name="OID">0_userdata.0.Keller.StromAbgabeSollwertErrechnet</field>
                                                                                                              <field name="WITH_DELAY">FALSE</field>
                                                                                                              <value name="VALUE">
                                                                                                                <block type="variables_get" id="ag:LNe-3s^cFYadPS`2G">
                                                                                                                  <field name="VAR" id="BES/[o|.r[`RnV:P@rsR">StromFuerNetz</field>
                                                                                                                </block>
                                                                                                              </value>
                                                                                                              <next>
                                                                                                                <block type="variables_set" id="xjaB?4bxepDDa}^zB$u3">
                                                                                                                  <field name="VAR" id="2SX,.OJb~*_IWN8T:D(C">StromFuerNetzALT</field>
                                                                                                                  <value name="VALUE">
                                                                                                                    <block type="variables_get" id="5UJVQukqzfb{q~5`;h?U">
                                                                                                                      <field name="VAR" id="BES/[o|.r[`RnV:P@rsR">StromFuerNetz</field>
                                                                                                                    </block>
                                                                                                                  </value>
                                                                                                                  <next>
                                                                                                                    <block type="variables_set" id="$5v`d+87BYssP{GDwM%o">
                                                                                                                      <field name="VAR" id="/;n%+?^Bo%(R_m:==5kA">Zaehler</field>
                                                                                                                      <value name="VALUE">
                                                                                                                        <block type="math_number" id="2B}7KIf0.(.o1jq1r`BB">
                                                                                                                          <field name="NUM">0</field>
                                                                                                                        </block>
                                                                                                                      </value>
                                                                                                                    </block>
                                                                                                                  </next>
                                                                                                                </block>
                                                                                                              </next>
                                                                                                            </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>
                                              </statement>
                                              <next>
                                                <block type="variables_set" id="7b)48muFc5ce68$#lyD]">
                                                  <field name="VAR" id="2SX,.OJb~*_IWN8T:D(C">StromFuerNetzALT</field>
                                                  <value name="VALUE">
                                                    <block type="math_number" id="_GQT_Gg+X?+Log13qZB9">
                                                      <field name="NUM">0</field>
                                                    </block>
                                                  </value>
                                                  <next>
                                                    <block type="variables_set" id="Oiibk!gqJAZd[o1`Xbq7">
                                                      <field name="VAR" id="/;n%+?^Bo%(R_m:==5kA">Zaehler</field>
                                                      <value name="VALUE">
                                                        <block type="math_number" id="-6M}.ZLDwUB*hl=OPUxg">
                                                          <field name="NUM">0</field>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </next>
                                                </block>
                                              </next>
                                            </block>
                                          </xml>
                                          
                                          UweRLPU Offline
                                          UweRLPU Offline
                                          UweRLP
                                          schrieb am zuletzt editiert von
                                          #354

                                          Ich habe das mal nach https://forum.iobroker.net/topic/82349/anker-solix-solarbank-steuerung-per-tibber-pulse-mit-blockly/1 gelegt, hat ja nicht wirklich was mit dem Adapter zu tun.

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


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          857

                                          Online

                                          32.4k

                                          Benutzer

                                          81.4k

                                          Themen

                                          1.3m

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

                                          • Du hast noch kein Konto? Registrieren

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