@telekom0815
sorry für die Verspätung hier der Export von meinem Script.
Gibt bestimmt noch fehler...Feedback erwünscht
<xml xmlns="http://www.w3.org/1999/xhtml">
<variables>
<variable type="undefined" id="timeout2">timeout2</variable>
<variable type="undefined" id="timeout">timeout</variable>
</variables>
<block type="procedures_defcustomnoreturn" id="L)jSk0=?1664IBxAbQ${" x="413" y="-437">
<mutation statements="false"></mutation>
<field name="NAME">Licht</field>
<field name="SCRIPT">bm9kZV9zc2ggPSByZXF1aXJlKCdub2RlLXNzaCcpOw0Kc3NoID0gbmV3IG5vZGVfc3NoKCk7DQpzc2guY29ubmVjdCh7DQogIGhvc3Q6ICcxOTIuMTY4LjEuOTAnLA0KICB1c2VybmFtZTogJ3BpJywNCiAgcGFzc3dvcmQ6ICdkc2xmbGF0MjM4OCcNCn0pLnRoZW4oKCkgPT4gew0KICBzc2guZXhlY0NvbW1hbmQoInN1ZG8gLi9sZWRyZWxhaXMuc2giKTsNCn0p</field>
<comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
</block>
<block type="procedures_defcustomnoreturn" id=".(*orQFL])}0jxjU)4Y?" x="412" y="-413">
<mutation statements="false"></mutation>
<field name="NAME">shutdown</field>
<field name="SCRIPT">bm9kZV9zc2ggPSByZXF1aXJlKCdub2RlLXNzaCcpOw0Kc3NoID0gbmV3IG5vZGVfc3NoKCk7DQpzc2guY29ubmVjdCh7DQogIGhvc3Q6ICcxOTIuMTY4LjEuOTAnLA0KICB1c2VybmFtZTogJ3VzZXInLA0KICBwYXNzd29yZDogJ3Bhc3N3b3JkJw0KfSkudGhlbigoKSA9PiB7DQogIHNzaC5leGVjQ29tbWFuZCgic3VkbyBzaHV0ZG93biBub3ciKTsNCn0p</field>
<comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
</block>
<block type="on_ext" id="g{.@~ZsR7(G/6laF9/Q#" x="413" y="-362">
<mutation items="1"></mutation>
<field name="CONDITION">ne</field>
<field name="ACK_CONDITION"></field>
<value name="OID0">
<shadow type="field_oid" id="y~e.v;I`cDBP?LqcT?!U">
<field name="oid">sonoff.0.Pow_62_3dDrucker.POWER</field>
</shadow>
</value>
<statement name="STATEMENT">
<block type="controls_if" id="bq*f7B;^s0VIfH13or9d" collapsed="true">
<value name="IF0">
<block type="logic_compare" id="`)MWIWh=Tk#m/[rK2ME1">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="pI^wpX~rmS#KtR^3V#gW">
<field name="ATTR">val</field>
<field name="OID">sonoff.0.Pow_62_3dDrucker.POWER</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id="Dypo~(SMny:}4_n1*v;o">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="update" id=")N[JwuYwCAbha*=m~vb#">
<mutation delay_input="false"></mutation>
<field name="OID">javascript.0.schalter.3d_drucker_rpi_shutdown</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id="SMqJ),5=rxG.tWDzQFHc">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</statement>
</block>
</statement>
<next>
<block type="on_ext" id="3BKaKP9u)QPYQ%fo_H*,">
<mutation items="1"></mutation>
<field name="CONDITION">ne</field>
<field name="ACK_CONDITION"></field>
<value name="OID0">
<shadow type="field_oid" id="/MXW2KlV+JX0__Wts%NE">
<field name="oid">javascript.0.schalter.3d_drucker_rpi_shutdown</field>
</shadow>
</value>
<statement name="STATEMENT">
<block type="controls_if" id="Y1]RH9fVR^;wJ8Phe!+c" collapsed="true">
<mutation elseif="1"></mutation>
<value name="IF0">
<block type="logic_compare" id="RYf.b.+|Wi,5*:d}+q|h">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="HcDY3c]hT.Ge6sRml(#}">
<field name="ATTR">val</field>
<field name="OID">javascript.0.schalter.3d_drucker_rpi_shutdown</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id="id8SS.AOEpq,U9L#tYyw">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="control" id="jhq_UY7!XJ^;i,.Aw16/">
<mutation delay_input="false"></mutation>
<field name="OID">sonoff.0.Pow_62_3dDrucker.POWER</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id="@7s`u,CbB44u*8Kc;{fW">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</statement>
<value name="IF1">
<block type="logic_compare" id="H%jbito/W8rkjv5!omm(">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="PZw8r5)!Jn`t%p0d}Ij2">
<field name="ATTR">val</field>
<field name="OID">javascript.0.schalter.3d_drucker_rpi_shutdown</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id="Uee7X#UslzxU]GjttWZ=">
<field name="BOOL">FALSE</field>
</block>
</value>
</block>
</value>
<statement name="DO1">
<block type="procedures_callcustomnoreturn" id="=#Q;NN(ZtFbYLwV?u3e7">
<mutation name="shutdown"></mutation>
</block>
</statement>
</block>
</statement>
<next>
<block type="on_ext" id=".lRhF1)wPIdz.yV?=jUi">
<mutation items="1"></mutation>
<field name="CONDITION">ne</field>
<field name="ACK_CONDITION"></field>
<value name="OID0">
<shadow type="field_oid" id="rD1iSaDm.=Mn4;HAX!SZ">
<field name="oid">octoprint.0.info.connection</field>
</shadow>
</value>
<statement name="STATEMENT">
<block type="controls_if" id="tceui~t=M5aK2PhN@AiR" collapsed="true">
<value name="IF0">
<block type="logic_compare" id="B#)x#N+vJUarGf^s_6{+">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="JW=V4G%F[o4KPRMMtzl^">
<field name="ATTR">val</field>
<field name="OID">octoprint.0.info.connection</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id="axn9[abqsx%lro~{tV2(">
<field name="BOOL">FALSE</field>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="timeouts_settimeout" id="SM?$]M-Vb4}!n0$moo8W">
<field name="NAME">timeout2</field>
<field name="DELAY">2</field>
<field name="UNIT">min</field>
<statement name="STATEMENT">
<block type="control" id="7BJy+SZfqlC-1?uxgv}T">
<mutation delay_input="false"></mutation>
<field name="OID">sonoff.0.Pow_62_3dDrucker.POWER</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id="Ae?^~gu-?tkI?Zf=l|05">
<field name="BOOL">FALSE</field>
</block>
</value>
</block>
</statement>
</block>
</statement>
</block>
</statement>
<next>
<block type="comment" id="/bgI6x_9=9MOPSSqT5y8">
<field name="COMMENT">Druck abbrechen</field>
<next>
<block type="on_ext" id="]`}dT6ao59[g0Zi7-8JR">
<mutation items="1"></mutation>
<field name="CONDITION">ne</field>
<field name="ACK_CONDITION"></field>
<value name="OID0">
<shadow type="field_oid" id="LBh%wWJ6EIHSB8k6[F1-">
<field name="oid">zigbee.0.00158d0001e832d0.click</field>
</shadow>
</value>
<statement name="STATEMENT">
<block type="controls_if" id="um*;L|HSsNG~}n_7RvJl" collapsed="true">
<mutation elseif="1"></mutation>
<value name="IF0">
<block type="logic_operation" id="p,OaYSoY:[YL+Zf=9,)L">
<field name="OP">AND</field>
<value name="A">
<block type="logic_compare" id="AHZ~4BmMwj*u+R59IT3{">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="D}UcxJ1Sk=PqTRKjUY=D">
<field name="ATTR">val</field>
<field name="OID">zigbee.0.00158d0001e832d0.click</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id="OD)9Sh(MuozULEVN^)`#">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</value>
<value name="B">
<block type="logic_compare" id="#.1FXN4{StvBom4=GJya">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="hv||~J_bAqtb~m:Ba:ql">
<field name="ATTR">val</field>
<field name="OID">octoprint.0.printer_status</field>
</block>
</value>
<value name="B">
<block type="text" id="C-KJ-qgD/GSTwX-,ND*L">
<field name="TEXT">Printing</field>
</block>
</value>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="control" id="Qevct?*ro((VFE4%#+o0">
<mutation delay_input="false"></mutation>
<field name="OID">octoprint.0.command.printjob</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="text" id="3y;+U@6WBcueR56Jy/oe">
<field name="TEXT">cancel</field>
</block>
</value>
</block>
</statement>
<value name="IF1">
<block type="logic_operation" id="]3rHvQ||5QnEOLf5+ymh">
<field name="OP">AND</field>
<value name="A">
<block type="logic_compare" id="?K]y+Tk%R|5-`ABPnU9U">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="l?oBL,{[]BYF*hzx/.BP">
<field name="ATTR">val</field>
<field name="OID">zigbee.0.00158d0001e832d0.click</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id="ds!DH]e(AJC2V3Fo;SL)">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</value>
<value name="B">
<block type="logic_compare" id="^:CngW9,,CgWBy*~XRm-">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="fM[uY=Ev^{lka.T7SMqR">
<field name="ATTR">val</field>
<field name="OID">octoprint.0.printer_status</field>
</block>
</value>
<value name="B">
<block type="text" id="?H0rQWj/PzXC).^mAZrL">
<field name="TEXT">Operational</field>
</block>
</value>
</block>
</value>
</block>
</value>
<statement name="DO1">
<block type="control" id="XU3I,=yJ]psvvkPEN~h5">
<mutation delay_input="false"></mutation>
<field name="OID">octoprint.0.command.printjob</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="text" id="Rno,oYD.kNna/wHj6s#5">
<field name="TEXT">start</field>
</block>
</value>
</block>
</statement>
</block>
</statement>
<next>
<block type="comment" id="%H|c6ZCu?0Jj|mpe!fk/">
<field name="COMMENT">temp einstellung button</field>
<next>
<block type="on_ext" id="~hcVKGpL=/72CVP6XSlJ">
<mutation items="1"></mutation>
<field name="CONDITION">ne</field>
<field name="ACK_CONDITION"></field>
<value name="OID0">
<shadow type="field_oid" id="|-EXqAGm!ND+A-N;ddc_">
<field name="oid">zigbee.0.00158d0001e832d0.double_click</field>
</shadow>
</value>
<statement name="STATEMENT">
<block type="controls_if" id="_MO0.wji;GsHR@M1g|8)" collapsed="true">
<mutation elseif="1"></mutation>
<value name="IF0">
<block type="logic_operation" id="xh-(v9+.g5*!4Y:4I,Zk">
<field name="OP">AND</field>
<value name="A">
<block type="logic_compare" id="_[MEoh(-#DiY{q4e7fG*">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="nwK%{g@#-dH},r[Xi@6M">
<field name="ATTR">val</field>
<field name="OID">zigbee.0.00158d0001e832d0.double_click</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id="ul{tzs2Gz@IuX[rZlOFE">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</value>
<value name="B">
<block type="logic_operation" id="sL7w4jqN6vak2H4%*aoL" inline="false">
<field name="OP">AND</field>
<value name="A">
<block type="logic_compare" id="Y@{QMl3GeuOwy9kBa21W">
<field name="OP">LTE</field>
<value name="A">
<block type="get_value" id="B4iG!1%|qFlp!s295m%Z">
<field name="ATTR">val</field>
<field name="OID">octoprint.0.temperature.bed.target</field>
</block>
</value>
<value name="B">
<block type="math_number" id="3V%|drS@FVJ`:j~3?tz/">
<field name="NUM">0</field>
</block>
</value>
</block>
</value>
<value name="B">
<block type="logic_compare" id="V_YfG}cf!y=P8h|DC9/^">
<field name="OP">LTE</field>
<value name="A">
<block type="get_value" id="(LOs]qM)+^#R}ro?lX7#">
<field name="ATTR">val</field>
<field name="OID">octoprint.0.temperature.tool0.target</field>
</block>
</value>
<value name="B">
<block type="math_number" id="`gAj^-c@9`f!SfMtUb!E">
<field name="NUM">0</field>
</block>
</value>
</block>
</value>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="comment" id="L,5QpW[=AX7IXmgfWm|0">
<field name="COMMENT">Bett Temperatur</field>
<next>
<block type="control" id="L[d?ER)zE`1|QrD#ovz4">
<mutation delay_input="false"></mutation>
<field name="OID">octoprint.0.temperature.bed.target</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="math_number" id="@n=w(S..!Jg)`ZL1udp)">
<field name="NUM">45</field>
</block>
</value>
<next>
<block type="comment" id="aFXN%;?3?g:#6rWXyjPO">
<field name="COMMENT">Nozzel Temperatur</field>
<next>
<block type="control" id="PG6:-RYgozPxp}/C?bay">
<mutation delay_input="false"></mutation>
<field name="OID">octoprint.0.temperature.tool0.target</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="math_number" id="xetGsWY6TkaMi};ssZXs">
<field name="NUM">180</field>
</block>
</value>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</statement>
<value name="IF1">
<block type="logic_operation" id="CeUEdB|O~7ztxS2_LM4+">
<field name="OP">AND</field>
<value name="A">
<block type="logic_compare" id="5od2{|:VlYf69JiDSMJg">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id=")moE*+yiYzqRK;VkFH]+">
<field name="ATTR">val</field>
<field name="OID">zigbee.0.00158d0001e832d0.double_click</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id="rIZ`y?szmU~M?cs*p9-r">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</value>
<value name="B">
<block type="logic_operation" id="4xQ;Gag5UM2f]A)MF_;^" inline="false">
<field name="OP">AND</field>
<value name="A">
<block type="logic_compare" id="*noWYU*ip2[HWl5Jju4E">
<field name="OP">GTE</field>
<value name="A">
<block type="get_value" id="Y`lLaA6{,jW3kP6^8}FV">
<field name="ATTR">val</field>
<field name="OID">octoprint.0.temperature.bed.target</field>
</block>
</value>
<value name="B">
<block type="math_number" id="}Irl~8ZGghE,VFTnNRT%">
<field name="NUM">45</field>
</block>
</value>
</block>
</value>
<value name="B">
<block type="logic_compare" id="8)9Ke8Pb@X?g.o~0?J9g">
<field name="OP">GTE</field>
<value name="A">
<block type="get_value" id="aX.U2O-!C;rC!h}n@!%K">
<field name="ATTR">val</field>
<field name="OID">octoprint.0.temperature.tool0.target</field>
</block>
</value>
<value name="B">
<block type="math_number" id="4!WIJCN^xC(B)4nNIg3.">
<field name="NUM">40</field>
</block>
</value>
</block>
</value>
</block>
</value>
</block>
</value>
<statement name="DO1">
<block type="control" id="A`xL#p+S4Eh~BVL3vvIT">
<mutation delay_input="false"></mutation>
<field name="OID">octoprint.0.temperature.bed.target</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="math_number" id="TvZ~.tHp,.wCp#1jFg4Z">
<field name="NUM">0</field>
</block>
</value>
<next>
<block type="control" id="z@#vdQTEK{iS#2;gC94+">
<mutation delay_input="false"></mutation>
<field name="OID">octoprint.0.temperature.tool0.target</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="math_number" id="%Jf{v!1ywIHx;:3?n4(s">
<field name="NUM">0</field>
</block>
</value>
</block>
</next>
</block>
</statement>
</block>
</statement>
<next>
<block type="comment" id="7cJNZp)c?U]6L5*OXe3N">
<field name="COMMENT">Licht</field>
<next>
<block type="on_ext" id="JH#v!^`pb0Mpp}`Nj,)p">
<mutation items="1"></mutation>
<field name="CONDITION">ne</field>
<field name="ACK_CONDITION"></field>
<value name="OID0">
<shadow type="field_oid" id="S[q1j_h4[wk=V#Y^H)w,">
<field name="oid">zigbee.0.00158d0001e832d0.triple_click</field>
</shadow>
</value>
<statement name="STATEMENT">
<block type="controls_if" id="POb=W3`E9[JG+Gu[NdZD">
<value name="IF0">
<block type="logic_compare" id="`@=;,CF]a4%;lKvwPKr]">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="fD]0iFX`,NzyvruDQ_RJ">
<field name="ATTR">val</field>
<field name="OID">zigbee.0.00158d0001e832d0.triple_click</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id="_#iz]hw`0Iq[sTjPtq/P">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="procedures_callcustomnoreturn" id=",}m+``lap``he:WJF6[@">
<mutation name="Licht"></mutation>
<next>
<block type="control" id="_xRVMZyO;trFt*m_069G" disabled="true">
<mutation delay_input="false"></mutation>
<field name="OID">octoprint.0.command.printer</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="text" id="+L{6@Ms4387ig]_FQ-=.">
<field name="TEXT">home</field>
</block>
</value>
</block>
</next>
</block>
</statement>
</block>
</statement>
<next>
<block type="comment" id="tIbGBR3z,ZUwEoogwR~b">
<field name="COMMENT">Drucker ausschalten</field>
<next>
<block type="on_ext" id="J0q~1~aOryAei(bnjTv$">
<mutation items="1"></mutation>
<field name="CONDITION">ne</field>
<field name="ACK_CONDITION"></field>
<value name="OID0">
<shadow type="field_oid" id=".4Q(bhe];EXB$@P2X^h(">
<field name="oid">zigbee.0.00158d0001e832d0.quad_click</field>
</shadow>
</value>
<statement name="STATEMENT">
<block type="controls_if" id="zb2RA5uQ-o)(LsZ;u$hK" collapsed="true">
<value name="IF0">
<block type="logic_operation" id="i`LcFCn/1En01on6xF/G" inline="false">
<field name="OP">AND</field>
<value name="A">
<block type="logic_compare" id="A)EYGPyGQv9^C7}}eM3`">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="wr|1U~=Qtc)Yt`-b!5I7">
<field name="ATTR">val</field>
<field name="OID">zigbee.0.00158d0001e832d0.quad_click</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id="N;?x?9SocoQWZa{P3kN.">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</value>
<value name="B">
<block type="logic_compare" id="V%u!qS9%|QzOHO$Itaoc">
<field name="OP">NEQ</field>
<value name="A">
<block type="get_value" id="-5CP0a0X7{@+|uD9{LCG">
<field name="ATTR">val</field>
<field name="OID">octoprint.0.printer_status</field>
</block>
</value>
<value name="B">
<block type="text" id="_=#~RYt5E3cJgc^4tmA^">
<field name="TEXT"> Printing</field>
</block>
</value>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="control" id="[~*e*X-Wm-`AMi,!Xkfm">
<mutation delay_input="false"></mutation>
<field name="OID">javascript.0.schalter.3d_drucker_rpi_shutdown</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id="-.:wT:^|fu[QSukm=iAq">
<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>
<block type="on_ext" id="+A7wlutQO8gBfqosc.y3" x="-388" y="12">
<mutation items="2"></mutation>
<field name="CONDITION">ne</field>
<field name="ACK_CONDITION"></field>
<value name="OID0">
<shadow type="field_oid" id="L[i=p{|ii-ai*/YAZ@8s">
<field name="oid">octoprint.0.temperature.bed.actual</field>
</shadow>
</value>
<value name="OID1">
<shadow type="field_oid" id="SrqWt)hN`dugaePnqgR:">
<field name="oid">octoprint.0.temperature.tool0.actual</field>
</shadow>
</value>
<statement name="STATEMENT">
<block type="controls_if" id="V6]e:v6u:?I_dnQ6L_VO" collapsed="true">
<mutation elseif="1"></mutation>
<value name="IF0">
<block type="logic_compare" id="|GYXj{b?eejrNKL,dC1c">
<field name="OP">GTE</field>
<value name="A">
<block type="get_value" id="NE_0I9@@4+Vx=788NJ{O">
<field name="ATTR">val</field>
<field name="OID">octoprint.0.temperature.bed.actual</field>
</block>
</value>
<value name="B">
<block type="text" id="^ZZxvmafdi;Q}c)p)@Kd">
<field name="TEXT">50</field>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="control" id="vs.J|^}}{M%%SJ1bpk;V">
<mutation delay_input="false"></mutation>
<field name="OID">javascript.0.schalter.3d_drucker_fertig</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id="gvfoVV5t!!Us3^C~!w.H">
<field name="BOOL">FALSE</field>
</block>
</value>
</block>
</statement>
<value name="IF1">
<block type="logic_compare" id=".^Vr3!/]n3+mJC!/xH_P">
<field name="OP">LT</field>
<value name="A">
<block type="get_value" id="SES|c80.WXQ*jSsOhFie">
<field name="ATTR">val</field>
<field name="OID">octoprint.0.temperature.bed.actual</field>
</block>
</value>
<value name="B">
<block type="text" id="yt?GRbeq!O:U6vuzE4-i">
<field name="TEXT">40</field>
</block>
</value>
</block>
</value>
<statement name="DO1">
<block type="control" id="W@d-F3O_9HHWW#dCNkL=">
<mutation delay_input="false"></mutation>
<field name="OID">javascript.0.schalter.3d_drucker_fertig</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id="A4H}`x`xaT~u.qw:OMjO">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</statement>
</block>
</statement>
<next>
<block type="on_ext" id="u:R0u7j.Y,8EdsUCK6kQ">
<mutation items="1"></mutation>
<field name="CONDITION">ne</field>
<field name="ACK_CONDITION"></field>
<value name="OID0">
<shadow type="field_oid" id="jgpdw:j!HF59WUplmK}~">
<field name="oid">javascript.0.schalter.3d_drucker_fertig</field>
</shadow>
</value>
<statement name="STATEMENT">
<block type="controls_if" id="0KU30/v2h#W(!`#[gp76" collapsed="true">
<mutation elseif="1"></mutation>
<value name="IF0">
<block type="logic_compare" id="]-Zb+?Hn_!lMC-aT9alk">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="ln#_*!,/omF%2!L4WRp-">
<field name="ATTR">val</field>
<field name="OID">javascript.0.schalter.3d_drucker_fertig</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id="pSN^b91_Se1kc2o;W4J^">
<field name="BOOL">FALSE</field>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="telegram" id="i||{vH9*ebG3rYojyq#~">
<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="U][E8N^7Bu/+`G(NxN}#">
<field name="TEXT"></field>
</shadow>
<block type="text_join" id="2b|ng~sPvT|iC)a%*xI7">
<mutation items="3"></mutation>
<value name="ADD0">
<block type="text" id="#1kx@/m~N,F+j0]M7kg{">
<field name="TEXT">Der 3D-Drucker hat angefangen </field>
</block>
</value>
<value name="ADD1">
<block type="get_value" id="LhG1A9ZJ}qx=J?Fhl^@Y">
<field name="ATTR">val</field>
<field name="OID">octoprint.0.printjob.file.name</field>
</block>
</value>
<value name="ADD2">
<block type="text" id="o:.!{V?z_(eK9jLH:hJ|">
<field name="TEXT"> zu drucken</field>
</block>
</value>
</block>
</value>
</block>
</statement>
<value name="IF1">
<block type="logic_compare" id="21(9~CU|XRCn:EOXk2/@">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="TSvo:2H{H+}IE{#M1`FO">
<field name="ATTR">val</field>
<field name="OID">javascript.0.schalter.3d_drucker_fertig</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id="h=.8?l5o{aiN|)W)LXh@">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</value>
<statement name="DO1">
<block type="telegram" id="ed05d|bQf^sw*MK?SR-6">
<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="sKyyX,f?IkAZP`RFQReF">
<field name="TEXT">Die Waschmaschine ist fertig :)</field>
</shadow>
<block type="text_join" id=":?(LV%}eMmeGg5)=s63{">
<mutation items="9"></mutation>
<value name="ADD0">
<block type="text" id="Me[sfL:79y?isrCAn~-e">
<field name="TEXT">Der 3D-Drucker ist fertig! </field>
</block>
</value>
<value name="ADD1">
<block type="text_newline" id="=Ln@t]2hKoRekBO*=I$x">
<field name="Type">\n</field>
</block>
</value>
<value name="ADD2">
<block type="text" id="0bN](j4?-62PDxGTFs`K">
<field name="TEXT">Das waren </field>
</block>
</value>
<value name="ADD3">
<block type="get_value" id="5nYhH(Z-[f`G*,+qIZ;H">
<field name="ATTR">val</field>
<field name="OID">sonoff.0.Pow_62_3dDrucker.ENERGY_Today</field>
</block>
</value>
<value name="ADD4">
<block type="text" id=",nn}rYrBfCaxgJPdJkp7">
<field name="TEXT"> kWh die für das Drucken verbraucht worden sind.</field>
</block>
</value>
<value name="ADD5">
<block type="text_newline" id="y[Hf}4D:ri]xj@q@[wha">
<field name="Type">\n</field>
</block>
</value>
<value name="ADD6">
<block type="text" id="0%vbNiH.-uK;q[)6ZRx=">
<field name="TEXT">Das sind ca.</field>
</block>
</value>
<value name="ADD7">
<block type="get_value" id="hCs/qrxQ~vwE?sKSN/10">
<field name="ATTR">val</field>
<field name="OID">javascript.0.Berechnungen.3D_Drucker.Heute</field>
</block>
</value>
<value name="ADD8">
<block type="text" id="@sTCB@TuHU6fdmi31@bV">
<field name="TEXT">Euro</field>
</block>
</value>
</block>
</value>
<next>
<block type="controls_if" id="rfQaG-]RZG[J7N^zgcn}">
<value name="IF0">
<block type="logic_compare" id="|R+(A4n%[[2~FwDmCB!;">
<field name="OP">LT</field>
<value name="A">
<block type="get_value" id="jfZP8qNUbZ+4PRi3OXZ9">
<field name="ATTR">val</field>
<field name="OID">octoprint.0.temperature.bed.actual</field>
</block>
</value>
<value name="B">
<block type="text" id="NjDd8G#S{W![sJ:pi6bw">
<field name="TEXT">40</field>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="debug" id="mk7sgm[,N@wIZIyGEF+2">
<field name="Severity">log</field>
<value name="TEXT">
<shadow type="text" id="AQ~nPFy6}@Z-b5jNlXDc">
<field name="TEXT">in 10min wird runtergefahren</field>
</shadow>
</value>
<next>
<block type="timeouts_settimeout" id="LC5}R,k-3]_F.tzTdv~y">
<field name="NAME">timeout</field>
<field name="DELAY">10</field>
<field name="UNIT">min</field>
<statement name="STATEMENT">
<block type="controls_if" id="G_npA;)|vwA)AvdWb.it">
<value name="IF0">
<block type="logic_compare" id="mm4*,5X2mVm,I[O^!M*|">
<field name="OP">LT</field>
<value name="A">
<block type="get_value" id="]qP|`R^KqX*{Qxy-;GB/">
<field name="ATTR">val</field>
<field name="OID">octoprint.0.temperature.bed.actual</field>
</block>
</value>
<value name="B">
<block type="text" id="06oZ4u||h!S@CRJuNrEj">
<field name="TEXT">35</field>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="control" id="`4mp,TnHO)6@[,=Jg@G}">
<mutation delay_input="false"></mutation>
<field name="OID">javascript.0.schalter.3d_drucker_rpi_shutdown</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id="}:_~nb#_A7mJ7[Sq+F5n">
<field name="BOOL">FALSE</field>
</block>
</value>
</block>
</statement>
</block>
</statement>
</block>
</next>
</block>
</statement>
</block>
</next>
</block>
</statement>
</block>
</statement>
</block>
</next>
</block>
</xml>