Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. *gelöst* Fehler im Skript? Jalousie fährt immer zu! help

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    *gelöst* Fehler im Skript? Jalousie fährt immer zu! help

    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      M1R0O last edited by M1R0O

      Hi zusammen,
      ich habe ein Skript zum Hochfahren meiner Rolläden. Hierin befindet sich ein Fehler:
      Meine Rolläden fahren um 9:00Uhr automatisch halb hoch, es sei denn, ich habe sie vorher hochgefahren.
      Hierzu habe ich einen virtuellen Schalter angelegt.

      Wenn ich morgens die Rolläden manuell hochfahre, wird der Schalter gesetzt, sodass die Rolläden um 9:00Uhr nicht in die Halbposition fahren.
      Soweit so gut. Leider spielt ein einziges Fenster nicht mit: 9 Fenster machen was sie sollen, 1 Fenster nicht. Punkt 9:00Uhr fährt das Rollo von Fenster1 zu, obwohl es eigentlich gar nichts machen sollte. Dazu kommt, das Fenster sollte ohne manuelles voriges Hochfahren nicht schließen, sondern öffnen.

      So sieht mein Skript derzeit aus:

      <xml xmlns="https://developers.google.com/blockly/xml">
       <block type="schedule" id="T]ZZ,Jj=-S`QqrNl}[3?" x="-437" y="-537">
         <field name="SCHEDULE">15 9 * * 0,6</field>
         <statement name="STATEMENT">
           <block type="control" id="SjC~k~,@VHCi.%ojU9k%">
             <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
             <field name="OID">alexa2.0.Echo-Devices.G2A0RF04821400R6.Commands.speak-volume</field>
             <field name="WITH_DELAY">FALSE</field>
             <value name="VALUE">
               <block type="math_number" id="E}+H9E[bjn7eeEOHQQ4=">
                 <field name="NUM">40</field>
               </block>
             </value>
             <next>
               <block type="control" id="2)Fj7pi$4i2=(Z$:e)I.">
                 <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                 <field name="OID">alexa2.0.Echo-Devices.G2A0RF04821400R6.Commands.speak</field>
                 <field name="WITH_DELAY">FALSE</field>
                 <value name="VALUE">
                   <block type="text" id="vYv`7jMPAwbgQ*LtOpDU">
                     <field name="TEXT">Die Rolläden öffnen in 15 Minuten</field>
                   </block>
                 </value>
               </block>
             </next>
           </block>
         </statement>
         <next>
           <block type="schedule" id="Ocf*a?-+jA6.0IdQV4r2">
             <field name="SCHEDULE">30 9 * * 0,6</field>
             <statement name="STATEMENT">
               <block type="controls_if" id="/HNUV}1QQ.~M=(3}5`Nq">
                 <value name="IF0">
                   <block type="logic_operation" id="qqqe@X5MRht5VSFOmD31" inline="false">
                     <field name="OP">AND</field>
                     <value name="A">
                       <block type="logic_compare" id="Gf{Z?GkViGkOvR%-m=D,">
                         <field name="OP">EQ</field>
                         <value name="A">
                           <block type="get_value" id="bE9^uGEk]`:|+#eLALN!">
                             <field name="ATTR">val</field>
                             <field name="OID">Meine_Geräte.0.Schalter_Rolläden</field>
                           </block>
                         </value>
                         <value name="B">
                           <block type="logic_boolean" id="lnY7Wia=UAJ0nmsHgja7">
                             <field name="BOOL">FALSE</field>
                           </block>
                         </value>
                       </block>
                     </value>
                     <value name="B">
                       <block type="logic_compare" id="MhODUo:W[k=}.bi=fsp@">
                         <field name="OP">EQ</field>
                         <value name="A">
                           <block type="get_value" id="Dldhsm49!4|@A8Hip8B]">
                             <field name="ATTR">val</field>
                             <field name="OID">hm-rpc.1.00155993962768.1.STATE</field>
                           </block>
                         </value>
                         <value name="B">
                           <block type="math_number" id="FruHT4H3EJ*_lM!3v|b{">
                             <field name="NUM">0</field>
                           </block>
                         </value>
                       </block>
                     </value>
                   </block>
                 </value>
                 <statement name="DO0">
                   <block type="controls_if" id="HH}74zG2UDx|~miyW?Ih">
                     <mutation elseif="1"></mutation>
                     <value name="IF0">
                       <block type="logic_compare" id=")a=AsbF%5S@6*tf?eFP`">
                         <field name="OP">EQ</field>
                         <value name="A">
                           <block type="get_value" id="pj~KoJR]%PFDXP*8b{M1">
                             <field name="ATTR">val</field>
                             <field name="OID">hm-rpc.0.OEQ1855592.1.LEVEL</field>
                           </block>
                         </value>
                         <value name="B">
                           <block type="math_number" id="l%,!yYwu=5f6QU^Z`[rD">
                             <field name="NUM">100</field>
                           </block>
                         </value>
                       </block>
                     </value>
                     <statement name="DO0">
                       <block type="control" id="*_+W;|A|(Q8N3}ZT56=U">
                         <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                         <field name="OID">hm-rpc.0.OEQ1855592.1.LEVEL</field>
                         <field name="WITH_DELAY">FALSE</field>
                         <value name="VALUE">
                           <block type="math_number" id="u-n/Wvh?0s[W11x0F/+{">
                             <field name="NUM">70</field>
                           </block>
                         </value>
                       </block>
                     </statement>
                     <value name="IF1">
                       <block type="logic_compare" id="@?.NNLtQdA8s-@0TmpgB">
                         <field name="OP">EQ</field>
                         <value name="A">
                           <block type="get_value" id="4vpo4O{3uhJ*-c9G[tSM">
                             <field name="ATTR">val</field>
                             <field name="OID">hm-rpc.0.OEQ1855592.1.LEVEL</field>
                           </block>
                         </value>
                         <value name="B">
                           <block type="math_number" id="P3}(GtDxm)mQv[frN)jL">
                             <field name="NUM">0</field>
                           </block>
                         </value>
                       </block>
                     </value>
                     <statement name="DO1">
                       <block type="control" id="9q!Hl!Q]pH]hpI3^3eA?">
                         <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                         <field name="OID">hm-rpc.0.OEQ1855592.1.LEVEL</field>
                         <field name="WITH_DELAY">FALSE</field>
                         <value name="VALUE">
                           <block type="math_number" id="SZt[Kefpl?Y0yX0kr^,M">
                             <field name="NUM">30</field>
                           </block>
                         </value>
                       </block>
                     </statement>
                   </block>
                 </statement>
                 <next>
                   <block type="controls_if" id=",Mj,%ceoDE,W4peqqQdI">
                     <value name="IF0">
                       <block type="logic_operation" id="]sGRRB@bkv=0NX?=FMhY" inline="false">
                         <field name="OP">AND</field>
                         <value name="A">
                           <block type="logic_compare" id="ooO6$oSR9FWh]wfymJ}/">
                             <field name="OP">EQ</field>
                             <value name="A">
                               <block type="get_value" id="ZGlXt85H^at=Dp,(egH:">
                                 <field name="ATTR">val</field>
                                 <field name="OID">Meine_Geräte.0.Schalter_Rolläden</field>
                               </block>
                             </value>
                             <value name="B">
                               <block type="logic_boolean" id="pmjffJHjF[X[(@4YgAA0">
                                 <field name="BOOL">FALSE</field>
                               </block>
                             </value>
                           </block>
                         </value>
                         <value name="B">
                           <block type="logic_compare" id="]XTwAJrLec?=7x0-j1q]">
                             <field name="OP">EQ</field>
                             <value name="A">
                               <block type="get_value" id=".Wz,Wik0FfO_![a7BABD">
                                 <field name="ATTR">val</field>
                                 <field name="OID">hm-rpc.1.00155993962F4F.1.STATE</field>
                               </block>
                             </value>
                             <value name="B">
                               <block type="math_number" id="zr~ADWNi:ni/Lz}Q2z;t">
                                 <field name="NUM">0</field>
                               </block>
                             </value>
                           </block>
                         </value>
                       </block>
                     </value>
                     <statement name="DO0">
                       <block type="controls_if" id="U=^5`Y2Y,KsXNv)CAL:0">
                         <mutation elseif="1"></mutation>
                         <value name="IF0">
                           <block type="logic_compare" id="hIR)+L=*/7)ZN4i=*?T{">
                             <field name="OP">EQ</field>
                             <value name="A">
                               <block type="get_value" id="V)dOHP=gRZVc(=yq?KA,">
                                 <field name="ATTR">val</field>
                                 <field name="OID">hm-rpc.0.OEQ1852569.1.LEVEL</field>
                               </block>
                             </value>
                             <value name="B">
                               <block type="math_number" id="/Wt*CCDLPW5!w!6~PeP0">
                                 <field name="NUM">100</field>
                               </block>
                             </value>
                           </block>
                         </value>
                         <statement name="DO0">
                           <block type="control" id="|,xj1wrzK=r3,qTMAH)?">
                             <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                             <field name="OID">hm-rpc.0.OEQ1852569.1.LEVEL</field>
                             <field name="WITH_DELAY">FALSE</field>
                             <value name="VALUE">
                               <block type="math_number" id="|^GV;[XxB%CM/*?1MM^8">
                                 <field name="NUM">70</field>
                               </block>
                             </value>
                           </block>
                         </statement>
                         <value name="IF1">
                           <block type="logic_compare" id="uP?-t6X=^k!r|yu;@dFn">
                             <field name="OP">EQ</field>
                             <value name="A">
                               <block type="get_value" id="L:g;XzOPYb@qGF|?PQrb">
                                 <field name="ATTR">val</field>
                                 <field name="OID">hm-rpc.0.OEQ1852569.1.LEVEL</field>
                               </block>
                             </value>
                             <value name="B">
                               <block type="math_number" id="g]A_/g}Ljt0RT4JRT]Gz">
                                 <field name="NUM">0</field>
                               </block>
                             </value>
                           </block>
                         </value>
                         <statement name="DO1">
                           <block type="control" id="ZH)k;r7PVR(9U5y)!*#4">
                             <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                             <field name="OID">hm-rpc.0.OEQ1852569.1.LEVEL</field>
                             <field name="WITH_DELAY">FALSE</field>
                             <value name="VALUE">
                               <block type="math_number" id="d{!xY@*LTauKS[MN:MOy">
                                 <field name="NUM">30</field>
                               </block>
                             </value>
                           </block>
                         </statement>
                       </block>
                     </statement>
                     <next>
                       <block type="controls_if" id="Re^NZ`)Bw0+a:nIPZo,F">
                         <value name="IF0">
                           <block type="logic_operation" id="U`hWW^cUO0IT~I=:N:og" inline="false">
                             <field name="OP">AND</field>
                             <value name="A">
                               <block type="logic_compare" id="bM[VNzX7m?f.:,6{1q{z">
                                 <field name="OP">EQ</field>
                                 <value name="A">
                                   <block type="get_value" id="uTNIKH4wyc*y]dCWH9S-">
                                     <field name="ATTR">val</field>
                                     <field name="OID">Meine_Geräte.0.Schalter_Rolläden</field>
                                   </block>
                                 </value>
                                 <value name="B">
                                   <block type="logic_boolean" id="-y)6h}Gt0Yy42}%+2Tiu">
                                     <field name="BOOL">FALSE</field>
                                   </block>
                                 </value>
                               </block>
                             </value>
                             <value name="B">
                               <block type="logic_compare" id="A#q.XL{PqyJwpG/`lBx#">
                                 <field name="OP">EQ</field>
                                 <value name="A">
                                   <block type="get_value" id="_317FW#PbUI3H~;]c-{P">
                                     <field name="ATTR">val</field>
                                     <field name="OID">hm-rpc.1.00155993962EF7.1.STATE</field>
                                   </block>
                                 </value>
                                 <value name="B">
                                   <block type="math_number" id="%YVn`VIW{qmz[QNxYGC?">
                                     <field name="NUM">0</field>
                                   </block>
                                 </value>
                               </block>
                             </value>
                           </block>
                         </value>
                         <statement name="DO0">
                           <block type="controls_if" id="ZkeFEL*h@1xNin(p0.vv">
                             <mutation elseif="1"></mutation>
                             <value name="IF0">
                               <block type="logic_compare" id="oQv8c#_E^_ztt}XcG+`4">
                                 <field name="OP">EQ</field>
                                 <value name="A">
                                   <block type="get_value" id="|S692*Frd=olZt@J9z=Q">
                                     <field name="ATTR">val</field>
                                     <field name="OID">hm-rpc.0.OEQ1854040.1.LEVEL</field>
                                   </block>
                                 </value>
                                 <value name="B">
                                   <block type="math_number" id="oqQmr+`whH]Z#X=NTL1%">
                                     <field name="NUM">100</field>
                                   </block>
                                 </value>
                               </block>
                             </value>
                             <statement name="DO0">
                               <block type="control" id="jP5y`s`F`KgSI~OY`6Rv">
                                 <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                 <field name="OID">hm-rpc.0.OEQ1854040.1.LEVEL</field>
                                 <field name="WITH_DELAY">FALSE</field>
                                 <value name="VALUE">
                                   <block type="math_number" id="DxRS(3a0Bbv)QYiK|INk">
                                     <field name="NUM">70</field>
                                   </block>
                                 </value>
                               </block>
                             </statement>
                             <value name="IF1">
                               <block type="logic_compare" id="`C=f3UQ)4Nm^zHkgXGVB">
                                 <field name="OP">EQ</field>
                                 <value name="A">
                                   <block type="get_value" id="*SE]IP:`R,!,MCi?lHwb">
                                     <field name="ATTR">val</field>
                                     <field name="OID">hm-rpc.0.OEQ1854040.1.LEVEL</field>
                                   </block>
                                 </value>
                                 <value name="B">
                                   <block type="math_number" id="]DOir|f{=VmJ2DY`)Q{5">
                                     <field name="NUM">0</field>
                                   </block>
                                 </value>
                               </block>
                             </value>
                             <statement name="DO1">
                               <block type="control" id="*}qxr|`{U_=Gye{tDX+f">
                                 <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                 <field name="OID">hm-rpc.0.OEQ1854040.1.LEVEL</field>
                                 <field name="WITH_DELAY">FALSE</field>
                                 <value name="VALUE">
                                   <block type="math_number" id="v}g4DeCRdg#IF)V2K-}_">
                                     <field name="NUM">30</field>
                                   </block>
                                 </value>
                               </block>
                             </statement>
                           </block>
                         </statement>
                         <next>
                           <block type="controls_if" id="^t|+[gaa9EBY.F=[74M3">
                             <value name="IF0">
                               <block type="logic_operation" id="yR=,l?ASfjU.SpV5bzTu" inline="false">
                                 <field name="OP">AND</field>
                                 <value name="A">
                                   <block type="logic_compare" id="IyWQ)w@Yga+=-=x{x4yD">
                                     <field name="OP">EQ</field>
                                     <value name="A">
                                       <block type="get_value" id="z~I;,9hBPG.#e9JRFjQs">
                                         <field name="ATTR">val</field>
                                         <field name="OID">Meine_Geräte.0.Schalter_Rolläden</field>
                                       </block>
                                     </value>
                                     <value name="B">
                                       <block type="logic_boolean" id="aXtd6Uum5](8dOphKVS,">
                                         <field name="BOOL">FALSE</field>
                                       </block>
                                     </value>
                                   </block>
                                 </value>
                                 <value name="B">
                                   <block type="logic_compare" id="2|MS]kdH2%{(uX4`rvd?">
                                     <field name="OP">EQ</field>
                                     <value name="A">
                                       <block type="get_value" id="]=y#N;.xwx=ukKW(TE)9">
                                         <field name="ATTR">val</field>
                                         <field name="OID">hm-rpc.1.001559939628C4.1.STATE</field>
                                       </block>
                                     </value>
                                     <value name="B">
                                       <block type="math_number" id="_fxC=%m97:Ih%-9bD~V_">
                                         <field name="NUM">0</field>
                                       </block>
                                     </value>
                                   </block>
                                 </value>
                               </block>
                             </value>
                             <statement name="DO0">
                               <block type="controls_if" id="(1yLJ4b?T^nP+:!ZG/W6">
                                 <mutation elseif="1"></mutation>
                                 <value name="IF0">
                                   <block type="logic_compare" id="t(iHrn^6zgOTH*0ok/xB">
                                     <field name="OP">EQ</field>
                                     <value name="A">
                                       <block type="get_value" id="I3ySkDQRt4T)!Y3Y-Uv.">
                                         <field name="ATTR">val</field>
                                         <field name="OID">hm-rpc.0.OEQ1855282.1.LEVEL</field>
                                       </block>
                                     </value>
                                     <value name="B">
                                       <block type="math_number" id="u9}%#nQXF}j.M(VN@ILN">
                                         <field name="NUM">100</field>
                                       </block>
                                     </value>
                                   </block>
                                 </value>
                                 <statement name="DO0">
                                   <block type="control" id="aQHXkF6D@nXb-3Wk)gmC">
                                     <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                     <field name="OID">hm-rpc.0.OEQ1855282.1.LEVEL</field>
                                     <field name="WITH_DELAY">FALSE</field>
                                     <value name="VALUE">
                                       <block type="math_number" id="gr79Q:fkHo1+[O8]%w]y">
                                         <field name="NUM">70</field>
                                       </block>
                                     </value>
                                   </block>
                                 </statement>
                                 <value name="IF1">
                                   <block type="logic_compare" id="t{~YOp.gvd`qLwJ,rFiq">
                                     <field name="OP">EQ</field>
                                     <value name="A">
                                       <block type="get_value" id="nf8@_k}M_cMU-kv(9a]{">
                                         <field name="ATTR">val</field>
                                         <field name="OID">hm-rpc.0.OEQ1855282.1.LEVEL</field>
                                       </block>
                                     </value>
                                     <value name="B">
                                       <block type="math_number" id="q!2q(U5lYjS1sXYUwfT5">
                                         <field name="NUM">0</field>
                                       </block>
                                     </value>
                                   </block>
                                 </value>
                                 <statement name="DO1">
                                   <block type="control" id="qHAXjJxB7dUd{24bp8tz">
                                     <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                     <field name="OID">hm-rpc.0.OEQ1855282.1.LEVEL</field>
                                     <field name="WITH_DELAY">FALSE</field>
                                     <value name="VALUE">
                                       <block type="math_number" id="=K:hI;+M*gSZwj@glIv{">
                                         <field name="NUM">30</field>
                                       </block>
                                     </value>
                                   </block>
                                 </statement>
                               </block>
                             </statement>
                             <next>
                               <block type="control" id="V+_}%C0K.qlP}dMJ;]Y)">
                                 <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                 <field name="OID">hm-rpc.0.OEQ1299057.1.LEVEL</field>
                                 <field name="WITH_DELAY">FALSE</field>
                                 <value name="VALUE">
                                   <block type="math_number" id=".i%nkO+ahOrY8xtfC9S-">
                                     <field name="NUM">0</field>
                                   </block>
                                 </value>
                                 <next>
                                   <block type="controls_if" id=":tRryNObdc-cY7tnv9{[">
                                     <value name="IF0">
                                       <block type="logic_compare" id="ki@Cd2Yl!bH^V{PAp7]z">
                                         <field name="OP">EQ</field>
                                         <value name="A">
                                           <block type="get_value" id="!y%xv|@q$`yWf$+{86vt">
                                             <field name="ATTR">val</field>
                                             <field name="OID">Meine_Geräte.0.Schalter_Rolläden</field>
                                           </block>
                                         </value>
                                         <value name="B">
                                           <block type="logic_boolean" id="V$SUo/Xjt`Epk:;F];;w">
                                             <field name="BOOL">FALSE</field>
                                           </block>
                                         </value>
                                       </block>
                                     </value>
                                     <statement name="DO0">
                                       <block type="controls_if" id=",JqeZ^qvKn//NRTf%gH|">
                                         <mutation elseif="1"></mutation>
                                         <value name="IF0">
                                           <block type="logic_compare" id="f`E3aq/{}l]b7:OcjOkx">
                                             <field name="OP">EQ</field>
                                             <value name="A">
                                               <block type="get_value" id="GPqO2qoa;3FuYdZ@^cm7">
                                                 <field name="ATTR">val</field>
                                                 <field name="OID">hm-rpc.0.OEQ1302786.1.LEVEL</field>
                                               </block>
                                             </value>
                                             <value name="B">
                                               <block type="math_number" id="1EEGdD2^+8ey]nIWi/yr">
                                                 <field name="NUM">100</field>
                                               </block>
                                             </value>
                                           </block>
                                         </value>
                                         <statement name="DO0">
                                           <block type="control" id="I+}6CV*;P~1!??`7^vXa">
                                             <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                             <field name="OID">hm-rpc.0.OEQ1302786.1.LEVEL</field>
                                             <field name="WITH_DELAY">FALSE</field>
                                             <value name="VALUE">
                                               <block type="math_number" id="/zlH@MyTXRz5|f,2WB{v">
                                                 <field name="NUM">70</field>
                                               </block>
                                             </value>
                                           </block>
                                         </statement>
                                         <value name="IF1">
                                           <block type="logic_compare" id=")+q`H}}Atzo,)1Yv^hJD">
                                             <field name="OP">EQ</field>
                                             <value name="A">
                                               <block type="get_value" id="pu3}lO_OfTowy7!Q,=84">
                                                 <field name="ATTR">val</field>
                                                 <field name="OID">hm-rpc.0.OEQ1302786.1.LEVEL</field>
                                               </block>
                                             </value>
                                             <value name="B">
                                               <block type="math_number" id="]8IpN6lG2d;pToN`pQux">
                                                 <field name="NUM">0</field>
                                               </block>
                                             </value>
                                           </block>
                                         </value>
                                         <statement name="DO1">
                                           <block type="control" id="L=5{%eM%1+VaJub0U!kR">
                                             <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                             <field name="OID">hm-rpc.0.OEQ1302786.1.LEVEL</field>
                                             <field name="WITH_DELAY">FALSE</field>
                                             <value name="VALUE">
                                               <block type="math_number" id=",)?s5ZQiyv-6+e-_yL{(">
                                                 <field name="NUM">30</field>
                                               </block>
                                             </value>
                                           </block>
                                         </statement>
                                       </block>
                                     </statement>
                                     <next>
                                       <block type="controls_if" id="{B[.VkjBZg=FV_5tm~cx">
                                         <value name="IF0">
                                           <block type="logic_compare" id="*#*gucKM0,P.SrccG#z_">
                                             <field name="OP">EQ</field>
                                             <value name="A">
                                               <block type="get_value" id="QyF;[vVovxaD*Kgy_nPp">
                                                 <field name="ATTR">val</field>
                                                 <field name="OID">Meine_Geräte.0.Schalter_Rolläden</field>
                                               </block>
                                             </value>
                                             <value name="B">
                                               <block type="logic_boolean" id=";,tSHL}/#}AiJgQL~Zyc">
                                                 <field name="BOOL">FALSE</field>
                                               </block>
                                             </value>
                                           </block>
                                         </value>
                                         <statement name="DO0">
                                           <block type="controls_if" id="4/+}:c._8Xu{iPn.exTw">
                                             <mutation elseif="1"></mutation>
                                             <value name="IF0">
                                               <block type="logic_compare" id=",oCB:RXvQ^0xT{NCyyz5">
                                                 <field name="OP">EQ</field>
                                                 <value name="A">
                                                   <block type="get_value" id="|M)k%:ry!?m~VCU2SjsX">
                                                     <field name="ATTR">val</field>
                                                     <field name="OID">hm-rpc.0.OEQ1299316.1.LEVEL</field>
                                                   </block>
                                                 </value>
                                                 <value name="B">
                                                   <block type="math_number" id="aR`KwV|-:q$1=r3#;/i:">
                                                     <field name="NUM">100</field>
                                                   </block>
                                                 </value>
                                               </block>
                                             </value>
                                             <statement name="DO0">
                                               <block type="control" id="P)}|JUU/#%.qe-RMN#mY">
                                                 <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                 <field name="OID">hm-rpc.0.OEQ1299316.1.LEVEL</field>
                                                 <field name="WITH_DELAY">FALSE</field>
                                                 <value name="VALUE">
                                                   <block type="math_number" id="eS=cXs+?#o;g8Ngq^2TO">
                                                     <field name="NUM">70</field>
                                                   </block>
                                                 </value>
                                               </block>
                                             </statement>
                                             <value name="IF1">
                                               <block type="logic_compare" id="fg$#^JCI7{B*O|7%{]r*">
                                                 <field name="OP">EQ</field>
                                                 <value name="A">
                                                   <block type="get_value" id="V_p+%q)L9Ox@Chy!2$sW">
                                                     <field name="ATTR">val</field>
                                                     <field name="OID">hm-rpc.0.OEQ1299316.1.LEVEL</field>
                                                   </block>
                                                 </value>
                                                 <value name="B">
                                                   <block type="math_number" id="m#KF3?:.--:#[6NDnxve">
                                                     <field name="NUM">0</field>
                                                   </block>
                                                 </value>
                                               </block>
                                             </value>
                                             <statement name="DO1">
                                               <block type="control" id="[b0?Rr3,wagI3EWnc`1R">
                                                 <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                 <field name="OID">hm-rpc.0.OEQ1299316.1.LEVEL</field>
                                                 <field name="WITH_DELAY">FALSE</field>
                                                 <value name="VALUE">
                                                   <block type="math_number" id="nKa_id9$ku,hJg?Gf_i(">
                                                     <field name="NUM">30</field>
                                                   </block>
                                                 </value>
                                               </block>
                                             </statement>
                                           </block>
                                         </statement>
                                         <next>
                                           <block type="controls_if" id="^[kKB:QW|BYrpW+K$x*v">
                                             <value name="IF0">
                                               <block type="logic_compare" id="x4;]iYwzM7c05H/Y=b_U">
                                                 <field name="OP">EQ</field>
                                                 <value name="A">
                                                   <block type="get_value" id="o:4z|`LN|HFh_@Ecfdk7">
                                                     <field name="ATTR">val</field>
                                                     <field name="OID">Meine_Geräte.0.Schalter_Rolläden</field>
                                                   </block>
                                                 </value>
                                                 <value name="B">
                                                   <block type="logic_boolean" id="xH#NBi.J,YuV[a+.xPWS">
                                                     <field name="BOOL">FALSE</field>
                                                   </block>
                                                 </value>
                                               </block>
                                             </value>
                                             <statement name="DO0">
                                               <block type="control" id="UjKda=KnyI956,tp.scc">
                                                 <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                 <field name="OID">hm-rpc.0.OEQ1302835.1.LEVEL</field>
                                                 <field name="WITH_DELAY">FALSE</field>
                                                 <value name="VALUE">
                                                   <block type="math_number" id="p820p}AbP3ZWh)M$gy_2">
                                                     <field name="NUM">100</field>
                                                   </block>
                                                 </value>
                                                 <next>
                                                   <block type="control" id="$REVdpTE]E1QV*Lr-]rf">
                                                     <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                     <field name="OID">hm-rpc.0.OEQ1299349.1.LEVEL</field>
                                                     <field name="WITH_DELAY">FALSE</field>
                                                     <value name="VALUE">
                                                       <block type="math_number" id="(9=/+I0Jo#c{8]tEWyNi">
                                                         <field name="NUM">100</field>
                                                       </block>
                                                     </value>
                                                     <next>
                                                       <block type="control" id="]6HA[sInb10Y}Fw2:QxT">
                                                         <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                         <field name="OID">hm-rpc.0.OEQ1299309.1.LEVEL</field>
                                                         <field name="WITH_DELAY">FALSE</field>
                                                         <value name="VALUE">
                                                           <block type="math_number" id="h#l3o//(w-=A0:~NcEb;">
                                                             <field name="NUM">100</field>
                                                           </block>
                                                         </value>
                                                         <next>
                                                           <block type="controls_if" id="l#`/w29;H0|Ov7zXm$]x">
                                                             <value name="IF0">
                                                               <block type="logic_compare" id=";Q1b~IpppUG[PMZ(]E~o">
                                                                 <field name="OP">NEQ</field>
                                                                 <value name="A">
                                                                   <block type="get_value" id=",lELYXJ8G*Sk;wk?tL(H">
                                                                     <field name="ATTR">val</field>
                                                                     <field name="OID">hm-rpc.0.OEQ1299057.1.LEVEL</field>
                                                                   </block>
                                                                 </value>
                                                                 <value name="B">
                                                                   <block type="math_number" id="{?t|84kcOa6y1Q#ZG0Lt">
                                                                     <field name="NUM">100</field>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </value>
                                                             <statement name="DO0">
                                                               <block type="control" id="id;L^1Ww!rb$?%9N~/q:">
                                                                 <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                 <field name="OID">hm-rpc.0.OEQ1299057.1.LEVEL</field>
                                                                 <field name="WITH_DELAY">FALSE</field>
                                                                 <value name="VALUE">
                                                                   <block type="math_number" id="zB0Aj}j,Ii8(uV#W:BUZ">
                                                                     <field name="NUM">100</field>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </statement>
                                                             <next>
                                                               <block type="control" id=";E-sZG@;Qmv;$)vJJC$|" disabled="true">
                                                                 <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                 <field name="OID">hm-rpc.0.OEQ1299057.1.LEVEL</field>
                                                                 <field name="WITH_DELAY">FALSE</field>
                                                                 <value name="VALUE">
                                                                   <block type="math_number" id="KfRIPg*6/vdUjo`W.8rJ">
                                                                     <field name="NUM">100</field>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </next>
                                                           </block>
                                                         </next>
                                                       </block>
                                                     </next>
                                                   </block>
                                                 </next>
                                               </block>
                                             </statement>
                                             <next>
                                               <block type="controls_if" id="BNX#6DPfflUKW9{+MPJ^" disabled="true">
                                                 <value name="IF0">
                                                   <block type="logic_compare" id="ME|$F4uA;xRS${J?dF9#">
                                                     <field name="OP">EQ</field>
                                                     <value name="A">
                                                       <block type="get_value" id="?BrVG-(yPqMC`;TPQLNj">
                                                         <field name="ATTR">val</field>
                                                         <field name="OID">Meine_Geräte.0.Schalter_Rolläden</field>
                                                       </block>
                                                     </value>
                                                     <value name="B">
                                                       <block type="logic_boolean" id="A1cT~;!~dM[T^CzT7n,w">
                                                         <field name="BOOL">FALSE</field>
                                                       </block>
                                                     </value>
                                                   </block>
                                                 </value>
                                                 <statement name="DO0">
                                                   <block type="controls_if" id=":TG_{U?v[ZuF*Lb6RZ|_">
                                                     <mutation elseif="1"></mutation>
                                                     <value name="IF0">
                                                       <block type="logic_compare" id="m1;CpS=8Rtu;SY{z/U`t">
                                                         <field name="OP">EQ</field>
                                                         <value name="A">
                                                           <block type="get_value" id="KVx[%MSK23J@5t!oTz]z">
                                                             <field name="ATTR">val</field>
                                                             <field name="OID">hm-rpc.0.OEQ1299057.1.LEVEL</field>
                                                           </block>
                                                         </value>
                                                         <value name="B">
                                                           <block type="math_number" id="5Me%8Ajl0HBt?HCb/Tjx">
                                                             <field name="NUM">100</field>
                                                           </block>
                                                         </value>
                                                       </block>
                                                     </value>
                                                     <statement name="DO0">
                                                       <block type="control" id="{$N)^|k-28MF@%fYbUc)">
                                                         <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                         <field name="OID">hm-rpc.0.OEQ1299057.1.LEVEL</field>
                                                         <field name="WITH_DELAY">FALSE</field>
                                                         <value name="VALUE">
                                                           <block type="math_number" id="c`OVz533Cc1_{]RRv9Oz">
                                                             <field name="NUM">0</field>
                                                           </block>
                                                         </value>
                                                       </block>
                                                     </statement>
                                                     <value name="IF1">
                                                       <block type="logic_compare" id="E-^!Q}D|=D6%K@`Jk5l#">
                                                         <field name="OP">EQ</field>
                                                         <value name="A">
                                                           <block type="get_value" id="+xJDcn+.289Zd,Ze)=}%">
                                                             <field name="ATTR">val</field>
                                                             <field name="OID">hm-rpc.0.OEQ1299057.1.LEVEL</field>
                                                           </block>
                                                         </value>
                                                         <value name="B">
                                                           <block type="math_number" id="AsDzWxQ@OKO8Qi:@Zi[Q">
                                                             <field name="NUM">0</field>
                                                           </block>
                                                         </value>
                                                       </block>
                                                     </value>
                                                     <statement name="DO1">
                                                       <block type="control" id="fF%ups{C^[^G/cK+=wr3">
                                                         <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                         <field name="OID">hm-rpc.0.OEQ1299057.1.LEVEL</field>
                                                         <field name="WITH_DELAY">FALSE</field>
                                                         <value name="VALUE">
                                                           <block type="math_number" id=".l2+JpZ*DztwKvjht`7z">
                                                             <field name="NUM">100</field>
                                                           </block>
                                                         </value>
                                                       </block>
                                                     </statement>
                                                   </block>
                                                 </statement>
                                               </block>
                                             </next>
                                           </block>
                                         </next>
                                       </block>
                                     </next>
                                   </block>
                                 </next>
                               </block>
                             </next>
                           </block>
                         </next>
                       </block>
                     </next>
                   </block>
                 </next>
               </block>
             </statement>
           </block>
         </next>
       </block>
      </xml>
      

      Ich habe nun, wie in der hochgeladenen Datei ersichtlich, mehrere Varianten des Skriptes probiert, immer fährt Fenster 1 zu!
      Unbenannt1.PNG Unbenannt2.PNG

      Es ist auch nicht so, dass die Anschlüsse des Homematic-Adapters vertauscht sind, da er, wenn das Rollo oben ist, den Wert 100% anzeigt.

      Könnt ihr helfen?
      Vielen Dank

      FredF 1 Reply Last reply Reply Quote 0
      • O
        oFbEQnpoLKKl6mbY5e13 last edited by

        Bedeutet 100% nicht 100% Beschattung?

        1 Reply Last reply Reply Quote 0
        • M
          M1R0O last edited by

          Nein, denn wenn das Rollo geöffnet ist, lautet der Wert ja 100%.
          Trotzdem danke

          1 Reply Last reply Reply Quote 0
          • FredF
            FredF Most Active Forum Testing @M1R0O last edited by

            @M1R0O sagte in Fehler im Skript? Jalousie fährt immer zu! help:

            fährt das Rollo von Fenster1 zu

            Deswegen?
            9d7d2a86-7046-4f90-b48b-39a7eb8a6e02-grafik.png

            1 Reply Last reply Reply Quote 0
            • M
              M1R0O last edited by

              Ja sicher! Das ist es! Tagelang habe ich davor gesessen und es einfach übersehen > Wald und Bäume...

              Vielen Dank!!!

              FredF 1 Reply Last reply Reply Quote 0
              • FredF
                FredF Most Active Forum Testing @M1R0O last edited by

                @M1R0O
                👍
                Dann den Thread als gelöst markieren

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post

                Support us

                ioBroker
                Community Adapters
                Donate

                848
                Online

                31.8k
                Users

                80.0k
                Topics

                1.3m
                Posts

                blockly
                3
                6
                294
                Loading More Posts
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes
                Reply
                • Reply as topic
                Log in to reply
                Community
                Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                The ioBroker Community 2014-2023
                logo