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

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

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Skripten / Logik
  4. Blockly
  5. Zeitplan für Timerstart funktioniert nicht

NEWS

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

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

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.4k

Zeitplan für Timerstart funktioniert nicht

Scheduled Pinned Locked Moved Blockly
23 Posts 3 Posters 1.8k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Altersrentner

    @paul53
    Was komisch ist, unter dem Blockly wird nichts ausgegeben

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

    @altersrentner sagte: unter dem Blockly wird nichts ausgegeben

    Lade im Browser mal die Seite neu.

    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 Reply Last reply
    0
    • paul53P paul53

      @altersrentner sagte: Das ist alles

      Kann ich nicht nachvollziehen: Habe auf 16:26 Uhr geändert.

      Bild_2021-03-13_162905.png

      Was ergibt im Log?

      Bild_2021-03-13_163408.png

      A Offline
      A Offline
      Altersrentner
      wrote on last edited by
      #15

      @paul53

      6:36:55.126	info	javascript.0 (1597) Stop script script.js.common.Geschirrspüler_.paul53
      16:36:55.200	info	javascript.0 (1597) Start javascript script.js.common.Geschirrspüler_.paul53
      16:36:55.207	info	javascript.0 (1597) script.js.common.Geschirrspüler_.paul53: 15:36
      16:36:55.210	info	javascript.0 (1597) script.js.common.Geschirrspüler_.paul53: registered 0 subscriptions and 1 schedule
      
      
      1 Reply Last reply
      0
      • paul53P Offline
        paul53P Offline
        paul53
        wrote on last edited by
        #16

        @altersrentner sagte: 15:36

        Stelle die Systemzeit richtig ein. Unter Linux:

        sudo timedatectl set-timezone Europe/Berlin
        

        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

        A 1 Reply Last reply
        1
        • paul53P paul53

          @altersrentner sagte: 15:36

          Stelle die Systemzeit richtig ein. Unter Linux:

          sudo timedatectl set-timezone Europe/Berlin
          
          A Offline
          A Offline
          Altersrentner
          wrote on last edited by
          #17

          @paul53 Hallo,
          Ich glaube Systemzeit war der Problemfall.
          Jetzt funktioniert es.
          Uber die ausgegebene Stromstärke des shellys möchte ich den Geschirrspüler ausschalten lassen.
          Sollte ich dafür ein eigenes Blockly anlegen oder kann ich das hier integrieren.
          Mit freundlichen Grüßen
          Michael

          paul53P 1 Reply Last reply
          0
          • A Altersrentner

            @paul53 Hallo,
            Ich glaube Systemzeit war der Problemfall.
            Jetzt funktioniert es.
            Uber die ausgegebene Stromstärke des shellys möchte ich den Geschirrspüler ausschalten lassen.
            Sollte ich dafür ein eigenes Blockly anlegen oder kann ich das hier integrieren.
            Mit freundlichen Grüßen
            Michael

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

            @altersrentner sagte: ein eigenes Blockly anlegen oder kann ich das hier integrieren.

            Beides ist möglich. Besser integrieren, da sonst leicht der Überblick darüber verloren, was den Geschirrspüler schaltet.

            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

            A 1 Reply Last reply
            0
            • paul53P paul53

              @altersrentner sagte: ein eigenes Blockly anlegen oder kann ich das hier integrieren.

              Beides ist möglich. Besser integrieren, da sonst leicht der Überblick darüber verloren, was den Geschirrspüler schaltet.

              A Offline
              A Offline
              Altersrentner
              wrote on last edited by
              #19

              @paul53
              Könnte das so funktionieren?
              Der Spüler wird über den Timer eingeschaltet,
              Spüler läuft,
              Wenn Power >50W wird der Zähler auf 1 gesetzt,
              Falls Power <3W und Zähler ist 1
              wird zähler auf 0 gesetzt und der Spüler sowie die Bedingung Geschirrspüler_AN
              werden auf falsch gesetzt. (ausgeschaltet)
              k-Spüler Power aus1.png
              Mit freundlichen Grüßen
              Michael

              paul53P 1 Reply Last reply
              0
              • A Altersrentner

                @paul53
                Könnte das so funktionieren?
                Der Spüler wird über den Timer eingeschaltet,
                Spüler läuft,
                Wenn Power >50W wird der Zähler auf 1 gesetzt,
                Falls Power <3W und Zähler ist 1
                wird zähler auf 0 gesetzt und der Spüler sowie die Bedingung Geschirrspüler_AN
                werden auf falsch gesetzt. (ausgeschaltet)
                k-Spüler Power aus1.png
                Mit freundlichen Grüßen
                Michael

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

                @altersrentner sagte: Könnte das so funktionieren?

                Nein: Schon wieder Trigger innerhalb eines Triggers und außerdem noch innerhalb eines Intervalls! Das ist tödlich.

                Vorschlag:

                Bild_2021-03-13_190632.png

                <xml xmlns="https://developers.google.com/blockly/xml">
                 <variables>
                   <variable type="timeout" id="timeout">timeout</variable>
                 </variables>
                 <block type="comment" id="F5Q6|=*)yVJV4KlLNPa2" x="112" y="566">
                   <field name="COMMENT">Power</field>
                   <next>
                     <block type="on_ext" id="nKA|vAE/~)(`Rt+SGX*(">
                       <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="R})PtwnN1oLnwE5JRb+%">
                           <field name="oid">default</field>
                         </shadow>
                       </value>
                       <statement name="STATEMENT">
                         <block type="controls_if" id="1JvF97p0+u_YNvizg%^w">
                           <mutation elseif="1"></mutation>
                           <value name="IF0">
                             <block type="logic_compare" id="8Zt:%~iOhnnxp{@rn_40">
                               <field name="OP">GT</field>
                               <value name="A">
                                 <block type="on_source" id="JJZ=0cD-!wsR%c9zi}x^">
                                   <field name="ATTR">state.val</field>
                                 </block>
                               </value>
                               <value name="B">
                                 <block type="math_number" id="hx:BHJdL|3E%i@z^-)t_">
                                   <field name="NUM">3</field>
                                 </block>
                               </value>
                             </block>
                           </value>
                           <statement name="DO0">
                             <block type="timeouts_cleartimeout" id="*V0d`jBXsfno0gb{Ytcn">
                               <field name="NAME">timeout</field>
                             </block>
                           </statement>
                           <value name="IF1">
                             <block type="logic_negate" id="[6Jw|I3`DY+vyz{5w{,@">
                               <value name="BOOL">
                                 <block type="variables_get" id="gp{W8DYhwk!9%lNqU5f-">
                                   <field name="VAR" id="timeout" variabletype="timeout">timeout</field>
                                 </block>
                               </value>
                             </block>
                           </value>
                           <statement name="DO1">
                             <block type="timeouts_settimeout" id="dTKT42a^n.E.=*`HcP(I">
                               <field name="NAME">timeout</field>
                               <field name="DELAY">1</field>
                               <field name="UNIT">min</field>
                               <statement name="STATEMENT">
                                 <block type="control" id="yh7@iQ5KVS[X#]V%85N0">
                                   <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="Si+[[v_bSp6*Vn(wn^ux">
                                       <field name="BOOL">FALSE</field>
                                     </block>
                                   </value>
                                   <next>
                                     <block type="update" id="4u;3;~?3VZK2$8})_-8=">
                                       <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="Rd!d?TyA5f+wd(2aE`}T">
                                           <field name="BOOL">FALSE</field>
                                         </block>
                                       </value>
                                     </block>
                                   </next>
                                 </block>
                               </statement>
                             </block>
                           </statement>
                         </block>
                       </statement>
                     </block>
                   </next>
                 </block>
                 <block type="comment" id="{_Ao/xgs)~PBtd{y$61!" x="638" y="813">
                   <field name="COMMENT">Switch</field>
                   <next>
                     <block type="comment" id="7Bco.*Xu(fI#61fV|xUx">
                       <field name="COMMENT">Geschirrspüler_An</field>
                     </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

                A 2 Replies Last reply
                0
                • paul53P paul53

                  @altersrentner sagte: Könnte das so funktionieren?

                  Nein: Schon wieder Trigger innerhalb eines Triggers und außerdem noch innerhalb eines Intervalls! Das ist tödlich.

                  Vorschlag:

                  Bild_2021-03-13_190632.png

                  <xml xmlns="https://developers.google.com/blockly/xml">
                   <variables>
                     <variable type="timeout" id="timeout">timeout</variable>
                   </variables>
                   <block type="comment" id="F5Q6|=*)yVJV4KlLNPa2" x="112" y="566">
                     <field name="COMMENT">Power</field>
                     <next>
                       <block type="on_ext" id="nKA|vAE/~)(`Rt+SGX*(">
                         <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="R})PtwnN1oLnwE5JRb+%">
                             <field name="oid">default</field>
                           </shadow>
                         </value>
                         <statement name="STATEMENT">
                           <block type="controls_if" id="1JvF97p0+u_YNvizg%^w">
                             <mutation elseif="1"></mutation>
                             <value name="IF0">
                               <block type="logic_compare" id="8Zt:%~iOhnnxp{@rn_40">
                                 <field name="OP">GT</field>
                                 <value name="A">
                                   <block type="on_source" id="JJZ=0cD-!wsR%c9zi}x^">
                                     <field name="ATTR">state.val</field>
                                   </block>
                                 </value>
                                 <value name="B">
                                   <block type="math_number" id="hx:BHJdL|3E%i@z^-)t_">
                                     <field name="NUM">3</field>
                                   </block>
                                 </value>
                               </block>
                             </value>
                             <statement name="DO0">
                               <block type="timeouts_cleartimeout" id="*V0d`jBXsfno0gb{Ytcn">
                                 <field name="NAME">timeout</field>
                               </block>
                             </statement>
                             <value name="IF1">
                               <block type="logic_negate" id="[6Jw|I3`DY+vyz{5w{,@">
                                 <value name="BOOL">
                                   <block type="variables_get" id="gp{W8DYhwk!9%lNqU5f-">
                                     <field name="VAR" id="timeout" variabletype="timeout">timeout</field>
                                   </block>
                                 </value>
                               </block>
                             </value>
                             <statement name="DO1">
                               <block type="timeouts_settimeout" id="dTKT42a^n.E.=*`HcP(I">
                                 <field name="NAME">timeout</field>
                                 <field name="DELAY">1</field>
                                 <field name="UNIT">min</field>
                                 <statement name="STATEMENT">
                                   <block type="control" id="yh7@iQ5KVS[X#]V%85N0">
                                     <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="Si+[[v_bSp6*Vn(wn^ux">
                                         <field name="BOOL">FALSE</field>
                                       </block>
                                     </value>
                                     <next>
                                       <block type="update" id="4u;3;~?3VZK2$8})_-8=">
                                         <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="Rd!d?TyA5f+wd(2aE`}T">
                                             <field name="BOOL">FALSE</field>
                                           </block>
                                         </value>
                                       </block>
                                     </next>
                                   </block>
                                 </statement>
                               </block>
                             </statement>
                           </block>
                         </statement>
                       </block>
                     </next>
                   </block>
                   <block type="comment" id="{_Ao/xgs)~PBtd{y$61!" x="638" y="813">
                     <field name="COMMENT">Switch</field>
                     <next>
                       <block type="comment" id="7Bco.*Xu(fI#61fV|xUx">
                         <field name="COMMENT">Geschirrspüler_An</field>
                       </block>
                     </next>
                   </block>
                  </xml>
                  

                  A Offline
                  A Offline
                  Altersrentner
                  wrote on last edited by
                  #21

                  @paul53 so besser?
                  k-Spüler Power aus2.png

                  paul53P 1 Reply Last reply
                  0
                  • A Altersrentner

                    @paul53 so besser?
                    k-Spüler Power aus2.png

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

                    @altersrentner sagte: so besser?

                    Nicht wirklich. Siehe hier

                    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 Reply Last reply
                    1
                    • paul53P paul53

                      @altersrentner sagte: Könnte das so funktionieren?

                      Nein: Schon wieder Trigger innerhalb eines Triggers und außerdem noch innerhalb eines Intervalls! Das ist tödlich.

                      Vorschlag:

                      Bild_2021-03-13_190632.png

                      <xml xmlns="https://developers.google.com/blockly/xml">
                       <variables>
                         <variable type="timeout" id="timeout">timeout</variable>
                       </variables>
                       <block type="comment" id="F5Q6|=*)yVJV4KlLNPa2" x="112" y="566">
                         <field name="COMMENT">Power</field>
                         <next>
                           <block type="on_ext" id="nKA|vAE/~)(`Rt+SGX*(">
                             <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="R})PtwnN1oLnwE5JRb+%">
                                 <field name="oid">default</field>
                               </shadow>
                             </value>
                             <statement name="STATEMENT">
                               <block type="controls_if" id="1JvF97p0+u_YNvizg%^w">
                                 <mutation elseif="1"></mutation>
                                 <value name="IF0">
                                   <block type="logic_compare" id="8Zt:%~iOhnnxp{@rn_40">
                                     <field name="OP">GT</field>
                                     <value name="A">
                                       <block type="on_source" id="JJZ=0cD-!wsR%c9zi}x^">
                                         <field name="ATTR">state.val</field>
                                       </block>
                                     </value>
                                     <value name="B">
                                       <block type="math_number" id="hx:BHJdL|3E%i@z^-)t_">
                                         <field name="NUM">3</field>
                                       </block>
                                     </value>
                                   </block>
                                 </value>
                                 <statement name="DO0">
                                   <block type="timeouts_cleartimeout" id="*V0d`jBXsfno0gb{Ytcn">
                                     <field name="NAME">timeout</field>
                                   </block>
                                 </statement>
                                 <value name="IF1">
                                   <block type="logic_negate" id="[6Jw|I3`DY+vyz{5w{,@">
                                     <value name="BOOL">
                                       <block type="variables_get" id="gp{W8DYhwk!9%lNqU5f-">
                                         <field name="VAR" id="timeout" variabletype="timeout">timeout</field>
                                       </block>
                                     </value>
                                   </block>
                                 </value>
                                 <statement name="DO1">
                                   <block type="timeouts_settimeout" id="dTKT42a^n.E.=*`HcP(I">
                                     <field name="NAME">timeout</field>
                                     <field name="DELAY">1</field>
                                     <field name="UNIT">min</field>
                                     <statement name="STATEMENT">
                                       <block type="control" id="yh7@iQ5KVS[X#]V%85N0">
                                         <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="Si+[[v_bSp6*Vn(wn^ux">
                                             <field name="BOOL">FALSE</field>
                                           </block>
                                         </value>
                                         <next>
                                           <block type="update" id="4u;3;~?3VZK2$8})_-8=">
                                             <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="Rd!d?TyA5f+wd(2aE`}T">
                                                 <field name="BOOL">FALSE</field>
                                               </block>
                                             </value>
                                           </block>
                                         </next>
                                       </block>
                                     </statement>
                                   </block>
                                 </statement>
                               </block>
                             </statement>
                           </block>
                         </next>
                       </block>
                       <block type="comment" id="{_Ao/xgs)~PBtd{y$61!" x="638" y="813">
                         <field name="COMMENT">Switch</field>
                         <next>
                           <block type="comment" id="7Bco.*Xu(fI#61fV|xUx">
                             <field name="COMMENT">Geschirrspüler_An</field>
                           </block>
                         </next>
                       </block>
                      </xml>
                      

                      A Offline
                      A Offline
                      Altersrentner
                      wrote on last edited by
                      #23

                      @paul53 Danke!:blush:
                      Wünsche ein schönes Wochenende
                      Mit freundlichen Grüßen
                      Michael

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      Support us

                      ioBroker
                      Community Adapters
                      Donate

                      563

                      Online

                      32.7k

                      Users

                      82.3k

                      Topics

                      1.3m

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

                      • Don't have an account? Register

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