Mit 1 oder mehrere Smarte Schalter (on/off Funktion) 1 oder mehrere Smarte Lampen ein/aus schalten oder Dimmen
Code
- <xml xmlns="https://developers.google.com/blockly/xml">
- <variables>
- <variable id="ES3T]#DJAP|IY3R(U|8i">an/ausx</variable>
- <variable id="L!cd2i1GIIyQu:m7ynWm">dimmerx</variable>
- <variable id="vo~!P}y~ps5)5KSMe?]h">state dimmer</variable>
- <variable id="M21UN+MPg6`Iz$!-%`9O">on/off state bulk</variable>
- <variable id="=*pP!20E/^V%z~cEklep">dimmeran</variable>
- <variable id="KyiPL$Wk/Hrkh!FgYYK^">zähler</variable>
- <variable type="timeout" id="timeout">timeout</variable>
- <variable id="vag{o(ks)zNr~i)5i5(t">dimmer</variable>
- <variable type="interval" id="Intervall">Intervall</variable>
- <variable type="interval" id="Intervall2">Intervall2</variable>
- </variables>
- <block type="comment" id="f/]U2PBK?xK6e4WCL)3;" x="385" y="93">
- <field name="COMMENT">Lampe Dimmdatenpunkt</field>
- <next>
- <block type="variables_set" id="[F8c5gB.1a`UFLoyC-dJ">
- <field name="VAR" id="vo~!P}y~ps5)5KSMe?]h">state dimmer</field>
- <value name="VALUE">
- <block type="field_oid" id="A=pz.ZP(at5zPZ?eX7x(">
- <field name="oid">zigbee.0.0017880103718cc3.brightness</field>
- </block>
- </value>
- <next>
- <block type="comment" id="_sq~4@}T|vuHv0W,xmPk">
- <field name="COMMENT">Lampe on/off Datenpunkt</field>
- <next>
- <block type="variables_set" id="N?TYE8/lQkh9{-:Kew*m">
- <field name="VAR" id="M21UN+MPg6`Iz$!-%`9O">on/off state bulk</field>
- <value name="VALUE">
- <block type="field_oid" id="7LzWdoH!huX)`4Dan38X">
- <field name="oid">zigbee.0.0017880103718cc3.state</field>
- </block>
- </value>
- <next>
- <block type="variables_set" id="3-`X1^AML$#fQ(Km?xI4">
- <field name="VAR" id="=*pP!20E/^V%z~cEklep">dimmeran</field>
- <value name="VALUE">
- <block type="math_number" id="5o4DW[nFcaK9qm{^M6TM">
- <field name="NUM">0</field>
- </block>
- </value>
- <next>
- <block type="variables_set" id="LRl.`K{Va|dh]P:VtEW1">
- <field name="VAR" id="KyiPL$Wk/Hrkh!FgYYK^">zähler</field>
- <value name="VALUE">
- <block type="math_number" id="Y)fh0P_m^ane46!!:)SK">
- <field name="NUM">0</field>
- </block>
- </value>
- <next>
- <block type="comment" id="5@f]l;:axN|u_q:vQaz5">
- <field name="COMMENT">Schalter on/off Datenpunkt</field>
- <next>
- <block type="on_ext" id="ed%cI_DS#i,Zlzo1)I_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="G;,emk]Pm3Vy`GnU-yT+">
- <field name="oid">zigbee.0.804b50fffeab6f88.state</field>
- </shadow>
- </value>
- <statement name="STATEMENT">
- <block type="math_change" id="@+u/sM~^T(N@)P`:Y/ys">
- <field name="VAR" id="KyiPL$Wk/Hrkh!FgYYK^">zähler</field>
- <value name="DELTA">
- <shadow type="math_number" id="SJGQx;EI_s)u~rttzb@%">
- <field name="NUM">1</field>
- </shadow>
- </value>
- <next>
- <block type="timeouts_cleartimeout" id="GPmPQHu.axG]U4|BX#rF">
- <field name="NAME">timeout</field>
- <next>
- <block type="timeouts_settimeout" id="y0A^tQyaKeOjdUz*l`~j">
- <field name="NAME">timeout</field>
- <field name="DELAY">500</field>
- <field name="UNIT">ms</field>
- <statement name="STATEMENT">
- <block type="controls_if" id="DJ@Iedk5tP{Zm_yYy)7]">
- <value name="IF0">
- <block type="logic_operation" id="vZd.uKZ]abzh4~*N5XZG">
- <field name="OP">AND</field>
- <value name="A">
- <block type="logic_compare" id="E^olW,RdYA18}!N?`WCy">
- <field name="OP">EQ</field>
- <value name="A">
- <block type="variables_get" id="f)qPW.EC8n{ZvU#+bOjZ">
- <field name="VAR" id="KyiPL$Wk/Hrkh!FgYYK^">zähler</field>
- </block>
- </value>
- <value name="B">
- <block type="math_number" id="GXwu-x*13l0-ZwoGMZx:">
- <field name="NUM">1</field>
- </block>
- </value>
- </block>
- </value>
- <value name="B">
- <block type="logic_compare" id="_Cq1dA`QqZPyV*!4D2sB">
- <field name="OP">NEQ</field>
- <value name="A">
- <block type="variables_get" id="u`#jrklV5rm$D3~B}({a">
- <field name="VAR" id="=*pP!20E/^V%z~cEklep">dimmeran</field>
- </block>
- </value>
- <value name="B">
- <block type="math_number" id="PQ~|L4LFVlj/k5`@m=3-">
- <field name="NUM">1</field>
- </block>
- </value>
- </block>
- </value>
- </block>
- </value>
- <statement name="DO0">
- <block type="logic_switch_case" id="~$BFb@xX5F2xFPYVom83">
- <mutation xmlns="http://www.w3.org/1999/xhtml" default="1"></mutation>
- <value name="CONDITION">
- <block type="logic_boolean" id="y4)b?BBvwWv^?P!ht94l">
- <field name="BOOL">TRUE</field>
- </block>
- </value>
- <value name="CASECONDITION0">
- <block type="get_value_var" id="ni/{ff2oy_|Ij19O:CzL">
- <field name="ATTR">val</field>
- <value name="OID">
- <shadow type="text" id=":c4_VIO+TrZ.6+{]k2$O">
- <field name="TEXT"></field>
- </shadow>
- <block type="variables_get" id="0ti60[~u~!_+18=Gh%vN">
- <field name="VAR" id="M21UN+MPg6`Iz$!-%`9O">on/off state bulk</field>
- </block>
- </value>
- </block>
- </value>
- <statement name="CASE0">
- <block type="procedures_callnoreturn" id="_uTP#SV,o?;n5)aTO~jS">
- <mutation name="etwas tun2">
- <arg name="an/ausx"></arg>
- </mutation>
- <value name="ARG0">
- <block type="logic_boolean" id="D[lj}.uH6SWC72brT3,}">
- <field name="BOOL">FALSE</field>
- </block>
- </value>
- <next>
- <block type="control_ex" id="}(ucz*VV{b:6-PHq_rmd">
- <field name="TYPE">false</field>
- <field name="CLEAR_RUNNING">FALSE</field>
- <value name="OID">
- <shadow type="field_oid" id="5I/2N5|}qe9#M40S_#_9">
- <field name="oid">Object ID</field>
- </shadow>
- <block type="variables_get" id="78]oQ=kX-5b5?PDh#Q1*">
- <field name="VAR" id="M21UN+MPg6`Iz$!-%`9O">on/off state bulk</field>
- </block>
- </value>
- <value name="VALUE">
- <shadow type="logic_boolean" id="N}=N^]cgj:7G`-BXe:%O">
- <field name="BOOL">FALSE</field>
- </shadow>
- </value>
- <value name="DELAY_MS">
- <shadow type="math_number" id=".h7/=@Rm2@ZaE8;#Lw@6">
- <field name="NUM">0</field>
- </shadow>
- </value>
- </block>
- </next>
- </block>
- </statement>
- <statement name="ONDEFAULT">
- <block type="procedures_callnoreturn" id="M1~WN1[:}C`ZCY!-bYNy">
- <mutation name="etwas tun2">
- <arg name="an/ausx"></arg>
- </mutation>
- <value name="ARG0">
- <block type="logic_boolean" id="`1P8}4C!!-.*Z.D(s14d">
- <field name="BOOL">TRUE</field>
- </block>
- </value>
- <next>
- <block type="control_ex" id="_-O4YQZxY_u6?)utMA`Y">
- <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="D6Cp/!lm38qasDtd._/R">
- <field name="VAR" id="M21UN+MPg6`Iz$!-%`9O">on/off state bulk</field>
- </block>
- </value>
- <value name="VALUE">
- <shadow type="logic_boolean" id="*0v]Za0snMb[]YHYWT:)">
- <field name="BOOL">TRUE</field>
- </shadow>
- </value>
- <value name="DELAY_MS">
- <shadow type="math_number" id="e5i;AiN~S0Jrh)R2kuOX">
- <field name="NUM">0</field>
- </shadow>
- </value>
- </block>
- </next>
- </block>
- </statement>
- <next>
- <block type="variables_set" id="_I#9/bx/cgt{FMm$fD^{">
- <field name="VAR" id="KyiPL$Wk/Hrkh!FgYYK^">zähler</field>
- <value name="VALUE">
- <block type="math_number" id="Lu6HH`rDH^4DE9wmRd,L">
- <field name="NUM">0</field>
- </block>
- </value>
- </block>
- </next>
- </block>
- </statement>
- <next>
- <block type="controls_if" id="QXjC]l{k@U~])|Jx#d)h">
- <mutation elseif="1"></mutation>
- <value name="IF0">
- <block type="logic_operation" id="XY8SY,~Q/IfRYxid.e66">
- <field name="OP">AND</field>
- <value name="A">
- <block type="logic_operation" id="rbrzPY3:t9-rMRe)n$:U">
- <field name="OP">AND</field>
- <value name="A">
- <block type="logic_compare" id="vL^cVO2rT$0E64(zX-ae">
- <field name="OP">GT</field>
- <value name="A">
- <block type="variables_get" id="H2?)*3dya(Z3MQ;)XW+w">
- <field name="VAR" id="KyiPL$Wk/Hrkh!FgYYK^">zähler</field>
- </block>
- </value>
- <value name="B">
- <block type="math_number" id="Ye!I[2?yd5G]D~aL7|Z9">
- <field name="NUM">1</field>
- </block>
- </value>
- </block>
- </value>
- <value name="B">
- <block type="logic_compare" id="Ne`p@g`lpvJidy17us.z">
- <field name="OP">GT</field>
- <value name="A">
- <block type="get_value_var" id="4YL(c4q$ejM+4bhfA+37">
- <field name="ATTR">val</field>
- <value name="OID">
- <shadow type="text" id="StW$Vk]N5{_8:gggepI}">
- <field name="TEXT"></field>
- </shadow>
- <block type="variables_get" id="O-#~Xah1BeS|$`eu8C.E">
- <field name="VAR" id="vo~!P}y~ps5)5KSMe?]h">state dimmer</field>
- </block>
- </value>
- </block>
- </value>
- <value name="B">
- <block type="math_number" id="zJR@_UX,+f{,Zkave3R|">
- <field name="NUM">49</field>
- </block>
- </value>
- </block>
- </value>
- </block>
- </value>
- <value name="B">
- <block type="logic_compare" id="p~DrOcAa.Vyg3^*]W@iG">
- <field name="OP">NEQ</field>
- <value name="A">
- <block type="variables_get" id="~t?jr)aI/5O{rz4ayW)k">
- <field name="VAR" id="=*pP!20E/^V%z~cEklep">dimmeran</field>
- </block>
- </value>
- <value name="B">
- <block type="math_number" id="U8T~/6#DPX1fZnZDN}9C">
- <field name="NUM">1</field>
- </block>
- </value>
- </block>
- </value>
- </block>
- </value>
- <statement name="DO0">
- <block type="variables_set" id="68[4d]]2QvC?Pf+3BVA,">
- <field name="VAR" id="=*pP!20E/^V%z~cEklep">dimmeran</field>
- <value name="VALUE">
- <block type="math_number" id="L_@iUw,ZvPvu#hVFMBF4">
- <field name="NUM">1</field>
- </block>
- </value>
- <next>
- <block type="variables_set" id="q3lMTutLzSw%SGXmv(z0">
- <field name="VAR" id="vag{o(ks)zNr~i)5i5(t">dimmer</field>
- <value name="VALUE">
- <block type="get_value_var" id="rK0;HK-/eL~X9UDY}QGf">
- <field name="ATTR">val</field>
- <value name="OID">
- <shadow type="text">
- <field name="TEXT"></field>
- </shadow>
- <block type="variables_get" id="s{5N2?)eZS*Smn|d)Lu1">
- <field name="VAR" id="vo~!P}y~ps5)5KSMe?]h">state dimmer</field>
- </block>
- </value>
- </block>
- </value>
- <next>
- <block type="variables_set" id="/R3FltHZ+;t88;?`e9ak">
- <field name="VAR" id="KyiPL$Wk/Hrkh!FgYYK^">zähler</field>
- <value name="VALUE">
- <block type="math_number" id="a78cEyuAsW/oy:_jG^lS">
- <field name="NUM">0</field>
- </block>
- </value>
- <next>
- <block type="timeouts_setinterval" id="GHpx`3s*eB3b$};+%1;Y">
- <field name="NAME">Intervall</field>
- <field name="INTERVAL">100</field>
- <field name="UNIT">ms</field>
- <statement name="STATEMENT">
- <block type="math_change" id="8yN^wl^z`u?l6@H3Uq6k">
- <field name="VAR" id="vag{o(ks)zNr~i)5i5(t">dimmer</field>
- <value name="DELTA">
- <shadow type="math_number" id="`[A;=zc|rc1UTh*.JW@:">
- <field name="NUM">-1</field>
- </shadow>
- </value>
- <next>
- <block type="controls_if" id="cvw95eWNTS~.eK_kX=x|">
- <mutation else="1"></mutation>
- <value name="IF0">
- <block type="logic_compare" id="EVmI74u_N=`5-ZMP.,|L">
- <field name="OP">LTE</field>
- <value name="A">
- <block type="variables_get" id="7R$}.1/151yNDv|@JV=v">
- <field name="VAR" id="vag{o(ks)zNr~i)5i5(t">dimmer</field>
- </block>
- </value>
- <value name="B">
- <block type="math_number" id="65T(kAvAlAO%DmY/8E1D">
- <field name="NUM">5</field>
- </block>
- </value>
- </block>
- </value>
- <statement name="DO0">
- <block type="procedures_callnoreturn" id="ldCWa.#]0x%:q.bUOGcd">
- <mutation name="etwas tun">
- <arg name="dimmerx"></arg>
- </mutation>
- <value name="ARG0">
- <block type="math_number" id="K?qD.0grD9EN#B)f)H)E">
- <field name="NUM">5</field>
- </block>
- </value>
- <next>
- <block type="control_ex" id="-ZWhC_Lt+j(,mxX1codP">
- <field name="TYPE">false</field>
- <field name="CLEAR_RUNNING">FALSE</field>
- <value name="OID">
- <shadow type="field_oid" id="!0.he_XOQybK,IZoI0!x">
- <field name="oid">Object ID</field>
- </shadow>
- <block type="variables_get" id="^]uJ2B-;y-:wn@%)xTs7">
- <field name="VAR" id="vo~!P}y~ps5)5KSMe?]h">state dimmer</field>
- </block>
- </value>
- <value name="VALUE">
- <shadow type="logic_boolean" id="{`VEip+^wugq0b4s9c:n">
- <field name="BOOL">TRUE</field>
- </shadow>
- <block type="math_number" id="fX)w?G(EHKbDok~~*R`J">
- <field name="NUM">5</field>
- </block>
- </value>
- <value name="DELAY_MS">
- <shadow type="math_number" id="//mrSaz.i{m0jPUs;xg6">
- <field name="NUM">0</field>
- </shadow>
- </value>
- <next>
- <block type="variables_set" id=")]F$ZNcWkz~gYwUD}|=Y">
- <field name="VAR" id="=*pP!20E/^V%z~cEklep">dimmeran</field>
- <value name="VALUE">
- <block type="math_number" id="::7d~pTjltQpF9[{Cy}|">
- <field name="NUM">0</field>
- </block>
- </value>
- <next>
- <block type="timeouts_clearinterval" id="Modg(OB,]m!{rf4QRdZr">
- <field name="NAME">Intervall</field>
- </block>
- </next>
- </block>
- </next>
- </block>
- </next>
- </block>
- </statement>
- <statement name="ELSE">
- <block type="procedures_callnoreturn" id="m-T]RrXcvZsP8}AY@;E_">
- <mutation name="etwas tun">
- <arg name="dimmerx"></arg>
- </mutation>
- <value name="ARG0">
- <block type="variables_get" id="rVx_{581iu2q[L6O@_So">
- <field name="VAR" id="vag{o(ks)zNr~i)5i5(t">dimmer</field>
- </block>
- </value>
- <next>
- <block type="control_ex" id="eEr1OveJ6]{-ybrG24ch">
- <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="rQ]F$=tjbqCF{T,-%Xxg">
- <field name="VAR" id="vo~!P}y~ps5)5KSMe?]h">state dimmer</field>
- </block>
- </value>
- <value name="VALUE">
- <shadow type="logic_boolean">
- <field name="BOOL">TRUE</field>
- </shadow>
- <block type="variables_get" id="Ew`%HspD;]x|=}WjZv;L">
- <field name="VAR" id="vag{o(ks)zNr~i)5i5(t">dimmer</field>
- </block>
- </value>
- <value name="DELAY_MS">
- <shadow type="math_number" id="mw`At?g;9fL2CJ(SJ,.E">
- <field name="NUM">0</field>
- </shadow>
- </value>
- </block>
- </next>
- </block>
- </statement>
- </block>
- </next>
- </block>
- </statement>
- </block>
- </next>
- </block>
- </next>
- </block>
- </next>
- </block>
- </statement>
- <value name="IF1">
- <block type="logic_operation" id="4L$=Y|Bf:7yFECe=?bF#">
- <field name="OP">AND</field>
- <value name="A">
- <block type="logic_operation" id="^{MC7m.-r9U6Fm3o@ScF">
- <field name="OP">AND</field>
- <value name="A">
- <block type="logic_compare" id="y.x]yU,Ox3A~b{@B0ghm">
- <field name="OP">GT</field>
- <value name="A">
- <block type="variables_get" id="7fD5Q-18n=Rq7,j`pH%[">
- <field name="VAR" id="KyiPL$Wk/Hrkh!FgYYK^">zähler</field>
- </block>
- </value>
- <value name="B">
- <block type="math_number" id="?[(29yw4Qu2qiB[FgEg(">
- <field name="NUM">1</field>
- </block>
- </value>
- </block>
- </value>
- <value name="B">
- <block type="logic_compare" id=";?i~3OI05@p~C*1{`s}S">
- <field name="OP">LTE</field>
- <value name="A">
- <block type="get_value_var" id="=kIb4G]4ok9`;4SY^d*v">
- <field name="ATTR">val</field>
- <value name="OID">
- <shadow type="text" id="NpY60$W#fD2yS1Lptc~X">
- <field name="TEXT"></field>
- </shadow>
- <block type="variables_get" id="|@?hw}0}vK0,dMz^{;}U">
- <field name="VAR" id="vo~!P}y~ps5)5KSMe?]h">state dimmer</field>
- </block>
- </value>
- </block>
- </value>
- <value name="B">
- <block type="math_number" id="fwf*$`ik6#-l0ZhACPrL">
- <field name="NUM">49</field>
- </block>
- </value>
- </block>
- </value>
- </block>
- </value>
- <value name="B">
- <block type="logic_compare" id="FbT9MhZZMes@{hz,%9b3">
- <field name="OP">NEQ</field>
- <value name="A">
- <block type="variables_get" id="eFrN=X!d$q}cRR=$IKI-">
- <field name="VAR" id="=*pP!20E/^V%z~cEklep">dimmeran</field>
- </block>
- </value>
- <value name="B">
- <block type="math_number" id="rj;$R|p8Rzl#LAV!5lLL">
- <field name="NUM">1</field>
- </block>
- </value>
- </block>
- </value>
- </block>
- </value>
- <statement name="DO1">
- <block type="variables_set" id="{xEhCy0Yb?vW_50`{/#t">
- <field name="VAR" id="=*pP!20E/^V%z~cEklep">dimmeran</field>
- <value name="VALUE">
- <block type="math_number" id="q80n?W%:bDT,KYP2%DLz">
- <field name="NUM">1</field>
- </block>
- </value>
- <next>
- <block type="variables_set" id="e/#g%.!m!2M|^Wik?mdn">
- <field name="VAR" id="KyiPL$Wk/Hrkh!FgYYK^">zähler</field>
- <value name="VALUE">
- <block type="math_number" id="5^H[8kkM[A1Q_/R}vl#B">
- <field name="NUM">0</field>
- </block>
- </value>
- <next>
- <block type="variables_set" id="b=[3xRW+UfEOac(BJ,j1">
- <field name="VAR" id="vag{o(ks)zNr~i)5i5(t">dimmer</field>
- <value name="VALUE">
- <block type="get_value_var" id="/EB@`zq2^/a#?Piy9:u:">
- <field name="ATTR">val</field>
- <value name="OID">
- <shadow type="text">
- <field name="TEXT"></field>
- </shadow>
- <block type="variables_get" id="3DD%W;-_R]~xcY06`6zt">
- <field name="VAR" id="vo~!P}y~ps5)5KSMe?]h">state dimmer</field>
- </block>
- </value>
- </block>
- </value>
- <next>
- <block type="timeouts_setinterval" id="M`s:I%*u4HzWMZxT)i=X">
- <field name="NAME">Intervall2</field>
- <field name="INTERVAL">100</field>
- <field name="UNIT">ms</field>
- <statement name="STATEMENT">
- <block type="math_change" id="S]|6Li{IQR,!Kn;D%82U">
- <field name="VAR" id="vag{o(ks)zNr~i)5i5(t">dimmer</field>
- <value name="DELTA">
- <shadow type="math_number" id="v,-x*U+yQO!5U6`*lovR">
- <field name="NUM">1</field>
- </shadow>
- </value>
- <next>
- <block type="controls_if" id="6FG,tGG;Z:wL_Rt^g:ei">
- <mutation else="1"></mutation>
- <value name="IF0">
- <block type="logic_compare" id="od(6(TBptRXX$DkBskJ7">
- <field name="OP">GTE</field>
- <value name="A">
- <block type="variables_get" id=",0RtF)oHVltn-uFuo7[x">
- <field name="VAR" id="vag{o(ks)zNr~i)5i5(t">dimmer</field>
- </block>
- </value>
- <value name="B">
- <block type="math_number" id="6+oPkm9gD2z?#mdH9Vx6">
- <field name="NUM">100</field>
- </block>
- </value>
- </block>
- </value>
- <statement name="DO0">
- <block type="procedures_callnoreturn" id="v0c4drU6fRjot#6/MnAH">
- <mutation name="etwas tun">
- <arg name="dimmerx"></arg>
- </mutation>
- <value name="ARG0">
- <block type="math_number" id="6q#S_^+)TBhWftm0vLz$">
- <field name="NUM">100</field>
- </block>
- </value>
- <next>
- <block type="control_ex" id=")=Ng~w~bl=C}tYTAd!_-">
- <field name="TYPE">false</field>
- <field name="CLEAR_RUNNING">FALSE</field>
- <value name="OID">
- <shadow type="field_oid" id="%0[Yn/J:)ixAhP!|*6*3">
- <field name="oid">Object ID</field>
- </shadow>
- <block type="variables_get" id="5Pj{F4p[WM7f|ubEH}K1">
- <field name="VAR" id="vo~!P}y~ps5)5KSMe?]h">state dimmer</field>
- </block>
- </value>
- <value name="VALUE">
- <shadow type="logic_boolean" id="V#c3[]Y#B0~CW.~;y1i5">
- <field name="BOOL">TRUE</field>
- </shadow>
- <block type="math_number" id=":Zw/5#_2JW@|PK3{!k$R">
- <field name="NUM">100</field>
- </block>
- </value>
- <value name="DELAY_MS">
- <shadow type="math_number" id="_yw~7K6b]`HUVfsY(lq)">
- <field name="NUM">0</field>
- </shadow>
- </value>
- <next>
- <block type="variables_set" id="fMlzFxne7;~bxWy9%C_A">
- <field name="VAR" id="=*pP!20E/^V%z~cEklep">dimmeran</field>
- <value name="VALUE">
- <block type="math_number" id="HfVRv(Rs(]EVem?NT1Ni">
- <field name="NUM">0</field>
- </block>
- </value>
- <next>
- <block type="timeouts_clearinterval" id="mx1WG+zF=oPX.QB:xzf;">
- <field name="NAME">Intervall2</field>
- </block>
- </next>
- </block>
- </next>
- </block>
- </next>
- </block>
- </statement>
- <statement name="ELSE">
- <block type="procedures_callnoreturn" id="Ww-2tnZ*^$]8OR:#USL=">
- <mutation name="etwas tun">
- <arg name="dimmerx"></arg>
- </mutation>
- <value name="ARG0">
- <block type="variables_get" id="/!Q1q,~7gIq9gdc%/A/u">
- <field name="VAR" id="vag{o(ks)zNr~i)5i5(t">dimmer</field>
- </block>
- </value>
- <next>
- <block type="control_ex" id="}-KABV7tAO@FgKQSY0Sl">
- <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="x2xxbH#;jx/R5gY{imU%">
- <field name="VAR" id="vo~!P}y~ps5)5KSMe?]h">state dimmer</field>
- </block>
- </value>
- <value name="VALUE">
- <shadow type="logic_boolean">
- <field name="BOOL">TRUE</field>
- </shadow>
- <block type="variables_get" id="8^i2*nkjDtP*6(3*TpvQ">
- <field name="VAR" id="vag{o(ks)zNr~i)5i5(t">dimmer</field>
- </block>
- </value>
- <value name="DELAY_MS">
- <shadow type="math_number" id="gQ(kT*jhQU/0BOd`;nIR">
- <field name="NUM">0</field>
- </shadow>
- </value>
- </block>
- </next>
- </block>
- </statement>
- </block>
- </next>
- </block>
- </statement>
- </block>
- </next>
- </block>
- </next>
- </block>
- </next>
- </block>
- </statement>
- </block>
- </next>
- </block>
- </statement>
- <next>
- <block type="controls_if" id="#c+`UuTHA6|?A[h5gDbH">
- <value name="IF0">
- <block type="logic_compare" id="F#OJn)2iPPMQ)AL@JvT#">
- <field name="OP">EQ</field>
- <value name="A">
- <block type="variables_get" id="BP6Jah9B;1yy#`I#2BnE">
- <field name="VAR" id="=*pP!20E/^V%z~cEklep">dimmeran</field>
- </block>
- </value>
- <value name="B">
- <block type="math_number" id="6)AEl|#zFfPhqHu%kQ7I">
- <field name="NUM">1</field>
- </block>
- </value>
- </block>
- </value>
- <statement name="DO0">
- <block type="variables_set" id="CbGaBq#D+:R*B]hfdwz3">
- <field name="VAR" id="=*pP!20E/^V%z~cEklep">dimmeran</field>
- <value name="VALUE">
- <block type="math_number" id="(bLK!%E,u2Sta%kxyQ^^">
- <field name="NUM">0</field>
- </block>
- </value>
- <next>
- <block type="variables_set" id="#=mVyKq@uIT31-`5b]XP">
- <field name="VAR" id="KyiPL$Wk/Hrkh!FgYYK^">zähler</field>
- <value name="VALUE">
- <block type="math_number" id="RA1xSl{ozO^GT8QuRCRb">
- <field name="NUM">0</field>
- </block>
- </value>
- <next>
- <block type="timeouts_clearinterval" id="e/G^1Q^*(cXI/*P.:T9z">
- <field name="NAME">Intervall</field>
- <next>
- <block type="timeouts_clearinterval" id="%gh_G;Mv$q}:d6D+Ff]q">
- <field name="NAME">Intervall2</field>
- </block>
- </next>
- </block>
- </next>
- </block>
- </next>
- </block>
- </statement>
- </block>
- </next>
- </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="jPDcZdbfM.phWJ[mE}W=" x="1088" y="87">
- <mutation>
- <arg name="an/ausx" varid="ES3T]#DJAP|IY3R(U|8i"></arg>
- </mutation>
- <field name="NAME">etwas tun2</field>
- <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
- <statement name="STACK">
- <block type="comment" id="zo5BWThhBAXtfsCYQ+cS">
- <field name="COMMENT">an/aus Datenpunkt aller anderen Lampen</field>
- <next>
- <block type="debug" id="=s3?P_E7;9^3dpw4Qa9q">
- <field name="Severity">log</field>
- <value name="TEXT">
- <shadow type="text" id="N;`Mj?-N%0`ToBCF6t|{">
- <field name="TEXT">test</field>
- </shadow>
- <block type="variables_get" id=",}w.y41XZ=WF`#8uC0HW">
- <field name="VAR" id="ES3T]#DJAP|IY3R(U|8i">an/ausx</field>
- </block>
- </value>
- </block>
- </next>
- </block>
- </statement>
- </block>
- <block type="procedures_defnoreturn" id="}pE*:ru}e5{_+@S$)@:r" x="1088" y="262">
- <mutation>
- <arg name="dimmerx" varid="L!cd2i1GIIyQu:m7ynWm"></arg>
- </mutation>
- <field name="NAME">etwas tun</field>
- <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
- <statement name="STACK">
- <block type="comment" id="t0y1RmB.OINGYjuq?NK7">
- <field name="COMMENT">dimmer Datenpunkte aller anderen Lampen</field>
- <next>
- <block type="debug" id="qS`XD5J8H(^:1A[2k2Kw">
- <field name="Severity">log</field>
- <value name="TEXT">
- <shadow type="text" id="9el01KS0sHtc}uH8kF*L">
- <field name="TEXT">test</field>
- </shadow>
- <block type="variables_get" id="Er%YI${gmw.#~-$D/TN^">
- <field name="VAR" id="L!cd2i1GIIyQu:m7ynWm">dimmerx</field>
- </block>
- </value>
- </block>
- </next>
- </block>
- </statement>
- </block>
- </xml>