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.
  • 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 Online
    CinimodC Online
    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
                    • R ronny130286

                      @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 Offline
                      D Offline
                      Denzel 0
                      schrieb am zuletzt editiert von
                      #355

                      @ronny130286
                      Hallo,
                      ich habe in den Instanzen den benutzerdefinierten Zeitplan aktiviert.
                      Dort habe ich von 0:00-05:00 Uhr die AC Ladung aktiviert.
                      Ab 05:01 Uhr habe ich den benutzerdefinierten Modus eingeschaltet.
                      Mein Problem ist, das nicht auf den benutzerdefinierten Modus zurückgestellt wird. In der App wird angezeigt, dass dies erst um 12:00 Uhr passiert.
                      Hat jemand eine Idee?

                      1 Antwort Letzte Antwort
                      0
                      • H hacki11

                        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 Offline
                        R Offline
                        ronny130286
                        schrieb am zuletzt editiert von ronny130286
                        #356

                        @hacki11 said in Anker Adapter:

                        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

                        Die liegt daran, dass Anker die Cloud Daten nur alle x Minuten aktualisiert. Der Adapter holt sich die Daten aktuell nur aus der Cloud. Die App jedoch spricht direkt über MQTT mit der Solarbank, deshalb bekommt man die Daten in der App schneller angezeigt und es gibt sogar Werte die nur in der App zur Verfügung stehen und nicht an die Cloud übergeben werden (bspw. Temperaturen).
                        Das hatte ich hier schon mal beschrieben

                        @ronny130286 said in Anker Adapter:

                        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.

                        @denzel-0 said in Anker Adapter:

                        @ronny130286
                        Hallo,
                        ich habe in den Instanzen den benutzerdefinierten Zeitplan aktiviert.
                        Dort habe ich von 0:00-05:00 Uhr die AC Ladung aktiviert.
                        Ab 05:01 Uhr habe ich den benutzerdefinierten Modus eingeschaltet.
                        Mein Problem ist, das nicht auf den benutzerdefinierten Modus zurückgestellt wird. In der App wird angezeigt, dass dies erst um 12:00 Uhr passiert.
                        Hat jemand eine Idee?

                        Du gibst ja nur eine Startzeit an, das heißt 5Uhr müsstest du noch einen anderen Start angeben bspw. wechseln in Eigenverbrauch. Da aber der AC Modus immer einen Start und Endzeit braucht, habe ich die fest im Adapter auf +12std eingestellt.

                        H 1 Antwort Letzte Antwort
                        1
                        • R ronny130286

                          @hacki11 said in Anker Adapter:

                          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

                          Die liegt daran, dass Anker die Cloud Daten nur alle x Minuten aktualisiert. Der Adapter holt sich die Daten aktuell nur aus der Cloud. Die App jedoch spricht direkt über MQTT mit der Solarbank, deshalb bekommt man die Daten in der App schneller angezeigt und es gibt sogar Werte die nur in der App zur Verfügung stehen und nicht an die Cloud übergeben werden (bspw. Temperaturen).
                          Das hatte ich hier schon mal beschrieben

                          @ronny130286 said in Anker Adapter:

                          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.

                          @denzel-0 said in Anker Adapter:

                          @ronny130286
                          Hallo,
                          ich habe in den Instanzen den benutzerdefinierten Zeitplan aktiviert.
                          Dort habe ich von 0:00-05:00 Uhr die AC Ladung aktiviert.
                          Ab 05:01 Uhr habe ich den benutzerdefinierten Modus eingeschaltet.
                          Mein Problem ist, das nicht auf den benutzerdefinierten Modus zurückgestellt wird. In der App wird angezeigt, dass dies erst um 12:00 Uhr passiert.
                          Hat jemand eine Idee?

                          Du gibst ja nur eine Startzeit an, das heißt 5Uhr müsstest du noch einen anderen Start angeben bspw. wechseln in Eigenverbrauch. Da aber der AC Modus immer einen Start und Endzeit braucht, habe ich die fest im Adapter auf +12std eingestellt.

                          H Offline
                          H Offline
                          hacki11
                          schrieb am zuletzt editiert von hacki11
                          #357

                          @ronny130286 https://github.com/thomluther/anker-solix-api#monitorpy erlaubt die Daten via Anker Cloud MQTT Server zu empfangen und sie haben auch herausgefunden, wie man den Realtime Mode aktiviert, den auch die App verlangt. Allein dadurch sind dann auch die Daten aktuell, die dein Adapter von der anderen API abholt.

                          Natürlich wäre eine Art MQTT Bridge wünschenswert, da hier die Daten automatisch alle 3s empfangen werden aber bis dahin ist natürlich das Polling mit aktuellen Daten auch gut. Welche (negativen) Seiteneffekt das dauerhafte Aktivieren des Realtime Modes mit sich bringt kann ich nicht abschätzen. Wäre interessant ob Anker hier Sanktionen erteilt.

                          Bei mir kommen viele brauchbare Werte raus, auch im 3s Raster.

                          System (+00:00): Solarbank  (Site ID: redacted)
                          Type ID        : 12 (Solarbank)          Device Models  : A17C5
                          Energy Time    : redacted     Last Check     : redacted
                          Cloud-Updated  : redacted     Valid Data     : YES (Requeries: 0)
                          SOC Total      :   19 %                  Dischrg Pwr Tot:  799 W
                          Solar  Pwr Tot :    0 W                  Battery Pwr Tot: -799 W
                          Output Pwr Tot :  799 W                  Home Load Tot  :  800 W
                          Ext PV Surplus :    0 W                  Switch 0W      : OFF
                          Legal Pwr Limit: 1200 W                  Parallel Type  : Single
                          Active Mode    : Manual (3)              Heating        : OFF
                          AI Collection  : redacted            Collect Status : Inactive (0)
                          --------------------------------------------------------------------------------
                          Device [A17C5] : Solarbank 3 E2700 Pro   Alias          : Solarbank 3 E2700 Pro
                          Serialnumber   : redacted       Admin          : YES
                          Wireless Type  : 1 (Wifi)                Bluetooth MAC  : redacted
                          Wifi SSID      : redacted           Wifi MAC       : redacted
                          Wifi State     : Online                  Signal         :   62 % (-69 dBm)
                          SW Version     : v1.0.3.7 (Latest)       Auto-Upgrade   : Disabled (OTA v1.0.3.7)
                           -Component    : A17C5_100Ah (Latest)     -Version      : v0.3.3.7
                           -Component    : A17C5_esp32 (Latest)     -Version      : v0.2.8.8
                           -Component    : A17C5_mcu (Latest)       -Version      : v1.0.3.7
                          Cloud Status   : Online                  Status Code    : 1
                          Charge Status  : Discharge               Status Code    : 0
                          State Of Charge:   19 %                  Min SOC        :   10 %
                          Battery Energy : 1021 Wh                 Capacity       : 5376 Wh
                          Exp. Batteries :    1 Pcs                AC Socket      :    0 W
                          Power Limit    :    0 W                  AC Input Limit :    0 W
                          Pwr Limit Opt  : Auto                    Limit Opt Real : ------
                          Solar Limit    : 3600 W                  Grid export    :   ON
                          Solar Power    :    0 W                  Output Power   :  799 W
                          Solar Ch_1     :    0 W (PV1)            Solar Ch_2     :    0 W (PV2)
                          Solar Ch_3     :    0 W (PV3)            Solar Ch_4     :    0 W (PV4)
                          Grid to Battery:    0 W                  AC Input Power :    0 W
                          Battery Charge :    0 W                  Battery Dischrg:  799 W
                          Battery Power  : -799 W                  Device Preset  :  800 W
                          Home Demand    :  799 W                  SB Home Load   :  800 W  (+)
                          Smart Plugs    :  --- W                  Other (Plan)   :  799 W
                          Schedule  (Now): redacted      System Preset  :  800 W
                          Usage Mode: Manual (3)       Def. Preset:  200 W   (Range: 0 - 1200 W)
                          
                          R 1 Antwort Letzte Antwort
                          0
                          • H hacki11

                            @ronny130286 https://github.com/thomluther/anker-solix-api#monitorpy erlaubt die Daten via Anker Cloud MQTT Server zu empfangen und sie haben auch herausgefunden, wie man den Realtime Mode aktiviert, den auch die App verlangt. Allein dadurch sind dann auch die Daten aktuell, die dein Adapter von der anderen API abholt.

                            Natürlich wäre eine Art MQTT Bridge wünschenswert, da hier die Daten automatisch alle 3s empfangen werden aber bis dahin ist natürlich das Polling mit aktuellen Daten auch gut. Welche (negativen) Seiteneffekt das dauerhafte Aktivieren des Realtime Modes mit sich bringt kann ich nicht abschätzen. Wäre interessant ob Anker hier Sanktionen erteilt.

                            Bei mir kommen viele brauchbare Werte raus, auch im 3s Raster.

                            System (+00:00): Solarbank  (Site ID: redacted)
                            Type ID        : 12 (Solarbank)          Device Models  : A17C5
                            Energy Time    : redacted     Last Check     : redacted
                            Cloud-Updated  : redacted     Valid Data     : YES (Requeries: 0)
                            SOC Total      :   19 %                  Dischrg Pwr Tot:  799 W
                            Solar  Pwr Tot :    0 W                  Battery Pwr Tot: -799 W
                            Output Pwr Tot :  799 W                  Home Load Tot  :  800 W
                            Ext PV Surplus :    0 W                  Switch 0W      : OFF
                            Legal Pwr Limit: 1200 W                  Parallel Type  : Single
                            Active Mode    : Manual (3)              Heating        : OFF
                            AI Collection  : redacted            Collect Status : Inactive (0)
                            --------------------------------------------------------------------------------
                            Device [A17C5] : Solarbank 3 E2700 Pro   Alias          : Solarbank 3 E2700 Pro
                            Serialnumber   : redacted       Admin          : YES
                            Wireless Type  : 1 (Wifi)                Bluetooth MAC  : redacted
                            Wifi SSID      : redacted           Wifi MAC       : redacted
                            Wifi State     : Online                  Signal         :   62 % (-69 dBm)
                            SW Version     : v1.0.3.7 (Latest)       Auto-Upgrade   : Disabled (OTA v1.0.3.7)
                             -Component    : A17C5_100Ah (Latest)     -Version      : v0.3.3.7
                             -Component    : A17C5_esp32 (Latest)     -Version      : v0.2.8.8
                             -Component    : A17C5_mcu (Latest)       -Version      : v1.0.3.7
                            Cloud Status   : Online                  Status Code    : 1
                            Charge Status  : Discharge               Status Code    : 0
                            State Of Charge:   19 %                  Min SOC        :   10 %
                            Battery Energy : 1021 Wh                 Capacity       : 5376 Wh
                            Exp. Batteries :    1 Pcs                AC Socket      :    0 W
                            Power Limit    :    0 W                  AC Input Limit :    0 W
                            Pwr Limit Opt  : Auto                    Limit Opt Real : ------
                            Solar Limit    : 3600 W                  Grid export    :   ON
                            Solar Power    :    0 W                  Output Power   :  799 W
                            Solar Ch_1     :    0 W (PV1)            Solar Ch_2     :    0 W (PV2)
                            Solar Ch_3     :    0 W (PV3)            Solar Ch_4     :    0 W (PV4)
                            Grid to Battery:    0 W                  AC Input Power :    0 W
                            Battery Charge :    0 W                  Battery Dischrg:  799 W
                            Battery Power  : -799 W                  Device Preset  :  800 W
                            Home Demand    :  799 W                  SB Home Load   :  800 W  (+)
                            Smart Plugs    :  --- W                  Other (Plan)   :  799 W
                            Schedule  (Now): redacted      System Preset  :  800 W
                            Usage Mode: Manual (3)       Def. Preset:  200 W   (Range: 0 - 1200 W)
                            
                            R Offline
                            R Offline
                            ronny130286
                            schrieb am zuletzt editiert von
                            #358

                            @hacki11

                            das sieht bei dir deutlich besser aus als bei mir, bei mir ist das alles komplett unsortiert und durcheinander.
                            Welche Parameter hast du im Menü eingestellt?

                            H V 2 Antworten Letzte Antwort
                            0
                            • R ronny130286

                              @hacki11

                              das sieht bei dir deutlich besser aus als bei mir, bei mir ist das alles komplett unsortiert und durcheinander.
                              Welche Parameter hast du im Menü eingestellt?

                              H Offline
                              H Offline
                              hacki11
                              schrieb am zuletzt editiert von
                              #359

                              @ronny130286 MQTT Session ON und Realtime ON. Ansonsten nur User, password, und DE.

                              1 Antwort Letzte Antwort
                              0
                              • R ronny130286

                                @thisoft

                                Der obere Wert ist der Wattwert der gesteuert werden soll und unten kommt die SiteId rein welche gesteuert werden soll.

                                Wenn ich das auf dem Smartphone richtig sehe, hast du es schon richtig eingegeben.

                                Änderst du jetzt den Wert, sollte er es in deiner Solix unter benutzerdefiniert setzen.

                                T Offline
                                T Offline
                                Takahara
                                schrieb am zuletzt editiert von
                                #360

                                @ronny130286

                                ich hätte noch mal kurz zwei Fragen.
                                Eigentlich ist es ja mittlerweile selbsterklärend, dass der Datenpunkt, auf den getriggert werden soll – also der aktuelle Leistungsbezug bzw. die Abgabe am Hausübergabepunkt (Stromzähler) – die Grundlage für die Regelung ist.

                                Ich habe die Werte entsprechend eingegeben und zu Testzwecken beim Datenpunkt, auf den geregelt werden soll, einfach mal 150 W hinterlegt.

                                Ich würde nun vermuten, dass dieser Wert alle 60 Sekunden überprüft wird und dann die Ausgangsleistung in meiner Anker-Solix-Umgebung entsprechend angepasst wird.
                                Allerdings sehe ich in der Anker-Solix-App weiterhin meinen Standardwert von 240 W als Ausgangsleistung.

                                Habe ich hier noch ein Verständnisproblem, oder ist das eventuell ein Punkt, der sich mit einer späteren Anpassung noch ändern könnte?

                                2025-10-12 13_43_14-Foto – Mediathek – iCloud Fotos.png

                                2025-10-12 13_34_54-instances - smarthomeraspi.png 2025-10-12 13_34_21-Einstellungen.png

                                2025-10-12 13_44_47-objects - smarthomeraspi.png

                                Vielen Dank im Vorraus
                                Takahara!

                                T R 2 Antworten Letzte Antwort
                                0
                                • T Takahara

                                  @ronny130286

                                  ich hätte noch mal kurz zwei Fragen.
                                  Eigentlich ist es ja mittlerweile selbsterklärend, dass der Datenpunkt, auf den getriggert werden soll – also der aktuelle Leistungsbezug bzw. die Abgabe am Hausübergabepunkt (Stromzähler) – die Grundlage für die Regelung ist.

                                  Ich habe die Werte entsprechend eingegeben und zu Testzwecken beim Datenpunkt, auf den geregelt werden soll, einfach mal 150 W hinterlegt.

                                  Ich würde nun vermuten, dass dieser Wert alle 60 Sekunden überprüft wird und dann die Ausgangsleistung in meiner Anker-Solix-Umgebung entsprechend angepasst wird.
                                  Allerdings sehe ich in der Anker-Solix-App weiterhin meinen Standardwert von 240 W als Ausgangsleistung.

                                  Habe ich hier noch ein Verständnisproblem, oder ist das eventuell ein Punkt, der sich mit einer späteren Anpassung noch ändern könnte?

                                  2025-10-12 13_43_14-Foto – Mediathek – iCloud Fotos.png

                                  2025-10-12 13_34_54-instances - smarthomeraspi.png 2025-10-12 13_34_21-Einstellungen.png

                                  2025-10-12 13_44_47-objects - smarthomeraspi.png

                                  Vielen Dank im Vorraus
                                  Takahara!

                                  T Offline
                                  T Offline
                                  Takahara
                                  schrieb am zuletzt editiert von
                                  #361

                                  @takahara

                                  Lag wohl am Admin Zugriff. Danke euch...

                                  1 Antwort Letzte Antwort
                                  0
                                  • T Takahara

                                    @ronny130286

                                    ich hätte noch mal kurz zwei Fragen.
                                    Eigentlich ist es ja mittlerweile selbsterklärend, dass der Datenpunkt, auf den getriggert werden soll – also der aktuelle Leistungsbezug bzw. die Abgabe am Hausübergabepunkt (Stromzähler) – die Grundlage für die Regelung ist.

                                    Ich habe die Werte entsprechend eingegeben und zu Testzwecken beim Datenpunkt, auf den geregelt werden soll, einfach mal 150 W hinterlegt.

                                    Ich würde nun vermuten, dass dieser Wert alle 60 Sekunden überprüft wird und dann die Ausgangsleistung in meiner Anker-Solix-Umgebung entsprechend angepasst wird.
                                    Allerdings sehe ich in der Anker-Solix-App weiterhin meinen Standardwert von 240 W als Ausgangsleistung.

                                    Habe ich hier noch ein Verständnisproblem, oder ist das eventuell ein Punkt, der sich mit einer späteren Anpassung noch ändern könnte?

                                    2025-10-12 13_43_14-Foto – Mediathek – iCloud Fotos.png

                                    2025-10-12 13_34_54-instances - smarthomeraspi.png 2025-10-12 13_34_21-Einstellungen.png

                                    2025-10-12 13_44_47-objects - smarthomeraspi.png

                                    Vielen Dank im Vorraus
                                    Takahara!

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

                                    @takahara

                                    Gut das du es schon selbst gefunden hast, aber noch ein Hinweis:

                                    @takahara said in Anker Adapter:

                                    Ich würde nun vermuten, dass dieser Wert alle 60 Sekunden überprüft wird und dann die Ausgangsleistung in meiner Anker-Solix-Umgebung entsprechend angepasst wird.

                                    Der Adapter überprüft das nicht alle 60 Sek, die Zeit im Adapter (Pollingtime) bezieht sich nur auf das auslesen.
                                    Der Adapter überwacht den Datenpunkt und reagiert auf Änderung des Wertes, d.h. änderst du den Wert alle 10sek, wird er auch alle 10sek übergeben (unabhängig von der Pollingtime).

                                    Wie weit man das Ganze treiben kann bevor Anker dort eingreift, kann ich allerdings nicht sagen (persönlich würde ich es nicht versuchen, dort wie ein Smartmeter alle 3 Sek die Werte zu ändern).

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

                                      Habe ich das richtig verstanden, dass ich die Leistungsabgabe vom Anker nur im Benutzerdefinierten Modus steuern kann?

                                      Ich arbeite in der App mit dem Zeitplan-Modus. Diese wird beim setzten eines Wertes im iObroker auf Benutzerdefiniert gesetzt und gibt dann die Leistung aus, die in den Datenpunkt geschrieben wurde.

                                      Wie kann ich danach dann wieder in den Zeitplan-Modus wechseln um alles wieder automatisch steuern zu lassen?

                                      1 Antwort Letzte Antwort
                                      0
                                      • Marcel MeisselM Offline
                                        Marcel MeisselM Offline
                                        Marcel Meissel
                                        schrieb am zuletzt editiert von
                                        #364

                                        Ich habe heute den V1 EV Charger von Anker (Wallbox) installiert bekommen. Im Adapter gibt es allerdings keine Datenpunkte zur Wallbox bisher. Falls ich irgendwas zur Unterstützung im System beitragen kann, lasst es mich wissen!

                                        1 Antwort Letzte Antwort
                                        0
                                        • H Offline
                                          H Offline
                                          HeinzOs
                                          schrieb am zuletzt editiert von
                                          #365

                                          Moin, ich erhielt letzten Samstag im IOBroker den Hinweis den "Anker Solix 2" von Version 2.3.0 auf 2.4.1 upzudaten. Nach dem Update wurde die Instanz auch wieder grün, und alles sah o.k. aus. Leider bekomme ich seit dem Update keine Daten mehr im IOBroker. Die App funktioniert noch einwandfrei. Auch mehrfaches neu starten des Adapter ändert an der Situation nichts. Der Adapter bringt keine Fehler und alles sieht normal aus, liefert nur keine Daten mehr. Heute habe ich zusätzlich noch die Firmware in der Solarstation upgedated. Auch das brachte keine Veränderung. Ich habe nun mein Backup zurück geladen, und somit wieder die 2.3.0 aktiviert. Damit liefert der Adapter auch wieder Daten. Hat jemand auch so ein Phänomen gehabt? Jemand eine Lösung dafür?

                                          B Thomas BraunT 2 Antworten Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          761

                                          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