Weiter zum Inhalt
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Hell
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dunkel
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Skripten / Logik
  4. Blockly
  5. Blockly für Rollladen +Sperre

NEWS

  • Neuer ioBroker-Blog online: Monatsrückblick März/April 2026
    BluefoxB
    Bluefox
    8
    1
    364

  • Verwendung von KI bitte immer deutlich kennzeichnen
    HomoranH
    Homoran
    10
    1
    322

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    18
    1
    942

Blockly für Rollladen +Sperre

Geplant Angeheftet Gesperrt Verschoben Blockly
20 Beiträge 3 Kommentatoren 1.3k Aufrufe 3 Beobachtet
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • K Kuddel

    @cinimod bist du sicher, dass das so geht?

    Werden Status und die Position so nicht nur in die Variablen geschrieben, wenn Skript oder die Instanz gestartet werden?

    Wenn die Trigger auslösen werden Status und Position aber nicht erneut geprüft würde ich sagen

    CinimodC Offline
    CinimodC Offline
    Cinimod
    Most Active
    schrieb am zuletzt editiert von
    #6

    @kuddel

    oh ja da hast du vollkommen recht ... muss ich noch mal überarbeiten

    Synology DS918+, Fritzbox 6690 Cable, #Docker #Blockly #Vis2 #Deconz #Tasmota

    1 Antwort Letzte Antwort
    0
    • K Kuddel

      @cinimod bist du sicher, dass das so geht?

      Werden Status und die Position so nicht nur in die Variablen geschrieben, wenn Skript oder die Instanz gestartet werden?

      Wenn die Trigger auslösen werden Status und Position aber nicht erneut geprüft würde ich sagen

      CinimodC Offline
      CinimodC Offline
      Cinimod
      Most Active
      schrieb am zuletzt editiert von Cinimod
      #7

      @Mono990

      hier dann noch mal überarbeietet:

      Bildschirmfoto 2021-10-16 um 09.21.44.png

      hier der Code:

      <block xmlns="https://developers.google.com/blockly/xml" type="comment" id="}2FkDn!D$!KcUI3Q|w:[" x="337.1552001953123" y="612.0615478515625">
       <field name="COMMENT">hier Tür status objekt</field>
      </block>
      

      Mir stellt sich gerade noch die frage ob das Rollo denn nur hoch gehen darf wenn die Tür zu oder gekippt ist ? das würde ich ggf. raus nehmen.

      Synology DS918+, Fritzbox 6690 Cable, #Docker #Blockly #Vis2 #Deconz #Tasmota

      CinimodC 1 Antwort Letzte Antwort
      0
      • CinimodC Cinimod

        @Mono990

        hier dann noch mal überarbeietet:

        Bildschirmfoto 2021-10-16 um 09.21.44.png

        hier der Code:

        <block xmlns="https://developers.google.com/blockly/xml" type="comment" id="}2FkDn!D$!KcUI3Q|w:[" x="337.1552001953123" y="612.0615478515625">
         <field name="COMMENT">hier Tür status objekt</field>
        </block>
        

        Mir stellt sich gerade noch die frage ob das Rollo denn nur hoch gehen darf wenn die Tür zu oder gekippt ist ? das würde ich ggf. raus nehmen.

        CinimodC Offline
        CinimodC Offline
        Cinimod
        Most Active
        schrieb am zuletzt editiert von Cinimod
        #8

        @cinimod

        hier dann noch mal: Rollo darf immer hoch gehen, unabhängig vom zustand der Tür.

        Bildschirmfoto 2021-10-16 um 09.26.22.png

        Code:

        <xml xmlns="https://developers.google.com/blockly/xml">
         <block type="schedule" id="a,a}fcfqe`*vEvi_qJ61" x="37" y="213">
           <field name="SCHEDULE">0 21 * * *</field>
           <statement name="STATEMENT">
             <block type="controls_if" id="7vnu[;m^AdaTag:CpwUa">
               <value name="IF0">
                 <block type="logic_operation" id="?evm+)t@K#JO8z_WmUfm" inline="false">
                   <field name="OP">AND</field>
                   <value name="A">
                     <block type="logic_compare" id="vVWJC)%xr!ZZzJUs.6_Q">
                       <field name="OP">NEQ</field>
                       <value name="A">
                         <block type="get_value" id="cX?l8j|lnl1q1)j,wXa0">
                           <field name="ATTR">val</field>
                           <field name="OID">shelly.0.SHSW-25#483FDA827F5E#1.Shutter.Position</field>
                         </block>
                       </value>
                       <value name="B">
                         <block type="math_number" id="7TeaJv1[Ecnh]1;/3p*">
                           <field name="NUM">0</field>
                         </block>
                       </value>
                     </block>
                   </value>
                   <value name="B">
                     <block type="logic_compare" id="Vo(;lUGB-QZN=58BZF!R">
                       <field name="OP">NEQ</field>
                       <value name="A">
                         <block type="get_value" id="#{wbxG1/Q:tBM502:Oel">
                           <field name="ATTR">val</field>
                           <field name="OID">0_userdata.0.Fenster.Kuche_Tur</field>
                         </block>
                       </value>
                       <value name="B">
                         <block type="math_number" id="vYS1pWDgoC!n),vnAE">
                           <field name="NUM">2</field>
                         </block>
                       </value>
                     </block>
                   </value>
                 </block>
               </value>
               <statement name="DO0">
                 <block type="control" id="a0WQEB$![21Wv26rxO,">
                   <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                   <field name="OID">shelly.0.SHSW-25#483FDA827F5E#1.Shutter.Position</field>
                   <field name="WITH_DELAY">FALSE</field>
                   <value name="VALUE">
                     <block type="math_number" id="JGjP}F{flmWbJV+g~^kP">
                       <field name="NUM">0</field>
                     </block>
                   </value>
                 </block>
               </statement>
             </block>
           </statement>
           <next>
             <block type="schedule" id="^8M(|n|ayd4hKam|IYk|">
               <field name="SCHEDULE">0 8 * * *</field>
               <statement name="STATEMENT">
                 <block type="controls_if" id="Zt|Z95wmZv?/fkTFt||7">
                   <value name="IF0">
                     <block type="logic_compare" id=",}Q!hs_J_/#C1]K6VodI">
                       <field name="OP">NEQ</field>
                       <value name="A">
                         <block type="get_value" id="uZs_UpLP.:#Dp7Agq8zQ">
                           <field name="ATTR">val</field>
                           <field name="OID">shelly.0.SHSW-25#483FDA827F5E#1.Shutter.Position</field>
                         </block>
                       </value>
                       <value name="B">
                         <block type="math_number" id="MwvnB5if;Ht?y|yN@3-x">
                           <field name="NUM">100</field>
                         </block>
                       </value>
                     </block>
                   </value>
                   <statement name="DO0">
                     <block type="control" id="$O#iV.f]s{9R9KfuI0a!">
                       <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                       <field name="OID">shelly.0.SHSW-25#483FDA827F5E#1.Shutter.Position</field>
                       <field name="WITH_DELAY">FALSE</field>
                       <value name="VALUE">
                         <block type="math_number" id="t*|O3bI@hXcF|]$d@?n}">
                           <field name="NUM">100</field>
                         </block>
                       </value>
                     </block>
                   </statement>
                 </block>
               </statement>
               <next>
                 <block type="on_ext" id="*S-*-?Kmj=azHSy?ONjv">
                   <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                   <field name="CONDITION">ne</field>
                   <field name="ACK_CONDITION"></field>
                   <value name="OID0">
                     <shadow type="field_oid" id="ig%Y@m34^U)S,u/a.}vJ">
                       <field name="oid">default</field>
                     </shadow>
                     <block type="field_oid" id="p2Mts=2:q|fqfG4+vV7x">
                       <field name="oid">default</field>
                     </block>
                   </value>
                   <statement name="STATEMENT">
                     <block type="controls_if" id="V=v~wkUN?0MtS8{Z}MU;">
                       <value name="IF0">
                         <block type="logic_operation" id=",57UBvJH*0n48c$2oa{@" inline="false">
                           <field name="OP">AND</field>
                           <value name="A">
                             <block type="time_compare" id="M33;_l5@kPT.n8}H:}Mj">
                               <mutation xmlns="http://www.w3.org/1999/xhtml" end_time="true"></mutation>
                               <field name="OPTION">not between</field>
                               <field name="START_TIME">08:00</field>
                               <field name="END_TIME">21:00</field>
                             </block>
                           </value>
                           <value name="B">
                             <block type="logic_operation" id="%K9}*5[i%D,^nIyR!f3d" inline="false">
                               <field name="OP">AND</field>
                               <value name="A">
                                 <block type="logic_compare" id="!cwo7SnF%X]M:HRQgM[j">
                                   <field name="OP">NEQ</field>
                                   <value name="A">
                                     <block type="get_value" id="X3F8;D+e#Ia}vjQ?ocWd">
                                       <field name="ATTR">val</field>
                                       <field name="OID">shelly.0.SHSW-25#483FDA827F5E#1.Shutter.Position</field>
                                     </block>
                                   </value>
                                   <value name="B">
                                     <block type="math_number" id="P7yW;nmQ9C$DQ,$z5OE$">
                                       <field name="NUM">0</field>
                                     </block>
                                   </value>
                                 </block>
                               </value>
                               <value name="B">
                                 <block type="logic_compare" id="fL`QA]6C?5?(wJB~?AX2">
                                   <field name="OP">EQ</field>
                                   <value name="A">
                                     <block type="on_source" id="i[gNu_+^m[._+(I|)iVg">
                                       <field name="ATTR">state.val</field>
                                     </block>
                                   </value>
                                   <value name="B">
                                     <block type="math_number" id="LW[wCFC,VP?CAWio~f61">
                                       <field name="NUM">0</field>
                                     </block>
                                   </value>
                                 </block>
                               </value>
                             </block>
                           </value>
                         </block>
                       </value>
                       <statement name="DO0">
                         <block type="control" id="!-%XT3uBo~rwxR0sg,^@">
                           <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                           <field name="OID">shelly.0.SHSW-25#483FDA827F5E#1.Shutter.Position</field>
                           <field name="WITH_DELAY">FALSE</field>
                           <value name="VALUE">
                             <block type="math_number" id="^WpfM,@ABGl=Wow-]1(P">
                               <field name="NUM">0</field>
                             </block>
                           </value>
                         </block>
                       </statement>
                     </block>
                   </statement>
                 </block>
               </next>
             </block>
           </next>
         </block>
         <block type="comment" id="}2FkDn!D$!KcUI3Q|w:[" x="337" y="563">
           <field name="COMMENT">hier Tür status objekt</field>
         </block>
        </xml>
        

        Synology DS918+, Fritzbox 6690 Cable, #Docker #Blockly #Vis2 #Deconz #Tasmota

        Mono990M 1 Antwort Letzte Antwort
        0
        • CinimodC Cinimod

          @cinimod

          hier dann noch mal: Rollo darf immer hoch gehen, unabhängig vom zustand der Tür.

          Bildschirmfoto 2021-10-16 um 09.26.22.png

          Code:

          <xml xmlns="https://developers.google.com/blockly/xml">
           <block type="schedule" id="a,a}fcfqe`*vEvi_qJ61" x="37" y="213">
             <field name="SCHEDULE">0 21 * * *</field>
             <statement name="STATEMENT">
               <block type="controls_if" id="7vnu[;m^AdaTag:CpwUa">
                 <value name="IF0">
                   <block type="logic_operation" id="?evm+)t@K#JO8z_WmUfm" inline="false">
                     <field name="OP">AND</field>
                     <value name="A">
                       <block type="logic_compare" id="vVWJC)%xr!ZZzJUs.6_Q">
                         <field name="OP">NEQ</field>
                         <value name="A">
                           <block type="get_value" id="cX?l8j|lnl1q1)j,wXa0">
                             <field name="ATTR">val</field>
                             <field name="OID">shelly.0.SHSW-25#483FDA827F5E#1.Shutter.Position</field>
                           </block>
                         </value>
                         <value name="B">
                           <block type="math_number" id="7TeaJv1[Ecnh]1;/3p*">
                             <field name="NUM">0</field>
                           </block>
                         </value>
                       </block>
                     </value>
                     <value name="B">
                       <block type="logic_compare" id="Vo(;lUGB-QZN=58BZF!R">
                         <field name="OP">NEQ</field>
                         <value name="A">
                           <block type="get_value" id="#{wbxG1/Q:tBM502:Oel">
                             <field name="ATTR">val</field>
                             <field name="OID">0_userdata.0.Fenster.Kuche_Tur</field>
                           </block>
                         </value>
                         <value name="B">
                           <block type="math_number" id="vYS1pWDgoC!n),vnAE">
                             <field name="NUM">2</field>
                           </block>
                         </value>
                       </block>
                     </value>
                   </block>
                 </value>
                 <statement name="DO0">
                   <block type="control" id="a0WQEB$![21Wv26rxO,">
                     <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                     <field name="OID">shelly.0.SHSW-25#483FDA827F5E#1.Shutter.Position</field>
                     <field name="WITH_DELAY">FALSE</field>
                     <value name="VALUE">
                       <block type="math_number" id="JGjP}F{flmWbJV+g~^kP">
                         <field name="NUM">0</field>
                       </block>
                     </value>
                   </block>
                 </statement>
               </block>
             </statement>
             <next>
               <block type="schedule" id="^8M(|n|ayd4hKam|IYk|">
                 <field name="SCHEDULE">0 8 * * *</field>
                 <statement name="STATEMENT">
                   <block type="controls_if" id="Zt|Z95wmZv?/fkTFt||7">
                     <value name="IF0">
                       <block type="logic_compare" id=",}Q!hs_J_/#C1]K6VodI">
                         <field name="OP">NEQ</field>
                         <value name="A">
                           <block type="get_value" id="uZs_UpLP.:#Dp7Agq8zQ">
                             <field name="ATTR">val</field>
                             <field name="OID">shelly.0.SHSW-25#483FDA827F5E#1.Shutter.Position</field>
                           </block>
                         </value>
                         <value name="B">
                           <block type="math_number" id="MwvnB5if;Ht?y|yN@3-x">
                             <field name="NUM">100</field>
                           </block>
                         </value>
                       </block>
                     </value>
                     <statement name="DO0">
                       <block type="control" id="$O#iV.f]s{9R9KfuI0a!">
                         <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                         <field name="OID">shelly.0.SHSW-25#483FDA827F5E#1.Shutter.Position</field>
                         <field name="WITH_DELAY">FALSE</field>
                         <value name="VALUE">
                           <block type="math_number" id="t*|O3bI@hXcF|]$d@?n}">
                             <field name="NUM">100</field>
                           </block>
                         </value>
                       </block>
                     </statement>
                   </block>
                 </statement>
                 <next>
                   <block type="on_ext" id="*S-*-?Kmj=azHSy?ONjv">
                     <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                     <field name="CONDITION">ne</field>
                     <field name="ACK_CONDITION"></field>
                     <value name="OID0">
                       <shadow type="field_oid" id="ig%Y@m34^U)S,u/a.}vJ">
                         <field name="oid">default</field>
                       </shadow>
                       <block type="field_oid" id="p2Mts=2:q|fqfG4+vV7x">
                         <field name="oid">default</field>
                       </block>
                     </value>
                     <statement name="STATEMENT">
                       <block type="controls_if" id="V=v~wkUN?0MtS8{Z}MU;">
                         <value name="IF0">
                           <block type="logic_operation" id=",57UBvJH*0n48c$2oa{@" inline="false">
                             <field name="OP">AND</field>
                             <value name="A">
                               <block type="time_compare" id="M33;_l5@kPT.n8}H:}Mj">
                                 <mutation xmlns="http://www.w3.org/1999/xhtml" end_time="true"></mutation>
                                 <field name="OPTION">not between</field>
                                 <field name="START_TIME">08:00</field>
                                 <field name="END_TIME">21:00</field>
                               </block>
                             </value>
                             <value name="B">
                               <block type="logic_operation" id="%K9}*5[i%D,^nIyR!f3d" inline="false">
                                 <field name="OP">AND</field>
                                 <value name="A">
                                   <block type="logic_compare" id="!cwo7SnF%X]M:HRQgM[j">
                                     <field name="OP">NEQ</field>
                                     <value name="A">
                                       <block type="get_value" id="X3F8;D+e#Ia}vjQ?ocWd">
                                         <field name="ATTR">val</field>
                                         <field name="OID">shelly.0.SHSW-25#483FDA827F5E#1.Shutter.Position</field>
                                       </block>
                                     </value>
                                     <value name="B">
                                       <block type="math_number" id="P7yW;nmQ9C$DQ,$z5OE$">
                                         <field name="NUM">0</field>
                                       </block>
                                     </value>
                                   </block>
                                 </value>
                                 <value name="B">
                                   <block type="logic_compare" id="fL`QA]6C?5?(wJB~?AX2">
                                     <field name="OP">EQ</field>
                                     <value name="A">
                                       <block type="on_source" id="i[gNu_+^m[._+(I|)iVg">
                                         <field name="ATTR">state.val</field>
                                       </block>
                                     </value>
                                     <value name="B">
                                       <block type="math_number" id="LW[wCFC,VP?CAWio~f61">
                                         <field name="NUM">0</field>
                                       </block>
                                     </value>
                                   </block>
                                 </value>
                               </block>
                             </value>
                           </block>
                         </value>
                         <statement name="DO0">
                           <block type="control" id="!-%XT3uBo~rwxR0sg,^@">
                             <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                             <field name="OID">shelly.0.SHSW-25#483FDA827F5E#1.Shutter.Position</field>
                             <field name="WITH_DELAY">FALSE</field>
                             <value name="VALUE">
                               <block type="math_number" id="^WpfM,@ABGl=Wow-]1(P">
                                 <field name="NUM">0</field>
                               </block>
                             </value>
                           </block>
                         </statement>
                       </block>
                     </statement>
                   </block>
                 </next>
               </block>
             </next>
           </block>
           <block type="comment" id="}2FkDn!D$!KcUI3Q|w:[" x="337" y="563">
             <field name="COMMENT">hier Tür status objekt</field>
           </block>
          </xml>
          

          Mono990M Offline
          Mono990M Offline
          Mono990
          schrieb am zuletzt editiert von
          #9

          @cinimod
          Das sieht ja super aus👍 werde es die tage Testen und dann bescheid geben. vielen Dank schon mal

          CinimodC 1 Antwort Letzte Antwort
          0
          • Mono990M Mono990

            @cinimod
            Das sieht ja super aus👍 werde es die tage Testen und dann bescheid geben. vielen Dank schon mal

            CinimodC Offline
            CinimodC Offline
            Cinimod
            Most Active
            schrieb am zuletzt editiert von
            #10

            @mono990

            gern, viel Erfolg. Wenn das noch nicht klappt einfach melden

            Synology DS918+, Fritzbox 6690 Cable, #Docker #Blockly #Vis2 #Deconz #Tasmota

            Mono990M 1 Antwort Letzte Antwort
            0
            • CinimodC Cinimod

              @mono990

              gern, viel Erfolg. Wenn das noch nicht klappt einfach melden

              Mono990M Offline
              Mono990M Offline
              Mono990
              schrieb am zuletzt editiert von
              #11

              @cinimod

              Das Rollo ging heute abend nicht runter obwohl die Tür zu war.
              Die ausgewählten objekte sind die richtigen. daran kann es nicht liegen.

              CinimodC 2 Antworten Letzte Antwort
              0
              • Mono990M Mono990

                @cinimod

                Das Rollo ging heute abend nicht runter obwohl die Tür zu war.
                Die ausgewählten objekte sind die richtigen. daran kann es nicht liegen.

                CinimodC Offline
                CinimodC Offline
                Cinimod
                Most Active
                schrieb am zuletzt editiert von
                #12

                @mono990

                ich kann keinen Fehler sehen, magst du deins noch mal her zeigen ?

                Synology DS918+, Fritzbox 6690 Cable, #Docker #Blockly #Vis2 #Deconz #Tasmota

                Mono990M 1 Antwort Letzte Antwort
                0
                • CinimodC Cinimod

                  @mono990

                  ich kann keinen Fehler sehen, magst du deins noch mal her zeigen ?

                  Mono990M Offline
                  Mono990M Offline
                  Mono990
                  schrieb am zuletzt editiert von
                  #13

                  @cinimod

                  hier das script


                  <xml xmlns="https://developers.google.com/blockly/xml">
                  <block type="schedule" id="a,a}fcfqe*vEvi_qJ61" x="37" y="213"> <field name="SCHEDULE">0 21 * * *</field> <statement name="STATEMENT"> <block type="controls_if" id="7vnu[;m^AdaTag:CpwUa"> <value name="IF0"> <block type="logic_operation" id="?evm+)t@K#JO8z_WmUfm" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="vVWJC)%xr!ZZzJUs.6_Q"> <field name="OP">NEQ</field> <value name="A"> <block type="get_value" id="cX?l8j|lnl1q1)j,wXa0"> <field name="ATTR">val</field> <field name="OID">0_userdata.0.Fenster.Kuche_Tur</field> </block> </value> <value name="B"> <block type="math_number" id="7TeaJv1[Ecnh]1;/3p*"> <field name="NUM">0</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="Vo(;lUGB-QZN=58BZF!R"> <field name="OP">NEQ</field> <value name="A"> <block type="get_value" id="#{wbxG1/Q:tBM502:Oel"> <field name="ATTR">val</field> <field name="OID">0_userdata.0.Fenster.Kuche_Tur</field> </block> </value> <value name="B"> <block type="math_number" id="vYS1pWDgoC!n),vnAE"> <field name="NUM">2</field> </block> </value> </block> </value> </block> </value> <statement name="DO0"> <block type="control" id="a0WQEB$![21Wv26rxO,"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">shelly.0.SHSW-25#483FDA827F5E#1.Shutter.Position</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="JGjP}F{flmWbJV+g~^kP"> <field name="NUM">0</field> </block> </value> </block> </statement> </block> </statement> <next> <block type="schedule" id="^8M(|n|ayd4hKam|IYk|"> <field name="SCHEDULE">0 8 * * *</field> <statement name="STATEMENT"> <block type="controls_if" id="Zt|Z95wmZv?/fkTFt||7"> <value name="IF0"> <block type="logic_compare" id=",}Q!hs_J_/#C1]K6VodI"> <field name="OP">NEQ</field> <value name="A"> <block type="get_value" id="uZs_UpLP.:#Dp7Agq8zQ"> <field name="ATTR">val</field> <field name="OID">shelly.0.SHSW-25#483FDA827F5E#1.Shutter.Position</field> </block> </value> <value name="B"> <block type="math_number" id="MwvnB5if;Ht?y|yN@3-x"> <field name="NUM">100</field> </block> </value> </block> </value> <statement name="DO0"> <block type="control" id="$O#iV.f]s{9R9KfuI0a!"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">shelly.0.SHSW-25#483FDA827F5E#1.Shutter.Position</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="t*|O3bI@hXcF|]$d@?n}"> <field name="NUM">100</field> </block> </value> </block> </statement> </block> </statement> <next> <block type="on_ext" id="*S-*-?Kmj=azHSy?ONjv"> <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation> <field name="CONDITION">ne</field> <field name="ACK_CONDITION"></field> <value name="OID0"> <shadow type="field_oid" id="ig%Y@m34^U)S,u/a.}vJ"> <field name="oid">default</field> </shadow> <block type="field_oid" id="p2Mts=2:q|fqfG4+vV7x"> <field name="oid">0_userdata.0.Fenster.Kuche_Tur</field> </block> </value> <statement name="STATEMENT"> <block type="controls_if" id="V=v~wkUN?0MtS8{Z}MU;"> <value name="IF0"> <block type="logic_operation" id=",57UBvJH*0n48c$2oa{@" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="time_compare" id="M33;_l5@kPT.n8}H:}Mj"> <mutation xmlns="http://www.w3.org/1999/xhtml" end_time="true"></mutation> <field name="OPTION">not between</field> <field name="START_TIME">08:00</field> <field name="END_TIME">21:00</field> </block> </value> <value name="B"> <block type="logic_operation" id="%K9}*5[i%D,^nIyR!f3d" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="!cwo7SnF%X]M:HRQgM[j"> <field name="OP">NEQ</field> <value name="A"> <block type="get_value" id="X3F8;D+e#Ia}vjQ?ocWd"> <field name="ATTR">val</field> <field name="OID">shelly.0.SHSW-25#483FDA827F5E#1.Shutter.Position</field> </block> </value> <value name="B"> <block type="math_number" id="P7yW;nmQ9C$DQ,$z5OE$"> <field name="NUM">0</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="fLQA]6C?5?(wJB~?AX2">
                  <field name="OP">EQ</field>
                  <value name="A">
                  <block type="on_source" id="i[gNu_+^m[._+(I|)iVg">
                  <field name="ATTR">state.val</field>
                  </block>
                  </value>
                  <value name="B">
                  <block type="math_number" id="LW[wCFC,VP?CAWio~f61">
                  <field name="NUM">0</field>
                  </block>
                  </value>
                  </block>
                  </value>
                  </block>
                  </value>
                  </block>
                  </value>
                  <statement name="DO0">
                  <block type="control" id="!-%XT3uBo~rwxR0sg,^@">
                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                  <field name="OID">shelly.0.SHSW-25#483FDA827F5E#1.Shutter.Position</field>
                  <field name="WITH_DELAY">FALSE</field>
                  <value name="VALUE">
                  <block type="math_number" id="^WpfM,@ABGl=Wow-]1(P">
                  <field name="NUM">0</field>
                  </block>
                  </value>
                  </block>
                  </statement>
                  </block>
                  </statement>
                  </block>
                  </next>
                  </block>
                  </next>
                  </block>
                  <block type="comment" id="}2FkDn!D$!KcUI3Q|w:[" x="388" y="563">
                  <field name="COMMENT">hier Tür status objekt</field>
                  </block>
                  </xml>

                  1 Antwort Letzte Antwort
                  0
                  • Mono990M Mono990

                    @cinimod

                    Das Rollo ging heute abend nicht runter obwohl die Tür zu war.
                    Die ausgewählten objekte sind die richtigen. daran kann es nicht liegen.

                    CinimodC Offline
                    CinimodC Offline
                    Cinimod
                    Most Active
                    schrieb am zuletzt editiert von Cinimod
                    #14

                    @mono990 sagte in Blockly für Rollladen +Sperre:

                    @cinimod

                    Das Rollo ging heute abend nicht runter obwohl die Tür zu war.
                    Die ausgewählten objekte sind die richtigen. daran kann es nicht liegen.

                    Ganz oben muss "wert von ObjektID Shutter Position" rein

                    Screenshot 2021-10-18 085805.png

                    Synology DS918+, Fritzbox 6690 Cable, #Docker #Blockly #Vis2 #Deconz #Tasmota

                    CinimodC 1 Antwort Letzte Antwort
                    0
                    • CinimodC Cinimod

                      @mono990 sagte in Blockly für Rollladen +Sperre:

                      @cinimod

                      Das Rollo ging heute abend nicht runter obwohl die Tür zu war.
                      Die ausgewählten objekte sind die richtigen. daran kann es nicht liegen.

                      Ganz oben muss "wert von ObjektID Shutter Position" rein

                      Screenshot 2021-10-18 085805.png

                      CinimodC Offline
                      CinimodC Offline
                      Cinimod
                      Most Active
                      schrieb am zuletzt editiert von Cinimod
                      #15

                      @cinimod

                      oben soll er nur einmal prüfen ob das Rollo nicht schon auf 0 ist, so wie du es hattest wollte er nur schließen wenn die Tür gekippt ist.

                      Synology DS918+, Fritzbox 6690 Cable, #Docker #Blockly #Vis2 #Deconz #Tasmota

                      Mono990M 1 Antwort Letzte Antwort
                      0
                      • CinimodC Cinimod

                        @cinimod

                        oben soll er nur einmal prüfen ob das Rollo nicht schon auf 0 ist, so wie du es hattest wollte er nur schließen wenn die Tür gekippt ist.

                        Mono990M Offline
                        Mono990M Offline
                        Mono990
                        schrieb am zuletzt editiert von
                        #16

                        @cinimod Aso ok habe ich jetzt geändert. mal sehen ob er heute runter geht 😁

                        CinimodC 1 Antwort Letzte Antwort
                        0
                        • Mono990M Mono990

                          @cinimod Aso ok habe ich jetzt geändert. mal sehen ob er heute runter geht 😁

                          CinimodC Offline
                          CinimodC Offline
                          Cinimod
                          Most Active
                          schrieb am zuletzt editiert von
                          #17

                          @mono990

                          Heute gehts ! 😉

                          Synology DS918+, Fritzbox 6690 Cable, #Docker #Blockly #Vis2 #Deconz #Tasmota

                          Mono990M 1 Antwort Letzte Antwort
                          0
                          • CinimodC Cinimod

                            @mono990

                            Heute gehts ! 😉

                            Mono990M Offline
                            Mono990M Offline
                            Mono990
                            schrieb am zuletzt editiert von
                            #18

                            @cinimod ist leider nicht runtergegangen. Brauche ich noch ein Adapter oder so der die aktuelle zeit angibt wonach sich der Zeitplan trigger richten kann?

                            CinimodC 1 Antwort Letzte Antwort
                            0
                            • Mono990M Mono990

                              @cinimod ist leider nicht runtergegangen. Brauche ich noch ein Adapter oder so der die aktuelle zeit angibt wonach sich der Zeitplan trigger richten kann?

                              CinimodC Offline
                              CinimodC Offline
                              Cinimod
                              Most Active
                              schrieb am zuletzt editiert von Cinimod
                              #19

                              @mono990

                              Vielleicht stimmt deine Systemzeit nicht 🤔
                              Hast du die Koordinaten richtig ?

                              Ist das Rollo denn bei 0 unten und bei 100 oben?

                              Teste doch mal ein neues Script mit dem Zeitplan trigger und nem debug baustein … oder lass dir ne Nachricht schicken zum testen …

                              Synology DS918+, Fritzbox 6690 Cable, #Docker #Blockly #Vis2 #Deconz #Tasmota

                              Mono990M 1 Antwort Letzte Antwort
                              0
                              • CinimodC Cinimod

                                @mono990

                                Vielleicht stimmt deine Systemzeit nicht 🤔
                                Hast du die Koordinaten richtig ?

                                Ist das Rollo denn bei 0 unten und bei 100 oben?

                                Teste doch mal ein neues Script mit dem Zeitplan trigger und nem debug baustein … oder lass dir ne Nachricht schicken zum testen …

                                Mono990M Offline
                                Mono990M Offline
                                Mono990
                                schrieb am zuletzt editiert von
                                #20

                                @cinimod die Zeit im iobroker hatte die richtige Zeit angezeigt aber die systemzeit des Raspian hat eine ganz andere zeit angezeigt. ich lasse die systemzeit jetzt mit einem NTP server syncronisieren.
                                Die ersten Tests waren gut, habe mir nachrichten auf mein Handy schicken lassen über Blockly und Zeitplan.

                                1 Antwort Letzte Antwort
                                0

                                Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.

                                Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.

                                Mit deinem Input könnte dieser Beitrag noch besser werden 💗

                                Registrieren Anmelden
                                Antworten
                                • In einem neuen Thema antworten
                                Anmelden zum Antworten
                                • Älteste zuerst
                                • Neuste zuerst
                                • Meiste Stimmen


                                Support us

                                ioBroker
                                Community Adapters
                                Donate

                                479

                                Online

                                32.8k

                                Benutzer

                                82.8k

                                Themen

                                1.3m

                                Beiträge
                                Community
                                Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                ioBroker Community 2014-2025
                                logo
                                • Anmelden

                                • Du hast noch kein Konto? Registrieren

                                • Anmelden oder registrieren, um zu suchen
                                • Erster Beitrag
                                  Letzter Beitrag
                                0
                                • Home
                                • Aktuell
                                • Tags
                                • Ungelesen 0
                                • Kategorien
                                • Unreplied
                                • Beliebt
                                • GitHub
                                • Docu
                                • Hilfe