Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <xml xmlns="http://www.w3.org/1999/xhtml">
- <variables>
- <variable type="" id="5_C1`3}eL8p(evL6R:~P">bt_device_available</variable>
- <variable type="" id="5v$Ich6O~Ar}XBa7kZbH">bt_radar2_restarted</variable>
- <variable type="" id="5IZ@9l2pGuK1Zdp$4E;p">hcidev_reboot</variable>
- <variable type="" id="T4FTbK%~()!_WoMYnKAP">result</variable>
- <variable type="" id="Vm[KKB94!SCH/OD%!S-.">uptime</variable>
- <variable type="" id="ZFelRBlJ_g9q%,c3hw(f">BH100_lastHere</variable>
- <variable type="" id="J+Q,mt_pYGqwC4!LxeFO">Eqiva_lastHere</variable>
- <variable type="undefined" id="hcidev_check_twice">hcidev_check_twice</variable>
- <variable type="undefined" id="timeout_uptime">timeout_uptime</variable>
- <variable type="undefined" id="restart_bt_radar2_c">restart_bt_radar2_c</variable>
- <variable type="undefined" id="timeout_reboot">timeout_reboot</variable>
- <variable type="undefined" id="delay_restart_bt_radar2_c">delay_restart_bt_radar2_c</variable>
- <variable type="undefined" id="reset_hcidev_reboot">reset_hcidev_reboot</variable>
- <variable type="" id="sSWbbk:[R06{-zI6SvGr">bt_restart_2min_result</variable>
- <variable type="undefined" id="timeout_reboot_no_hcidev">timeout_reboot_no_hcidev</variable>
- <variable type="undefined" id="restart_radar2_c">restart_radar2_c</variable>
- <variable type="" id="MJkE#]/wXt==D$85j@iQ">radar2_restart_2min</variable>
- <variable type="undefined" id="telegram_c">telegram_c</variable>
- </variables>
- <block type="schedule" id="wAj2~^A$v9)h`.MIF1SB" x="13" y="12">
- <field name="SCHEDULE">* * * * *</field>
- <statement name="STATEMENT">
- <block type="controls_if" id="B*O-Tc{@uFgc+R^ihdp9">
- <value name="IF0">
- <block type="logic_compare" id="nIuH4OgnA*O!!X~!Wkj:">
- <field name="OP">NEQ</field>
- <value name="A">
- <block type="get_value" id="sYL.~,GJt!}Zm)~4/5BR">
- <field name="ATTR">val</field>
- <field name="OID">system.adapter.radar2.0.connected</field>
- </block>
- </value>
- <value name="B">
- <block type="logic_boolean" id="Yq4j.7u6a?Yi/b/Hc.u@">
- <field name="BOOL">FALSE</field>
- </block>
- </value>
- </block>
- </value>
- <statement name="DO0">
- <block type="controls_if" id="NVlqi2Lj0e[YwOy4//@^">
- <mutation else="1"></mutation>
- <value name="IF0">
- <block type="logic_operation" id="Ca#{?ha:UtIFz~6b2d3," inline="false">
- <field name="OP">AND</field>
- <value name="A">
- <block type="logic_operation" id="K7k~``9mO$c;M?pXOQ|k" inline="false">
- <field name="OP">AND</field>
- <value name="A">
- <block type="logic_compare" id="aD9K/T{PnY/aGfStvu=8">
- <field name="OP">EQ</field>
- <value name="A">
- <block type="get_value" id="vx306/Ty{bETV!g_l)To">
- <field name="ATTR">val</field>
- <field name="OID">radar2.0.BH100._here</field>
- </block>
- </value>
- <value name="B">
- <block type="logic_boolean" id="-Yf[jh,[O]P+@9XY_msd">
- <field name="BOOL">FALSE</field>
- </block>
- </value>
- </block>
- </value>
- <value name="B">
- <block type="logic_compare" id="~B_7Ci|E`Z;%+Rm{(/,;">
- <field name="OP">GT</field>
- <value name="A">
- <block type="math_arithmetic" id="Z7(ERmWQJ7~#UinP7q}F">
- <field name="OP">MINUS</field>
- <value name="A">
- <shadow type="math_number" id="e6g5/epN8kY.S@Fv+x3`">
- <field name="NUM">1</field>
- </shadow>
- <block type="time_get" id="2s@d6nyV^qw*{%26^5Vp">
- <mutation format="false" language="false"></mutation>
- <field name="OPTION">object</field>
- </block>
- </value>
- <value name="B">
- <shadow type="math_number" id="E,@{82Hq$KCv#+S7)E(8">
- <field name="NUM">1</field>
- </shadow>
- <block type="get_value" id=";Za|pjwY3:_-UoUl6q=X">
- <field name="ATTR">lc</field>
- <field name="OID">radar2.0.BH100._here</field>
- </block>
- </value>
- </block>
- </value>
- <value name="B">
- <block type="math_number" id="_;Dg[yM@hlp)0XPX2hUw">
- <field name="NUM">90000</field>
- </block>
- </value>
- </block>
- </value>
- </block>
- </value>
- <value name="B">
- <block type="logic_operation" id="odo7JbZOckdQvES#nRAu" inline="false">
- <field name="OP">AND</field>
- <value name="A">
- <block type="logic_compare" id="BUbc03A-QMLcaUm|(j$Z">
- <field name="OP">EQ</field>
- <value name="A">
- <block type="get_value" id=":.mE{.irq,6!s!3X]iX%">
- <field name="ATTR">val</field>
- <field name="OID">radar2.0.Eqiva_Smart_Lock._here</field>
- </block>
- </value>
- <value name="B">
- <block type="logic_boolean" id="RD3j-VqfJ_9`fP5y{+^b">
- <field name="BOOL">FALSE</field>
- </block>
- </value>
- </block>
- </value>
- <value name="B">
- <block type="logic_compare" id="jYL*P9/FxmnHcive@K(j">
- <field name="OP">GT</field>
- <value name="A">
- <block type="math_arithmetic" id="z7o+XyAC7rjd@m*}7VP2">
- <field name="OP">MINUS</field>
- <value name="A">
- <shadow type="math_number" id="e6g5/epN8kY.S@Fv+x3`">
- <field name="NUM">1</field>
- </shadow>
- <block type="time_get" id="MY-rw1$]2xcUBZI(t.+S">
- <mutation format="false" language="false"></mutation>
- <field name="OPTION">object</field>
- </block>
- </value>
- <value name="B">
- <shadow type="math_number" id="E,@{82Hq$KCv#+S7)E(8">
- <field name="NUM">1</field>
- </shadow>
- <block type="get_value" id="MXVk}yeI9ugGgG[[IWu~">
- <field name="ATTR">lc</field>
- <field name="OID">radar2.0.Eqiva_Smart_Lock._here</field>
- </block>
- </value>
- </block>
- </value>
- <value name="B">
- <block type="math_number" id="5(H_^FQ?fXRY8-f%I3|4">
- <field name="NUM">90000</field>
- </block>
- </value>
- </block>
- </value>
- </block>
- </value>
- </block>
- </value>
- <statement name="DO0">
- <block type="exec" id="V9E5,tLWt3~3J/7eNp?X">
- <mutation with_statement="true"></mutation>
- <field name="WITH_STATEMENT">TRUE</field>
- <field name="LOG"></field>
- <value name="COMMAND">
- <shadow type="text" id="?l5!OmM(Argqb8hp(s[A">
- <field name="TEXT">hcitool dev</field>
- </shadow>
- </value>
- <statement name="STATEMENT">
- <block type="variables_set" id=")~r*5:EF#XZDC~.vfY#x">
- <field name="VAR" id="5_C1`3}eL8p(evL6R:~P" variabletype="">bt_device_available</field>
- <value name="VALUE">
- <block type="logic_compare" id="oI@v:F%CkHD5q+`z@O$E">
- <field name="OP">GT</field>
- <value name="A">
- <block type="text_indexOf" id="Z@#/gJDYz@C/2kkIo!2m">
- <field name="END">FIRST</field>
- <value name="VALUE">
- <block type="variables_get" id="ux*]j=ur_[B3ii/o:koV">
- <field name="VAR" id="T4FTbK%~()!_WoMYnKAP" variabletype="">result</field>
- </block>
- </value>
- <value name="FIND">
- <shadow type="text" id="N6fKzUn3.-Gsg;G0{0-k">
- <field name="TEXT">hci0</field>
- </shadow>
- </value>
- </block>
- </value>
- <value name="B">
- <block type="math_number" id="Id3Q,|:22aX:$PM{qn-_">
- <field name="NUM">0</field>
- </block>
- </value>
- </block>
- </value>
- <next>
- <block type="debug" id="O6]+4yhvqxhTM1-sP04(">
- <field name="Severity">log</field>
- <value name="TEXT">
- <shadow type="text" id="X19X}AyP[9eXXMVij3yn">
- <field name="TEXT">test</field>
- </shadow>
- <block type="text_join" id="]]yh*.GP{l5D)PF;1?Pz">
- <mutation items="2"></mutation>
- <value name="ADD0">
- <block type="text" id="78/L/wVNoW^V^PDlxA%F">
- <field name="TEXT">*** hcitool dev: </field>
- </block>
- </value>
- <value name="ADD1">
- <block type="variables_get" id="`@(t}Y!q}BUvA(iUu-:J">
- <field name="VAR" id="5_C1`3}eL8p(evL6R:~P" variabletype="">bt_device_available</field>
- </block>
- </value>
- </block>
- </value>
- <next>
- <block type="exec" id="L3VX[wgjik)S8wm6J+~B">
- <mutation with_statement="true"></mutation>
- <field name="WITH_STATEMENT">TRUE</field>
- <field name="LOG"></field>
- <value name="COMMAND">
- <shadow type="text" id="5EBw/P53rRfu~5F]IGS]">
- <field name="TEXT">uptime -s</field>
- </shadow>
- </value>
- <statement name="STATEMENT">
- <block type="variables_set" id="808Olj~B56b8hc@fD[0k">
- <field name="VAR" id="Vm[KKB94!SCH/OD%!S-." variabletype="">uptime</field>
- <value name="VALUE">
- <block type="text_trim" id="-7c@(+-iAhu0z_KE3CkU">
- <field name="MODE">BOTH</field>
- <value name="TEXT">
- <shadow type="text" id="w0@KgDt:g(~kZ(fO9`Jx">
- <field name="TEXT">abc</field>
- </shadow>
- <block type="variables_get" id="S~aM]iK*XBK?sB/]H;`X">
- <field name="VAR" id="T4FTbK%~()!_WoMYnKAP" variabletype="">result</field>
- </block>
- </value>
- </block>
- </value>
- <next>
- <block type="debug" id="~1w$IA}f^k^qI0dM[`z~">
- <field name="Severity">log</field>
- <value name="TEXT">
- <shadow type="text" id="ZFc%(Mxwj{dyn};*[o!F">
- <field name="TEXT">test</field>
- </shadow>
- <block type="text_join" id="Tfx:~)vK?HQlw[},?y_{">
- <mutation items="2"></mutation>
- <value name="ADD0">
- <block type="text" id="%#%q_Pyz#ub},q/A!.lt">
- <field name="TEXT">*** Uptime: </field>
- </block>
- </value>
- <value name="ADD1">
- <block type="variables_get" id="eu)Dk[UM/2_p/|E!$}=c">
- <field name="VAR" id="Vm[KKB94!SCH/OD%!S-." variabletype="">uptime</field>
- </block>
- </value>
- </block>
- </value>
- <next>
- <block type="controls_if" id="$4)12-P)y+C}Q3yRPpej">
- <mutation else="1"></mutation>
- <value name="IF0">
- <block type="variables_get" id="fD9%}|*oMezL7_bhe{f;">
- <field name="VAR" id="5_C1`3}eL8p(evL6R:~P" variabletype="">bt_device_available</field>
- </block>
- </value>
- <statement name="DO0">
- <block type="variables_set" id="8:^xcCnS}~ikz0dak6vE">
- <field name="VAR" id="ZFelRBlJ_g9q%,c3hw(f" variabletype="">BH100_lastHere</field>
- <value name="VALUE">
- <block type="math_round" id="n-CPU~h@Mph=N-%2YRO2">
- <field name="OP">ROUND</field>
- <value name="NUM">
- <shadow type="math_number" id="[YXgR%JvJ%zt!b9FZo}U">
- <field name="NUM">3.1</field>
- </shadow>
- <block type="math_arithmetic" id="q1P7}Gib++?P6Y9#eD)}">
- <field name="OP">DIVIDE</field>
- <value name="A">
- <shadow type="math_number" id="a9Gd[n9W(`L7ybwz]*/.">
- <field name="NUM">1</field>
- </shadow>
- <block type="math_arithmetic" id="DCm=,Y9Jwg]cuN?%MgN{" inline="false">
- <field name="OP">MINUS</field>
- <value name="A">
- <shadow type="math_number" id="r)~{ZI@;O5ECrK5PbM?A">
- <field name="NUM">1</field>
- </shadow>
- <block type="time_get" id="xuzu@Vm/yV{ZNRn9;%jx">
- <mutation format="false" language="false"></mutation>
- <field name="OPTION">object</field>
- </block>
- </value>
- <value name="B">
- <shadow type="math_number" id="VQaRR:5=:vXn)qrf3{4n">
- <field name="NUM">1</field>
- </shadow>
- <block type="get_value" id="w3h}{_9LA%MU%_nd/]#q">
- <field name="ATTR">ts</field>
- <field name="OID">radar2.0.BH100._lastHere</field>
- </block>
- </value>
- </block>
- </value>
- <value name="B">
- <shadow type="math_number" id="wuU]n|#=6dukFA8#.D@Z">
- <field name="NUM">1000</field>
- </shadow>
- </value>
- </block>
- </value>
- </block>
- </value>
- <next>
- <block type="variables_set" id="_$oUD%l`gjviYoouHKxQ">
- <field name="VAR" id="J+Q,mt_pYGqwC4!LxeFO" variabletype="">Eqiva_lastHere</field>
- <value name="VALUE">
- <block type="math_round" id="enz725S:?1B1Q$|$1r*w">
- <field name="OP">ROUND</field>
- <value name="NUM">
- <shadow type="math_number" id="[YXgR%JvJ%zt!b9FZo}U">
- <field name="NUM">3.1</field>
- </shadow>
- <block type="math_arithmetic" id="O+TaHp$7Glj#A-^[5O(w">
- <field name="OP">DIVIDE</field>
- <value name="A">
- <shadow type="math_number" id="a9Gd[n9W(`L7ybwz]*/.">
- <field name="NUM">1</field>
- </shadow>
- <block type="math_arithmetic" id="1HdjODb-.CZh0N{xxl5@" inline="false">
- <field name="OP">MINUS</field>
- <value name="A">
- <shadow type="math_number" id="r)~{ZI@;O5ECrK5PbM?A">
- <field name="NUM">1</field>
- </shadow>
- <block type="time_get" id="]u0e`TLQKz0i%lrRMuf)">
- <mutation format="false" language="false"></mutation>
- <field name="OPTION">object</field>
- </block>
- </value>
- <value name="B">
- <shadow type="math_number" id="VQaRR:5=:vXn)qrf3{4n">
- <field name="NUM">1</field>
- </shadow>
- <block type="get_value" id="ZczD^|7-S|m;gnDohfJX">
- <field name="ATTR">ts</field>
- <field name="OID">radar2.0.Eqiva_Smart_Lock._lastHere</field>
- </block>
- </value>
- </block>
- </value>
- <value name="B">
- <shadow type="math_number" id="^ovE$NH]s+z6QS/b}cJl">
- <field name="NUM">1000</field>
- </shadow>
- </value>
- </block>
- </value>
- </block>
- </value>
- <next>
- <block type="controls_if" id="kGra*YKL?sQ.zGH)V)WG">
- <value name="IF0">
- <block type="logic_compare" id="*,[X_x[BO,$%q785w`v~">
- <field name="OP">NEQ</field>
- <value name="A">
- <block type="variables_get" id="c76HwC;oF5ImD`t^EB[b">
- <field name="VAR" id="5v$Ich6O~Ar}XBa7kZbH" variabletype="">bt_radar2_restarted</field>
- </block>
- </value>
- <value name="B">
- <block type="logic_boolean" id="R%0~P)*l~!Bj]RuDEZ)L">
- <field name="BOOL">TRUE</field>
- </block>
- </value>
- </block>
- </value>
- <statement name="DO0">
- <block type="variables_set" id="MxRxtjrQvX^Jc)]*cIDt">
- <field name="VAR" id="5v$Ich6O~Ar}XBa7kZbH" variabletype="">bt_radar2_restarted</field>
- <value name="VALUE">
- <block type="logic_boolean" id="`0OTSe]ZR0=Igu;f(rLn">
- <field name="BOOL">TRUE</field>
- </block>
- </value>
- <next>
- <block type="timeouts_settimeout" id="hlq8`-i:]T3J^j9BIfPz">
- <field name="NAME">timeout_uptime</field>
- <field name="DELAY">1000</field>
- <field name="UNIT">ms</field>
- <statement name="STATEMENT">
- <block type="controls_if" id="a54A6SNRmK(-u:[8?6EL">
- <mutation else="1"></mutation>
- <value name="IF0">
- <block type="logic_operation" id="OY]8A1xCgkMzo:jU.Vun" inline="false">
- <field name="OP">AND</field>
- <value name="A">
- <block type="logic_operation" id="`~`@Q)(qL%)fvc.B^:a|" inline="false">
- <field name="OP">AND</field>
- <value name="A">
- <block type="logic_compare" id="Y|uRRISk9RL+B(csqTaG">
- <field name="OP">GT</field>
- <value name="A">
- <block type="math_arithmetic" id="5fKG+4Fy?qC?/im--e=1">
- <field name="OP">MINUS</field>
- <value name="A">
- <shadow type="math_number" id="r)~{ZI@;O5ECrK5PbM?A">
- <field name="NUM">1</field>
- </shadow>
- <block type="time_get" id="$[W$EU=5~L~6tEBEi|C$">
- <mutation format="false" language="false"></mutation>
- <field name="OPTION">object</field>
- </block>
- </value>
- <value name="B">
- <shadow type="math_number" id="VQaRR:5=:vXn)qrf3{4n">
- <field name="NUM">1</field>
- </shadow>
- <block type="get_value" id="W,|rsOvRcJoGg23P/KO.">
- <field name="ATTR">ts</field>
- <field name="OID">radar2.0.BH100._lastHere</field>
- </block>
- </value>
- </block>
- </value>
- <value name="B">
- <block type="math_number" id="x_p{I{j3xlG%=eQ}2W/~">
- <field name="NUM">1260000</field>
- </block>
- </value>
- </block>
- </value>
- <value name="B">
- <block type="logic_compare" id="_VUQPIHkAIt6d-.Gb6E4">
- <field name="OP">GT</field>
- <value name="A">
- <block type="math_arithmetic" id="M;[yW#t3]P6GS|iH(;[g">
- <field name="OP">MINUS</field>
- <value name="A">
- <shadow type="math_number" id="r)~{ZI@;O5ECrK5PbM?A">
- <field name="NUM">1</field>
- </shadow>
- <block type="time_get" id="6lmN)PZ,JxXB0Da[Y.#N">
- <mutation format="false" language="false"></mutation>
- <field name="OPTION">object</field>
- </block>
- </value>
- <value name="B">
- <shadow type="math_number" id="VQaRR:5=:vXn)qrf3{4n">
- <field name="NUM">1</field>
- </shadow>
- <block type="get_value" id="kGeIbWbhIG)jn14_Zs,U">
- <field name="ATTR">ts</field>
- <field name="OID">radar2.0.Eqiva_Smart_Lock._lastHere</field>
- </block>
- </value>
- </block>
- </value>
- <value name="B">
- <block type="math_number" id="A=dJ86:%dY_kQNZE+wUc">
- <field name="NUM">1260000</field>
- </block>
- </value>
- </block>
- </value>
- </block>
- </value>
- <value name="B">
- <block type="logic_compare" id="?6.7llrNo@5WK$k.ojAO">
- <field name="OP">GT</field>
- <value name="A">
- <block type="math_arithmetic" id="Knym%sq,6Tn!XRyqL[|b">
- <field name="OP">MINUS</field>
- <value name="A">
- <shadow type="math_number" id="O!]$BI)wVvcC@}2$Ivi(">
- <field name="NUM">1</field>
- </shadow>
- <block type="time_get" id=".Er+ce/SAQMK,|nTN%TB">
- <mutation format="false" language="false"></mutation>
- <field name="OPTION">object</field>
- </block>
- </value>
- <value name="B">
- <shadow type="math_number" id="d(ITQW@U(0`[m*hF|g#R">
- <field name="NUM">1</field>
- </shadow>
- <block type="convert_from_date" id=".$ac~/v^1Yv.Wp/i[aI-">
- <mutation format="false" language="false"></mutation>
- <field name="OPTION">object</field>
- <value name="VALUE">
- <block type="variables_get" id="Tk/-{ZlRo5|]:~ukaLHF">
- <field name="VAR" id="Vm[KKB94!SCH/OD%!S-." variabletype="">uptime</field>
- </block>
- </value>
- </block>
- </value>
- </block>
- </value>
- <value name="B">
- <block type="math_number" id="q*TZ4hDHK3wa)F40@zvq">
- <field name="NUM">3600000</field>
- </block>
- </value>
- </block>
- </value>
- </block>
- </value>
- <statement name="DO0">
- <block type="telegram" id="P~_k7)B?12946mA)x%^a">
- <field name="INSTANCE"></field>
- <field name="LOG">log</field>
- <field name="SILENT">FALSE</field>
- <field name="PARSEMODE">default</field>
- <value name="MESSAGE">
- <shadow type="text" id="k2W)N)b+ed8OB,fdP0mi">
- <field name="TEXT">Ausfall Bluetooth</field>
- </shadow>
- <block type="text_join" id="mOo$=Oavg?)KskYt~44B">
- <mutation items="16"></mutation>
- <value name="ADD0">
- <block type="text" id="Z7Cxs$E.CfEC~V:(dfMV">
- <field name="TEXT">BH100+Eqiva >21 Minuten offline</field>
- </block>
- </value>
- <value name="ADD1">
- <block type="text_newline" id="K:s!?b}Wj*5RR492,dZk">
- <field name="Type">\n</field>
- </block>
- </value>
- <value name="ADD2">
- <block type="text" id="ltkoqt=Vbd]#pOp|{[QG">
- <field name="TEXT">BH100: </field>
- </block>
- </value>
- <value name="ADD3">
- <block type="variables_get" id="X?G*9BOVt*wL5FgHxGg/">
- <field name="VAR" id="ZFelRBlJ_g9q%,c3hw(f" variabletype="">BH100_lastHere</field>
- </block>
- </value>
- <value name="ADD4">
- <block type="text" id="ylgxciD;gr#z#6)6|N/?">
- <field name="TEXT"> s / Eqiva: </field>
- </block>
- </value>
- <value name="ADD5">
- <block type="variables_get" id="A%8aLJ{J(T65eRTQ:9{t">
- <field name="VAR" id="J+Q,mt_pYGqwC4!LxeFO" variabletype="">Eqiva_lastHere</field>
- </block>
- </value>
- <value name="ADD6">
- <block type="text" id="569(gVTZziU~RdK6WN(:">
- <field name="TEXT"> s</field>
- </block>
- </value>
- <value name="ADD7">
- <block type="text_newline" id="hUNKCJw2]r0K%3yI-0,g">
- <field name="Type">\n</field>
- </block>
- </value>
- <value name="ADD8">
- <block type="text" id="up_%QwwljIR1]1n`jq/W">
- <field name="TEXT">hcitool dev: </field>
- </block>
- </value>
- <value name="ADD9">
- <block type="variables_get" id="bbsYB_Ii5I?lpN_D!5}#">
- <field name="VAR" id="5_C1`3}eL8p(evL6R:~P" variabletype="">bt_device_available</field>
- </block>
- </value>
- <value name="ADD10">
- <block type="text_newline" id="F}lB[%5k-$ZyxWrf_$@N">
- <field name="Type">\n</field>
- </block>
- </value>
- <value name="ADD11">
- <block type="text_newline" id="!v]jDpY!35ttZ5`ssjzH">
- <field name="Type">\n</field>
- </block>
- </value>
- <value name="ADD12">
- <block type="text" id="7go_[YJ2%HQuJ)WP!*}i">
- <field name="TEXT">letzter Systemstart: </field>
- </block>
- </value>
- <value name="ADD13">
- <block type="variables_get" id="2n2oPR@pDCpA,4|`llk5">
- <field name="VAR" id="Vm[KKB94!SCH/OD%!S-." variabletype="">uptime</field>
- </block>
- </value>
- <value name="ADD14">
- <block type="text_newline" id="GLL|O?(=%|5Mq)I@eVI?">
- <field name="Type">\n</field>
- </block>
- </value>
- <value name="ADD15">
- <block type="text" id="um:q`hf.8}Zb%wv::]0N">
- <field name="TEXT">System wird neu gestartet</field>
- </block>
- </value>
- </block>
- </value>
- <value name="USERNAME">
- <block type="text" id="pu(a^,)^3=61TfpoS_si">
- <field name="TEXT">Tom</field>
- </block>
- </value>
- <next>
- <block type="update" id="+A]!m3WIvx}F;Q~G7gYW">
- <mutation delay_input="false"></mutation>
- <field name="OID">javascript.0.Objects.Status.Adapter_Restarts</field>
- <field name="WITH_DELAY">FALSE</field>
- <value name="VALUE">
- <block type="text_join" id="tEJ^J1G}|.@^3.6PT?rB">
- <mutation items="2"></mutation>
- <value name="ADD0">
- <block type="text" id=")*#AhDxZzz}Flb3Y^+lz">
- <field name="TEXT">Reboot: BH100+Eqiva >21 Minuten offline, letzter ioBroker Neustart: </field>
- </block>
- </value>
- <value name="ADD1">
- <block type="convert_from_date" id="#~yCcICmyQZasO/C3Db~">
- <mutation format="true" language="false"></mutation>
- <field name="OPTION">custom</field>
- <field name="FORMAT">JJJJ-MM-TT SS:mm:ss</field>
- <value name="VALUE">
- <block type="get_value" id=":mpLWc{Jk;w;#efp[!3C">
- <field name="ATTR">lc</field>
- <field name="OID">system.host.BT3-PRO.alive</field>
- </block>
- </value>
- </block>
- </value>
- </block>
- </value>
- <next>
- <block type="timeouts_settimeout" id="e6Qf!^l?6HZN(_wF%5b[">
- <field name="NAME">timeout_reboot</field>
- <field name="DELAY">5000</field>
- <field name="UNIT">ms</field>
- <statement name="STATEMENT">
- <block type="exec" id="+`v`|vZGV6F8r0|UPxoJ">
- <mutation with_statement="false"></mutation>
- <field name="WITH_STATEMENT">FALSE</field>
- <field name="LOG">log</field>
- <value name="COMMAND">
- <shadow type="text" id="KX}LQvFkn1(|GhvfTKZd">
- <field name="TEXT">/opt/iobroker_user_data/iobroker_stop_reboot.sh</field>
- </shadow>
- </value>
- </block>
- </statement>
- </block>
- </next>
- </block>
- </next>
- </block>
- </statement>
- <statement name="ELSE">
- <block type="debug" id="T!x^I8]wr};3jKS*~v.L">
- <field name="Severity">log</field>
- <value name="TEXT">
- <shadow type="text" id="1Wl4;e.rFj$0L4#rV`Vk">
- <field name="TEXT"></field>
- </shadow>
- <block type="text_join" id="me7n_7ZANct_UZg;l_Qi">
- <mutation items="6"></mutation>
- <value name="ADD0">
- <block type="text" id="yhAKl${y*eqN64_g?5QE">
- <field name="TEXT">*** BT Geräte offline </field>
- </block>
- </value>
- <value name="ADD1">
- <block type="text" id="QBwhnvESm)}_XbEk5_e5">
- <field name="TEXT">BH100: </field>
- </block>
- </value>
- <value name="ADD2">
- <block type="variables_get" id=".}0Me+Th]DEg{[i_Z)[b">
- <field name="VAR" id="ZFelRBlJ_g9q%,c3hw(f" variabletype="">BH100_lastHere</field>
- </block>
- </value>
- <value name="ADD3">
- <block type="text" id="+@3*:j9MK`nNbn~IEN!3">
- <field name="TEXT"> s / Eqiva: </field>
- </block>
- </value>
- <value name="ADD4">
- <block type="variables_get" id="FChYZV:*%Kah$vLaZ?gt">
- <field name="VAR" id="J+Q,mt_pYGqwC4!LxeFO" variabletype="">Eqiva_lastHere</field>
- </block>
- </value>
- <value name="ADD5">
- <block type="text" id="3=5D7adpGe!||W|HkK[D">
- <field name="TEXT"> s</field>
- </block>
- </value>
- </block>
- </value>
- <next>
- <block type="timeouts_settimeout" id="TgSzZh@Pyc%$9bq%L-;U">
- <field name="NAME">restart_bt_radar2_c</field>
- <field name="DELAY">30</field>
- <field name="UNIT">sec</field>
- <statement name="STATEMENT">
- <block type="exec" id="sP7S5)%0eF0neh_IC={N">
- <mutation with_statement="true"></mutation>
- <field name="WITH_STATEMENT">TRUE</field>
- <field name="LOG">log</field>
- <value name="COMMAND">
- <shadow type="text" id="|u|1~wtaE7By|ijq/23,">
- <field name="TEXT">/opt/iobroker_user_data/restart_bluetooth.sh</field>
- </shadow>
- </value>
- <statement name="STATEMENT">
- <block type="variables_set" id="qUpY9g0FT+;mymGaM#Cx">
- <field name="VAR" id="sSWbbk:[R06{-zI6SvGr" variabletype="">bt_restart_2min_result</field>
- <value name="VALUE">
- <block type="variables_get" id="(t*v$#`4n[PJDT(VeK]o">
- <field name="VAR" id="T4FTbK%~()!_WoMYnKAP" variabletype="">result</field>
- </block>
- </value>
- <next>
- <block type="debug" id="1FHW7gzw|JG.3vV/c@rk">
- <field name="Severity">log</field>
- <value name="TEXT">
- <shadow type="text" id="gQC+i,3lmR(}Qz~rczeg">
- <field name="TEXT">test</field>
- </shadow>
- <block type="text_join" id="j^gEObchj)xL-jzF+hCY">
- <mutation items="2"></mutation>
- <value name="ADD0">
- <block type="text" id="nnYf#O:m~9Ff;Rq-m|[2">
- <field name="TEXT">*** Reset BT Modul (BH100+Eqiva 90 Sek offline): </field>
- </block>
- </value>
- <value name="ADD1">
- <block type="variables_get" id="ugSu*(f(8~9ddo;Qv!Mg">
- <field name="VAR" id="sSWbbk:[R06{-zI6SvGr" variabletype="">bt_restart_2min_result</field>
- </block>
- </value>
- </block>
- </value>
- <next>
- <block type="exec" id="ar~^H[l8R5=J*/MllOb[">
- <mutation with_statement="false"></mutation>
- <field name="WITH_STATEMENT">FALSE</field>
- <field name="LOG">log</field>
- <value name="COMMAND">
- <shadow type="text" id="W/L;HgRUeo}Y0*q|ZOSv">
- <field name="TEXT">sudo pkill -f io.radar2.0</field>
- </shadow>
- <block type="text" id="w_2W81=}ef@.owdXJG-1">
- <field name="TEXT">sudo kill -9 $(pidof io.radar2.0)</field>
- </block>
- </value>
- <next>
- <block type="timeouts_settimeout" id="cRtX6TRj?t}QfyG2sLv*">
- <field name="NAME">restart_radar2_c</field>
- <field name="DELAY">5000</field>
- <field name="UNIT">ms</field>
- <statement name="STATEMENT">
- <block type="exec" id="10QbU{/4LVajA*+^N|[X">
- <mutation with_statement="true"></mutation>
- <field name="WITH_STATEMENT">TRUE</field>
- <field name="LOG">log</field>
- <value name="COMMAND">
- <shadow type="text" id="6`[[sr(a|BHPuVU!g|me">
- <field name="TEXT">iobroker restart radar2.0</field>
- </shadow>
- </value>
- <statement name="STATEMENT">
- <block type="variables_set" id="kM`RyKCL-9pwQdja)vSU">
- <field name="VAR" id="MJkE#]/wXt==D$85j@iQ" variabletype="">radar2_restart_2min</field>
- <value name="VALUE">
- <block type="variables_get" id="e2mS[FwmR5:WWY$vzbL+">
- <field name="VAR" id="T4FTbK%~()!_WoMYnKAP" variabletype="">result</field>
- </block>
- </value>
- <next>
- <block type="debug" id="vBUGQy]kV(Uu:ADMR*N7">
- <field name="Severity">log</field>
- <value name="TEXT">
- <shadow type="text" id="xv@`^H8nOv^T+f:pb-/#">
- <field name="TEXT">test</field>
- </shadow>
- <block type="text_join" id="1UDLo717?xB7ts)$3yO:">
- <mutation items="2"></mutation>
- <value name="ADD0">
- <block type="text" id="M|/sy!A?gZHA1*5GnsR[">
- <field name="TEXT">*** radar2 Adapter Restart (BH100+Eqiva 90 Sek offline): </field>
- </block>
- </value>
- <value name="ADD1">
- <block type="variables_get" id="Uw|*}qVMEgG[(MkjW`lA">
- <field name="VAR" id="MJkE#]/wXt==D$85j@iQ" variabletype="">radar2_restart_2min</field>
- </block>
- </value>
- </block>
- </value>
- <next>
- <block type="timeouts_settimeout" id="zup[i)VsZ,32sqOu?Nv{">
- <field name="NAME">telegram_c</field>
- <field name="DELAY">5000</field>
- <field name="UNIT">ms</field>
- <statement name="STATEMENT">
- <block type="telegram" id=":Q#X61~*}6^iEIvc@eOp">
- <field name="INSTANCE"></field>
- <field name="LOG">log</field>
- <field name="SILENT">FALSE</field>
- <field name="PARSEMODE">default</field>
- <value name="MESSAGE">
- <shadow type="text" id="k2W)N)b+ed8OB,fdP0mi">
- <field name="TEXT">Ausfall Bluetooth</field>
- </shadow>
- <block type="text_join" id=".mJO`Ih)UIu}CDSiJ;5]">
- <mutation items="12"></mutation>
- <value name="ADD0">
- <block type="text" id="syI{8G]qq_4ggA[S{5hC">
- <field name="TEXT">BH100+Eqiva 90 Sek offline</field>
- </block>
- </value>
- <value name="ADD1">
- <block type="text_newline" id="Y}XlYAGOw%Y9(b~,naQT">
- <field name="Type">\n</field>
- </block>
- </value>
- <value name="ADD2">
- <block type="variables_get" id="*B7LShCx:CAC1YWa,QQ?">
- <field name="VAR" id="ZFelRBlJ_g9q%,c3hw(f" variabletype="">BH100_lastHere</field>
- </block>
- </value>
- <value name="ADD3">
- <block type="text" id="^[wRv^3_$l|LiTBT1)jp">
- <field name="TEXT"> & </field>
- </block>
- </value>
- <value name="ADD4">
- <block type="variables_get" id="MXUT@3HQKSnpq#IhxNI7">
- <field name="VAR" id="J+Q,mt_pYGqwC4!LxeFO" variabletype="">Eqiva_lastHere</field>
- </block>
- </value>
- <value name="ADD5">
- <block type="text_newline" id=".d!ONBD_A86KY/YrG=B(">
- <field name="Type">\n</field>
- </block>
- </value>
- <value name="ADD6">
- <block type="text" id="%T/^QixtDMuy$_c(`HK,">
- <field name="TEXT">hcitool dev: </field>
- </block>
- </value>
- <value name="ADD7">
- <block type="variables_get" id="/QeJmQQN{85~%/q~=|.7">
- <field name="VAR" id="5_C1`3}eL8p(evL6R:~P" variabletype="">bt_device_available</field>
- </block>
- </value>
- <value name="ADD8">
- <block type="text_newline" id="ox;N34roPy}3(.g}4*~{">
- <field name="Type">\n</field>
- </block>
- </value>
- <value name="ADD9">
- <block type="variables_get" id=".?LGP_;l*B6d:EkO0Ap8">
- <field name="VAR" id="sSWbbk:[R06{-zI6SvGr" variabletype="">bt_restart_2min_result</field>
- </block>
- </value>
- <value name="ADD10">
- <block type="text_newline" id="NX2+w=#|pL$ghG+A$jbD">
- <field name="Type">\n</field>
- </block>
- </value>
- <value name="ADD11">
- <block type="variables_get" id="(=2NE3,20|/y#[DS1dxb">
- <field name="VAR" id="MJkE#]/wXt==D$85j@iQ" variabletype="">radar2_restart_2min</field>
- </block>
- </value>
- </block>
- </value>
- <value name="USERNAME">
- <block type="text" id="8IlPmiEFL$W41(:Hg$PH">
- <field name="TEXT">Tom</field>
- </block>
- </value>
- <next>
- <block type="update" id="C-kyn?7E-FKy}W)8AMZe">
- <mutation delay_input="false"></mutation>
- <field name="OID">javascript.0.Objects.Status.Adapter_Restarts</field>
- <field name="WITH_DELAY">FALSE</field>
- <value name="VALUE">
- <block type="text_join" id="B10f8|l8Wj`[U|VPwV;," inline="false">
- <mutation items="3"></mutation>
- <value name="ADD0">
- <block type="variables_get" id="-XhMH*(hgJQj::eq#g8]">
- <field name="VAR" id="sSWbbk:[R06{-zI6SvGr" variabletype="">bt_restart_2min_result</field>
- </block>
- </value>
- <value name="ADD1">
- <block type="text" id="N2D[#iCOb3BQGyVAlwB2">
- <field name="TEXT"> / </field>
- </block>
- </value>
- <value name="ADD2">
- <block type="variables_get" id="n^)a2EA=w|Iv:iUeBg^q">
- <field name="VAR" id="MJkE#]/wXt==D$85j@iQ" variabletype="">radar2_restart_2min</field>
- </block>
- </value>
- </block>
- </value>
- </block>
- </next>
- </block>
- </statement>
- </block>
- </next>
- </block>
- </next>
- </block>
- </statement>
- </block>
- </statement>
- </block>
- </next>
- </block>
- </next>
- </block>
- </next>
- </block>
- </statement>
- </block>
- </statement>
- <next>
- <block type="timeouts_settimeout" id="Nj;Mcg;7cF1}F(gStFX7">
- <field name="NAME">delay_restart_bt_radar2_c</field>
- <field name="DELAY">10</field>
- <field name="UNIT">min</field>
- <statement name="STATEMENT">
- <block type="variables_set" id="sVZ/rD:ji=/;b/{wfwz{">
- <field name="VAR" id="5v$Ich6O~Ar}XBa7kZbH" variabletype="">bt_radar2_restarted</field>
- <value name="VALUE">
- <block type="logic_boolean" id="VpDo0s9hHsV7$p*ym5}y">
- <field name="BOOL">FALSE</field>
- </block>
- </value>
- </block>
- </statement>
- </block>
- </next>
- </block>
- </next>
- </block>
- </statement>
- </block>
- </statement>
- </block>
- </next>
- </block>
- </statement>
- </block>
- </next>
- </block>
- </next>
- </block>
- </statement>
- <statement name="ELSE">
- <block type="controls_if" id="oo~c_ACp-49y!QVJ^y0R">
- <value name="IF0">
- <block type="logic_compare" id="DNLRdcU.y]:#!4ItczbC">
- <field name="OP">NEQ</field>
- <value name="A">
- <block type="variables_get" id="FZ)t=J/Gg~}+;r6*Gox`">
- <field name="VAR" id="5IZ@9l2pGuK1Zdp$4E;p" variabletype="">hcidev_reboot</field>
- </block>
- </value>
- <value name="B">
- <block type="logic_boolean" id="w]dyuz|3tJ5K|*W^=/%,">
- <field name="BOOL">TRUE</field>
- </block>
- </value>
- </block>
- </value>
- <statement name="DO0">
- <block type="variables_set" id="Pl%~:~`4th?=ST5|m,n,">
- <field name="VAR" id="5IZ@9l2pGuK1Zdp$4E;p" variabletype="">hcidev_reboot</field>
- <value name="VALUE">
- <block type="logic_boolean" id="lQ23OgOnnCky^A1X:V|z">
- <field name="BOOL">TRUE</field>
- </block>
- </value>
- <next>
- <block type="timeouts_settimeout" id=".R*5NtKn9l0Fs}w-K2ER">
- <field name="NAME">hcidev_check_twice</field>
- <field name="DELAY">60</field>
- <field name="UNIT">sec</field>
- <statement name="STATEMENT">
- <block type="exec" id="|*^ox:seoS2Ns6(ux9T$">
- <mutation with_statement="true"></mutation>
- <field name="WITH_STATEMENT">TRUE</field>
- <field name="LOG"></field>
- <value name="COMMAND">
- <shadow type="text" id="zD?jX4H(iMzZ[9~p?D1%">
- <field name="TEXT">hcitool dev</field>
- </shadow>
- </value>
- <statement name="STATEMENT">
- <block type="variables_set" id=".[6+~~^D;FW{R8`^9k3t">
- <field name="VAR" id="5_C1`3}eL8p(evL6R:~P" variabletype="">bt_device_available</field>
- <value name="VALUE">
- <block type="logic_compare" id="vSUI9];HJ#V-#2KiWYkk">
- <field name="OP">GT</field>
- <value name="A">
- <block type="text_indexOf" id="_7ye4{9BRd$-JY,*y9wU">
- <field name="END">FIRST</field>
- <value name="VALUE">
- <block type="variables_get" id="(6L+1nt10gm^lRP%9pPG">
- <field name="VAR" id="T4FTbK%~()!_WoMYnKAP" variabletype="">result</field>
- </block>
- </value>
- <value name="FIND">
- <shadow type="text" id="V4zXQwY*7R(/)QeN}1}(">
- <field name="TEXT">hci0</field>
- </shadow>
- </value>
- </block>
- </value>
- <value name="B">
- <block type="math_number" id="=Q?G#Z0GzkQQDc-.0(Bk">
- <field name="NUM">0</field>
- </block>
- </value>
- </block>
- </value>
- <next>
- <block type="debug" id="R{._bA^zT:^G*G^IN}!x">
- <field name="Severity">log</field>
- <value name="TEXT">
- <shadow type="text" id="X19X}AyP[9eXXMVij3yn">
- <field name="TEXT">test</field>
- </shadow>
- <block type="text_join" id="=U%bd]D-R;TeyHi5~8A5">
- <mutation items="2"></mutation>
- <value name="ADD0">
- <block type="text" id="{093$~u/]:XfwvZ4;z!C">
- <field name="TEXT">*** hcitool dev nach 60s 2. mal: </field>
- </block>
- </value>
- <value name="ADD1">
- <block type="variables_get" id="he11_#PyEqdkcMNVYXOm">
- <field name="VAR" id="5_C1`3}eL8p(evL6R:~P" variabletype="">bt_device_available</field>
- </block>
- </value>
- </block>
- </value>
- <next>
- <block type="controls_if" id="VMatg/Vzi-_/z3$:31D%">
- <mutation else="1"></mutation>
- <value name="IF0">
- <block type="logic_compare" id="#}O-YT71W?9_r3Aw{|wi">
- <field name="OP">GT</field>
- <value name="A">
- <block type="math_arithmetic" id="zv|V%*YR~(QjLHjAL+5N">
- <field name="OP">MINUS</field>
- <value name="A">
- <shadow type="math_number" id="O!]$BI)wVvcC@}2$Ivi(">
- <field name="NUM">1</field>
- </shadow>
- <block type="time_get" id="78mF,-lsj,wRGt*1*f#=">
- <mutation format="false" language="false"></mutation>
- <field name="OPTION">object</field>
- </block>
- </value>
- <value name="B">
- <shadow type="math_number" id="d(ITQW@U(0`[m*hF|g#R">
- <field name="NUM">1</field>
- </shadow>
- <block type="convert_from_date" id="=hsTKi|_RPqdk5o(JxAa">
- <mutation format="false" language="false"></mutation>
- <field name="OPTION">object</field>
- <value name="VALUE">
- <block type="variables_get" id="w;TM76lRiig4Ut%g[,PY">
- <field name="VAR" id="Vm[KKB94!SCH/OD%!S-." variabletype="">uptime</field>
- </block>
- </value>
- </block>
- </value>
- </block>
- </value>
- <value name="B">
- <block type="math_number" id="%VDRap{taM|jb[sn0.QO">
- <field name="NUM">1800000</field>
- </block>
- </value>
- </block>
- </value>
- <statement name="DO0">
- <block type="controls_if" id="wrd2mbcWzoZ=:`7-HJyy">
- <value name="IF0">
- <block type="logic_compare" id="=}$Q3G`SynwhN3*j81L8">
- <field name="OP">NEQ</field>
- <value name="A">
- <block type="logic_compare" id="]}q1Zz)G%%u)pvQ(hIz_">
- <field name="OP">GT</field>
- <value name="A">
- <block type="text_indexOf" id="*K*G#I;i}/Uc(*c63ci*">
- <field name="END">FIRST</field>
- <value name="VALUE">
- <block type="variables_get" id="|qh4kL]B.j]sa^gk]5XH">
- <field name="VAR" id="T4FTbK%~()!_WoMYnKAP" variabletype="">result</field>
- </block>
- </value>
- <value name="FIND">
- <shadow type="text" id="OyT6TlFsL(jWGvRKn7L6">
- <field name="TEXT">hci0</field>
- </shadow>
- </value>
- </block>
- </value>
- <value name="B">
- <block type="math_number" id="%!oYY3k(-KK/3HBi!]a}">
- <field name="NUM">0</field>
- </block>
- </value>
- </block>
- </value>
- <value name="B">
- <block type="logic_boolean" id="ss$DH]SezigS*{2L,0ZB">
- <field name="BOOL">TRUE</field>
- </block>
- </value>
- </block>
- </value>
- <statement name="DO0">
- <block type="update" id="{=BM~IHc7/xe0-pk)Kk[">
- <mutation delay_input="false"></mutation>
- <field name="OID">javascript.0.Objects.Status.Adapter_Restarts</field>
- <field name="WITH_DELAY">FALSE</field>
- <value name="VALUE">
- <block type="text_join" id="UpnBaw`DBdvgk)h8[B!e">
- <mutation items="2"></mutation>
- <value name="ADD0">
- <block type="text" id="Z;%/mv|3;g~?R.jyV1Nn">
- <field name="TEXT">Reboot: hcitool dev nicht verfügbar, letzter ioBroker Neustart: </field>
- </block>
- </value>
- <value name="ADD1">
- <block type="convert_from_date" id="nCK4z8JB@2))[Ek4d9H]">
- <mutation format="true" language="false"></mutation>
- <field name="OPTION">custom</field>
- <field name="FORMAT">JJJJ-MM-TT SS:mm:ss</field>
- <value name="VALUE">
- <block type="get_value" id="jN7%mA{ohHo`4[J))~X0">
- <field name="ATTR">lc</field>
- <field name="OID">system.host.BT3-PRO.alive</field>
- </block>
- </value>
- </block>
- </value>
- </block>
- </value>
- <next>
- <block type="telegram" id="S7+8Ua%ErAEw-cLyt-ca">
- <field name="INSTANCE"></field>
- <field name="LOG">log</field>
- <field name="SILENT">FALSE</field>
- <field name="PARSEMODE">default</field>
- <value name="MESSAGE">
- <shadow type="text" id="k2W)N)b+ed8OB,fdP0mi">
- <field name="TEXT">Ausfall Bluetooth</field>
- </shadow>
- <block type="text_join" id="7%BMSm/$56Ka5D{`fjZ1">
- <mutation items="16"></mutation>
- <value name="ADD0">
- <block type="text" id="d-er{H)-_F0{Ejr2MB?D">
- <field name="TEXT">BT Hardware nicht verfügbar</field>
- </block>
- </value>
- <value name="ADD1">
- <block type="text_newline" id="VF_O^I$=/t}3^*i]@QVZ">
- <field name="Type">\n</field>
- </block>
- </value>
- <value name="ADD2">
- <block type="text" id="d~A#nF$!]agW[BtJ_GVN">
- <field name="TEXT">hcitool dev: </field>
- </block>
- </value>
- <value name="ADD3">
- <block type="variables_get" id="Ddr,;d)93+XvBWNrjci$">
- <field name="VAR" id="5_C1`3}eL8p(evL6R:~P" variabletype="">bt_device_available</field>
- </block>
- </value>
- <value name="ADD4">
- <block type="text_newline" id="t@@L4n/,`{wy{MO~ns7_">
- <field name="Type">\n</field>
- </block>
- </value>
- <value name="ADD5">
- <block type="text" id="evW^*mXcovVd?7Xg3RqQ">
- <field name="TEXT">BH100: </field>
- </block>
- </value>
- <value name="ADD6">
- <block type="variables_get" id="E#SjF/?B8TO3$-aw3`U~">
- <field name="VAR" id="ZFelRBlJ_g9q%,c3hw(f" variabletype="">BH100_lastHere</field>
- </block>
- </value>
- <value name="ADD7">
- <block type="text" id="J4X)20tsD%I]8#]C,l7y">
- <field name="TEXT"> s / Eqiva: </field>
- </block>
- </value>
- <value name="ADD8">
- <block type="variables_get" id="Q~ep#MBziuIW,AJ(9HiM">
- <field name="VAR" id="J+Q,mt_pYGqwC4!LxeFO" variabletype="">Eqiva_lastHere</field>
- </block>
- </value>
- <value name="ADD9">
- <block type="text" id="{^o]|l`CW#RgjKaPTc/{">
- <field name="TEXT"> s</field>
- </block>
- </value>
- <value name="ADD10">
- <block type="text_newline" id="L-aW=Xu~U6i_+,tvXxOk">
- <field name="Type">\n</field>
- </block>
- </value>
- <value name="ADD11">
- <block type="text_newline" id="B.`0S.G:lMXHX!qg`Zqn">
- <field name="Type">\n</field>
- </block>
- </value>
- <value name="ADD12">
- <block type="text" id="QB6^uD7y4s9eR=V3KLUh">
- <field name="TEXT">letzter Systemstart: </field>
- </block>
- </value>
- <value name="ADD13">
- <block type="variables_get" id="3KZa[m0o.@|`V%GD0t;A">
- <field name="VAR" id="Vm[KKB94!SCH/OD%!S-." variabletype="">uptime</field>
- </block>
- </value>
- <value name="ADD14">
- <block type="text_newline" id="V63WR]JVz6/tV=IKL|dP">
- <field name="Type">\n</field>
- </block>
- </value>
- <value name="ADD15">
- <block type="text" id="B`;/N,Ahy)rKN3,oygV*">
- <field name="TEXT">System wird in 60s neu gestartet</field>
- </block>
- </value>
- </block>
- </value>
- <value name="USERNAME">
- <block type="text" id="*(T]9%ZT9?YEt;l5!YTX">
- <field name="TEXT">Tom</field>
- </block>
- </value>
- <next>
- <block type="timeouts_settimeout" id="enm_#S5DT2M@hiiRK?S~">
- <field name="NAME">timeout_reboot_no_hcidev</field>
- <field name="DELAY">60</field>
- <field name="UNIT">sec</field>
- <statement name="STATEMENT">
- <block type="variables_set" id="J76Whd[|BD9*`S0,M,i:">
- <field name="VAR" id="5IZ@9l2pGuK1Zdp$4E;p" variabletype="">hcidev_reboot</field>
- <value name="VALUE">
- <block type="logic_boolean" id=")a3U|YFihu|X8h5]M.9F">
- <field name="BOOL">FALSE</field>
- </block>
- </value>
- <next>
- <block type="debug" id="K5Rn8[/*yrEeu:EU:TTj">
- <field name="Severity">log</field>
- <value name="TEXT">
- <shadow type="text" id=":IW#qk7KJm#v`XUos7FJ">
- <field name="TEXT">*** Reboot</field>
- </shadow>
- </value>
- <next>
- <block type="exec" id="6YvpjP$2S_:ZZKr~y/MY">
- <mutation with_statement="false"></mutation>
- <field name="WITH_STATEMENT">FALSE</field>
- <field name="LOG">log</field>
- <value name="COMMAND">
- <shadow type="text" id="6^59t]wC9.(d?Y_/HwVW">
- <field name="TEXT">/opt/iobroker_user_data/iobroker_stop_reboot.sh</field>
- </shadow>
- </value>
- </block>
- </next>
- </block>
- </next>
- </block>
- </statement>
- </block>
- </next>
- </block>
- </next>
- </block>
- </statement>
- </block>
- </statement>
- <statement name="ELSE">
- <block type="telegram" id="vr0J+V]]~;*zYrV9E}rk">
- <field name="INSTANCE"></field>
- <field name="LOG">log</field>
- <field name="SILENT">FALSE</field>
- <field name="PARSEMODE">default</field>
- <value name="MESSAGE">
- <shadow type="text" id="k2W)N)b+ed8OB,fdP0mi">
- <field name="TEXT">Ausfall Bluetooth</field>
- </shadow>
- <block type="text_join" id="t^Zd*j%ObDfq*`g~8[L/">
- <mutation items="16"></mutation>
- <value name="ADD0">
- <block type="text" id="BP~b!eU8*,wUI~|=_VJ*">
- <field name="TEXT">BT Hardware binnen 30 min wieder nicht verfügbar</field>
- </block>
- </value>
- <value name="ADD1">
- <block type="text_newline" id="-gn)]kRNz1blfgEjr%!o">
- <field name="Type">\n</field>
- </block>
- </value>
- <value name="ADD2">
- <block type="text" id="@=-k0BpyZEv6.y9`:R,J">
- <field name="TEXT">hcitool dev: </field>
- </block>
- </value>
- <value name="ADD3">
- <block type="variables_get" id="!k;([Nq/r%GF`oC-3LC6">
- <field name="VAR" id="5_C1`3}eL8p(evL6R:~P" variabletype="">bt_device_available</field>
- </block>
- </value>
- <value name="ADD4">
- <block type="text_newline" id="0OUWRB_Mn0Q[=_x/xzBr">
- <field name="Type">\n</field>
- </block>
- </value>
- <value name="ADD5">
- <block type="text" id="O0O!aX/bEswvcV3cTO#?">
- <field name="TEXT">BH100: </field>
- </block>
- </value>
- <value name="ADD6">
- <block type="variables_get" id="R42z)`.Oo#b6jq}Cv}u{">
- <field name="VAR" id="ZFelRBlJ_g9q%,c3hw(f" variabletype="">BH100_lastHere</field>
- </block>
- </value>
- <value name="ADD7">
- <block type="text" id="PCUIsPm!xTDr%a3@yk}N">
- <field name="TEXT"> s / Eqiva: </field>
- </block>
- </value>
- <value name="ADD8">
- <block type="variables_get" id="lZ2dX0[q?p,Wnkm~ZgCt">
- <field name="VAR" id="J+Q,mt_pYGqwC4!LxeFO" variabletype="">Eqiva_lastHere</field>
- </block>
- </value>
- <value name="ADD9">
- <block type="text" id="g7#v|e~=Td^!Tt,iS{5V">
- <field name="TEXT"> s</field>
- </block>
- </value>
- <value name="ADD10">
- <block type="text_newline" id="bY0lczNW1vp/k/;I]vVg">
- <field name="Type">\n</field>
- </block>
- </value>
- <value name="ADD11">
- <block type="text_newline" id="Oz`L-rLY`PMls7(_)`)x">
- <field name="Type">\n</field>
- </block>
- </value>
- <value name="ADD12">
- <block type="text" id="X@X$obls:|v};T|_1[IJ">
- <field name="TEXT">letzter Systemstart: </field>
- </block>
- </value>
- <value name="ADD13">
- <block type="variables_get" id="0(BX(}R.^c,WVzN,t?Yl">
- <field name="VAR" id="Vm[KKB94!SCH/OD%!S-." variabletype="">uptime</field>
- </block>
- </value>
- <value name="ADD14">
- <block type="text_newline" id="9k-?1!n/h.?|SB42:o8+">
- <field name="Type">\n</field>
- </block>
- </value>
- <value name="ADD15">
- <block type="text" id="~*0]wsC(:l[WNRrO53{z">
- <field name="TEXT">System wird nicht neu gestartet</field>
- </block>
- </value>
- </block>
- </value>
- <value name="USERNAME">
- <block type="text" id="O30W%ex+G[yVbE*G:3A5">
- <field name="TEXT">Tom</field>
- </block>
- </value>
- <next>
- <block type="timeouts_settimeout" id=",fxvLfRID?kc_LD]mS7H">
- <field name="NAME">reset_hcidev_reboot</field>
- <field name="DELAY">10</field>
- <field name="UNIT">min</field>
- <statement name="STATEMENT">
- <block type="variables_set" id="qJj_Ck6341q!D6*7prh0">
- <field name="VAR" id="5IZ@9l2pGuK1Zdp$4E;p" variabletype="">hcidev_reboot</field>
- <value name="VALUE">
- <block type="logic_boolean" id="Kuq35NQ9R.9Mv(Kj?blN">
- <field name="BOOL">FALSE</field>
- </block>
- </value>
- <next>
- <block type="debug" id="n/,?3FNVGX(laT|4[sut">
- <field name="Severity">log</field>
- <value name="TEXT">
- <shadow type="text" id="kL0KDG8|G$|-::V$FoHh">
- <field name="TEXT">*** Reset Variable hcidev_reboot</field>
- </shadow>
- </value>
- </block>
- </next>
- </block>
- </statement>
- </block>
- </next>
- </block>
- </statement>
- </block>
- </next>
- </block>
- </next>
- </block>
- </statement>
- </block>
- </statement>
- </block>
- </next>
- </block>
- </statement>
- </block>
- </statement>
- </block>
- </next>
- </block>
- </next>
- </block>
- </statement>
- </block>
- </next>
- </block>
- </next>
- </block>
- </statement>
- </block>
- </statement>
- <statement name="ELSE">
- <block type="controls_if" id="^J?_N`[m%IWLH52Z-rz~">
- <value name="IF0">
- <block type="logic_compare" id="lAimH2K,gM-VahG4jx[F">
- <field name="OP">EQ</field>
- <value name="A">
- <block type="variables_get" id="Ec$aU1wd|(n[(@=CMGp+">
- <field name="VAR" id="5v$Ich6O~Ar}XBa7kZbH" variabletype="">bt_radar2_restarted</field>
- </block>
- </value>
- <value name="B">
- <block type="logic_boolean" id="p=#NY4K6K-eo1}:d.@q]">
- <field name="BOOL">TRUE</field>
- </block>
- </value>
- </block>
- </value>
- <statement name="DO0">
- <block type="debug" id="dODi*3EA3Q|J~FWZLAW%">
- <field name="Severity">log</field>
- <value name="TEXT">
- <shadow type="text" id="UMGmIpBykE#Pc$49~wP^">
- <field name="TEXT">test</field>
- </shadow>
- <block type="text" id="*F,Cw+/-eE9wi5?lA{gS">
- <field name="TEXT">*** Stop BT Geräte >90 Sek offline</field>
- </block>
- </value>
- </block>
- </statement>
- <next>
- <block type="controls_if" id="6r8O_.ZX-d^tp?Xu$R4M">
- <value name="IF0">
- <block type="logic_compare" id="FvmDZ$KdxDG.F/Vt^Hd]">
- <field name="OP">EQ</field>
- <value name="A">
- <block type="variables_get" id="scVGk0+Vu^NEy1Ex2)MD">
- <field name="VAR" id="5IZ@9l2pGuK1Zdp$4E;p" variabletype="">hcidev_reboot</field>
- </block>
- </value>
- <value name="B">
- <block type="logic_boolean" id="Gq-e=32_JB1O?@=Z4!;5">
- <field name="BOOL">TRUE</field>
- </block>
- </value>
- </block>
- </value>
- <statement name="DO0">
- <block type="debug" id="5Vm:UFJ!zv)Tek/eK|rA">
- <field name="Severity">log</field>
- <value name="TEXT">
- <shadow type="text" id="UMGmIpBykE#Pc$49~wP^">
- <field name="TEXT">test</field>
- </shadow>
- <block type="text" id="iZX7R]H%R[k-KX[]:3NZ">
- <field name="TEXT">*** Stop Reboot in 60s</field>
- </block>
- </value>
- </block>
- </statement>
- <next>
- <block type="timeouts_cleartimeout" id="V2ZPTz{N@(t~RJu+}]4M">
- <field name="NAME">restart_bt_radar2_c</field>
- <next>
- <block type="timeouts_cleartimeout" id="~Z,vp/A7.x.!;UxU,1G:">
- <field name="NAME">restart_radar2_c</field>
- <next>
- <block type="timeouts_cleartimeout" id="mDN4zST`x$5,c.jJqq/:">
- <field name="NAME">timeout_reboot</field>
- <next>
- <block type="timeouts_cleartimeout" id="mt@_bF(`~}ep{YYD^fua">
- <field name="NAME">timeout_reboot_no_hcidev</field>
- <next>
- <block type="variables_set" id="m`|r]r:pT=fATq%9.5Q]">
- <field name="VAR" id="5v$Ich6O~Ar}XBa7kZbH" variabletype="">bt_radar2_restarted</field>
- <value name="VALUE">
- <block type="logic_boolean" id="80c(7[gXhZMVFsBr+QqK">
- <field name="BOOL">FALSE</field>
- </block>
- </value>
- <next>
- <block type="variables_set" id="zko,g83ua69TINK.W3{W">
- <field name="VAR" id="5IZ@9l2pGuK1Zdp$4E;p" variabletype="">hcidev_reboot</field>
- <value name="VALUE">
- <block type="logic_boolean" id="1!eCD$I[;`2b7@.K#:8O">
- <field name="BOOL">FALSE</field>
- </block>
- </value>
- </block>
- </next>
- </block>
- </next>
- </block>
- </next>
- </block>
- </next>
- </block>
- </next>
- </block>
- </next>
- </block>
- </next>
- </block>
- </statement>
- </block>
- </statement>
- </block>
- </statement>
- </block>
- </xml>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement