Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • 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

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

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Skripten / Logik
  4. Wled per Blocklyscript für Garagentorzustände steuern

NEWS

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    15
    1
    641

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

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    1.9k

Wled per Blocklyscript für Garagentorzustände steuern

Geplant Angeheftet Gesperrt Verschoben Skripten / Logik
20 Beiträge 3 Kommentatoren 867 Aufrufe 2 Watching
  • Ä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.
  • S Spidermike

    @paul53 sagte in Wled per Blocklyscript für Garagentorzustände steuern:

    @spidermike sagte: keine Kontakte verbaut, bekomme den Status nur über den shelly adapter

    Der Shelly 1 hat doch nur einen Relais-Kontakt zum Ansteuern des Torantriebs?

    naja wie soll ich es erklären

    ich habe ihn so verbaut das mir der SW Anschluss den zustand übermittelt

    so wie ich geschrieben habe bekomme ich auf 0 oder falsch das das Tor offen ist
    und wenn das Tor zu ist bekomme ich die 1 oder wahr

    paul53P Offline
    paul53P Offline
    paul53
    schrieb am zuletzt editiert von paul53
    #7

    @spidermike sagte: bekomme ich auf 0 oder falsch das das Tor offen ist
    und wenn das Tor zu ist bekomme ich die 1 oder wahr

    Ohne Endlagenschalter? Ein Tor hat 3 Zustände:

    • geschlossen
    • in Bewegung / Zwischenstellung
    • offen

    Das kann man mit nur einem Kontakt nicht feststellen.

    Mit nur einem Kontakt kann man das Tor öffnen oder schließen, wobei die Zustände "offen" und "geschlossen" erst nach einer bestimmten Zeit erreicht werdenden.

    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

    S 1 Antwort Letzte Antwort
    0
    • paul53P paul53

      @spidermike sagte: bekomme ich auf 0 oder falsch das das Tor offen ist
      und wenn das Tor zu ist bekomme ich die 1 oder wahr

      Ohne Endlagenschalter? Ein Tor hat 3 Zustände:

      • geschlossen
      • in Bewegung / Zwischenstellung
      • offen

      Das kann man mit nur einem Kontakt nicht feststellen.

      Mit nur einem Kontakt kann man das Tor öffnen oder schließen, wobei die Zustände "offen" und "geschlossen" erst nach einer bestimmten Zeit erreicht werdenden.

      S Offline
      S Offline
      Spidermike
      schrieb am zuletzt editiert von Spidermike
      #8

      @paul53

      ok ich kann leider nur die zwei zustände abrufen,

      muss ich jetzt noch die Kontakte verbauen?

      oder kann man da auch über Zeit steuern ?

      paul53P 1 Antwort Letzte Antwort
      0
      • S Spidermike

        @paul53

        ok ich kann leider nur die zwei zustände abrufen,

        muss ich jetzt noch die Kontakte verbauen?

        oder kann man da auch über Zeit steuern ?

        paul53P Offline
        paul53P Offline
        paul53
        schrieb am zuletzt editiert von paul53
        #9

        @spidermike sagte: muss ich jetzt noch die Kontakte verbauen?

        Wenn nur voll geöffnet und voll geschlossen werden soll, kann man auch mit der Laufzeit arbeiten.

        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

        S 1 Antwort Letzte Antwort
        0
        • paul53P paul53

          @spidermike sagte: muss ich jetzt noch die Kontakte verbauen?

          Wenn nur voll geöffnet und voll geschlossen werden soll, kann man auch mit der Laufzeit arbeiten.

          S Offline
          S Offline
          Spidermike
          schrieb am zuletzt editiert von Spidermike
          #10

          @paul53 sagte in Wled per Blocklyscript für Garagentorzustände steuern:

          @spidermike sagte: muss ich jetzt noch die Kontakte verbauen?

          Wenn nur voll geöffnet und voll geschlossen erreicht werden soll, kann man auch mit der Laufzeit arbeiten.

          ja das würde mir reichen

          habe mal gemessen das das Tor ca. 16 sek braucht um auf zu gehen

          paul53P 1 Antwort Letzte Antwort
          0
          • S Spidermike

            @paul53 sagte in Wled per Blocklyscript für Garagentorzustände steuern:

            @spidermike sagte: muss ich jetzt noch die Kontakte verbauen?

            Wenn nur voll geöffnet und voll geschlossen erreicht werden soll, kann man auch mit der Laufzeit arbeiten.

            ja das würde mir reichen

            habe mal gemessen das das Tor ca. 16 sek braucht um auf zu gehen

            paul53P Offline
            paul53P Offline
            paul53
            schrieb am zuletzt editiert von paul53
            #11

            @spidermike sagte: das Tor ca. 16 sek braucht um auf zu gehen

            Habe das Skript mal entsprechend angepasst.

            <xml xmlns="https://developers.google.com/blockly/xml">
             <variables>
               <variable type="timeout" id="timeout">timeout</variable>
             </variables>
             <block type="comment" id=")qY#5[Hs}8(,sF|14)Ii" x="-1363" y="-2063">
               <field name="COMMENT">Input</field>
               <next>
                 <block type="on_ext" id=",)p_H{cc[[o*elb8586g">
                   <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=";E(x6]id)3T*W1{1i^B7">
                       <field name="oid">default</field>
                     </shadow>
                   </value>
                   <statement name="STATEMENT">
                     <block type="comment" id="uB~.t3Sbi~Ez[|,)s3(V">
                       <field name="COMMENT">Wenn Status geändert: fährt gerade hoch/runter</field>
                       <next>
                         <block type="control" id="%^WT@hC_w+Hqm)Dp[0jQ">
                           <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                           <field name="OID">wled.0.c45bbe55574f.on</field>
                           <field name="WITH_DELAY">FALSE</field>
                           <value name="VALUE">
                             <block type="logic_boolean" id="jx?Qd;79TxpSFS.vPIL(">
                               <field name="BOOL">TRUE</field>
                             </block>
                           </value>
                           <next>
                             <block type="control" id="{7z:D,$oLi[pwmE01/h$">
                               <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                               <field name="OID">wled.0.c45bbe55574f.seg.0.bri</field>
                               <field name="WITH_DELAY">FALSE</field>
                               <value name="VALUE">
                                 <block type="math_number" id="hM2PKHRrSc*aIaJm@G{!">
                                   <field name="NUM">255</field>
                                 </block>
                               </value>
                               <next>
                                 <block type="control" id="ThspYz3H2vnlFjG;:5FU">
                                   <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                   <field name="OID">wled.0.c45bbe55574f.seg.0.col.0_HEX</field>
                                   <field name="WITH_DELAY">FALSE</field>
                                   <value name="VALUE">
                                     <block type="colour_picker" id="d;C|Q@5x8ac5i{9`uZJx">
                                       <field name="COLOUR">#ff0000</field>
                                     </block>
                                   </value>
                                   <next>
                                     <block type="control" id="t$jCxN76Wny]Kxdyf;*0">
                                       <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                       <field name="OID">wled.0.c45bbe55574f.seg.0.sx</field>
                                       <field name="WITH_DELAY">FALSE</field>
                                       <value name="VALUE">
                                         <block type="math_number" id="1}xAbUU-PD@sq]UhH,pl">
                                           <field name="NUM">89</field>
                                         </block>
                                       </value>
                                       <next>
                                         <block type="control" id="s^nzqS2R1@m8^Yj;e8rY">
                                           <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                           <field name="OID">wled.0.c45bbe55574f.seg.0.ix</field>
                                           <field name="WITH_DELAY">FALSE</field>
                                           <value name="VALUE">
                                             <block type="math_number" id="pb.S2V:@sJ)7DUCW=Wdf">
                                               <field name="NUM">237</field>
                                             </block>
                                           </value>
                                           <next>
                                             <block type="control" id="Vsh%U,2rLePgyn.(3/a+">
                                               <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                               <field name="OID">wled.0.c45bbe55574f.seg.0.fx</field>
                                               <field name="WITH_DELAY">FALSE</field>
                                               <value name="VALUE">
                                                 <block type="math_number" id="U$Iy:m/Ppv,PNJ4^@5-0">
                                                   <field name="NUM">60</field>
                                                 </block>
                                               </value>
                                               <next>
                                                 <block type="timeouts_cleartimeout" id="`0yFJc8Nvd,6$rov|B9f">
                                                   <field name="NAME">timeout</field>
                                                   <next>
                                                     <block type="timeouts_settimeout" id="aY!K93kAl!)!kB^m)K$?">
                                                       <field name="NAME">timeout</field>
                                                       <field name="DELAY">16</field>
                                                       <field name="UNIT">sec</field>
                                                       <statement name="STATEMENT">
                                                         <block type="controls_if" id="vuW9U0ZA/M)*CSE?E#c|">
                                                           <mutation else="1"></mutation>
                                                           <value name="IF0">
                                                             <block type="on_source" id="CN;]`a|!%Bl*T=5GpMT^">
                                                               <field name="ATTR">state.val</field>
                                                             </block>
                                                           </value>
                                                           <statement name="DO0">
                                                             <block type="comment" id="dC:L!m%XS%*nMOAO+:Zt">
                                                               <field name="COMMENT">Wenn Status closed</field>
                                                               <next>
                                                                 <block type="control" id="CgkaF[}hz`jUA0/H:VVp">
                                                                   <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                   <field name="OID">wled.0.c45bbe55574f.seg.0.col.0_HEX</field>
                                                                   <field name="WITH_DELAY">FALSE</field>
                                                                   <value name="VALUE">
                                                                     <block type="colour_picker" id="f5rUu1Muj$AwzPz|ZLV`">
                                                                       <field name="COLOUR">#ffffff</field>
                                                                     </block>
                                                                   </value>
                                                                   <next>
                                                                     <block type="control" id="tABOe)]Y/Ymm?I^DVS[T">
                                                                       <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                       <field name="OID">wled.0.c45bbe55574f.seg.0.sx</field>
                                                                       <field name="WITH_DELAY">FALSE</field>
                                                                       <value name="VALUE">
                                                                         <block type="math_number" id="XpqG]~i(J7jlGxAU=46{">
                                                                           <field name="NUM">92</field>
                                                                         </block>
                                                                       </value>
                                                                       <next>
                                                                         <block type="control" id="%mfMhb{tO]KCu6QSL:f4">
                                                                           <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                           <field name="OID">wled.0.c45bbe55574f.seg.0.ix</field>
                                                                           <field name="WITH_DELAY">FALSE</field>
                                                                           <value name="VALUE">
                                                                             <block type="math_number" id="f~Cp*i8uPZpU~-1`+{a@">
                                                                               <field name="NUM">85</field>
                                                                             </block>
                                                                           </value>
                                                                           <next>
                                                                             <block type="control" id="cBk%qxly%OdLEQvuTnZv">
                                                                               <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                               <field name="OID">wled.0.c45bbe55574f.seg.0.fx</field>
                                                                               <field name="WITH_DELAY">FALSE</field>
                                                                               <value name="VALUE">
                                                                                 <block type="math_number" id="-3++B23}9UbS-$=bnbtr">
                                                                                   <field name="NUM">85</field>
                                                                                 </block>
                                                                               </value>
                                                                               <next>
                                                                                 <block type="control" id="O5vtDD:j=$y5B(KA@N[{">
                                                                                   <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                                                                   <field name="OID">wled.0.c45bbe55574f.on</field>
                                                                                   <field name="WITH_DELAY">TRUE</field>
                                                                                   <field name="DELAY_MS">15</field>
                                                                                   <field name="UNIT">sec</field>
                                                                                   <field name="CLEAR_RUNNING">FALSE</field>
                                                                                   <value name="VALUE">
                                                                                     <block type="logic_boolean" id="fQ6C5uf3x$h[pr:vKBs|">
                                                                                       <field name="BOOL">FALSE</field>
                                                                                     </block>
                                                                                   </value>
                                                                                 </block>
                                                                               </next>
                                                                             </block>
                                                                           </next>
                                                                         </block>
                                                                       </next>
                                                                     </block>
                                                                   </next>
                                                                 </block>
                                                               </next>
                                                             </block>
                                                           </statement>
                                                           <statement name="ELSE">
                                                             <block type="comment" id="1vQn!L/ov54G!y#.b3+K">
                                                               <field name="COMMENT">Wenn Status open</field>
                                                               <next>
                                                                 <block type="control" id="QJmMA%:%T/hA*t8*h,s4">
                                                                   <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                   <field name="OID">wled.0.c45bbe55574f.seg.0.col.0_HEX</field>
                                                                   <field name="WITH_DELAY">FALSE</field>
                                                                   <value name="VALUE">
                                                                     <block type="colour_picker" id="Wr%t(.g5l4!_G}/es6kT">
                                                                       <field name="COLOUR">#33ff33</field>
                                                                     </block>
                                                                   </value>
                                                                   <next>
                                                                     <block type="control" id="C,R}A$EXQ`eJLU^th@qY">
                                                                       <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                       <field name="OID">wled.0.c45bbe55574f.seg.0.fx</field>
                                                                       <field name="WITH_DELAY">FALSE</field>
                                                                       <value name="VALUE">
                                                                         <block type="math_number" id=")10HTwAd9@4+!L9$3J2o">
                                                                           <field name="NUM">0</field>
                                                                         </block>
                                                                       </value>
                                                                       <next>
                                                                         <block type="comment" id="*g8g~b2e7$d^VM_G13H9">
                                                                           <field name="COMMENT">Effekt 3: Spots</field>
                                                                           <next>
                                                                             <block type="control" id="O/K#^zKc{vIDh#8:sbKG">
                                                                               <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                                                               <field name="OID">wled.0.c45bbe55574f.seg.0.fx</field>
                                                                               <field name="WITH_DELAY">TRUE</field>
                                                                               <field name="DELAY_MS">5</field>
                                                                               <field name="UNIT">sec</field>
                                                                               <field name="CLEAR_RUNNING">FALSE</field>
                                                                               <value name="VALUE">
                                                                                 <block type="math_number" id="${lbQq;;9]rgLt/9h{Ox">
                                                                                   <field name="NUM">85</field>
                                                                                 </block>
                                                                               </value>
                                                                               <next>
                                                                                 <block type="control" id="JM6`.#7zHdq06a6*!ms`">
                                                                                   <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                   <field name="OID">wled.0.c45bbe55574f.seg.0.col.0_HEX</field>
                                                                                   <field name="WITH_DELAY">FALSE</field>
                                                                                   <value name="VALUE">
                                                                                     <block type="colour_picker" id="wDc^g;fLGEHJ~OYQz1Eg">
                                                                                       <field name="COLOUR">#ffffff</field>
                                                                                     </block>
                                                                                   </value>
                                                                                   <next>
                                                                                     <block type="control" id="I80r~!qRj{LyDPMOngwC">
                                                                                       <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                       <field name="OID">wled.0.c45bbe55574f.seg.0.sx</field>
                                                                                       <field name="WITH_DELAY">FALSE</field>
                                                                                       <value name="VALUE">
                                                                                         <block type="math_number" id="epg:m`J+IKs6f$iu8]@B">
                                                                                           <field name="NUM">92</field>
                                                                                         </block>
                                                                                       </value>
                                                                                       <next>
                                                                                         <block type="control" id="75w+h!71.|,Y|bMl@p2.">
                                                                                           <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                           <field name="OID">wled.0.c45bbe55574f.seg.0.ix</field>
                                                                                           <field name="WITH_DELAY">FALSE</field>
                                                                                           <value name="VALUE">
                                                                                             <block type="math_number" id="B9I1b5uFXD[nWv_7;+JD">
                                                                                               <field name="NUM">85</field>
                                                                                             </block>
                                                                                           </value>
                                                                                           <next>
                                                                                             <block type="control" id="b2IJ1|?=ss!jw?VfyP)O">
                                                                                               <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                                                                               <field name="OID">wled.0.c45bbe55574f.on</field>
                                                                                               <field name="WITH_DELAY">TRUE</field>
                                                                                               <field name="DELAY_MS">15</field>
                                                                                               <field name="UNIT">sec</field>
                                                                                               <field name="CLEAR_RUNNING">FALSE</field>
                                                                                               <value name="VALUE">
                                                                                                 <block type="logic_boolean" id="T.AJB-BR_EjoD@GmC%ge">
                                                                                                   <field name="BOOL">FALSE</field>
                                                                                                 </block>
                                                                                               </value>
                                                                                             </block>
                                                                                           </next>
                                                                                         </block>
                                                                                       </next>
                                                                                     </block>
                                                                                   </next>
                                                                                 </block>
                                                                               </next>
                                                                             </block>
                                                                           </next>
                                                                         </block>
                                                                       </next>
                                                                     </block>
                                                                   </next>
                                                                 </block>
                                                               </next>
                                                             </block>
                                                           </statement>
                                                         </block>
                                                       </statement>
                                                     </block>
                                                   </next>
                                                 </block>
                                               </next>
                                             </block>
                                           </next>
                                         </block>
                                       </next>
                                     </block>
                                   </next>
                                 </block>
                               </next>
                             </block>
                           </next>
                         </block>
                       </next>
                     </block>
                   </statement>
                 </block>
               </next>
             </block>
             <block type="math_number" id="]Lhv3-;^9zW:V::WZwZl" x="-1198" y="-1579">
               <field name="NUM">0</field>
             </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

            S 1 Antwort Letzte Antwort
            0
            • paul53P paul53

              @spidermike sagte: das Tor ca. 16 sek braucht um auf zu gehen

              Habe das Skript mal entsprechend angepasst.

              <xml xmlns="https://developers.google.com/blockly/xml">
               <variables>
                 <variable type="timeout" id="timeout">timeout</variable>
               </variables>
               <block type="comment" id=")qY#5[Hs}8(,sF|14)Ii" x="-1363" y="-2063">
                 <field name="COMMENT">Input</field>
                 <next>
                   <block type="on_ext" id=",)p_H{cc[[o*elb8586g">
                     <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=";E(x6]id)3T*W1{1i^B7">
                         <field name="oid">default</field>
                       </shadow>
                     </value>
                     <statement name="STATEMENT">
                       <block type="comment" id="uB~.t3Sbi~Ez[|,)s3(V">
                         <field name="COMMENT">Wenn Status geändert: fährt gerade hoch/runter</field>
                         <next>
                           <block type="control" id="%^WT@hC_w+Hqm)Dp[0jQ">
                             <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                             <field name="OID">wled.0.c45bbe55574f.on</field>
                             <field name="WITH_DELAY">FALSE</field>
                             <value name="VALUE">
                               <block type="logic_boolean" id="jx?Qd;79TxpSFS.vPIL(">
                                 <field name="BOOL">TRUE</field>
                               </block>
                             </value>
                             <next>
                               <block type="control" id="{7z:D,$oLi[pwmE01/h$">
                                 <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                 <field name="OID">wled.0.c45bbe55574f.seg.0.bri</field>
                                 <field name="WITH_DELAY">FALSE</field>
                                 <value name="VALUE">
                                   <block type="math_number" id="hM2PKHRrSc*aIaJm@G{!">
                                     <field name="NUM">255</field>
                                   </block>
                                 </value>
                                 <next>
                                   <block type="control" id="ThspYz3H2vnlFjG;:5FU">
                                     <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                     <field name="OID">wled.0.c45bbe55574f.seg.0.col.0_HEX</field>
                                     <field name="WITH_DELAY">FALSE</field>
                                     <value name="VALUE">
                                       <block type="colour_picker" id="d;C|Q@5x8ac5i{9`uZJx">
                                         <field name="COLOUR">#ff0000</field>
                                       </block>
                                     </value>
                                     <next>
                                       <block type="control" id="t$jCxN76Wny]Kxdyf;*0">
                                         <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                         <field name="OID">wled.0.c45bbe55574f.seg.0.sx</field>
                                         <field name="WITH_DELAY">FALSE</field>
                                         <value name="VALUE">
                                           <block type="math_number" id="1}xAbUU-PD@sq]UhH,pl">
                                             <field name="NUM">89</field>
                                           </block>
                                         </value>
                                         <next>
                                           <block type="control" id="s^nzqS2R1@m8^Yj;e8rY">
                                             <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                             <field name="OID">wled.0.c45bbe55574f.seg.0.ix</field>
                                             <field name="WITH_DELAY">FALSE</field>
                                             <value name="VALUE">
                                               <block type="math_number" id="pb.S2V:@sJ)7DUCW=Wdf">
                                                 <field name="NUM">237</field>
                                               </block>
                                             </value>
                                             <next>
                                               <block type="control" id="Vsh%U,2rLePgyn.(3/a+">
                                                 <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                 <field name="OID">wled.0.c45bbe55574f.seg.0.fx</field>
                                                 <field name="WITH_DELAY">FALSE</field>
                                                 <value name="VALUE">
                                                   <block type="math_number" id="U$Iy:m/Ppv,PNJ4^@5-0">
                                                     <field name="NUM">60</field>
                                                   </block>
                                                 </value>
                                                 <next>
                                                   <block type="timeouts_cleartimeout" id="`0yFJc8Nvd,6$rov|B9f">
                                                     <field name="NAME">timeout</field>
                                                     <next>
                                                       <block type="timeouts_settimeout" id="aY!K93kAl!)!kB^m)K$?">
                                                         <field name="NAME">timeout</field>
                                                         <field name="DELAY">16</field>
                                                         <field name="UNIT">sec</field>
                                                         <statement name="STATEMENT">
                                                           <block type="controls_if" id="vuW9U0ZA/M)*CSE?E#c|">
                                                             <mutation else="1"></mutation>
                                                             <value name="IF0">
                                                               <block type="on_source" id="CN;]`a|!%Bl*T=5GpMT^">
                                                                 <field name="ATTR">state.val</field>
                                                               </block>
                                                             </value>
                                                             <statement name="DO0">
                                                               <block type="comment" id="dC:L!m%XS%*nMOAO+:Zt">
                                                                 <field name="COMMENT">Wenn Status closed</field>
                                                                 <next>
                                                                   <block type="control" id="CgkaF[}hz`jUA0/H:VVp">
                                                                     <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                     <field name="OID">wled.0.c45bbe55574f.seg.0.col.0_HEX</field>
                                                                     <field name="WITH_DELAY">FALSE</field>
                                                                     <value name="VALUE">
                                                                       <block type="colour_picker" id="f5rUu1Muj$AwzPz|ZLV`">
                                                                         <field name="COLOUR">#ffffff</field>
                                                                       </block>
                                                                     </value>
                                                                     <next>
                                                                       <block type="control" id="tABOe)]Y/Ymm?I^DVS[T">
                                                                         <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                         <field name="OID">wled.0.c45bbe55574f.seg.0.sx</field>
                                                                         <field name="WITH_DELAY">FALSE</field>
                                                                         <value name="VALUE">
                                                                           <block type="math_number" id="XpqG]~i(J7jlGxAU=46{">
                                                                             <field name="NUM">92</field>
                                                                           </block>
                                                                         </value>
                                                                         <next>
                                                                           <block type="control" id="%mfMhb{tO]KCu6QSL:f4">
                                                                             <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                             <field name="OID">wled.0.c45bbe55574f.seg.0.ix</field>
                                                                             <field name="WITH_DELAY">FALSE</field>
                                                                             <value name="VALUE">
                                                                               <block type="math_number" id="f~Cp*i8uPZpU~-1`+{a@">
                                                                                 <field name="NUM">85</field>
                                                                               </block>
                                                                             </value>
                                                                             <next>
                                                                               <block type="control" id="cBk%qxly%OdLEQvuTnZv">
                                                                                 <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                 <field name="OID">wled.0.c45bbe55574f.seg.0.fx</field>
                                                                                 <field name="WITH_DELAY">FALSE</field>
                                                                                 <value name="VALUE">
                                                                                   <block type="math_number" id="-3++B23}9UbS-$=bnbtr">
                                                                                     <field name="NUM">85</field>
                                                                                   </block>
                                                                                 </value>
                                                                                 <next>
                                                                                   <block type="control" id="O5vtDD:j=$y5B(KA@N[{">
                                                                                     <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                                                                     <field name="OID">wled.0.c45bbe55574f.on</field>
                                                                                     <field name="WITH_DELAY">TRUE</field>
                                                                                     <field name="DELAY_MS">15</field>
                                                                                     <field name="UNIT">sec</field>
                                                                                     <field name="CLEAR_RUNNING">FALSE</field>
                                                                                     <value name="VALUE">
                                                                                       <block type="logic_boolean" id="fQ6C5uf3x$h[pr:vKBs|">
                                                                                         <field name="BOOL">FALSE</field>
                                                                                       </block>
                                                                                     </value>
                                                                                   </block>
                                                                                 </next>
                                                                               </block>
                                                                             </next>
                                                                           </block>
                                                                         </next>
                                                                       </block>
                                                                     </next>
                                                                   </block>
                                                                 </next>
                                                               </block>
                                                             </statement>
                                                             <statement name="ELSE">
                                                               <block type="comment" id="1vQn!L/ov54G!y#.b3+K">
                                                                 <field name="COMMENT">Wenn Status open</field>
                                                                 <next>
                                                                   <block type="control" id="QJmMA%:%T/hA*t8*h,s4">
                                                                     <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                     <field name="OID">wled.0.c45bbe55574f.seg.0.col.0_HEX</field>
                                                                     <field name="WITH_DELAY">FALSE</field>
                                                                     <value name="VALUE">
                                                                       <block type="colour_picker" id="Wr%t(.g5l4!_G}/es6kT">
                                                                         <field name="COLOUR">#33ff33</field>
                                                                       </block>
                                                                     </value>
                                                                     <next>
                                                                       <block type="control" id="C,R}A$EXQ`eJLU^th@qY">
                                                                         <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                         <field name="OID">wled.0.c45bbe55574f.seg.0.fx</field>
                                                                         <field name="WITH_DELAY">FALSE</field>
                                                                         <value name="VALUE">
                                                                           <block type="math_number" id=")10HTwAd9@4+!L9$3J2o">
                                                                             <field name="NUM">0</field>
                                                                           </block>
                                                                         </value>
                                                                         <next>
                                                                           <block type="comment" id="*g8g~b2e7$d^VM_G13H9">
                                                                             <field name="COMMENT">Effekt 3: Spots</field>
                                                                             <next>
                                                                               <block type="control" id="O/K#^zKc{vIDh#8:sbKG">
                                                                                 <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                                                                 <field name="OID">wled.0.c45bbe55574f.seg.0.fx</field>
                                                                                 <field name="WITH_DELAY">TRUE</field>
                                                                                 <field name="DELAY_MS">5</field>
                                                                                 <field name="UNIT">sec</field>
                                                                                 <field name="CLEAR_RUNNING">FALSE</field>
                                                                                 <value name="VALUE">
                                                                                   <block type="math_number" id="${lbQq;;9]rgLt/9h{Ox">
                                                                                     <field name="NUM">85</field>
                                                                                   </block>
                                                                                 </value>
                                                                                 <next>
                                                                                   <block type="control" id="JM6`.#7zHdq06a6*!ms`">
                                                                                     <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                     <field name="OID">wled.0.c45bbe55574f.seg.0.col.0_HEX</field>
                                                                                     <field name="WITH_DELAY">FALSE</field>
                                                                                     <value name="VALUE">
                                                                                       <block type="colour_picker" id="wDc^g;fLGEHJ~OYQz1Eg">
                                                                                         <field name="COLOUR">#ffffff</field>
                                                                                       </block>
                                                                                     </value>
                                                                                     <next>
                                                                                       <block type="control" id="I80r~!qRj{LyDPMOngwC">
                                                                                         <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                         <field name="OID">wled.0.c45bbe55574f.seg.0.sx</field>
                                                                                         <field name="WITH_DELAY">FALSE</field>
                                                                                         <value name="VALUE">
                                                                                           <block type="math_number" id="epg:m`J+IKs6f$iu8]@B">
                                                                                             <field name="NUM">92</field>
                                                                                           </block>
                                                                                         </value>
                                                                                         <next>
                                                                                           <block type="control" id="75w+h!71.|,Y|bMl@p2.">
                                                                                             <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                             <field name="OID">wled.0.c45bbe55574f.seg.0.ix</field>
                                                                                             <field name="WITH_DELAY">FALSE</field>
                                                                                             <value name="VALUE">
                                                                                               <block type="math_number" id="B9I1b5uFXD[nWv_7;+JD">
                                                                                                 <field name="NUM">85</field>
                                                                                               </block>
                                                                                             </value>
                                                                                             <next>
                                                                                               <block type="control" id="b2IJ1|?=ss!jw?VfyP)O">
                                                                                                 <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                                                                                 <field name="OID">wled.0.c45bbe55574f.on</field>
                                                                                                 <field name="WITH_DELAY">TRUE</field>
                                                                                                 <field name="DELAY_MS">15</field>
                                                                                                 <field name="UNIT">sec</field>
                                                                                                 <field name="CLEAR_RUNNING">FALSE</field>
                                                                                                 <value name="VALUE">
                                                                                                   <block type="logic_boolean" id="T.AJB-BR_EjoD@GmC%ge">
                                                                                                     <field name="BOOL">FALSE</field>
                                                                                                   </block>
                                                                                                 </value>
                                                                                               </block>
                                                                                             </next>
                                                                                           </block>
                                                                                         </next>
                                                                                       </block>
                                                                                     </next>
                                                                                   </block>
                                                                                 </next>
                                                                               </block>
                                                                             </next>
                                                                           </block>
                                                                         </next>
                                                                       </block>
                                                                     </next>
                                                                   </block>
                                                                 </next>
                                                               </block>
                                                             </statement>
                                                           </block>
                                                         </statement>
                                                       </block>
                                                     </next>
                                                   </block>
                                                 </next>
                                               </block>
                                             </next>
                                           </block>
                                         </next>
                                       </block>
                                     </next>
                                   </block>
                                 </next>
                               </block>
                             </next>
                           </block>
                         </next>
                       </block>
                     </statement>
                   </block>
                 </next>
               </block>
               <block type="math_number" id="]Lhv3-;^9zW:V::WZwZl" x="-1198" y="-1579">
                 <field name="NUM">0</field>
               </block>
              </xml>
              

              S Offline
              S Offline
              Spidermike
              schrieb am zuletzt editiert von
              #12

              @paul53

              ich habe jetzt nochmal gemessen

              Wenn das Garagentor aufgeht dauert jetzt vom start bis endlage ca. 22 sek
              und beim zugehen braucht es nur ca. 15 sek.

              und muss ich bei dem script "objekt iD" den "input" eintragen oder den "switch"?

              paul53P 1 Antwort Letzte Antwort
              0
              • S Spidermike

                @paul53

                ich habe jetzt nochmal gemessen

                Wenn das Garagentor aufgeht dauert jetzt vom start bis endlage ca. 22 sek
                und beim zugehen braucht es nur ca. 15 sek.

                und muss ich bei dem script "objekt iD" den "input" eintragen oder den "switch"?

                paul53P Offline
                paul53P Offline
                paul53
                schrieb am zuletzt editiert von paul53
                #13

                @spidermike sagte: "objekt iD" den "input" eintragen oder den "switch"?

                Das dürfte egal sein.

                @spidermike sagte in Wled per Blocklyscript für Garagentorzustände steuern:

                Wenn das Garagentor aufgeht dauert jetzt vom start bis endlage ca. 22 sek

                Dann nimm diesen Wert.

                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

                S 1 Antwort Letzte Antwort
                0
                • paul53P paul53

                  @spidermike sagte: "objekt iD" den "input" eintragen oder den "switch"?

                  Das dürfte egal sein.

                  @spidermike sagte in Wled per Blocklyscript für Garagentorzustände steuern:

                  Wenn das Garagentor aufgeht dauert jetzt vom start bis endlage ca. 22 sek

                  Dann nimm diesen Wert.

                  S Offline
                  S Offline
                  Spidermike
                  schrieb am zuletzt editiert von
                  #14

                  @paul53

                  Wenn das Garagentor aufgeht dauert jetzt vom start bis endlage ca. 22 sek

                  Dann nimm diesen Wert.

                  ok weil das der längere Zeitraum ist, richtig?

                  paul53P 1 Antwort Letzte Antwort
                  0
                  • S Spidermike

                    @paul53

                    Wenn das Garagentor aufgeht dauert jetzt vom start bis endlage ca. 22 sek

                    Dann nimm diesen Wert.

                    ok weil das der längere Zeitraum ist, richtig?

                    paul53P Offline
                    paul53P Offline
                    paul53
                    schrieb am zuletzt editiert von paul53
                    #15

                    @spidermike sagte: weil das der längere Zeitraum ist, richtig?

                    Ja, Du kannst natürlich auch mit zwei Timeouts hantieren.

                    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

                    S 1 Antwort Letzte Antwort
                    0
                    • paul53P paul53

                      @spidermike sagte: weil das der längere Zeitraum ist, richtig?

                      Ja, Du kannst natürlich auch mit zwei Timeouts hantieren.

                      S Offline
                      S Offline
                      Spidermike
                      schrieb am zuletzt editiert von
                      #16

                      @paul53

                      können wir das noch so machen das das ganze erst funktioniert wenn es dunkel ist.

                      habe mal gesehen das man da auch sagen kann er soll erst das script ausführen wenn die Sonne untergegangen ist.

                      paul53P 1 Antwort Letzte Antwort
                      0
                      • S Spidermike

                        @paul53

                        können wir das noch so machen das das ganze erst funktioniert wenn es dunkel ist.

                        habe mal gesehen das man da auch sagen kann er soll erst das script ausführen wenn die Sonne untergegangen ist.

                        paul53P Offline
                        paul53P Offline
                        paul53
                        schrieb am zuletzt editiert von
                        #17

                        @spidermike sagte: wenn es dunkel ist.

                        Bild_2022-07-24_192854734.png

                        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

                        S 1 Antwort Letzte Antwort
                        0
                        • paul53P paul53

                          @spidermike sagte: wenn es dunkel ist.

                          Bild_2022-07-24_192854734.png

                          S Offline
                          S Offline
                          Spidermike
                          schrieb am zuletzt editiert von
                          #18

                          @paul53 sagte in Wled per Blocklyscript für Garagentorzustände steuern:

                          @spidermike sagte: wenn es dunkel ist.

                          Bild_2022-07-24_192854734.png

                          ok geändert

                          und wenn ich mit 2 Timeout arbeiten will

                          ich weiß ich nerve, sorry aber alleine bekomme ich das nie hin

                          HomoranH paul53P 2 Antworten Letzte Antwort
                          0
                          • S Spidermike

                            @paul53 sagte in Wled per Blocklyscript für Garagentorzustände steuern:

                            @spidermike sagte: wenn es dunkel ist.

                            Bild_2022-07-24_192854734.png

                            ok geändert

                            und wenn ich mit 2 Timeout arbeiten will

                            ich weiß ich nerve, sorry aber alleine bekomme ich das nie hin

                            HomoranH Nicht stören
                            HomoranH Nicht stören
                            Homoran
                            Global Moderator Administrators
                            schrieb am zuletzt editiert von
                            #19

                            @spidermike sagte in Wled per Blocklyscript für Garagentorzustände steuern:

                            sorry aber alleine bekomme ich das nie hin

                            dann versuch es doch und zeige deine Idee.
                            Vom Abtippen lernst du es nie. Das willst du doch, oder?

                            kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                            Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                            der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                            1 Antwort Letzte Antwort
                            0
                            • S Spidermike

                              @paul53 sagte in Wled per Blocklyscript für Garagentorzustände steuern:

                              @spidermike sagte: wenn es dunkel ist.

                              Bild_2022-07-24_192854734.png

                              ok geändert

                              und wenn ich mit 2 Timeout arbeiten will

                              ich weiß ich nerve, sorry aber alleine bekomme ich das nie hin

                              paul53P Offline
                              paul53P Offline
                              paul53
                              schrieb am zuletzt editiert von
                              #20

                              @spidermike sagte: wenn ich mit 2 Timeout arbeiten will

                              Bild_2022-07-24_194226382.png

                              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

                              1 Antwort Letzte Antwort
                              0
                              Antworten
                              • In einem neuen Thema antworten
                              Anmelden zum Antworten
                              • Älteste zuerst
                              • Neuste zuerst
                              • Meiste Stimmen


                              Support us

                              ioBroker
                              Community Adapters
                              Donate

                              795

                              Online

                              32.6k

                              Benutzer

                              81.9k

                              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