<xml xmlns="https://developers.google.com/blockly/xml">
 <variables>
   <variable id="]%[Pv~2OU1w5nijZ:/I">Anwesenheit</variable>
   <variable type="timeout" id="timeout">timeout</variable>
 </variables>
 <block type="variables_set" id="Ufc^7Tg^$.Yj/r*[lVuk" x="13" y="13">
   <field name="VAR" id="]%[Pv~2OU1w5nijZ:/I">Anwesenheit</field>
   <value name="VALUE">
     <block type="logic_boolean" id="roJ~Uigo|5*+ahNK,_">
       <field name="BOOL">TRUE</field>
     </block>
   </value>
   <next>
     <block type="on" id="ogPjCIwOw.8o=@RUnwT">
       <field name="OID">ble.0.f2:55:92:c3:13:0d.rssi</field>
       <field name="CONDITION">ne</field>
       <field name="ACK_CONDITION"></field>
       <statement name="STATEMENT">
         <block type="controls_if" id="snNGA}vmf{sH}zRjpUJ3">
           <mutation elseif="1"></mutation>
           <value name="IF0">
             <block type="logic_compare" id="6?|Hp=l-94A_]OSZ^I.Z">
               <field name="OP">GT</field>
               <value name="A">
                 <block type="on_source" id="aycQRX!J/=_[(d]8}ZYN">
                   <field name="ATTR">state.val</field>
                 </block>
               </value>
               <value name="B">
                 <block type="math_number" id="I1V/qF/%}B2C[/sH)/J{">
                   <field name="NUM">-60</field>
                 </block>
               </value>
             </block>
           </value>
           <statement name="DO0">
             <block type="timeouts_cleartimeout" id="S/QlljbFlTqk6PBofij?">
               <field name="NAME">timeout</field>
               <next>
                 <block type="controls_if" id="y[yC:Mo#:lD~(wpQcQ7H">
                   <value name="IF0">
                     <block type="logic_negate" id="6$!vu^C9Go:bUd#Y3S)">
                       <value name="BOOL">
                         <block type="variables_get" id="g.8[?4eQ3{4YuqN=Lk">
                           <field name="VAR" id="]%[Pv~2OU1w5nijZ:/I">Anwesenheit</field>
                         </block>
                       </value>
                     </block>
                   </value>
                   <statement name="DO0">
                     <block type="variables_set" id="}o4z!3h9I$i+{7RMB5q">
                       <field name="VAR" id="]%[Pv~2OU1w5nijZ:/I">Anwesenheit</field>
                       <value name="VALUE">
                         <block type="logic_boolean" id="Lj/{P=rbVmWU.wHFMkEg">
                           <field name="BOOL">TRUE</field>
                         </block>
                       </value>
                       <next>
                         <block type="control" id="}W*WRq1:Pr-w2F^Btcr}">
                           <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                           <field name="OID">0_userdata.0.Diverse.Test.Anwesenheit-MiBand</field>
                           <field name="WITH_DELAY">FALSE</field>
                           <value name="VALUE">
                             <block type="logic_boolean" id="Y?PT1pL8~gzwAJHhQ!Z">
                               <field name="BOOL">TRUE</field>
                             </block>
                           </value>
                           <next>
                             <block type="debug" id="%rfT]WDUYS7Vmwi}SMp">
                               <field name="Severity">log</field>
                               <value name="TEXT">
                                 <shadow type="text" id="ra;wNRDryR%^{05VA^,E">
                                   <field name="TEXT">Bin zu Hause. Mi Band</field>
                                 </shadow>
                               </value>
                             </block>
                           </next>
                         </block>
                       </next>
                     </block>
                   </statement>
                 </block>
               </next>
             </block>
           </statement>
           <value name="IF1">
             <block type="logic_compare" id="tVHsGQ;~Pi=;/da0-h/)">
               <field name="OP">GT</field>
               <value name="A">
                 <block type="on_source" id="$zYu3;@4iZPL#yI+ia$%">
                   <field name="ATTR">oldState.val</field>
                 </block>
               </value>
               <value name="B">
                 <block type="math_number" id="kLBF!%+a7Umfs*,iHrRJ">
                   <field name="NUM">-60</field>
                 </block>
               </value>
             </block>
           </value>
           <statement name="DO1">
             <block type="timeouts_settimeout" id="ZaZMXpJ6h^]D{}~YZl;">
               <field name="NAME">timeout</field>
               <field name="DELAY">30</field>
               <field name="UNIT">sec</field>
               <statement name="STATEMENT">
                 <block type="controls_if" id="2tr1HC@()p9?Ux]9}4,9">
                   <value name="IF0">
                     <block type="variables_get" id="0N:y0M5h8K]HZE6Wp81.">
                       <field name="VAR" id="]%[Pv~2OU1w5nijZ:/I">Anwesenheit</field>
                     </block>
                   </value>
                   <statement name="DO0">
                     <block type="variables_set" id=",Qcig],)rM(g@[CbA4xG">
                       <field name="VAR" id="]%[Pv~2OU1w5nijZ:/I">Anwesenheit</field>
                       <value name="VALUE">
                         <block type="logic_boolean" id="W!_OqMp3t,q$/xO%?[R">
                           <field name="BOOL">FALSE</field>
                         </block>
                       </value>
                       <next>
                         <block type="control" id="QLOH$5Pzb}?zyph2juv4">
                           <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                           <field name="OID">0_userdata.0.Diverse.Test.Anwesenheit-MiBand</field>
                           <field name="WITH_DELAY">FALSE</field>
                           <value name="VALUE">
                             <block type="logic_boolean" id="ZpCO,,vd8++-OYh@Zh1y">
                               <field name="BOOL">FALSE</field>
                             </block>
                           </value>
                           <next>
                             <block type="debug" id=".C(S$pWa+l-3n+r7WE.;">
                               <field name="Severity">log</field>
                               <value name="TEXT">
                                 <shadow type="text" id=",%f6+ikK)G-ztOiQ-YP">
                                   <field name="TEXT">Bin dann mal weg. Mi Band</field>
                                 </shadow>
                               </value>
                             </block>
                           </next>
                         </block>
                       </next>
                     </block>
                   </statement>
                 </block>
               </statement>
             </block>
           </statement>
         </block>
       </statement>
     </block>
   </next>
 </block>
</xml>