<xml xmlns="https://developers.google.com/blockly/xml">
  <variables>
    <variable type="timeout" id="ausR01">ausR01</variable>
    <variable type="timeout" id="ausR02">ausR02</variable>
    <variable type="timeout" id="ausR03">ausR03</variable>
    <variable type="timeout" id="ausR04">ausR04</variable>
    <variable type="timeout" id="ausR06">ausR06</variable>
    <variable type="timeout" id="ausR05">ausR05</variable>
  </variables>
  <block type="on_ext" id="y}Kc3W^B*2?KTY#KpQFI" x="-712" y="-387">
    <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="{kg/Do*%JfNej0RatQ[,">
        <field name="oid">0_userdata.0.SmartDEN_MQTT16R.Relay.R01</field>
      </shadow>
    </value>
    <statement name="STATEMENT">
      <block type="timeouts_cleartimeout" id="5ucnpgJb`7L-7q5J-gap">
        <field name="NAME">ausR01</field>
        <next>
          <block type="controls_if" id="Wx({?XrTE{~+l6xh#pps">
            <mutation else="1"></mutation>
            <value name="IF0">
              <block type="logic_compare" id="-IM+l:pr,eIjE78IF(=|">
                <field name="OP">EQ</field>
                <value name="A">
                  <block type="get_value" id="OD{7),eFb9WOych*1NsR">
                    <field name="ATTR">val</field>
                    <field name="OID">0_userdata.0.SmartDEN_MQTT16R.Relay.R01</field>
                  </block>
                </value>
                <value name="B">
                  <block type="logic_boolean" id="$;XZt;1Ezz`l8EYB`4.}">
                    <field name="BOOL">TRUE</field>
                  </block>
                </value>
              </block>
            </value>
            <statement name="DO0">
              <block type="request" id="q2~Wx),c#L%tX}*;((~^">
                <mutation xmlns="http://www.w3.org/1999/xhtml" with_statement="false"></mutation>
                <field name="WITH_STATEMENT">FALSE</field>
                <field name="LOG"></field>
                <value name="URL">
                  <shadow type="text" id="nt{mySrkb/^b#[1`?C2c">
                    <field name="TEXT">http://192.168.10.240/current_state.xml?pw=&amp;Relay1=1</field>
                  </shadow>
                </value>
                <next>
                  <block type="timeouts_settimeout" id="-XLQLeOCgnUeqhxt8T41">
                    <field name="NAME">ausR01</field>
                    <field name="DELAY">5</field>
                    <field name="UNIT">min</field>
                    <statement name="STATEMENT">
                      <block type="control" id="O7XTQe[~Y|RMTFPySwMr">
                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                        <field name="OID">0_userdata.0.SmartDEN_MQTT16R.Relay.R01</field>
                        <field name="WITH_DELAY">FALSE</field>
                        <value name="VALUE">
                          <block type="logic_boolean" id="5YTDd`Z6M?#;s,K2JVbU">
                            <field name="BOOL">FALSE</field>
                          </block>
                        </value>
                      </block>
                    </statement>
                  </block>
                </next>
              </block>
            </statement>
            <statement name="ELSE">
              <block type="request" id="@uma#8lAg[18/6KO*ldl">
                <mutation xmlns="http://www.w3.org/1999/xhtml" with_statement="false"></mutation>
                <field name="WITH_STATEMENT">FALSE</field>
                <field name="LOG"></field>
                <value name="URL">
                  <shadow type="text" id="?_5|S4BDK^61Jr%]@e}Z">
                    <field name="TEXT">http://192.168.10.240/current_state.xml?pw=&amp;Relay1=0</field>
                  </shadow>
                </value>
              </block>
            </statement>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="on_ext" id="lw0Z;]Ivh4-a@cml9Nb7" x="63" y="-387">
    <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="-mbk|VuI-!np/-s+0dz3">
        <field name="oid">0_userdata.0.SmartDEN_MQTT16R.Relay.R02</field>
      </shadow>
    </value>
    <statement name="STATEMENT">
      <block type="timeouts_cleartimeout" id="gR5R):;rpz,bE[wvJ(9J">
        <field name="NAME">ausR02</field>
        <next>
          <block type="controls_if" id="k.GF%UB?$Bb;ln-r0;%j">
            <mutation else="1"></mutation>
            <value name="IF0">
              <block type="logic_compare" id="L*^IxER7Ro[cq^+et#x3">
                <field name="OP">EQ</field>
                <value name="A">
                  <block type="get_value" id="0q-09$.Is0XL[.{?lEYv">
                    <field name="ATTR">val</field>
                    <field name="OID">0_userdata.0.SmartDEN_MQTT16R.Relay.R02</field>
                  </block>
                </value>
                <value name="B">
                  <block type="logic_boolean" id="N_?$25.gUvGY;0=dkDtB">
                    <field name="BOOL">TRUE</field>
                  </block>
                </value>
              </block>
            </value>
            <statement name="DO0">
              <block type="request" id="YDZMl.RM0$iA:HZ]S*fQ">
                <mutation xmlns="http://www.w3.org/1999/xhtml" with_statement="false"></mutation>
                <field name="WITH_STATEMENT">FALSE</field>
                <field name="LOG"></field>
                <value name="URL">
                  <shadow type="text" id="3xlkbrjGK$f5a7=GKYT.">
                    <field name="TEXT">http://192.168.10.240/current_state.xml?pw=&amp;Relay2=1</field>
                  </shadow>
                </value>
                <next>
                  <block type="timeouts_settimeout" id="-/b%Pac1NYQt?0=o%(sr">
                    <field name="NAME">ausR02</field>
                    <field name="DELAY">10</field>
                    <field name="UNIT">min</field>
                    <statement name="STATEMENT">
                      <block type="control" id="u5+712]D`x*?-YJT/oWM">
                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                        <field name="OID">0_userdata.0.SmartDEN_MQTT16R.Relay.R02</field>
                        <field name="WITH_DELAY">FALSE</field>
                        <value name="VALUE">
                          <block type="logic_boolean" id="3EL^$Vd:6}8~LxOVfeBJ">
                            <field name="BOOL">FALSE</field>
                          </block>
                        </value>
                      </block>
                    </statement>
                  </block>
                </next>
              </block>
            </statement>
            <statement name="ELSE">
              <block type="request" id="q*66Q5}S((mRxMnC2K3=">
                <mutation xmlns="http://www.w3.org/1999/xhtml" with_statement="false"></mutation>
                <field name="WITH_STATEMENT">FALSE</field>
                <field name="LOG"></field>
                <value name="URL">
                  <shadow type="text" id=";Z#eF@Z~}+}gib=]R/;z">
                    <field name="TEXT">http://192.168.10.240/current_state.xml?pw=&amp;Relay2=0</field>
                  </shadow>
                </value>
              </block>
            </statement>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="on_ext" id="]SrHyc7xRrrXgGo-{a0Q" x="-712" y="163">
    <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="sPuo8p1:6!q=x@IYa|VL">
        <field name="oid">0_userdata.0.SmartDEN_MQTT16R.Relay.R03</field>
      </shadow>
    </value>
    <statement name="STATEMENT">
      <block type="timeouts_cleartimeout" id="64aZ}KX4/$t$+yB[$WY`">
        <field name="NAME">ausR03</field>
        <next>
          <block type="controls_if" id="/]$qjS6xV/`FeK*t@.Kx">
            <mutation else="1"></mutation>
            <value name="IF0">
              <block type="logic_compare" id="*:N]YxC(+*~d^E6I4r:k">
                <field name="OP">EQ</field>
                <value name="A">
                  <block type="get_value" id="[SsCZf^f]MxYo#rV?9o$">
                    <field name="ATTR">val</field>
                    <field name="OID">0_userdata.0.SmartDEN_MQTT16R.Relay.R03</field>
                  </block>
                </value>
                <value name="B">
                  <block type="logic_boolean" id="VTNt!HevWk2V}5c*3TMM">
                    <field name="BOOL">TRUE</field>
                  </block>
                </value>
              </block>
            </value>
            <statement name="DO0">
              <block type="request" id="3Qe5..pF,rwIjv?#c:aL">
                <mutation xmlns="http://www.w3.org/1999/xhtml" with_statement="false"></mutation>
                <field name="WITH_STATEMENT">FALSE</field>
                <field name="LOG"></field>
                <value name="URL">
                  <shadow type="text" id="QQRlt?Dl[0xwt0Pe=3ka">
                    <field name="TEXT">http://192.168.10.240/current_state.xml?pw=&amp;Relay3=1</field>
                  </shadow>
                </value>
                <next>
                  <block type="timeouts_settimeout" id="4^b94`)9D)u8YCa!CXj6">
                    <field name="NAME">ausR03</field>
                    <field name="DELAY">10</field>
                    <field name="UNIT">min</field>
                    <statement name="STATEMENT">
                      <block type="control" id="%-j*d1FFXHpdbXI,^$fe">
                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                        <field name="OID">0_userdata.0.SmartDEN_MQTT16R.Relay.R03</field>
                        <field name="WITH_DELAY">FALSE</field>
                        <value name="VALUE">
                          <block type="logic_boolean" id="GE]B|e|fbnM~Q*8IY#K(">
                            <field name="BOOL">FALSE</field>
                          </block>
                        </value>
                      </block>
                    </statement>
                  </block>
                </next>
              </block>
            </statement>
            <statement name="ELSE">
              <block type="request" id="MN~(MR/REGGSH`Kp$22g">
                <mutation xmlns="http://www.w3.org/1999/xhtml" with_statement="false"></mutation>
                <field name="WITH_STATEMENT">FALSE</field>
                <field name="LOG"></field>
                <value name="URL">
                  <shadow type="text" id="S+JD44[{+oZ#_XaCno!W">
                    <field name="TEXT">http://192.168.10.240/current_state.xml?pw=&amp;Relay3=0</field>
                  </shadow>
                </value>
              </block>
            </statement>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="on_ext" id="O+FVNwM2t!B]l{=9h1q/" x="63" y="138">
    <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="X163|3+XJahkUBxsOEho">
        <field name="oid">0_userdata.0.SmartDEN_MQTT16R.Relay.R04</field>
      </shadow>
    </value>
    <statement name="STATEMENT">
      <block type="timeouts_cleartimeout" id=",9{KspxdW0Vls*2Av{v5">
        <field name="NAME">ausR04</field>
        <next>
          <block type="controls_if" id="^~2OU[QCtM5hs+NXqR)T">
            <mutation else="1"></mutation>
            <value name="IF0">
              <block type="logic_compare" id="yG3U|/_wiLnC+aX%}!sz">
                <field name="OP">EQ</field>
                <value name="A">
                  <block type="get_value" id="e/_RXPXX^xj2Z*d%}lBM">
                    <field name="ATTR">val</field>
                    <field name="OID">0_userdata.0.SmartDEN_MQTT16R.Relay.R04</field>
                  </block>
                </value>
                <value name="B">
                  <block type="logic_boolean" id="PPQA#(@%;E9oDpM5ZOUG">
                    <field name="BOOL">TRUE</field>
                  </block>
                </value>
              </block>
            </value>
            <statement name="DO0">
              <block type="request" id="1Zil!:ci|8{D_G~U$V{C">
                <mutation xmlns="http://www.w3.org/1999/xhtml" with_statement="false"></mutation>
                <field name="WITH_STATEMENT">FALSE</field>
                <field name="LOG"></field>
                <value name="URL">
                  <shadow type="text" id="?Jk%@-4hbg7VIB]H94cz">
                    <field name="TEXT">http://192.168.10.240/current_state.xml?pw=&amp;Relay4=1</field>
                  </shadow>
                </value>
                <next>
                  <block type="timeouts_settimeout" id="#5xl)^#C8{c!T[2jicue">
                    <field name="NAME">ausR04</field>
                    <field name="DELAY">10</field>
                    <field name="UNIT">min</field>
                    <statement name="STATEMENT">
                      <block type="control" id="YMu[j-^[yeV@K`0|QM)s">
                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                        <field name="OID">0_userdata.0.SmartDEN_MQTT16R.Relay.R04</field>
                        <field name="WITH_DELAY">FALSE</field>
                        <value name="VALUE">
                          <block type="logic_boolean" id="GRCfm58wGpFWl;^@MAb?">
                            <field name="BOOL">FALSE</field>
                          </block>
                        </value>
                      </block>
                    </statement>
                  </block>
                </next>
              </block>
            </statement>
            <statement name="ELSE">
              <block type="request" id="vADb#Oh91p}GZc]!OI.S">
                <mutation xmlns="http://www.w3.org/1999/xhtml" with_statement="false"></mutation>
                <field name="WITH_STATEMENT">FALSE</field>
                <field name="LOG"></field>
                <value name="URL">
                  <shadow type="text" id=":b?bS52y?v4^^jG}i3C(">
                    <field name="TEXT">http://192.168.10.240/current_state.xml?pw=&amp;Relay4=0</field>
                  </shadow>
                </value>
              </block>
            </statement>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="on_ext" id="B/SBnz927v7eg;L!+fi2" x="88" y="663">
    <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="ar#A@ohesF@$lekI/4?E">
        <field name="oid">0_userdata.0.SmartDEN_MQTT16R.Relay.R06</field>
      </shadow>
    </value>
    <statement name="STATEMENT">
      <block type="timeouts_cleartimeout" id="x0]#b1!Citf.lZD8}dz+">
        <field name="NAME">ausR06</field>
        <next>
          <block type="controls_if" id="n4IK^$3%*mqo{nfR=Qz@">
            <mutation else="1"></mutation>
            <value name="IF0">
              <block type="logic_compare" id="-[hZ8aoGbui]6$O{zySn">
                <field name="OP">EQ</field>
                <value name="A">
                  <block type="get_value" id="f?DDUh]Tpxh8r2A.WK_S">
                    <field name="ATTR">val</field>
                    <field name="OID">0_userdata.0.SmartDEN_MQTT16R.Relay.R06</field>
                  </block>
                </value>
                <value name="B">
                  <block type="logic_boolean" id="a;o#$T$J{2?_DSE]`Q3b">
                    <field name="BOOL">TRUE</field>
                  </block>
                </value>
              </block>
            </value>
            <statement name="DO0">
              <block type="request" id="Y0D1lhH:~sv|i|B}1n_7">
                <mutation xmlns="http://www.w3.org/1999/xhtml" with_statement="false"></mutation>
                <field name="WITH_STATEMENT">FALSE</field>
                <field name="LOG"></field>
                <value name="URL">
                  <shadow type="text" id="cWO+VQ6:am!M2x~~v^Gn">
                    <field name="TEXT">http://192.168.10.240/current_state.xml?pw=&amp;Relay6=1</field>
                  </shadow>
                </value>
                <next>
                  <block type="timeouts_settimeout" id="D.cexIm}g;1J5r|m?!de">
                    <field name="NAME">ausR06</field>
                    <field name="DELAY">5</field>
                    <field name="UNIT">min</field>
                    <statement name="STATEMENT">
                      <block type="control" id="WRcb)bFPGS^#g2veq0a8">
                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                        <field name="OID">0_userdata.0.SmartDEN_MQTT16R.Relay.R06</field>
                        <field name="WITH_DELAY">FALSE</field>
                        <value name="VALUE">
                          <block type="logic_boolean" id="8/rmzXVnn~ac|Yor%6}(">
                            <field name="BOOL">FALSE</field>
                          </block>
                        </value>
                      </block>
                    </statement>
                  </block>
                </next>
              </block>
            </statement>
            <statement name="ELSE">
              <block type="request" id="$*O*e+:C[wY(bJ6b9[:}">
                <mutation xmlns="http://www.w3.org/1999/xhtml" with_statement="false"></mutation>
                <field name="WITH_STATEMENT">FALSE</field>
                <field name="LOG"></field>
                <value name="URL">
                  <shadow type="text" id="4q5YH[g-51aM.y:E*hhA">
                    <field name="TEXT">http://192.168.10.240/current_state.xml?pw=&amp;Relay6=0</field>
                  </shadow>
                </value>
              </block>
            </statement>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="on_ext" id="eFqn!)_StqdO_JSUBCJv" x="-712" y="713">
    <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="yzJ+~9s@*N-P7mlURxfV">
        <field name="oid">0_userdata.0.SmartDEN_MQTT16R.Relay.R05</field>
      </shadow>
    </value>
    <statement name="STATEMENT">
      <block type="timeouts_cleartimeout" id="2zFV_ubJ%3.VG29w[I}^">
        <field name="NAME">ausR05</field>
        <next>
          <block type="controls_if" id="E;E!!^T[Nz45N6uxOhEU">
            <mutation else="1"></mutation>
            <value name="IF0">
              <block type="logic_compare" id="Ut_G^`A,(V*[)~`rc,^.">
                <field name="OP">EQ</field>
                <value name="A">
                  <block type="get_value" id="V-B]~8Y80wyjFT(gz*{n">
                    <field name="ATTR">val</field>
                    <field name="OID">0_userdata.0.SmartDEN_MQTT16R.Relay.R05</field>
                  </block>
                </value>
                <value name="B">
                  <block type="logic_boolean" id="%0/loBd8}VIH[yZZBg#p">
                    <field name="BOOL">TRUE</field>
                  </block>
                </value>
              </block>
            </value>
            <statement name="DO0">
              <block type="request" id="L:y0g2ohI^Byq}9ZmLrg">
                <mutation xmlns="http://www.w3.org/1999/xhtml" with_statement="false"></mutation>
                <field name="WITH_STATEMENT">FALSE</field>
                <field name="LOG"></field>
                <value name="URL">
                  <shadow type="text" id="-gycBX|TXWWzh$WZH.h=">
                    <field name="TEXT">http://192.168.10.240/current_state.xml?pw=&amp;Relay5=1</field>
                  </shadow>
                </value>
                <next>
                  <block type="timeouts_settimeout" id="Sx:f*,HqSu8Gq*HT:jb[">
                    <field name="NAME">ausR05</field>
                    <field name="DELAY">5</field>
                    <field name="UNIT">min</field>
                    <statement name="STATEMENT">
                      <block type="control" id="$zF%)a/`m)e(VkX$k_7*">
                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                        <field name="OID">0_userdata.0.SmartDEN_MQTT16R.Relay.R05</field>
                        <field name="WITH_DELAY">FALSE</field>
                        <value name="VALUE">
                          <block type="logic_boolean" id="N./{X89:S~o(!0yXZ[mQ">
                            <field name="BOOL">FALSE</field>
                          </block>
                        </value>
                      </block>
                    </statement>
                  </block>
                </next>
              </block>
            </statement>
            <statement name="ELSE">
              <block type="request" id="s6qqu-bm7]@r}Lm-O:|c">
                <mutation xmlns="http://www.w3.org/1999/xhtml" with_statement="false"></mutation>
                <field name="WITH_STATEMENT">FALSE</field>
                <field name="LOG"></field>
                <value name="URL">
                  <shadow type="text" id="=Smuqztzn@FS.6V=CpC=">
                    <field name="TEXT">http://192.168.10.240/current_state.xml?pw=&amp;Relay5=0</field>
                  </shadow>
                </value>
              </block>
            </statement>
          </block>
        </next>
      </block>
    </statement>
  </block>
</xml>
