<xml xmlns="https://developers.google.com/blockly/xml">
  <variables>
    <variable id="e9(fxo8**Yp6/Z-s]Q!D">mowIntervall</variable>
    <variable id="@HmN|qwYuow7Mj|RJ!EW">mowEarlistHourToStart</variable>
    <variable id="D/}S^lSI[ldyj8k(Ge0d">mowerId</variable>
    <variable id="q6=SPzZSjD;I-X)RxGZV">checkForecastHours</variable>
    <variable id="3@I?m`.?F2,JqHu,e6LE">mow</variable>
    <variable id=":sC:ijq%=+33hqu[;_)J">maxHumidityToMow</variable>
    <variable id="tbWwGLTD2E1dmgbvXEWI">mowLatestHourToStart</variable>
    <variable id="%L*A:[x;_6PyynK3g?X;">minBatteryLevel</variable>
    <variable id="^:m=N6R2;C;[jhlqgwQ{">currentHourCheck</variable>
    <variable id="xdX,xQK^2ERgAmDUwYs1">rainHourXForecast</variable>
  </variables>
  <block type="create_ex" id="create_last_mow_state" x="101" y="73">
    <field name="NAME">0_userdata.0.maehroboter.lastZoneMow</field>
    <field name="TYPE">number</field>
    <field name="READABLE">TRUE</field>
    <field name="WRITEABLE">TRUE</field>
    <value name="VALUE">
      <block type="math_number" id="last_mow_default">
        <field name="NUM">0</field>
      </block>
    </value>
    <next>
      <block type="create_ex" id="create_last_rain_state">
        <field name="NAME">0_userdata.0.maehroboter.lastRain</field>
        <field name="TYPE">number</field>
        <field name="READABLE">TRUE</field>
        <field name="WRITEABLE">TRUE</field>
        <value name="VALUE">
          <block type="math_number" id="last_rain_default">
            <field name="NUM">0</field>
          </block>
        </value>
        <next>
          <block type="create_ex" id="create_last_mow_attempt_state">
            <field name="NAME">0_userdata.0.maehroboter.lastZoneMowAttempt</field>
            <field name="TYPE">number</field>
            <field name="READABLE">TRUE</field>
            <field name="WRITEABLE">TRUE</field>
            <value name="VALUE">
              <block type="math_number" id="last_mow_attempt_default">
                <field name="NUM">0</field>
              </block>
            </value>
            <next>
              <block type="create_ex" id="create_mower_status_state">
                <field name="NAME">0_userdata.0.maehroboter.status</field>
                <field name="TYPE">string</field>
                <field name="READABLE">TRUE</field>
                <field name="WRITEABLE">TRUE</field>
                <value name="VALUE">
                  <block type="text" id="mower_status_default">
                    <field name="TEXT">unknown</field>
                  </block>
                </value>
              </block>
            </next>
          </block>
        </next>
      </block>
    </next>
  </block>
  <block type="variables_set" id="aBO:0mDKDj]ug!{ix.`_" x="838" y="488">
    <field name="VAR" id="D/}S^lSI[ldyj8k(Ge0d">mowerId</field>
    <value name="VALUE">
      <block type="text" id="cIVR._ABmeongL;m]z9?">
        <field name="TEXT">anthbot-genie.0.SERIAL_NUMBER</field>
      </block>
    </value>
    <next>
      <block type="variables_set" id="yv1/HKs5jfbFxfXRZ^oF">
        <field name="VAR" id="q6=SPzZSjD;I-X)RxGZV">checkForecastHours</field>
        <value name="VALUE">
          <block type="math_number" id="fhX7]jV^tu@!T(oehU=u">
            <field name="NUM">3</field>
          </block>
        </value>
        <next>
          <block type="variables_set" id="/s7m/{;SdJKbr`RStb5A">
            <field name="VAR" id=":sC:ijq%=+33hqu[;_)J">maxHumidityToMow</field>
            <value name="VALUE">
              <block type="math_number" id="is90fFPsS8f59qME)4D,">
                <field name="NUM">85</field>
              </block>
            </value>
            <next>
              <block type="variables_set" id="y?f-lU0X`wNHex:`m8X{">
                <field name="VAR" id="e9(fxo8**Yp6/Z-s]Q!D">mowIntervall</field>
                <value name="VALUE">
                  <block type="math_number" id="}]M,s.8UD`3D,4*jl15/">
                    <field name="NUM">3</field>
                  </block>
                </value>
                <next>
                  <block type="variables_set" id="bbMeZc|m)7L|`}=BG5.Z">
                    <field name="VAR" id="@HmN|qwYuow7Mj|RJ!EW">mowEarlistHourToStart</field>
                    <value name="VALUE">
                      <block type="math_number" id="lpXNO@McE*YDQ$5{VAKO">
                        <field name="NUM">3</field>
                      </block>
                    </value>
                    <next>
                      <block type="variables_set" id="0s2s=D_E#|vY7u9dni}R">
                        <field name="VAR" id="tbWwGLTD2E1dmgbvXEWI">mowLatestHourToStart</field>
                        <value name="VALUE">
                          <block type="math_number" id="sV-!}aqgBY%V++O[}p`c">
                            <field name="NUM">21</field>
                          </block>
                        </value>
                        <next>
                          <block type="variables_set" id="b$p;VmL-~~1xB}I6@2R[">
                            <field name="VAR" id="%L*A:[x;_6PyynK3g?X;">minBatteryLevel</field>
                            <value name="VALUE">
                              <block type="math_number" id=")i43KYByb2Ub!}wk(Uu/">
                                <field name="NUM">90</field>
                              </block>
                            </value>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </next>
  </block>
  <block type="comment" id="5el!jUZ}Z$f_@f:,EVqR" x="888" y="763">
    <field name="COMMENT">Maehroboter Script v2</field>
    <next>
      <block type="schedule" id="schedule_anthbot_zones">
        <field name="SCHEDULE">*/30 9-21 * * 1-6</field>
        <statement name="STATEMENT">
          <block type="variables_set" id="dweKhoYYnlr]l,!fS^k}">
            <field name="VAR" id="3@I?m`.?F2,JqHu,e6LE">mow</field>
            <value name="VALUE">
              <block type="logic_boolean" id="}$3Ci5+aa}|-nXXo72@!">
                <field name="BOOL">TRUE</field>
              </block>
            </value>
            <next>
              <block type="controls_if" id="-Tt%NJ4UzenY8;)F!Hqv">
                <value name="IF0">
                  <block type="logic_compare" id="adapter_connected">
                    <field name="OP">NEQ</field>
                    <value name="A">
                      <block type="get_value" id="get_adapter_connection">
                        <field name="ATTR">val</field>
                        <field name="OID">anthbot-genie.0.info.connection</field>
                      </block>
                    </value>
                    <value name="B">
                      <block type="logic_boolean" id="true_connection">
                        <field name="BOOL">TRUE</field>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="control" id="update_mower_status_reason">
                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                    <field name="OID">0_userdata.0.maehroboter.status</field>
                    <field name="WITH_DELAY">FALSE</field>
                    <value name="VALUE">
                      <block type="text" id="$-5I:OlG^8;#MDwL7H)w">
                        <field name="TEXT">Keine Cloud Verbindung!</field>
                      </block>
                    </value>
                    <next>
                      <block type="variables_set" id="o;o6MHU*c{_}IdyUKE?K">
                        <field name="VAR" id="3@I?m`.?F2,JqHu,e6LE">mow</field>
                        <value name="VALUE">
                          <block type="logic_boolean" id="rEt/*u[XapS}]I^|1!L{">
                            <field name="BOOL">FALSE</field>
                          </block>
                        </value>
                      </block>
                    </next>
                  </block>
                </statement>
                <next>
                  <block type="controls_if" id="uXVR{*~%h{0OdBV!ojf:">
                    <value name="IF0">
                      <block type="logic_compare" id="mower_online">
                        <field name="OP">NEQ</field>
                        <value name="A">
                          <block type="get_value" id="get_mower_online">
                            <field name="ATTR">val</field>
                            <field name="OID">anthbot-genie.0.SERIAL_NUMBER.info.online</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="logic_boolean" id="true_online">
                            <field name="BOOL">TRUE</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="control" id=")c62^O6uE`e|F}E4SK[r">
                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                        <field name="OID">0_userdata.0.maehroboter.status</field>
                        <field name="WITH_DELAY">FALSE</field>
                        <value name="VALUE">
                          <block type="text" id="96C+u/Sh,vy{|na]*N?V">
                            <field name="TEXT">Keine Mäher Verbindung!</field>
                          </block>
                        </value>
                        <next>
                          <block type="variables_set" id="X2`m2L-:..fBYLWCaq+}">
                            <field name="VAR" id="3@I?m`.?F2,JqHu,e6LE">mow</field>
                            <value name="VALUE">
                              <block type="logic_boolean" id="+-{t8t0r{6N#?T+*GWYb">
                                <field name="BOOL">FALSE</field>
                              </block>
                            </value>
                          </block>
                        </next>
                      </block>
                    </statement>
                    <next>
                      <block type="controls_if" id="@!iVnD_g*j[#kjLT=#z=">
                        <value name="IF0">
                          <block type="logic_compare" id="humidity_dry">
                            <field name="OP">GTE</field>
                            <value name="A">
                              <block type="get_value" id="get_humidity">
                                <field name="ATTR">val</field>
                                <field name="OID">weatherunderground.1.forecastHourly.0h.humidity</field>
                              </block>
                            </value>
                            <value name="B">
                              <block type="variables_get" id="8%ophR_94=%O36~fjeV:">
                                <field name="VAR" id=":sC:ijq%=+33hqu[;_)J">maxHumidityToMow</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <statement name="DO0">
                          <block type="control" id="5X8I2.RQ|A@6uQa=GQB;">
                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                            <field name="OID">0_userdata.0.maehroboter.status</field>
                            <field name="WITH_DELAY">FALSE</field>
                            <value name="VALUE">
                              <block type="text_join" id="qffB+D7v%RM%GT4T0MUk">
                                <mutation items="3"></mutation>
                                <value name="ADD0">
                                  <block type="text" id="A@[xft!44b-?_+Ol2V{s">
                                    <field name="TEXT">Feuchtigkit über </field>
                                  </block>
                                </value>
                                <value name="ADD1">
                                  <block type="variables_get" id="oRj4xyBRhi1eeXZXAZJw">
                                    <field name="VAR" id=":sC:ijq%=+33hqu[;_)J">maxHumidityToMow</field>
                                  </block>
                                </value>
                                <value name="ADD2">
                                  <block type="text" id="#r%pR(-2%I0@M0VON+ac">
                                    <field name="TEXT"> %</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <next>
                              <block type="variables_set" id="pWM%lxatZV_3oalm|(eL">
                                <field name="VAR" id="3@I?m`.?F2,JqHu,e6LE">mow</field>
                                <value name="VALUE">
                                  <block type="logic_boolean" id="7IAzhzpV}b=@sk4VZpK/">
                                    <field name="BOOL">FALSE</field>
                                  </block>
                                </value>
                              </block>
                            </next>
                          </block>
                        </statement>
                        <next>
                          <block type="controls_if" id="=LlcpDm-?t@u+Z]G}o4l">
                            <value name="IF0">
                              <block type="logic_compare" id="`!4L~mk#t}CMK9b3h5D5">
                                <field name="OP">NEQ</field>
                                <value name="A">
                                  <block type="procedures_callcustomreturn" id="F2)o)DogyrN]4WEo-1%`">
                                    <mutation name="isZoneMowDue">
                                      <arg name="mowIntervall"></arg>
                                      <arg name="mowEarlistHourToStart"></arg>
                                    </mutation>
                                    <value name="ARG0">
                                      <block type="variables_get" id="BOI@tKUTl=lZHI??$$L#">
                                        <field name="VAR" id="e9(fxo8**Yp6/Z-s]Q!D">mowIntervall</field>
                                      </block>
                                    </value>
                                    <value name="ARG1">
                                      <block type="variables_get" id="%:]?H`|;aG*LxGmp(B:]">
                                        <field name="VAR" id="@HmN|qwYuow7Mj|RJ!EW">mowEarlistHourToStart</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="logic_boolean" id="d%D9rA6TmS:$-Xal$Ctw">
                                    <field name="BOOL">TRUE</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <statement name="DO0">
                              <block type="control" id="GrX`?i)+2~2[#MUvstG9">
                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                <field name="OID">0_userdata.0.maehroboter.status</field>
                                <field name="WITH_DELAY">FALSE</field>
                                <value name="VALUE">
                                  <block type="text_join" id="PD;+PNJ0@xwTk(myw)Fb">
                                    <mutation items="3"></mutation>
                                    <value name="ADD0">
                                      <block type="text" id="Y_X0Qk@fL[Z1.h%fO{7z">
                                        <field name="TEXT">Noch keine </field>
                                      </block>
                                    </value>
                                    <value name="ADD1">
                                      <block type="variables_get" id=",n]xxi]@FOO!$*F*OgfJ">
                                        <field name="VAR" id="e9(fxo8**Yp6/Z-s]Q!D">mowIntervall</field>
                                      </block>
                                    </value>
                                    <value name="ADD2">
                                      <block type="text" id="1}+Y-n),%LG[mLZr(Kao">
                                        <field name="TEXT"> Tage her</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <next>
                                  <block type="variables_set" id="r]%M(-]-BT_243c_=P]$">
                                    <field name="VAR" id="3@I?m`.?F2,JqHu,e6LE">mow</field>
                                    <value name="VALUE">
                                      <block type="logic_boolean" id="]Wn`fMOfY#Cl6rJ2G$^k">
                                        <field name="BOOL">FALSE</field>
                                      </block>
                                    </value>
                                  </block>
                                </next>
                              </block>
                            </statement>
                            <next>
                              <block type="controls_if" id="Uk)#r#pkyipGiW;oTIro">
                                <value name="IF0">
                                  <block type="time_compare_ex" id="}6{$d@Am^_@2,M;vd+@3">
                                    <mutation xmlns="http://www.w3.org/1999/xhtml" end_time="false" actual_time="true"></mutation>
                                    <field name="USE_ACTUAL_TIME">TRUE</field>
                                    <field name="OPTION">&gt;=</field>
                                    <value name="START_TIME">
                                      <shadow type="text" id="CL@z!?7pwp_lYeuewQiT">
                                        <field name="TEXT">12:00</field>
                                      </shadow>
                                      <block type="variables_get" id=";Haj1~iVsA#{8Z(cs;m/">
                                        <field name="VAR" id="tbWwGLTD2E1dmgbvXEWI">mowLatestHourToStart</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <statement name="DO0">
                                  <block type="control" id="grbmY4d|Np:JYq,S#_?q">
                                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                    <field name="OID">0_userdata.0.maehroboter.status</field>
                                    <field name="WITH_DELAY">FALSE</field>
                                    <value name="VALUE">
                                      <block type="text_join" id="BUj(ivv(xkfRGGVj]*?P">
                                        <mutation items="3"></mutation>
                                        <value name="ADD0">
                                          <block type="text" id="R`j}_]e{BClCyg.-wEvN">
                                            <field name="TEXT">Kein Start nach </field>
                                          </block>
                                        </value>
                                        <value name="ADD1">
                                          <block type="variables_get" id="[Vlj*/KF9S)4[~=`C9G7">
                                            <field name="VAR" id="tbWwGLTD2E1dmgbvXEWI">mowLatestHourToStart</field>
                                          </block>
                                        </value>
                                        <value name="ADD2">
                                          <block type="text" id="h}[*ttT8T~z}DCA`rb~e">
                                            <field name="TEXT"> Uhr</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <next>
                                      <block type="variables_set" id="UScEr7CD+l(a7PNf{`4i">
                                        <field name="VAR" id="3@I?m`.?F2,JqHu,e6LE">mow</field>
                                        <value name="VALUE">
                                          <block type="logic_boolean" id="D7N;q#WPwnWJK%I^B$pC">
                                            <field name="BOOL">FALSE</field>
                                          </block>
                                        </value>
                                      </block>
                                    </next>
                                  </block>
                                </statement>
                                <next>
                                  <block type="controls_if" id="RsOB~CKZs-pn1VVRFozt">
                                    <value name="IF0">
                                      <block type="logic_operation" id="dry_after_rain_or_never">
                                        <field name="OP">AND</field>
                                        <value name="A">
                                          <block type="logic_compare" id="never_rained">
                                            <field name="OP">NEQ</field>
                                            <value name="A">
                                              <block type="get_value" id="get_last_rain_zero_check">
                                                <field name="ATTR">val</field>
                                                <field name="OID">0_userdata.0.maehroboter.lastRain</field>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block type="math_number" id="zero_last_rain">
                                                <field name="NUM">0</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="logic_compare" id="last_rain_old_enough">
                                            <field name="OP">GTE</field>
                                            <value name="A">
                                              <block type="get_value" id="get_last_rain_old_check">
                                                <field name="ATTR">val</field>
                                                <field name="OID">0_userdata.0.maehroboter.lastRain</field>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block type="time_calculation" id="now_minus_robot_rain_continue_time">
                                                <field name="OPERATION">-</field>
                                                <field name="UNIT">hour</field>
                                                <value name="DATE_TIME">
                                                  <block type="time_get" id="now_timestamp_for_rain">
                                                    <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                                                    <field name="OPTION">object</field>
                                                  </block>
                                                </value>
                                                <value name="VALUE">
                                                  <block type="get_value" id="get_robot_rain_continue_time">
                                                    <field name="ATTR">val</field>
                                                    <field name="OID">anthbot-genie.0.SERIAL_NUMBER.controls.rain.continueTimeHours</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <statement name="DO0">
                                      <block type="control" id="JM$S4Ba!hD7~GE5M$DTC">
                                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                        <field name="OID">0_userdata.0.maehroboter.status</field>
                                        <field name="WITH_DELAY">FALSE</field>
                                        <value name="VALUE">
                                          <block type="text_join" id="4wz(3!..A*z]nipwBrOI">
                                            <mutation items="3"></mutation>
                                            <value name="ADD0">
                                              <block type="text" id="]}EVj1a-TA{zpLx[Spc0">
                                                <field name="TEXT">Letzter Regen war innerhalb der letzten </field>
                                              </block>
                                            </value>
                                            <value name="ADD1">
                                              <block type="get_value" id="v.O=bAX2~x}tCv?o%umP">
                                                <field name="ATTR">val</field>
                                                <field name="OID">anthbot-genie.0.SERIAL_NUMBER.controls.rain.continueTimeHours</field>
                                              </block>
                                            </value>
                                            <value name="ADD2">
                                              <block type="text" id="gwBgUN#X%NX=Z)2PoqF+">
                                                <field name="TEXT"> Stunden</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <next>
                                          <block type="variables_set" id="7G^{LVjB.YvqOx@cya4M">
                                            <field name="VAR" id="3@I?m`.?F2,JqHu,e6LE">mow</field>
                                            <value name="VALUE">
                                              <block type="logic_boolean" id="!-MGd*d!8Qe#l6!yE-2+">
                                                <field name="BOOL">FALSE</field>
                                              </block>
                                            </value>
                                          </block>
                                        </next>
                                      </block>
                                    </statement>
                                    <next>
                                      <block type="controls_if" id="L#|ij2gnpjz}cN%xXrKZ">
                                        <value name="IF0">
                                          <block type="logic_compare" id="battery_over_95">
                                            <field name="OP">LT</field>
                                            <value name="A">
                                              <block type="get_value" id="get_mower_battery_level">
                                                <field name="ATTR">val</field>
                                                <field name="OID">anthbot-genie.0.SERIAL_NUMBER.metrics.batteryLevel</field>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block type="variables_get" id="Xr+_d0gP:|l+ZQz2#C4C">
                                                <field name="VAR" id="%L*A:[x;_6PyynK3g?X;">minBatteryLevel</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <statement name="DO0">
                                          <block type="control" id="h2M5o:?b%5MGSWVbJ]uW">
                                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                            <field name="OID">0_userdata.0.maehroboter.status</field>
                                            <field name="WITH_DELAY">FALSE</field>
                                            <value name="VALUE">
                                              <block type="text_join" id="tp0NCU=DONXd1x_l_$=g">
                                                <mutation items="3"></mutation>
                                                <value name="ADD0">
                                                  <block type="text" id="71]SZa+C~qo^W$Pz|iFw">
                                                    <field name="TEXT">Akku stand liegt unter </field>
                                                  </block>
                                                </value>
                                                <value name="ADD1">
                                                  <block type="variables_get" id="{+byHv#`Y--1}l-iL|a}">
                                                    <field name="VAR" id="%L*A:[x;_6PyynK3g?X;">minBatteryLevel</field>
                                                  </block>
                                                </value>
                                                <value name="ADD2">
                                                  <block type="text" id="2DXy}ww|%Ke1(m2cf6Uu">
                                                    <field name="TEXT"> %</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <next>
                                              <block type="variables_set" id="dXztT10mA853L;h7:P!x">
                                                <field name="VAR" id="3@I?m`.?F2,JqHu,e6LE">mow</field>
                                                <value name="VALUE">
                                                  <block type="logic_boolean" id="*Oz_kz_K#AttLu.dKqcc">
                                                    <field name="BOOL">FALSE</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </next>
                                          </block>
                                        </statement>
                                        <next>
                                          <block type="controls_if" id="v$)DCrzw4!qIlHPhF3L?">
                                            <value name="IF0">
                                              <block type="logic_operation" id="start_attempt_old_enough_or_never">
                                                <field name="OP">AND</field>
                                                <value name="A">
                                                  <block type="logic_compare" id="never_attempted_zone_mow">
                                                    <field name="OP">NEQ</field>
                                                    <value name="A">
                                                      <block type="get_value" id="get_last_attempt_zero_check">
                                                        <field name="ATTR">val</field>
                                                        <field name="OID">0_userdata.0.maehroboter.lastZoneMowAttempt</field>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <block type="math_number" id="zero_last_attempt">
                                                        <field name="NUM">0</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <block type="logic_compare" id="last_attempt_old_enough">
                                                    <field name="OP">GTE</field>
                                                    <value name="A">
                                                      <block type="get_value" id="get_last_attempt_old_check">
                                                        <field name="ATTR">val</field>
                                                        <field name="OID">0_userdata.0.maehroboter.lastZoneMowAttempt</field>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <block type="time_calculation" id="now_minus_6_hours_attempt">
                                                        <field name="OPERATION">-</field>
                                                        <field name="UNIT">hour</field>
                                                        <value name="DATE_TIME">
                                                          <block type="time_get" id="now_timestamp_for_attempt">
                                                            <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                                                            <field name="OPTION">object</field>
                                                          </block>
                                                        </value>
                                                        <value name="VALUE">
                                                          <block type="math_number" id="six_hours_attempt">
                                                            <field name="NUM">6</field>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <statement name="DO0">
                                              <block type="control" id="tJE,)%pih9Y(a^3COshM">
                                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                <field name="OID">0_userdata.0.maehroboter.status</field>
                                                <field name="WITH_DELAY">FALSE</field>
                                                <value name="VALUE">
                                                  <block type="text" id="I4mZ~6#;7:eH:YjBw2qV">
                                                    <field name="TEXT">Letzter Mähversuch noch keine 6h her!</field>
                                                  </block>
                                                </value>
                                                <next>
                                                  <block type="variables_set" id="EBh5K6BFnl*BHufe-K7t">
                                                    <field name="VAR" id="3@I?m`.?F2,JqHu,e6LE">mow</field>
                                                    <value name="VALUE">
                                                      <block type="logic_boolean" id="sab.=cnUG=6s*btP-pgh">
                                                        <field name="BOOL">FALSE</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </next>
                                              </block>
                                            </statement>
                                            <next>
                                              <block type="controls_for" id="SJEq.cZvMKFXq=?Vc*C-">
                                                <field name="VAR" id="^:m=N6R2;C;[jhlqgwQ{">currentHourCheck</field>
                                                <value name="FROM">
                                                  <shadow type="math_number" id="K`JI!LJZ[0RJzy`uJUDi">
                                                    <field name="NUM">0</field>
                                                  </shadow>
                                                  <block type="math_number" id="#Y=p_sVL)%xNmA^2JHL*">
                                                    <field name="NUM">0</field>
                                                  </block>
                                                </value>
                                                <value name="TO">
                                                  <shadow type="math_number" id="{P:{Lx(LS)=I2[2S-2CD">
                                                    <field name="NUM">10</field>
                                                  </shadow>
                                                  <block type="variables_get" id="+bLA+tPeaw[tmb/,7|z/">
                                                    <field name="VAR" id="q6=SPzZSjD;I-X)RxGZV">checkForecastHours</field>
                                                  </block>
                                                </value>
                                                <value name="BY">
                                                  <shadow type="math_number" id="!mBd49M.4/9cQtlkE1J6">
                                                    <field name="NUM">1</field>
                                                  </shadow>
                                                  <block type="math_number" id="FG`4C)8Zum};{,p@zZ+s">
                                                    <field name="NUM">1</field>
                                                  </block>
                                                </value>
                                                <statement name="DO">
                                                  <block type="variables_set" id="t;?q~~1fTx^L6Xyn-r2S">
                                                    <field name="VAR" id="xdX,xQK^2ERgAmDUwYs1">rainHourXForecast</field>
                                                    <value name="VALUE">
                                                      <block type="text_join" id="3EsQQft%C{`][d#a:u-y">
                                                        <mutation items="3"></mutation>
                                                        <value name="ADD0">
                                                          <block type="text" id="rain_current_oid">
                                                            <field name="TEXT">weatherunderground.1.forecastHourly.</field>
                                                          </block>
                                                        </value>
                                                        <value name="ADD1">
                                                          <block type="variables_get" id="I8xdV`ASB,U;1z+^0ZL{">
                                                            <field name="VAR" id="^:m=N6R2;C;[jhlqgwQ{">currentHourCheck</field>
                                                          </block>
                                                        </value>
                                                        <value name="ADD2">
                                                          <block type="text" id="bsUNLy7mx0O]HsDSGpOR">
                                                            <field name="TEXT">h.precipitation</field>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                    <next>
                                                      <block type="controls_if" id=")9ONv5HH4Zc(#qk`0Z~v">
                                                        <value name="IF0">
                                                          <block type="logic_compare" id="Eo.^BR;*;VkD`,eS=e1i">
                                                            <field name="OP">NEQ</field>
                                                            <value name="A">
                                                              <block type="get_value_var" id="get_rain_current_hour">
                                                                <field name="ATTR">val</field>
                                                                <value name="OID">
                                                                  <block type="variables_get" id="dj[(0.MPH)UaYxCWcN1-">
                                                                    <field name="VAR" id="xdX,xQK^2ERgAmDUwYs1">rainHourXForecast</field>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </value>
                                                            <value name="B">
                                                              <block type="math_number" id="zero_rain_current">
                                                                <field name="NUM">0</field>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </value>
                                                        <statement name="DO0">
                                                          <block type="control" id="]1wS~}Dk6[fx/L?8%7IP">
                                                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                            <field name="OID">0_userdata.0.maehroboter.status</field>
                                                            <field name="WITH_DELAY">FALSE</field>
                                                            <value name="VALUE">
                                                              <block type="text_join" id="D/~setYi/2$[Y(}YU6fS">
                                                                <mutation items="3"></mutation>
                                                                <value name="ADD0">
                                                                  <block type="text" id="vTNH$6H#(=(mbS}_c]y`">
                                                                    <field name="TEXT">Rain in </field>
                                                                  </block>
                                                                </value>
                                                                <value name="ADD1">
                                                                  <block type="variables_get" id="1kKB~}Ra|!Bm#9CQO-av">
                                                                    <field name="VAR" id="^:m=N6R2;C;[jhlqgwQ{">currentHourCheck</field>
                                                                  </block>
                                                                </value>
                                                                <value name="ADD2">
                                                                  <block type="text" id="v7#Wyy??9EZ1O~-Ljd!3">
                                                                    <field name="TEXT">h.</field>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </value>
                                                            <next>
                                                              <block type="variables_set" id="RHLce2(Lu(~8.J_5R)}2">
                                                                <field name="VAR" id="3@I?m`.?F2,JqHu,e6LE">mow</field>
                                                                <value name="VALUE">
                                                                  <block type="logic_boolean" id="A]E~q+%S|M!Vuk6AoH:`">
                                                                    <field name="BOOL">FALSE</field>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </next>
                                                          </block>
                                                        </statement>
                                                      </block>
                                                    </next>
                                                  </block>
                                                </statement>
                                                <next>
                                                  <block type="controls_if" id="HPc/w_5*#n.-oPHL9U=T">
                                                    <value name="IF0">
                                                      <block type="logic_compare" id="!n{XRp)k[tbRWyYWlHs@">
                                                        <field name="OP">EQ</field>
                                                        <value name="A">
                                                          <block type="variables_get" id="xw0LXQP}?unuoo6=Tf.k">
                                                            <field name="VAR" id="3@I?m`.?F2,JqHu,e6LE">mow</field>
                                                          </block>
                                                        </value>
                                                        <value name="B">
                                                          <block type="logic_boolean" id="fC;F@JJ_F7EylohHYPWH">
                                                            <field name="BOOL">TRUE</field>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                    <statement name="DO0">
                                                      <block type="control" id="start_zone_mow">
                                                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                        <field name="OID">anthbot-genie.0.SERIAL_NUMBER.commands.mowing.startZone</field>
                                                        <field name="WITH_DELAY">FALSE</field>
                                                        <value name="VALUE">
                                                          <block type="text" id="zone_ids">
                                                            <field name="TEXT">102,101,100</field>
                                                          </block>
                                                        </value>
                                                        <next>
                                                          <block type="control" id="set_mower_status_okay">
                                                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                            <field name="OID">0_userdata.0.maehroboter.status</field>
                                                            <field name="WITH_DELAY">FALSE</field>
                                                            <value name="VALUE">
                                                              <block type="text" id="mower_status_okay_text">
                                                                <field name="TEXT">Script: Starte Zonenmähen</field>
                                                              </block>
                                                            </value>
                                                            <next>
                                                              <block type="telegram" id="telegram_start_zone_mow">
                                                                <field name="INSTANCE">.0</field>
                                                                <field name="LOG"></field>
                                                                <field name="SILENT">TRUE</field>
                                                                <field name="PARSEMODE">default</field>
                                                                <field name="ESCAPING">FALSE</field>
                                                                <field name="DISABLE_WEB_PAGE_PREVIEW">FALSE</field>
                                                                <value name="MESSAGE">
                                                                  <block type="text" id="telegram_start_zone_message">
                                                                    <field name="TEXT">Mähroboter: Starte Zonenmähen.</field>
                                                                  </block>
                                                                </value>
                                                                <value name="USERNAME">
                                                                  <block type="text" id="telegram_start_zone_user" disabled-reasons="MANUALLY_DISABLED">
                                                                    <field name="TEXT">USER</field>
                                                                  </block>
                                                                </value>
                                                                <next>
                                                                  <block type="control" id="store_last_mow_attempt_time">
                                                                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                    <field name="OID">0_userdata.0.maehroboter.lastZoneMowAttempt</field>
                                                                    <field name="WITH_DELAY">FALSE</field>
                                                                    <value name="VALUE">
                                                                      <block type="time_get" id="store_attempt_now_timestamp">
                                                                        <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                                                                        <field name="OPTION">object</field>
                                                                      </block>
                                                                    </value>
                                                                    <next>
                                                                      <block type="control" id="store_last_mow_time">
                                                                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                        <field name="OID">0_userdata.0.maehroboter.lastZoneMow</field>
                                                                        <field name="WITH_DELAY">FALSE</field>
                                                                        <value name="VALUE">
                                                                          <block type="time_get" id="store_now_timestamp">
                                                                            <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                                                                            <field name="OPTION">object</field>
                                                                          </block>
                                                                        </value>
                                                                      </block>
                                                                    </next>
                                                                  </block>
                                                                </next>
                                                              </block>
                                                            </next>
                                                          </block>
                                                        </next>
                                                      </block>
                                                    </statement>
                                                  </block>
                                                </next>
                                              </block>
                                            </next>
                                          </block>
                                        </next>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </statement>
      </block>
    </next>
  </block>
  <block type="procedures_defcustomreturn" id="Fbto:PpyMlWU~71~{Yfv" x="1538" y="1188">
    <mutation statements="false">
      <arg name="mowIntervall" varid="e9(fxo8**Yp6/Z-s]Q!D"></arg>
      <arg name="mowEarlistHourToStart" varid="@HmN|qwYuow7Mj|RJ!EW"></arg>
    </mutation>
    <field name="NAME">isZoneMowDue</field>
    <field name="SCRIPT">ICAgIGNvbnN0IGxhc3Rab25lTW93ID0gZ2V0U3RhdGUoJzBfdXNlcmRhdGEuMC5tYWVocm9ib3Rlci5sYXN0Wm9uZU1vdycpLnZhbDsNCg0KICAgIGlmICghbGFzdFpvbmVNb3cgfHwgbGFzdFpvbmVNb3cgPD0gMCkgew0KICAgICAgICByZXR1cm4gdHJ1ZTsNCiAgICB9DQoNCiAgICBjb25zdCBuZXh0UGxhbm5lZE1vdyA9IG5ldyBEYXRlKGxhc3Rab25lTW93KTsNCg0KICAgIC8vIFggVGFnZSBuYWNoIGxldHp0ZW0gTcOkaGVuDQogICAgbmV4dFBsYW5uZWRNb3cuc2V0RGF0ZShuZXh0UGxhbm5lZE1vdy5nZXREYXRlKCkgKyBtb3dJbnRlcnZhbGwpOw0KDQogICAgLy8gU29ubnRhZyBhdWYgTW9udGFnIHNjaGllYmVuDQogICAgaWYgKG5leHRQbGFubmVkTW93LmdldERheSgpID09PSAwKSB7DQogICAgICAgIG5leHRQbGFubmVkTW93LnNldERhdGUobmV4dFBsYW5uZWRNb3cuZ2V0RGF0ZSgpICsgMSk7DQogICAgfQ0KDQogICAgLy8gSW1tZXIgYWIgWA0KICAgIG5leHRQbGFubmVkTW93LnNldEhvdXJzKG1vd0Vhcmxpc3RIb3VyVG9TdGFydCwgMCwgMCwgMCk7DQoNCiAgICByZXR1cm4gRGF0ZS5ub3coKSA+PSBuZXh0UGxhbm5lZE1vdy5nZXRUaW1lKCk7</field>
    <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
  </block>
  <block type="on_ext" id="m$CSGd+GR=ZPGv}vv)A)" x="2038" y="2113">
    <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}eK!ojhW!/C9#F1c}w9">
        <field name="oid">weatherunderground.1.forecastHourly.0h.precipitation</field>
      </shadow>
    </value>
    <statement name="STATEMENT">
      <block type="controls_if" id="VmxVv0fOvXq1=Ghya1P+">
        <value name="IF0">
          <block type="logic_compare" id="G[Qr](ESFU.Ky:|;O12C">
            <field name="OP">GT</field>
            <value name="A">
              <block type="on_source" id="Hx@iqd)2Py9Cd96A`Ryv">
                <field name="ATTR">state.val</field>
              </block>
            </value>
            <value name="B">
              <block type="math_number" id="^HBZ*.@BErR{dp%co~f[">
                <field name="NUM">0</field>
              </block>
            </value>
          </block>
        </value>
        <statement name="DO0">
          <block type="control" id="OuTY/k}5de*}V,ebi*c5">
            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
            <field name="OID">0_userdata.0.maehroboter.lastRain</field>
            <field name="WITH_DELAY">FALSE</field>
            <value name="VALUE">
              <block type="time_get" id="O;}c/3[Re5QejHJ*~PnS">
                <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                <field name="OPTION">object</field>
              </block>
            </value>
            <next>
              <block type="controls_if" id=",4@xSm]t!,yP_Mnig4vz">
                <value name="IF0">
                  <block type="logic_compare" id=":GJ#2nJ@()(}8,]a(6S6">
                    <field name="OP">EQ</field>
                    <value name="A">
                      <block type="get_value" id="h~?%/{W:Kgs;jOXmC(1G">
                        <field name="ATTR">val</field>
                        <field name="OID">anthbot-genie.0.SERIAL_NUMBER.metrics.status.mower</field>
                      </block>
                    </value>
                    <value name="B">
                      <block type="text" id="/3|/AV0Jh+.-9n6~^O=f">
                        <field name="TEXT">mowing</field>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="control" id="]HI|Frw!ygQi8q:7#de%">
                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                    <field name="OID">anthbot-genie.0.SERIAL_NUMBER.commands.docking.startReturn</field>
                    <field name="WITH_DELAY">FALSE</field>
                    <value name="VALUE">
                      <block type="logic_boolean" id="[P0hf8T?L;:5qX7H4x7h">
                        <field name="BOOL">TRUE</field>
                      </block>
                    </value>
                    <next>
                      <block type="telegram" id="kT9=w9%?t}1@7,;5b/6U">
                        <field name="INSTANCE">.0</field>
                        <field name="LOG"></field>
                        <field name="SILENT">FALSE</field>
                        <field name="PARSEMODE">default</field>
                        <field name="ESCAPING">FALSE</field>
                        <field name="DISABLE_WEB_PAGE_PREVIEW">FALSE</field>
                        <value name="MESSAGE">
                          <block type="text" id="IFm;PFVkGc_G#ns00`:%">
                            <field name="TEXT">Mähroboter: Regen erkannt, fahre zur Ladestation.</field>
                          </block>
                        </value>
                        <value name="USERNAME">
                          <block type="text" id="3LJV/I3P`*vmIr#7HQh!" disabled-reasons="MANUALLY_DISABLED">
                            <field name="TEXT">USER</field>
                          </block>
                        </value>
                      </block>
                    </next>
                  </block>
                </statement>
              </block>
            </next>
          </block>
        </statement>
      </block>
    </statement>
  </block>
  <block type="on_ext" id="b$lXt25uKfR$.YnCJa0A" x="2488" y="2724">
    <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="+{d}C27i!^FSIEI*6=w7">
        <field name="oid">anthbot-genie.0.SERIAL_NUMBER.consumable.blades.life</field>
      </shadow>
    </value>
    <statement name="STATEMENT">
      <block type="controls_if" id="098Ua!x[xKp7j:EzHm#D">
        <value name="IF0">
          <block type="logic_compare" id="dr-L4zd48/2p%y^0BRo/">
            <field name="OP">LTE</field>
            <value name="A">
              <block type="on_source" id="0;c~rYRg:lCHC0{,d9%|">
                <field name="ATTR">state.val</field>
              </block>
            </value>
            <value name="B">
              <block type="math_number" id="o!joRWw%?%}Gq$K=`2Gt">
                <field name="NUM">5</field>
              </block>
            </value>
          </block>
        </value>
        <statement name="DO0">
          <block type="telegram" id="!~7=o5VDQ3hJMDY)bf9{">
            <field name="INSTANCE">.0</field>
            <field name="LOG"></field>
            <field name="SILENT">FALSE</field>
            <field name="PARSEMODE">default</field>
            <field name="ESCAPING">FALSE</field>
            <field name="DISABLE_WEB_PAGE_PREVIEW">FALSE</field>
            <value name="MESSAGE">
              <block type="text_join" id=":6JrCB.lyq[gAW?h5C0f" inline="false">
                <mutation items="3"></mutation>
                <value name="ADD0">
                  <block type="text" id="cXN31P]JcX,%yOb*3N.h">
                    <field name="TEXT">Mähroboter: Bitte die Klingen austauschen! Restliche Lebensdauer: </field>
                  </block>
                </value>
                <value name="ADD1">
                  <block type="on_source" id="BL5En7GJWaJg5mLaWzmM">
                    <field name="ATTR">state.val</field>
                  </block>
                </value>
                <value name="ADD2">
                  <block type="text" id="?LAz9V#Ja!oY$KTv@kR2">
                    <field name="TEXT"> % !</field>
                  </block>
                </value>
              </block>
            </value>
            <value name="USERNAME">
              <block type="text" id="ECZ#3q$dkC1LzgdA,*:}" disabled-reasons="MANUALLY_DISABLED">
                <field name="TEXT">USER</field>
              </block>
            </value>
          </block>
        </statement>
      </block>
    </statement>
  </block>
  <block type="on_ext" id="jKH:,z/M-L|3Va+^w[d:" x="2519" y="3199">
    <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="I!o5YNFN|cuI=^c~C6Or">
        <field name="oid">anthbot-genie.0.SERIAL_NUMBER.consumable.cameras.life</field>
      </shadow>
    </value>
    <statement name="STATEMENT">
      <block type="controls_if" id="AGR?Q|K-g6~Wg`KC{|-B">
        <value name="IF0">
          <block type="logic_compare" id="OgHhA7M:nwX/Gz%-lmCb">
            <field name="OP">LTE</field>
            <value name="A">
              <block type="on_source" id="*p!4:JlF.n6_]o#|8APf">
                <field name="ATTR">state.val</field>
              </block>
            </value>
            <value name="B">
              <block type="math_number" id="Y,Gtac4UtueMPF-[yCov">
                <field name="NUM">5</field>
              </block>
            </value>
          </block>
        </value>
        <statement name="DO0">
          <block type="telegram" id="JM(SC93~i%rEeMl=tjQ3">
            <field name="INSTANCE">.0</field>
            <field name="LOG"></field>
            <field name="SILENT">FALSE</field>
            <field name="PARSEMODE">default</field>
            <field name="ESCAPING">FALSE</field>
            <field name="DISABLE_WEB_PAGE_PREVIEW">FALSE</field>
            <value name="MESSAGE">
              <block type="text_join" id="/c(ebq2Zb8(o7(`Us5{W" inline="false">
                <mutation items="3"></mutation>
                <value name="ADD0">
                  <block type="text" id="ryrhH$FlN|*_M~2FevYG">
                    <field name="TEXT">Mähroboter: Bitte die Kameras reinigen! Restliche Lebensdauer: </field>
                  </block>
                </value>
                <value name="ADD1">
                  <block type="on_source" id=",1$Q)z3FXN9eC?3+LhNC">
                    <field name="ATTR">state.val</field>
                  </block>
                </value>
                <value name="ADD2">
                  <block type="text" id="?=pY{tDKs~^,K8gu;IBK">
                    <field name="TEXT"> % !</field>
                  </block>
                </value>
              </block>
            </value>
            <value name="USERNAME">
              <block type="text" id="gfPhStnC[.oMK$5Y0OB%" disabled-reasons="MANUALLY_DISABLED">
                <field name="TEXT">USER</field>
              </block>
            </value>
          </block>
        </statement>
      </block>
    </statement>
  </block>
  <block type="on_ext" id="on_mower_started_track_last_mow" x="1438" y="3748">
    <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="mower_status_oid_shadow">
        <field name="oid">default</field>
      </shadow>
      <block type="field_oid" id="mower_status_oid">
        <field name="oid">anthbot-genie.0.SERIAL_NUMBER.metrics.status.mower</field>
      </block>
    </value>
    <statement name="STATEMENT">
      <block type="controls_if" id="if_mower_started_from_any_source">
        <value name="IF0">
          <block type="logic_operation" id="mower_started_transition">
            <field name="OP">AND</field>
            <value name="A">
              <block type="logic_compare" id="new_status_is_mowing">
                <field name="OP">EQ</field>
                <value name="A">
                  <block type="on_source" id="mower_status_new_value">
                    <field name="ATTR">state.val</field>
                  </block>
                </value>
                <value name="B">
                  <block type="text" id="mower_status_mowing_text_new">
                    <field name="TEXT">mowing</field>
                  </block>
                </value>
              </block>
            </value>
            <value name="B">
              <block type="logic_compare" id="old_status_was_not_mowing">
                <field name="OP">NEQ</field>
                <value name="A">
                  <block type="on_source" id="mower_status_old_value">
                    <field name="ATTR">oldState.val</field>
                  </block>
                </value>
                <value name="B">
                  <block type="text" id="mower_status_mowing_text_old">
                    <field name="TEXT">mowing</field>
                  </block>
                </value>
              </block>
            </value>
          </block>
        </value>
        <statement name="DO0">
          <block type="control" id="track_external_last_mow_attempt">
            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
            <field name="OID">0_userdata.0.maehroboter.lastZoneMowAttempt</field>
            <field name="WITH_DELAY">FALSE</field>
            <value name="VALUE">
              <block type="time_get" id="external_mow_attempt_timestamp">
                <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                <field name="OPTION">object</field>
              </block>
            </value>
            <next>
              <block type="control" id="track_external_last_mow">
                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                <field name="OID">0_userdata.0.maehroboter.lastZoneMow</field>
                <field name="WITH_DELAY">FALSE</field>
                <value name="VALUE">
                  <block type="time_get" id="external_mow_timestamp">
                    <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                    <field name="OPTION">object</field>
                  </block>
                </value>
                <next>
                  <block type="telegram" id="Emb4^o?wF+CP?z}yvA`|">
                    <field name="INSTANCE">.0</field>
                    <field name="LOG"></field>
                    <field name="SILENT">TRUE</field>
                    <field name="PARSEMODE">default</field>
                    <field name="ESCAPING">FALSE</field>
                    <field name="DISABLE_WEB_PAGE_PREVIEW">FALSE</field>
                    <value name="MESSAGE">
                      <block type="text" id="d5kI4)7Z)x%Dr2afrwvw">
                        <field name="TEXT">Mähroboter: Extern gestartet.</field>
                      </block>
                    </value>
                    <value name="USERNAME">
                      <block type="text" id="W1?;?o$XS*2J?|8Zm*UY" disabled-reasons="MANUALLY_DISABLED">
                        <field name="TEXT">USER</field>
                      </block>
                    </value>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </statement>
      </block>
    </statement>
  </block>
  <block type="on_ext" id="Ip?fGkk)]=;y(cUa5.2Q" x="2638" y="4243">
    <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="p?O#j3#:%7_}[vpcp.W~">
        <field name="oid">anthbot-genie.0.SERIAL_NUMBER.consumable.chargingPort.life</field>
      </shadow>
    </value>
    <statement name="STATEMENT">
      <block type="controls_if" id="jSF`~O}#bU`qliZ%LbRa">
        <value name="IF0">
          <block type="logic_compare" id="~`Z3NBZuiA%fULEv~u^5">
            <field name="OP">LTE</field>
            <value name="A">
              <block type="on_source" id="T7O@Ani1!=sWV~].-L[^">
                <field name="ATTR">state.val</field>
              </block>
            </value>
            <value name="B">
              <block type="math_number" id="B{0=[r)=L574Zl:0-uCn">
                <field name="NUM">5</field>
              </block>
            </value>
          </block>
        </value>
        <statement name="DO0">
          <block type="telegram" id="LbqNg?fULH};gh2_OD|J">
            <field name="INSTANCE">.0</field>
            <field name="LOG"></field>
            <field name="SILENT">FALSE</field>
            <field name="PARSEMODE">default</field>
            <field name="ESCAPING">FALSE</field>
            <field name="DISABLE_WEB_PAGE_PREVIEW">FALSE</field>
            <value name="MESSAGE">
              <block type="text_join" id="fqiqkxW3s*o;AX^.wl/6" inline="false">
                <mutation items="3"></mutation>
                <value name="ADD0">
                  <block type="text" id="Aq]X[?e*jd?mS_w#WGk|">
                    <field name="TEXT">Mähroboter: Bitte den Ladeport reinigen! Restliche Lebensdauer: </field>
                  </block>
                </value>
                <value name="ADD1">
                  <block type="on_source" id="Mn+*oQx*UksY~(jawP-^">
                    <field name="ATTR">state.val</field>
                  </block>
                </value>
                <value name="ADD2">
                  <block type="text" id="bI=}1AU#~k]uGm;rgfg4">
                    <field name="TEXT"> % !</field>
                  </block>
                </value>
              </block>
            </value>
            <value name="USERNAME">
              <block type="text" id="Md8Q_Gk@KAU54)+0do$s" disabled-reasons="MANUALLY_DISABLED">
                <field name="TEXT">USER</field>
              </block>
            </value>
          </block>
        </statement>
      </block>
    </statement>
  </block>
</xml>