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. Blockly
  5. ECO Licht aus nach Zeit X

NEWS

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    16
    1
    221

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

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

ECO Licht aus nach Zeit X

Geplant Angeheftet Gesperrt Verschoben Blockly
5 Beiträge 2 Kommentatoren 476 Aufrufe 1 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.
  • Amnesia1211A Offline
    Amnesia1211A Offline
    Amnesia1211
    schrieb am zuletzt editiert von
    #1

    Hallo Leute, ich bin auf der Suche nach einem Blockly Skript das es mir ermöglicht, nach einer Zeit X, die aus einem Datenpunkt über die Vis eingestellt wird, das Licht Automatisch aus zu schalten.
    Das Ganze soll genutzt werden, wenn ZB die Kinder vergessen, das licht aus zu machen, das es nach der eingestellten Zeit aus geht.
    Vielleicht hat ja einer Zeit mir zu Helfen. Danke schon mal :-)

    Weiter habe ich es leider nicht geschafft :cry:
    blockly.jpg
    Datenpunkt unter Objekten erstellt.

    blocklyObj.jpg
    Die Zeit soll in der VIS ausgewählt werden, wann das Licht aus gehen soll.

    ObjVIS.jpg


    Man muss nicht alles wissen, nur wissen wo es steht.
    Fragen schadet aber auch nicht :spock-hand:


    paul53P 1 Antwort Letzte Antwort
    0
    • Amnesia1211A Amnesia1211

      Hallo Leute, ich bin auf der Suche nach einem Blockly Skript das es mir ermöglicht, nach einer Zeit X, die aus einem Datenpunkt über die Vis eingestellt wird, das Licht Automatisch aus zu schalten.
      Das Ganze soll genutzt werden, wenn ZB die Kinder vergessen, das licht aus zu machen, das es nach der eingestellten Zeit aus geht.
      Vielleicht hat ja einer Zeit mir zu Helfen. Danke schon mal :-)

      Weiter habe ich es leider nicht geschafft :cry:
      blockly.jpg
      Datenpunkt unter Objekten erstellt.

      blocklyObj.jpg
      Die Zeit soll in der VIS ausgewählt werden, wann das Licht aus gehen soll.

      ObjVIS.jpg

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

      @Amnesia1211 sagte:

      Weiter habe ich es leider nicht geschafft

      Dem Trigger muss die ID des Licht-Datenpunktes zugewiesen werden, nicht der Wert. Vorschlag:

      Blockly_temp.JPG

      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

      Amnesia1211A 1 Antwort Letzte Antwort
      0
      • paul53P paul53

        @Amnesia1211 sagte:

        Weiter habe ich es leider nicht geschafft

        Dem Trigger muss die ID des Licht-Datenpunktes zugewiesen werden, nicht der Wert. Vorschlag:

        Blockly_temp.JPG

        Amnesia1211A Offline
        Amnesia1211A Offline
        Amnesia1211
        schrieb am zuletzt editiert von
        #3

        @paul53
        Muss leider sagen ich verstehe das Blockly nicht. Wo muss denn jetzt was rein damit es läuft ?
        Danke schon mal für deine Mühe


        Man muss nicht alles wissen, nur wissen wo es steht.
        Fragen schadet aber auch nicht :spock-hand:


        paul53P 1 Antwort Letzte Antwort
        0
        • Amnesia1211A Amnesia1211

          @paul53
          Muss leider sagen ich verstehe das Blockly nicht. Wo muss denn jetzt was rein damit es läuft ?
          Danke schon mal für deine Mühe

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

          @Amnesia1211 sagte:

          Wo muss denn jetzt was rein damit es läuft ?

          <xml xmlns="https://developers.google.com/blockly/xml">
           <variables>
             <variable id="zvK].AX@*]*IM3IGZt_4">Lautstärke</variable>
             <variable id="cMm*s=nD#@dbif;BfO7T">dauer</variable>
             <variable type="interval" id="Intervall">Intervall</variable>
             <variable type="timeout" id="timeout">timeout</variable>
           </variables>
           <block type="comment" id="(5Z^adtqBiPyz/V9[4bd" x="-88" y="37">
             <field name="COMMENT">Licht schaltet ein</field>
             <next>
               <block type="on_ext" id="R$_oN^TN/5MV[LJ=fTw^">
                 <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                 <field name="CONDITION">gt</field>
                 <field name="ACK_CONDITION"></field>
                 <value name="OID0">
                   <shadow type="field_oid" id="m2Y%7-]x_=B[-c{FyA|t">
                     <field name="oid">default</field>
                   </shadow>
                   <block type="field_oid" id="*0q~[tbaV(Z?hDnDgLgr">
                     <field name="oid">default</field>
                   </block>
                 </value>
                 <statement name="STATEMENT">
                   <block type="comment" id="FW/Ylq5~PqSs[}1,wR`^">
                     <field name="COMMENT">Zeit X: Minuten --&gt; ms</field>
                     <next>
                       <block type="variables_set" id="-d/+]26g8pl$]BSH:;{(">
                         <field name="VAR" id="cMm*s=nD#@dbif;BfO7T">dauer</field>
                         <value name="VALUE">
                           <block type="math_arithmetic" id="S;1]Lz3@YvGsdinTkEQ9">
                             <field name="OP">MULTIPLY</field>
                             <value name="A">
                               <shadow type="math_number" id="mO2Ti.yx^tC^^3E~zs:a">
                                 <field name="NUM">60000</field>
                               </shadow>
                             </value>
                             <value name="B">
                               <shadow type="math_number" id="5*T^M{-I633,~phcC:kS">
                                 <field name="NUM">1</field>
                               </shadow>
                               <block type="get_value" id="QxE,je!I1H,O1{@`EkZl">
                                 <field name="ATTR">val</field>
                                 <field name="OID">ID auswählen</field>
                               </block>
                             </value>
                           </block>
                         </value>
                         <next>
                           <block type="timeouts_cleartimeout" id="a9jz19b6SIUFRfcFEft$">
                             <field name="NAME">timeout</field>
                             <next>
                               <block type="timeouts_settimeout" id=":A{NIb$9hVL=)kP=84r(">
                                 <field name="NAME">timeout</field>
                                 <field name="DELAY">dauer</field>
                                 <field name="UNIT">ms</field>
                                 <statement name="STATEMENT">
                                   <block type="comment" id="rictAa=7bgf~^UMh!{94">
                                     <field name="COMMENT">Licht aus</field>
                                     <next>
                                       <block type="control" id="@SXQFcdL8cP4M4$$0,-5">
                                         <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                         <field name="OID">Object ID</field>
                                         <field name="WITH_DELAY">FALSE</field>
                                         <value name="VALUE">
                                           <block type="logic_boolean" id="@q,ZQ%-m|8;!omn4oqYy">
                                             <field name="BOOL">FALSE</field>
                                           </block>
                                         </value>
                                       </block>
                                     </next>
                                   </block>
                                 </statement>
                               </block>
                             </next>
                           </block>
                         </next>
                       </block>
                     </next>
                   </block>
                 </statement>
               </block>
             </next>
           </block>
           <block type="comment" id="U,35V96sO2|~TPrU5,q{" x="-63" y="713">
             <field name="COMMENT">Hold</field>
             <next>
               <block type="on_ext" id="83]^p3@+6(c{A2Jv40R@">
                 <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="ZcU+|z.FwZ$@3wtT97v-">
                     <field name="oid">default</field>
                   </shadow>
                 </value>
                 <statement name="STATEMENT">
                   <block type="math_change" id=")g{ctTLYT#1/C}LFhW@l">
                     <field name="VAR" id="zvK].AX@*]*IM3IGZt_4">Lautstärke</field>
                     <value name="DELTA">
                       <shadow type="math_number" id="!bYoNdkwrGG`s32]V4d=">
                         <field name="NUM">1</field>
                       </shadow>
                     </value>
                     <next>
                       <block type="control" id="d367O6_5UR1WHZMfXuXF">
                         <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                         <field name="OID">Object ID</field>
                         <field name="WITH_DELAY">FALSE</field>
                         <value name="VALUE">
                           <block type="variables_get" id="JunMvJ{Iq3^(k_y~ynQg">
                             <field name="VAR" id="zvK].AX@*]*IM3IGZt_4">Lautstärke</field>
                           </block>
                         </value>
                         <next>
                           <block type="timeouts_setinterval" id="]M+xL)`xl,Zln0:vf?ph">
                             <field name="NAME">Intervall</field>
                             <field name="INTERVAL">250</field>
                             <field name="UNIT">ms</field>
                             <statement name="STATEMENT">
                               <block type="math_change" id="UxaQBXrIF-cGu|U;..zi">
                                 <field name="VAR" id="zvK].AX@*]*IM3IGZt_4">Lautstärke</field>
                                 <value name="DELTA">
                                   <shadow type="math_number" id="iZU:1fQ_FEE+QWftIBN5">
                                     <field name="NUM">1</field>
                                   </shadow>
                                 </value>
                                 <next>
                                   <block type="control" id="rA`D(5/mK-l/yXoM|K!/">
                                     <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                     <field name="OID">Object ID</field>
                                     <field name="WITH_DELAY">FALSE</field>
                                     <value name="VALUE">
                                       <block type="variables_get" id="Y$8el{=n6T+:(!iNZ*)8">
                                         <field name="VAR" id="zvK].AX@*]*IM3IGZt_4">Lautstärke</field>
                                       </block>
                                     </value>
                                   </block>
                                 </next>
                               </block>
                             </statement>
                           </block>
                         </next>
                       </block>
                     </next>
                   </block>
                 </statement>
                 <next>
                   <block type="comment" id="]{0~pZvatKEdv;TrE45Q">
                     <field name="COMMENT">Release</field>
                     <next>
                       <block type="on_ext" id="RCTj{88+9m5@Z=%/H2DY">
                         <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="6|t-*jrQScVAx(!;RoD@">
                             <field name="oid">default</field>
                           </shadow>
                         </value>
                         <statement name="STATEMENT">
                           <block type="timeouts_clearinterval" id="$RpR%Gzz^@63(~)K}?~M">
                             <field name="NAME">Intervall</field>
                           </block>
                         </statement>
                       </block>
                     </next>
                   </block>
                 </next>
               </block>
             </next>
           </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

          Amnesia1211A 1 Antwort Letzte Antwort
          0
          • paul53P paul53

            @Amnesia1211 sagte:

            Wo muss denn jetzt was rein damit es läuft ?

            <xml xmlns="https://developers.google.com/blockly/xml">
             <variables>
               <variable id="zvK].AX@*]*IM3IGZt_4">Lautstärke</variable>
               <variable id="cMm*s=nD#@dbif;BfO7T">dauer</variable>
               <variable type="interval" id="Intervall">Intervall</variable>
               <variable type="timeout" id="timeout">timeout</variable>
             </variables>
             <block type="comment" id="(5Z^adtqBiPyz/V9[4bd" x="-88" y="37">
               <field name="COMMENT">Licht schaltet ein</field>
               <next>
                 <block type="on_ext" id="R$_oN^TN/5MV[LJ=fTw^">
                   <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                   <field name="CONDITION">gt</field>
                   <field name="ACK_CONDITION"></field>
                   <value name="OID0">
                     <shadow type="field_oid" id="m2Y%7-]x_=B[-c{FyA|t">
                       <field name="oid">default</field>
                     </shadow>
                     <block type="field_oid" id="*0q~[tbaV(Z?hDnDgLgr">
                       <field name="oid">default</field>
                     </block>
                   </value>
                   <statement name="STATEMENT">
                     <block type="comment" id="FW/Ylq5~PqSs[}1,wR`^">
                       <field name="COMMENT">Zeit X: Minuten --&gt; ms</field>
                       <next>
                         <block type="variables_set" id="-d/+]26g8pl$]BSH:;{(">
                           <field name="VAR" id="cMm*s=nD#@dbif;BfO7T">dauer</field>
                           <value name="VALUE">
                             <block type="math_arithmetic" id="S;1]Lz3@YvGsdinTkEQ9">
                               <field name="OP">MULTIPLY</field>
                               <value name="A">
                                 <shadow type="math_number" id="mO2Ti.yx^tC^^3E~zs:a">
                                   <field name="NUM">60000</field>
                                 </shadow>
                               </value>
                               <value name="B">
                                 <shadow type="math_number" id="5*T^M{-I633,~phcC:kS">
                                   <field name="NUM">1</field>
                                 </shadow>
                                 <block type="get_value" id="QxE,je!I1H,O1{@`EkZl">
                                   <field name="ATTR">val</field>
                                   <field name="OID">ID auswählen</field>
                                 </block>
                               </value>
                             </block>
                           </value>
                           <next>
                             <block type="timeouts_cleartimeout" id="a9jz19b6SIUFRfcFEft$">
                               <field name="NAME">timeout</field>
                               <next>
                                 <block type="timeouts_settimeout" id=":A{NIb$9hVL=)kP=84r(">
                                   <field name="NAME">timeout</field>
                                   <field name="DELAY">dauer</field>
                                   <field name="UNIT">ms</field>
                                   <statement name="STATEMENT">
                                     <block type="comment" id="rictAa=7bgf~^UMh!{94">
                                       <field name="COMMENT">Licht aus</field>
                                       <next>
                                         <block type="control" id="@SXQFcdL8cP4M4$$0,-5">
                                           <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                           <field name="OID">Object ID</field>
                                           <field name="WITH_DELAY">FALSE</field>
                                           <value name="VALUE">
                                             <block type="logic_boolean" id="@q,ZQ%-m|8;!omn4oqYy">
                                               <field name="BOOL">FALSE</field>
                                             </block>
                                           </value>
                                         </block>
                                       </next>
                                     </block>
                                   </statement>
                                 </block>
                               </next>
                             </block>
                           </next>
                         </block>
                       </next>
                     </block>
                   </statement>
                 </block>
               </next>
             </block>
             <block type="comment" id="U,35V96sO2|~TPrU5,q{" x="-63" y="713">
               <field name="COMMENT">Hold</field>
               <next>
                 <block type="on_ext" id="83]^p3@+6(c{A2Jv40R@">
                   <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="ZcU+|z.FwZ$@3wtT97v-">
                       <field name="oid">default</field>
                     </shadow>
                   </value>
                   <statement name="STATEMENT">
                     <block type="math_change" id=")g{ctTLYT#1/C}LFhW@l">
                       <field name="VAR" id="zvK].AX@*]*IM3IGZt_4">Lautstärke</field>
                       <value name="DELTA">
                         <shadow type="math_number" id="!bYoNdkwrGG`s32]V4d=">
                           <field name="NUM">1</field>
                         </shadow>
                       </value>
                       <next>
                         <block type="control" id="d367O6_5UR1WHZMfXuXF">
                           <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                           <field name="OID">Object ID</field>
                           <field name="WITH_DELAY">FALSE</field>
                           <value name="VALUE">
                             <block type="variables_get" id="JunMvJ{Iq3^(k_y~ynQg">
                               <field name="VAR" id="zvK].AX@*]*IM3IGZt_4">Lautstärke</field>
                             </block>
                           </value>
                           <next>
                             <block type="timeouts_setinterval" id="]M+xL)`xl,Zln0:vf?ph">
                               <field name="NAME">Intervall</field>
                               <field name="INTERVAL">250</field>
                               <field name="UNIT">ms</field>
                               <statement name="STATEMENT">
                                 <block type="math_change" id="UxaQBXrIF-cGu|U;..zi">
                                   <field name="VAR" id="zvK].AX@*]*IM3IGZt_4">Lautstärke</field>
                                   <value name="DELTA">
                                     <shadow type="math_number" id="iZU:1fQ_FEE+QWftIBN5">
                                       <field name="NUM">1</field>
                                     </shadow>
                                   </value>
                                   <next>
                                     <block type="control" id="rA`D(5/mK-l/yXoM|K!/">
                                       <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                       <field name="OID">Object ID</field>
                                       <field name="WITH_DELAY">FALSE</field>
                                       <value name="VALUE">
                                         <block type="variables_get" id="Y$8el{=n6T+:(!iNZ*)8">
                                           <field name="VAR" id="zvK].AX@*]*IM3IGZt_4">Lautstärke</field>
                                         </block>
                                       </value>
                                     </block>
                                   </next>
                                 </block>
                               </statement>
                             </block>
                           </next>
                         </block>
                       </next>
                     </block>
                   </statement>
                   <next>
                     <block type="comment" id="]{0~pZvatKEdv;TrE45Q">
                       <field name="COMMENT">Release</field>
                       <next>
                         <block type="on_ext" id="RCTj{88+9m5@Z=%/H2DY">
                           <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="6|t-*jrQScVAx(!;RoD@">
                               <field name="oid">default</field>
                             </shadow>
                           </value>
                           <statement name="STATEMENT">
                             <block type="timeouts_clearinterval" id="$RpR%Gzz^@63(~)K}?~M">
                               <field name="NAME">Intervall</field>
                             </block>
                           </statement>
                         </block>
                       </next>
                     </block>
                   </next>
                 </block>
               </next>
             </block>
            </xml>
            

            Amnesia1211A Offline
            Amnesia1211A Offline
            Amnesia1211
            schrieb am zuletzt editiert von
            #5

            @paul53
            Juppiii es klappt, ich danke dir ganz herzlich !!!!


            Man muss nicht alles wissen, nur wissen wo es steht.
            Fragen schadet aber auch nicht :spock-hand:


            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

            549

            Online

            32.7k

            Benutzer

            82.4k

            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