Hatte das selbe Problem, leider auch mit dem anderen Script. Also hatte ich mir auf Basis der Script ein eigenes mit entsprechenden Warteschleifen geschrieben. Nutze ich beim Trockner und der Waschmaschine und funktioniert seit mehreren Wochen fehlerfrei. Vielleicht hilft es dir ja auch.
Ist ein blockly zum importieren.
<xml xmlns="http://www.w3.org/1999/xhtml"><block type="comment" id="(vOoGTR5frETe?khXhT~" x="63" y="13"><field name="COMMENT">Leistung in Variable schreiben</field>
<next><block type="on_ext" id="d6M.pWP)`OgJKU%c0+i}"><mutation items="1"></mutation>
<field name="CONDITION">ne</field>
<value name="OID0"><shadow type="field_oid" id="Ri/D+5;s/87F@Df;A38x"><field name="oid">default</field></shadow>
<block type="field_oid" id="he_(Vo^(RWqh%8c4CtM="><field name="oid">sonoff.0.DVES_800849.ENERGY_Power</field></block></value>
<statement name="STATEMENT"><block type="variables_set" id="1[IeLhtI|mUYd]ujo?)Z"><field name="VAR">Power</field>
<value name="VALUE"><block type="get_value" id="DAotn55X+!}YgQlAnZo8"><field name="ATTR">val</field>
<field name="OID">sonoff.0.DVES_800849.ENERGY_Power</field></block></value>
<next><block type="debug" id="+hzw6x:hHMb7U}qfJ6H:" disabled="true"><field name="Severity">log</field>
<value name="TEXT"><shadow type="text" id="?Q29r0./p*(qcJ^.?|]o"><field name="TEXT">test</field></shadow>
<block type="text_join" id="F*}3C~TSAbjSL|%/@K`j"><mutation items="3"></mutation>
<value name="ADD0"><block type="text" id="SSBw#.)bS~wPlt2OuKWX"><field name="TEXT">Waschmaschine:</field></block></value>
<value name="ADD1"><block type="variables_get" id="Nhp.,!:Ar,8eUHN10G?{"><field name="VAR">Power</field></block></value>
<value name="ADD2"><block type="text" id=".:4H/t:bNjV0]OEwd)(g"><field name="TEXT">Watt</field></block></value></block></value></block></next></block></statement>
<next><block type="comment" id="kZ/IMD2)K[zRFW2-=]d-"><field name="COMMENT">Grenzwert in Watt für Aktivierung setzen</field>
<next><block type="variables_set" id="+6%wNy)GbnFqrg~23^]T"><field name="VAR">Grenzwert</field>
<value name="VALUE"><block type="math_number" id="=a2;sZP}VTlF,2J3|dgw"><field name="NUM">20</field></block></value>
<next><block type="variables_set" id="a,@Ud,IT.Gf!NTqhF?pH"><field name="VAR">Verzögerung</field>
<value name="VALUE"><block type="logic_boolean" id="2q;)_=/2_!TS*~4JX^2o"><field name="BOOL">FALSE</field></block></value>
<next><block type="comment" id="YUx!N5Wl3%E/l31l.Bfi"><field name="COMMENT">Status Start Waschmaschine</field>
<next><block type="on_ext" id="`gux!^K=2qsc5Jr95z!M"><mutation items="1"></mutation>
<field name="CONDITION">any</field>
<value name="OID0"><shadow type="field_oid" id="[768r[WE@r]WXV60qt*_"><field name="oid">default</field></shadow>
<block type="field_oid" id="j}a%[`BQC9dEu,82{t4l"><field name="oid">sonoff.0.DVES_800849.ENERGY_Power</field></block></value>
<statement name="STATEMENT"><block type="controls_if" id=";Sznk`+@%8FgO`a8AgEz"><mutation elseif="1"></mutation>
<value name="IF0"><block type="logic_operation" id="y@(anG6v/)cfdM2nDE:b" inline="false"><field name="OP">AND</field>
<value name="A"><block type="logic_operation" id="f1=Xaf#MtOkEQU!L`WVk" inline="false"><field name="OP">AND</field>
<value name="A"><block type="logic_compare" id="S(tTei{q~)g|e.g6~pHb"><field name="OP">GTE</field>
<value name="A"><block type="variables_get" id="q_Zp*KhDx@c|IYXG5Ht?"><field name="VAR">Power</field></block></value>
<value name="B"><block type="variables_get" id="!Mr;ic1%3hC-/fmu353r"><field name="VAR">Grenzwert</field></block></value></block></value>
<value name="B"><block type="logic_compare" id="+T,:A3QX=GBtsv}Y,QSA"><field name="OP">EQ</field>
<value name="A"><block type="get_value" id="7dSd}_4n-_62HT,o_`b7"><field name="ATTR">val</field>
<field name="OID">javascript.0.Waschmaschine.Status_Waschmaschine_an</field></block></value>
<value name="B"><block type="math_number" id=".9@TcTCYUp2u#k3KI1v%"><field name="NUM">0</field></block></value></block></value></block></value>
<value name="B"><block type="logic_compare" id="Po+V#rLl;T_N)+*{H||z"><field name="OP">EQ</field>
<value name="A"><block type="variables_get" id="2Oqc_R7It1H0D=I6`5B/"><field name="VAR">Verzögerung</field></block></value>
<value name="B"><block type="logic_boolean" id="*|}%N|V/8Kd!il~zZ^az"><field name="BOOL">FALSE</field></block></value></block></value></block></value>
<statement name="DO0"><block type="variables_set" id="nBAP;N~5t?::PSiUdiVS"><field name="VAR">Verzögerung</field>
<value name="VALUE"><block type="logic_boolean" id="9PaN2h^:=9UAuPt)cII2"><field name="BOOL">TRUE</field></block></value>
<next><block type="variables_set" id="k#X/TXj2KNI=y!TR9]Zn"><field name="VAR">Stromzähler_Beginn</field>
<value name="VALUE"><block type="get_value" id="OM*NAC%5;~o7c!v~wj1o"><field name="ATTR">val</field>
<field name="OID">sonoff.0.DVES_800849.ENERGY_Total</field></block></value>
<next><block type="debug" id="4UQDIU^05=NOcX=c6hbI"><field name="Severity">log</field>
<value name="TEXT"><shadow type="text" id="?Q29r0./p*(qcJ^.?|]o"><field name="TEXT">test</field></shadow>
<block type="text" id="6ew:E1TS;^Ld?M^U65Rr"><field name="TEXT">Waschmaschine: Starttimer gestartet</field></block></value>
<next><block type="timeouts_settimeout" id="m#wid=8a`TmHWCZ0G)1@"><field name="NAME">Starttimer</field>
<field name="DELAY">2</field>
<field name="UNIT">min</field>
<statement name="STATEMENT"><block type="variables_set" id="#QENGD`QYeOwA23OPPL*"><field name="VAR">Verzögerung</field>
<value name="VALUE"><block type="logic_boolean" id="OC9663bK{rw#jFSGdmLx"><field name="BOOL">FALSE</field></block></value>
<next><block type="update" id="C:0O2m%+rRF!z{aJx;v8"><mutation delay_input="false"></mutation>
<field name="OID">javascript.0.Waschmaschine.Status_Waschmaschine_an</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE"><block type="math_number" id="-t_Z=bhYov!vfhfs=`;f"><field name="NUM">1</field></block></value></block></next></block></statement></block></next></block></next></block></next></block></statement>
<value name="IF1"><block type="logic_operation" id=",zaXpk:,!.Qt.(21tL}`" inline="false"><field name="OP">AND</field>
<value name="A"><block type="logic_operation" id="TfQvZ=Z+er=J{.=BR8=S" inline="false"><field name="OP">AND</field>
<value name="A"><block type="logic_compare" id=")_KORZZqX92!nWq#JReH"><field name="OP">LT</field>
<value name="A"><block type="variables_get" id="*1u.aDrJckz+t3xY+oS*"><field name="VAR">Power</field></block></value>
<value name="B"><block type="variables_get" id="ZtJdi|FcY-v_F[y-_o%z"><field name="VAR">Grenzwert</field></block></value></block></value>
<value name="B"><block type="logic_compare" id="-x=X@g|S5jLHb@o,fo8l"><field name="OP">EQ</field>
<value name="A"><block type="get_value" id="iV]uJNtW=dR9,uLAlx#F"><field name="ATTR">val</field>
<field name="OID">javascript.0.Waschmaschine.Status_Waschmaschine_an</field></block></value>
<value name="B"><block type="math_number" id="+d(QC/`:AL)}PmML7s+!"><field name="NUM">0</field></block></value></block></value></block></value>
<value name="B"><block type="logic_compare" id="%1F5XcZlZ6]wqC5?Ipgw"><field name="OP">EQ</field>
<value name="A"><block type="variables_get" id="8M@;;.Cgj]cixO+9evzm"><field name="VAR">Verzögerung</field></block></value>
<value name="B"><block type="logic_boolean" id="Bq(y-T#/F8/fJM[[N!.E"><field name="BOOL">TRUE</field></block></value></block></value></block></value>
<statement name="DO1"><block type="variables_set" id="O,%_]xX7H2cMhJ?Aw{=L"><field name="VAR">Verzögerung</field>
<value name="VALUE"><block type="logic_boolean" id="1kst`,lil+L.LcUiN[.^"><field name="BOOL">FALSE</field></block></value>
<next><block type="debug" id="I`B*l}]pJSJ%)li(Vcr/"><field name="Severity">log</field>
<value name="TEXT"><shadow type="text" id="?Q29r0./p*(qcJ^.?|]o"><field name="TEXT">test</field></shadow>
<block type="text" id="KH:Uu.,Xi[JKEsf?Y`%u"><field name="TEXT">Waschmaschine: Starttimer gestoppt</field></block></value>
<next><block type="timeouts_cleartimeout" id="@Yx/J(P%e[0@7fN,D:~6"><field name="NAME">Starttimer</field></block></next></block></next></block></statement></block></statement>
<next><block type="on_ext" id="AB7RsUDbmCW)nkEh3}f~"><mutation items="1"></mutation>
<field name="CONDITION">any</field>
<value name="OID0"><shadow type="field_oid" id="Z~`I;z+k%9{_5{4UKwY`"><field name="oid">default</field></shadow>
<block type="field_oid" id="@XP.YVA!@?|i#y1#B|s|"><field name="oid">sonoff.0.DVES_800849.ENERGY_Power</field></block></value>
<statement name="STATEMENT"><block type="controls_if" id="V;(A3H4nO1Bf/g^X7C~t"><mutation elseif="1"></mutation>
<value name="IF0"><block type="logic_operation" id="rILIFCO!hLSf,=8*;2gD" inline="false"><field name="OP">AND</field>
<value name="A"><block type="logic_operation" id="@/ijpGU{x.Wr3{k?ELCM" inline="false"><field name="OP">AND</field>
<value name="A"><block type="logic_compare" id="gfkv~!edP-c2w%7U?l?*"><field name="OP">LT</field>
<value name="A"><block type="variables_get" id="DONZ294H{|jbuV6Dl4}n"><field name="VAR">Power</field></block></value>
<value name="B"><block type="variables_get" id="gNk(rnVV|~G!:.W8nch,"><field name="VAR">Grenzwert</field></block></value></block></value>
<value name="B"><block type="logic_compare" id="nJAg}-qHVIqy[hNS~U[#"><field name="OP">EQ</field>
<value name="A"><block type="get_value" id="(Ni?A`[D-tvmBW#yvcO*"><field name="ATTR">val</field>
<field name="OID">javascript.0.Waschmaschine.Status_Waschmaschine_an</field></block></value>
<value name="B"><block type="math_number" id="~_#6tn,?iS[8iTP%iBuQ"><field name="NUM">1</field></block></value></block></value></block></value>
<value name="B"><block type="logic_compare" id=":CM16Qtgj/*{FqZcFXT!"><field name="OP">EQ</field>
<value name="A"><block type="variables_get" id="xtM*o^kM:xa[cbaLVtli"><field name="VAR">Verzögerung</field></block></value>
<value name="B"><block type="logic_boolean" id="GV6s#{.zY1}t_YqivWuQ"><field name="BOOL">FALSE</field></block></value></block></value></block></value>
<statement name="DO0"><block type="variables_set" id="989Jqd|XZY#E(VuSl@N{"><field name="VAR">Verzögerung</field>
<value name="VALUE"><block type="logic_boolean" id="r{FqD~%ug5DBM1?k759T"><field name="BOOL">TRUE</field></block></value>
<next><block type="debug" id="yJ|c8uI34Pk!H.:Qo09g"><field name="Severity">log</field>
<value name="TEXT"><shadow type="text" id="?Q29r0./p*(qcJ^.?|]o"><field name="TEXT">test</field></shadow>
<block type="text" id="6E!T=[/LzKd^.H=%RQ*H"><field name="TEXT">Waschmaschine: Stoptimer gestartet</field></block></value>
<next><block type="timeouts_settimeout" id=",-v1ao!V|k`m/NeP?Ail"><field name="NAME">Stoptimer</field>
<field name="DELAY">10</field>
<field name="UNIT">min</field>
<statement name="STATEMENT"><block type="variables_set" id="vK9R3GI+MKSa}ir1#hE6"><field name="VAR">Verzögerung</field>
<value name="VALUE"><block type="logic_boolean" id="nA(#VtGq-9gWHTGgbm8%"><field name="BOOL">FALSE</field></block></value>
<next><block type="variables_set" id=")n?iK+mRvw_c0SfI`MG_"><field name="VAR">Stromzähler_Ende</field>
<value name="VALUE"><block type="get_value" id="[.8/1(p6+Yg0/3uF(75I"><field name="ATTR">val</field>
<field name="OID">sonoff.0.DVES_800849.ENERGY_Total</field></block></value>
<next><block type="variables_set" id="L%#R)=ULYcK`XdP}J)*+"><field name="VAR">Stromverbrauch</field>
<value name="VALUE"><block type="math_arithmetic" id="aj?xu_8F6(kKwNkm*OR^"><field name="OP">DIVIDE</field>
<value name="A"><shadow type="math_number" id="xkvXpH}^y_%EZ-q-T_jq"><field name="NUM">1</field></shadow>
<block type="math_round" id="LIS;;Rccg41?G;QR{JfI"><field name="OP">ROUND</field>
<value name="NUM"><shadow type="math_number" id="[~c+blf9GQ03OV%WHS3a"><field name="NUM">3.1</field></shadow>
<block type="math_arithmetic" id="B{?HiiV`v[qf!*ojx?g@"><field name="OP">MULTIPLY</field>
<value name="A"><shadow type="math_number" id="cKL.vDT@U1AdMje#(|U#"><field name="NUM">1</field></shadow>
<block type="math_arithmetic" id="EBW37VKFg32D87)7H35k"><field name="OP">MINUS</field>
<value name="A"><shadow type="math_number" id="K:C1[slGeKPmKYP;53g-"><field name="NUM">1</field></shadow>
<block type="variables_get" id="h3!255L?egBZ_%[A.H3x"><field name="VAR">Stromzähler_Ende</field></block></value>
<value name="B"><shadow type="math_number" id="3pkhNKo--EJWfr%P:*,v"><field name="NUM">1</field></shadow>
<block type="variables_get" id="8kz{cSCJi;F;):mekIC^"><field name="VAR">Stromzähler_Beginn</field></block></value></block></value>
<value name="B"><shadow type="math_number" id="K]8F5W`#%5%TMVJ(*ZGP"><field name="NUM">100</field></shadow></value></block></value></block></value>
<value name="B"><shadow type="math_number" id="Q-Poc:9*w=T6GBZ)WMyt"><field name="NUM">100</field></shadow></value></block></value>
<next><block type="update" id="!E?IyjE^,)ll{V@*fDAY"><mutation delay_input="false"></mutation>
<field name="OID">javascript.0.Waschmaschine.Status_Waschmaschine_an</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE"><block type="math_number" id="i6fCWki(N;AWRvN;z8u]"><field name="NUM">0</field></block></value></block></next></block></next></block></next></block></statement></block></next></block></next></block></statement>
<value name="IF1"><block type="logic_operation" id="/xBxjS?0OhHSqa`9)s,?" inline="false"><field name="OP">AND</field>
<value name="A"><block type="logic_operation" id="[_JqQ@#qbQB(}pdrrGjI" inline="false"><field name="OP">AND</field>
<value name="A"><block type="logic_compare" id="K|,AJnA[kzB2qx5gKtlm"><field name="OP">GTE</field>
<value name="A"><block type="variables_get" id="f=5E/JJYTej;lY44*Fe^"><field name="VAR">Power</field></block></value>
<value name="B"><block type="variables_get" id="2yE9NYW63RS%q;~6FndA"><field name="VAR">Grenzwert</field></block></value></block></value>
<value name="B"><block type="logic_compare" id="t1O1a.|5SI~g?O,*DLA3"><field name="OP">EQ</field>
<value name="A"><block type="get_value" id="OG@ukPw5L-}Td#/3;H_H"><field name="ATTR">val</field>
<field name="OID">javascript.0.Waschmaschine.Status_Waschmaschine_an</field></block></value>
<value name="B"><block type="math_number" id="DJ+F!dh_vN(7}Xx?DV2H"><field name="NUM">1</field></block></value></block></value></block></value>
<value name="B"><block type="logic_compare" id="k4FN-cci%n5,a|QuxG.1"><field name="OP">EQ</field>
<value name="A"><block type="variables_get" id="PGeOOBAXJwN(LxCkB36c"><field name="VAR">Verzögerung</field></block></value>
<value name="B"><block type="logic_boolean" id="VaI-9ScU*KRVt)Pr3Qm5"><field name="BOOL">TRUE</field></block></value></block></value></block></value>
<statement name="DO1"><block type="variables_set" id="yWxH3L#MS~6Uo-)cq~!n"><field name="VAR">Verzögerung</field>
<value name="VALUE"><block type="logic_boolean" id="!dpwF?iZIAD~9)Kk!rNI"><field name="BOOL">FALSE</field></block></value>
<next><block type="debug" id="2H]KdV(yRO!NUL*-^!9|"><field name="Severity">log</field>
<value name="TEXT"><shadow type="text" id="?Q29r0./p*(qcJ^.?|]o"><field name="TEXT">test</field></shadow>
<block type="text" id="DJU;D,F^yAoS%hU=L3Jx"><field name="TEXT">Waschmaschine: Stoptimer gestoppt</field></block></value>
<next><block type="timeouts_cleartimeout" id="=4)Uk8XI8lj@=hOmW|w#"><field name="NAME">Stoptimer</field></block></next></block></next></block></statement></block></statement>
<next><block type="on_ext" id="Zm17lH5BRYSXyFD0u,T["><mutation items="1"></mutation>
<field name="CONDITION">ne</field>
<value name="OID0"><shadow type="field_oid" id="Q4-zUQfI121zR4ZlUa|N"><field name="oid">javascript.0.Waschmaschine.Status_Waschmaschine_an</field></shadow></value>
<statement name="STATEMENT"><block type="controls_if" id="BA!1tq1H-DjL;h%sa|zE"><mutation else="1"></mutation>
<value name="IF0"><block type="logic_compare" id=".~Bv)P0a28xr#`x:2@;A"><field name="OP">EQ</field>
<value name="A"><block type="get_value" id="RuiAt1|zN_h9Ec+?f@0r"><field name="ATTR">val</field>
<field name="OID">javascript.0.Waschmaschine.Status_Waschmaschine_an</field></block></value>
<value name="B"><block type="math_number" id=")l;FPI!3vlL!pR9p|[}V"><field name="NUM">1</field></block></value></block></value>
<statement name="DO0"><block type="procedures_callnoreturn" id="?Ij3`uV(]buqEWYz.~1!" disabled="true"><mutation name="Melden mit"><arg name="Meldetext"></arg></mutation>
<value name="ARG0"><block type="text" id="Flm.ByLL|]3V|4,vVJ6J"><field name="TEXT">Waschvorgang wurde gestartet. Waschmaschine aktiv.</field></block></value></block></statement>
<statement name="ELSE"><block type="procedures_callnoreturn" id="G7~+/J7+Wy/w;540p3U)"><mutation name="Melden mit"><arg name="Meldetext"></arg></mutation>
<value name="ARG0"><block type="text_join" id="xhB{Xod1[:xH~}uC(nQ#"><mutation items="3"></mutation>
<value name="ADD0"><block type="text" id="j-+aZ%;H4OOtxx^~72:*"><field name="TEXT">Waschvorgang ist beendet. Waschmaschine fertig. Stromverbrauch für Waschvorgang lag bei</field></block></value>
<value name="ADD1"><block type="variables_get" id="^XxddfoVq/#TuYcm_bY1"><field name="VAR">Stromverbrauch</field></block></value>
<value name="ADD2"><block type="text" id="=t~W/3Q|lHC2ON*CSML|"><field name="TEXT"> kWh.</field></block></value></block></value></block></statement></block></statement>
<next><block type="on_ext" id="6u-NYU@q76J6`8C)IO{3"><mutation items="1"></mutation>
<field name="CONDITION">ne</field>
<value name="OID0"><shadow type="field_oid" id="SgKyd!=W]#wRsufq.T62"><field name="oid">javascript.0.Waschmaschine.Status_Waschmaschine_an</field></shadow></value>
<statement name="STATEMENT"><block type="controls_if" id="i.q,BMJBhzo?2;7^;yn6"><mutation elseif="1"></mutation>
<value name="IF0"><block type="logic_compare" id="x8,XXcspBuVtE(4Asd!8" inline="false"><field name="OP">EQ</field>
<value name="A"><block type="get_value" id="fg+@gPzxriK3Kw./[;33"><field name="ATTR">val</field>
<field name="OID">javascript.0.Waschmaschine.Status_Waschmaschine_an</field></block></value>
<value name="B"><block type="math_number" id="r{)cC84r8:N._uyo0=MK"><field name="NUM">1</field></block></value></block></value>
<statement name="DO0"><block type="update" id="+EXz[5_tROsVc4oq_QRM"><mutation delay_input="false"></mutation>
<field name="OID">javascript.0.Waschmaschine.Status_Waschmaschine_aus_an_fertig</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE"><block type="math_number" id="B`;x{rdC#{4{c_!BK?et"><field name="NUM">1</field></block></value>
<next><block type="timeouts_cleartimeout" id="|O{|X4wX({41hA/HI//:"><field name="NAME">AnAusFertig</field>
<next><block type="debug" id="l4h(iQy;Dk3XgFQd:wkL"><field name="Severity">log</field>
<value name="TEXT"><shadow type="text" id="WTy~QA?c%BA^~F,vGXlO"><field name="TEXT">Waschmaschine aktiv</field></shadow></value></block></next></block></next></block></statement>
<value name="IF1"><block type="logic_operation" id="/BMJ4BZ6hQt+bm!6c!PH" inline="false"><field name="OP">AND</field>
<value name="A"><block type="logic_compare" id="jrs8jCbJ1IMz/1fNHLcT" inline="false"><field name="OP">EQ</field>
<value name="A"><block type="get_value" id="w]R,])oZ1RN[Oz1,+T#q"><field name="ATTR">val</field>
<field name="OID">javascript.0.Waschmaschine.Status_Waschmaschine_an</field></block></value>
<value name="B"><block type="math_number" id="Q^9w=mGOH+nFr/5b9AL|"><field name="NUM">0</field></block></value></block></value>
<value name="B"><block type="logic_compare" id="9(~SCj1h{b=_~d#Eqyi=" inline="false"><field name="OP">EQ</field>
<value name="A"><block type="get_value" id="mqB{T@%Vu=Y:kmwprdg@"><field name="ATTR">val</field>
<field name="OID">javascript.0.Waschmaschine.Status_Waschmaschine_aus_an_fertig</field></block></value>
<value name="B"><block type="math_number" id="BK|Z3-?F@hzPVL2yWx_u"><field name="NUM">1</field></block></value></block></value></block></value>
<statement name="DO1"><block type="update" id="8.PtxB0Z~ZY?6`,X2+`T"><mutation delay_input="false"></mutation>
<field name="OID">javascript.0.Waschmaschine.Status_Waschmaschine_aus_an_fertig</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE"><block type="math_number" id="7SijuWs,T4h!oO]!+c(r"><field name="NUM">2</field></block></value>
<next><block type="debug" id="a3iK,{AE3=xE@yX,6qrE"><field name="Severity">log</field>
<value name="TEXT"><shadow type="text" id="WCHJ)@PebLTOn^D?*HHJ"><field name="TEXT">Waschmaschine fertig</field></shadow></value>
<next><block type="timeouts_settimeout" id="D4r2s=i@n^pB@a(r7qc."><field name="NAME">AnAusFertig</field>
<field name="DELAY">60</field>
<field name="UNIT">min</field>
<statement name="STATEMENT"><block type="controls_if" id=".Dbk(RcFCFF=A+3?;szq"><value name="IF0"><block type="logic_compare" id="+@Zk~ek?!P+IhO^:%hFs" inline="false"><field name="OP">EQ</field>
<value name="A"><block type="get_value" id="5S6#i3RA0AA-//Mowgc5"><field name="ATTR">val</field>
<field name="OID">javascript.0.Waschmaschine.Status_Waschmaschine_an</field></block></value>
<value name="B"><block type="math_number" id="Y?Ucut)I`Mxv09lu/:@7"><field name="NUM">0</field></block></value></block></value>
<statement name="DO0"><block type="update" id="mDhSymP%BtkcnA9P^S#)"><mutation delay_input="false"></mutation>
<field name="OID">javascript.0.Waschmaschine.Status_Waschmaschine_aus_an_fertig</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE"><block type="math_number" id="[s{G53dR}!Y+PBv(Od=N"><field name="NUM">0</field></block></value>
<next><block type="debug" id="26HYH^,pZg5N_:s)PzO."><field name="Severity">log</field>
<value name="TEXT"><shadow type="text" id="%=qn#!(emAv+,+|e?:{?"><field name="TEXT">Waschmaschine aus</field></shadow></value></block></next></block></statement></block></statement></block></next></block></next></block></statement></block></statement></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block>
<block type="procedures_defnoreturn" id="![*gwjP+-V1278=`%LFY" x="863" y="13"><mutation><arg name="Meldetext"></arg></mutation>
<field name="NAME">Melden mit</field>
<comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
<statement name="STACK"><block type="debug" id="AnQZLKLIfS@B!ecv7q*j"><field name="Severity">log</field>
<value name="TEXT"><shadow type="text" id="*:NjgbJ=[g7R/=F/lgua"><field name="TEXT">test</field></shadow>
<block type="variables_get" id="[G5GIHz+}S-V{-d1-rOn"><field name="VAR">Meldetext</field></block></value>
<next><block type="pushover" id="7?-`%Ro@4p~%SRX1QCpv"><field name="PRIORITY">0</field>
<value name="MESSAGE"><shadow type="text" id="(K25I#K3.7M[@OLZ3-hJ"><field name="TEXT">text</field></shadow>
<block type="variables_get" id="R?=bZ-PJ#cMC47joDt,/"><field name="VAR">Meldetext</field></block></value>
<value name="TITLE"><block type="text" id="G}]]907BRy2Z=m;b^,p4"><field name="TEXT">Waschmaschine</field></block></value></block></next></block></statement></block></xml>
Viel Spaß und Erfolg!
Gesendet von iPad mit Tapatalk