BlocklyJavascriptTypeScript Protokoll Ausgewählte Blöcke exportieren <xml xmlns="https://developers.google.com/blockly/xml"> <variables> <variable id=")cAua^BO:F*]^LR-kD2C">parameter</variable> <variable id="u5`iQVuU#|;$09.HUBZs">VerzoegerungAktiv</variable> <variable id="3a3@K*,X.I20ja.;?~Ft">GrenzWertInWatt</variable> <variable type="timeout" id="timeout">timeout</variable> <variable type="timeout" id="Einschaltverzoegerung">Einschaltverzoegerung</variable> </variables> <block type="create" id=":XvakORUFJ^_I1/^;0qD" x="-312" y="-662"> <field name="NAME">WaschmaschineAN</field> <value name="VALUE"> <block type="text" id="1$3ItSqkg[Y`1p~c}2:d"> <field name="TEXT">true</field> </block> </value> <value name="COMMON"> <block type="text" id="~CRvYARI$V8o.}amF9(O"> <field name="TEXT">{"name" : "WaschmaschineAN" , "rolle" : "state"}</field> </block> </value> <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="u5`iQVuU#|;$09.HUBZs">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="3a3@K*,X.I20ja.;?~Ft">GrenzWertInWatt</field> <value name="VALUE"> <block type="math_number" id="OB=)nO2pXH:1HNwm(JpG"> <field name="NUM">5.5</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.0.MEQ0350428.2.POWER</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="u5`iQVuU#|;$09.HUBZs">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="u5`iQVuU#|;$09.HUBZs">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="3a3@K*,X.I20ja.;?~Ft">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.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="u5`iQVuU#|;$09.HUBZs">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.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="telegram" id="BU/(X*b_6Rq_,.8U+V7b"> <field name="INSTANCE"></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" id="8c_#mgs^%DR{[x76rLR_"> <field name="TEXT">text</field> </shadow> <block type="text" id="{QcAY3oi:,FGG.929?TS"> <field name="TEXT">Waschmaschine LÄUFT</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="3a3@K*,X.I20ja.;?~Ft">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="3a3@K*,X.I20ja.;?~Ft">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.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="sDP?w~)oJD}Z95[_?EY0" x="-312" y="713"> <mutation> <arg name="parameter" varid=")cAua^BO:F*]^LR-kD2C"></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="timeouts_cleartimeout" id="y7iPL;/^^,*);q|%Pk6;"> <field name="NAME">timeout</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=")cAua^BO:F*]^LR-kD2C">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">3</field> <field name="UNIT">min</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.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="telegram" id="o;+=XW2/)jps`jX/U4Ay"> <field name="INSTANCE"></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" id="bb)[Du7yUsgfpvf4T{U]"> <field name="TEXT">text</field> </shadow> <block type="text" id="leE4:W;JI@,LD;n0Gs6r"> <field name="TEXT">Waschmaschine FERTIG 🤗</field> </block> </value> </block> </next> </block> </statement> </block> </next> </block> </statement> </block> </next> </block> </next> </block> </statement> </block> </xml> <xml xmlns="https://developers.google.com/blockly/xml"> <variables> <variable id=")cAua^BO:F*]^LR-kD2C">parameter</variable> <variable id="u5`iQVuU#|;$09.HUBZs">VerzoegerungAktiv</variable> <variable id="3a3@K*,X.I20ja.;?~Ft">GrenzWertInWatt</variable> <variable type="timeout" id="timeout">timeout</variable> <variable type="timeout" id="Einschaltverzoegerung">Einschaltverzoegerung</variable> </variables> <block type="create" id=":XvakORUFJ^_I1/^;0qD" x="-312" y="-662"> <field name="NAME">WaschmaschineAN</field> <value name="VALUE"> <block type="text" id="1$3ItSqkg[Y`1p~c}2:d"> <field name="TEXT">true</field> </block> </value> <value name="COMMON"> <block type="text" id="~CRvYARI$V8o.}amF9(O"> <field name="TEXT">{"name" : "WaschmaschineAN" , "rolle" : "state"}</field> </block> </value> <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="u5`iQVuU#|;$09.HUBZs">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="3a3@K*,X.I20ja.;?~Ft">GrenzWertInWatt</field> <value name="VALUE"> <block type="math_number" id="OB=)nO2pXH:1HNwm(JpG"> <field name="NUM">5.5</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.0.MEQ0350428.2.POWER</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="u5`iQVuU#|;$09.HUBZs">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="u5`iQVuU#|;$09.HUBZs">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="3a3@K*,X.I20ja.;?~Ft">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.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="u5`iQVuU#|;$09.HUBZs">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.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="telegram" id="BU/(X*b_6Rq_,.8U+V7b"> <field name="INSTANCE"></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" id="8c_#mgs^%DR{[x76rLR_"> <field name="TEXT">text</field> </shadow> <block type="text" id="{QcAY3oi:,FGG.929?TS"> <field name="TEXT">Waschmaschine LÄUFT</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="3a3@K*,X.I20ja.;?~Ft">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="3a3@K*,X.I20ja.;?~Ft">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.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="sDP?w~)oJD}Z95[_?EY0" x="-312" y="713"> <mutation> <arg name="parameter" varid=")cAua^BO:F*]^LR-kD2C"></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="timeouts_cleartimeout" id="y7iPL;/^^,*);q|%Pk6;"> <field name="NAME">timeout</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=")cAua^BO:F*]^LR-kD2C">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">3</field> <field name="UNIT">min</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.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="telegram" id="o;+=XW2/)jps`jX/U4Ay"> <field name="INSTANCE"></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" id="bb)[Du7yUsgfpvf4T{U]"> <field name="TEXT">text</field> </shadow> <block type="text" id="leE4:W;JI@,LD;n0Gs6r"> <field name="TEXT">Waschmaschine FERTIG 🤗</field> </block> </value> </block> </next> </block> </statement> </block> </next> </block> </statement> </block> </next> </block> </next> </block> </statement> </block> </xml>