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>