Danke.
Ich werde es mir bei Gelegenheit mal genauer durchsehen.
Ich habe dir mein Script reingestellt zum Ideen finden.
Vielleicht kannst du ja was brauchen davon.
<xml xmlns="http://www.w3.org/1999/xhtml">
<variables>
<variable type="" id="3a1`m3IlPX7vd^}vmI_w">Markise_gerüttelt</variable>
<variable type="undefined" id="timeout5">timeout5</variable>
<variable type="undefined" id="timeout">timeout</variable>
<variable type="undefined" id="timeout6">timeout6</variable>
</variables>
<block type="procedures_defcustomnoreturn" id="hRFi]gk.@aHwft^Hu*Jq" x="-1137" y="-163">
<mutation statements="false"></mutation>
<field name="NAME">Ruetteln</field>
<field name="SCRIPT">dmFyIHF1ZXVlID0gW107DQp2YXIgdGltZW91dCA9IDEwOyAvLyBnZXf8bnNjaHRlciBaZWl0cmF1bSBpbiBNaW51dGVuDQp2YXIgbnVtYmVyT2ZFdmVudHMgPSA0OyAvLyBBbnphaGwgZGVyIG5vdHdlbmRpZ2VuIEV2ZW50cyBpbm5lcmhhbGIgZGVzIFplaXRyYXVtcw0KICANCiBvbiAoe2lkOidkZWNvbnouMC5TZW5zb3JzLjE4LmJ1dHRvbmV2ZW50J30sIGZ1bmN0aW9uKG9iaikgew0KICAgICBpZiAocXVldWUubGVuZ3RoID4gbnVtYmVyT2ZFdmVudHMgLSAyKSB7IA0KICAgICAgICAgY29uc29sZS5sb2coIChxdWV1ZS5sZW5ndGgrMSkgKyAgIiBldmVudHMgdHJpZ2dlcmVkIHdpdGhpbiAiICsgdGltZW91dCArICIgbWludXRlcyIpOyANCiAgICAgICAgIHNldFN0YXRlKCdyZmxpbmsuMC5jaGFubmVscy5CcmVsTW90b3JfMS5CTElORF80MV9aVScsIHRydWUpOyAvLyBIaWVyIGRhcyBha3RpdmllcmVuIHdhcyBuYWNoIDE1IG1pbnV0ZW4gYWt0aXZpZXJ0IHdlcmRlbiBzb2xsIA0KICAgICAgICAgd2hpbGUgKHF1ZXVlLmxlbmd0aCA+IDApIHsgDQogICAgICAgICAgICAgbGV0IHYgPSBxdWV1ZS5zaGlmdCgpDQogICAgICAgICAgICAgaWYgKHYpIGNsZWFyVGltZW91dCh2KQ0KICAgICAgICAgfQ0KICAgICB9IGVsc2Ugew0KICAgICAgICAgcXVldWUucHVzaChzZXRUaW1lb3V0KGZ1bmN0aW9uKCkgew0KICAgICAgICAgICAgIGNvbnNvbGUubG9nKCJFdmVudCB0aW1lZCBvdXQiKTsNCiAgICAgICAgICAgICBpZiAocXVldWUubGVuZ3RoID4gMCkgeyANCiAgICAgICAgICAgICAgICAgcXVldWUuc2hpZnQoKTsNCiAgICAgICAgICAgICB9DQogICAgICAgICB9LCB0aW1lb3V0ICogNjAgKiAxMDAwKSk7IA0KICAgICB9DQogfSk=</field>
<comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
</block>
<block type="procedures_callcustomnoreturn" id="ZL.Zur7@;Bgw`JUyo.?T" x="-1138" y="-112">
<mutation name="Ruetteln"></mutation>
<next>
<block type="on_ext" id="0.Tcg.|FVV@zWgm#c9X`">
<mutation items="2"></mutation>
<field name="CONDITION">ne</field>
<field name="ACK_CONDITION"></field>
<value name="OID0">
<shadow type="field_oid" id="9N:~4[Ubr[Pfw%7Tajp]">
<field name="oid">javascript.0.Regen</field>
</shadow>
</value>
<value name="OID1">
<shadow type="field_oid" id=".ajiR}(6tHBbQsIR2cq5">
<field name="oid">javascript.0.Wind</field>
</shadow>
</value>
<statement name="STATEMENT">
<block type="controls_if" id="6z?G6LOhk.*pUJ[3nBly">
<mutation elseif="2"></mutation>
<value name="IF0">
<block type="logic_operation" id="(^1Ymf._%Znb7+8yh+e}" inline="false">
<field name="OP">AND</field>
<value name="A">
<block type="logic_compare" id="o@j/1V#|3=UD.RzQXy^b">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="{7Is|D.,kxItJ_bK:XS}">
<field name="ATTR">val</field>
<field name="OID">javascript.0.Regen</field>
</block>
</value>
<value name="B">
<block type="text" id="hKsfoH1S)-VE8mUk}s9E">
<field name="TEXT">Regen</field>
</block>
</value>
</block>
</value>
<value name="B">
<block type="logic_operation" id="4/hM(L{NMd6TUa:_oO)1" inline="false">
<field name="OP">AND</field>
<value name="A">
<block type="logic_compare" id="[I!RCLgq27z`GOQKN-8[">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id=",n5QXns_$w,sa}}i6e$(">
<field name="ATTR">val</field>
<field name="OID">deconz.0.Sensors.21.open</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id="Oo3h2.:iXpn$w1%;s1ja">
<field name="BOOL">FALSE</field>
</block>
</value>
</block>
</value>
<value name="B">
<block type="logic_operation" id="ki;!+lpo8Z%3.)h:?8=^" inline="false">
<field name="OP">AND</field>
<value name="A">
<block type="logic_compare" id="D4d68?Vx/rhKiu=RH6n`">
<field name="OP">GTE</field>
<value name="A">
<block type="get_value" id="+3z-hA/P9(n};MdDWMJH">
<field name="ATTR">val</field>
<field name="OID">netatmo.0.Kinkplatz-7.Außen.Temperature.Temperature</field>
</block>
</value>
<value name="B">
<block type="math_number" id="n/lkMN7/!tkF%Ry-6`]7">
<field name="NUM">5</field>
</block>
</value>
</block>
</value>
<value name="B">
<block type="logic_operation" id="@;R+{CH%164IpZk,-l87" inline="false">
<field name="OP">AND</field>
<value name="A">
<block type="logic_compare" id="(A3y`_W-W*i/v7t4Q:$s">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="sz9Fr?~Hu1{~tt+1}BeI">
<field name="ATTR">val</field>
<field name="OID">javascript.0.Markise_Wind</field>
</block>
</value>
<value name="B">
<block type="text" id="D7!WGC|M`uTVf|jUoZ~l">
<field name="TEXT">AUS</field>
</block>
</value>
</block>
</value>
<value name="B">
<block type="logic_operation" id="vC@MihwAw,(/5Nq|DN7v" inline="false">
<field name="OP">OR</field>
<value name="A">
<block type="logic_compare" id="q{}FDHOXk|3qg60S7d~f">
<field name="OP">NEQ</field>
<value name="A">
<block type="get_value" id="+4ri0UBGpu}1+(exICSj">
<field name="ATTR">val</field>
<field name="OID">javascript.0.Wind</field>
</block>
</value>
<value name="B">
<block type="text" id="Y2AjZ@=8MJbx=sIv0Rm_">
<field name="TEXT">Starke Böen</field>
</block>
</value>
</block>
</value>
<value name="B">
<block type="logic_operation" id="RNF8VD{yF=)-%..O5-qf" inline="false">
<field name="OP">OR</field>
<value name="A">
<block type="logic_compare" id="M]zGFJ~jOMLQ.sWW}mg`">
<field name="OP">NEQ</field>
<value name="A">
<block type="get_value" id="P+Y*9l?x4GpKi@}S,nBq">
<field name="ATTR">val</field>
<field name="OID">javascript.0.Wind</field>
</block>
</value>
<value name="B">
<block type="text" id="ftGXEWyPNVi2w7d%PUJK">
<field name="TEXT">Sehr Starke Böen</field>
</block>
</value>
</block>
</value>
<value name="B">
<block type="logic_compare" id="^+7cfB.05UZy?S7qBY-J">
<field name="OP">NEQ</field>
<value name="A">
<block type="get_value" id="~k1rje:OK5kWARp+TvJ9">
<field name="ATTR">val</field>
<field name="OID">javascript.0.Wind</field>
</block>
</value>
<value name="B">
<block type="text" id="S,O;v~wt+ID1A{{u5CR4">
<field name="TEXT">Orkanartige Böen</field>
</block>
</value>
</block>
</value>
</block>
</value>
</block>
</value>
</block>
</value>
</block>
</value>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="debug" id="evR6;qbbpSq!K:=HaW=a">
<field name="Severity">log</field>
<value name="TEXT">
<shadow type="text" id="rvN[W;|.wLrZ9+2+Kwm4">
<field name="TEXT">**** Markise Befehl AUF wegen Regen</field>
</shadow>
</value>
<next>
<block type="control" id="9eVeOvIx*^mu7FX9l:Ih">
<mutation delay_input="false"></mutation>
<field name="OID">rflink.0.channels.BrelMotor_1.BLIND_41_ZU</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id="T%@e:2VLI1e^5-;/i1aE">
<field name="BOOL">FALSE</field>
</block>
</value>
<next>
<block type="pushover" id="dk+;sf!F#v=T%QG`5Owe">
<field name="INSTANCE"></field>
<field name="SOUND"></field>
<field name="PRIORITY">0</field>
<field name="LOG"></field>
<value name="MESSAGE">
<shadow type="text" id="DF^T~b1^Sz0^FcKf-H(,">
<field name="TEXT">Fahre Markise AUF wegen Regen</field>
</shadow>
</value>
<next>
<block type="timeouts_settimeout" id="v%v:,D.3=7^Gn809EP*u">
<field name="NAME">timeout6</field>
<field name="DELAY">12</field>
<field name="UNIT">sec</field>
<statement name="STATEMENT">
<block type="debug" id="p?GR_sb+4{[{JRG.^gDt">
<field name="Severity">log</field>
<value name="TEXT">
<shadow type="text" id="[U0gC{2Bxz:{fI-PS:,g">
<field name="TEXT">**** Markise STOP >> Markise in Regenposition</field>
</shadow>
</value>
<next>
<block type="control" id=":0uH8t`QZ]h~7ZZw^[=%">
<mutation delay_input="false"></mutation>
<field name="OID">rflink.0.channels.BrelMotor_1.BLIND_STOP_41</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id="|SZS~w#$=:|/Y4(e|g::">
<field name="BOOL">TRUE</field>
</block>
</value>
<next>
<block type="pushover" id="7RZ@#@)*smS(;ihcghX@">
<field name="INSTANCE"></field>
<field name="SOUND"></field>
<field name="PRIORITY">0</field>
<field name="LOG"></field>
<value name="MESSAGE">
<shadow type="text" id="-X[.JGV-lrb$7(JeNv,x">
<field name="TEXT">**** Markise STOP >> Markise in Regenposition</field>
</shadow>
</value>
</block>
</next>
</block>
</next>
</block>
</statement>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</statement>
<value name="IF1">
<block type="logic_operation" id="6,k#G*#QKqZn:smd*J,D" inline="false">
<field name="OP">AND</field>
<value name="A">
<block type="logic_compare" id="6Pried.6yxt@!y57~bMA">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="w%Ks_k!Rb0%.m5Op`$+r">
<field name="ATTR">val</field>
<field name="OID">deconz.0.Sensors.21.open</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id="F+f`/HBddbGXLtuD*XPX">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</value>
<value name="B">
<block type="logic_operation" id="85j@T+LZ@9dr59_keRkx" inline="false">
<field name="OP">OR</field>
<value name="A">
<block type="logic_compare" id="_y7:iX^qeT@g:2O@Wb_t">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="k[9@#fCZmkcL|~[6TqSq">
<field name="ATTR">val</field>
<field name="OID">javascript.0.Wind</field>
</block>
</value>
<value name="B">
<block type="text" id="b?D2lygCDBuh#]tvAZ@z">
<field name="TEXT">Starke Böen</field>
</block>
</value>
</block>
</value>
<value name="B">
<block type="logic_operation" id="5NoMw6pM`J#bN}kFttuL" inline="false">
<field name="OP">OR</field>
<value name="A">
<block type="logic_compare" id="PxSzz1M3pJFN`@w/(VpE">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="_[~IYV]CJiU5[k/KVTXE">
<field name="ATTR">val</field>
<field name="OID">javascript.0.Wind</field>
</block>
</value>
<value name="B">
<block type="text" id="X=/S6K98A_wNy1H`vbYb">
<field name="TEXT">Sehr Starke Böen</field>
</block>
</value>
</block>
</value>
<value name="B">
<block type="logic_compare" id="0C;*!?)LxJ,cBZ:QcyZ*">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="m/mqWsv_oY?k`f}|E[%J">
<field name="ATTR">val</field>
<field name="OID">javascript.0.Wind</field>
</block>
</value>
<value name="B">
<block type="text" id="P0Y7ue[D[wP@`@nAp#sZ">
<field name="TEXT">Orkanartige Böen</field>
</block>
</value>
</block>
</value>
</block>
</value>
</block>
</value>
</block>
</value>
<statement name="DO1">
<block type="debug" id="tqu*jm0w;@B:-F~}e)0@">
<field name="Severity">log</field>
<value name="TEXT">
<shadow type="text" id=",r2*n,X=)uZ?n|kPj3^y">
<field name="TEXT">**** Markise ZU >> wegen Wind</field>
</shadow>
</value>
<next>
<block type="timeouts_cleartimeout" id="o,4L_*c4%9)xE%,B]FD[">
<field name="NAME">timeout5</field>
<next>
<block type="control" id="]1y-i6Wrj)M!jyio6_1.">
<mutation delay_input="false"></mutation>
<field name="OID">rflink.0.channels.BrelMotor_1.BLIND_41_ZU</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id="3DNqAs{stNg9!r%DyB{N">
<field name="BOOL">TRUE</field>
</block>
</value>
<next>
<block type="update" id="?kg}qPbl8k:t~yt(!X5n">
<mutation delay_input="false"></mutation>
<field name="OID">javascript.0.Markise_Wind</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="text" id="Q2hQcd}m6b?{KFeR9d;E">
<field name="TEXT">EIN</field>
</block>
</value>
<next>
<block type="pushover" id="=XYJgf]vHbxc4qkpHB6R">
<field name="INSTANCE"></field>
<field name="SOUND"></field>
<field name="PRIORITY">0</field>
<field name="LOG"></field>
<value name="MESSAGE">
<shadow type="text" id="}[BTY~s/MIfjAbuJ6$Mb">
<field name="TEXT">Fahre Markise ZU wegen Wind</field>
</shadow>
</value>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</statement>
<value name="IF2">
<block type="logic_operation" id="u~W@lR9*-J7QFXLi^(O[" inline="false">
<field name="OP">AND</field>
<value name="A">
<block type="logic_compare" id="B/I@YB.**3y]!8zj_#GP">
<field name="OP">NEQ</field>
<value name="A">
<block type="get_value" id="v/X5hSN7^xVsW5sPCfE_">
<field name="ATTR">val</field>
<field name="OID">javascript.0.Wind</field>
</block>
</value>
<value name="B">
<block type="text" id="8N@LQ#q9[6qtM7thrU4V">
<field name="TEXT">Sehr Starke Böen</field>
</block>
</value>
</block>
</value>
<value name="B">
<block type="logic_compare" id=",WeyYO:HokA-ENNgFfQJ">
<field name="OP">NEQ</field>
<value name="A">
<block type="get_value" id="c7%`zs%fx2to=K8?,1!G">
<field name="ATTR">val</field>
<field name="OID">javascript.0.Wind</field>
</block>
</value>
<value name="B">
<block type="text" id=".^YJMg^_1gSAdea{Zx=+">
<field name="TEXT">Orkanartige Böen</field>
</block>
</value>
</block>
</value>
</block>
</value>
<statement name="DO2">
<block type="timeouts_cleartimeout" id="2]Z$F;B%qU=y3qn{I-jx">
<field name="NAME">timeout5</field>
<next>
<block type="timeouts_settimeout" id="jl-~Fg{uWC5pj4]$YFB}">
<field name="NAME">timeout5</field>
<field name="DELAY">180</field>
<field name="UNIT">min</field>
<statement name="STATEMENT">
<block type="update" id="gt8nyDW$$#^l_Rj5y^SA">
<mutation delay_input="false"></mutation>
<field name="OID">javascript.0.Markise_Wind</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="text" id="!8/hb2Fz?o.gV`{?4tOs">
<field name="TEXT">AUS</field>
</block>
</value>
</block>
</statement>
</block>
</next>
</block>
</statement>
</block>
</statement>
<next>
<block type="on_ext" id="tG@xhjm93L?(yl+p`w:o">
<mutation items="1"></mutation>
<field name="CONDITION">ne</field>
<field name="ACK_CONDITION"></field>
<value name="OID0">
<shadow type="field_oid" id="|hMFMZ-U5_`qPH5kK!]E">
<field name="oid">javascript.0.Regen_3</field>
</shadow>
</value>
<statement name="STATEMENT">
<block type="controls_if" id="yt}1P8Nk]T{t~1yaHsgt">
<value name="IF0">
<block type="logic_operation" id="BT8qPv{Ea9R6LVu`(a`(" inline="false">
<field name="OP">AND</field>
<value name="A">
<block type="logic_compare" id="|keIX$n`G_8{|e1nj.Px">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="#j#3$Wq5l*KjPCwO!UQW">
<field name="ATTR">val</field>
<field name="OID">javascript.0.Regen_3</field>
</block>
</value>
<value name="B">
<block type="text" id="_F4(gRvf+7,RLy5obY9*">
<field name="TEXT">Kein Regen</field>
</block>
</value>
</block>
</value>
<value name="B">
<block type="logic_operation" id="k.9j{w51D3ztXpe.!fIm" inline="false">
<field name="OP">AND</field>
<value name="A">
<block type="logic_compare" id="@zeqL5_,th{%T026~wDQ">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="CE?~4EjS/N[:thSb+;N^">
<field name="ATTR">val</field>
<field name="OID">deconz.0.Sensors.21.open</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id="JcMlT9[T5qu30D?5,-m)">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</value>
<value name="B">
<block type="logic_compare" id=")GM7v#`Ee])KPm(3JSq-">
<field name="OP">LT</field>
<value name="A">
<block type="get_value" id="R]SUHiP@QeE`[}HJfu3g">
<field name="ATTR">val</field>
<field name="OID">netatmo.0.Kinkplatz-7.Außen.Temperature.Temperature</field>
</block>
</value>
<value name="B">
<block type="math_number" id="XO}yNTrVU0+LxqKt.~e!">
<field name="NUM">15</field>
</block>
</value>
</block>
</value>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="debug" id="Q7YyCy@zm=P?XCkiB7/p">
<field name="Severity">log</field>
<value name="TEXT">
<shadow type="text" id="Bk$%7#qWmVh`F.e)j~*5">
<field name="TEXT">**** Markise ZU >> Temperatur < 15 Grad und mehr als 3 Stunden kein Regen</field>
</shadow>
</value>
<next>
<block type="control" id="vlx4O(m+/,!*Kv1EKg[g">
<mutation delay_input="false"></mutation>
<field name="OID">rflink.0.channels.BrelMotor_1.BLIND_41_ZU</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id="K?;4nHQ~Z|4A`Ui^h(SA">
<field name="BOOL">TRUE</field>
</block>
</value>
<next>
<block type="pushover" id="O6zA(I~Ga5jXaYbq:enZ">
<field name="INSTANCE"></field>
<field name="SOUND"></field>
<field name="PRIORITY">0</field>
<field name="LOG"></field>
<value name="MESSAGE">
<shadow type="text" id=":6+=A-EyGPp![6hL;Ofx">
<field name="TEXT">Markise ZU >> Temperatur < 15 Grad und mehr als 3 Stunden kein Regen</field>
</shadow>
</value>
</block>
</next>
</block>
</next>
</block>
</statement>
</block>
</statement>
<next>
<block type="on_ext" id="cbRy@?-$2iCLkk9GCjBF">
<mutation items="1"></mutation>
<field name="CONDITION">ne</field>
<field name="ACK_CONDITION"></field>
<value name="OID0">
<shadow type="field_oid" id="E#kBK-?}e,xf!=}e1X,X">
<field name="oid">netatmo.0.Kinkplatz-7.Außen.Temperature.Temperature</field>
</shadow>
</value>
<statement name="STATEMENT">
<block type="controls_if" id="+8H^krGjwF=A7a$|+wMN">
<value name="IF0">
<block type="logic_operation" id="BKyEH/H6_5KwC{}~9%/E" inline="false">
<field name="OP">AND</field>
<value name="A">
<block type="logic_compare" id="3O%vh7,p.9-BMrw}/oz^">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="!)+1#@veGnQtl4rAVZ5t">
<field name="ATTR">val</field>
<field name="OID">deconz.0.Sensors.21.open</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id="7|lj8u;E}!0Y6D5VbY}A">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</value>
<value name="B">
<block type="logic_compare" id="TTeqh)H1gcj59]WQ~2Q~">
<field name="OP">LTE</field>
<value name="A">
<block type="get_value" id="q|9jsV?#%DV0/IQ[0$#C">
<field name="ATTR">val</field>
<field name="OID">netatmo.0.Kinkplatz-7.Außen.Temperature.Temperature</field>
</block>
</value>
<value name="B">
<block type="math_number" id="0p2OEe/7W![0g,?;{C7M">
<field name="NUM">3</field>
</block>
</value>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="debug" id="4bu]TME5QmzPP;Im_^t1">
<field name="Severity">log</field>
<value name="TEXT">
<shadow type="text" id="RwM7!oni^?^}jnzJc^zB">
<field name="TEXT">**** Markise ZU >> Temperatur < 3 Grad</field>
</shadow>
</value>
<next>
<block type="control" id="6b]PX#9p}-v|[?NK!*[J">
<mutation delay_input="false"></mutation>
<field name="OID">rflink.0.channels.BrelMotor_1.BLIND_41_ZU</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id="w]+hG$b0Mol2`jJy]ie_">
<field name="BOOL">TRUE</field>
</block>
</value>
<next>
<block type="pushover" id="Qh1tMl+y=o=n]#IsHK#;">
<field name="INSTANCE"></field>
<field name="SOUND"></field>
<field name="PRIORITY">0</field>
<field name="LOG"></field>
<value name="MESSAGE">
<shadow type="text" id="Fa;tXBkS1UXKZVdcW#%w">
<field name="TEXT">Markise ZU >> Temperatur < 3 Grad</field>
</shadow>
</value>
</block>
</next>
</block>
</next>
</block>
</statement>
</block>
</statement>
<next>
<block type="astro" id="2f)!2,g{8lU_o{c+oCAo">
<field name="TYPE">goldenHourEnd</field>
<field name="OFFSET">0</field>
<statement name="STATEMENT">
<block type="controls_if" id="7opw.jji4^*XGls_iG(?">
<value name="IF0">
<block type="logic_operation" id="h|LzT=f=C)IuQrlOL+U." inline="false">
<field name="OP">AND</field>
<value name="A">
<block type="logic_compare" id="Xmgg5$]b[-}=-ynv7^v]">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="Tl$AVAA,?s.HrRv)nado">
<field name="ATTR">val</field>
<field name="OID">javascript.0.Regen_3</field>
</block>
</value>
<value name="B">
<block type="text" id="jkjgh.3tx]n/1{0Ex+TJ">
<field name="TEXT">Kein Regen</field>
</block>
</value>
</block>
</value>
<value name="B">
<block type="logic_compare" id="qDbwB(C#^-[QQ_i9AILx">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="_5QO*n+r#p7Z),MKTx.G">
<field name="ATTR">val</field>
<field name="OID">deconz.0.Sensors.21.open</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id="qm$)N5!}0=7xL0gplRKE">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="debug" id="=eNPKu@NtqE~SYOZnm5P">
<field name="Severity">log</field>
<value name="TEXT">
<shadow type="text" id="/V`^2eQ]La6r6-`Kdmz$">
<field name="TEXT">**** Markise ZU >> "Golden Hour Ende" und mehr als 3 Stunden kein Regen</field>
</shadow>
</value>
<next>
<block type="control" id="b3V1F6fhOW,YsQ*DKz@`">
<mutation delay_input="false"></mutation>
<field name="OID">rflink.0.channels.BrelMotor_1.BLIND_41_ZU</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id="[eJq$7zTWov1r4S0D|so">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</next>
</block>
</statement>
</block>
</statement>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
<block type="variables_set" id="2a{=ur,FJZ*U@D!a7MoZ" disabled="true" x="-362" y="288">
<field name="VAR" id="3a1`m3IlPX7vd^}vmI_w" variabletype="">Markise_gerüttelt</field>
<value name="VALUE">
<block type="math_number" id="9_gD.uY@zYccq_bM1`vH">
<field name="NUM">0</field>
</block>
</value>
<next>
<block type="update" id="HK=qb.qk3TfK8^U.Y(75" disabled="true">
<mutation delay_input="false"></mutation>
<field name="OID">javascript.0.Markise_Gerüttelt</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="variables_get" id="?g1[e7t)9,mY$MzN8(4Q">
<field name="VAR" id="3a1`m3IlPX7vd^}vmI_w" variabletype="">Markise_gerüttelt</field>
</block>
</value>
<next>
<block type="on_ext" id="j:$M:XhHR-mx%)0{l.=i" disabled="true">
<mutation items="1"></mutation>
<field name="CONDITION">any</field>
<field name="ACK_CONDITION"></field>
<value name="OID0">
<shadow type="field_oid" id="r.m35@a+5n[a-@JakF_m">
<field name="oid">deconz.0.Sensors.18.buttonevent</field>
</shadow>
</value>
<statement name="STATEMENT">
<block type="controls_if" id="KWL7/a`Vff*;1_,Uitp5">
<value name="IF0">
<block type="logic_compare" id="g}W#PYUv/35pBu,GKbuh">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="yzs)Dg^S4URI^7O4-/MG">
<field name="ATTR">val</field>
<field name="OID">javascript.0.Markise_Gerüttelt</field>
</block>
</value>
<value name="B">
<block type="math_number" id="XB[!%xDiubzZapg!!c/s">
<field name="NUM">0</field>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="timeouts_settimeout" id="L{A04zr$*g{xkt;yS)|D">
<field name="NAME">timeout</field>
<field name="DELAY">15</field>
<field name="UNIT">min</field>
<statement name="STATEMENT">
<block type="variables_set" id="+kC#;/6P%8]gZMcHMIH@">
<field name="VAR" id="3a1`m3IlPX7vd^}vmI_w" variabletype="">Markise_gerüttelt</field>
<value name="VALUE">
<block type="math_number" id="=4r%JGxwhurR7:yfHdYm">
<field name="NUM">0</field>
</block>
</value>
<next>
<block type="update" id="rCDI%Z7;S5X+(zq6KULh">
<mutation delay_input="false"></mutation>
<field name="OID">javascript.0.Markise_Gerüttelt</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="variables_get" id="@o.;oRgRBhMKiR3h;v$K">
<field name="VAR" id="3a1`m3IlPX7vd^}vmI_w" variabletype="">Markise_gerüttelt</field>
</block>
</value>
<next>
<block type="debug" id="@W%M@)o_b#udo`/U+U[d">
<field name="Severity">log</field>
<value name="TEXT">
<shadow type="text" id="DQF;w#!^_=!TIC7H_,!e">
<field name="TEXT">test</field>
</shadow>
<block type="text_join" id="7{9$Uu(7-b1=WT$NQV0e">
<mutation items="2"></mutation>
<value name="ADD0">
<block type="text" id=".1.BzYWDR~,1O@*aonyY">
<field name="TEXT">*** Rüttelsensor Timeout Reset = </field>
</block>
</value>
<value name="ADD1">
<block type="variables_get" id="i_oq*[zSLbTtLgiv%K#K">
<field name="VAR" id="3a1`m3IlPX7vd^}vmI_w" variabletype="">Markise_gerüttelt</field>
</block>
</value>
</block>
</value>
</block>
</next>
</block>
</next>
</block>
</statement>
</block>
</statement>
<next>
<block type="math_change" id="M`FN6onNz9_gS8|*-#{,">
<field name="VAR" id="3a1`m3IlPX7vd^}vmI_w" variabletype="">Markise_gerüttelt</field>
<value name="DELTA">
<shadow type="math_number" id="wG^^)RK]Dh+|^~|vF5So">
<field name="NUM">1</field>
</shadow>
</value>
<next>
<block type="update" id=".Qwf1fzin9]1k|HtQM3G">
<mutation delay_input="false"></mutation>
<field name="OID">javascript.0.Markise_Gerüttelt</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="variables_get" id="c2|.s^GDsZiDa`PzA);r">
<field name="VAR" id="3a1`m3IlPX7vd^}vmI_w" variabletype="">Markise_gerüttelt</field>
</block>
</value>
<next>
<block type="debug" id="-Z(ubpvsKy0W2YXJFHgo">
<field name="Severity">log</field>
<value name="TEXT">
<shadow type="text" id="s(NU#,z!NUkCJ_(*15uc">
<field name="TEXT">test</field>
</shadow>
<block type="text_join" id=",Cuo!0xiL3[?jfLz1#UC">
<mutation items="2"></mutation>
<value name="ADD0">
<block type="text" id="J_]4cQA(D:mdZ!KDY*lt">
<field name="TEXT">*** Rüttelsensor = </field>
</block>
</value>
<value name="ADD1">
<block type="variables_get" id="JPn6}k|4s!@,gvrV{Ft*">
<field name="VAR" id="3a1`m3IlPX7vd^}vmI_w" variabletype="">Markise_gerüttelt</field>
</block>
</value>
</block>
</value>
<next>
<block type="controls_if" id="L87a5!C0{gJD*%*$lmYy">
<value name="IF0">
<block type="logic_operation" id="`*n_XfqXMXSGJ31HNi#{" inline="false">
<field name="OP">AND</field>
<value name="A">
<block type="logic_compare" id="=Q?d2ThhO!BDYI@@|sM3">
<field name="OP">GTE</field>
<value name="A">
<block type="get_value" id="O$aDBjbqp!%nHp_KJ/^k">
<field name="ATTR">val</field>
<field name="OID">javascript.0.Markise_Gerüttelt</field>
</block>
</value>
<value name="B">
<block type="math_number" id="H{t[F!e~T.GzSL}-c~5Q">
<field name="NUM">6</field>
</block>
</value>
</block>
</value>
<value name="B">
<block type="logic_compare" id="=^@?I`B=A)^)8i+0%%La">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="SmX6CXCy*_XL_nbv[qe}">
<field name="ATTR">val</field>
<field name="OID">deconz.0.Sensors.21.open</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id="{5d$Lfu3Kf2EbvD(p9}b">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="control" id="Ip`CPM-LG:VN5]hcQe+P">
<mutation delay_input="false"></mutation>
<field name="OID">rflink.0.channels.BrelMotor_1.BLIND_41_ZU</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id="}W3fo5]~cJOMwJYyDW$c">
<field name="BOOL">TRUE</field>
</block>
</value>
<next>
<block type="pushover" id="I,#KRm.i4xBgkq*q.s)%">
<field name="INSTANCE"></field>
<field name="SOUND"></field>
<field name="PRIORITY">0</field>
<field name="LOG"></field>
<value name="MESSAGE">
<shadow type="text" id="?R8*!cIRh:*.+I7fEvK;">
<field name="TEXT">Markise ZU wegen mehrfachen Rütteln</field>
</shadow>
</value>
<next>
<block type="timeouts_cleartimeout" id="Tw=xkgG2ZcKdM+Hs|MOr">
<field name="NAME">timeout</field>
<next>
<block type="debug" id="qt?$JFxH[:g{j}?O|]Zv">
<field name="Severity">log</field>
<value name="TEXT">
<shadow type="text" id="ntk5Uy]#jHqSS^gKP7D=">
<field name="TEXT">*** Stop Timeout Markise</field>
</shadow>
</value>
<next>
<block type="variables_set" id="5R;o?s@:lk?N`][#BMZ|">
<field name="VAR" id="3a1`m3IlPX7vd^}vmI_w" variabletype="">Markise_gerüttelt</field>
<value name="VALUE">
<block type="math_number" id="hO.e1{^SqMY/b04`GjqF">
<field name="NUM">0</field>
</block>
</value>
<next>
<block type="update" id="u1QZ|J9#_Lc$D^5|]lN=">
<mutation delay_input="false"></mutation>
<field name="OID">javascript.0.Markise_Gerüttelt</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="variables_get" id="K9!@7B7Oh%268Iu2qD:v">
<field name="VAR" id="3a1`m3IlPX7vd^}vmI_w" variabletype="">Markise_gerüttelt</field>
</block>
</value>
<next>
<block type="debug" id="KV|jIp^MAGB~:JYTgiv]">
<field name="Severity">log</field>
<value name="TEXT">
<shadow type="text" id="DQF;w#!^_=!TIC7H_,!e">
<field name="TEXT">test</field>
</shadow>
<block type="text_join" id="u!5w}--DsJ}D.^*8_53a">
<mutation items="2"></mutation>
<value name="ADD0">
<block type="text" id="f^WtA*U9#+t[~QnFH]Vd">
<field name="TEXT">*** Rüttelsensor Reset weil zugemacht = </field>
</block>
</value>
<value name="ADD1">
<block type="variables_get" id="7#RW1j^6`QD`Hcs~CZw?">
<field name="VAR" id="3a1`m3IlPX7vd^}vmI_w" variabletype="">Markise_gerüttelt</field>
</block>
</value>
</block>
</value>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</statement>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</statement>
</block>
</next>
</block>
</next>
</block>
</xml>