<xml xmlns="https://developers.google.com/blockly/xml">
<variables>
<variable id="%g/ANJxNOs5Cicx-gOSb">log_info_text</variable>
<variable type="cron" id="anschalten">anschalten</variable>
<variable type="cron" id="abschalten">abschalten</variable>
</variables>
<block type="procedures_defnoreturn" id="WbqpR`y[Qa=l$cY#GDE1" x="88" y="-187">
<mutation>
<arg name="log_info_text" varid="%g/ANJxNOs5Cicx-gOSb"></arg>
</mutation>
<field name="NAME">log_info</field>
<comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
<statement name="STACK">
<block type="debug" id="@uTYL,c*-lg2}`lj``Sp" inline="true">
<field name="Severity">log</field>
<value name="TEXT">
<shadow xmlns="http://www.w3.org/1999/xhtml" type="text">
<field name="TEXT">test</field>
</shadow>
<block type="text_join" id="$-RFSHZtCOSbvJIWRY?O">
<mutation items="4"></mutation>
<value name="ADD0">
<block type="text" id="W%)RLtlj%wD_]OCq4Y2X">
<field name="TEXT">+++ </field>
</block>
</value>
<value name="ADD1">
<block type="text" id="7z?YGm)y_v-7]Y|fJ#v?">
<field name="TEXT">Adapter-start-stop: </field>
</block>
</value>
<value name="ADD2">
<block type="variables_get" id=")jdU}@]knGvpR}p`7ND*">
<field name="VAR" id="%g/ANJxNOs5Cicx-gOSb">log_info_text</field>
</block>
</value>
<value name="ADD3">
<block type="text" id="~:j;:=$LVR6I7Zr]Zt|e">
<field name="TEXT"> +++</field>
</block>
</value>
</block>
</value>
</block>
</statement>
</block>
<block type="comment" id="Fl`6grzg2ed:Abq(acT-" x="88" y="13">
<field name="COMMENT">robonect.0 - Anschalten - 07:55 Uhr</field>
<next>
<block type="schedule_create" id="bzBQ{#NitAXq#e9}cVYW">
<field name="NAME">anschalten</field>
<value name="SCHEDULE">
<shadow type="field_cron" id="m;30qu9`gF:$XXY=`3jZ">
<field name="CRON">{"time":{"exactTime":true,"start":"07:55"},"period":{"days":1}}</field>
</shadow>
</value>
<statement name="STATEMENT">
<block type="controls_if" id="+IR[|cn2SOK7Q:!8`8|9">
<value name="IF0">
<block type="logic_compare" id="tkJ^K?Iz*!U?I4S(=t%j">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="JT$D#Dzwj5U28GqI8VO@">
<field name="ATTR">val</field>
<field name="OID">system.adapter.robonect.0.alive</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id="Ie!31U/lLL?XcsLV,XwL">
<field name="BOOL">FALSE</field>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="comment" id="m=xBUfQaE2d5iR3CGG4t">
<field name="COMMENT">Aktiviere robonect.0</field>
<next>
<block type="exec" id=")cuUEC{k4Gp}WVErjdT;" inline="true">
<mutation xmlns="http://www.w3.org/1999/xhtml" with_statement="false"></mutation>
<field name="WITH_STATEMENT">FALSE</field>
<field name="LOG"></field>
<value name="COMMAND">
<shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="V`po#;p:P_.KUR9.IKEQ">
<field name="TEXT"></field>
</shadow>
<block type="text_join" id="4MPRuA6)hMRb.SpUvC*x">
<mutation items="3"></mutation>
<value name="ADD0">
<block type="text" id="X.EvLr:Cd7O3.5fm[G];">
<field name="TEXT">node /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js </field>
</block>
</value>
<value name="ADD1">
<block type="text" id="w@U]^gbB2Y{EqpMA2{;b">
<field name="TEXT">start </field>
</block>
</value>
<value name="ADD2">
<block type="text" id="W*%{dzBt9/M@pD}!{j%^">
<field name="TEXT">robonect.0</field>
</block>
</value>
</block>
</value>
</block>
</next>
</block>
</statement>
</block>
</statement>
<next>
<block type="comment" id="v[|CgS#.FQ_K?74,36?#">
<field name="COMMENT">robonect.0 - Abschalten - 20:00 Uhr</field>
<next>
<block type="schedule_create" id="DJJ^_k)T(H8-pVtgQ}N+">
<field name="NAME">abschalten</field>
<value name="SCHEDULE">
<shadow type="field_cron" id="G$Wu,C}=f(c[8:C6uPpc">
<field name="CRON">{"time":{"exactTime":true,"start":"20:00"},"period":{"days":1}}</field>
</shadow>
</value>
<statement name="STATEMENT">
<block type="controls_if" id="g01zZHcWwqBr7m5aJuKM">
<value name="IF0">
<block type="logic_compare" id="QPVb+bmm{6nWSTb;T9%D">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="W~B@7B|HD|NBwz6B8MRI">
<field name="ATTR">val</field>
<field name="OID">system.adapter.robonect.0.alive</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id="g0mu^#;IlzsOS4;U*A.`">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="comment" id="BFqXcxo*#(oEf0ulW9zs">
<field name="COMMENT">Deaktiviere robonect.0</field>
<next>
<block type="exec" id="sPuQC~fLz]HOVnZJn)3]" inline="true">
<mutation xmlns="http://www.w3.org/1999/xhtml" with_statement="false"></mutation>
<field name="WITH_STATEMENT">FALSE</field>
<field name="LOG"></field>
<value name="COMMAND">
<shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="V`po#;p:P_.KUR9.IKEQ">
<field name="TEXT"></field>
</shadow>
<block type="text_join" id="5xXj]ArvxeN}/zJqBL8y">
<mutation items="3"></mutation>
<value name="ADD0">
<block type="text" id="DuMf%-=[9$*[@lcrF^I.">
<field name="TEXT">node /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js </field>
</block>
</value>
<value name="ADD1">
<block type="text" id="{~zx{)l=tk-MSgCjs6.0">
<field name="TEXT">stop </field>
</block>
</value>
<value name="ADD2">
<block type="text" id="d9d{(QM6xxHp7*L%s+6r">
<field name="TEXT">robonect.0</field>
</block>
</value>
</block>
</value>
</block>
</next>
</block>
</statement>
</block>
</statement>
<next>
<block type="comment" id="R0KhbI1j$TXRgA17Krc,">
<field name="COMMENT">robonect.0 - dolly ist tagsüber nicht erreichbar</field>
<next>
<block type="on_ext" id="E/rFHyJvBT_VkBU{Z(l2">
<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 xmlns="http://www.w3.org/1999/xhtml" type="field_oid" id="7~6P7qG?h*C%l{sv4d^s">
<field name="oid">ping.0.iobroker-master.192_168_1_75</field>
</shadow>
<block type="text" id="Hb:e+,jt+{=)Oh(!x{;j">
<field name="TEXT">ping.0.dolly</field>
</block>
</value>
<statement name="STATEMENT">
<block type="controls_if" id="/J9vQ26(H#m(SU/;G{$y">
<value name="IF0">
<block type="logic_operation" id="W}*JK4kW8U|;-K,Jl[rE" inline="false">
<field name="OP">AND</field>
<value name="A">
<block type="time_compare_ex" id="a3t2F(q1?x-/TxoR|LI(">
<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">></field>
<value name="START_TIME">
<shadow type="text" id="oNWrle62dX3A)?C7.0yL">
<field name="TEXT">07:54</field>
</shadow>
</value>
</block>
</value>
<value name="B">
<block type="time_compare_ex" id="ZY$f|+PnF(t9b#C/luLa">
<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"><</field>
<value name="START_TIME">
<shadow type="text" id="%ZqsZ?|NCHu-%5YBka,C">
<field name="TEXT">16:56</field>
</shadow>
</value>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="controls_if" id="{*xRIob)S/,|w8OyH#WC">
<mutation elseif="1"></mutation>
<value name="IF0">
<block type="logic_negate" id="v6rXX@+25N:1vCD_?[it">
<value name="BOOL">
<block type="on_source" id=".A4eTP^bSy!Q03K`)?cK">
<field name="ATTR">state.val</field>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="comment" id="ir3rgLex9m{cSn%0,!oc">
<field name="COMMENT">Stop</field>
<next>
<block type="debug" id="pW/YZFQZIDuGzoF/svZH">
<field name="Severity">log</field>
<value name="TEXT">
<shadow type="text" id="U;Ryr~UU.o:H|%s9yWH/">
<field name="TEXT">+++ dolly ist nicht erreichbar - robonect.0 deaktiviert +++</field>
</shadow>
</value>
<next>
<block type="exec" id="r)f@7Ifb6i|}qV@e#_?+" inline="true">
<mutation xmlns="http://www.w3.org/1999/xhtml" with_statement="false"></mutation>
<field name="WITH_STATEMENT">FALSE</field>
<field name="LOG"></field>
<value name="COMMAND">
<shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="V`po#;p:P_.KUR9.IKEQ">
<field name="TEXT"></field>
</shadow>
<block type="text_join" id=":,?cdtV3Sj`@2[g%A~0;">
<mutation items="3"></mutation>
<value name="ADD0">
<block type="text" id="{!dc/rN.jIU4XBnO[8ky">
<field name="TEXT">node /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js </field>
</block>
</value>
<value name="ADD1">
<block type="text" id="ml~#wR.XxQhI@QBGZZBw">
<field name="TEXT">stop </field>
</block>
</value>
<value name="ADD2">
<block type="text" id="TeLuuHuUnK5Gj:vLEU4+">
<field name="TEXT">robonect.0</field>
</block>
</value>
</block>
</value>
</block>
</next>
</block>
</next>
</block>
</statement>
<value name="IF1">
<block type="on_source" id="p8o/]Z;xCLG`7z:j0Hj9">
<field name="ATTR">state.val</field>
</block>
</value>
<statement name="DO1">
<block type="comment" id="XB]bx_orCmcPlq~0[j#}">
<field name="COMMENT">Start</field>
<next>
<block type="debug" id="*as7tA#cg@SZB|t;u4S=">
<field name="Severity">log</field>
<value name="TEXT">
<shadow type="text" id="9rP!kZ+Y!%=pb$LjA%I}">
<field name="TEXT">+++ dolly ist wieder erreichbar - robonect.0 aktiviert +++</field>
</shadow>
</value>
<next>
<block type="exec" id="j3l*4LmRnAFx7riSfv!B" inline="true">
<mutation xmlns="http://www.w3.org/1999/xhtml" with_statement="false"></mutation>
<field name="WITH_STATEMENT">FALSE</field>
<field name="LOG"></field>
<value name="COMMAND">
<shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="V`po#;p:P_.KUR9.IKEQ">
<field name="TEXT"></field>
</shadow>
<block type="text_join" id="}uK$pq}v9HfAaCc-A2AU">
<mutation items="3"></mutation>
<value name="ADD0">
<block type="text" id="o,IR1D.t(p.Yrz#ydOX#">
<field name="TEXT">node /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js </field>
</block>
</value>
<value name="ADD1">
<block type="text" id="MvA6/mhQGvzzlvBUK/MK">
<field name="TEXT">start </field>
</block>
</value>
<value name="ADD2">
<block type="text" id="Glva6ey5F3oyg5_Zh0+?">
<field name="TEXT">robonect.0</field>
</block>
</value>
</block>
</value>
</block>
</next>
</block>
</next>
</block>
</statement>
</block>
</statement>
</block>
</statement>
<next>
<block type="comment" id="]4c+DuBu97,zxU?C#{`d">
<field name="COMMENT">robonect.0 - Skript für Status</field>
<next>
<block type="on_ext" id="S(ApYimTOGcsPm%B.Y{q">
<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 xmlns="http://www.w3.org/1999/xhtml" type="field_oid" id="axe#-JT}-G`f9OCENDmK">
<field name="oid">default</field>
</shadow>
<block type="text" id="HH;Zug2(}X7ae[RDr?Te">
<field name="TEXT">system.adapter.robonect.0.alive</field>
</block>
</value>
<statement name="STATEMENT">
<block type="controls_if" id="qoC=/cs~j``)gTyk%)~o">
<mutation else="1"></mutation>
<value name="IF0">
<block type="on_source" id="*+$tLNw|]o/|O|j4eR8T">
<field name="ATTR">state.val</field>
</block>
</value>
<statement name="DO0">
<block type="comment" id="n*ooP9?gO(99%1cppLqO">
<field name="COMMENT">Starte Skript zum Auslesen der Fehlercodes</field>
<next>
<block type="control" id="#}=y:Y~.VHj=W?44sF5P">
<mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
<field name="OID">javascript.0.scriptEnabled.PRODUKTIV.Garten.Rasenmaeher.01_Status_Auslesen_fuer_VIS</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id="Q?W69Eb7^GP#83~,FG)@">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</next>
</block>
</statement>
<statement name="ELSE">
<block type="comment" id="Yb~g^xq%ug6G}mF$G5p6">
<field name="COMMENT">Stoppe Skript zum Auslesen der Fehlercodes</field>
<next>
<block type="control" id="6iMDW5tZLIJAVj7l=](A">
<mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
<field name="OID">javascript.0.scriptEnabled.PRODUKTIV.Garten.Rasenmaeher.01_Status_Auslesen_fuer_VIS</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id="eq3uoA]Z{NLBNiI,khe[">
<field name="BOOL">FALSE</field>
</block>
</value>
</block>
</next>
</block>
</statement>
</block>
</statement>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</xml>