Hallo liebe Leute,
erstmal vielen lieben Dank für die Vorlage.
Ich habe es ein wenig modifiziert, mit einer Kostenberechnung und über meine Homematic IP Steckdose (Standarteinstellung) am Laufen und möchte es euch nicht vorenthalten.
<xml xmlns="https://developers.google.com/blockly/xml">
<variables>
<variable id="hFunOGBZcTXA#u6pg1/N">Meldetext</variable>
<variable id="-I?6bgsaOwC_Ot_=lubM">parameter</variable>
<variable id="/X7^!,3ed[@~:K1W1m~y">wartezeit</variable>
<variable id="iudvL[/g8HU53/JA:jNL">Strompreis_proKWh</variable>
<variable id="D{t#lK_dwK_y*kR}o]?V">VerzoegerungAktiv</variable>
<variable id="v^vY=sz-rXYRR-=3NZYi">GrenzWertInWatt</variable>
<variable id="/mlJ|]H$WBhj/HlKp={M">Waschdauer</variable>
<variable type="timeout" id="timeout">timeout</variable>
<variable id="id5*A#_}QH!*|tRHHXMu">EnergieVerbrauch</variable>
<variable id=")aU%h@rMlr2se[EG@%r{">EnergieVerbrauchEuro</variable>
<variable type="timeout" id="Einschaltverzoegerung">Einschaltverzoegerung</variable>
</variables>
<block type="create" id=":XvakORUFJ^_I1/^;0qD" x="13" y="13">
<field name="NAME">Eigene_Datenpunkte.HWR.Waschmaschine.WaschmaschineAN</field>
<next>
<block type="comment" id="@`s,ARMz+*DZ*ns;z2m_">
<field name="COMMENT">Initialisierung bei Scriptstart</field>
<next>
<block type="comment" id="Ov|lJMd@PV!y.oUN9Boj">
<field name="COMMENT">VerzögerungAktiv NICHT ändern</field>
<next>
<block type="variables_set" id="T+;|Db@bx|T]wkX[e.xT">
<field name="VAR" id="D{t#lK_dwK_y*kR}o]?V">VerzoegerungAktiv</field>
<value name="VALUE">
<block type="logic_boolean" id="FimMeG{k6LBu0{7UjBJ4">
<field name="BOOL">FALSE</field>
</block>
</value>
<next>
<block type="comment" id="6q4+KcF6/q*eh;RCmGKL">
<field name="COMMENT">Entscheidungswert festlegen</field>
<next>
<block type="variables_set" id="pE;t15K()B2=@=,RY5D_">
<field name="VAR" id="v^vY=sz-rXYRR-=3NZYi">GrenzWertInWatt</field>
<value name="VALUE">
<block type="get_value" id="7G;4PDP)!E{^5{z}{PV0">
<field name="ATTR">val</field>
<field name="OID">javascript.0.Eigene_Datenpunkte.HWR.Waschmaschine.Schwellwert</field>
</block>
</value>
<next>
<block type="comment" id="|2tm%?,yK/o3_AA)J{ah">
<field name="COMMENT">Steckdose überwachen</field>
<next>
<block type="on_ext" id="n)UklDS{=z!-#^HfL@Ly">
<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="@Uda~stBc8L/=2DFzrvo">
<field name="oid">hm-rpc.1.0001D8A9933EFD.6.CURRENT</field>
</shadow>
</value>
<statement name="STATEMENT">
<block type="controls_if" id="=n/Jfc]x(Ib[NRPJZ%7X">
<value name="IF0">
<block type="logic_compare" id="?m1STicTe5=N-/f:Ji2s">
<field name="OP">EQ</field>
<value name="A">
<block type="on_source" id="QjKQBx`PdHENcy)eGM,5">
<field name="ATTR">oldState.val</field>
</block>
</value>
<value name="B">
<block type="math_number" id=":(p2PWPzD2(~R-q9upeS">
<field name="NUM">0</field>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="comment" id=";%e=m5A.5_U8[v[Odt7.">
<field name="COMMENT">Dieser Teil wird NUR ausgeführt wenn</field>
<next>
<block type="comment" id="Bv,r2iN_4zSfF_^X35gM">
<field name="COMMENT">Funkstecker oder Waschm. komplett aus war.</field>
<next>
<block type="variables_set" id="xuK#29.xYf)m6FX5LA78">
<field name="VAR" id="D{t#lK_dwK_y*kR}o]?V">VerzoegerungAktiv</field>
<value name="VALUE">
<block type="logic_boolean" id=")}Jh9zUdflaLNnL+;^h=">
<field name="BOOL">TRUE</field>
</block>
</value>
<next>
<block type="debug" id="Wv*jiP9Bn3#//0KE[4e[">
<field name="Severity">log</field>
<value name="TEXT">
<shadow type="text" id="!hyL_SIc#q!nV1G.NU,/">
<field name="TEXT">***Starte Verzögerung</field>
</shadow>
</value>
<next>
<block type="timeouts_settimeout" id="v[ws-ZxN:-nNl,kERlT8">
<field name="NAME">Einschaltverzoegerung</field>
<field name="DELAY">20</field>
<field name="UNIT">sec</field>
<statement name="STATEMENT">
<block type="comment" id="UyUTD{W;Ef;u2!)%y5h|">
<field name="COMMENT">Eventuell hohe Einschaltspannung abfangen.</field>
<next>
<block type="comment" id="^wiM;VZ*5RLS-+SMsG7?">
<field name="COMMENT">Diese kann größer als der Grenzwert sein</field>
<next>
<block type="variables_set" id="@d2;tEWydly|fW:ng;eg">
<field name="VAR" id="D{t#lK_dwK_y*kR}o]?V">VerzoegerungAktiv</field>
<value name="VALUE">
<block type="logic_boolean" id="S5R1RMtIKx(=N;}|dM%Z">
<field name="BOOL">FALSE</field>
</block>
</value>
<next>
<block type="debug" id="1^,/eLLAT{#66hqVIel8">
<field name="Severity">log</field>
<value name="TEXT">
<shadow type="text" id="[koH26;mOP0UeXV~CJRb">
<field name="TEXT">***Beende Verzögerung</field>
</shadow>
</value>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</statement>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</statement>
<next>
<block type="comment" id="EZK4(UY%`}HZl{2F)m6p">
<field name="COMMENT">Ab hier wird gewaschen</field>
<next>
<block type="controls_if" id="S(-Xvr1uja6/vNdH|?j:">
<mutation elseif="2"></mutation>
<value name="IF0">
<block type="logic_operation" id="s(;r=_ekdU*dF=_Tsrbb" inline="false">
<field name="OP">AND</field>
<value name="A">
<block type="logic_compare" id="d_lZY_VlNaa40/Pob=Um">
<field name="OP">GT</field>
<value name="A">
<block type="on_source" id="`c4GU.`+o2_G+Vdxq;n/">
<field name="ATTR">state.val</field>
</block>
</value>
<value name="B">
<block type="variables_get" id="FD[JnQcwajuYLgGmTX`.">
<field name="VAR" id="v^vY=sz-rXYRR-=3NZYi">GrenzWertInWatt</field>
</block>
</value>
</block>
</value>
<value name="B">
<block type="logic_operation" id="*Y`H0qa!`fsBeI/2Cv+c" inline="false">
<field name="OP">AND</field>
<value name="A">
<block type="logic_compare" id="zC,(}TPXAvX2yd^k`W._">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id=";a;[[bw/v2oQnG9DHZIn">
<field name="ATTR">val</field>
<field name="OID">javascript.0.Eigene_Datenpunkte.HWR.Waschmaschine.WaschmaschineAN</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id=";a5=vVD`86hstjR{4y~+">
<field name="BOOL">FALSE</field>
</block>
</value>
</block>
</value>
<value name="B">
<block type="logic_compare" id="K.3M9Le`+STB!.M_eD7O">
<field name="OP">EQ</field>
<value name="A">
<block type="variables_get" id="[!KuvI83Wzp*sDDNM{S!">
<field name="VAR" id="D{t#lK_dwK_y*kR}o]?V">VerzoegerungAktiv</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id="9_[X?aI?X1w]lj.RY`K^">
<field name="BOOL">FALSE</field>
</block>
</value>
</block>
</value>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="control" id="S6URE:3#}}.v#e!X.A4D">
<mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
<field name="OID">javascript.0.Eigene_Datenpunkte.HWR.Waschmaschine.WaschmaschineAN</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id="QqpwRU?xP?P=bvS9HS[1">
<field name="BOOL">TRUE</field>
</block>
</value>
<next>
<block type="procedures_callnoreturn" id="=!*WIp};Ta`)XeMMk,iR">
<mutation name="Melden">
<arg name="Meldetext"></arg>
</mutation>
<value name="ARG0">
<block type="get_value" id="V-y6EsZw%6T}y0dD2L=b">
<field name="ATTR">val</field>
<field name="OID">javascript.0.Eigene_Datenpunkte.HWR.Waschmaschine.Ansage</field>
</block>
</value>
</block>
</next>
</block>
</statement>
<value name="IF1">
<block type="logic_compare" id="Yuagp|w@)mC+asceXLLu">
<field name="OP">GT</field>
<value name="A">
<block type="on_source" id="P(tu4AS{);E?w-p?]{1q">
<field name="ATTR">state.val</field>
</block>
</value>
<value name="B">
<block type="variables_get" id="ou6,Zi?vbs[;{]@93U`!">
<field name="VAR" id="v^vY=sz-rXYRR-=3NZYi">GrenzWertInWatt</field>
</block>
</value>
</block>
</value>
<statement name="DO1">
<block type="comment" id="H90l#sdGb5I}Wqsbz=9s">
<field name="COMMENT">Timer stoppen</field>
<next>
<block type="procedures_callnoreturn" id="zo=cPu~=j#pus6bWVaJl">
<mutation name="checkFertig">
<arg name="parameter"></arg>
</mutation>
<value name="ARG0">
<block type="logic_boolean" id="1SYbGS^3xkqD/Uj?{bvJ">
<field name="BOOL">FALSE</field>
</block>
</value>
</block>
</next>
</block>
</statement>
<value name="IF2">
<block type="logic_operation" id="_@|YxZPYI(z3![Q=ZbX4" inline="false">
<field name="OP">AND</field>
<value name="A">
<block type="logic_compare" id="Ge6FX#6b5WYoc;wF%%iH">
<field name="OP">LT</field>
<value name="A">
<block type="on_source" id="0Vw33+AwVD~={g{aHa~d">
<field name="ATTR">state.val</field>
</block>
</value>
<value name="B">
<block type="variables_get" id="NufLwbvZR1.fEmqJNOTZ">
<field name="VAR" id="v^vY=sz-rXYRR-=3NZYi">GrenzWertInWatt</field>
</block>
</value>
</block>
</value>
<value name="B">
<block type="logic_compare" id="X[1t=zl25bQ]aHT[:`,8">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="4WFkiPOYU?#zQhOL)0u(">
<field name="ATTR">val</field>
<field name="OID">javascript.0.Eigene_Datenpunkte.HWR.Waschmaschine.WaschmaschineAN</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id="?jrLY7K)k;1?sa!Ef{VO">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</value>
</block>
</value>
<statement name="DO2">
<block type="comment" id="}Q59!:8+Dc~b~LwZhq-(">
<field name="COMMENT">Timer starten</field>
<next>
<block type="procedures_callnoreturn" id=";MD%1IF[[H29g_f=vvYH">
<mutation name="checkFertig">
<arg name="parameter"></arg>
</mutation>
<value name="ARG0">
<block type="logic_boolean" id="/yX*,4aU!HHUO#/2U-NR">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</next>
</block>
</statement>
</block>
</next>
</block>
</next>
</block>
</statement>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
<block type="procedures_defnoreturn" id="l1.gm`YNTt2#Ww;_Stf+" x="13" y="1288">
<mutation>
<arg name="Meldetext" varid="hFunOGBZcTXA#u6pg1/N"></arg>
</mutation>
<field name="NAME">Melden</field>
<comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
<statement name="STACK">
<block type="comment" id="CgkHkrp5c26e`w3uU(i`">
<field name="COMMENT">Hier wird die Meldung ausgegeben</field>
<next>
<block type="debug" id="SYQu;@N0JgE!W~[JZcZ_">
<field name="Severity">log</field>
<value name="TEXT">
<shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="4+J8c.^+FrkDV^]dAda-">
<field name="TEXT">test</field>
</shadow>
<block type="variables_get" id="KuX^Hf4/i6gnp|rmq9WR">
<field name="VAR" id="hFunOGBZcTXA#u6pg1/N">Meldetext</field>
</block>
</value>
<next>
<block type="comment" id="a;Ent4V!@/ELz)~^PTwn">
<field name="COMMENT">Hier den SendTo Baustein einsetzen,</field>
<next>
<block type="comment" id="Xc,u6Sm.@c5xeqVM)suq">
<field name="COMMENT">den man benutzen will.</field>
<next>
<block type="comment" id="cI=%X;P?/Tfam8YIny%V">
<field name="COMMENT">Die Meldung befindet sich in der Variablen</field>
<next>
<block type="comment" id="{(av)+6o4VfWo^eJEnft">
<field name="COMMENT">"Meldetext"</field>
<next>
<block type="telegram" id="N%hus5Fj::jrrPBhGG$r">
<field name="INSTANCE">.0</field>
<field name="LOG"></field>
<field name="SILENT">FALSE</field>
<field name="PARSEMODE">default</field>
<value name="MESSAGE">
<shadow type="text" id="5;Z=IiN?hQ!Bx%Wm1oeu">
<field name="TEXT">Die Waschmaschine wurde angeschalten.</field>
</shadow>
<block type="variables_get" id="50w[]},}tV:Vl/A:@GQq">
<field name="VAR" id="hFunOGBZcTXA#u6pg1/N">Meldetext</field>
</block>
</value>
<value name="USERNAME">
<block type="text" id=":pMV8/SRmkiL0{dTY=h7">
<field name="TEXT">Rababersaft</field>
</block>
</value>
<next>
<block type="control" id="3D$/CNc~D7-5_d;SPJ.h">
<mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
<field name="OID">alexa2.0.Echo-Devices.G090LV03704104V7.Commands.speak</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="variables_get" id="x^dL2IsNfccHmEc_5mMG">
<field name="VAR" id="hFunOGBZcTXA#u6pg1/N">Meldetext</field>
</block>
</value>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</statement>
</block>
<block type="procedures_defnoreturn" id="sDP?w~)oJD}Z95[_?EY0" x="13" y="1738">
<mutation>
<arg name="parameter" varid="-I?6bgsaOwC_Ot_=lubM"></arg>
</mutation>
<field name="NAME">checkFertig</field>
<comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
<statement name="STACK">
<block type="comment" id="V2@7jqv5RTl+}q}xfEsZ">
<field name="COMMENT">Timer stoppen</field>
<next>
<block type="variables_set" id=".=1]f;4,Ld}|j(JT8H0H">
<field name="VAR" id="/X7^!,3ed[@~:K1W1m~y">wartezeit</field>
<value name="VALUE">
<block type="math_arithmetic" id="NSbiq}Sazn|YVyF=Ht+B">
<field name="OP">MULTIPLY</field>
<value name="A">
<shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number">
<field name="NUM">1</field>
</shadow>
<block type="get_value" id="PWs_2Er@1)??^rlTiCyR">
<field name="ATTR">val</field>
<field name="OID">javascript.0.Eigene_Datenpunkte.HWR.Waschmaschine.Wartezeit</field>
</block>
</value>
<value name="B">
<shadow type="math_number" id=":JXx/;=Y[JpE1wK]fN#=">
<field name="NUM">60000</field>
</shadow>
</value>
</block>
</value>
<next>
<block type="timeouts_cleartimeout" id="y7iPL;/^^,*);q|%Pk6;">
<field name="NAME">Einschaltverzoegerung</field>
<next>
<block type="controls_if" id="*DX-*|5t*M5.|5Qw0p76">
<value name="IF0">
<block type="logic_compare" id="[-Hs2uzeFf6L7XO4:d6g">
<field name="OP">EQ</field>
<value name="A">
<block type="variables_get" id="uT*6f!Y:?Sivq1F-y;7_">
<field name="VAR" id="-I?6bgsaOwC_Ot_=lubM">parameter</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id="w?1)4.uK{/ey3NJ)NjH:">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="comment" id="fU`TRz:h*y1K[t@GmyY:">
<field name="COMMENT">Timer starten</field>
<next>
<block type="timeouts_settimeout" id="k%sy5:QdTn+3f@{OZshs">
<field name="NAME">timeout</field>
<field name="DELAY">wartezeit</field>
<field name="UNIT">ms</field>
<statement name="STATEMENT">
<block type="control" id="UOquZ.)w|Dv~5_@iC*HO">
<mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
<field name="OID">javascript.0.Eigene_Datenpunkte.HWR.Waschmaschine.WaschmaschineAN</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id="ttQizIf!/AB*HLfb9Kw1">
<field name="BOOL">FALSE</field>
</block>
</value>
<next>
<block type="procedures_callnoreturn" id="HHrpaU=vtt6v1JInTG~l">
<mutation name="Melden">
<arg name="Meldetext"></arg>
</mutation>
<value name="ARG0">
<block type="get_value" id="@E,iu;CK`xds=QaR=f?d">
<field name="ATTR">val</field>
<field name="OID">javascript.0.Eigene_Datenpunkte.HWR.Waschmaschine.Ansage_Aus</field>
</block>
</value>
</block>
</next>
</block>
</statement>
</block>
</next>
</block>
</statement>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</statement>
</block>
<block type="comment" id="Ndk2|M:b%{xY#gAT;#GB" x="13" y="2113">
<field name="COMMENT">Strompreisberechnung</field>
<next>
<block type="comment" id=",oUiU+);[kwQjaK$Jh|=">
<field name="COMMENT">und Meldung an TG</field>
<next>
<block type="variables_set" id="0hM-ii.o^!}n{7IE2@)-">
<field name="VAR" id="iudvL[/g8HU53/JA:jNL">Strompreis_proKWh</field>
<value name="VALUE">
<block type="math_number" id="5gOZS$(3{]gruLzkthKw">
<field name="NUM">0.2494</field>
</block>
</value>
<next>
<block type="on_ext" id="k:@3t/x/}S@JI_~Uh5wT">
<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="XmMa@,ld{@#|KwBmpZ)v">
<field name="oid">javascript.0.Eigene_Datenpunkte.HWR.Waschmaschine.WaschmaschineAN</field>
</shadow>
</value>
<statement name="STATEMENT">
<block type="controls_if" id="5|+:^$[-:4(J^fPG,NZ,">
<mutation else="1"></mutation>
<value name="IF0">
<block type="on_source" id="]KFop3Fiy|)q?#%IO`!^">
<field name="ATTR">state.val</field>
</block>
</value>
<statement name="DO0">
<block type="variables_set" id="tfpv1HGN^BVN/DXL*$jR">
<field name="VAR" id="/mlJ|]H$WBhj/HlKp={M">Waschdauer</field>
<value name="VALUE">
<block type="time_get" id="Po%YjhRka(b0OVbVw%~T">
<mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
<field name="OPTION">sid</field>
</block>
</value>
<next>
<block type="variables_set" id="jpff2s7PVg;HulDGklVe">
<field name="VAR" id="id5*A#_}QH!*|tRHHXMu">EnergieVerbrauch</field>
<value name="VALUE">
<block type="convert_tonumber" id="I8?TM5A`sy!f4lJ7-dZa">
<value name="VALUE">
<block type="get_value" id="b//hv.0irfww(?)P|)~Q">
<field name="ATTR">val</field>
<field name="OID">hm-rpc.1.0001D8A9933EFD.6.ENERGY_COUNTER</field>
</block>
</value>
</block>
</value>
</block>
</next>
</block>
</statement>
<statement name="ELSE">
<block type="variables_set" id="04(n4PXf;W_00Kfhk`q/">
<field name="VAR" id="/mlJ|]H$WBhj/HlKp={M">Waschdauer</field>
<value name="VALUE">
<block type="math_arithmetic" id="Pg%=K2BUsuE?Vk+jkVMq">
<field name="OP">MINUS</field>
<value name="A">
<shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number">
<field name="NUM">1</field>
</shadow>
<block type="time_get" id="X22ej-_2JTOba_}1(jWZ">
<mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
<field name="OPTION">sid</field>
</block>
</value>
<value name="B">
<shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number">
<field name="NUM">1</field>
</shadow>
<block type="variables_get" id="uR~d_zgedFdL3)aEA%5*">
<field name="VAR" id="/mlJ|]H$WBhj/HlKp={M">Waschdauer</field>
</block>
</value>
</block>
</value>
<next>
<block type="variables_set" id="ZANy7N^0)#.+-dp97$rg">
<field name="VAR" id="id5*A#_}QH!*|tRHHXMu">EnergieVerbrauch</field>
<value name="VALUE">
<block type="math_arithmetic" id="g9eF,;1r*w_PT]lABWT*">
<field name="OP">MINUS</field>
<value name="A">
<shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number">
<field name="NUM">1</field>
</shadow>
<block type="convert_tonumber" id="5OQMP_KUWm*)UI=XJ_|V">
<value name="VALUE">
<block type="get_value" id="`fk^)dW`:WbGP3{Z`eMv">
<field name="ATTR">val</field>
<field name="OID">hm-rpc.1.0001D8A9933EFD.6.ENERGY_COUNTER</field>
</block>
</value>
</block>
</value>
<value name="B">
<shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number">
<field name="NUM">1</field>
</shadow>
<block type="variables_get" id=":`[5v]Q;dgh-^nv]Oa_I">
<field name="VAR" id="id5*A#_}QH!*|tRHHXMu">EnergieVerbrauch</field>
</block>
</value>
</block>
</value>
<next>
<block type="variables_set" id="]SEB[(q32t-.x.3^bGr;">
<field name="VAR" id=")aU%h@rMlr2se[EG@%r{">EnergieVerbrauchEuro</field>
<value name="VALUE">
<block type="math_arithmetic" id="R,NJL#n-eV6wsTYON?1L">
<field name="OP">MULTIPLY</field>
<value name="A">
<shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number">
<field name="NUM">1</field>
</shadow>
<block type="math_arithmetic" id="12F{3ttb*u`[yKe[.rV0">
<field name="OP">DIVIDE</field>
<value name="A">
<shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number">
<field name="NUM">1</field>
</shadow>
<block type="variables_get" id="z:bk]x1u#poog-D9M?vA">
<field name="VAR" id="id5*A#_}QH!*|tRHHXMu">EnergieVerbrauch</field>
</block>
</value>
<value name="B">
<shadow type="math_number" id="M]1V$Vy=H(s0A1WM{:zx">
<field name="NUM">1000</field>
</shadow>
</value>
</block>
</value>
<value name="B">
<shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number">
<field name="NUM">0.277</field>
</shadow>
<block type="variables_get" id="4iY39:AuWZWmD`e!wFp{">
<field name="VAR" id="iudvL[/g8HU53/JA:jNL">Strompreis_proKWh</field>
</block>
</value>
</block>
</value>
<next>
<block type="telegram" id="$c**uPY9!D3]=4U,yy3q">
<field name="INSTANCE">.0</field>
<field name="LOG"></field>
<field name="SILENT">FALSE</field>
<field name="PARSEMODE">default</field>
<value name="MESSAGE">
<shadow xmlns="http://www.w3.org/1999/xhtml" type="text"></shadow>
<block type="text_join" id="E!znRV;PPJsEi(1!)[=x" inline="false">
<mutation items="7"></mutation>
<value name="ADD0">
<block type="text" id="$kc;o(Zx2Jxxn?,@T[:]">
<field name="TEXT">Der Waschvorgang dauerte </field>
</block>
</value>
<value name="ADD1">
<block type="math_round" id="{Hl,j~GV1!K]{7|DovlY">
<field name="OP">ROUND</field>
<value name="NUM">
<shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number">
<field name="NUM">3.1</field>
</shadow>
<block type="math_arithmetic" id="OS2gkL3Ip[Kc`K{P|$?_">
<field name="OP">DIVIDE</field>
<value name="A">
<shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number">
<field name="NUM">1</field>
</shadow>
<block type="variables_get" id="/+cgM,)r!WQjI%(Korpu">
<field name="VAR" id="/mlJ|]H$WBhj/HlKp={M">Waschdauer</field>
</block>
</value>
<value name="B">
<shadow type="math_number" id="!J_R~_G]gqb[L4?]i;c_">
<field name="NUM">60</field>
</shadow>
</value>
</block>
</value>
</block>
</value>
<value name="ADD2">
<block type="text" id="KZNFv;w]$bD2eGGEjTDz">
<field name="TEXT"> Minuten und hat </field>
</block>
</value>
<value name="ADD3">
<block type="math_rndfixed" id="s!Kcg|!3wt[pfwY%`D*^">
<field name="n">2</field>
<value name="x">
<shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number">
<field name="NUM">3.1234</field>
</shadow>
<block type="math_arithmetic" id="$,AkcAdd$YTh=by|`Ie1">
<field name="OP">DIVIDE</field>
<value name="A">
<shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number">
<field name="NUM">1</field>
</shadow>
<block type="variables_get" id="zcy$`fGs/,Ub@I6cbW:c">
<field name="VAR" id="id5*A#_}QH!*|tRHHXMu">EnergieVerbrauch</field>
</block>
</value>
<value name="B">
<shadow type="math_number" id="pv08rEn.4W(|=IA2r-Mi">
<field name="NUM">1000</field>
</shadow>
</value>
</block>
</value>
</block>
</value>
<value name="ADD4">
<block type="text" id="Jc958~5y+B;$4hhl*%k0">
<field name="TEXT"> kWh Energie (</field>
</block>
</value>
<value name="ADD5">
<block type="math_rndfixed" id="U)wXlbQ].B%4$[6n0pdL">
<field name="n">2</field>
<value name="x">
<shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number">
<field name="NUM">3.1234</field>
</shadow>
<block type="variables_get" id="J[Y2)z)bB_X2/ivdv9AO">
<field name="VAR" id=")aU%h@rMlr2se[EG@%r{">EnergieVerbrauchEuro</field>
</block>
</value>
</block>
</value>
<value name="ADD6">
<block type="text" id="zUJTZDW}g3}DpA8-}[q;">
<field name="TEXT"> €) beim Waschen verbraucht.</field>
</block>
</value>
</block>
</value>
<value name="USERNAME">
<block type="text" id="A;jfVZF{(X_vE]=YMMW}">
<field name="TEXT">Rababersaft</field>
</block>
</value>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</statement>
</block>
</statement>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</xml>
Viel Spass.... Falls jemanden eine Verbesserung oder ein Fehler auffällt, immer her damit