Advertisement
Guest User

Untitled

a guest
Dec 19th, 2018
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 11.69 KB | None | 0 0
  1. <xml xmlns="http://www.w3.org/1999/xhtml">
  2.   <block type="on_ext" id="Mv!MT1rvco3XETzCuTGB" x="13" y="13">
  3.     <mutation items="2"></mutation>
  4.     <field name="CONDITION">ne</field>
  5.     <field name="ACK_CONDITION"></field>
  6.     <value name="OID0">
  7.       <shadow type="field_oid" id="ns2?l}nltRiK|jpVC|^F">
  8.         <field name="oid">sonoff.0.sonoff_Treppenlicht_Sensor1.POWER</field>
  9.       </shadow>
  10.     </value>
  11.     <value name="OID1">
  12.       <shadow type="field_oid" id="o#uh,x*8jqj{}#W9U@{{">
  13.         <field name="oid">sonoff.0.sonoff_Treppenlicht_Sensor2.POWER</field>
  14.       </shadow>
  15.     </value>
  16.     <statement name="STATEMENT">
  17.       <block type="controls_if" id="qHht;}xWiBega3|mT1Zv">
  18.         <mutation elseif="2"></mutation>
  19.         <value name="IF0">
  20.           <block type="logic_operation" id="[.lNWTlVaR^MLgFJVFIG">
  21.             <field name="OP">AND</field>
  22.             <value name="A">
  23.               <block type="logic_operation" id="V,_42}n5|48^@=0^x}Cp">
  24.                 <field name="OP">OR</field>
  25.                 <value name="A">
  26.                   <block type="logic_compare" id="UPW4@%R5y*c:R-T-/3DO">
  27.                     <field name="OP">EQ</field>
  28.                     <value name="A">
  29.                       <block type="get_value" id="V_x:*;.=.[7btwU@rYX1">
  30.                         <field name="ATTR">val</field>
  31.                         <field name="OID">sonoff.0.sonoff_Treppenlicht_Sensor1.POWER</field>
  32.                       </block>
  33.                     </value>
  34.                     <value name="B">
  35.                       <block type="logic_boolean" id="Dlf!ZPX|MO~r+UIdunnG">
  36.                         <field name="BOOL">TRUE</field>
  37.                       </block>
  38.                     </value>
  39.                   </block>
  40.                 </value>
  41.                 <value name="B">
  42.                   <block type="logic_compare" id="Xt4Y}p!-_~,xO.75YEm2">
  43.                     <field name="OP">EQ</field>
  44.                     <value name="A">
  45.                       <block type="get_value" id="=Klbh19lc+jLMqE:Y7~J">
  46.                         <field name="ATTR">val</field>
  47.                         <field name="OID">sonoff.0.sonoff_Treppenlicht_Sensor2.POWER</field>
  48.                       </block>
  49.                     </value>
  50.                     <value name="B">
  51.                       <block type="logic_boolean" id="yZSp/*u{cSI_}`D44W,Q">
  52.                         <field name="BOOL">TRUE</field>
  53.                       </block>
  54.                     </value>
  55.                   </block>
  56.                 </value>
  57.               </block>
  58.             </value>
  59.             <value name="B">
  60.               <block type="logic_compare" id="@WEWIGmx54/s*p.RX}9R">
  61.                 <field name="OP">EQ</field>
  62.                 <value name="A">
  63.                   <block type="get_value" id="ERGsA=E?DeaasSiTSsVB">
  64.                     <field name="ATTR">val</field>
  65.                     <field name="OID">sonoff.0.sonoff_Treppenlicht1.POWER</field>
  66.                   </block>
  67.                 </value>
  68.                 <value name="B">
  69.                   <block type="logic_boolean" id="BhBbpdv),^6^XZ|^3Woj">
  70.                     <field name="BOOL">FALSE</field>
  71.                   </block>
  72.                 </value>
  73.               </block>
  74.             </value>
  75.           </block>
  76.         </value>
  77.         <statement name="DO0">
  78.           <block type="control" id="Gr7sa[#FoRVMp*n}Vs*w">
  79.             <mutation delay_input="false"></mutation>
  80.             <field name="OID">sonoff.0.sonoff_Treppenlicht1.POWER</field>
  81.             <field name="WITH_DELAY">FALSE</field>
  82.             <value name="VALUE">
  83.               <block type="logic_boolean" id="tM1D_I8FtZnZx#m*X[tT">
  84.                 <field name="BOOL">TRUE</field>
  85.               </block>
  86.             </value>
  87.             <next>
  88.               <block type="debug" id="w=9Azu8gW+TuV9YNYCFd">
  89.                 <field name="Severity">log</field>
  90.                 <value name="TEXT">
  91.                   <shadow type="text" id="P:qZ`8yHEt`8g)M433J7">
  92.                     <field name="TEXT">geschaltet</field>
  93.                   </shadow>
  94.                   <block type="text" id="U7|?`tPT){*s:UTMK4](">
  95.                     <field name="TEXT">Bewegung Treppenhaus erkannt Lampe eingeschaltet</field>
  96.                   </block>
  97.                 </value>
  98.               </block>
  99.             </next>
  100.           </block>
  101.         </statement>
  102.         <value name="IF1">
  103.           <block type="logic_operation" id="i*v]sjdQ)Z.6+k3g|/!e">
  104.             <field name="OP">AND</field>
  105.             <value name="A">
  106.               <block type="logic_operation" id="`IoY3IE@C={)#3w63!d8">
  107.                 <field name="OP">OR</field>
  108.                 <value name="A">
  109.                   <block type="logic_compare" id="OdvOi`w`mi0]P:MuMM?|">
  110.                     <field name="OP">EQ</field>
  111.                     <value name="A">
  112.                       <block type="get_value" id="RigPFs2~dNO1|/`3y{=W">
  113.                         <field name="ATTR">val</field>
  114.                         <field name="OID">sonoff.0.sonoff_Treppenlicht_Sensor1.POWER</field>
  115.                       </block>
  116.                     </value>
  117.                     <value name="B">
  118.                       <block type="logic_boolean" id="?1hGE@*,KG]Tua9Q3D%+">
  119.                         <field name="BOOL">TRUE</field>
  120.                       </block>
  121.                     </value>
  122.                   </block>
  123.                 </value>
  124.                 <value name="B">
  125.                   <block type="logic_compare" id=")#baw@J6MnLO2~Bd1a?t">
  126.                     <field name="OP">EQ</field>
  127.                     <value name="A">
  128.                       <block type="get_value" id="IAN5e;N#DW6gR_|VLV7Q">
  129.                         <field name="ATTR">val</field>
  130.                         <field name="OID">sonoff.0.sonoff_Treppenlicht_Sensor2.POWER</field>
  131.                       </block>
  132.                     </value>
  133.                     <value name="B">
  134.                       <block type="logic_boolean" id="5`Qd6@%(l;b|80x^Yf`i">
  135.                         <field name="BOOL">TRUE</field>
  136.                       </block>
  137.                     </value>
  138.                   </block>
  139.                 </value>
  140.               </block>
  141.             </value>
  142.             <value name="B">
  143.               <block type="logic_compare" id="ESU]Nkj?#PANmu1^r`@y">
  144.                 <field name="OP">EQ</field>
  145.                 <value name="A">
  146.                   <block type="get_value" id="90n-FJ.Vb2g}jAUrZ^li">
  147.                     <field name="ATTR">val</field>
  148.                     <field name="OID">sonoff.0.sonoff_Treppenlicht1.POWER</field>
  149.                   </block>
  150.                 </value>
  151.                 <value name="B">
  152.                   <block type="logic_boolean" id="q3cwU9kz%zKQF,BHw*Q`">
  153.                     <field name="BOOL">TRUE</field>
  154.                   </block>
  155.                 </value>
  156.               </block>
  157.             </value>
  158.           </block>
  159.         </value>
  160.         <statement name="DO1">
  161.           <block type="timeouts_cleartimeout" id="GbSiSCG-y{J+*)yr1-qm">
  162.             <field name="NAME">timeout</field>
  163.             <next>
  164.               <block type="debug" id="uwi:gPIl}^XI+DR~Ej(U">
  165.                 <field name="Severity">log</field>
  166.                 <value name="TEXT">
  167.                   <shadow type="text" id="P:qZ`8yHEt`8g)M433J7">
  168.                     <field name="TEXT">geschaltet</field>
  169.                   </shadow>
  170.                   <block type="text" id="ik5V^;3feEBA;O~XM}fE">
  171.                     <field name="TEXT">Bewegung Treppenhaus, Lampe ist an Auschaltimer neu gestartet</field>
  172.                   </block>
  173.                 </value>
  174.               </block>
  175.             </next>
  176.           </block>
  177.         </statement>
  178.         <value name="IF2">
  179.           <block type="logic_operation" id="x3vz-[H|fD-IQCWJR0T?">
  180.             <field name="OP">AND</field>
  181.             <value name="A">
  182.               <block type="logic_operation" id="2!d5dYArR9yPJyJLajo!">
  183.                 <field name="OP">AND</field>
  184.                 <value name="A">
  185.                   <block type="logic_compare" id="j{6*APss|*1`U`G==HN@">
  186.                     <field name="OP">EQ</field>
  187.                     <value name="A">
  188.                       <block type="get_value" id="jP`#|eFuJFZ.8Si^GqP.">
  189.                         <field name="ATTR">val</field>
  190.                         <field name="OID">sonoff.0.sonoff_Treppenlicht_Sensor1.POWER</field>
  191.                       </block>
  192.                     </value>
  193.                     <value name="B">
  194.                       <block type="logic_boolean" id="tu2FimNxv~hp`v2ykDdu">
  195.                         <field name="BOOL">FALSE</field>
  196.                       </block>
  197.                     </value>
  198.                   </block>
  199.                 </value>
  200.                 <value name="B">
  201.                   <block type="logic_compare" id="Wdy#6^L3mVLD:?vr,C9?">
  202.                     <field name="OP">EQ</field>
  203.                     <value name="A">
  204.                       <block type="get_value" id="tw||M1+9+u6[Y|;*A;Q(">
  205.                         <field name="ATTR">val</field>
  206.                         <field name="OID">sonoff.0.sonoff_Treppenlicht_Sensor2.POWER</field>
  207.                       </block>
  208.                     </value>
  209.                     <value name="B">
  210.                       <block type="logic_boolean" id="{X}1%?`%1^-c!B_UB-@g">
  211.                         <field name="BOOL">FALSE</field>
  212.                       </block>
  213.                     </value>
  214.                   </block>
  215.                 </value>
  216.               </block>
  217.             </value>
  218.             <value name="B">
  219.               <block type="logic_compare" id="]Km:JyA#]}OGsxFe6f=+">
  220.                 <field name="OP">EQ</field>
  221.                 <value name="A">
  222.                   <block type="get_value" id="U7Ol[JR-JN%{3dDUYMtU">
  223.                     <field name="ATTR">val</field>
  224.                     <field name="OID">sonoff.0.sonoff_Treppenlicht1.POWER</field>
  225.                   </block>
  226.                 </value>
  227.                 <value name="B">
  228.                   <block type="logic_boolean" id="c5,|+2IndqRJHTY;*Wy-">
  229.                     <field name="BOOL">TRUE</field>
  230.                   </block>
  231.                 </value>
  232.               </block>
  233.             </value>
  234.           </block>
  235.         </value>
  236.         <statement name="DO2">
  237.           <block type="timeouts_settimeout" id="I0sUAS/_Kb%ipxBR!}0%">
  238.             <field name="NAME">timeout</field>
  239.             <field name="DELAY">9</field>
  240.             <field name="UNIT">sec</field>
  241.             <statement name="STATEMENT">
  242.               <block type="control" id="uUG(C1wQ%IOnk@8ilY1g">
  243.                 <mutation delay_input="false"></mutation>
  244.                 <field name="OID">sonoff.0.sonoff_Treppenlicht1.POWER</field>
  245.                 <field name="WITH_DELAY">FALSE</field>
  246.                 <value name="VALUE">
  247.                   <block type="logic_boolean" id="(#0`Y|YSc.|~+Ndn{ybq">
  248.                     <field name="BOOL">FALSE</field>
  249.                   </block>
  250.                 </value>
  251.               </block>
  252.             </statement>
  253.             <next>
  254.               <block type="debug" id="D)dP^UBxesUWq[CDO~%3">
  255.                 <field name="Severity">log</field>
  256.                 <value name="TEXT">
  257.                   <shadow type="text" id="P:qZ`8yHEt`8g)M433J7">
  258.                     <field name="TEXT">geschaltet</field>
  259.                   </shadow>
  260.                   <block type="text" id=";?m|f6q@nq*D}6?1Y7Vk">
  261.                     <field name="TEXT">Keine bewegung mehr, lampe schaltet in 5 minuten aus</field>
  262.                   </block>
  263.                 </value>
  264.               </block>
  265.             </next>
  266.           </block>
  267.         </statement>
  268.       </block>
  269.     </statement>
  270.   </block>
  271. </xml>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement