<xml xmlns="https://developers.google.com/blockly/xml">
<variables>
<variable id="Q16T?q8~$AAn_6kTmv;0">PVUeberschuss</variable>
</variables>
<block type="comment" id="3YR5uPOv,g:h|np.{^IN" x="362" y="-1137">
<field name="COMMENT">Easee adapter Neustarten falls offline</field>
<next>
<block type="on" id=",4/I-vN][U{$fUL_JR/g">
<field name="OID">system.adapter.easee.0.alive</field>
<field name="CONDITION">ne</field>
<field name="ACK_CONDITION"></field>
<statement name="STATEMENT">
<block type="controls_if" id="BZBR,EOv?`8t;swDJLLr">
<value name="IF0">
<block type="logic_compare" id="0=8P{@`Lxj0MPF!7lg{:">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id=".Sr}R1+Zo!JLY_|EprMh">
<field name="ATTR">val</field>
<field name="OID">system.adapter.easee.0.alive</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id="J)fb9IR@%JB,=Irr.+rS">
<field name="BOOL">FALSE</field>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="control" id="|rtc=:41{Y/_(3H/!+av">
<mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
<field name="OID">system.adapter.easee.0.alive</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id="c#wyi]43V`;KPzBL{8DA">
<field name="BOOL">FALSE</field>
</block>
</value>
<next>
<block type="control" id="yxpbeEsWKayG@s1DnS;h">
<mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
<field name="OID">system.adapter.easee.0.alive</field>
<field name="WITH_DELAY">TRUE</field>
<field name="DELAY_MS">5</field>
<field name="UNIT">sec</field>
<field name="CLEAR_RUNNING">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id="~PFRl$.1#Qe45Tudxn;y">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</next>
</block>
</statement>
</block>
</statement>
<next>
<block type="comment" id="ZE$U9x~,A#nxoBGT``hd">
<field name="COMMENT">Easee adapter Neustarten falls offline</field>
<next>
<block type="on" id="4/#9-y21dY$@zfqKc|C:">
<field name="OID">system.adapter.easee.0.connected</field>
<field name="CONDITION">ne</field>
<field name="ACK_CONDITION"></field>
<statement name="STATEMENT">
<block type="controls_if" id="y6z0W$A|1Dhr;o./b9#2">
<value name="IF0">
<block type="logic_compare" id="=%h@{#1kuGdAJ)BXyhNJ">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="o,TNj^Y7N!*O-_S*WVRZ">
<field name="ATTR">val</field>
<field name="OID">system.adapter.easee.0.connected</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id="7c%9{e*cF4q+Qqn#|wQi">
<field name="BOOL">FALSE</field>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="control" id="NIk9xe/KyT.eWrrGy3D~">
<mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
<field name="OID">system.adapter.easee.0.alive</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id="vN{zSoy+/ti[rXba$ykE">
<field name="BOOL">FALSE</field>
</block>
</value>
<next>
<block type="control" id="1Fl00@.ynT`gFsaud`}R">
<mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
<field name="OID">system.adapter.easee.0.alive</field>
<field name="WITH_DELAY">TRUE</field>
<field name="DELAY_MS">5</field>
<field name="UNIT">sec</field>
<field name="CLEAR_RUNNING">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id="kg%mZ.9%_y==k/!ylJ_M">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</next>
</block>
</statement>
</block>
</statement>
<next>
<block type="comment" id="u)a491vcep9Dk%}Ej.7/">
<field name="COMMENT">einfacher Zähler zum ermitteln der PV Überschussladung oder Ladung per Netzbezug (ungenau, Werte nur zur Orientierung)</field>
<next>
<block type="schedule" id="vKte!f+V.6^#hIm]Cf,`">
<field name="SCHEDULE">*/10 * * * * *</field>
<statement name="STATEMENT">
<block type="controls_if" id="0+okYK;dx,)P6]v1W$fP">
<mutation else="1"></mutation>
<value name="IF0">
<block type="logic_compare" id=".o-i;F%]D={@Q3cN!s{:">
<field name="OP">GT</field>
<value name="A">
<block type="math_arithmetic" id="]`5Kz3^0]knsb7KK,Y8[">
<field name="OP">MINUS</field>
<value name="A">
<shadow type="math_number">
<field name="NUM">1</field>
</shadow>
<block type="get_value" id="[KHwv.Urpej?(WzbNq~N">
<field name="ATTR">val</field>
<field name="OID">plenticore.0.devices.local.Pv_P</field>
</block>
</value>
<value name="B">
<shadow type="math_number">
<field name="NUM">1</field>
</shadow>
<block type="math_arithmetic" id="ZlH:{4^E-OTK+eJ(`q|Y">
<field name="OP">MINUS</field>
<value name="A">
<shadow type="math_number">
<field name="NUM">1</field>
</shadow>
<block type="get_value" id="ubDZ%`gE58Y}nrOhcU3Q">
<field name="ATTR">val</field>
<field name="OID">plenticore.0.devices.local.Home_P</field>
</block>
</value>
<value name="B">
<shadow type="math_number">
<field name="NUM">1</field>
</shadow>
<block type="math_arithmetic" id="=*15k#RF,D75CX8x`~c@">
<field name="OP">MULTIPLY</field>
<value name="A">
<shadow type="math_number">
<field name="NUM">1</field>
</shadow>
<block type="get_value" id="6,2p1]nyl9:iLxjGvts2">
<field name="ATTR">val</field>
<field name="OID">easee.0.XXXX1234.status.totalPower</field>
</block>
</value>
<value name="B">
<shadow type="math_number" id="!J?3kszjfehxpP+.NDkY">
<field name="NUM">1000</field>
</shadow>
</value>
</block>
</value>
</block>
</value>
</block>
</value>
<value name="B">
<block type="math_number" id="FH}`EMx.5+)J?,*1d!x#">
<field name="NUM">0</field>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="variables_set" id="$*-NaBinqWDBBq3!T}Ju">
<field name="VAR" id="Q16T?q8~$AAn_6kTmv;0">PVUeberschuss</field>
<value name="VALUE">
<block type="math_arithmetic" id="tjqy~7DsJ86?3*8Fz!.;">
<field name="OP">MINUS</field>
<value name="A">
<shadow type="math_number">
<field name="NUM">1</field>
</shadow>
<block type="get_value" id="XEMY[A$]]TI^qF%L3d#o">
<field name="ATTR">val</field>
<field name="OID">plenticore.0.devices.local.Pv_P</field>
</block>
</value>
<value name="B">
<shadow type="math_number">
<field name="NUM">1</field>
</shadow>
<block type="math_arithmetic" id="cq/lzQuLm#xrG7nYNOaN">
<field name="OP">MINUS</field>
<value name="A">
<shadow type="math_number">
<field name="NUM">1</field>
</shadow>
<block type="get_value" id="~/t2nq0#gF?IKha3J[s_">
<field name="ATTR">val</field>
<field name="OID">plenticore.0.devices.local.Home_P</field>
</block>
</value>
<value name="B">
<shadow type="math_number">
<field name="NUM">1</field>
</shadow>
<block type="math_arithmetic" id="yiVA^eEj^+oXB8RM}2$M">
<field name="OP">MULTIPLY</field>
<value name="A">
<shadow type="math_number">
<field name="NUM">1</field>
</shadow>
<block type="get_value" id="D9b0NQA7AWC%A~gX/E22">
<field name="ATTR">val</field>
<field name="OID">easee.0.XXXX1234.status.totalPower</field>
</block>
</value>
<value name="B">
<shadow type="math_number" id="}lIF1NyZWxonGE;r%YF|">
<field name="NUM">1000</field>
</shadow>
</value>
</block>
</value>
</block>
</value>
</block>
</value>
</block>
</statement>
<statement name="ELSE">
<block type="variables_set" id="v-U]zHnmhem/;KekE#oH">
<field name="VAR" id="Q16T?q8~$AAn_6kTmv;0">PVUeberschuss</field>
<value name="VALUE">
<block type="math_number" id="hf=QBW50/iEWX2RLW}D2">
<field name="NUM">0</field>
</block>
</value>
</block>
</statement>
<next>
<block type="controls_if" id="%p#R1gK,Qf{MyekS*j(5">
<value name="IF0">
<block type="logic_operation" id="C[U@5A0!k8`ygAxb#}Cj">
<field name="OP">AND</field>
<value name="A">
<block type="logic_compare" id="v6C|nJH=Z[G71.h7{_A]">
<field name="OP">GT</field>
<value name="A">
<block type="math_arithmetic" id=")u!E5!3zw.X4,!(M{O]D">
<field name="OP">MULTIPLY</field>
<value name="A">
<shadow type="math_number">
<field name="NUM">1</field>
</shadow>
<block type="get_value" id="2}KOg3@lspTr!E-oA*n?">
<field name="ATTR">val</field>
<field name="OID">easee.0.XXXX1234.status.totalPower</field>
</block>
</value>
<value name="B">
<shadow type="math_number" id="~s%R9SA8][-)R^,|GA)|">
<field name="NUM">1000</field>
</shadow>
</value>
</block>
</value>
<value name="B">
<block type="math_number" id=":VKs*M72Eq:TZMT}OF{B">
<field name="NUM">100</field>
</block>
</value>
</block>
</value>
<value name="B">
<block type="logic_compare" id="!%9p4ut+j)izDA[h(|z.">
<field name="OP">LTE</field>
<value name="A">
<block type="math_arithmetic" id="U4TIfzunP9nI)Gk1g{J+">
<field name="OP">MULTIPLY</field>
<value name="A">
<shadow type="math_number">
<field name="NUM">1</field>
</shadow>
<block type="get_value" id="Jb[#LAb!oCK#vo-[z~Jr">
<field name="ATTR">val</field>
<field name="OID">easee.0.XXXX1234.status.totalPower</field>
</block>
</value>
<value name="B">
<shadow type="math_number" id=",c`VKl*nx]iY6X~-OMVQ">
<field name="NUM">1000</field>
</shadow>
</value>
</block>
</value>
<value name="B">
<block type="variables_get" id="s!?C0$k%b+$)ea7{.yKT">
<field name="VAR" id="Q16T?q8~$AAn_6kTmv;0">PVUeberschuss</field>
</block>
</value>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="control" id="v719#Zs@|Ya~?fu)~m/T">
<mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
<field name="OID">0_userdata.0.Stromverbrauch.LadeleistungMitPvÜberschuss</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="math_arithmetic" id="0yfwo`a0*ZWP6zb0p6J_">
<field name="OP">ADD</field>
<value name="A">
<shadow type="math_number">
<field name="NUM">1</field>
</shadow>
<block type="get_value" id="gQDbYpKMrw/wVhVy@G*u">
<field name="ATTR">val</field>
<field name="OID">0_userdata.0.Stromverbrauch.LadeleistungMitPvÜberschuss</field>
</block>
</value>
<value name="B">
<shadow type="math_number">
<field name="NUM">1</field>
</shadow>
<block type="math_arithmetic" id="Hkh6n!!(-l2+M78b@0Qo">
<field name="OP">DIVIDE</field>
<value name="A">
<shadow type="math_number">
<field name="NUM">1</field>
</shadow>
<block type="math_arithmetic" id="U/kB-0tjvMNKrZi%!~.G">
<field name="OP">MULTIPLY</field>
<value name="A">
<shadow type="math_number">
<field name="NUM">1</field>
</shadow>
<block type="get_value" id="ZRzk{4P4.ENq*,K2h)=7">
<field name="ATTR">val</field>
<field name="OID">easee.0.XXXX1234.status.totalPower</field>
</block>
</value>
<value name="B">
<shadow type="math_number" id="W|/gbx^ABiBa%|7K0u]0">
<field name="NUM">1000</field>
</shadow>
</value>
</block>
</value>
<value name="B">
<shadow type="math_number" id="E,!c?q7VtgY/ol02qP4z">
<field name="NUM">360</field>
</shadow>
</value>
</block>
</value>
</block>
</value>
<next>
<block type="control" id="cZZcG^Zh]yw:E0WQ]T8?">
<mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
<field name="OID">0_userdata.0.Stromverbrauch.LadeleistungMitPvUeberschussTag</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="math_arithmetic" id="Jc65zwaK^l}TQOxXQD`A">
<field name="OP">ADD</field>
<value name="A">
<shadow type="math_number">
<field name="NUM">1</field>
</shadow>
<block type="get_value" id="aOt$aAkrJ`Ld7ef$!4y5">
<field name="ATTR">val</field>
<field name="OID">0_userdata.0.Stromverbrauch.LadeleistungMitPvUeberschussTag</field>
</block>
</value>
<value name="B">
<shadow type="math_number">
<field name="NUM">1</field>
</shadow>
<block type="math_arithmetic" id="8sX8QyJ.x)sFo)MdeOpM">
<field name="OP">DIVIDE</field>
<value name="A">
<shadow type="math_number">
<field name="NUM">1</field>
</shadow>
<block type="math_arithmetic" id="9p2!f+4ZeW,2k{^J[TP{">
<field name="OP">MULTIPLY</field>
<value name="A">
<shadow type="math_number">
<field name="NUM">1</field>
</shadow>
<block type="get_value" id="F5Liew50t[AQvd,#x.#f">
<field name="ATTR">val</field>
<field name="OID">easee.0.XXXX1234.status.totalPower</field>
</block>
</value>
<value name="B">
<shadow type="math_number" id="@+4i{Ui3pSz.MAh%M@o7">
<field name="NUM">1000</field>
</shadow>
</value>
</block>
</value>
<value name="B">
<shadow type="math_number" id="5p7A/Zmt3qTVK$e-89Ux">
<field name="NUM">360</field>
</shadow>
</value>
</block>
</value>
</block>
</value>
<next>
<block type="control" id=":J30k*r[E$9AqY5TFP16">
<mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
<field name="OID">0_userdata.0.Stromverbrauch.LadeleistungMitPvUeberschussMonat</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="math_arithmetic" id="g4[W?K]=(|E=)~n#gJ4O">
<field name="OP">ADD</field>
<value name="A">
<shadow type="math_number">
<field name="NUM">1</field>
</shadow>
<block type="get_value" id="JMF4:}c{J!U~1x?R]Y^F">
<field name="ATTR">val</field>
<field name="OID">0_userdata.0.Stromverbrauch.LadeleistungMitPvUeberschussMonat</field>
</block>
</value>
<value name="B">
<shadow type="math_number">
<field name="NUM">1</field>
</shadow>
<block type="math_arithmetic" id="[PSXr;PJqvaiYUN`?=Fn">
<field name="OP">DIVIDE</field>
<value name="A">
<shadow type="math_number">
<field name="NUM">1</field>
</shadow>
<block type="math_arithmetic" id="*lIS.;JU2$I-HNu7p78r">
<field name="OP">MULTIPLY</field>
<value name="A">
<shadow type="math_number">
<field name="NUM">1</field>
</shadow>
<block type="get_value" id="Xy6+c[WG3qUh}*9]0K[T">
<field name="ATTR">val</field>
<field name="OID">easee.0.XXXX1234.status.totalPower</field>
</block>
</value>
<value name="B">
<shadow type="math_number" id="K+nfG)Ej5f_xoE~m4Lac">
<field name="NUM">1000</field>
</shadow>
</value>
</block>
</value>
<value name="B">
<shadow type="math_number" id="GvK*9FiG44@tOjsNirsh">
<field name="NUM">360</field>
</shadow>
</value>
</block>
</value>
</block>
</value>
</block>
</next>
</block>
</next>
</block>
</statement>
<next>
<block type="controls_if" id="t)1/-|kQoIzdF|/m)P@%">
<value name="IF0">
<block type="logic_operation" id="lKP3!d60sY^9WicE]RCq">
<field name="OP">AND</field>
<value name="A">
<block type="logic_compare" id="+$^`Bj2)F=faxTPvEOam">
<field name="OP">GT</field>
<value name="A">
<block type="math_arithmetic" id="+SZznuq0RDLZ+:,k;g2B">
<field name="OP">MULTIPLY</field>
<value name="A">
<shadow type="math_number">
<field name="NUM">1</field>
</shadow>
<block type="get_value" id="-,`YI`TV}AwZl3Ck%ohz">
<field name="ATTR">val</field>
<field name="OID">easee.0.XXXX1234.status.totalPower</field>
</block>
</value>
<value name="B">
<shadow type="math_number" id="j]zq%DXY;K)2m,-?8)*0">
<field name="NUM">1000</field>
</shadow>
</value>
</block>
</value>
<value name="B">
<block type="math_number" id="AF6d-pa|3RcF98eOi-s+">
<field name="NUM">100</field>
</block>
</value>
</block>
</value>
<value name="B">
<block type="logic_compare" id="WC6~vG@%2c!MnE2z91ZM">
<field name="OP">GT</field>
<value name="A">
<block type="math_arithmetic" id="5fhw1PP4u%2)GP8t3!Y,">
<field name="OP">MULTIPLY</field>
<value name="A">
<shadow type="math_number">
<field name="NUM">1</field>
</shadow>
<block type="get_value" id="`@/#ARy6bXE%bvF,w#2[">
<field name="ATTR">val</field>
<field name="OID">easee.0.XXXX1234.status.totalPower</field>
</block>
</value>
<value name="B">
<shadow type="math_number" id="gb_]r/1}yR:YIi:8ibEC">
<field name="NUM">1000</field>
</shadow>
</value>
</block>
</value>
<value name="B">
<block type="variables_get" id="UIuxp?hyYP$2K{3PDpqv">
<field name="VAR" id="Q16T?q8~$AAn_6kTmv;0">PVUeberschuss</field>
</block>
</value>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="control" id="G(Vv(DI*ZA#CP6uTF!jh">
<mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
<field name="OID">0_userdata.0.Stromverbrauch.LadeleistungMitPvÜberschuss</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="math_arithmetic" id="*-Is08;-2xMPFTGCY2e`">
<field name="OP">ADD</field>
<value name="A">
<shadow type="math_number">
<field name="NUM">1</field>
</shadow>
<block type="get_value" id="*D9~5!y1~(EG!o]vAPA6">
<field name="ATTR">val</field>
<field name="OID">0_userdata.0.Stromverbrauch.LadeleistungMitPvÜberschuss</field>
</block>
</value>
<value name="B">
<shadow type="math_number">
<field name="NUM">1</field>
</shadow>
<block type="math_arithmetic" id="`r(U;/Fm^TYX7.|nuN?a">
<field name="OP">DIVIDE</field>
<value name="A">
<shadow type="math_number" id="XJo[:sBgjg9eEP/)-kHV">
<field name="NUM">1</field>
</shadow>
<block type="variables_get" id="P:fapL-Hh$a0vb:U(PG2">
<field name="VAR" id="Q16T?q8~$AAn_6kTmv;0">PVUeberschuss</field>
</block>
</value>
<value name="B">
<shadow type="math_number" id="_Nh?9nOSX*EWa#1e?Fql">
<field name="NUM">360</field>
</shadow>
</value>
</block>
</value>
</block>
</value>
<next>
<block type="control" id="j{(.1tr?P3I4SGzyc,wr">
<mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
<field name="OID">0_userdata.0.Stromverbrauch.LadeleistungMitPvUeberschussTag</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="math_arithmetic" id="~+ORDYF$F{R^+HLHgp]%">
<field name="OP">ADD</field>
<value name="A">
<shadow type="math_number">
<field name="NUM">1</field>
</shadow>
<block type="get_value" id="9_8Zue7=MfUf!IOBt%kt">
<field name="ATTR">val</field>
<field name="OID">0_userdata.0.Stromverbrauch.LadeleistungMitPvUeberschussTag</field>
</block>
</value>
<value name="B">
<shadow type="math_number">
<field name="NUM">1</field>
</shadow>
<block type="math_arithmetic" id="f9B~9o|GIUQ+@B%XQz,(">
<field name="OP">DIVIDE</field>
<value name="A">
<shadow type="math_number" id="cp.)k3~RD.Sdef11XC=/">
<field name="NUM">1</field>
</shadow>
<block type="variables_get" id=".,GTY8Oy4H{aLw/^pXQE">
<field name="VAR" id="Q16T?q8~$AAn_6kTmv;0">PVUeberschuss</field>
</block>
</value>
<value name="B">
<shadow type="math_number" id="1}LDZC6/A9D,SYVU(t*e">
<field name="NUM">360</field>
</shadow>
</value>
</block>
</value>
</block>
</value>
<next>
<block type="control" id="w8+E%gTu`h5zLWT:aXq#">
<mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
<field name="OID">0_userdata.0.Stromverbrauch.LadeleistungMitPvUeberschussMonat</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="math_arithmetic" id="B1Y2eLYUtDQ[Kh|o9FV@">
<field name="OP">ADD</field>
<value name="A">
<shadow type="math_number">
<field name="NUM">1</field>
</shadow>
<block type="get_value" id="pez+xX9.rzyWoR5PRwu0">
<field name="ATTR">val</field>
<field name="OID">0_userdata.0.Stromverbrauch.LadeleistungMitPvUeberschussMonat</field>
</block>
</value>
<value name="B">
<shadow type="math_number">
<field name="NUM">1</field>
</shadow>
<block type="math_arithmetic" id="ND!a(.$~C6QS$q.![K@u">
<field name="OP">DIVIDE</field>
<value name="A">
<shadow type="math_number" id="QP=./^frGa_xsB$DPGkq">
<field name="NUM">1</field>
</shadow>
<block type="variables_get" id="eKhPi#URw(6];BAFrFa2">
<field name="VAR" id="Q16T?q8~$AAn_6kTmv;0">PVUeberschuss</field>
</block>
</value>
<value name="B">
<shadow type="math_number" id="`/[bC[/g.C~wj!h%:ftw">
<field name="NUM">360</field>
</shadow>
</value>
</block>
</value>
</block>
</value>
<next>
<block type="control" id="5N7Pu]^_)XONra}@m,27">
<mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
<field name="OID">0_userdata.0.Stromverbrauch.LadeleistungMitNetzbezug</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="math_arithmetic" id="|g^l@2[uLISQ[Fw,rHq#">
<field name="OP">ADD</field>
<value name="A">
<shadow type="math_number">
<field name="NUM">1</field>
</shadow>
<block type="get_value" id="L%D8NGF=(1aZtBW04Nd9">
<field name="ATTR">val</field>
<field name="OID">0_userdata.0.Stromverbrauch.LadeleistungMitNetzbezug</field>
</block>
</value>
<value name="B">
<shadow type="math_number">
<field name="NUM">1</field>
</shadow>
<block type="math_arithmetic" id="-:15zT(#jW)5YA*@}%WS">
<field name="OP">DIVIDE</field>
<value name="A">
<shadow type="math_number" id="j%cajP0!B{=wRW09R5Dj">
<field name="NUM">1</field>
</shadow>
<block type="math_arithmetic" id="P}Is?VgpTcO-vn~khE_k">
<field name="OP">MINUS</field>
<value name="A">
<shadow type="math_number">
<field name="NUM">1</field>
</shadow>
<block type="math_arithmetic" id="%i]rovz%]2k{mMh3wC2v">
<field name="OP">MULTIPLY</field>
<value name="A">
<shadow type="math_number">
<field name="NUM">1</field>
</shadow>
<block type="get_value" id="YqYLx2$8I.}@~`YOZb5.">
<field name="ATTR">val</field>
<field name="OID">easee.0.XXXX1234.status.totalPower</field>
</block>
</value>
<value name="B">
<shadow type="math_number" id="DR[8O*h}{E7c4`ZO/8%m">
<field name="NUM">1000</field>
</shadow>
</value>
</block>
</value>
<value name="B">
<shadow type="math_number" id="HMLCqOP6~1=6$hGm*=V+">
<field name="NUM">1</field>
</shadow>
<block type="variables_get" id="z:`v:3E/BRWl?/u3`Ds,">
<field name="VAR" id="Q16T?q8~$AAn_6kTmv;0">PVUeberschuss</field>
</block>
</value>
</block>
</value>
<value name="B">
<shadow type="math_number" id="u)SbhRu%s*t}0p$HYf=K">
<field name="NUM">360</field>
</shadow>
</value>
</block>
</value>
</block>
</value>
<next>
<block type="control" id="v,H!d@8#60;y`h2Wr89Q">
<mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
<field name="OID">0_userdata.0.Stromverbrauch.LadeleistungMitNetzbezugTag</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="math_arithmetic" id=")^Z=}Tw/u;~x+~W3QwT{">
<field name="OP">ADD</field>
<value name="A">
<shadow type="math_number">
<field name="NUM">1</field>
</shadow>
<block type="get_value" id="j:oVdfXnb.Ph.f`8X{GP">
<field name="ATTR">val</field>
<field name="OID">0_userdata.0.Stromverbrauch.LadeleistungMitNetzbezugTag</field>
</block>
</value>
<value name="B">
<shadow type="math_number">
<field name="NUM">1</field>
</shadow>
<block type="math_arithmetic" id="nwHQ*$Wn6rwuWabw=FH%">
<field name="OP">DIVIDE</field>
<value name="A">
<shadow type="math_number" id="[|lujFm*BZfsSt;ht=Cp">
<field name="NUM">1</field>
</shadow>
<block type="math_arithmetic" id="aF1VD)lG_kH!~7iRd{[2">
<field name="OP">MINUS</field>
<value name="A">
<shadow type="math_number" id="?f},bcLu]gl+$Sv*odPR">
<field name="NUM">1</field>
</shadow>
<block type="math_arithmetic" id="y60NiR+lz^6/v1J7ult{">
<field name="OP">MULTIPLY</field>
<value name="A">
<shadow type="math_number">
<field name="NUM">1</field>
</shadow>
<block type="get_value" id="6_]-mUG=~{s5J:G)2zyj">
<field name="ATTR">val</field>
<field name="OID">easee.0.XXXX1234.status.totalPower</field>
</block>
</value>
<value name="B">
<shadow type="math_number" id="^vmeoa#?b~ZJVLj{$HM$">
<field name="NUM">1000</field>
</shadow>
</value>
</block>
</value>
<value name="B">
<shadow type="math_number" id="ylEzl^NC87HyFvKEKgTX">
<field name="NUM">1</field>
</shadow>
<block type="variables_get" id="`!]eux@6TKac3E]*!P|!">
<field name="VAR" id="Q16T?q8~$AAn_6kTmv;0">PVUeberschuss</field>
</block>
</value>
</block>
</value>
<value name="B">
<shadow type="math_number" id="u9lEX4`_MH$WzV2/ctz4">
<field name="NUM">360</field>
</shadow>
</value>
</block>
</value>
</block>
</value>
<next>
<block type="control" id="56*o8^|c:aUL},^e#VnU">
<mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
<field name="OID">0_userdata.0.Stromverbrauch.LadeleistungMitNetzbezugMonat</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="math_arithmetic" id="%S(DDxX~MfR%god*LBLT">
<field name="OP">ADD</field>
<value name="A">
<shadow type="math_number">
<field name="NUM">1</field>
</shadow>
<block type="get_value" id="^F=AcBm|29%[95f3N`Fj">
<field name="ATTR">val</field>
<field name="OID">0_userdata.0.Stromverbrauch.LadeleistungMitNetzbezugMonat</field>
</block>
</value>
<value name="B">
<shadow type="math_number">
<field name="NUM">1</field>
</shadow>
<block type="math_arithmetic" id=")V8S3[vP_Jb9kmPBaSRA">
<field name="OP">DIVIDE</field>
<value name="A">
<shadow type="math_number" id="a-jQg]=%,(potvOO?,|*">
<field name="NUM">1</field>
</shadow>
<block type="math_arithmetic" id="d?M1(s8BEz3lzyS1wJ6E">
<field name="OP">MINUS</field>
<value name="A">
<shadow type="math_number">
<field name="NUM">1</field>
</shadow>
<block type="math_arithmetic" id="=Qkt_j7muogC9pj`h!c$">
<field name="OP">MULTIPLY</field>
<value name="A">
<shadow type="math_number">
<field name="NUM">1</field>
</shadow>
<block type="get_value" id="E[b`jo)_(zCzTH4gTgZs">
<field name="ATTR">val</field>
<field name="OID">easee.0.XXXX1234.status.totalPower</field>
</block>
</value>
<value name="B">
<shadow type="math_number" id="^BU[fngu@?-aP+kR}v_y">
<field name="NUM">1000</field>
</shadow>
</value>
</block>
</value>
<value name="B">
<shadow type="math_number" id="no0o]1vvPIi6jM1aEQnE">
<field name="NUM">1</field>
</shadow>
<block type="variables_get" id="at}3]vd([Op}[)Rq%C67">
<field name="VAR" id="Q16T?q8~$AAn_6kTmv;0">PVUeberschuss</field>
</block>
</value>
</block>
</value>
<value name="B">
<shadow type="math_number" id="-T}hC4[XrjFUA.qTyn!]">
<field name="NUM">360</field>
</shadow>
</value>
</block>
</value>
</block>
</value>
<next>
<block type="debug" id="f5vIc+MS%?`Lu7ud]yKv">
<field name="Severity">log</field>
<value name="TEXT">
<shadow type="text" id="_nCX^TPi4%n)oap/CyZ=">
<field name="TEXT">test</field>
</shadow>
<block type="text_join" id="}zkEFA^jzG$X-{S=coQE">
<mutation items="2"></mutation>
<value name="ADD0">
<block type="text" id="7^4^s_`5H`T.kFP]9:AX">
<field name="TEXT">Ladeleistung</field>
</block>
</value>
<value name="ADD1">
<block type="math_arithmetic" id="f_D1Q-og~!OKP,w6?Q`q">
<field name="OP">MULTIPLY</field>
<value name="A">
<shadow type="math_number">
<field name="NUM">1</field>
</shadow>
<block type="get_value" id="y%n-6Q~^}#}HWlCfAwEn">
<field name="ATTR">val</field>
<field name="OID">easee.0.XXXX1234.status.totalPower</field>
</block>
</value>
<value name="B">
<shadow type="math_number" id="zdXYe6sHIC|/6?}#uk|E">
<field name="NUM">1000</field>
</shadow>
</value>
</block>
</value>
</block>
</value>
<next>
<block type="debug" id="G.73U.FtquUFdxg.7g8t">
<field name="Severity">log</field>
<value name="TEXT">
<shadow type="text">
<field name="TEXT">test</field>
</shadow>
<block type="text_join" id="*GEGfK42Kk_`N3Jv5jiA">
<mutation items="2"></mutation>
<value name="ADD0">
<block type="text" id="c?E8gj!5GjKbn+rAn,+9">
<field name="TEXT">PV Leistung</field>
</block>
</value>
<value name="ADD1">
<block type="get_value" id="R#9q9(y3e-I`(20!t_q*">
<field name="ATTR">val</field>
<field name="OID">plenticore.0.devices.local.Pv_P</field>
</block>
</value>
</block>
</value>
<next>
<block type="debug" id="%nZv7J$_9a^cZf(.|Nun">
<field name="Severity">log</field>
<value name="TEXT">
<shadow type="text">
<field name="TEXT">test</field>
</shadow>
<block type="text_join" id="Z32}7Kw=(|#MWzEA7Zg9">
<mutation items="2"></mutation>
<value name="ADD0">
<block type="text" id="W6ob3g{~;1Vpy^G|nCgX">
<field name="TEXT">Leistung Über PV</field>
</block>
</value>
<value name="ADD1">
<block type="variables_get" id="%do,ziluQ-2!lj0x!qM#">
<field name="VAR" id="Q16T?q8~$AAn_6kTmv;0">PVUeberschuss</field>
</block>
</value>
</block>
</value>
<next>
<block type="debug" id="0uD%YUZp?Rj-`a!1/eLq">
<field name="Severity">log</field>
<value name="TEXT">
<shadow type="text">
<field name="TEXT">test</field>
</shadow>
<block type="text_join" id="mb.n1S!f:vT+I2y*FyUZ">
<mutation items="2"></mutation>
<value name="ADD0">
<block type="text" id="?AKatLV0}!xQ9P!Kl-b2">
<field name="TEXT">Leistung Netzbezug</field>
</block>
</value>
<value name="ADD1">
<block type="math_arithmetic" id="}C~!ZChUukYTZ-],5N|U">
<field name="OP">MINUS</field>
<value name="A">
<shadow type="math_number">
<field name="NUM">1</field>
</shadow>
<block type="math_arithmetic" id="e[Z(v`9@a8Gk=cq+G@*N">
<field name="OP">MULTIPLY</field>
<value name="A">
<shadow type="math_number">
<field name="NUM">1</field>
</shadow>
<block type="get_value" id="i2EgY*KvmS`{#@hyb~Nj">
<field name="ATTR">val</field>
<field name="OID">easee.0.XXXX1234.status.totalPower</field>
</block>
</value>
<value name="B">
<shadow type="math_number" id="(i=Cr@|4/PgKf3{W%5;L">
<field name="NUM">1000</field>
</shadow>
</value>
</block>
</value>
<value name="B">
<shadow type="math_number">
<field name="NUM">1</field>
</shadow>
<block type="variables_get" id="b]Al%~L*body-]NjHxQE">
<field name="VAR" id="Q16T?q8~$AAn_6kTmv;0">PVUeberschuss</field>
</block>
</value>
</block>
</value>
</block>
</value>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</statement>
</block>
</next>
</block>
</next>
</block>
</statement>
<next>
<block type="comment" id="nL4lTIm--#9VT`1q865S">
<field name="COMMENT">Zurücksetzen des Tageszählers</field>
<next>
<block type="schedule" id="qV9^MQjT:t7lvj0$!ghy">
<field name="SCHEDULE">0 0 * * *</field>
<statement name="STATEMENT">
<block type="control" id="]~@,{Z!PbMtbbCUq+fwm">
<mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
<field name="OID">0_userdata.0.Stromverbrauch.LadeleistungMitPvUeberschussTag</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="math_number" id="$qoS,_NhFVS$lvg0usZ(">
<field name="NUM">0</field>
</block>
</value>
<next>
<block type="control" id="*joLzF#!e1[2fdG1~`t%">
<mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
<field name="OID">0_userdata.0.Stromverbrauch.LadeleistungMitNetzbezugTag</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="math_number" id=":b?wW;NNLY!nBxA~Ty+?">
<field name="NUM">0</field>
</block>
</value>
</block>
</next>
</block>
</statement>
<next>
<block type="comment" id="rXH%-^`x#7J_#CXD,{cI">
<field name="COMMENT">Zurücksetzen des Monatszählers</field>
<next>
<block type="schedule" id="_00^WY4Eepw}9(zaI1l+">
<field name="SCHEDULE">0 0 1 * *</field>
<statement name="STATEMENT">
<block type="control" id="nL/Wq6(+(y=xeD9WubT/">
<mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
<field name="OID">0_userdata.0.Stromverbrauch.LadeleistungMitPvUeberschussMonat</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="math_number" id="Tt+K_R_q(4H*Rp}uSVf+">
<field name="NUM">0</field>
</block>
</value>
<next>
<block type="control" id="x#Zhy(%hL+DXd+$8@36n">
<mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
<field name="OID">0_userdata.0.Stromverbrauch.LadeleistungMitNetzbezugMonat</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="math_number" id="l?Al[X{5aC~M8j)u3rDW">
<field name="NUM">0</field>
</block>
</value>
</block>
</next>
</block>
</statement>
<next>
<block type="schedule" id="@{W,2UG]uz9]]xNZ!:7-">
<field name="SCHEDULE">*/30 * * * * *</field>
<statement name="STATEMENT">
<block type="comment" id="DscSka=,I?cKI$5V.05G">
<field name="COMMENT">PV Überschuss ermitteln </field>
<next>
<block type="variables_set" id="Ko=_7wNinWv8mutrIbA%">
<field name="VAR" id="Q16T?q8~$AAn_6kTmv;0">PVUeberschuss</field>
<value name="VALUE">
<block type="math_arithmetic" id="]HIXgB(d2_SSAIAa0H-/">
<field name="OP">MINUS</field>
<value name="A">
<shadow type="math_number" id="LtNR[(]GWvY{}64/{M5!">
<field name="NUM">1</field>
</shadow>
<block type="get_value" id="1|uC|pvL;fF5SCIH!E^L">
<field name="ATTR">val</field>
<field name="OID">plenticore.0.devices.local.Pv_P</field>
</block>
</value>
<value name="B">
<shadow type="math_number" id="wfkBsKTj)$!8}t}aV?b-">
<field name="NUM">1</field>
</shadow>
<block type="math_arithmetic" id="zmKA=SIK-C~^XL3^)v$G">
<field name="OP">MINUS</field>
<value name="A">
<shadow type="math_number" id="1{{y7@:GQ+Tm(BA6f[3)">
<field name="NUM">1</field>
</shadow>
<block type="get_value" id=")U?UtA$3]=$RShJCMpJ0">
<field name="ATTR">val</field>
<field name="OID">plenticore.0.devices.local.Home_P</field>
</block>
</value>
<value name="B">
<shadow type="math_number" id="%A8%L8iiw)n~TK=CKi8*">
<field name="NUM">1</field>
</shadow>
<block type="math_arithmetic" id="kOsgiP1#Z4c#}G/^Ixm:">
<field name="OP">MULTIPLY</field>
<value name="A">
<shadow type="math_number" id="fw$AJ1_3s*4DmZcvYQOS">
<field name="NUM">1</field>
</shadow>
<block type="get_value" id="0g;o?f[!jr%o^*h|!9`q">
<field name="ATTR">val</field>
<field name="OID">easee.0.XXXX1234.status.totalPower</field>
</block>
</value>
<value name="B">
<shadow type="math_number" id="or]jbsET-c~55isP^+5n">
<field name="NUM">1000</field>
</shadow>
</value>
</block>
</value>
</block>
</value>
</block>
</value>
<next>
<block type="comment" id="%JzwtQo.ozoh5_QCZnY7">
<field name="COMMENT">wenn PV Überschuss größer als minimale Ladeleistung (6A) und ... setze DynamicChargerCurrent auf den Wert des PV Überschusses</field>
<next>
<block type="controls_if" id="nv4yuxSzL=!HKX-NV`NS">
<mutation elseif="2"></mutation>
<value name="IF0">
<block type="logic_operation" id="UHb]~lZElPF6R~%^FkR{">
<field name="OP">AND</field>
<value name="A">
<block type="logic_compare" id="CgG}#HioaV,IdV{:-l/i">
<field name="OP">LT</field>
<value name="A">
<block type="get_value" id="A,EdL1#-#zLzM+[l))Yt">
<field name="ATTR">val</field>
<field name="OID">vw-connect.0.XXXZZZXXXXXXXX.charger.status.batteryStatusData.stateOfCharge.content</field>
</block>
</value>
<value name="B">
<block type="math_number" id="{^kuwbC9]v#V|*!R#kN?">
<field name="NUM">100</field>
</block>
</value>
</block>
</value>
<value name="B">
<block type="logic_operation" id="n9S@b1)Y(JP!El}1}||i">
<field name="OP">AND</field>
<value name="A">
<block type="logic_compare" id="v8`8/tH_z45vYb|2Aq52">
<field name="OP">NEQ</field>
<value name="A">
<block type="get_value" id="kyDQbq(4=vT*X!$bPorh">
<field name="ATTR">val</field>
<field name="OID">easee.0.XXXX1234.config.dynamicChargerCurrent</field>
</block>
</value>
<value name="B">
<block type="math_round" id="LA@qGMF]wByWCmM*L$3*">
<field name="OP">ROUND</field>
<value name="NUM">
<shadow type="math_number">
<field name="NUM">3.1</field>
</shadow>
<block type="math_arithmetic" id="f!MunIR+*u3zF2IHe~nT">
<field name="OP">DIVIDE</field>
<value name="A">
<shadow type="math_number">
<field name="NUM">1</field>
</shadow>
<block type="variables_get" id="~_0QgC${8#FoexqL?5@^">
<field name="VAR" id="Q16T?q8~$AAn_6kTmv;0">PVUeberschuss</field>
</block>
</value>
<value name="B">
<shadow type="math_number">
<field name="NUM">1</field>
</shadow>
<block type="get_value" id="Ly@7-eN0E[q0Jp?M}n:7">
<field name="ATTR">val</field>
<field name="OID">easee.0.XXXX1234.status.voltage</field>
</block>
</value>
</block>
</value>
</block>
</value>
</block>
</value>
<value name="B">
<block type="logic_operation" id="WISKUT]Z7o4^eErwxB?`">
<field name="OP">AND</field>
<value name="A">
<block type="logic_compare" id="Yuo#Q1Hb/52Yjn;j(-#I">
<field name="OP">NEQ</field>
<value name="A">
<block type="get_value" id="SO@Qy;QXaX6h`te[EBgC">
<field name="ATTR">val</field>
<field name="OID">0_userdata.0.Manuelles_laden</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id="h4(r40Q$%V]!Fppb8VrD">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</value>
<value name="B">
<block type="logic_operation" id="qTpw`dS7c@4r]h9aV3}m">
<field name="OP">AND</field>
<value name="A">
<block type="logic_compare" id="xRn)#,DSsnh)o!OHyDB$">
<field name="OP">GTE</field>
<value name="A">
<block type="math_round" id="HDi?|;=sTO7^(e9.eD9;">
<field name="OP">ROUND</field>
<value name="NUM">
<shadow type="math_number" id="t96O`BZVw}YFu-[%X%p`">
<field name="NUM">3.1</field>
</shadow>
<block type="math_arithmetic" id="M7==^9fv]F-L/$K|rh;j">
<field name="OP">DIVIDE</field>
<value name="A">
<shadow type="math_number" id="@*LGaI,$k]k/8*@Pj4PA">
<field name="NUM">1</field>
</shadow>
<block type="variables_get" id="F^j1Xr4,8=n|H__|Ylvs">
<field name="VAR" id="Q16T?q8~$AAn_6kTmv;0">PVUeberschuss</field>
</block>
</value>
<value name="B">
<shadow type="math_number" id="_BO{%Cx7Dj1^_):,(#pi">
<field name="NUM">1</field>
</shadow>
<block type="get_value" id="Z?]N4r6AW1]$XeR9u.|=">
<field name="ATTR">val</field>
<field name="OID">easee.0.XXXX1234.status.voltage</field>
</block>
</value>
</block>
</value>
</block>
</value>
<value name="B">
<block type="math_number" id="(y9@C?9Rm0#tdN2pD+!,">
<field name="NUM">6</field>
</block>
</value>
</block>
</value>
<value name="B">
<block type="logic_operation" id="nAZrYs)8Oc/79`,*d:wS">
<field name="OP">AND</field>
<value name="A">
<block type="logic_compare" id="O+?wEE}@iR@=,}h?PV.B">
<field name="OP">NEQ</field>
<value name="A">
<block type="get_value" id="qv*Zwyi%h6MI7f?v%#X=">
<field name="ATTR">val</field>
<field name="OID">easee.0.XXXX1234.status.chargerOpMode</field>
</block>
</value>
<value name="B">
<block type="math_number" id="iSTF@e_0}G|u9a_uysrL">
<field name="NUM">1</field>
</block>
</value>
</block>
</value>
<value name="B">
<block type="logic_operation" id="|JrbGEV@yRZ],l^,sOOk">
<field name="OP">AND</field>
<value name="A">
<block type="logic_compare" id="Q6;#^Uk%GT9a#dPZE3jb">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="_bd0~vRd.O*X2sACZY=!">
<field name="ATTR">val</field>
<field name="OID">vw-connect.0.XXXZZZXXXXXXXX.timer.timersAndProfiles.timerList.timer01.timerProgrammedStatus</field>
</block>
</value>
<value name="B">
<block type="text" id="!ylp(S!%SvUN6ZiDTecc">
<field name="TEXT">notProgrammed</field>
</block>
</value>
</block>
</value>
<value name="B">
<block type="logic_compare" id="^x9O@A=FG{Ar]ae$Dc8x">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="VQIQM#%L4vm?QU:H+%eD">
<field name="ATTR">val</field>
<field name="OID">vw-connect.0.XXXZZZXXXXXXXX.timer.timersAndProfiles.timerList.timer02.timerProgrammedStatus</field>
</block>
</value>
<value name="B">
<block type="text" id="yUA{b0.~v8{?.s]%UNAI">
<field name="TEXT">notProgrammed</field>
</block>
</value>
</block>
</value>
</block>
</value>
</block>
</value>
</block>
</value>
</block>
</value>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="debug" id="1|Q=.PWR$lc.|:kBiWx{">
<field name="Severity">log</field>
<value name="TEXT">
<shadow type="text" id="`FR^`sIm|C|pwZ1.+eRb">
<field name="TEXT">MaximalerOutput gesetzt auf</field>
</shadow>
<block type="text_join" id="Q(}cZ??VaxB0t2oKM!0?">
<mutation items="2"></mutation>
<value name="ADD0">
<block type="text" id="]W#rouUvWnM=-]JL*QzO">
<field name="TEXT">Setze Dynamic Chargercurrent auf: </field>
</block>
</value>
<value name="ADD1">
<block type="math_round" id="q!x}POi/{34afDP8wD8%">
<field name="OP">ROUND</field>
<value name="NUM">
<shadow type="math_number">
<field name="NUM">3.1</field>
</shadow>
<block type="math_arithmetic" id="aQ5o$[cdK9=Zsw,ImbbY">
<field name="OP">DIVIDE</field>
<value name="A">
<shadow type="math_number">
<field name="NUM">1</field>
</shadow>
<block type="variables_get" id="Hl.3~Do9X~l2D*2,D/yZ">
<field name="VAR" id="Q16T?q8~$AAn_6kTmv;0">PVUeberschuss</field>
</block>
</value>
<value name="B">
<shadow type="math_number">
<field name="NUM">1</field>
</shadow>
<block type="get_value" id="}la_:PF%~)[ubW3WG=C9">
<field name="ATTR">val</field>
<field name="OID">easee.0.XXXX1234.status.voltage</field>
</block>
</value>
</block>
</value>
</block>
</value>
</block>
</value>
<next>
<block type="control" id="lK4t3pC`HBk^Q%tB]xcT">
<mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
<field name="OID">easee.0.XXXX1234.config.dynamicChargerCurrent</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="math_round" id="`vAEwjT,=C~gfVRyJXTX">
<field name="OP">ROUND</field>
<value name="NUM">
<shadow type="math_number">
<field name="NUM">3.1</field>
</shadow>
<block type="math_arithmetic" id=";WF*W}TIRO]e_Gf{{~i|">
<field name="OP">DIVIDE</field>
<value name="A">
<shadow type="math_number">
<field name="NUM">1</field>
</shadow>
<block type="variables_get" id="RunIWLDLbr%xp$~o[}1$">
<field name="VAR" id="Q16T?q8~$AAn_6kTmv;0">PVUeberschuss</field>
</block>
</value>
<value name="B">
<shadow type="math_number">
<field name="NUM">1</field>
</shadow>
<block type="get_value" id="-U_xDYV~j-GJ2X-^]uTu">
<field name="ATTR">val</field>
<field name="OID">easee.0.XXXX1234.status.voltage</field>
</block>
</value>
</block>
</value>
</block>
</value>
<next>
<block type="controls_if" id="ZFhH7NE,UFNefw=nmw+e">
<value name="IF0">
<block type="logic_compare" id="Xs:bEHM#$M-T_~h(XJ.r">
<field name="OP">NEQ</field>
<value name="A">
<block type="get_value" id="M#8A0:6@(,.mRf$JVa9u">
<field name="ATTR">val</field>
<field name="OID">easee.0.XXXX1234.status.chargerOpMode</field>
</block>
</value>
<value name="B">
<block type="math_number" id="cVE8HI7=#;7zZ!PBa5gW">
<field name="NUM">3</field>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="debug" id="e$J||O~~_5%dxn%;.NeA">
<field name="Severity">log</field>
<value name="TEXT">
<shadow type="text">
<field name="TEXT">MaximalerOutput gesetzt auf</field>
</shadow>
<block type="text_join" id="vTWrt*3Z/Jop@c9abUFE">
<mutation items="2"></mutation>
<value name="ADD0">
<block type="text" id="}5^myIyXAa^%7FuASDL(">
<field name="TEXT">PV Überschussladen</field>
</block>
</value>
</block>
</value>
<next>
<block type="toggle" id="e2V8^^jH.trL{Qy=yX8:">
<mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
<field name="OID">easee.0.XXXX1234.control.resume</field>
<field name="WITH_DELAY">FALSE</field>
</block>
</next>
</block>
</statement>
<next>
<block type="comment" id="r$t=eZQU--gg_nXB24WX">
<field name="COMMENT">wenn Timer aktiv, oder manuelles Laden (HomeKit Schalter) aktiv, setze DynamicChargerCurrent auf 16A und starte das Laden</field>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</statement>
<value name="IF1">
<block type="logic_operation" id="%L1XEC`MYaAr%Q|~UGSl">
<field name="OP">OR</field>
<value name="A">
<block type="logic_operation" id="@Am9)X,1.ho9w~yxt-yV">
<field name="OP">AND</field>
<value name="A">
<block type="logic_compare" id="WOo(5T}1,x[K?EC,t8v}">
<field name="OP">NEQ</field>
<value name="A">
<block type="get_value" id="R8#~I-Qfe^lEdP5%A]-A">
<field name="ATTR">val</field>
<field name="OID">easee.0.XXXX1234.status.chargerOpMode</field>
</block>
</value>
<value name="B">
<block type="math_number" id="oh*wyE_mAh.y#/jrmPs.">
<field name="NUM">1</field>
</block>
</value>
</block>
</value>
<value name="B">
<block type="logic_compare" id="TIns1a4xcGjm+9Ytuz%3">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id=":5R)$)6G*H~#oZJ(D3TY">
<field name="ATTR">val</field>
<field name="OID">0_userdata.0.Manuelles_laden</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id="LXQ:wRs5Afwo|.O/fz%`">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</value>
</block>
</value>
<value name="B">
<block type="logic_operation" id="%i]:H3k]d63,NV,J=sYz">
<field name="OP">AND</field>
<value name="A">
<block type="logic_compare" id=".`]toJ=ElN9G;2-j[.{A">
<field name="OP">NEQ</field>
<value name="A">
<block type="get_value" id="F`2S?r4Xe8{5.h*??RWd">
<field name="ATTR">val</field>
<field name="OID">easee.0.XXXX1234.status.chargerOpMode</field>
</block>
</value>
<value name="B">
<block type="math_number" id=")K:9F{A{M,-ZsR;kIBzN">
<field name="NUM">1</field>
</block>
</value>
</block>
</value>
<value name="B">
<block type="logic_operation" id="8,YbN])4q:Ff37]oq`(V">
<field name="OP">OR</field>
<value name="A">
<block type="logic_operation" id="YC8Ce@|l8.^,!/2LJ9N$">
<field name="OP">OR</field>
<value name="A">
<block type="logic_compare" id="JZn0;HLhx~Rdq3E0uYKg">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="T=Yl3KHL$$lJJQ+N)?G%">
<field name="ATTR">val</field>
<field name="OID">vw-connect.0.XXXZZZXXXXXXXX.timer.timersAndProfiles.timerList.timer01.timerProgrammedStatus</field>
</block>
</value>
<value name="B">
<block type="text" id="U31_B36*zM;RG2=)9,k2">
<field name="TEXT">programmed</field>
</block>
</value>
</block>
</value>
<value name="B">
<block type="logic_compare" id="~38`kcnXdq|EB8?.wl=^">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id=";R{j@[H%#5`r$m/+@spB">
<field name="ATTR">val</field>
<field name="OID">vw-connect.0.XXXZZZXXXXXXXX.timer.timersAndProfiles.timerList.timer02.timerProgrammedStatus</field>
</block>
</value>
<value name="B">
<block type="text" id="2M2*|fRh/k|:{h:4)%y3">
<field name="TEXT">programmed</field>
</block>
</value>
</block>
</value>
</block>
</value>
<value name="B">
<block type="logic_compare" id="86ae9,4yJkp_#j|p),^D">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="_7jZ`0YU7%]k@[-b_qW)">
<field name="ATTR">val</field>
<field name="OID">vw-connect.0.XXXZZZXXXXXXXX.timer.timersAndProfiles.timerList.timer03.timerProgrammedStatus</field>
</block>
</value>
<value name="B">
<block type="text" id="N||VDn=aD^gT7P;3ts@S">
<field name="TEXT">programmed</field>
</block>
</value>
</block>
</value>
</block>
</value>
</block>
</value>
</block>
</value>
<statement name="DO1">
<block type="debug" id="f6{K+|!?xmd5wK_x#%?I">
<field name="Severity">log</field>
<value name="TEXT">
<shadow type="text">
<field name="TEXT">MaximalerOutput gesetzt auf</field>
</shadow>
<block type="text_join" id="7f31!yrI:_V;~[d;|/+9">
<mutation items="2"></mutation>
<value name="ADD0">
<block type="text" id="A+!yPajC9ExBWD.Z~4y=">
<field name="TEXT">Timer/manuelles Laden gestartet</field>
</block>
</value>
</block>
</value>
<next>
<block type="control" id="jlfNbCE[QB|9Z}j22.hJ">
<mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
<field name="OID">easee.0.XXXX1234.config.dynamicChargerCurrent</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="math_number" id="J)tAYoH1JN!wWJ-nM)~I">
<field name="NUM">16</field>
</block>
</value>
<next>
<block type="controls_if" id="`RI,yEfE]rWc)6.t~;Y6">
<value name="IF0">
<block type="logic_compare" id="EDt$^}3P+#gz0:*jmr*g">
<field name="OP">NEQ</field>
<value name="A">
<block type="get_value" id="0Hn|=EZfWa0]jd6F=LFM">
<field name="ATTR">val</field>
<field name="OID">easee.0.XXXX1234.status.chargerOpMode</field>
</block>
</value>
<value name="B">
<block type="math_number" id="APDCPu0GAzHv93;]9v:e">
<field name="NUM">3</field>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="debug" id="}o`,qq*AgCfN:*G_)!DQ">
<field name="Severity">log</field>
<value name="TEXT">
<shadow type="text">
<field name="TEXT">MaximalerOutput gesetzt auf</field>
</shadow>
<block type="text_join" id="/-aedAMFLGW,NH)6o|fE">
<mutation items="2"></mutation>
<value name="ADD0">
<block type="text" id="S*k*MEF-k7{184Q;p|ji">
<field name="TEXT">Time Charging gestartet</field>
</block>
</value>
</block>
</value>
<next>
<block type="toggle" id="+o{iXkV4tX`#cIT}TNM:">
<mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
<field name="OID">easee.0.XXXX1234.control.resume</field>
<field name="WITH_DELAY">FALSE</field>
</block>
</next>
</block>
</statement>
<next>
<block type="comment" id="1r{m!mdDxiKe#Sa:/p|[">
<field name="COMMENT">Nicht laden wenn kein Timer, kein PV Überschuss und Schalter aktiv</field>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</statement>
<value name="IF2">
<block type="logic_operation" id="?x.c|1!J@8l!g;Io`5iH">
<field name="OP">AND</field>
<value name="A">
<block type="logic_compare" id="L26{_:b3K70@:Djo3W+(">
<field name="OP">NEQ</field>
<value name="A">
<block type="get_value" id="S8K[pdZMG0Ahrw`x_fT)">
<field name="ATTR">val</field>
<field name="OID">easee.0.XXXX1234.status.chargerOpMode</field>
</block>
</value>
<value name="B">
<block type="math_number" id="sUrlv,K=DSZ/uk%z~;=~">
<field name="NUM">1</field>
</block>
</value>
</block>
</value>
<value name="B">
<block type="logic_operation" id="+gEB.)gO?XyZIJ?VdQ%1">
<field name="OP">AND</field>
<value name="A">
<block type="logic_compare" id="pe,,4f:GGJMF.Dh;b(?D">
<field name="OP">NEQ</field>
<value name="A">
<block type="get_value" id="o9DS:Gl!`f(!pl!~#CY)">
<field name="ATTR">val</field>
<field name="OID">easee.0.XXXX1234.status.chargerOpMode</field>
</block>
</value>
<value name="B">
<block type="math_number" id="w8A=7AQCylVyWR[ZZ@iv">
<field name="NUM">2</field>
</block>
</value>
</block>
</value>
<value name="B">
<block type="logic_operation" id="Fw9@HBdXQFU?k(uKp#Vp">
<field name="OP">AND</field>
<value name="A">
<block type="logic_compare" id="w$Q_(xcX)FGH;C}8:3^5">
<field name="OP">LT</field>
<value name="A">
<block type="math_round" id="-_4W8wO02@+XK/ua5m_Q">
<field name="OP">ROUND</field>
<value name="NUM">
<shadow type="math_number">
<field name="NUM">3.1</field>
</shadow>
<block type="math_arithmetic" id="0cC$f#JRh%ZDt~G7(vcw">
<field name="OP">DIVIDE</field>
<value name="A">
<shadow type="math_number">
<field name="NUM">1</field>
</shadow>
<block type="variables_get" id="2ED]@DCyQ[MTCfYEJ3bY">
<field name="VAR" id="Q16T?q8~$AAn_6kTmv;0">PVUeberschuss</field>
</block>
</value>
<value name="B">
<shadow type="math_number">
<field name="NUM">1</field>
</shadow>
<block type="get_value" id="ZfVtkDCTzSr^f7raR44c">
<field name="ATTR">val</field>
<field name="OID">easee.0.XXXX1234.status.voltage</field>
</block>
</value>
</block>
</value>
</block>
</value>
<value name="B">
<block type="math_number" id="9`8$JyDVXP2.^X@2Kfc2">
<field name="NUM">6</field>
</block>
</value>
</block>
</value>
<value name="B">
<block type="logic_operation" id="Shw![ku`0A#M=ZAodzEX">
<field name="OP">AND</field>
<value name="A">
<block type="logic_compare" id="Ob`;%XQyc:,+:ufPAUyS">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="`v0~)4MLE[[S?tI.X#`q">
<field name="ATTR">val</field>
<field name="OID">0_userdata.0.Manuelles_laden</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id="d1{];LKDc~mwTR(iLZ(9">
<field name="BOOL">FALSE</field>
</block>
</value>
</block>
</value>
<value name="B">
<block type="logic_operation" id="3VY-,UPKvzF:P7[R{8p*">
<field name="OP">OR</field>
<value name="A">
<block type="logic_operation" id="_!Irx)`riaSpu)!#f:lZ">
<field name="OP">OR</field>
<value name="A">
<block type="logic_compare" id="(f4.qJ,s1fPSD%[RFBM)">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id=")x]^CO_85CDbBR|MB`nj">
<field name="ATTR">val</field>
<field name="OID">vw-connect.0.XXXZZZXXXXXXXX.timer.timersAndProfiles.timerList.timer01.timerProgrammedStatus</field>
</block>
</value>
<value name="B">
<block type="text" id="yfU~;}6Z~mpP:)RSVSfO">
<field name="TEXT">notProgrammed</field>
</block>
</value>
</block>
</value>
<value name="B">
<block type="logic_compare" id="YgA7p};R}a[yZv/8`MGM">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="tI@E)j3{Iu,Pl2_Pr{,d">
<field name="ATTR">val</field>
<field name="OID">vw-connect.0.XXXZZZXXXXXXXX.timer.timersAndProfiles.timerList.timer02.timerProgrammedStatus</field>
</block>
</value>
<value name="B">
<block type="text" id="EId$l#};!Kt2lDAM/;^=">
<field name="TEXT">notProgrammed</field>
</block>
</value>
</block>
</value>
</block>
</value>
<value name="B">
<block type="logic_compare" id="tDpnr0VZDYa[Ekaz7=HF">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="MtQ)DFcZMZzMubA+Qz%x">
<field name="ATTR">val</field>
<field name="OID">vw-connect.0.XXXZZZXXXXXXXX.timer.timersAndProfiles.timerList.timer03.timerProgrammedStatus</field>
</block>
</value>
<value name="B">
<block type="text" id="QC2t=n6Lnj-2zD)%kLFA">
<field name="TEXT">notProgrammed</field>
</block>
</value>
</block>
</value>
</block>
</value>
</block>
</value>
</block>
</value>
</block>
</value>
</block>
</value>
<statement name="DO2">
<block type="debug" id="b8_?Rb-/h}]pRF]=RMDp">
<field name="Severity">log</field>
<value name="TEXT">
<shadow type="text" id="Fe9jVOZ]F*Er4(PqDS*Q">
<field name="TEXT">MaximalerOutput gesetzt auf</field>
</shadow>
<block type="text_join" id="rJ$x,I)7ka^NyHj9;ANP">
<mutation items="2"></mutation>
<value name="ADD0">
<block type="text" id="PL5-i.UymPk6Kfdk$C_|">
<field name="TEXT">Pause Charging weil kein PV, kein Timer und kein manueller start</field>
</block>
</value>
</block>
</value>
<next>
<block type="control" id="#n2[iFE4E0!nrM/V:y}}">
<mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
<field name="OID">easee.0.XXXX1234.config.dynamicChargerCurrent</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="math_number" id="(csjWu6BB--z`Z^^fR^_">
<field name="NUM">16</field>
</block>
</value>
<next>
<block type="toggle" id="l7G]%!T}k#+*$}-y5+!,">
<mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
<field name="OID">easee.0.XXXX1234.control.pause</field>
<field name="WITH_DELAY">FALSE</field>
</block>
</next>
</block>
</next>
</block>
</statement>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</statement>
<next>
<block type="comment" id="YXg$-Nb/Y7MXEGO~y3l[">
<field name="COMMENT">Wenn Kabel raus, manuelles Laden-Schalter auf "false"</field>
<next>
<block type="on" id="+u549XoFk5{Ca2MJ97$?">
<field name="OID">easee.0.XXXX1234.status.chargerOpMode</field>
<field name="CONDITION">ne</field>
<field name="ACK_CONDITION"></field>
<statement name="STATEMENT">
<block type="controls_if" id="{B^-[oVwCR`17fIFhyGF">
<value name="IF0">
<block type="logic_compare" id="6R1_yvWH=`Ou7z5?T}of">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="!J}d90^V,|]C_(~J$O_=">
<field name="ATTR">val</field>
<field name="OID">easee.0.XXXX1234.status.chargerOpMode</field>
</block>
</value>
<value name="B">
<block type="math_number" id="e=x3vL*9E)7Qrag!ShH#">
<field name="NUM">1</field>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="control" id="jVNtg9/h6|+RpVys;1%Q">
<mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
<field name="OID">0_userdata.0.Manuelles_laden</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id="H(ULDHfEjv2rJu8ds076">
<field name="BOOL">FALSE</field>
</block>
</value>
</block>
</statement>
</block>
</statement>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</xml>