@ITCrowd sagte in automatische Luftentfeuchtung - Schalten einer Steckdose:
@beachboy19xx Kein Problem. Aber, wie schickt man im Forum einem User etwas?
Habe nichts dazu gefunden. Darum hier.
Code über Blockly Importieren in ein leeres Modul einfügen.
Kurze Erläuterung:
Am Anfang weise ich allen Hardwareadressen eine Variable zu. Das erspart eine Menge Arbeit für den Fall das ein Gerät gewechselt werden muss. Man muss nicht den ganzen Code durchsuchen.
Den Tick_5Min erzeuge ich so.
08643fb0-ec93-4439-870b-1be1ab4bbd92-grafik.png
Den letzten Block wirst du nicht benötigen. Er steuert eine Verriegelung in vis.
<xml xmlns="https://developers.google.com/blockly/xml">
<variables>
<variable id=":7@AgL@qGn]NXH[%yayL">I1</variable>
<variable id="nn?Ey8_a*%u_vZ7Y^sCo">I2</variable>
<variable id="YIsR41m2=cDm@afj_J+)">I3</variable>
<variable id="m#7)e9qG]ssO,bOD#mV">I4</variable> <variable id="B|b6#XThFA@O^s.[rSQ">O_Entfeuchter_AR</variable>
<variable id="GtmH9c3.#Sfn^r:{tv(C">O_TK_AR</variable>
<variable id="J6YYqYX{3WaW5~e2_15">O_Entfeuchter_KL</variable>
<variable id="m%sDZ?!|X9jyuy0kW(EX">Entfeuchter_KL</variable>
<variable type="timeout" id="Tür_AR">Tür_AR</variable>
<variable id="I+lyCy0/AA-uh7f?4Q=2">O_TK_KL</variable>
<variable id=")v].s|?#,]5P;kx4:c@=">O_Tasm_AR</variable>
<variable id="KvN?4sim,FA=E$614iu">Entfeuchter_AR</variable> <variable id="E3tbB@^5l:#aGCtmYnO)">Text_AR</variable> <variable type="timeout" id="Tür_KL">Tür_KL</variable> <variable id="$$|#35GK}b%Ku?RZ[Tvq">O_Tasm_KL</variable> <variable id="8.qso1}G/$jFI,l.,mOn">Text_KL</variable> <variable id="1aMOmkgwx-!NxHC{Uqp+">O_Feuchte_KL</variable> <variable id="b##Wm0JvEbP|B5rd|k3r">O_Feuchte_AR</variable> <variable id="4aJ[w_^M0*^Qjhcd9lh">O_Temp_KL</variable>
<variable id="_%N^5L*i}jr$m5_hZk3">O_Taupunkt_KL</variable> <variable id="{}EVQ...QQ:~wq!^Tfl">O_Temp_AR</variable>
<variable id="T62JHt+{kd_zOiOIGt]r">O_Taupunkt_AR</variable>
</variables>
<block type="procedures_defcustomreturn" id="+SByQgkZ@[SJbq06G]R8" x="13" y="13">
<mutation statements="false">
<arg name="I1" varid=":7@AgL@qGn]NXH[%yayL"></arg>
<arg name="I2" varid="nn?Ey8_a%u_vZ7Y^sCo"></arg>
<arg name="I3" varid="YIsR41m2=cDm@afj_J+)"></arg>
<arg name="I4" varid="m#7)e9qG]ssO,bOD#mV"></arg> </mutation> <field name="NAME">4und</field> <field name="SCRIPT">cmV0dXJuICBJMSAmJiBJMiAmJiBJMyAmJiBJNDs=</field> <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment> </block> <block type="comment" id=",cZ_3L(^7uMSi[}MkA" x="13" y="63">
<field name="COMMENT">Grundparameter</field>
<next>
<block type="variables_set" id="H]bxmB)+2C6aEyJ9+b6S">
<field name="VAR" id="B|b6#XThFA@O^s.[rSQ">O_Entfeuchter_AR</field> <value name="VALUE"> <block type="field_oid" id="CVy}rd6*GUK}0-CBzFq7"> <field name="oid">sonoff.0.DVES_CC2D55.POWER</field> </block> </value> <next> <block type="variables_set" id="kFv}WSplNu7HAq7uWB0C"> <field name="VAR" id="J6YYq*YX{3WaW5~e2_15">O_Entfeuchter_KL</field> <value name="VALUE"> <block type="field_oid" id="lC-UXP@,hyeXa|u@4X">
<field name="oid">sonoff.0.DVES_85B134.POWER</field>
</block>
</value>
<next>
<block type="variables_set" id=")$4OF{)4EN=|CKo$NO$J">
<field name="VAR" id=")v].s|?#,]5P;kx4:c@=">O_Tasm_AR</field>
<value name="VALUE">
<block type="field_oid" id="86-awW!-.BM,jO-|wmCv">
<field name="oid">sonoff.0.DVES_CC2D55.alive</field>
</block>
</value>
<next>
<block type="variables_set" id="ODQ~B0.aH^.n8*#9?F:d">
<field name="VAR" id="$$|#35GK}b%Ku?RZ[Tvq">O_Tasm_KL</field>
<value name="VALUE">
<block type="field_oid" id="7@$_a;,@(^AlX?FjRL">
<field name="oid">sonoff.0.DVES_85B134.alive</field>
</block>
</value>
<next>
<block type="variables_set" id="tpD;zG/ZsXP-7j8g+Yw+">
<field name="VAR" id="GtmH9c3.#Sfn^r:{tv(C">O_TK_AR</field>
<value name="VALUE">
<block type="field_oid" id="bW+.wIWQ-!DQlJkmWjye">
<field name="oid">innogy-smarthome.0.Keller.TK_AR.IsOpen</field>
</block>
</value>
<next>
<block type="variables_set" id=")}eEd!,5$o)CJ=FbY3Z"> <field name="VAR" id="I+lyCy0/AA-uh7f?4Q=2">O_TK_KL</field> <value name="VALUE"> <block type="field_oid" id="jkP=$kquGE[3=~S{(#QB"> <field name="oid">innogy-smarthome.0.Keller.TK_L.IsOpen</field> </block> </value> <next> <block type="variables_set" id="cj0R#WYuaU9vZav_=P?">
<field name="VAR" id="b##Wm0JvEbP|B5rd|k3r">O_Feuchte_AR</field>
<value name="VALUE">
<block type="field_oid" id="2|;:re+PI2rUko@4(!-~">
<field name="oid">sonoff.0.DVES_CC2D55.DHT11_Humidity</field>
</block>
</value>
<next>
<block type="variables_set" id="#M$0:xk?LtkDowdXb=H%">
<field name="VAR" id="1aMOmkgwx-!NxHC{Uqp+">O_Feuchte_KL</field>
<value name="VALUE">
<block type="field_oid" id="on42oX%2i_6lohX$}.q"> <field name="oid">sonoff.0.DVES_85B134.DHT11_Humidity</field> </block> </value> <next> <block type="variables_set" id="-oYuD{PQ!NC3TVP$)4H">
<field name="VAR" id="T62JHt+{kd_zOiOIGt]r">O_Taupunkt_AR</field>
<value name="VALUE">
<block type="field_oid" id="tfPE8#w?:hg%W~/j_T|Q">
<field name="oid">sonoff.0.DVES_CC2D55.DHT11_DewPoint</field>
</block>
</value>
<next>
<block type="variables_set" id=":@hkZrS7PPW1_sA![S#:">
<field name="VAR" id="%N^5L*i}jr$m5_hZk3">O_Taupunkt_KL</field> <value name="VALUE"> <block type="field_oid" id="X1,[Rt/kdtI~@+ka3ZJM"> <field name="oid">sonoff.0.DVES_CC2D55.DHT11_DewPoint</field> </block> </value> <next> <block type="variables_set" id="%-tM-[=;r9XFwR^5Xpkp"> <field name="VAR" id="{}EVQ...QQ:~wq!^Tfl">O_Temp_AR</field>
<value name="VALUE">
<block type="field_oid" id="P-p#5m*msne6cn9;lcHk">
<field name="oid">sonoff.0.DVES_CC2D55.DHT11_Temperature</field>
</block>
</value>
<next>
<block type="variables_set" id="9ri~o98LwS2O}/B:ly2?">
<field name="VAR" id="4aJ[w^M0*^Qjhcd9lh">O_Temp_KL</field> <value name="VALUE"> <block type="field_oid" id="}S:m4Yw~CxihF%-pCtSs"> <field name="oid">sonoff.0.DVES_CC2D55.DHT11_Temperature</field> </block> </value> <next> <block type="variables_set" id="u.d}[q?_d7UqQ56#jN4~"> <field name="VAR" id="KvN?4sim,FA=E$614iu">Entfeuchter_AR</field>
<value name="VALUE">
<block type="logic_boolean" id="sc(AAB^f-N7wDC|lbldl">
<field name="BOOL">FALSE</field>
</block>
</value>
<next>
<block type="variables_set" id="IcF}bo+L0?v)K*[RyDJP">
<field name="VAR" id="m%sDZ?!|X9jyuy0kW(EX">Entfeuchter_KL</field>
<value name="VALUE">
<block type="logic_boolean" id="Q6#,oR]PyPT5pLrcq}@d">
<field name="BOOL">FALSE</field>
</block>
</value>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
<block type="comment" id="pYw;7[Squ[2=p5zu-aG:" x="13" y="488">
<field name="COMMENT">Werktags</field>
<next>
<block type="schedule" id="ur{{N7wJk9[I=un!1x@">
<field name="SCHEDULE">{"time":{"start":"05:00","end":"21:00","mode":"hours","interval":4},"period":{"days":1,"dows":"[1,2,3,4,5]"}}</field>
<statement name="STATEMENT">
<block type="controls_if" id="}/Ius0Md@S8|JDcL3A)K">
<value name="IF0">
<block type="logic_negate" id="sQlz;N[i,hRkUFbxn6#1">
<value name="BOOL">
<block type="get_value_var" id="dBB$=czLAaOe9m=3!cE">
<field name="ATTR">val</field>
<value name="OID">
<shadow type="text" id="meC6L|/%;iLQXx@0ZE5g">
<field name="TEXT"></field>
</shadow>
<block type="variables_get" id="srprb/d9!]HI(qUp%XMK">
<field name="VAR" id="J6YYqYX{3WaW5~e2_15">O_Entfeuchter_KL</field>
</block>
</value>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="variables_set" id="{X:BzB+m?7x,wtQdwj=6">
<field name="VAR" id="m%sDZ?!|X9jyuy0kW(EX">Entfeuchter_KL</field>
<value name="VALUE">
<block type="logic_boolean" id="l;7U{=-hLV6l+Zo%+p%U">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</statement>
<next>
<block type="controls_if" id="TOTUi;}c.]1(Y*-r:fT">
<value name="IF0">
<block type="logic_negate" id="3fnUj{xy7)|E@mwrmt(u">
<value name="BOOL">
<block type="get_value_var" id="#zfp+HU_:hX!iP5!^.,H">
<field name="ATTR">val</field>
<value name="OID">
<shadow type="text">
<field name="TEXT"></field>
</shadow>
<block type="variables_get" id=")M,xSa8WB)dB7(vqj4FL">
<field name="VAR" id="B|b6#XThFA@O^s.[rSQ">O_Entfeuchter_AR</field> </block> </value> </block> </value> </block> </value> <statement name="DO0"> <block type="variables_set" id="!6eMzr)CPDY^ah~lz?x*"> <field name="VAR" id="KvN?4sim,FA=E$614iu">Entfeuchter_AR</field>
<value name="VALUE">
<block type="logic_boolean" id=".sFxG38S@!|-6Di.f9.1">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</statement>
</block>
</next>
</block>
</statement>
</block>
</next>
</block>
<block type="comment" id="R#KYyaExtI4F;``0n4d" x="13" y="763"> <field name="COMMENT">Wochenende</field> <next> <block type="schedule" id=")]4yE7hOON}Q=s;ew(e">
<field name="SCHEDULE">{"time":{"start":"06:00","end":"22:00","mode":"hours","interval":4},"period":{"days":1,"dows":"[0,6]"}}</field>
<statement name="STATEMENT">
<block type="controls_if" id=",hkA?7GiF?:+%~ZQ-l-a">
<value name="IF0">
<block type="logic_negate" id="Gpu=E|Ijh0IY)]z5#H{5">
<value name="BOOL">
<block type="get_value_var" id="6=19=kr^iWvYgoxk-i9">
<field name="ATTR">val</field>
<value name="OID">
<shadow type="text" id="~DxWSGSjjk3FbU/EePQ;">
<field name="TEXT"></field>
</shadow>
<block type="variables_get" id="G@gN@!]idPL/|:2LW-X"> <field name="VAR" id="J6YYq*YX{3WaW5~e2_15">O_Entfeuchter_KL</field> </block> </value> </block> </value> </block> </value> <statement name="DO0"> <block type="variables_set" id="E2t8x7r[#oyN=r*yA$~4"> <field name="VAR" id="m%sDZ?!|X9jyuy0kW(EX">Entfeuchter_KL</field> <value name="VALUE"> <block type="logic_boolean" id="Ng3%@7(U?Udril;-4OD">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</statement>
<next>
<block type="controls_if" id="9NR_kyz|k-g:~-m,UHE">
<value name="IF0">
<block type="logic_negate" id="Vr/jb@6BFUPSeC%C@7u">
<value name="BOOL">
<block type="get_value_var" id="45wr[7ma]S$v]uOLSO((">
<field name="ATTR">val</field>
<value name="OID">
<shadow type="text">
<field name="TEXT"></field>
</shadow>
<block type="variables_get" id="+(s|~,[MHJ=zr+EJl|q"> <field name="VAR" id="B|b6#XThFA@O^s.[rSQ">O_Entfeuchter_AR</field>
</block>
</value>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="variables_set" id=",nJc+h}WD[(No}wI,|3X">
<field name="VAR" id="KvN?4sim,FA=E$614iu">Entfeuchter_AR</field> <value name="VALUE"> <block type="logic_boolean" id="v}KvppeyT*}C:[s8QmS^"> <field name="BOOL">TRUE</field> </block> </value> </block> </statement> </block> </next> </block> </statement> </block> </next> </block> <block type="on_ext" id="aP~w1{1SqXP0n7_PG;q$" x="13" y="1038"> <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="9v8vOxiKJwofo2x3A+;">
<field name="oid">0_userdata.0.DP_Allgemein.Tick_5m</field>
</shadow>
</value>
<statement name="STATEMENT">
<block type="controls_if" id="Uxq5hSlvNdvV!Jm|pk#"> <value name="IF0"> <block type="logic_operation" id="5vp{@=WGFE0{O}9t^2E" inline="false">
<field name="OP">AND</field>
<value name="A">
<block type="logic_compare" id="ZzW8}==u0(DA$Bfg6S[B">
<field name="OP">LT</field>
<value name="A">
<block type="get_value_var" id="i|!z;4/DAKa!DJGQ8WUj">
<field name="ATTR">val</field>
<value name="OID">
<shadow type="text">
<field name="TEXT"></field>
</shadow>
<block type="variables_get" id="8BT,69chw[mQ0q!#^]KU">
<field name="VAR" id="1aMOmkgwx-!NxHC{Uqp+">O_Feuchte_KL</field>
</block>
</value>
</block>
</value>
<value name="B">
<block type="math_number" id="|4/,v~!=7TN,Gf=_b+g+">
<field name="NUM">60</field>
</block>
</value>
</block>
</value>
<value name="B">
<block type="get_value_var" id=",*n[Q?5*.h4+yM,6]f">
<field name="ATTR">val</field>
<value name="OID">
<shadow type="text">
<field name="TEXT"></field>
</shadow>
<block type="variables_get" id="}(uUXgmQ!JfgzJ{fu+^T">
<field name="VAR" id="J6YYqYX{3WaW5~e2_15">O_Entfeuchter_KL</field>
</block>
</value>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="variables_set" id="}6MzXrZ)paUpw1y3ly/"> <field name="VAR" id="m%sDZ?!|X9jyuy0kW(EX">Entfeuchter_KL</field> <value name="VALUE"> <block type="logic_boolean" id="i|WGMG6$I=6ZPp[bPPx">
<field name="BOOL">FALSE</field>
</block>
</value>
<next>
<block type="control_ex" id="l:z09fPB^M]DA.c9@]AA" inline="true">
<field name="TYPE">false</field>
<field name="CLEAR_RUNNING">TRUE</field>
<value name="OID">
<shadow type="field_oid">
<field name="oid">Object ID</field>
</shadow>
<block type="variables_get" id="5{lDo=Q:zFg[1av._+"> <field name="VAR" id="J6YYq*YX{3WaW5~e2_15">O_Entfeuchter_KL</field> </block> </value> <value name="VALUE"> <shadow type="logic_boolean" id="K[V3_R2?].)HCxpfHjwR"> <field name="BOOL">FALSE</field> </shadow> </value> <value name="DELAY_MS"> <shadow type="math_number" id="$FI0vKGS{;aMZ8s96q1K"> <field name="NUM">120000</field> </shadow> </value> </block> </next> </block> </statement> <next> <block type="controls_if" id="mI_a[r,j4fhQ#lhg9q"> <value name="IF0"> <block type="logic_operation" id="/UEDas)FHM?[YKN!F2fJ" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="8}Ehr=ZSSB4JgpL_0L8j"> <field name="OP">LT</field> <value name="A"> <block type="get_value_var" id="RR0X|8:v[40Sg@z8xO@">
<field name="ATTR">val</field>
<value name="OID">
<shadow type="text">
<field name="TEXT"></field>
</shadow>
<block type="variables_get" id="x(++oSx{J}~l:c83i0b">
<field name="VAR" id="b##Wm0JvEbP|B5rd|k3r">O_Feuchte_AR</field>
</block>
</value>
</block>
</value>
<value name="B">
<block type="math_number" id="q@=@?TjLKW-Uyh]!UDn/">
<field name="NUM">60</field>
</block>
</value>
</block>
</value>
<value name="B">
<block type="get_value_var" id="u.ZR%UwB]+z7]pK|7?qs">
<field name="ATTR">val</field>
<value name="OID">
<shadow type="text">
<field name="TEXT"></field>
</shadow>
<block type="variables_get" id="+@!#?{TI},venoJs(RV4">
<field name="VAR" id="B|b6#XThFA@O^s.[rSQ">O_Entfeuchter_AR</field> </block> </value> </block> </value> </block> </value> <statement name="DO0"> <block type="variables_set" id="k/x_08~0bKj[zYyi6WBS"> <field name="VAR" id="KvN?4sim,FA=E$614iu">Entfeuchter_AR</field>
<value name="VALUE">
<block type="logic_boolean" id=";kzFE5I]9[DVG61^7~j"> <field name="BOOL">FALSE</field> </block> </value> <next> <block type="control_ex" id="a9o-h]GjyC6wxgX4l*]g" inline="true"> <field name="TYPE">false</field> <field name="CLEAR_RUNNING">TRUE</field> <value name="OID"> <shadow type="field_oid"> <field name="oid">Object ID</field> </shadow> <block type="variables_get" id="^?ao=ADvpGqD*YMygzMf"> <field name="VAR" id="B|b6#XThFA@O^s.[rSQ">O_Entfeuchter_AR</field>
</block>
</value>
<value name="VALUE">
<shadow type="logic_boolean" id="W1pRH7qHA!|;^XAx.Cek">
<field name="BOOL">FALSE</field>
</shadow>
</value>
<value name="DELAY_MS">
<shadow type="math_number" id="v7Q|rtIE3gJch66Zwk{l">
<field name="NUM">120000</field>
</shadow>
</value>
</block>
</next>
</block>
</statement>
<next>
<block type="controls_if" id="QMwP6I0L%0{SupbeeLLK">
<value name="IF0">
<block type="logic_compare" id=".;bg^02?|~61.,N-iY/"> <field name="OP">LTE</field> <value name="A"> <block type="get_value_var" id="]RvAoW@-w6HTO!$(2,jz"> <field name="ATTR">val</field> <value name="OID"> <shadow type="text"> <field name="TEXT"></field> </shadow> <block type="variables_get" id=")KX_,G:{:W;kq%DYwTYv"> <field name="VAR" id="4aJ[w_^M0*^Qjhcd9lh">O_Temp_KL</field>
</block>
</value>
</block>
</value>
<value name="B">
<block type="get_value_var" id="(ixk!#%o!C$juGie-Tl">
<field name="ATTR">val</field>
<value name="OID">
<shadow type="text">
<field name="TEXT"></field>
</shadow>
<block type="variables_get" id="P{C6Wu,dH0Y^bV#eYhl"> <field name="VAR" id="_%N^5Li}jr$m5_hZk3">O_Taupunkt_KL</field>
</block>
</value>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="variables_set" id="^bHmDg{_h[/-C!V:H[t:">
<field name="VAR" id="m%sDZ?!|X9jyuy0kW(EX">Entfeuchter_KL</field>
<value name="VALUE">
<block type="logic_boolean" id="kJ}y,Et;}j8oXZ?h[O2U">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</statement>
<next>
<block type="controls_if" id="37n6-W+=c)gt4vy1uzW"> <value name="IF0"> <block type="logic_compare" id="(TgKwwxX9%y/oj#xz5bq"> <field name="OP">LTE</field> <value name="A"> <block type="get_value_var" id="dmWpYxUj;%Pt%)7k$OVA"> <field name="ATTR">val</field> <value name="OID"> <shadow type="text" id="BO8mj$@/i[WO7Th?Pjcm"> <field name="TEXT"></field> </shadow> <block type="variables_get" id="gck,Qf15P0S+HxB#FCCH"> <field name="VAR" id="{}EVQ...QQ:~wq!^Tfl">O_Temp_AR</field>
</block>
</value>
</block>
</value>
<value name="B">
<block type="get_value_var" id="3w4tnCoLcM_e[@yTZC@9">
<field name="ATTR">val</field>
<value name="OID">
<shadow type="text">
<field name="TEXT"></field>
</shadow>
<block type="variables_get" id="md=8dg#7:VZ7-[9t;cQ">
<field name="VAR" id="T62JHt+{kd_zOiOIGt]r">O_Taupunkt_AR</field>
</block>
</value>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="variables_set" id=")gy7={?{u0UlC52-Et|+">
<field name="VAR" id="KvN?4sim,FA=E$614iu">Entfeuchter_AR</field> <value name="VALUE"> <block type="logic_boolean" id="J8qVrvyi_GZRp,YphEb?"> <field name="BOOL">TRUE</field> </block> </value> </block> </statement> <next> <block type="controls_if" id="_fvW3Q{bIyK=cPPezD#["> <value name="IF0"> <block type="procedures_callcustomreturn" id="iMuzV3+1/7/#pxw|U;*x"> <mutation name="4und"> <arg name="I1"></arg> <arg name="I2"></arg> <arg name="I3"></arg> <arg name="I4"></arg> </mutation> <value name="ARG0"> <block type="variables_get" id="1L4.EgAp^fvX)xKu1jlI"> <field name="VAR" id="m%sDZ?!|X9jyuy0kW(EX">Entfeuchter_KL</field> </block> </value> <value name="ARG1"> <block type="get_value_var" id="NnQRXaRKiz11D9#BZ988"> <field name="ATTR">val</field> <value name="OID"> <shadow type="text"> <field name="TEXT"></field> </shadow> <block type="variables_get" id="C3%K*((?D;iX66sqW)}P"> <field name="VAR" id="$$|#35GK}b%Ku?RZ[Tvq">O_Tasm_KL</field> </block> </value> </block> </value> <value name="ARG2"> <block type="time_compare" id="u:^!KBYirIW%ouzNk{YZ"> <mutation xmlns="http://www.w3.org/1999/xhtml" end_time="true"></mutation> <field name="OPTION">between</field> <field name="START_TIME">09:00</field> <field name="END_TIME">22:00</field> </block> </value> <value name="ARG3"> <block type="logic_negate" id="!y,0e2E#P}6/]Wx}V}JD"> <value name="BOOL"> <block type="get_value_var" id="q9BKb6IJ6Ol=E=Q3%PGg"> <field name="ATTR">val</field> <value name="OID"> <shadow type="text"> <field name="TEXT"></field> </shadow> <block type="variables_get" id="9Eed!H_^Ak]6+i[s8t:">
<field name="VAR" id="I+lyCy0/AA-uh7f?4Q=2">O_TK_KL</field>
</block>
</value>
</block>
</value>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="control_ex" id="f|@V}x?HzY|f?HO=Q?5I" inline="true">
<field name="TYPE">false</field>
<field name="CLEAR_RUNNING">FALSE</field>
<value name="OID">
<shadow type="field_oid">
<field name="oid">Object ID</field>
</shadow>
<block type="variables_get" id="nzdeCY)|aPmkWlW($ls@">
<field name="VAR" id="J6YYqYX{3WaW5~e2_15">O_Entfeuchter_KL</field>
</block>
</value>
<value name="VALUE">
<shadow type="logic_boolean" id="N^7bp_IPw#;.^G~:v:w"> <field name="BOOL">TRUE</field> </shadow> </value> <value name="DELAY_MS"> <shadow type="math_number" id="fnMm-iEh8pbu2{v5d^x/"> <field name="NUM">0</field> </shadow> </value> <next> <block type="variables_set" id="Xibl%OV#y)SJ?u6,6#C">
<field name="VAR" id="m%sDZ?!|X9jyuy0kW(EX">Entfeuchter_KL</field>
<value name="VALUE">
<block type="logic_boolean" id="GwV4X1k+CPV_^wS$.LMu">
<field name="BOOL">FALSE</field>
</block>
</value>
</block>
</next>
</block>
</statement>
<next>
<block type="controls_if" id="K[!T4F.JJMIKJHWu,?l,">
<value name="IF0">
<block type="procedures_callcustomreturn" id="$)=A1G?etq[ZdlsyW[K^">
<mutation name="4und">
<arg name="I1"></arg>
<arg name="I2"></arg>
<arg name="I3"></arg>
<arg name="I4"></arg>
</mutation>
<value name="ARG0">
<block type="variables_get" id="d91?F7ulVHj^8|qW81:N">
<field name="VAR" id="KvN?4sim,FA=E$614iu">Entfeuchter_AR</field> </block> </value> <value name="ARG1"> <block type="get_value_var" id=";KTBx;3eUOY!XXX;xsth"> <field name="ATTR">val</field> <value name="OID"> <shadow type="text"> <field name="TEXT"></field> </shadow> <block type="variables_get" id="ug%]wu#y:y~U~JCU:;]l"> <field name="VAR" id=")v].s|?#,]5P;kx4:c@=">O_Tasm_AR</field> </block> </value> </block> </value> <value name="ARG2"> <block type="time_compare" id="Rd;_@;gVOPqvz#pL~bpt"> <mutation xmlns="http://www.w3.org/1999/xhtml" end_time="true"></mutation> <field name="OPTION">between</field> <field name="START_TIME">09:00</field> <field name="END_TIME">22:00</field> </block> </value> <value name="ARG3"> <block type="logic_negate" id="WRnm{KG{JbV^(qJF|[V">
<value name="BOOL">
<block type="get_value_var" id="^mccM/}}7UL+hr{GmEDU">
<field name="ATTR">val</field>
<value name="OID">
<shadow type="text">
<field name="TEXT"></field>
</shadow>
<block type="variables_get" id="S%MHvPEG8a|TWP.b}K.~">
<field name="VAR" id="GtmH9c3.#Sfn^r:{tv(C">O_TK_AR</field>
</block>
</value>
</block>
</value>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="control_ex" id="ze)|nHzHyW@|uPlZxP?E" inline="true">
<field name="TYPE">false</field>
<field name="CLEAR_RUNNING">FALSE</field>
<value name="OID">
<shadow type="field_oid">
<field name="oid">Object ID</field>
</shadow>
<block type="variables_get" id="hI;u{tcM=:_@$7DiB:R">
<field name="VAR" id="B|b6#XThFA@O^s.[rSQ">O_Entfeuchter_AR</field> </block> </value> <value name="VALUE"> <shadow type="logic_boolean" id="XvPZ*1hRMaih@Kc,65{Y"> <field name="BOOL">TRUE</field> </shadow> </value> <value name="DELAY_MS"> <shadow type="math_number" id="ME~][zgpi$h!F8-PKhX+"> <field name="NUM">0</field> </shadow> </value> <next> <block type="variables_set" id="Il/I,3)EE6!y$7@9XS1("> <field name="VAR" id="KvN?4sim,FA=E$614iu">Entfeuchter_AR</field>
<value name="VALUE">
<block type="logic_boolean" id="Hz/e~Y(;x%W0tp=W,Q+b">
<field name="BOOL">FALSE</field>
</block>
</value>
</block>
</next>
</block>
</statement>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</statement>
</block>
<block type="on_ext" id="3nUR9qwzfV[JUSrY?,FH" x="13" y="2163">
<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="c/mH,q2F22x=ff1_G[pH">
<field name="oid">default</field>
</shadow>
<block type="variables_get" id="~r(/G8pJ{fDJvd{.,_1j">
<field name="VAR" id="B|b6#XThFA@O^s.[rSQ">O_Entfeuchter_AR</field> </block> </value> <statement name="STATEMENT"> <block type="controls_if" id="pbeEK(3{|b2-a^*)qdB?"> <mutation else="1"></mutation> <value name="IF0"> <block type="on_source" id="+{_ef$1=X5@[dzyze@f?"> <field name="ATTR">state.val</field> </block> </value> <statement name="DO0"> <block type="debug" id="l|jr@6:DgZ1MO,t5CFW">
<field name="Severity">log</field>
<value name="TEXT">
<shadow type="text" id="4H]@,t9@l!#z!Ll!)kS"> <field name="TEXT">### Entfeuchter_AR ein 45Min</field> </shadow> <block type="text_join" id="1=^sjqJa2mHqa5c1jS.,"> <mutation items="2"></mutation> <value name="ADD0"> <block type="text" id="[Re%/%;ju-CQ+@M+xlD;"> <field name="TEXT">### Entfeuchter ein 45Min: </field> </block> </value> <value name="ADD1"> <block type="on_source" id="cBvfhAh=-@=d4z?wuq_#"> <field name="ATTR">common.name</field> </block> </value> </block> </value> <next> <block type="variables_set" id="N[vlWLVg2Zv)@lLO_m">
<field name="VAR" id="E3tbB@^5l:#aGCtmYnO)">Text_AR</field>
<value name="VALUE">
<block type="text_join" id="Y^3?hG:-B4]-oNZ/X+lp">
<mutation items="2"></mutation>
<value name="ADD0">
<block type="text" id="ATdi$2PsE-cpKdX*^f|"> <field name="TEXT">Ein </field> </block> </value> <value name="ADD1"> <block type="time_get" id="[?zABBNG=U^xkL{0@+N^"> <mutation xmlns="http://www.w3.org/1999/xhtml" format="true" language="false"></mutation> <field name="OPTION">custom</field> <field name="FORMAT">(SS:mm)</field> </block> </value> </block> </value> <next> <block type="control_ex" id="PN3K(=8:_mEJph9dDs|;" inline="true"> <field name="TYPE">false</field> <field name="CLEAR_RUNNING">TRUE</field> <value name="OID"> <shadow type="field_oid"> <field name="oid">Object ID</field> </shadow> <block type="variables_get" id="d,UF*0EkPog:KM@/SC|x"> <field name="VAR" id="B|b6#XThFA@O^s.[rSQ">O_Entfeuchter_AR</field>
</block>
</value>
<value name="VALUE">
<shadow type="logic_boolean" id="rSXF,5jT_6K+RKfX+YZ[">
<field name="BOOL">FALSE</field>
</shadow>
</value>
<value name="DELAY_MS">
<shadow type="math_number" id="67bG(d9EyRW3|j]l!%">
<field name="NUM">2600000</field>
</shadow>
</value>
</block>
</next>
</block>
</next>
</block>
</statement>
<statement name="ELSE">
<block type="debug" id="eeX8Zd,6(D=bU8VSd@h#">
<field name="Severity">log</field>
<value name="TEXT">
<shadow type="text" id="aEs(WJ1|hMEk{GA+zz*.">
<field name="TEXT">### Entfeuchter_AR ein 45Min</field>
</shadow>
<block type="text_join" id="7K?YAT0MF(Br#WOeR+y">
<mutation items="2"></mutation>
<value name="ADD0">
<block type="text" id="M:v.ich:jqtrnMJ0eunB">
<field name="TEXT">### Entfeuchter aus: </field>
</block>
</value>
<value name="ADD1">
<block type="on_source" id="F:!T#L[p5.AS=9pu^K.f">
<field name="ATTR">common.name</field>
</block>
</value>
</block>
</value>
<next>
<block type="control" id="ngi?MJk,6?~}3?+1IbxB">
<mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
<field name="OID">0_userdata.0.DP_Allgemein.DP_StatusListe</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="text_join" id="]mbyB5|o7wu:x@hKy**G">
<mutation items="2"></mutation>
<value name="ADD0">
<block type="text" id="WnD@phR~p.AnoRdDf{4F">
<field name="TEXT">= Entfeuchter_AR aus. </field>
</block>
</value>
<value name="ADD1">
<block type="variables_get" id="7N|#).a7+E0|{~0cF3|-">
<field name="VAR" id="E3tbB@^5l:#aGCtmYnO)">Text_AR</field>
</block>
</value>
</block>
</value>
</block>
</next>
</block>
</statement>
</block>
</statement>
<next>
<block type="on_ext" id="tib!7v!Ws0l6D+l_:iLQ">
<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="#-Ir5)a/;?z1pDx_?1}l">
<field name="oid">default</field>
</shadow>
<block type="variables_get" id="LJG|vLF0)VwB5QV{=f-e">
<field name="VAR" id="J6YYqYX{3WaW5~e2_15">O_Entfeuchter_KL</field>
</block>
</value>
<statement name="STATEMENT">
<block type="controls_if" id="4Si)=q8mv[,t?ZM+LWcU">
<mutation else="1"></mutation>
<value name="IF0">
<block type="on_source" id="m4hzs?DNB%7V1APnCSE"> <field name="ATTR">state.val</field> </block> </value> <statement name="DO0"> <block type="debug" id="vU_eehG.W*L%Iex_@T_r"> <field name="Severity">log</field> <value name="TEXT"> <shadow type="text"> <field name="TEXT">### Entfeuchter_AR ein 45Min</field> </shadow> <block type="text_join" id="~4~mwtFG3%*)T.qmpIGf"> <mutation items="2"></mutation> <value name="ADD0"> <block type="text" id="i]7i.4Mm{wZlLLMGlOI">
<field name="TEXT">### Entfeuchter ein 45Min: </field>
</block>
</value>
<value name="ADD1">
<block type="on_source" id="G6Bo(2?fcek[8}-m)iS,">
<field name="ATTR">common.name</field>
</block>
</value>
</block>
</value>
<next>
<block type="variables_set" id="Y#,7{/9Vxd_+dm}Rsb|"> <field name="VAR" id="8.qso1}G/$jFI,l.,mOn">Text_KL</field> <value name="VALUE"> <block type="text_join" id=":MbzeQJt93IGKl60xuOj"> <mutation items="2"></mutation> <value name="ADD0"> <block type="text" id="[L./Jmg4G0*8|^Wji~Y/"> <field name="TEXT">Ein </field> </block> </value> <value name="ADD1"> <block type="time_get" id="CyKC|y-8f].a}p5MR)F">
<mutation xmlns="http://www.w3.org/1999/xhtml" format="true" language="false"></mutation>
<field name="OPTION">custom</field>
<field name="FORMAT">(SS:mm)</field>
</block>
</value>
</block>
</value>
<next>
<block type="control_ex" id="?yXkUX_lugk^+WXo[M" inline="true"> <field name="TYPE">false</field> <field name="CLEAR_RUNNING">TRUE</field> <value name="OID"> <shadow type="field_oid"> <field name="oid">Object ID</field> </shadow> <block type="variables_get" id="0NI9g#c:d[1I0b6R};)8"> <field name="VAR" id="J6YYq*YX{3WaW5~e2_15">O_Entfeuchter_KL</field> </block> </value> <value name="VALUE"> <shadow type="logic_boolean" id="%s.N(Vh8/+d?mO%E62m_"> <field name="BOOL">FALSE</field> </shadow> </value> <value name="DELAY_MS"> <shadow type="math_number" id=";5uw^NE(TUauaj~WqnI">
<field name="NUM">2600000</field>
</shadow>
</value>
</block>
</next>
</block>
</next>
</block>
</statement>
<statement name="ELSE">
<block type="debug" id="J+-4zUWmGCVmhT%#PyAa">
<field name="Severity">log</field>
<value name="TEXT">
<shadow type="text">
<field name="TEXT">### Entfeuchter_AR ein 45Min</field>
</shadow>
<block type="text_join" id="Hg~sRfyp6[C5D7MHZ-Z"> <mutation items="2"></mutation> <value name="ADD0"> <block type="text" id="SCL8c@+XqBU?Y.bt?AE">
<field name="TEXT">### Entfeuchter aus: </field>
</block>
</value>
<value name="ADD1">
<block type="on_source" id="ypz^LeZ.34urA6BzFd04">
<field name="ATTR">common.name</field>
</block>
</value>
</block>
</value>
<next>
<block type="control" id="cKR:m!5]#qtI@:p.h/F">
<mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
<field name="OID">0_userdata.0.DP_Allgemein.DP_StatusListe</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="text_join" id="cnCOKG8_I%Hr)Dsqy1{-">
<mutation items="2"></mutation>
<value name="ADD0">
<block type="text" id="54s!=X}cKH;3yvSP?TQT">
<field name="TEXT">= Entfeuchter_KL aus. </field>
</block>
</value>
<value name="ADD1">
<block type="variables_get" id="YE+:S_NRq$?1W^L1D~i)">
<field name="VAR" id="8.qso1}G/$jFI,l.,mOn">Text_KL</field>
</block>
</value>
</block>
</value>
</block>
</next>
</block>
</statement>
</block>
</statement>
</block>
</next>
</block>
<block type="on_ext" id="}e(,kgJxvR5Y@.^#L!;K" x="13" y="3138">
<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="UC#1,DG3YQqHcE8On@">
<field name="oid">default</field>
</shadow>
<block type="variables_get" id="oSbgkRI0IrP9nttC0T}X">
<field name="VAR" id="GtmH9c3.#Sfn^r:{tv(C">O_TK_AR</field>
</block>
</value>
<statement name="STATEMENT">
<block type="controls_if" id=":tcF16th#Y9dDboV2sy">
<mutation else="1"></mutation>
<value name="IF0">
<block type="logic_operation" id="i=E;SQJfsOs.tyq4QQ_v" inline="false">
<field name="OP">AND</field>
<value name="A">
<block type="on_source" id="lRq,$z3!$INgT(#Z]Rt]">
<field name="ATTR">state.val</field>
</block>
</value>
<value name="B">
<block type="get_value_var" id="jm!Q${V^+C=wSfhvD5kN">
<field name="ATTR">val</field>
<value name="OID">
<shadow type="text" id="TQPgW],=hU)~4fZ0zq1l">
<field name="TEXT"></field>
</shadow>
<block type="variables_get" id="t#G0|IkD-{55mi]2)AX"> <field name="VAR" id="B|b6#XThFA@O^s.[rSQ">O_Entfeuchter_AR</field>
</block>
</value>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="timeouts_settimeout" id="Q!dl#{6Bc%K?AuHpfONi">
<field name="NAME">Tür_AR</field>
<field name="DELAY">5</field>
<field name="UNIT">min</field>
<statement name="STATEMENT">
<block type="control_ex" id="IHfj%dq#HFf^q/m)T$m!" inline="true">
<field name="TYPE">false</field>
<field name="CLEAR_RUNNING">FALSE</field>
<value name="OID">
<shadow type="field_oid">
<field name="oid">Object ID</field>
</shadow>
<block type="variables_get" id="X]l{QgfDkGwmGXF(f=W"> <field name="VAR" id="B|b6#XThFA@O^s.[rSQ">O_Entfeuchter_AR</field>
</block>
</value>
<value name="VALUE">
<shadow type="logic_boolean" id="T✌7L2IwJAo}dxg~-"> <field name="BOOL">FALSE</field> </shadow> </value> <value name="DELAY_MS"> <shadow type="math_number" id="O278$/Gf{6FBtjgSk$[D"> <field name="NUM">0</field> </shadow> </value> </block> </statement> </block> </statement> <statement name="ELSE"> <block type="timeouts_cleartimeout" id="z=Zx~zp258A0i05ke~N6"> <field name="NAME">Tür_AR</field> </block> </statement> </block> </statement> <next> <block type="on_ext" id="XXi_jYEHc8[]M8iA2|"> <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"> <field name="oid">default</field> </shadow> <block type="variables_get" id="9^IxMv!lu!5(MY_q,?BS"> <field name="VAR" id="I+lyCy0/AA-uh7f?4Q=2">O_TK_KL</field> </block> </value> <statement name="STATEMENT"> <block type="controls_if" id="8QaJH{;NocJZTR*Cb;c~"> <mutation else="1"></mutation> <value name="IF0"> <block type="logic_operation" id="jEmp6D^v#T?{D=Ipnt;k" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="on_source" id="Lj;91Wq(!);wi]DkGE[*"> <field name="ATTR">state.val</field> </block> </value> <value name="B"> <block type="get_value_var" id="*t3S4R711fb!JIbq_2)O"> <field name="ATTR">val</field> <value name="OID"> <shadow type="text"> <field name="TEXT"></field> </shadow> <block type="variables_get" id="HLCu1s@ze/G4Vh/G_5aT"> <field name="VAR" id="J6YYq*YX{3WaW5~e2_15">O_Entfeuchter_KL</field> </block> </value> </block> </value> </block> </value> <statement name="DO0"> <block type="timeouts_settimeout" id=".;1A{B9D-P!(#vgL*TBW"> <field name="NAME">Tür_KL</field> <field name="DELAY">5</field> <field name="UNIT">min</field> <statement name="STATEMENT"> <block type="control_ex" id="(-Q#Lh=:|*Fsq0Eh4P@N" inline="true"> <field name="TYPE">false</field> <field name="CLEAR_RUNNING">FALSE</field> <value name="OID"> <shadow type="field_oid"> <field name="oid">Object ID</field> </shadow> <block type="variables_get" id="30wlM]8jPBCf:XE,J5t2"> <field name="VAR" id="J6YYq*YX{3WaW5~e2_15">O_Entfeuchter_KL</field> </block> </value> <value name="VALUE"> <shadow type="logic_boolean" id="kXxusb-o;r/s:86nLFP]"> <field name="BOOL">FALSE</field> </shadow> </value> <value name="DELAY_MS"> <shadow type="math_number" id="ZN/kkiz,-6oVK*F#}F|)"> <field name="NUM">0</field> </shadow> </value> </block> </statement> </block> </statement> <statement name="ELSE"> <block type="timeouts_cleartimeout" id="MS]~-u%|JX|irasDttjR"> <field name="NAME">Tür_KL</field> </block> </statement> </block> </statement> </block> </next> </block> <block type="comment" id="iP4|zVODr,n5JIq$i7dm" x="13" y="3763"> <field name="COMMENT">Rücksetzen Steuerfreigabe vis</field> <next> <block type="on_ext" id="o~#]Oas)9-U7iG{/L,[h"> <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="((1:.G{htaj)*iyz:JPY"> <field name="oid">0_userdata.0.Allgemein.DP_FS.KE.FS_KE</field> </shadow> </value> <statement name="STATEMENT"> <block type="controls_if" id="u;_b:azTS(onlqH,.2oE"> <value name="IF0"> <block type="on_source" id="O)]:+#Aj),Oh.;bgVZg">
<field name="ATTR">state.val</field>
</block>
</value>
<statement name="DO0">
<block type="control_ex" id="mwTRJCdH_W;8mO|5FhNs" inline="true">
<field name="TYPE">false</field>
<field name="CLEAR_RUNNING">TRUE</field>
<value name="OID">
<shadow xmlns="http://www.w3.org/1999/xhtml" type="field_oid" id="j[7_hMy.fl%Z;947E1IT">
<field name="oid">Object ID</field>
</shadow>
<block type="on_source" id="PO()=!e-*VJ0ri+{89@f">
<field name="ATTR">id</field>
</block>
</value>
<value name="VALUE">
<shadow type="logic_boolean" id="5-|se)JZ_CE)ON6E^$W2">
<field name="BOOL">FALSE</field>
</shadow>
</value>
<value name="DELAY_MS">
<shadow type="math_number" id="rH{,3X!{CZ85xW-2i$=s">
<field name="NUM">15000</field>
</shadow>
</value>
</block>
</statement>
</block>
</statement>
</block>
</next>
</block>
</xml>