@axel sagte: Export zur verfügung stellen?
Nur das hier als Beispiel für die Berechnung:
Spoiler
<xml xmlns="https://developers.google.com/blockly/xml">
<variables>
<variable id="=}(t[?(kyO6G;_5{47zw">energie</variable>
</variables>
<block type="variables_set" id="qqag5$iyo8-_up/^`ADh" x="62" y="63">
<field name="VAR" id="=}(t[?(kyO6G;_5{47zw">energie</field>
<value name="VALUE">
<block type="get_value" id=")1VZgO8#_GZKx(V[K^8V">
<field name="ATTR">val</field>
<field name="OID">0_userdata.0.Blockly.Zaehlerstand</field>
</block>
</value>
<next>
<block type="comment" id="RSu7+GK,P}a=4eic:~tF">
<field name="COMMENT">Leistung (W)</field>
<next>
<block type="on" id="Ja,P@o{ubPZ/sb1ZjV?M">
<field name="OID">0_userdata.0.Blockly.powerW</field>
<field name="CONDITION">ne</field>
<field name="ACK_CONDITION"></field>
<statement name="STATEMENT">
<block type="comment" id="aOC+L@dsIA/CgaVA`e%W">
<field name="COMMENT">Energie (kWh)</field>
<next>
<block type="math_change" id="zx||Wk!Q$TR-C#D9vy4m">
<field name="VAR" id="=}(t[?(kyO6G;_5{47zw">energie</field>
<value name="DELTA">
<shadow type="math_number" id="#EZZan?YrCB9?MNE:^S_">
<field name="NUM">1</field>
</shadow>
<block type="math_arithmetic" id="~4Bpz3QwrgzaK#gc)~g)" inline="false">
<field name="OP">DIVIDE</field>
<value name="A">
<shadow type="math_number" id=":O4C]m#u``]donnCYCa}">
<field name="NUM">1</field>
</shadow>
<block type="math_arithmetic" id="Ust.Mn-OTjCzv8NKm:cK" inline="false">
<field name="OP">MULTIPLY</field>
<value name="A">
<shadow type="math_number" id="l!f:I3Lj^4S5BGpGM}l`">
<field name="NUM">1</field>
</shadow>
<block type="on_source" id="7~zgbCnXhSCdv23EL24N">
<field name="ATTR">oldState.val</field>
</block>
</value>
<value name="B">
<shadow type="math_number" id="Htt=^KI%TO0X3:_w^hY3">
<field name="NUM">1</field>
</shadow>
<block type="math_arithmetic" id=";.ko3yb.8gPvEd6C^=,h">
<field name="OP">MINUS</field>
<value name="A">
<shadow type="math_number" id="jDPW;?eX9+=$X?#TD#V+">
<field name="NUM">1</field>
</shadow>
<block type="on_source" id="?*jrb21}NAV,FOD^V.`7">
<field name="ATTR">state.lc</field>
</block>
</value>
<value name="B">
<shadow type="math_number" id="dthT69]Gf`+@UbJ]*v1@">
<field name="NUM">1</field>
</shadow>
<block type="on_source" id="Q{|ncQg-pFf]_#i[74qF">
<field name="ATTR">oldState.lc</field>
</block>
</value>
</block>
</value>
</block>
</value>
<value name="B">
<shadow type="math_number" id="%V?6j.Z7pkS-bMEuSx)8">
<field name="NUM">3600000000</field>
</shadow>
</value>
</block>
</value>
<next>
<block type="update" id="4Xpm%%`]12=B#*=a%o[u">
<mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
<field name="OID">0_userdata.0.Blockly.Zaehlerstand</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="math_rndfixed" id="Fi+y#pzlNS:lX?V4~H)H">
<field name="n">2</field>
<value name="x">
<shadow type="math_number" id="qs|kKvkZf0x/{I2*%7;Y">
<field name="NUM">3.1234</field>
</shadow>
<block type="variables_get" id="aWlL*YM5dr|Z#rCnfJK|">
<field name="VAR" id="=}(t[?(kyO6G;_5{47zw">energie</field>
</block>
</value>
</block>
</value>
</block>
</next>
</block>
</next>
</block>
</statement>
</block>
</next>
</block>
</next>
</block>
</xml>