Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Meine Zeitpläne werden nicht durchgeführt

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    Meine Zeitpläne werden nicht durchgeführt

    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      philipp_sh last edited by philipp_sh

      Hallo,

      aktuell habe ich das Problem das meine Skripte die einen Zeitplan haben nicht durchgeführt werden. Alle anderen Skripte funktionieren.

      Aktuell habe ich

      Node.js
      v12.22.4

      NPM
      6.14.14

      admin
      v5.1.23

      javaskript
      5.2.8

      Thomas Braun 1 Reply Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @philipp_sh last edited by

        @philipp_sh Und wie sehen die Zeitpläne aus?

        1 Reply Last reply Reply Quote 0
        • P
          philipp_sh last edited by

          <block xmlns="https://developers.google.com/blockly/xml" type="schedule" id="S.%M|4V~MJFhrsT}BysV" x="-962" y="-1062">
            <field name="SCHEDULE">23 10 * * 0,6</field>
            <statement name="STATEMENT">
              <block type="control" id="!g.}7VV?}G.lRrMJ)~B~">
                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                <field name="OID">alexa2.0.Echo-Devices.G090U50783811LDM.Commands.speak-volume</field>
                <field name="WITH_DELAY">FALSE</field>
                <value name="VALUE">
                  <block type="text" id="n~7]}arO5#|UUfNelOQ4">
                    <field name="TEXT">60</field>
                  </block>
                </value>
                <next>
                  <block type="control" id="^ps=h~,n(5,-l4vtc?S!">
                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                    <field name="OID">alexa2.0.Echo-Devices.G090U50991070BG2.Commands.speak-volume</field>
                    <field name="WITH_DELAY">TRUE</field>
                    <field name="DELAY_MS">5</field>
                    <field name="UNIT">ms</field>
                    <field name="CLEAR_RUNNING">FALSE</field>
                    <value name="VALUE">
                      <block type="text" id="f;kwq/2*$hCH@R+`{AUV">
                        <field name="TEXT">60</field>
                      </block>
                    </value>
                    <next>
                      <block type="control" id="j@-Dm2oprGCM}jzx{bT5">
                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                        <field name="OID">alexa2.0.Echo-Devices.G090U50783811LDM.Commands.announcement</field>
                        <field name="WITH_DELAY">TRUE</field>
                        <field name="DELAY_MS">10</field>
                        <field name="UNIT">ms</field>
                        <field name="CLEAR_RUNNING">FALSE</field>
                        <value name="VALUE">
                          <block type="text" id="|zH7nXMYwh_/!M=JvEQZ">
                            <field name="TEXT">Wasserwechsel Aquarium</field>
                          </block>
                        </value>
                        <next>
                          <block type="control" id="0Bo+V3w`;MuWR_e]MIg;">
                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                            <field name="OID">alexa2.0.Echo-Devices.G090U50991070BG2.Commands.announcement</field>
                            <field name="WITH_DELAY">TRUE</field>
                            <field name="DELAY_MS">11</field>
                            <field name="UNIT">ms</field>
                            <field name="CLEAR_RUNNING">FALSE</field>
                            <value name="VALUE">
                              <block type="text" id="[p*]0oYXzD%0^4Dovs!a">
                                <field name="TEXT">Wasserwechsel Aquarium</field>
                              </block>
                            </value>
                            <next>
                              <block type="control" id="yg/!S=S11J)8SFxFA9Kh">
                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                <field name="OID">alexa2.0.Echo-Devices.G090U50783811LDM.Commands.announcement</field>
                                <field name="WITH_DELAY">TRUE</field>
                                <field name="DELAY_MS">30000</field>
                                <field name="UNIT">ms</field>
                                <field name="CLEAR_RUNNING">FALSE</field>
                                <value name="VALUE">
                                  <block type="text" id="3g!pR7+r`=yNUL(%3`Q;">
                                    <field name="TEXT">Wasserwechsel Aquarium</field>
                                  </block>
                                </value>
                                <next>
                                  <block type="control" id="yLy@~2?B}|Q{`dZ2Smae">
                                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                    <field name="OID">alexa2.0.Echo-Devices.G090U50991070BG2.Commands.announcement</field>
                                    <field name="WITH_DELAY">TRUE</field>
                                    <field name="DELAY_MS">30005</field>
                                    <field name="UNIT">ms</field>
                                    <field name="CLEAR_RUNNING">FALSE</field>
                                    <value name="VALUE">
                                      <block type="text" id="3}3:BMgqio_^V[?}:meH">
                                        <field name="TEXT">Wasserwechsel Aquarium</field>
                                      </block>
                                    </value>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </statement>
          </block>
          

          Unbenannt.JPG

          Aktuell so als Beispiel.

          Thomas Braun 1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @philipp_sh last edited by

            @philipp_sh Du siehst, dass der nur am Samstag und Sonntag um 10:23 durchlaufen wird?

            P 1 Reply Last reply Reply Quote 0
            • P
              philipp_sh @Thomas Braun last edited by philipp_sh

              @thomas-braun

              Ja genau so sollte es sein. Leider passiert nur nichts. Es ist auch egal was ich Steuern möchte.

              Wenn ich den Zeitplan rausnehme und einen Trigger einbaue, z.B. mit einer Zigbee Fernbedinung funktioniert dieser Ablauf 😞

              Homoran 1 Reply Last reply Reply Quote 0
              • Homoran
                Homoran Global Moderator Administrators @philipp_sh last edited by

                @philipp_sh was ergibt date in der console?

                P 1 Reply Last reply Reply Quote 0
                • P
                  philipp_sh @Homoran last edited by

                  @homoran

                  Darauf hätte ich auch drauf können 😲

                  pi@raspberrypi:~ $ date
                  Sa 14. Aug 09:41:28 BST 2021
                  
                  

                  Danke

                  P 1 Reply Last reply Reply Quote 0
                  • P
                    philipp_sh @philipp_sh last edited by

                    @philipp_sh sagte in Meine Zeitpläne werden nicht durchgeführt:

                    @homoran

                    Darauf hätte ich auch drauf können 😲

                    pi@raspberrypi:~ $ date
                    Sa 14. Aug 09:41:28 BST 2021
                    
                    

                    Danke

                    Ich frage mich wieso haben die Plänne überhaupt nicht funktioniert?

                    Thomas Braun 1 Reply Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @philipp_sh last edited by

                      @philipp_sh Auch nicht mit einer Stunde Verzögerung?

                      P 1 Reply Last reply Reply Quote 0
                      • P
                        philipp_sh @Thomas Braun last edited by philipp_sh

                        @thomas-braun

                        Leider überhaupt nicht 😞

                        Und das Problem ist nicht ganz weg. Meine Steuerung für das Aquarium Licht funktioniert immer noch nicht.

                        <xml xmlns="https://developers.google.com/blockly/xml">
                          <variables>
                            <variable type="interval" id="AQ-Start">AQ-Start</variable>
                            <variable type="interval" id="AQ-Mittagspause-Start">AQ-Mittagspause-Start</variable>
                            <variable type="interval" id="AQ-Mittagspause-Ende">AQ-Mittagspause-Ende</variable>
                            <variable type="interval" id="AQ-Stop">AQ-Stop</variable>
                          </variables>
                          <block type="schedule" id="P+emr)s}Ku4+~1yn=sj%" x="-1612" y="-4287">
                            <field name="SCHEDULE">0,56 3,4 11 * * *</field>
                            <statement name="STATEMENT">
                              <block type="timeouts_setinterval" id="Bq!YS[0+x$U$r/d^m1HS">
                                <field name="NAME">AQ-Start</field>
                                <field name="INTERVAL">3</field>
                                <field name="UNIT">sec</field>
                                <statement name="STATEMENT">
                                  <block type="controls_if" id="xclntcN:OSi_Sc-MGf*!">
                                    <mutation else="1"></mutation>
                                    <value name="IF0">
                                      <block type="logic_compare" id="#wKdfXh.r7o7zVTX*gv1">
                                        <field name="OP">LT</field>
                                        <value name="A">
                                          <block type="get_value" id="l_bMyhX$XUZ].Fj6F:jg">
                                            <field name="ATTR">val</field>
                                            <field name="OID">sonoff.0.AQ-Lampe-Flur.Dimmer</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="text" id="EaA]v}Z~~]Xm(%_5N-YF">
                                            <field name="TEXT">80</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <statement name="DO0">
                                      <block type="control" id="R7pkIBx_@k`9up1s^`W6">
                                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                        <field name="OID">sonoff.0.AQ-Lampe-Flur.Dimmer</field>
                                        <field name="WITH_DELAY">FALSE</field>
                                        <value name="VALUE">
                                          <block type="math_arithmetic" id="P:9|^*FV?Y]Nx^d:m5e3">
                                            <field name="OP">ADD</field>
                                            <value name="A">
                                              <shadow type="math_number">
                                                <field name="NUM">1</field>
                                              </shadow>
                                              <block type="get_value" id="14tIl$lYVv63t#7QrZG,">
                                                <field name="ATTR">val</field>
                                                <field name="OID">sonoff.0.AQ-Lampe-Flur.Dimmer</field>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <shadow type="math_number" id="Qq:%;G-YycpRV9{J5})0">
                                                <field name="NUM">1</field>
                                              </shadow>
                                            </value>
                                          </block>
                                        </value>
                                      </block>
                                    </statement>
                                    <statement name="ELSE">
                                      <block type="timeouts_clearinterval" id="h%gc-4d=`T5-5sS4uzdC">
                                        <field name="NAME">AQ-Start</field>
                                      </block>
                                    </statement>
                                  </block>
                                </statement>
                              </block>
                            </statement>
                            <next>
                              <block type="schedule" id="^;Nrg,ToDDQ2zZP,Zyt}">
                                <field name="SCHEDULE">0 12 * * *</field>
                                <statement name="STATEMENT">
                                  <block type="timeouts_setinterval" id="DD6ouD(FOs(,{ciw%MCW">
                                    <field name="NAME">AQ-Mittagspause-Start</field>
                                    <field name="INTERVAL">3</field>
                                    <field name="UNIT">sec</field>
                                    <statement name="STATEMENT">
                                      <block type="controls_if" id="W^Q)|3QFq%Vj5:wMAO.n">
                                        <mutation else="1"></mutation>
                                        <value name="IF0">
                                          <block type="logic_compare" id="vPdL3ucjzK#E9vxQX@HS">
                                            <field name="OP">GT</field>
                                            <value name="A">
                                              <block type="get_value" id="udyd-0km:MIF)=.8iX4o">
                                                <field name="ATTR">val</field>
                                                <field name="OID">sonoff.0.AQ-Lampe-Flur.Dimmer</field>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block type="text" id="b_7r~olmHf[6I3HYI,rE">
                                                <field name="TEXT">30</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <statement name="DO0">
                                          <block type="control" id="_{NH(-w|b$HOO|^Y?)C{">
                                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                            <field name="OID">sonoff.0.AQ-Lampe-Flur.Dimmer</field>
                                            <field name="WITH_DELAY">FALSE</field>
                                            <value name="VALUE">
                                              <block type="math_arithmetic" id="+n^c/8?2/!s]?#@*UvX{">
                                                <field name="OP">MINUS</field>
                                                <value name="A">
                                                  <shadow type="math_number">
                                                    <field name="NUM">1</field>
                                                  </shadow>
                                                  <block type="get_value" id=":pUH(9i~K)+bI::},~rJ">
                                                    <field name="ATTR">val</field>
                                                    <field name="OID">sonoff.0.AQ-Lampe-Flur.Dimmer</field>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <shadow type="math_number" id="?`L+wRvOW|mq=I!u+(o`">
                                                    <field name="NUM">1</field>
                                                  </shadow>
                                                </value>
                                              </block>
                                            </value>
                                          </block>
                                        </statement>
                                        <statement name="ELSE">
                                          <block type="timeouts_clearinterval" id="}rT]D#_Q?/1|z(mU!^5t">
                                            <field name="NAME">AQ-Mittagspause-Start</field>
                                          </block>
                                        </statement>
                                      </block>
                                    </statement>
                                  </block>
                                </statement>
                                <next>
                                  <block type="schedule" id="BOd27-AqP3hQ.gWoS?u=">
                                    <field name="SCHEDULE">30 14 * * *</field>
                                    <statement name="STATEMENT">
                                      <block type="timeouts_setinterval" id="kUp|vjmtKV~xmBn#31?`">
                                        <field name="NAME">AQ-Mittagspause-Ende</field>
                                        <field name="INTERVAL">3</field>
                                        <field name="UNIT">sec</field>
                                        <statement name="STATEMENT">
                                          <block type="controls_if" id="u+G=4]~/r{H8;{=4MEBz">
                                            <mutation else="1"></mutation>
                                            <value name="IF0">
                                              <block type="logic_compare" id="tRLr#JJ5G3W6ld;674Ta">
                                                <field name="OP">LT</field>
                                                <value name="A">
                                                  <block type="get_value" id="UAGohW:i{?uuswTO1J8|">
                                                    <field name="ATTR">val</field>
                                                    <field name="OID">sonoff.0.AQ-Lampe-Flur.Dimmer</field>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <block type="text" id="%s6:)RT5uTq@@5P4Rc_)">
                                                    <field name="TEXT">80</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <statement name="DO0">
                                              <block type="control" id="!ieGr9?V*whDyas;.trO">
                                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                <field name="OID">sonoff.0.AQ-Lampe-Flur.Dimmer</field>
                                                <field name="WITH_DELAY">FALSE</field>
                                                <value name="VALUE">
                                                  <block type="math_arithmetic" id=".[?)E3~Ob.TN0|91J.{K">
                                                    <field name="OP">ADD</field>
                                                    <value name="A">
                                                      <shadow type="math_number" id="yPPKb[[w)R:*y854eF!Y">
                                                        <field name="NUM">1</field>
                                                      </shadow>
                                                      <block type="get_value" id="]i^(cf)7v7rX-mV?OKn)">
                                                        <field name="ATTR">val</field>
                                                        <field name="OID">sonoff.0.AQ-Lampe-Flur.Dimmer</field>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <shadow type="math_number" id="6SngEf*5mXwZ4$@4nnte">
                                                        <field name="NUM">1</field>
                                                      </shadow>
                                                      <block type="math_number" id="~e-p(}gkWs[F/4_[Gb[e">
                                                        <field name="NUM">1</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                              </block>
                                            </statement>
                                            <statement name="ELSE">
                                              <block type="timeouts_clearinterval" id="T|AATMea7~!Ea.}Q4D[I">
                                                <field name="NAME">AQ-Mittagspause-Ende</field>
                                              </block>
                                            </statement>
                                          </block>
                                        </statement>
                                      </block>
                                    </statement>
                                    <next>
                                      <block type="schedule" id="Lgepz?9v@t=me[},!8Tt">
                                        <field name="SCHEDULE">5 19 * * *</field>
                                        <statement name="STATEMENT">
                                          <block type="timeouts_setinterval" id="M?_2hr}}HAVEQ-LwFS,z">
                                            <field name="NAME">AQ-Stop</field>
                                            <field name="INTERVAL">3</field>
                                            <field name="UNIT">sec</field>
                                            <statement name="STATEMENT">
                                              <block type="controls_if" id="u6B~$2-p%/_RnNlaKZVM">
                                                <mutation else="1"></mutation>
                                                <value name="IF0">
                                                  <block type="logic_compare" id="b`|tiPVjcUQv)%8l@h^t">
                                                    <field name="OP">GT</field>
                                                    <value name="A">
                                                      <block type="get_value" id="o#VT!3Ze.6]_;E!ao0G*">
                                                        <field name="ATTR">val</field>
                                                        <field name="OID">sonoff.0.AQ-Lampe-Flur.Dimmer</field>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <block type="math_number" id="%-UKtpjab_!S.|3j6sdY">
                                                        <field name="NUM">0</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                                <statement name="DO0">
                                                  <block type="control" id="w+LNFETN#Vy]2n1)`cM@">
                                                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                    <field name="OID">sonoff.0.AQ-Lampe-Flur.Dimmer</field>
                                                    <field name="WITH_DELAY">FALSE</field>
                                                    <value name="VALUE">
                                                      <block type="text" id="Ws5ViAPhz^gWx^6B^Vsr">
                                                        <field name="TEXT">50</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </statement>
                                                <statement name="ELSE">
                                                  <block type="timeouts_clearinterval" id="zX6x~Fa`W,-Y;y2aUFIz">
                                                    <field name="NAME">AQ-Stop</field>
                                                  </block>
                                                </statement>
                                              </block>
                                            </statement>
                                          </block>
                                        </statement>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </xml>
                        

                        Gesteuert wird über den Sonoff Adapter einen H801. Die Werte werden in Sonoff Adapter nicht aktualisiert.

                        Die Zeitzone habe ich angepasst.

                        
                        pi@raspberrypi:~ $ date
                        Sa 14. Aug 11:11:00 CEST 2021
                        
                        

                        Habe das Skript neu angelegt jetzt funktioniert es derzeit 😕

                        Homoran 1 Reply Last reply Reply Quote 0
                        • Homoran
                          Homoran Global Moderator Administrators @philipp_sh last edited by

                          @philipp_sh sagte in Meine Zeitpläne werden nicht durchgeführt:

                          Meine Steuerung für das Aquarium Licht funktioniert immer noch nicht.

                          eine xml datei nutzt am Handy nix
                          blocklys immer als scteenshots, code in code-tags ist gut, dann aber den js-code

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post

                          Support us

                          ioBroker
                          Community Adapters
                          Donate

                          532
                          Online

                          31.8k
                          Users

                          80.0k
                          Topics

                          1.3m
                          Posts

                          3
                          11
                          410
                          Loading More Posts
                          • Oldest to Newest
                          • Newest to Oldest
                          • Most Votes
                          Reply
                          • Reply as topic
                          Log in to reply
                          Community
                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                          The ioBroker Community 2014-2023
                          logo