Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Skripten / Logik
  4. Blockly
  5. Ausführung für z.B. 1 Sekunde

NEWS

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

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    18
    1
    5.9k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    1.5k

Ausführung für z.B. 1 Sekunde

Scheduled Pinned Locked Moved Blockly
129 Posts 5 Posters 6.8k Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    Dragon
    wrote on last edited by
    #5

    kurzum: was ist ein raffstore und für was für einen kippwinkel?

    L 1 Reply Last reply
    0
    • D Dragon

      kurzum: was ist ein raffstore und für was für einen kippwinkel?

      L Offline
      L Offline
      LaBamba
      wrote on last edited by
      #6

      @David-Froebus
      Vereinfacht gesagt ein Rollladen mit drehbaren Lamellen

      1 Reply Last reply
      0
      • D Offline
        D Offline
        Dragon
        wrote on last edited by
        #7

        Verzögerung.jpg

        1 Reply Last reply
        0
        • D Offline
          D Offline
          Dragon
          wrote on last edited by
          #8

          Hilft dir das hier?

          L 1 Reply Last reply
          0
          • D Dragon

            Hilft dir das hier?

            L Offline
            L Offline
            LaBamba
            wrote on last edited by
            #9

            @David-Froebus
            Ich bekomme es nur so hin aber jetzt habe ich noch eine Dauerschleife drin

            fe627670-b650-4d3b-a690-043bee60015d-image.png

            paul53P 1 Reply Last reply
            0
            • D Offline
              D Offline
              Dragon
              wrote on last edited by Dragon
              #10

              Verzögerung.jpg

              Mit dem ersten Block machst du die Lamellen auf zu Pausenbeginn.
              Mit dem zweiten Block machst du die Lamellen bei Pausenende wieder zu. Falls nicht gewünscht einfach den zweiten block weglassen.

              1 Reply Last reply
              0
              • D Offline
                D Offline
                Dragon
                wrote on last edited by
                #11

                Verzögerung.jpg

                1 Reply Last reply
                0
                • L LaBamba

                  @David-Froebus
                  Ich bekomme es nur so hin aber jetzt habe ich noch eine Dauerschleife drin

                  fe627670-b650-4d3b-a690-043bee60015d-image.png

                  paul53P Offline
                  paul53P Offline
                  paul53
                  wrote on last edited by
                  #12

                  @LaBamba sagte:

                  eine Dauerschleife drin

                  Bau eine Sperre ein:

                  Blockly_temp.JPG

                  <xml xmlns="https://developers.google.com/blockly/xml">
                   <variables>
                     <variable type="timeout" id="timeout">timeout</variable>
                   </variables>
                   <block type="on_ext" id="4kM/Se4?CGjUWC,o,I0f" x="62" y="63">
                     <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                     <field name="CONDITION">true</field>
                     <field name="ACK_CONDITION"></field>
                     <value name="OID0">
                       <shadow type="field_oid" id="/IcV_*l;[!B^q,YW1!,1">
                         <field name="oid">default</field>
                       </shadow>
                     </value>
                     <statement name="STATEMENT">
                       <block type="controls_if" id="UgO3]rus#o]{6C?[b#GN">
                         <value name="IF0">
                           <block type="logic_negate" id="l3`=Q[NGFm*masMYIP*G">
                             <value name="BOOL">
                               <block type="variables_get" id=")8;Cu)A{XG?Q{6M1Pu%%">
                                 <field name="VAR" id="timeout" variabletype="timeout">timeout</field>
                               </block>
                             </value>
                           </block>
                         </value>
                         <statement name="DO0">
                           <block type="control" id="dtJnx$6.uB=^xBJrBE#_">
                             <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                             <field name="OID">Object ID</field>
                             <field name="WITH_DELAY">TRUE</field>
                             <field name="DELAY_MS">1000</field>
                             <field name="UNIT">ms</field>
                             <field name="CLEAR_RUNNING">FALSE</field>
                             <value name="VALUE">
                               <block type="logic_boolean" id="S]k|MsiG/m]RTXz?!^/6">
                                 <field name="BOOL">TRUE</field>
                               </block>
                             </value>
                             <next>
                               <block type="control" id="OS|77%(+gG(Av_SVouQV">
                                 <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                 <field name="OID">Object ID</field>
                                 <field name="WITH_DELAY">TRUE</field>
                                 <field name="DELAY_MS">3000</field>
                                 <field name="UNIT">ms</field>
                                 <field name="CLEAR_RUNNING">FALSE</field>
                                 <value name="VALUE">
                                   <block type="logic_boolean" id="Fq0dA%k.uxgGS6A*tBcX">
                                     <field name="BOOL">TRUE</field>
                                   </block>
                                 </value>
                                 <next>
                                   <block type="timeouts_settimeout" id="5~mI{uGr#kG*gt!XE-`u">
                                     <field name="NAME">timeout</field>
                                     <field name="DELAY">4000</field>
                                     <field name="UNIT">ms</field>
                                     <statement name="STATEMENT">
                                       <block type="variables_set" id="UKTqv%H57^q~.T.VB^b+">
                                         <field name="VAR" id="timeout" variabletype="timeout">timeout</field>
                                         <value name="VALUE">
                                           <block type="logic_null" id="dt{sd9rUYq5rrsVPn_mT"></block>
                                         </value>
                                       </block>
                                     </statement>
                                   </block>
                                 </next>
                               </block>
                             </next>
                           </block>
                         </statement>
                       </block>
                     </statement>
                   </block>
                  </xml>
                  

                  Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
                  Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

                  L 2 Replies Last reply
                  0
                  • paul53P paul53

                    @LaBamba sagte:

                    eine Dauerschleife drin

                    Bau eine Sperre ein:

                    Blockly_temp.JPG

                    <xml xmlns="https://developers.google.com/blockly/xml">
                     <variables>
                       <variable type="timeout" id="timeout">timeout</variable>
                     </variables>
                     <block type="on_ext" id="4kM/Se4?CGjUWC,o,I0f" x="62" y="63">
                       <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                       <field name="CONDITION">true</field>
                       <field name="ACK_CONDITION"></field>
                       <value name="OID0">
                         <shadow type="field_oid" id="/IcV_*l;[!B^q,YW1!,1">
                           <field name="oid">default</field>
                         </shadow>
                       </value>
                       <statement name="STATEMENT">
                         <block type="controls_if" id="UgO3]rus#o]{6C?[b#GN">
                           <value name="IF0">
                             <block type="logic_negate" id="l3`=Q[NGFm*masMYIP*G">
                               <value name="BOOL">
                                 <block type="variables_get" id=")8;Cu)A{XG?Q{6M1Pu%%">
                                   <field name="VAR" id="timeout" variabletype="timeout">timeout</field>
                                 </block>
                               </value>
                             </block>
                           </value>
                           <statement name="DO0">
                             <block type="control" id="dtJnx$6.uB=^xBJrBE#_">
                               <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                               <field name="OID">Object ID</field>
                               <field name="WITH_DELAY">TRUE</field>
                               <field name="DELAY_MS">1000</field>
                               <field name="UNIT">ms</field>
                               <field name="CLEAR_RUNNING">FALSE</field>
                               <value name="VALUE">
                                 <block type="logic_boolean" id="S]k|MsiG/m]RTXz?!^/6">
                                   <field name="BOOL">TRUE</field>
                                 </block>
                               </value>
                               <next>
                                 <block type="control" id="OS|77%(+gG(Av_SVouQV">
                                   <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                   <field name="OID">Object ID</field>
                                   <field name="WITH_DELAY">TRUE</field>
                                   <field name="DELAY_MS">3000</field>
                                   <field name="UNIT">ms</field>
                                   <field name="CLEAR_RUNNING">FALSE</field>
                                   <value name="VALUE">
                                     <block type="logic_boolean" id="Fq0dA%k.uxgGS6A*tBcX">
                                       <field name="BOOL">TRUE</field>
                                     </block>
                                   </value>
                                   <next>
                                     <block type="timeouts_settimeout" id="5~mI{uGr#kG*gt!XE-`u">
                                       <field name="NAME">timeout</field>
                                       <field name="DELAY">4000</field>
                                       <field name="UNIT">ms</field>
                                       <statement name="STATEMENT">
                                         <block type="variables_set" id="UKTqv%H57^q~.T.VB^b+">
                                           <field name="VAR" id="timeout" variabletype="timeout">timeout</field>
                                           <value name="VALUE">
                                             <block type="logic_null" id="dt{sd9rUYq5rrsVPn_mT"></block>
                                           </value>
                                         </block>
                                       </statement>
                                     </block>
                                   </next>
                                 </block>
                               </next>
                             </block>
                           </statement>
                         </block>
                       </statement>
                     </block>
                    </xml>
                    

                    L Offline
                    L Offline
                    LaBamba
                    wrote on last edited by
                    #13

                    @paul53
                    Danke das funktioniert!

                    D 1 Reply Last reply
                    0
                    • L LaBamba

                      @paul53
                      Danke das funktioniert!

                      D Offline
                      D Offline
                      Dragon
                      wrote on last edited by
                      #14

                      @LaBamba
                      welches funktioniert denn?

                      L 1 Reply Last reply
                      0
                      • D Dragon

                        @LaBamba
                        welches funktioniert denn?

                        L Offline
                        L Offline
                        LaBamba
                        wrote on last edited by
                        #15

                        @David-Froebus
                        Das von Paul!

                        D 1 Reply Last reply
                        0
                        • L LaBamba

                          @David-Froebus
                          Das von Paul!

                          D Offline
                          D Offline
                          Dragon
                          wrote on last edited by
                          #16

                          @LaBamba Oki

                          1 Reply Last reply
                          0
                          • paul53P paul53

                            @LaBamba sagte:

                            eine Dauerschleife drin

                            Bau eine Sperre ein:

                            Blockly_temp.JPG

                            <xml xmlns="https://developers.google.com/blockly/xml">
                             <variables>
                               <variable type="timeout" id="timeout">timeout</variable>
                             </variables>
                             <block type="on_ext" id="4kM/Se4?CGjUWC,o,I0f" x="62" y="63">
                               <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                               <field name="CONDITION">true</field>
                               <field name="ACK_CONDITION"></field>
                               <value name="OID0">
                                 <shadow type="field_oid" id="/IcV_*l;[!B^q,YW1!,1">
                                   <field name="oid">default</field>
                                 </shadow>
                               </value>
                               <statement name="STATEMENT">
                                 <block type="controls_if" id="UgO3]rus#o]{6C?[b#GN">
                                   <value name="IF0">
                                     <block type="logic_negate" id="l3`=Q[NGFm*masMYIP*G">
                                       <value name="BOOL">
                                         <block type="variables_get" id=")8;Cu)A{XG?Q{6M1Pu%%">
                                           <field name="VAR" id="timeout" variabletype="timeout">timeout</field>
                                         </block>
                                       </value>
                                     </block>
                                   </value>
                                   <statement name="DO0">
                                     <block type="control" id="dtJnx$6.uB=^xBJrBE#_">
                                       <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                       <field name="OID">Object ID</field>
                                       <field name="WITH_DELAY">TRUE</field>
                                       <field name="DELAY_MS">1000</field>
                                       <field name="UNIT">ms</field>
                                       <field name="CLEAR_RUNNING">FALSE</field>
                                       <value name="VALUE">
                                         <block type="logic_boolean" id="S]k|MsiG/m]RTXz?!^/6">
                                           <field name="BOOL">TRUE</field>
                                         </block>
                                       </value>
                                       <next>
                                         <block type="control" id="OS|77%(+gG(Av_SVouQV">
                                           <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                           <field name="OID">Object ID</field>
                                           <field name="WITH_DELAY">TRUE</field>
                                           <field name="DELAY_MS">3000</field>
                                           <field name="UNIT">ms</field>
                                           <field name="CLEAR_RUNNING">FALSE</field>
                                           <value name="VALUE">
                                             <block type="logic_boolean" id="Fq0dA%k.uxgGS6A*tBcX">
                                               <field name="BOOL">TRUE</field>
                                             </block>
                                           </value>
                                           <next>
                                             <block type="timeouts_settimeout" id="5~mI{uGr#kG*gt!XE-`u">
                                               <field name="NAME">timeout</field>
                                               <field name="DELAY">4000</field>
                                               <field name="UNIT">ms</field>
                                               <statement name="STATEMENT">
                                                 <block type="variables_set" id="UKTqv%H57^q~.T.VB^b+">
                                                   <field name="VAR" id="timeout" variabletype="timeout">timeout</field>
                                                   <value name="VALUE">
                                                     <block type="logic_null" id="dt{sd9rUYq5rrsVPn_mT"></block>
                                                   </value>
                                                 </block>
                                               </statement>
                                             </block>
                                           </next>
                                         </block>
                                       </next>
                                     </block>
                                   </statement>
                                 </block>
                               </statement>
                             </block>
                            </xml>
                            

                            L Offline
                            L Offline
                            LaBamba
                            wrote on last edited by LaBamba
                            #17

                            @paul53
                            ff83802c-a931-4a55-b4f8-c72795e69c08-image.png

                            Ich habe jetzt noch einen Fahrbefehl davor gehängt.
                            D.h. der Raffstore soll erst 50% (Halb) zugefahren werden und dann stellt sich der Winkel der Lamellen ein.
                            Die habe ich mit einem Jqui-icon toggle im VIS verbunden.

                            Leider funktioniert es nicht über den Button!

                            Die Vermutung ist, dass das skript nur ausgelöst wird wenn sich der Wert von ID Pause wieder auf Wahr ändert.
                            Jedoch wollte ich, dass das skript durch den Button ausgelöst wird wenn der Wert auf Wahr steht.

                            paul53P 3 Replies Last reply
                            0
                            • L LaBamba

                              @paul53
                              ff83802c-a931-4a55-b4f8-c72795e69c08-image.png

                              Ich habe jetzt noch einen Fahrbefehl davor gehängt.
                              D.h. der Raffstore soll erst 50% (Halb) zugefahren werden und dann stellt sich der Winkel der Lamellen ein.
                              Die habe ich mit einem Jqui-icon toggle im VIS verbunden.

                              Leider funktioniert es nicht über den Button!

                              Die Vermutung ist, dass das skript nur ausgelöst wird wenn sich der Wert von ID Pause wieder auf Wahr ändert.
                              Jedoch wollte ich, dass das skript durch den Button ausgelöst wird wenn der Wert auf Wahr steht.

                              paul53P Offline
                              paul53P Offline
                              paul53
                              wrote on last edited by
                              #18

                              @LaBamba sagte:

                              der Raffstore soll erst 50% (Halb) zugefahren werden

                              Was ist zu ? 100 % oder 0 % ?
                              Fährt der Raffstore nicht auf 50 % ?

                              Sind beide Trigger identisch ?

                              Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
                              Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

                              L 2 Replies Last reply
                              0
                              • paul53P paul53

                                @LaBamba sagte:

                                der Raffstore soll erst 50% (Halb) zugefahren werden

                                Was ist zu ? 100 % oder 0 % ?
                                Fährt der Raffstore nicht auf 50 % ?

                                Sind beide Trigger identisch ?

                                L Offline
                                L Offline
                                LaBamba
                                wrote on last edited by LaBamba
                                #19

                                @paul53
                                100% ist auf!
                                Ja das ist eine Shelly 2.5.

                                1 Reply Last reply
                                0
                                • paul53P paul53

                                  @LaBamba sagte:

                                  der Raffstore soll erst 50% (Halb) zugefahren werden

                                  Was ist zu ? 100 % oder 0 % ?
                                  Fährt der Raffstore nicht auf 50 % ?

                                  Sind beide Trigger identisch ?

                                  L Offline
                                  L Offline
                                  LaBamba
                                  wrote on last edited by LaBamba
                                  #20

                                  @paul53
                                  Jedoch habe ich immer das Problem, dass der Befehl nicht ausgelöst wird wenn wahr bei Pause drin steht.
                                  Er wird erst ausgelöst wenn z.b. nach dem Tastendruck per Hand, die shelly wieder den Befehl auf wahr in der Pause zurücksetzt.

                                  1 Reply Last reply
                                  0
                                  • L LaBamba

                                    @paul53
                                    ff83802c-a931-4a55-b4f8-c72795e69c08-image.png

                                    Ich habe jetzt noch einen Fahrbefehl davor gehängt.
                                    D.h. der Raffstore soll erst 50% (Halb) zugefahren werden und dann stellt sich der Winkel der Lamellen ein.
                                    Die habe ich mit einem Jqui-icon toggle im VIS verbunden.

                                    Leider funktioniert es nicht über den Button!

                                    Die Vermutung ist, dass das skript nur ausgelöst wird wenn sich der Wert von ID Pause wieder auf Wahr ändert.
                                    Jedoch wollte ich, dass das skript durch den Button ausgelöst wird wenn der Wert auf Wahr steht.

                                    paul53P Offline
                                    paul53P Offline
                                    paul53
                                    wrote on last edited by paul53
                                    #21

                                    @LaBamba sagte:

                                    Die habe ich mit einem Jqui-icon toggle im VIS verbunden.

                                    Toggle ist sicherlich falsch. Ein "normaler" Button kann auf wahr bleiben und aktualisiert bei Betätigung nur den Zeitstempel zum Triggern.

                                    @LaBamba sagte in Ausführung für z.B. 1 Sekunde:

                                    Ja das ist eine Shelly 2.5.

                                    Ich habe keine Shellys, benötige also die Informationen über das Verhalten von Dir. Liefern die Shellys die aktuelle Position während der Bewegung zurück ? Wenn ja, in welchem zeitlichen Abstand ?

                                    Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
                                    Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

                                    L 1 Reply Last reply
                                    0
                                    • paul53P paul53

                                      @LaBamba sagte:

                                      Die habe ich mit einem Jqui-icon toggle im VIS verbunden.

                                      Toggle ist sicherlich falsch. Ein "normaler" Button kann auf wahr bleiben und aktualisiert bei Betätigung nur den Zeitstempel zum Triggern.

                                      @LaBamba sagte in Ausführung für z.B. 1 Sekunde:

                                      Ja das ist eine Shelly 2.5.

                                      Ich habe keine Shellys, benötige also die Informationen über das Verhalten von Dir. Liefern die Shellys die aktuelle Position während der Bewegung zurück ? Wenn ja, in welchem zeitlichen Abstand ?

                                      L Offline
                                      L Offline
                                      LaBamba
                                      wrote on last edited by LaBamba
                                      #22

                                      @paul53

                                      Grundsätzlich gibt es diese Datenpunkte

                                      10515a71-2898-4619-82a3-039b789f1a74-image.png

                                      Hierbei sind close, open, Position und Pause wichtig!

                                      Die Winkeleinstellung hat so
                                      6670a56a-1cc5-4cbc-80b2-0b04b70d691c-image.png

                                      funktioniert

                                      paul53P L 2 Replies Last reply
                                      0
                                      • L LaBamba

                                        @paul53

                                        Grundsätzlich gibt es diese Datenpunkte

                                        10515a71-2898-4619-82a3-039b789f1a74-image.png

                                        Hierbei sind close, open, Position und Pause wichtig!

                                        Die Winkeleinstellung hat so
                                        6670a56a-1cc5-4cbc-80b2-0b04b70d691c-image.png

                                        funktioniert

                                        paul53P Offline
                                        paul53P Offline
                                        paul53
                                        wrote on last edited by
                                        #23

                                        @LaBamba
                                        Welche Werte liefert "Roller state" ? "stop", wenn die Sollposition erreicht ist ?

                                        Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
                                        Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

                                        L 1 Reply Last reply
                                        0
                                        • L LaBamba

                                          @paul53

                                          Grundsätzlich gibt es diese Datenpunkte

                                          10515a71-2898-4619-82a3-039b789f1a74-image.png

                                          Hierbei sind close, open, Position und Pause wichtig!

                                          Die Winkeleinstellung hat so
                                          6670a56a-1cc5-4cbc-80b2-0b04b70d691c-image.png

                                          funktioniert

                                          L Offline
                                          L Offline
                                          LaBamba
                                          wrote on last edited by
                                          #24

                                          @paul53
                                          Open auf unwahr zu setzen bringt nicht viel. Deshalb ist es über Pause besser!

                                          Wenn ein Skript gestartet wird, sollte es eigentlich einmal ausgeführt werden. Jedoch habe ich gemerkt, dass das Skript erst ausgeführt wird, wenn Pause wieder von falsch auf true springt.

                                          1 Reply Last reply
                                          0

                                          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                          With your input, this post could be even better 💗

                                          Register Login
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          540

                                          Online

                                          32.7k

                                          Users

                                          82.6k

                                          Topics

                                          1.3m

                                          Posts
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Home
                                          • Recent
                                          • Tags
                                          • Unread 0
                                          • Categories
                                          • Unreplied
                                          • Popular
                                          • GitHub
                                          • Docu
                                          • Hilfe