- Home
- Deutsch
- Skripten / Logik
- Wenn Steuerung aus Skript dann ändere Objekt nicht
Wenn Steuerung aus Skript dann ändere Objekt nicht
-
schick das mal bitte.... ist fromJS eine Variable?
-
-
@paul53 So klappt es!
-
@paul53 Danke dir.....!
-
@paul53 ob das auch funktioniert wenn ich das Einschalten wieder per Uhrzeit hinzufüge?
-
@Uli977 sagte:
ob das auch funktioniert wenn ich das Einschalten wieder per Uhrzeit hinzufüge?
Ja, das hat mit dem Einschalten nichts zu tun. Den Zeitplan aber außerhalb von Triggern anordnen !
-
@paul53 Alles klar.
Und wenn ich zwei Rollos in einem Skript habe diese aber logischerweise einen anderen Trigger (Schalter) haben und ein anderes Objekt Automatik aus, dann ist das auch kein Problem, oder?
-
@Uli977 sagte:
wenn ich zwei Rollos in einem Skript habe
Dann solltest Du mehrere Variablen fromJS1, fromJS2 erstellen, weil es sonst Überschneidungen geben kann, es sei denn sie werden vom Script immer gleichzeitig angesteuert.
-
@paul53 Mache ich so.
Die gleiche Variable in mehreren Skripten ist aber kein Problem?
-
@Uli977 sagte:
Die gleiche Variable in mehreren Skripten ist aber kein Problem?
Nein. Die Gültigkeit bezieht auf das jeweilige Script.
-
@paul53 Hallo, ich brauche nochmal deine Hilfe.
Wir haben ja programmiert, dass wenn ich die Schalter von Hand bediene, die Automatik aus geht. Das geht auch so weit.
Heute habe ich dann festgestellt, das wenn die Beschattung beendet wird, beim 2. Mal die Automatik auch aus geht.Woran kann es liegen?
Ob es wirklich mit dem zweiten Mal zu tun hat oder ob noch ein Timer aktiv war kann ich nicht wirklich sagen.
Was ist deine Einschätzung dazu?Hier mal das Skript
<xml xmlns="http://www.w3.org/1999/xhtml"> <variables> <variable type="" id="@EGpSV?vyO*,N(JxiP2M">fromJS1</variable> <variable type="undefined" id="timeout4">timeout4</variable> <variable type="" id="2#yGTTlkGFAcj(W1ZIv,">fromJS2</variable> <variable type="undefined" id="timeout5">timeout5</variable> </variables> <block type="comment" id="ZZje1FoqUQ8FfJU;?x7x" x="346" y="-308"> <field name="COMMENT">Links</field> <next> <block type="on_ext" id="L,,$bLj#2xWbDk71}RSH"> <mutation items="5"></mutation> <field name="CONDITION">ne</field> <field name="ACK_CONDITION"></field> <value name="OID0"> <shadow type="field_oid" id="bac[Tqan)SVkPD)Z:b^v"> <field name="oid">hm-rega.0.42948</field> </shadow> </value> <value name="OID1"> <shadow type="field_oid" id="n?-0lP|T3IC/K~nSwP_5"> <field name="oid">javascript.0.Eigene_Datenpunkte.Rollos.Auto_Beschatten_BüroLinks</field> </shadow> </value> <value name="OID2"> <shadow type="field_oid" id="4-(4u9o04/^sI_Kqd2vL"> <field name="oid">hm-rpc.1.PEQ0563583.1.STATE</field> </shadow> </value> <value name="OID3"> <shadow type="field_oid" id="`r?WVR(-tYRq[N*a=I,a"> <field name="oid">javascript.0.Eigene_Datenpunkte.Rollos.Rollos_Beschatten</field> </shadow> </value> <value name="OID4"> <shadow type="field_oid" id="{Bm01h]yYNk@H?L|o+a;"> <field name="oid">shuttercontrol.0.info.Azimut</field> </shadow> </value> <statement name="STATEMENT"> <block type="comment" id="|Bx8,QLcs)VeWed+]vto"> <field name="COMMENT">Fenster hat Azimut 242° - PhotoPills</field> <next> <block type="controls_if" id="OI!,ukZ)|g!`!x^`fflZ"> <mutation elseif="1"></mutation> <value name="IF0"> <block type="logic_operation" id=":vVW!zxEI2it{IY+c%W{" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_operation" id="23/HFS~mZ$`SMrk?deZD" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_operation" id="d(2ylO;_ohc#g_T-Mj/h" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="+]O{$XdR@~k|x.I(B,7M"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="uify){gu%q_Efgv2R3=0"> <field name="ATTR">val</field> <field name="OID">hm-rega.0.42948</field> </block> </value> <value name="B"> <block type="logic_boolean" id="T~z}jI7SuD`V}O+UKeoE"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="FB5H.x2X]t3?9Ni1V/St"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="pmzaTPZpz.UGSVzhsIyN"> <field name="ATTR">val</field> <field name="OID">javascript.0.Eigene_Datenpunkte.Rollos.Auto_Beschatten_BüroLinks</field> </block> </value> <value name="B"> <block type="logic_boolean" id="?bvcUZjvnzxLJ5H;8P#%"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="arj-+;6@js5$Mu)k_aBL"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="G8y9O%st=A9~948u2=Wh"> <field name="ATTR">val</field> <field name="OID">javascript.0.Eigene_Datenpunkte.Rollos.Rollo_Nacht</field> </block> </value> <value name="B"> <block type="logic_boolean" id="%qAJL6uFTNXLJre~9T73"> <field name="BOOL">FALSE</field> </block> </value> </block> </value> </block> </value> <value name="B"> <block type="logic_operation" id="9N`PEEu-t/UuSw^RuhT+" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="VCho1q-jHB%9|x5o?fFW"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="#olr*zCKt*x5%%*7.[]X"> <field name="ATTR">val</field> <field name="OID">hm-rpc.1.PEQ0563583.1.STATE</field> </block> </value> <value name="B"> <block type="logic_boolean" id="ll4?~}-ak*N[2GSwgh9$"> <field name="BOOL">FALSE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_operation" id=")WWdGvzWZ|cij^w@X~8z" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="nn,$}EN1@]X96E[$_/?("> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="#fhGfdu_mcvVFGS1K$=."> <field name="ATTR">val</field> <field name="OID">javascript.0.Eigene_Datenpunkte.Rollos.Rollos_Beschatten</field> </block> </value> <value name="B"> <block type="logic_boolean" id="V3wYnDzk?^i*x)*?rpWv"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_operation" id="b0{`JP6_9][6jM=?`6qk" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_operation" id="0o5pjdz7}(+bm|sA?d28" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="|Nq*FXx$ZSr+j((X}9kk"> <field name="OP">GTE</field> <value name="A"> <block type="get_value" id="[$6IwIa{OXGq+vBEHD1G"> <field name="ATTR">val</field> <field name="OID">shuttercontrol.0.info.Azimut</field> </block> </value> <value name="B"> <block type="math_number" id="H3$+lt.n1WS4}M7C`yY*"> <field name="NUM">175</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id=",6?[R@P[HfQ*^*T^8c]@"> <field name="OP">LTE</field> <value name="A"> <block type="get_value" id="6eY@i3atnvRy^)y!X,OV"> <field name="ATTR">val</field> <field name="OID">shuttercontrol.0.info.Azimut</field> </block> </value> <value name="B"> <block type="math_number" id=":hEjaz@A-wqRLn+:_:xR"> <field name="NUM">280</field> </block> </value> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="(f|wuz+QU]{4kxp4%:@M"> <field name="OP">GT</field> <value name="A"> <block type="get_value" id="b-yZEPArY/xXCYkKw-.^"> <field name="ATTR">val</field> <field name="OID">hm-rpc.1.PEQ0012849.1.LEVEL</field> </block> </value> <value name="B"> <block type="math_number" id="HldvoXC;h@T1;IKCv9Z@"> <field name="NUM">20</field> </block> </value> </block> </value> </block> </value> </block> </value> </block> </value> </block> </value> <statement name="DO0"> <block type="control" id="It2|bZZC@a*O4-O38@u{"> <mutation delay_input="false"></mutation> <field name="OID">hm-rpc.1.PEQ0012849.1.LEVEL</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="Sm(,^5I]WMl)-Gy4:x^4"> <field name="NUM">20</field> </block> </value> </block> </statement> <value name="IF1"> <block type="logic_operation" id="qLgQ+%D:ymy#|~}59B^d" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_operation" id="*q`_gJMo]tV.UbWYN0k1" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="2M{1*NXUZUF!JO=$?0d$"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="UT0,9U,$s!fQgtnHM2`3"> <field name="ATTR">val</field> <field name="OID">hm-rega.0.42948</field> </block> </value> <value name="B"> <block type="logic_boolean" id="G|b|c40tOeahwkG]z(@."> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="3$6/lnTfmf]6xI=65.9`"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="!w^:EiZbb3q=[Gq}bHCZ"> <field name="ATTR">val</field> <field name="OID">javascript.0.Eigene_Datenpunkte.Rollos.Auto_Beschatten_BüroLinks</field> </block> </value> <value name="B"> <block type="logic_boolean" id="1xNT2||r$5.2~0E!NaQ`"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> </block> </value> <value name="B"> <block type="logic_operation" id="?m;2+obmdE!YYeZCgf`a" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="nU?]Y.4C!.4S:k|t+DF*"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="C?1~ZRU)j4E(#fjH0]K/"> <field name="ATTR">val</field> <field name="OID">javascript.0.Eigene_Datenpunkte.Rollos.Rollo_Nacht</field> </block> </value> <value name="B"> <block type="logic_boolean" id="0$Ku9bj/MTW5[ZX/:Z8+"> <field name="BOOL">FALSE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_operation" id="RR,UDMkwn*)O[pZ7-2h:" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_operation" id="YRyl!d;J[0+BA8s#S%RH" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="6`2+(Bf^U/e?J1*%Cw8~"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id=")clM1+n}_v;d[){mHq}}"> <field name="ATTR">val</field> <field name="OID">hm-rpc.1.PEQ0563583.1.STATE</field> </block> </value> <value name="B"> <block type="logic_boolean" id="PsJIL1{B8d?*TPK9n7l4"> <field name="BOOL">FALSE</field> </block> </value> </block> </value> <value name="B"> <block type="time_compare" id="*GP{q?[Bk*E($;R+`JcC"> <mutation end_time="false"></mutation> <field name="OPTION">></field> <field name="START_TIME">10:00</field> </block> </value> </block> </value> <value name="B"> <block type="logic_operation" id=")5DB.SHpXKCUHzw_20IG" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_operation" id="YYk#;(W*pDCE[egs*tL7" inline="false"> <field name="OP">OR</field> <value name="A"> <block type="logic_operation" id="X=Id{l/1q*[QoqU868Z*" inline="false"> <field name="OP">OR</field> <value name="A"> <block type="logic_compare" id="i9Z:!kFV0H3HGw=F9a+F"> <field name="OP">LT</field> <value name="A"> <block type="get_value" id="bnL4nMwcX2$6c,qlW^Yz"> <field name="ATTR">val</field> <field name="OID">shuttercontrol.0.info.Azimut</field> </block> </value> <value name="B"> <block type="math_number" id=";nIO0?n[M6Dkx/fMpj5U"> <field name="NUM">175</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="}UMqc7kHGkp`[hWk0@.N"> <field name="OP">GT</field> <value name="A"> <block type="get_value" id="^6]n1hBFvnC17c6dmmTn"> <field name="ATTR">val</field> <field name="OID">shuttercontrol.0.info.Azimut</field> </block> </value> <value name="B"> <block type="math_number" id="B_@e6*jtz}YqfgOg6F7-"> <field name="NUM">280</field> </block> </value> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="r2JUy]vDE-gJQ,1Y+yNp"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="d)!8,22lTnS*1i@,_0T#"> <field name="ATTR">val</field> <field name="OID">javascript.0.Eigene_Datenpunkte.Rollos.Rollos_Beschatten</field> </block> </value> <value name="B"> <block type="logic_boolean" id="-sfcb;8`)2,$n3dAPe3A"> <field name="BOOL">FALSE</field> </block> </value> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="/U?cFi3vDoxAvN}5#i%#"> <field name="OP">NEQ</field> <value name="A"> <block type="get_value" id="pjeb-Q:JaGktHeC:-Qts"> <field name="ATTR">val</field> <field name="OID">hm-rpc.1.PEQ0012849.1.LEVEL</field> </block> </value> <value name="B"> <block type="math_number" id="rQY0pJiYlHD70[p}xrTk"> <field name="NUM">50</field> </block> </value> </block> </value> </block> </value> </block> </value> </block> </value> </block> </value> <statement name="DO1"> <block type="control" id="JU}Rs~1tja7[dx{@Vk9u"> <mutation delay_input="false"></mutation> <field name="OID">hm-rpc.1.PEQ0012849.1.LEVEL</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="upN8xpVtm22dS*dF`6]@"> <field name="NUM">50</field> </block> </value> </block> </statement> </block> </next> </block> </statement> <next> <block type="comment" id="c-__bs5sLlXT75]s^4?;"> <field name="COMMENT">Schaltet die Auto Beschattung bei ungleich 20 ab </field> <next> <block type="on_ext" id="dp]3?V}|Qe_d%^bqIx:V"> <mutation items="1"></mutation> <field name="CONDITION">ne</field> <field name="ACK_CONDITION"></field> <value name="OID0"> <shadow type="field_oid" id="mt0cUmKjl8tTf1_YV`Gw"> <field name="oid">hm-rpc.1.PEQ0012849.1.LEVEL</field> </shadow> </value> <statement name="STATEMENT"> <block type="controls_if" id="T!h?w4u%`yVpmga]qEqY"> <value name="IF0"> <block type="logic_compare" id="5#wkN0!~q^6c|^jmXg99"> <field name="OP">EQ</field> <value name="A"> <block type="on_source" id="9GM]hRF!qQwr%C`#GIe]"> <field name="ATTR">state.from</field> </block> </value> <value name="B"> <block type="text" id="+6V`n?M!U5eXZvL@N6{B"> <field name="TEXT">system.adapter.javascript.0</field> </block> </value> </block> </value> <statement name="DO0"> <block type="variables_set" id="?j8V[D@_+i0zT+K(~AxJ"> <field name="VAR" id="@EGpSV?vyO*,N(JxiP2M" variabletype="">fromJS1</field> <value name="VALUE"> <block type="logic_boolean" id="?MtsQvGA|Q?0??b{XJU."> <field name="BOOL">TRUE</field> </block> </value> <next> <block type="comment" id="$fE0#CnM?Zbr@=/Z4GFp"> <field name="COMMENT">Rollolaufzeit</field> <next> <block type="timeouts_settimeout" id="gY7uM-9Y`/nx%;PcP$I$"> <field name="NAME">timeout4</field> <field name="DELAY">40</field> <field name="UNIT">sec</field> <statement name="STATEMENT"> <block type="variables_set" id="@s?yGsX+MY1D.fQ.xPm("> <field name="VAR" id="@EGpSV?vyO*,N(JxiP2M" variabletype="">fromJS1</field> <value name="VALUE"> <block type="logic_boolean" id="cB3T;/8N6s54g],Mt(Fm"> <field name="BOOL">FALSE</field> </block> </value> </block> </statement> </block> </next> </block> </next> </block> </statement> <next> <block type="controls_if" id="0G9xj#H{N`XRe%!_BWIY"> <value name="IF0"> <block type="logic_negate" id="#oiktj;5.P@0V4z(hNtA"> <value name="BOOL"> <block type="variables_get" id="elmx48UGbBu`J*lbc]++"> <field name="VAR" id="@EGpSV?vyO*,N(JxiP2M" variabletype="">fromJS1</field> </block> </value> </block> </value> <statement name="DO0"> <block type="control" id="bDtE22#9%z]6n5p]G_}`"> <mutation delay_input="false"></mutation> <field name="OID">javascript.0.Eigene_Datenpunkte.Rollos.Auto_Beschatten_BüroLinks</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="$kEB.Yv#z7Gr$u/MFk2]"> <field name="BOOL">FALSE</field> </block> </value> </block> </statement> </block> </next> </block> </statement> <next> <block type="schedule" id="Y|/6bx@)M1twg.jr1nNL"> <field name="SCHEDULE">{"time":{"exactTime":true,"start":"09:00"},"period":{"days":1}}</field> <statement name="STATEMENT"> <block type="controls_if" id="*v-o/{Aox|_njwD_IB$?"> <value name="IF0"> <block type="logic_compare" id="33cByRM-_bc(q|6;{FXB"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="}[RhanRQw}l.oVF|J(,="> <field name="ATTR">val</field> <field name="OID">javascript.0.Eigene_Datenpunkte.Rollos.Auto_Beschatten_BüroLinks</field> </block> </value> <value name="B"> <block type="logic_boolean" id="@?_#0;;d)kcxVM_m?j?I"> <field name="BOOL">FALSE</field> </block> </value> </block> </value> <statement name="DO0"> <block type="control" id="u[7L)+o4?K;bJJ441Cla"> <mutation delay_input="false"></mutation> <field name="OID">javascript.0.Eigene_Datenpunkte.Rollos.Auto_Beschatten_BüroLinks</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="da)s9:;79%xe:WbLvt|i"> <field name="BOOL">TRUE</field> </block> </value> </block> </statement> </block> </statement> <next> <block type="comment" id="RenE~usBhYiMTL@}@@e6"> <field name="COMMENT">Rechts</field> <next> <block type="on_ext" id="x.vWq,1|*pO%Z-sOgNe7"> <mutation items="5"></mutation> <field name="CONDITION">ne</field> <field name="ACK_CONDITION"></field> <value name="OID0"> <shadow type="field_oid" id="`XE{|F#y?n8jJpBrADw4"> <field name="oid">hm-rega.0.42948</field> </shadow> </value> <value name="OID1"> <shadow type="field_oid" id="lxMR_ZvQ2/:$X7%EbT|$"> <field name="oid">javascript.0.Eigene_Datenpunkte.Rollos.Auto_Beschatten_BüroRechts</field> </shadow> </value> <value name="OID2"> <shadow type="field_oid" id="!EVkNs8_(CYcv:Je]6+["> <field name="oid">hm-rpc.1.PEQ0563558.1.STATE</field> </shadow> </value> <value name="OID3"> <shadow type="field_oid" id="LoEWNo`)63LGOhL;brF."> <field name="oid">javascript.0.Eigene_Datenpunkte.Rollos.Rollos_Beschatten</field> </shadow> </value> <value name="OID4"> <shadow type="field_oid" id="j-j?ArS!E5@d2%e!QX0("> <field name="oid">shuttercontrol.0.info.Azimut</field> </shadow> </value> <statement name="STATEMENT"> <block type="comment" id="{~Rc`(b*EvZFG.H0pmg}"> <field name="COMMENT">Fenster hat Azimut 242° - PhotoPills</field> <next> <block type="controls_if" id="eGw~;{^PMJv[p-|}9b?j"> <mutation elseif="1"></mutation> <value name="IF0"> <block type="logic_operation" id="vMTshL{)bXc?)cf)Bbe!" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_operation" id="`iU^h;Jr,JHM:Bk8n{M_" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_operation" id="kB|6w-yr!(XXAf)0gfs/" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="Gz$MIHZdJ+0v{LYCA!xF"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="P),PVME]iq[k!Lu3pKsJ"> <field name="ATTR">val</field> <field name="OID">hm-rega.0.42948</field> </block> </value> <value name="B"> <block type="logic_boolean" id="^$ai}~`x1?rY/5hR9/fu"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="qm@:`UoLf/$w;xu~R4El"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="i5D%7+vcPUX12)P8tQ)1"> <field name="ATTR">val</field> <field name="OID">javascript.0.Eigene_Datenpunkte.Rollos.Auto_Beschatten_BüroRechts</field> </block> </value> <value name="B"> <block type="logic_boolean" id="lNe_)yC-cfpkdJBLf@w|"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="Oyf=#HccWjP|RvI|I+~q"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="@S4hj63mIeH)#`d}ET,z"> <field name="ATTR">val</field> <field name="OID">javascript.0.Eigene_Datenpunkte.Rollos.Rollo_Nacht</field> </block> </value> <value name="B"> <block type="logic_boolean" id="8jgOIY-WC5.diEUkxnYU"> <field name="BOOL">FALSE</field> </block> </value> </block> </value> </block> </value> <value name="B"> <block type="logic_operation" id="/t1^]tvU1B6Atna`Kd1x" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id=":IG+VCRb7g?cV1Pk7FF$"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="Ip~avMQBf;kfqNgBC}pJ"> <field name="ATTR">val</field> <field name="OID">hm-rpc.1.PEQ0563558.1.STATE</field> </block> </value> <value name="B"> <block type="logic_boolean" id="hFrjCweRvp,OPAZA1lG~"> <field name="BOOL">FALSE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_operation" id="ap*X:^0i3v_c4u}/tr6F" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="#~k035/F+d:#~lcZz,w1"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="/7)]Ek#=sNUknatwKRWg"> <field name="ATTR">val</field> <field name="OID">javascript.0.Eigene_Datenpunkte.Rollos.Rollos_Beschatten</field> </block> </value> <value name="B"> <block type="logic_boolean" id=".U)Y:zfj:Lr%?YA(Mld("> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_operation" id="$H*%+%i)=BQ1J?|YV1kH" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_operation" id=";D_h0DWg.;L;hEj.n(mV" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="uFVPc#=nb^OIAd-yW|]l"> <field name="OP">GTE</field> <value name="A"> <block type="get_value" id="fooYR!YSAA;4z(I=KKM:"> <field name="ATTR">val</field> <field name="OID">shuttercontrol.0.info.Azimut</field> </block> </value> <value name="B"> <block type="math_number" id="{f?XR=$`mSNb|2V`Fcf("> <field name="NUM">175</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="9mw^%}ErsVNwXw]Js$XT"> <field name="OP">LTE</field> <value name="A"> <block type="get_value" id="nH!HIeQF!ZE(|y/~/5b+"> <field name="ATTR">val</field> <field name="OID">shuttercontrol.0.info.Azimut</field> </block> </value> <value name="B"> <block type="math_number" id="2B4[@;[oWz0n6y^Y!90n"> <field name="NUM">280</field> </block> </value> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="efsux;-v*{#yIQ}*SXNs"> <field name="OP">GT</field> <value name="A"> <block type="get_value" id="1IcsY,ytVmOoCw![]lG2"> <field name="ATTR">val</field> <field name="OID">hm-rpc.1.PEQ0012835.1.LEVEL</field> </block> </value> <value name="B"> <block type="math_number" id="V?aUo;RSgT7Qfomecmi["> <field name="NUM">20</field> </block> </value> </block> </value> </block> </value> </block> </value> </block> </value> </block> </value> <statement name="DO0"> <block type="control" id="~E12%_J#%4szu5inaJw["> <mutation delay_input="false"></mutation> <field name="OID">hm-rpc.1.PEQ0012835.1.LEVEL</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="b$D2WbR:V!TU2TQd2,$V"> <field name="NUM">20</field> </block> </value> </block> </statement> <value name="IF1"> <block type="logic_operation" id="uiKLB6$tFFY6e:z$`yS+" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_operation" id="#5as;EV^DigGqh=*)pqh" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="?r(qo3:*q!KyWoQdBF;U"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="Y1X_nF/Kk@3pD8=5b^ez"> <field name="ATTR">val</field> <field name="OID">hm-rega.0.42948</field> </block> </value> <value name="B"> <block type="logic_boolean" id="6AN{YrD0GUw-hC9I(#aC"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="?G608C1qacdqzvVrk`oK"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="v^QTUe_n$M$MQdUySF6S"> <field name="ATTR">val</field> <field name="OID">javascript.0.Eigene_Datenpunkte.Rollos.Auto_Beschatten_BüroRechts</field> </block> </value> <value name="B"> <block type="logic_boolean" id="k~eg?Y4v~KC}TM/8Sbj+"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> </block> </value> <value name="B"> <block type="logic_operation" id="Z4%^Wh5CL;UdS^mW^[b4" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="cO{^+GhpzG*#b,gVSfV7"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="*0p1A7CifaZ,n^w5i+l3"> <field name="ATTR">val</field> <field name="OID">javascript.0.Eigene_Datenpunkte.Rollos.Rollo_Nacht</field> </block> </value> <value name="B"> <block type="logic_boolean" id="*5Dm.VMLo$_O([YCB[-J"> <field name="BOOL">FALSE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_operation" id="({xsd]}:Heus+d8)pO7C" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_operation" id="DMX7OOGZLJ=#joMjMZ.%" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="eJpe~:hv=Df=|gr-+X4k"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="#bDeaS5l1,8BItl!IXu~"> <field name="ATTR">val</field> <field name="OID">hm-rpc.1.PEQ0563558.1.STATE</field> </block> </value> <value name="B"> <block type="logic_boolean" id="llbO3i,Jl4!_j(j#_)z6"> <field name="BOOL">FALSE</field> </block> </value> </block> </value> <value name="B"> <block type="time_compare" id="[K_MZBSvAw0*_Y4X|]w["> <mutation end_time="false"></mutation> <field name="OPTION">></field> <field name="START_TIME">10:00</field> </block> </value> </block> </value> <value name="B"> <block type="logic_operation" id="FsNP^KdGLfQLhT2j3~Ac" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_operation" id="Vi/%yD`YS!_{}@vU[qnd" inline="false"> <field name="OP">OR</field> <value name="A"> <block type="logic_operation" id="Mf!kHP$v*h}/@BlA_w.$" inline="false"> <field name="OP">OR</field> <value name="A"> <block type="logic_compare" id="(wf.1YVh/(Mw|-C?O(rK"> <field name="OP">LT</field> <value name="A"> <block type="get_value" id="$Hj0_vp*KP,7l`~?x1-J"> <field name="ATTR">val</field> <field name="OID">shuttercontrol.0.info.Azimut</field> </block> </value> <value name="B"> <block type="math_number" id="o.,IUHF^oY9l5%i){+Vt"> <field name="NUM">175</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="YF*jS/j3I#d-f25=4qN;"> <field name="OP">GT</field> <value name="A"> <block type="get_value" id="COJ4|m/[M,9P(o-LEk20"> <field name="ATTR">val</field> <field name="OID">shuttercontrol.0.info.Azimut</field> </block> </value> <value name="B"> <block type="math_number" id="YI*K,DE?5g%T-.vbG/!`"> <field name="NUM">280</field> </block> </value> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="+.fLqVsmJzq9QWlK8v1r"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="gP-/[t1,SvXn0,I0[a7:"> <field name="ATTR">val</field> <field name="OID">javascript.0.Eigene_Datenpunkte.Rollos.Rollos_Beschatten</field> </block> </value> <value name="B"> <block type="logic_boolean" id=",)~sM/:L^Y^0DL-]X~8I"> <field name="BOOL">FALSE</field> </block> </value> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="9$A?]0fhVAv))Sq$_rjK"> <field name="OP">NEQ</field> <value name="A"> <block type="get_value" id="uI?{{|?@;$$EvNZvK^vG"> <field name="ATTR">val</field> <field name="OID">hm-rpc.1.PEQ0012835.1.LEVEL</field> </block> </value> <value name="B"> <block type="math_number" id="LqI|Aa_Vb!Khc*Zxx|9!"> <field name="NUM">100</field> </block> </value> </block> </value> </block> </value> </block> </value> </block> </value> </block> </value> <statement name="DO1"> <block type="control" id="7J^WxH7k|*p@x[IRXOn_"> <mutation delay_input="false"></mutation> <field name="OID">hm-rpc.1.PEQ0012835.1.LEVEL</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="o%_6r`Qt{`,rpWe{WapN"> <field name="NUM">100</field> </block> </value> </block> </statement> </block> </next> </block> </statement> <next> <block type="comment" id="roS?h{S%J{ny9!xk]IQ^"> <field name="COMMENT">Schaltet die Auto Beschattung aus wenn nicht Skript</field> <next> <block type="on_ext" id="t#K6~bAxaUVUqmtY}^tZ"> <mutation items="1"></mutation> <field name="CONDITION">ne</field> <field name="ACK_CONDITION"></field> <value name="OID0"> <shadow type="field_oid" id="a7G#eupgEM|/j`pNPjQh"> <field name="oid">hm-rpc.1.PEQ0012835.1.LEVEL</field> </shadow> </value> <statement name="STATEMENT"> <block type="controls_if" id="qvd+Bj57`^O9@|u@aUXw"> <value name="IF0"> <block type="logic_compare" id="xEbzL8wTUOQMwl!H.;/Q"> <field name="OP">EQ</field> <value name="A"> <block type="on_source" id="j*P^GiSX8MB/euA`Tk%P"> <field name="ATTR">state.from</field> </block> </value> <value name="B"> <block type="text" id="vq*z1.~7qxNYh5PPCma$"> <field name="TEXT">system.adapter.javascript.0</field> </block> </value> </block> </value> <statement name="DO0"> <block type="variables_set" id="`Rp3A~e%r~v$yAsOcZOL"> <field name="VAR" id="2#yGTTlkGFAcj(W1ZIv," variabletype="">fromJS2</field> <value name="VALUE"> <block type="logic_boolean" id="`9r4M5GDOM@(@RyQ.6b_"> <field name="BOOL">TRUE</field> </block> </value> <next> <block type="comment" id="8?IDK#$cYBkdWHJibv1R"> <field name="COMMENT">Rollolaufzeit</field> <next> <block type="timeouts_settimeout" id="eatoiK_MFg%U=BX$9T)4"> <field name="NAME">timeout5</field> <field name="DELAY">40</field> <field name="UNIT">sec</field> <statement name="STATEMENT"> <block type="variables_set" id="I5t._xu6pL_@5,Qm2vfI"> <field name="VAR" id="2#yGTTlkGFAcj(W1ZIv," variabletype="">fromJS2</field> <value name="VALUE"> <block type="logic_boolean" id="8gop:O)V(Q)xY6o9XS;*"> <field name="BOOL">FALSE</field> </block> </value> </block> </statement> </block> </next> </block> </next> </block> </statement> <next> <block type="controls_if" id="iUScRz8:,NiF1O.H2w~0"> <value name="IF0"> <block type="logic_negate" id="Z~b|Dp%2n0F+`*D`g-|d"> <value name="BOOL"> <block type="variables_get" id="v*d5nVcOh{{)5]u4W*B{"> <field name="VAR" id="2#yGTTlkGFAcj(W1ZIv," variabletype="">fromJS2</field> </block> </value> </block> </value> <statement name="DO0"> <block type="control" id="eoJulyD[e+aILWStM.We"> <mutation delay_input="false"></mutation> <field name="OID">javascript.0.Eigene_Datenpunkte.Rollos.Auto_Beschatten_BüroRechts</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="fd]mO+}1VDo=L[hK2]To"> <field name="BOOL">FALSE</field> </block> </value> </block> </statement> </block> </next> </block> </statement> <next> <block type="schedule" id="aSM$2Vh**d;7nCarsK3)"> <field name="SCHEDULE">{"time":{"exactTime":true,"start":"09:00"},"period":{"days":1}}</field> <statement name="STATEMENT"> <block type="controls_if" id="L]Ms1mp,4tO#54etG!Ud"> <value name="IF0"> <block type="logic_compare" id="v][4f]x4(s`BUwuXs@WU"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id=",1e0k5~JwR#wZY!bty-]"> <field name="ATTR">val</field> <field name="OID">javascript.0.Eigene_Datenpunkte.Rollos.Auto_Beschatten_BüroRechts</field> </block> </value> <value name="B"> <block type="logic_boolean" id="kaV1ZK;:g.R0V-T7Hmsv"> <field name="BOOL">FALSE</field> </block> </value> </block> </value> <statement name="DO0"> <block type="control" id="aQv!%.DQZs$t;;?SQl.r"> <mutation delay_input="false"></mutation> <field name="OID">javascript.0.Eigene_Datenpunkte.Rollos.Auto_Beschatten_BüroRechts</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id=")g*2ihh1,AQl2pZc8|vZ"> <field name="BOOL">TRUE</field> </block> </value> </block> </statement> </block> </statement> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </xml>
Danke dir!
Ergänzung:
Also ich habe jetzt hier zwei mal auf true und false gesetzt und dann ist die Automatik wieder ausgegangen.
Hat es jetzt mit dem Timer zu tun oder damit weil ich es jetzt gerade händisch gesetzt habe. -
@Uli977 sagte:
jetzt hier zwei mal auf true und false gesetzt und dann ist die Automatik wieder ausgegangen.
Du hast stop timeout vergessen. Das verlängert die Zeit, wenn innerhalb der 40 s eine Script-Aktion erfolgt.
-
@paul53 an welcher Stelle genau?
-
ich seh schon
-
@paul53
Hallo Paul, vorhin hat sich die Beschattungsautomatik des Rollos wieder abgeschaltet, obwohl ich den Schalter nicht angefasst habe.
Es war also so, dass die Beschattung aktiv war, das Rollo also heruntergefahren wurde, jedoch dann nach einiger Zeit... keine Ahnung wann genau, denn ich habe es ja nicht beobachtet, die Automatik ausgegangen ist.Kannst du mir nochmal die Logik dieses Skipts genau erläutern?
Was muss für eine Zeit für das Timeout eingestellt sein.
Die exakte Rollolaufzeit, oder mehr als die tatsächliche Laufzeit, oder weniger als die Laufzeit?Danke dir!
-
@Uli977 sagte:
Die exakte Rollolaufzeit, oder mehr als die tatsächliche Laufzeit, oder weniger als die Laufzeit?
Die maximale Rollolaufzeit.
@Uli977 sagte in Wenn Steuerung aus Skript dann ändere Objekt nicht:
abgeschaltet, obwohl ich den Schalter nicht angefasst habe.
Vielleicht bleibt der Wert von LEVEL nicht exakt konstant ? Dann sollte man erst bei einer Mindestbewegung die Automatik abschalten, z.B.
-
Habe ich auch beobachtet. Das Level ändert sich manchmal während der Bewegung.
Ich klinke mich mal ein. Habe die gleiche Motivation
Noch eine Frage: Woher kommt dieser Ursprung Block??
Finde den in meinen Blocklies nicht... nur im Import deines Skriptes @Uli977Gefunden... wow... ein AHA Moment DANKE
-
mal ein ganz andrer Ansatz:
Bei Level schaue ich ob ein Javascript Kommando rein kommt und setze eine Variable "fromJS".
Dann warte ich bis Direction auf 0 zurück fällt und werte über die Variable "fomJS" aus.
Dort dann die Automatik komplett zurück setzen bis zur nächsten Bewegung.Somit entfällt der Timer komplett und es wird ausgewertet sobald der Rolladen wieder steht.
Debug muss natürlich raus, aber ansonsten hats eben ganz gut funktioniert.
Findet ihr nen Fehler?Hier das Skript:
<xml xmlns="http://www.w3.org/1999/xhtml">
<variables>
<variable type="undefined" id="timeout2">timeout2</variable>
<variable type="" id="lY7^WQ2@/#Q80+BzHyx">blind_moving</variable> <variable type="" id="o=kS9?GhG|!3U6s/P!Q!">fromJS</variable> </variables> <block type="on" id="nT7C=4NMT[KJ*mm~XQod" x="-163" y="-413"> <field name="OID">javascript.0.sun_protection_active</field> <field name="CONDITION">true</field> <field name="ACK_CONDITION"></field> <statement name="STATEMENT"> <block type="control" id="#pfd6}j{ge@E%!(j}[l#"> <mutation delay_input="false"></mutation> <field name="OID">javascript.0.scriptEnabled.Rolladen.auto_active_Rollo_WZ</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="Zjg@-Ffn|FUP7+KEm
%)">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</statement>
</block>
<block type="timeouts_settimeout" id="W,!iXT,2WEDRs5JM-%i(" disabled="true" x="-163" y="-163">
<field name="NAME">timeout2</field>
<field name="DELAY">2</field>
<field name="UNIT">sec</field>
<statement name="STATEMENT">
<block type="control" id="62lw2h9$1+!]FFC-EmE"> <mutation delay_input="false"></mutation> <field name="OID">hm-rpc.0.MEQ0735994.1.LEVEL</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="l3In5$CIy$uL^T{*kV!D"> <field name="NUM">80</field> </block> </value> </block> </statement> </block> <block type="variables_set" id="@:.{J)S.86[LRkTFUjAm" x="-88" y="38"> <field name="VAR" id="lY7^WQ2@/#Q80+Bz
Hyx" variabletype="">blind_moving</field>
<value name="VALUE">
<block type="logic_boolean" id="nrZ}F^h)59a7{UutP:Xo">
<field name="BOOL">FALSE</field>
</block>
</value>
<next>
<block type="variables_set" id="SQzGexCD+-mtFkDD%|Xm">
<field name="VAR" id="o=kS9?GhG|!3U6s/P!Q!" variabletype="">fromJS</field>
<value name="VALUE">
<block type="logic_boolean" id="m.g9RWer/2zE#HP(=E4h">
<field name="BOOL">FALSE</field>
</block>
</value>
<next>
<block type="on_ext" id="0#X(g}On.E,4.oiB;owO">
<mutation items="1"></mutation>
<field name="CONDITION">ne</field>
<field name="ACK_CONDITION"></field>
<value name="OID0">
<shadow type="field_oid" id="(Ly^wv*{wh:C/dmuHoMc">
<field name="oid">hm-rpc.0.MEQ0735994.1.LEVEL</field>
</shadow>
</value>
<statement name="STATEMENT">
<block type="debug" id="#GUL)N(T0h|w~:l2!Rv">
<field name="Severity">log</field>
<value name="TEXT">
<shadow type="text" id="pqF)/_kGlvEeTEZ3E9zX">
<field name="TEXT">from funktioniert</field>
</shadow>
<block type="text_join" id="O=1]UAu|L%qu,JvTs]Hg">
<mutation items="4"></mutation>
<value name="ADD0">
<block type="text" id="cUjfbsY3XUZc|24XTTZ7">
<field name="TEXT">Ursprung Rollo Links Aktion = </field>
</block>
</value>
<value name="ADD1">
<block type="on_source" id="PS_Xn(@3TGY|WEeZG{bP">
<field name="ATTR">state.from</field>
</block>
</value>
<value name="ADD2">
<block type="text" id="k?Ei(?=mb,ta]QHa0yy"> <field name="TEXT"> , mit Wert</field> </block> </value> <value name="ADD3"> <block type="on_source" id="f._e
ITYe58wX-0o$=H/">
<field name="ATTR">state.val</field>
</block>
</value>
</block>
</value>
<next>
<block type="variables_set" id="^xNxZa#MAqkZj(MmkPh">
<field name="VAR" id="lY7^WQ2@/#Q80+BzHyx" variabletype="">blind_moving</field> <value name="VALUE"> <block type="logic_boolean" id="8G7vLNZ^S=2Ot.Fntztn"> <field name="BOOL">TRUE</field> </block> </value> <next> <block type="controls_if" id="npU+h406jggC_
pJ=E(X">
<value name="IF0">
<block type="logic_compare" id="+9GZrRTu[4@z2d1btjo"> <field name="OP">EQ</field> <value name="A"> <block type="on_source" id="E^z6J-Y3SW2*7I5_+.g~"> <field name="ATTR">state.from</field> </block> </value> <value name="B"> <block type="text" id="fTZx9r8ej6=)g^SJTi?,"> <field name="TEXT">system.adapter.javascript.0</field> </block> </value> </block> </value> <statement name="DO0"> <block type="variables_set" id="5MyRXFSkqb]tLg[Gu
tL">
<field name="VAR" id="o=kS9?GhG|!3U6s/P!Q!" variabletype="">fromJS</field>
<value name="VALUE">
<block type="logic_boolean" id="|EcxeQVLUsy1?]w[Fk9I">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</statement>
</block>
</next>
</block>
</next>
</block>
</statement>
<next>
<block type="on_ext" id="g2v{4jv,CZ:=cTXQ;m}$">
<mutation items="1"></mutation>
<field name="CONDITION">ne</field>
<field name="ACK_CONDITION"></field>
<value name="OID0">
<shadow type="field_oid" id="62#Ox;ukN9xi9S;2zhsI">
<field name="oid">hm-rpc.0.MEQ0735994.1.DIRECTION</field>
</shadow>
</value>
<statement name="STATEMENT">
<block type="debug" id="uq;(k^tNDrnLR4aD@kQ">
<field name="Severity">log</field>
<value name="TEXT">
<shadow type="text" id="pqF)/_kGlvEeTEZ3E9zX">
<field name="TEXT">from funktioniert</field>
</shadow>
<block type="text_join" id="8t_v,43^EU~J#A2?3ba">
<mutation items="4"></mutation>
<value name="ADD0">
<block type="text" id="q8cUTf6B;hf]8wyJ-
G">
<field name="TEXT">Ursprung Direction Rollo Links Aktion = </field>
</block>
</value>
<value name="ADD1">
<block type="on_source" id="$X|(:Gy!wiaH~L%tYaDL">
<field name="ATTR">state.from</field>
</block>
</value>
<value name="ADD2">
<block type="text" id="GuJ,L$:~}=3}LBL-kkT">
<field name="TEXT">, Wert = </field>
</block>
</value>
<value name="ADD3">
<block type="on_source" id="H39j(RFDwn?G}~uj8-WG">
<field name="ATTR">state.val</field>
</block>
</value>
</block>
</value>
<next>
<block type="controls_if" id="}(%|KxulU933=rFKcVK{">
<mutation else="1"></mutation>
<value name="IF0">
<block type="logic_operation" id="!pfy8bQv9[?r5zV0Wql8" inline="false">
<field name="OP">AND</field>
<value name="A">
<block type="logic_compare" id="=bI7j6UcxWFqmVN5m-kl">
<field name="OP">EQ</field>
<value name="A">
<block type="on_source" id=":2~hN%ByW,kbCjK0TnSm">
<field name="ATTR">state.val</field>
</block>
</value>
<value name="B">
<block type="math_number" id="Zpbb8jjQ63V|ajb4$(K">
<field name="NUM">0</field>
</block>
</value>
</block>
</value>
<value name="B">
<block type="variables_get" id="}s55P;/vo6E|%?s]9c#">
<field name="VAR" id="lY7^WQ2@/#Q80+BzHyx" variabletype="">blind_moving</field> </block> </value> </block> </value> <statement name="DO0"> <block type="controls_if" id="bqAYMk^%4Egeb!_p]jnc"> <mutation else="1"></mutation> <value name="IF0"> <block type="logic_negate" id="iaGYRaC@FAncu!2q:Rtq"> <value name="BOOL"> <block type="variables_get" id="EJ){DJ:|6,Y
e,fhCogj">
<field name="VAR" id="o=kS9?GhG|!3U6s/P!Q!" variabletype="">fromJS</field>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="debug" id="X7zt^nhoFPv%iSn|0RIF">
<field name="Severity">log</field>
<value name="TEXT">
<shadow type="text" id="[QW1~y=-?)w*nc#.#yu"> <field name="TEXT">Direction Methode: Manuell</field> </shadow> </value> <next> <block type="control" id="xcp[t$/M0%:yKCW]E=g5" disabled="true"> <mutation delay_input="false"></mutation> <field name="OID">javascript.0.scriptEnabled.Rolladen.auto_active_Rollo_WZ</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="-AD/I;/W_yl-=LAj%Be8"> <field name="BOOL">FALSE</field> </block> </value> </block> </next> </block> </statement> <statement name="ELSE"> <block type="debug" id="Tb]inMLQLwv{6=Y+n,9("> <field name="Severity">log</field> <value name="TEXT"> <shadow type="text" id=":yun
pic7Z8f3IJsBY?w">
<field name="TEXT">Directton Methode: Automatik</field>
</shadow>
</value>
</block>
</statement>
<next>
<block type="variables_set" id="FlUDV8^L;A:,trj}J8D=">
<field name="VAR" id="lY7^WQ2@/#Q80+BzHyx" variabletype="">blind_moving</field> <value name="VALUE"> <block type="logic_boolean" id="d4#D%i%My}XFD5jV/eT~"> <field name="BOOL">FALSE</field> </block> </value> <next> <block type="variables_set" id="NCJ$0-+3-VSV#[:8CUZE"> <field name="VAR" id="o=kS9?GhG|!3U6s/P!Q!" variabletype="">fromJS</field> <value name="VALUE"> <block type="logic_boolean" id="0IgUHF
z?SX~%X38CG7B">
<field name="BOOL">FALSE</field>
</block>
</value>
</block>
</next>
</block>
</next>
</block>
</statement>
<statement name="ELSE">
<block type="variables_set" id="3^-OG_A=[@O8P$#dnGyu">
<field name="VAR" id="lY7^WQ2@/#Q80+Bz`Hyx" variabletype="">blind_moving</field>
<value name="VALUE">
<block type="logic_boolean" id="fCNRFdkui}$MrvR_gCu">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</statement>
</block>
</next>
</block>
</statement>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</xml>