Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <xml xmlns="http://www.w3.org/1999/xhtml">
- <block type="on_ext" id="Mv!MT1rvco3XETzCuTGB" x="13" y="13">
- <mutation items="2"></mutation>
- <field name="CONDITION">ne</field>
- <field name="ACK_CONDITION"></field>
- <value name="OID0">
- <shadow type="field_oid" id="ns2?l}nltRiK|jpVC|^F">
- <field name="oid">sonoff.0.sonoff_Treppenlicht_Sensor1.POWER</field>
- </shadow>
- </value>
- <value name="OID1">
- <shadow type="field_oid" id="o#uh,x*8jqj{}#W9U@{{">
- <field name="oid">sonoff.0.sonoff_Treppenlicht_Sensor2.POWER</field>
- </shadow>
- </value>
- <statement name="STATEMENT">
- <block type="controls_if" id="qHht;}xWiBega3|mT1Zv">
- <mutation elseif="2"></mutation>
- <value name="IF0">
- <block type="logic_operation" id="[.lNWTlVaR^MLgFJVFIG">
- <field name="OP">AND</field>
- <value name="A">
- <block type="logic_operation" id="V,_42}n5|48^@=0^x}Cp">
- <field name="OP">OR</field>
- <value name="A">
- <block type="logic_compare" id="UPW4@%R5y*c:R-T-/3DO">
- <field name="OP">EQ</field>
- <value name="A">
- <block type="get_value" id="V_x:*;.=.[7btwU@rYX1">
- <field name="ATTR">val</field>
- <field name="OID">sonoff.0.sonoff_Treppenlicht_Sensor1.POWER</field>
- </block>
- </value>
- <value name="B">
- <block type="logic_boolean" id="Dlf!ZPX|MO~r+UIdunnG">
- <field name="BOOL">TRUE</field>
- </block>
- </value>
- </block>
- </value>
- <value name="B">
- <block type="logic_compare" id="Xt4Y}p!-_~,xO.75YEm2">
- <field name="OP">EQ</field>
- <value name="A">
- <block type="get_value" id="=Klbh19lc+jLMqE:Y7~J">
- <field name="ATTR">val</field>
- <field name="OID">sonoff.0.sonoff_Treppenlicht_Sensor2.POWER</field>
- </block>
- </value>
- <value name="B">
- <block type="logic_boolean" id="yZSp/*u{cSI_}`D44W,Q">
- <field name="BOOL">TRUE</field>
- </block>
- </value>
- </block>
- </value>
- </block>
- </value>
- <value name="B">
- <block type="logic_compare" id="@WEWIGmx54/s*p.RX}9R">
- <field name="OP">EQ</field>
- <value name="A">
- <block type="get_value" id="ERGsA=E?DeaasSiTSsVB">
- <field name="ATTR">val</field>
- <field name="OID">sonoff.0.sonoff_Treppenlicht1.POWER</field>
- </block>
- </value>
- <value name="B">
- <block type="logic_boolean" id="BhBbpdv),^6^XZ|^3Woj">
- <field name="BOOL">FALSE</field>
- </block>
- </value>
- </block>
- </value>
- </block>
- </value>
- <statement name="DO0">
- <block type="control" id="Gr7sa[#FoRVMp*n}Vs*w">
- <mutation delay_input="false"></mutation>
- <field name="OID">sonoff.0.sonoff_Treppenlicht1.POWER</field>
- <field name="WITH_DELAY">FALSE</field>
- <value name="VALUE">
- <block type="logic_boolean" id="tM1D_I8FtZnZx#m*X[tT">
- <field name="BOOL">TRUE</field>
- </block>
- </value>
- <next>
- <block type="debug" id="w=9Azu8gW+TuV9YNYCFd">
- <field name="Severity">log</field>
- <value name="TEXT">
- <shadow type="text" id="P:qZ`8yHEt`8g)M433J7">
- <field name="TEXT">geschaltet</field>
- </shadow>
- <block type="text" id="U7|?`tPT){*s:UTMK4](">
- <field name="TEXT">Bewegung Treppenhaus erkannt Lampe eingeschaltet</field>
- </block>
- </value>
- </block>
- </next>
- </block>
- </statement>
- <value name="IF1">
- <block type="logic_operation" id="i*v]sjdQ)Z.6+k3g|/!e">
- <field name="OP">AND</field>
- <value name="A">
- <block type="logic_operation" id="`IoY3IE@C={)#3w63!d8">
- <field name="OP">OR</field>
- <value name="A">
- <block type="logic_compare" id="OdvOi`w`mi0]P:MuMM?|">
- <field name="OP">EQ</field>
- <value name="A">
- <block type="get_value" id="RigPFs2~dNO1|/`3y{=W">
- <field name="ATTR">val</field>
- <field name="OID">sonoff.0.sonoff_Treppenlicht_Sensor1.POWER</field>
- </block>
- </value>
- <value name="B">
- <block type="logic_boolean" id="?1hGE@*,KG]Tua9Q3D%+">
- <field name="BOOL">TRUE</field>
- </block>
- </value>
- </block>
- </value>
- <value name="B">
- <block type="logic_compare" id=")#baw@J6MnLO2~Bd1a?t">
- <field name="OP">EQ</field>
- <value name="A">
- <block type="get_value" id="IAN5e;N#DW6gR_|VLV7Q">
- <field name="ATTR">val</field>
- <field name="OID">sonoff.0.sonoff_Treppenlicht_Sensor2.POWER</field>
- </block>
- </value>
- <value name="B">
- <block type="logic_boolean" id="5`Qd6@%(l;b|80x^Yf`i">
- <field name="BOOL">TRUE</field>
- </block>
- </value>
- </block>
- </value>
- </block>
- </value>
- <value name="B">
- <block type="logic_compare" id="ESU]Nkj?#PANmu1^r`@y">
- <field name="OP">EQ</field>
- <value name="A">
- <block type="get_value" id="90n-FJ.Vb2g}jAUrZ^li">
- <field name="ATTR">val</field>
- <field name="OID">sonoff.0.sonoff_Treppenlicht1.POWER</field>
- </block>
- </value>
- <value name="B">
- <block type="logic_boolean" id="q3cwU9kz%zKQF,BHw*Q`">
- <field name="BOOL">TRUE</field>
- </block>
- </value>
- </block>
- </value>
- </block>
- </value>
- <statement name="DO1">
- <block type="timeouts_cleartimeout" id="GbSiSCG-y{J+*)yr1-qm">
- <field name="NAME">timeout</field>
- <next>
- <block type="debug" id="uwi:gPIl}^XI+DR~Ej(U">
- <field name="Severity">log</field>
- <value name="TEXT">
- <shadow type="text" id="P:qZ`8yHEt`8g)M433J7">
- <field name="TEXT">geschaltet</field>
- </shadow>
- <block type="text" id="ik5V^;3feEBA;O~XM}fE">
- <field name="TEXT">Bewegung Treppenhaus, Lampe ist an Auschaltimer neu gestartet</field>
- </block>
- </value>
- </block>
- </next>
- </block>
- </statement>
- <value name="IF2">
- <block type="logic_operation" id="x3vz-[H|fD-IQCWJR0T?">
- <field name="OP">AND</field>
- <value name="A">
- <block type="logic_operation" id="2!d5dYArR9yPJyJLajo!">
- <field name="OP">AND</field>
- <value name="A">
- <block type="logic_compare" id="j{6*APss|*1`U`G==HN@">
- <field name="OP">EQ</field>
- <value name="A">
- <block type="get_value" id="jP`#|eFuJFZ.8Si^GqP.">
- <field name="ATTR">val</field>
- <field name="OID">sonoff.0.sonoff_Treppenlicht_Sensor1.POWER</field>
- </block>
- </value>
- <value name="B">
- <block type="logic_boolean" id="tu2FimNxv~hp`v2ykDdu">
- <field name="BOOL">FALSE</field>
- </block>
- </value>
- </block>
- </value>
- <value name="B">
- <block type="logic_compare" id="Wdy#6^L3mVLD:?vr,C9?">
- <field name="OP">EQ</field>
- <value name="A">
- <block type="get_value" id="tw||M1+9+u6[Y|;*A;Q(">
- <field name="ATTR">val</field>
- <field name="OID">sonoff.0.sonoff_Treppenlicht_Sensor2.POWER</field>
- </block>
- </value>
- <value name="B">
- <block type="logic_boolean" id="{X}1%?`%1^-c!B_UB-@g">
- <field name="BOOL">FALSE</field>
- </block>
- </value>
- </block>
- </value>
- </block>
- </value>
- <value name="B">
- <block type="logic_compare" id="]Km:JyA#]}OGsxFe6f=+">
- <field name="OP">EQ</field>
- <value name="A">
- <block type="get_value" id="U7Ol[JR-JN%{3dDUYMtU">
- <field name="ATTR">val</field>
- <field name="OID">sonoff.0.sonoff_Treppenlicht1.POWER</field>
- </block>
- </value>
- <value name="B">
- <block type="logic_boolean" id="c5,|+2IndqRJHTY;*Wy-">
- <field name="BOOL">TRUE</field>
- </block>
- </value>
- </block>
- </value>
- </block>
- </value>
- <statement name="DO2">
- <block type="timeouts_settimeout" id="I0sUAS/_Kb%ipxBR!}0%">
- <field name="NAME">timeout</field>
- <field name="DELAY">9</field>
- <field name="UNIT">sec</field>
- <statement name="STATEMENT">
- <block type="control" id="uUG(C1wQ%IOnk@8ilY1g">
- <mutation delay_input="false"></mutation>
- <field name="OID">sonoff.0.sonoff_Treppenlicht1.POWER</field>
- <field name="WITH_DELAY">FALSE</field>
- <value name="VALUE">
- <block type="logic_boolean" id="(#0`Y|YSc.|~+Ndn{ybq">
- <field name="BOOL">FALSE</field>
- </block>
- </value>
- </block>
- </statement>
- <next>
- <block type="debug" id="D)dP^UBxesUWq[CDO~%3">
- <field name="Severity">log</field>
- <value name="TEXT">
- <shadow type="text" id="P:qZ`8yHEt`8g)M433J7">
- <field name="TEXT">geschaltet</field>
- </shadow>
- <block type="text" id=";?m|f6q@nq*D}6?1Y7Vk">
- <field name="TEXT">Keine bewegung mehr, lampe schaltet in 5 minuten aus</field>
- </block>
- </value>
- </block>
- </next>
- </block>
- </statement>
- </block>
- </statement>
- </block>
- </xml>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement