Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Unlogisch, oder?

    NEWS

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    Unlogisch, oder?

    This topic has been deleted. Only users with topic management privileges can see it.
    • Uli977
      Uli977 @paul53 last edited by Uli977

      @paul53 Vorab mal eben, bevor ich mir das neue Skript ansehe.

      Das hatte ich in Anwendung und Rollo_Dämmerung und Rollo_Dunkel sind gleichzeitig bei 121 auf ein gegangen....

      Ist da was falsch?

      26709173-0201-4b49-9cec-9a0339c3630d-image.png

      EDIT: Jetzt (20:33) wo ich nochmal auf die Datenpunkte schaue ist es richtig. Hell = false / Dämmerung = wahr / Dunkel = false (Aktuelle Helligkeit 107)

      1 Reply Last reply Reply Quote 0
      • Uli977
        Uli977 @paul53 last edited by

        @paul53 Alles klar....

        Hab es jetzt so umgesetzt, vielleicht kannst du dir das mal ansehen.

        Das von dir
        f0072cb9-9348-4e05-97bb-182ffd41fbf8-image.png

        Das entsprechende Programm für das Rollo dazu.

        42d68a75-0eb8-4fe0-b7e3-ce0e039c2cbc-image.png

        1 Reply Last reply Reply Quote 0
        • Uli977
          Uli977 last edited by Uli977

          @paul53 Ich habe noch eine Frage....

          Dieses Rollo soll nie auf halb fahren und erst frühestens um 20:30 Uhr komplett zu.
          Im Sommer natürlich nur wenn Position 0 (runter) gesetzt ist, von mir aus auch erst um 22:30 Uhr.
          Im Winter aber nicht vor 20:30 Uhr, auch nicht wenn zu diesem Zeitpunkt die 0 bereits um z.B. 17 Uhr erreicht wurde.

          Wie baue ich das am Besten ein?

          So?

          07790f9d-16a3-4627-a5d8-83c436ebb5a5-image.png

          paul53 1 Reply Last reply Reply Quote 0
          • Uli977
            Uli977 last edited by Uli977

            @paul53 Mir ist gerade was eingefallen....

            Ich habe Rollos welche bei der morgendlichen Dämmerung hoch fahren sollen und ich habe welche die dies nicht tun sollen (Schlafräume).
            Benötige ich dann nicht sogar 4 Zustände?

            0 = Dunkel = runter
            1 = Dämmerung Morgen = halb
            2 = Dämmerung Abend = halb
            3 = Hell = hoch

            Oder mache ich das so?
            Eine zusätzliche Zeit > 16:30 reinbringen

            ec0ec406-c982-49d0-81d5-b476ae53a5f4-image.png

            paul53 1 Reply Last reply Reply Quote 0
            • paul53
              paul53 @Uli977 last edited by

              @Uli977 sagte:

              Eine zusätzliche Zeit > 16:30 reinbringen

              Das kann man machen, denn man muss ja nur zwischen morgens und abends unterscheiden. Allerdings sind zu viele Abfragen mehrfach enthalten. Verwende besser geschachtelte falls-Blöcke.

              Uli977 1 Reply Last reply Reply Quote 0
              • Uli977
                Uli977 @paul53 last edited by Uli977

                @paul53 Was meinst du? Besser einen vierten Zustand, oder besser mit der Zeit arbeiten?

                <xml xmlns="http://www.w3.org/1999/xhtml">
                 <block type="on_ext" id="RE]*yf?BO+D1I2Q[vtL=" x="1063" y="63">
                   <mutation items="1"></mutation>
                   <field name="CONDITION">ne</field>
                   <field name="ACK_CONDITION"></field>
                   <value name="OID0">
                     <shadow type="field_oid" id="*Os]pxbYo2/_^AApvlh.">
                       <field name="oid">javascript.0.Eigene_Datenpunkte.Rollos.01_Rollo_Position</field>
                     </shadow>
                   </value>
                   <statement name="STATEMENT">
                     <block type="comment" id="*}1Wyj(wAQb/%8BDX3Q9">
                       <field name="COMMENT">Dämmerung - Halb hoch (1)</field>
                       <next>
                         <block type="comment" id="cU-VqW@Shvwji(qp2=a%">
                           <field name="COMMENT">Schlafz.Fenster.Links</field>
                           <next>
                             <block type="controls_if" id="17VH7cRk;:i$z=`sFFsA">
                               <value name="IF0">
                                 <block type="logic_operation" id="$*8}tibLROsi(!qV;x`)" inline="false">
                                   <field name="OP">AND</field>
                                   <value name="A">
                                     <block type="logic_operation" id="Y91Q?AZT[,lCf|Dtt3EG" inline="false">
                                       <field name="OP">AND</field>
                                       <value name="A">
                                         <block type="logic_operation" id="pq,ApZMq?|[|l91R?gdg" inline="false">
                                           <field name="OP">AND</field>
                                           <value name="A">
                                             <block type="logic_compare" id="9T1TKc9f9._|sPFvao8L">
                                               <field name="OP">EQ</field>
                                               <value name="A">
                                                 <block type="get_value" id="z1SjRq;QUcDmtYKge6Yo">
                                                   <field name="ATTR">val</field>
                                                   <field name="OID">hm-rega.0.42948</field>
                                                 </block>
                                               </value>
                                               <value name="B">
                                                 <block type="logic_boolean" id="}|O`{[vIo7d[^mn1`/R:">
                                                   <field name="BOOL">TRUE</field>
                                                 </block>
                                               </value>
                                             </block>
                                           </value>
                                           <value name="B">
                                             <block type="logic_compare" id="*$4n:FsuO0LCEqq$6dPS">
                                               <field name="OP">EQ</field>
                                               <value name="A">
                                                 <block type="get_value" id="F,)EkXq;DV%:tD^sKi5U">
                                                   <field name="ATTR">val</field>
                                                   <field name="OID">javascript.0.Eigene_Datenpunkte.Rollos.01_Rollo_Position</field>
                                                 </block>
                                               </value>
                                               <value name="B">
                                                 <block type="math_number" id="ZIq^vw#.m:.nG}wXegT;">
                                                   <field name="NUM">1</field>
                                                 </block>
                                               </value>
                                             </block>
                                           </value>
                                         </block>
                                       </value>
                                       <value name="B">
                                         <block type="time_compare" id="L@t]G$kl!:apSEp-JX4^">
                                           <mutation end_time="false"></mutation>
                                           <field name="OPTION">&gt;</field>
                                           <field name="START_TIME">16:30</field>
                                         </block>
                                       </value>
                                     </block>
                                   </value>
                                   <value name="B">
                                     <block type="logic_compare" id="Lf+Qc^C+``Cs$V2[jP1U">
                                       <field name="OP">NEQ</field>
                                       <value name="A">
                                         <block type="get_value" id="@?bW4K4wh3Sa9U6eB=a4">
                                           <field name="ATTR">val</field>
                                           <field name="OID">hm-rpc.1.OEQ1971970.1.LEVEL</field>
                                         </block>
                                       </value>
                                       <value name="B">
                                         <block type="math_number" id="|aH~^d7LVBFO320L]q(a">
                                           <field name="NUM">55</field>
                                         </block>
                                       </value>
                                     </block>
                                   </value>
                                 </block>
                               </value>
                               <statement name="DO0">
                                 <block type="control" id="9KPYk#V?%PG9fKSbj7(X">
                                   <mutation delay_input="true"></mutation>
                                   <field name="OID">hm-rpc.1.OEQ1971970.1.LEVEL</field>
                                   <field name="WITH_DELAY">TRUE</field>
                                   <field name="DELAY_MS">6</field>
                                   <field name="UNIT">sec</field>
                                   <field name="CLEAR_RUNNING">FALSE</field>
                                   <value name="VALUE">
                                     <block type="math_number" id="{z),lML{ioh^b2nJ?^5;">
                                       <field name="NUM">55</field>
                                     </block>
                                   </value>
                                 </block>
                               </statement>
                               <next>
                                 <block type="comment" id="@d`*vMQ4,!;K.7*4%O`[">
                                   <field name="COMMENT">Schlafz.Fenster.Rechts</field>
                                   <next>
                                     <block type="controls_if" id=")#]MF=75UZ0~/=(]iTni">
                                       <value name="IF0">
                                         <block type="logic_operation" id="`-u1?O$m=dq#7aum3.1w" inline="false">
                                           <field name="OP">AND</field>
                                           <value name="A">
                                             <block type="logic_operation" id="%QkIV2-}2!:qDTG9(#b[" inline="false">
                                               <field name="OP">AND</field>
                                               <value name="A">
                                                 <block type="logic_operation" id="W59ckgPktK/BxcZnVp@6" inline="false">
                                                   <field name="OP">AND</field>
                                                   <value name="A">
                                                     <block type="logic_compare" id="X4m%J?93au/u92/;PrrY">
                                                       <field name="OP">EQ</field>
                                                       <value name="A">
                                                         <block type="get_value" id="(;tMmF)0:u7~HlnKoVUl">
                                                           <field name="ATTR">val</field>
                                                           <field name="OID">hm-rega.0.42948</field>
                                                         </block>
                                                       </value>
                                                       <value name="B">
                                                         <block type="logic_boolean" id="MvE~?qtNE18YQ@$rbMii">
                                                           <field name="BOOL">TRUE</field>
                                                         </block>
                                                       </value>
                                                     </block>
                                                   </value>
                                                   <value name="B">
                                                     <block type="logic_compare" id="?w)Z:!hwc383RX%]-R^+">
                                                       <field name="OP">EQ</field>
                                                       <value name="A">
                                                         <block type="get_value" id="!|[wXeKcrxz-tt{AS#(V">
                                                           <field name="ATTR">val</field>
                                                           <field name="OID">javascript.0.Eigene_Datenpunkte.Rollos.01_Rollo_Position</field>
                                                         </block>
                                                       </value>
                                                       <value name="B">
                                                         <block type="math_number" id="QY.@s3}%C@l$C`a|(2uO">
                                                           <field name="NUM">1</field>
                                                         </block>
                                                       </value>
                                                     </block>
                                                   </value>
                                                 </block>
                                               </value>
                                               <value name="B">
                                                 <block type="time_compare" id=":3BH;V5)lZOAX%4`rm~U">
                                                   <mutation end_time="false"></mutation>
                                                   <field name="OPTION">&gt;</field>
                                                   <field name="START_TIME">16:30</field>
                                                 </block>
                                               </value>
                                             </block>
                                           </value>
                                           <value name="B">
                                             <block type="logic_operation" id="hnbc(O:O$p]yUwVus@Z0" inline="false">
                                               <field name="OP">AND</field>
                                               <value name="A">
                                                 <block type="logic_compare" id="ORZCYitd*|X0S:]T,c}b">
                                                   <field name="OP">EQ</field>
                                                   <value name="A">
                                                     <block type="get_value" id="Z30=vxRu3Hc%cf48}@N_">
                                                       <field name="ATTR">val</field>
                                                       <field name="OID">hm-rpc.1.MEQ0951207.1.STATE</field>
                                                     </block>
                                                   </value>
                                                   <value name="B">
                                                     <block type="logic_boolean" id="aOPW`*|DV!`nKAXQhu@D">
                                                       <field name="BOOL">FALSE</field>
                                                     </block>
                                                   </value>
                                                 </block>
                                               </value>
                                               <value name="B">
                                                 <block type="logic_compare" id="NfC5s[HuL$Ep/rlJRK+%">
                                                   <field name="OP">NEQ</field>
                                                   <value name="A">
                                                     <block type="get_value" id="w=.J/=wPSfqLxeUn+`W[">
                                                       <field name="ATTR">val</field>
                                                       <field name="OID">hm-rpc.1.OEQ1971956.1.LEVEL</field>
                                                     </block>
                                                   </value>
                                                   <value name="B">
                                                     <block type="math_number" id="B[hes~zQ+2*3qGn9Il.-">
                                                       <field name="NUM">55</field>
                                                     </block>
                                                   </value>
                                                 </block>
                                               </value>
                                             </block>
                                           </value>
                                         </block>
                                       </value>
                                       <statement name="DO0">
                                         <block type="control" id="[OR9bp?*gnQp6.43LJ)R">
                                           <mutation delay_input="true"></mutation>
                                           <field name="OID">hm-rpc.1.OEQ1971956.1.LEVEL</field>
                                           <field name="WITH_DELAY">TRUE</field>
                                           <field name="DELAY_MS">7</field>
                                           <field name="UNIT">sec</field>
                                           <field name="CLEAR_RUNNING">FALSE</field>
                                           <value name="VALUE">
                                             <block type="math_number" id="SKK|-q|UV`Qqo~f+S$#c">
                                               <field name="NUM">55</field>
                                             </block>
                                           </value>
                                         </block>
                                       </statement>
                                       <next>
                                         <block type="comment" id="6Bo*LLHn~v)D/;i^70t*">
                                           <field name="COMMENT">Dunkel - Komplett runter (0)</field>
                                           <next>
                                             <block type="comment" id="g1]h+rZ?tW.iMGtW@(@/">
                                               <field name="COMMENT">Schlafz.Fenster.Links</field>
                                               <next>
                                                 <block type="controls_if" id="@~61uCYR@I@Pd1Ur+l5!">
                                                   <value name="IF0">
                                                     <block type="logic_operation" id=",qK:e_V3Sq{Janyn26fx" inline="false">
                                                       <field name="OP">AND</field>
                                                       <value name="A">
                                                         <block type="logic_operation" id="}DR+mJ1kMAXAFVGSt|+," inline="false">
                                                           <field name="OP">AND</field>
                                                           <value name="A">
                                                             <block type="logic_compare" id="**a/UcEfJD2VG*v]+f~:">
                                                               <field name="OP">EQ</field>
                                                               <value name="A">
                                                                 <block type="get_value" id="(TP-8}-1S1.j!n{ipH-x">
                                                                   <field name="ATTR">val</field>
                                                                   <field name="OID">hm-rega.0.42948</field>
                                                                 </block>
                                                               </value>
                                                               <value name="B">
                                                                 <block type="logic_boolean" id="t=G`W/p0C|:vP-B#;AGX">
                                                                   <field name="BOOL">TRUE</field>
                                                                 </block>
                                                               </value>
                                                             </block>
                                                           </value>
                                                           <value name="B">
                                                             <block type="logic_compare" id="4%[6SC6SLc_8bD_K*QZ|">
                                                               <field name="OP">EQ</field>
                                                               <value name="A">
                                                                 <block type="get_value" id="GMdP$m~[t|nHxdo?|oY}">
                                                                   <field name="ATTR">val</field>
                                                                   <field name="OID">javascript.0.Eigene_Datenpunkte.Rollos.01_Rollo_Position</field>
                                                                 </block>
                                                               </value>
                                                               <value name="B">
                                                                 <block type="math_number" id="[1R/TB]9SLqBOMY9bG[a">
                                                                   <field name="NUM">0</field>
                                                                 </block>
                                                               </value>
                                                             </block>
                                                           </value>
                                                         </block>
                                                       </value>
                                                       <value name="B">
                                                         <block type="logic_compare" id="|U`]UITrUq{09#_7@Fs|">
                                                           <field name="OP">NEQ</field>
                                                           <value name="A">
                                                             <block type="get_value" id="?sj,uS~HV3wRtFZz.A]Z">
                                                               <field name="ATTR">val</field>
                                                               <field name="OID">hm-rpc.1.OEQ1971970.1.LEVEL</field>
                                                             </block>
                                                           </value>
                                                           <value name="B">
                                                             <block type="math_number" id="BQAGE!l*BZl*BGZJ#]Jw">
                                                               <field name="NUM">0</field>
                                                             </block>
                                                           </value>
                                                         </block>
                                                       </value>
                                                     </block>
                                                   </value>
                                                   <statement name="DO0">
                                                     <block type="control" id="`NzZ2B;P59!2|O/^()cL">
                                                       <mutation delay_input="true"></mutation>
                                                       <field name="OID">hm-rpc.1.OEQ1971970.1.LEVEL</field>
                                                       <field name="WITH_DELAY">TRUE</field>
                                                       <field name="DELAY_MS">6</field>
                                                       <field name="UNIT">sec</field>
                                                       <field name="CLEAR_RUNNING">FALSE</field>
                                                       <value name="VALUE">
                                                         <block type="math_number" id="!@(hgo%5{%=Z2OTe@#*#">
                                                           <field name="NUM">0</field>
                                                         </block>
                                                       </value>
                                                     </block>
                                                   </statement>
                                                   <next>
                                                     <block type="comment" id=",4m4P1~FFQSsDQL[;%c*">
                                                       <field name="COMMENT">Schlafz.Fenster.Rechts</field>
                                                       <next>
                                                         <block type="controls_if" id="T4yGf4Z59;i2ov$.7p@w">
                                                           <value name="IF0">
                                                             <block type="logic_operation" id="%C7i5H(}!Y0/3Y1@XqN:" inline="false">
                                                               <field name="OP">AND</field>
                                                               <value name="A">
                                                                 <block type="logic_operation" id="GfJ8%xnO6WuI%Gh]`YL;" inline="false">
                                                                   <field name="OP">AND</field>
                                                                   <value name="A">
                                                                     <block type="logic_compare" id="7FBgyvzGJRNTkn0Mi:++">
                                                                       <field name="OP">EQ</field>
                                                                       <value name="A">
                                                                         <block type="get_value" id=")mi814u;Bsf~pGn0m3Bo">
                                                                           <field name="ATTR">val</field>
                                                                           <field name="OID">hm-rega.0.42948</field>
                                                                         </block>
                                                                       </value>
                                                                       <value name="B">
                                                                         <block type="logic_boolean" id=":7P],?l}w4G4PD,#^$2{">
                                                                           <field name="BOOL">TRUE</field>
                                                                         </block>
                                                                       </value>
                                                                     </block>
                                                                   </value>
                                                                   <value name="B">
                                                                     <block type="logic_compare" id="]zM,qp5ZpV@Tr1V{l5T{">
                                                                       <field name="OP">EQ</field>
                                                                       <value name="A">
                                                                         <block type="get_value" id="=F6Ed2@Lty,cDO]Ke@yo">
                                                                           <field name="ATTR">val</field>
                                                                           <field name="OID">javascript.0.Eigene_Datenpunkte.Rollos.01_Rollo_Position</field>
                                                                         </block>
                                                                       </value>
                                                                       <value name="B">
                                                                         <block type="math_number" id="b?w$^S3hu[7:/uIg:3`P">
                                                                           <field name="NUM">0</field>
                                                                         </block>
                                                                       </value>
                                                                     </block>
                                                                   </value>
                                                                 </block>
                                                               </value>
                                                               <value name="B">
                                                                 <block type="logic_operation" id="p*~4-qX?REf{=heDuJAq" inline="false">
                                                                   <field name="OP">AND</field>
                                                                   <value name="A">
                                                                     <block type="logic_compare" id="DbE~+[lg--DOSU5*@jn3">
                                                                       <field name="OP">EQ</field>
                                                                       <value name="A">
                                                                         <block type="get_value" id="Sl[fICYe(LQxD9d#,$m7">
                                                                           <field name="ATTR">val</field>
                                                                           <field name="OID">hm-rpc.1.MEQ0951207.1.STATE</field>
                                                                         </block>
                                                                       </value>
                                                                       <value name="B">
                                                                         <block type="logic_boolean" id="H`l*qu-v7.)E%B;UD!,P">
                                                                           <field name="BOOL">FALSE</field>
                                                                         </block>
                                                                       </value>
                                                                     </block>
                                                                   </value>
                                                                   <value name="B">
                                                                     <block type="logic_compare" id="79P|t8_C(W}j3UAkxoKM">
                                                                       <field name="OP">NEQ</field>
                                                                       <value name="A">
                                                                         <block type="get_value" id="3QI8jUOe,$Q)=b=5KObC">
                                                                           <field name="ATTR">val</field>
                                                                           <field name="OID">hm-rpc.1.OEQ1971956.1.LEVEL</field>
                                                                         </block>
                                                                       </value>
                                                                       <value name="B">
                                                                         <block type="math_number" id="@D|#t@^]ku+oX_n$1h%n">
                                                                           <field name="NUM">0</field>
                                                                         </block>
                                                                       </value>
                                                                     </block>
                                                                   </value>
                                                                 </block>
                                                               </value>
                                                             </block>
                                                           </value>
                                                           <statement name="DO0">
                                                             <block type="control" id="{6Ar^m$Z[8muQR]QzC-Q">
                                                               <mutation delay_input="true"></mutation>
                                                               <field name="OID">hm-rpc.1.OEQ1971956.1.LEVEL</field>
                                                               <field name="WITH_DELAY">TRUE</field>
                                                               <field name="DELAY_MS">7</field>
                                                               <field name="UNIT">sec</field>
                                                               <field name="CLEAR_RUNNING">FALSE</field>
                                                               <value name="VALUE">
                                                                 <block type="math_number" id="W%@a_Xr`qylt;%|I7DJ+">
                                                                   <field name="NUM">0</field>
                                                                 </block>
                                                               </value>
                                                             </block>
                                                           </statement>
                                                         </block>
                                                       </next>
                                                     </block>
                                                   </next>
                                                 </block>
                                               </next>
                                             </block>
                                           </next>
                                         </block>
                                       </next>
                                     </block>
                                   </next>
                                 </block>
                               </next>
                             </block>
                           </next>
                         </block>
                       </next>
                     </block>
                   </statement>
                 </block>
                </xml>
                

                Falls du noch Lust hast mir das zu zeigen.....

                paul53 1 Reply Last reply Reply Quote 0
                • paul53
                  paul53 @Uli977 last edited by

                  @Uli977 sagte:

                  Falls du noch Lust hast mir das zu zeigen.....

                  Blockly_temp.JPG

                  Uli977 1 Reply Last reply Reply Quote 0
                  • Uli977
                    Uli977 @paul53 last edited by

                    @paul53 Schickst du mir das ?

                    paul53 1 Reply Last reply Reply Quote 0
                    • paul53
                      paul53 @Uli977 last edited by

                      @Uli977 sagte:

                      Schickst du mir das ?

                      <xml xmlns="http://www.w3.org/1999/xhtml">
                       <block type="on_ext" id="_B=],f#1:Sva2,+0gG-}" x="62" y="62">
                         <mutation items="1"></mutation>
                         <field name="CONDITION">ne</field>
                         <field name="ACK_CONDITION"></field>
                         <value name="OID0">
                           <shadow type="field_oid" id="t~._%qK0mPtx8u~gs_nf">
                             <field name="oid">default</field>
                           </shadow>
                         </value>
                         <statement name="STATEMENT">
                           <block type="controls_if" id="apK0_SG78fSuhnMDrU_.">
                             <value name="IF0">
                               <block type="get_value" id="Ix#uV$aTN+~E%f#`}zoJ">
                                 <field name="ATTR">val</field>
                                 <field name="OID">ID auswählen</field>
                               </block>
                             </value>
                             <statement name="DO0">
                               <block type="controls_if" id="KBQ._8.Tc%mVZChv=|a|">
                                 <value name="IF0">
                                   <block type="logic_operation" id="js7G7ZpJ__-kBa#,d~*!" inline="false">
                                     <field name="OP">AND</field>
                                     <value name="A">
                                       <block type="logic_compare" id="F%?mDp(XL-d,ZE6);U|h">
                                         <field name="OP">EQ</field>
                                         <value name="A">
                                           <block type="on_source" id="n1FiuR-`%#`@l-x]n{^$">
                                             <field name="ATTR">state.val</field>
                                           </block>
                                         </value>
                                         <value name="B">
                                           <block type="math_number" id="Jtj=*i6@Nf1JwFL]X7mx">
                                             <field name="NUM">1</field>
                                           </block>
                                         </value>
                                       </block>
                                     </value>
                                     <value name="B">
                                       <block type="time_compare" id="P2(C5~6:du=hB6I-oG^[">
                                         <mutation end_time="false"></mutation>
                                         <field name="OPTION">&gt;</field>
                                         <field name="START_TIME">12:00</field>
                                       </block>
                                     </value>
                                   </block>
                                 </value>
                                 <statement name="DO0">
                                   <block type="control" id="Kyd~nM=zFo%2.;`?Qckb">
                                     <mutation delay_input="true"></mutation>
                                     <field name="OID">Object ID</field>
                                     <field name="WITH_DELAY">TRUE</field>
                                     <field name="DELAY_MS">6</field>
                                     <field name="UNIT">sec</field>
                                     <field name="CLEAR_RUNNING">FALSE</field>
                                     <value name="VALUE">
                                       <block type="math_number" id="mt^?FDzsp|dN/M}DX@Dy">
                                         <field name="NUM">55</field>
                                       </block>
                                     </value>
                                     <next>
                                       <block type="controls_if" id="#eY0?3@+NqZn0U9WvG6$">
                                         <value name="IF0">
                                           <block type="logic_negate" id="*DDSIqw=lb7JSg$1nbu/">
                                             <value name="BOOL">
                                               <block type="get_value" id="C*n,ocvxWPnzol5.n!u%">
                                                 <field name="ATTR">val</field>
                                                 <field name="OID">ID auswählen</field>
                                               </block>
                                             </value>
                                           </block>
                                         </value>
                                         <statement name="DO0">
                                           <block type="control" id="19%L]|Rt%%2gLMn~KeGx">
                                             <mutation delay_input="true"></mutation>
                                             <field name="OID">Object ID</field>
                                             <field name="WITH_DELAY">TRUE</field>
                                             <field name="DELAY_MS">7</field>
                                             <field name="UNIT">sec</field>
                                             <field name="CLEAR_RUNNING">FALSE</field>
                                             <value name="VALUE">
                                               <block type="math_number" id="w(XM1h:j.^CP`C~CUV~c">
                                                 <field name="NUM">55</field>
                                               </block>
                                             </value>
                                           </block>
                                         </statement>
                                       </block>
                                     </next>
                                   </block>
                                 </statement>
                                 <next>
                                   <block type="controls_if" id="Q[hM9}qN{n|b0K4eq%/$">
                                     <value name="IF0">
                                       <block type="logic_compare" id="8d9zdX)?Zrp0,]@TVB#6">
                                         <field name="OP">EQ</field>
                                         <value name="A">
                                           <block type="on_source" id="~^U!t66JUGdQe:pp.fDr">
                                             <field name="ATTR">state.val</field>
                                           </block>
                                         </value>
                                         <value name="B">
                                           <block type="math_number" id="HS`9kkLA^68R(#H;5%yT">
                                             <field name="NUM">0</field>
                                           </block>
                                         </value>
                                       </block>
                                     </value>
                                     <statement name="DO0">
                                       <block type="control" id="QTdR.o)Xr(|V-j:*~u.d">
                                         <mutation delay_input="true"></mutation>
                                         <field name="OID">Object ID</field>
                                         <field name="WITH_DELAY">TRUE</field>
                                         <field name="DELAY_MS">6</field>
                                         <field name="UNIT">sec</field>
                                         <field name="CLEAR_RUNNING">FALSE</field>
                                         <value name="VALUE">
                                           <block type="math_number" id="qd5p12Fi)k@]Y)kIvDA*">
                                             <field name="NUM">0</field>
                                           </block>
                                         </value>
                                         <next>
                                           <block type="controls_if" id="$GB!aRkQzywDAC{mZNHh">
                                             <value name="IF0">
                                               <block type="logic_negate" id="l0twpu^Hw~d^eBA=k]4N">
                                                 <value name="BOOL">
                                                   <block type="get_value" id="N4Ge*1TTHFX+qCxG:-=T">
                                                     <field name="ATTR">val</field>
                                                     <field name="OID">ID auswählen</field>
                                                   </block>
                                                 </value>
                                               </block>
                                             </value>
                                             <statement name="DO0">
                                               <block type="control" id="-han6870cW^8cyY=-4$]">
                                                 <mutation delay_input="true"></mutation>
                                                 <field name="OID">Object ID</field>
                                                 <field name="WITH_DELAY">TRUE</field>
                                                 <field name="DELAY_MS">7</field>
                                                 <field name="UNIT">sec</field>
                                                 <field name="CLEAR_RUNNING">FALSE</field>
                                                 <value name="VALUE">
                                                   <block type="math_number" id="Y}!b=o/8B,_W},PLj[g[">
                                                     <field name="NUM">0</field>
                                                   </block>
                                                 </value>
                                               </block>
                                             </statement>
                                           </block>
                                         </next>
                                       </block>
                                     </statement>
                                   </block>
                                 </next>
                               </block>
                             </statement>
                           </block>
                         </statement>
                       </block>
                       <block type="comment" id="w(dtxDu5Q8`p-7UuDl%i" x="338" y="113">
                         <field name="COMMENT">Automatic</field>
                       </block>
                       <block type="comment" id="N^R,B0d[zyq3R__SlT8X" x="562" y="262">
                         <field name="COMMENT">Fenster</field>
                       </block>
                      </xml>
                      

                      Uli977 1 Reply Last reply Reply Quote 0
                      • Uli977
                        Uli977 @paul53 last edited by

                        @paul53 Danke, ich baue das mal ein.

                        Uli977 1 Reply Last reply Reply Quote 0
                        • Uli977
                          Uli977 @Uli977 last edited by Uli977

                          @paul53

                          So?

                          3959e0c4-59c7-4433-90a3-025e5e8f822b-image.png

                          Was bewirkt dieser Teil?

                          ac886ff1-988e-483a-b635-d50901cb9c59-image.png

                          paul53 1 Reply Last reply Reply Quote 0
                          • paul53
                            paul53 @Uli977 last edited by paul53

                            @Uli977 sagte:

                            Was bewirkt dieser Teil?

                            Die Abfrage von LEVEL ist falsch, sondern das Fenster muss geschlossen sein (nicht Fenster offen) für das Rollo rechts, so wie in Deinem ursprünglichen Script.

                            1 Reply Last reply Reply Quote 0
                            • paul53
                              paul53 @Uli977 last edited by paul53

                              @Uli977 sagte:

                              Wie baue ich das am Besten ein?
                              So?

                              Was soll der Zeitplan-Trigger ?
                              Für das Wohnzimmer:

                              Blockly_temp.JPG

                              Uli977 2 Replies Last reply Reply Quote 0
                              • Uli977
                                Uli977 @paul53 last edited by

                                @paul53

                                Der Zeitplan soll bewirken, dass erst nach 20:30 geschaut wird ob es dunkel ist und auch erst dann das Rollo heruntergefahren wird. Und nicht früher.

                                11a4dd6f-06d9-474b-979c-ed77d91a2e1c-image.png

                                J 1 Reply Last reply Reply Quote 0
                                • J
                                  Jan1 @Uli977 last edited by

                                  @Uli977
                                  Dann hats ein Zeitplan der das alle 5 Minuten macht?
                                  Sinnvoller wäre es nach 20:30 kurz zu schauen ob es schon dunkel ist 😉

                                  Uli977 1 Reply Last reply Reply Quote 0
                                  • Uli977
                                    Uli977 @Jan1 last edited by

                                    @Jan1 Ich möchte aber, wann auch immer es nach 20:30 Uhr dunkel ist (kann auch erst 22:00 Uhr sein), das Rollo dann herunter fährt.

                                    J haselchen 2 Replies Last reply Reply Quote 0
                                    • J
                                      Jan1 @Uli977 last edited by

                                      @Uli977
                                      Schon klar, aber irgendwie verschachtelst Du gerne zu viele Abfragen in eine Bedingung, so dass außer Paul53 keiner mehr durchblickt, was da wann und wie eintreten muss 😎

                                      Uli977 1 Reply Last reply Reply Quote 1
                                      • haselchen
                                        haselchen Most Active @Uli977 last edited by

                                        @Uli977

                                        Und das lässt Du alle 5min prüfen? 🤔
                                        Bisschen sinnfrei oder?

                                        Uli977 J 2 Replies Last reply Reply Quote 0
                                        • Uli977
                                          Uli977 @paul53 last edited by

                                          @paul53

                                          Fehlt da nicht ein steure

                                          6512fdc2-78ce-4208-b307-771bd32936bf-image.png

                                          paul53 1 Reply Last reply Reply Quote 0
                                          • Uli977
                                            Uli977 @haselchen last edited by

                                            @haselchen Ich weiss es nicht besser....

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            444
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

                                            blockly skript
                                            5
                                            44
                                            1578
                                            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