Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Blockly
    5. [gelöst] Hilfe bei zeitsteuerung

    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

    [gelöst] Hilfe bei zeitsteuerung

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

      Es ist echt Spitze!!!!
      Egal welches Problem ich dir auch vor die Füße Werfe, du findest eine Lösung!!!
      Vielen vielen Dank.
      Ich würde ja glatt sagen um meine Strömungspumpen geschichte zum laufen zu bekommen, würde ich dir dafür sogar Geld geben.

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

        @Aphofis
        Und warum gibt es keine positive(n) Bewertung(en)?

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

          @Homoran
          Wenn du mir verrätst wo!
          ICh suche das schon die ganze Zeit aber finde die option nicht.

          Homoran 1 Reply Last reply Reply Quote 0
          • Aphofis
            Aphofis last edited by

            wo kann ich denn am sinnvollsten eine Telegram Nachricht einbauen das dosiert wurde, ohne das die Meldung alle x sek geschickt wird!? Hatte einen Telegram block in den trigger nach dem stoppen des intervalls eingebaut doch dann kam alle paar sek eine meldung.

            paul53 1 Reply Last reply Reply Quote 0
            • paul53
              paul53 @Aphofis last edited by

              @Aphofis sagte:

              wo kann ich denn am sinnvollsten eine Telegram Nachricht einbauen das dosiert wurde

              Blockly_temp.JPG

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

                @Aphofis sagte in [gelöst] Hilfe bei zeitsteuerung:

                aber finde die option nicht.

                rechts unter jedem Beitrag gibt es einen Pfeil rauf für postive und einen Pfeil runter für negative Bewertungen des Beitrags

                Dazwischen steht der Wert der bisherigen Bewertungen

                Aphofis 1 Reply Last reply Reply Quote 2
                • Aphofis
                  Aphofis @Homoran last edited by

                  @Homoran
                  Danke! Das muss man ja wissen.
                  Habe auch keine Funktionen gefunden wie was im Forum gemacht wird sonst hätte ich selbst was gefunden.
                  Vielen Dank

                  1 Reply Last reply Reply Quote 0
                  • Aphofis
                    Aphofis @paul53 last edited by

                    @paul53 sagte in [gelöst] Hilfe bei zeitsteuerung:

                    @Aphofis sagte:

                    wo kann ich denn am sinnvollsten eine Telegram Nachricht einbauen das dosiert wurde

                    Blockly_temp.JPG

                    Danke!!!

                    1 Reply Last reply Reply Quote 0
                    • Aphofis
                      Aphofis last edited by

                      @paul53
                      Das war jetzt eben etwas Spukie!!!
                      Der Dosierpumpenkasten wurden alle vier angeschlossenen Lösungen gleichzeitig aktiviert und auch nur die vier von 8 möglichen Pumpen.
                      Alarm Max Sirene ist angesprungen.
                      Dann habe ich schnell den Dosierpumpen Kasten vom Strom getrennt und die Schläuche von den Kanistern abgenommen.
                      Pump Verteiler in einem Meßbecher gehängt pumpen wieder an den Strom geklemmt und ausgeschaltet.
                      Dazu sagte dann alexa auch noch ich weiß nicht was schief gelaufen ist.
                      Entweder ich habe Geister im Haus oder ich bin bekloppt.
                      Kann man die Steuerung soweit verfeinern das nur das gepumpt werden kann was auch aus dem Datenpunkten Faktoren genommen wird für die jeweilige Pump dosierung.
                      Da ja anscheinend ein kommunikations Fehler bestand.
                      Der Pi oder iobroker sind nihct neu gestartet.
                      In der Log gab es keinen eintrag das irgendwas dosiert wurde.
                      Momentane Steuerung sieht so aus.

                      <xml xmlns="http://www.w3.org/1999/xhtml">
                        <variables>
                          <variable type="" id="snfLpaddd`4/)Uy^kLsW">clock</variable>
                          <variable type="" id=")bAD/?%{s?q44~ZGe7{B">Dauer</variable>
                          <variable type="" id="iQ`n%m6-[L_B242P|7rW">Uhrzeit</variable>
                          <variable type="undefined" id="schedule">schedule</variable>
                          <variable type="undefined" id="Intervall">Intervall</variable>
                        </variables>
                        <block type="procedures_callnoreturn" id="3a)9A+{U=BTerQFdk^7e" x="-3287" y="-1587">
                          <mutation name="setUhr">
                            <arg name="clock"></arg>
                          </mutation>
                          <value name="ARG0">
                            <block type="get_value" id="Rmv(=Tg+:6/}8B(?~nI#">
                              <field name="ATTR">val</field>
                              <field name="OID">Aqua_Control.0.Triton.Lösung_1.Uhrzeiten.Lösung_1_Uhrzeit_1</field>
                            </block>
                          </value>
                          <next>
                            <block type="on_ext" id="X}o|@dWx#6!BiHho8e)o">
                              <mutation items="1"></mutation>
                              <field name="CONDITION">ne</field>
                              <field name="ACK_CONDITION"></field>
                              <value name="OID0">
                                <shadow type="field_oid" id="dXPC7;GFYg(#~T78}@mB">
                                  <field name="oid">Aqua_Control.0.Triton.Lösung_1.Uhrzeiten.Lösung_1_Uhrzeit_1</field>
                                </shadow>
                              </value>
                              <statement name="STATEMENT">
                                <block type="schedule_clear" id="nt-N]NBg?,fY%.)hYJ4D">
                                  <field name="NAME">schedule</field>
                                  <next>
                                    <block type="procedures_callnoreturn" id="yvhs4uL6uUxnW!c$UF/{">
                                      <mutation name="setUhr">
                                        <arg name="clock"></arg>
                                      </mutation>
                                      <value name="ARG0">
                                        <block type="on_source" id="SfI,}teG@`dg#_g%Zp#:">
                                          <field name="ATTR">state.val</field>
                                        </block>
                                      </value>
                                    </block>
                                  </next>
                                </block>
                              </statement>
                            </block>
                          </next>
                        </block>
                        <block type="procedures_defnoreturn" id="jE$gVVpa7!Xtx{X@H^Fd" x="-3287" y="-1312">
                          <field name="NAME">Lösung_1</field>
                          <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                          <statement name="STACK">
                            <block type="variables_set" id="9kptcK|P^2:}bKZXyZ8f">
                              <field name="VAR" id=")bAD/?%{s?q44~ZGe7{B" variabletype="">Dauer</field>
                              <value name="VALUE">
                                <block type="convert_tonumber" id="Tj/%:}sl8v})GfkG,zO:">
                                  <value name="VALUE">
                                    <block type="get_value" id=".,XzJi)h(f$9$~(`H$I!">
                                      <field name="ATTR">val</field>
                                      <field name="OID">Aqua_Control.0.Triton.Lösung_1.Faktoren.Lösung_1_Faktor_2</field>
                                    </block>
                                  </value>
                                </block>
                              </value>
                              <next>
                                <block type="control" id="%}iPzHc5tUi.(P1_MvRo">
                                  <mutation delay_input="false"></mutation>
                                  <field name="OID">sonoff.0.Aqua_Dosierer.POWER1</field>
                                  <field name="WITH_DELAY">FALSE</field>
                                  <value name="VALUE">
                                    <block type="logic_boolean" id="SM.e~4#O=p?c/SXA|JX%">
                                      <field name="BOOL">TRUE</field>
                                    </block>
                                  </value>
                                  <next>
                                    <block type="comment" id="KV;?nPX*TAluqR-qF9f+">
                                      <field name="COMMENT">Intervalldauer = Faktor</field>
                                      <next>
                                        <block type="timeouts_setinterval" id="1+dIQ5^rJM?nkaI[6WN}">
                                          <field name="NAME">Intervall</field>
                                          <field name="INTERVAL">806</field>
                                          <field name="UNIT">ms</field>
                                          <statement name="STATEMENT">
                                            <block type="math_change" id="!*zN$DgW0K=76_[.1*]X">
                                              <field name="VAR" id=")bAD/?%{s?q44~ZGe7{B" variabletype="">Dauer</field>
                                              <value name="DELTA">
                                                <shadow type="math_number" id="e_D7=bSd65:`]Q{qWSZD">
                                                  <field name="NUM">-1</field>
                                                </shadow>
                                              </value>
                                              <next>
                                                <block type="controls_if" id="=/[;A-M~WF?KXEx~W0z?">
                                                  <value name="IF0">
                                                    <block type="logic_compare" id=";qY,PC)CB~{1#4iVHaj,">
                                                      <field name="OP">LTE</field>
                                                      <value name="A">
                                                        <block type="variables_get" id="2k;4KgTu$A3wF)@V`ulP">
                                                          <field name="VAR" id=")bAD/?%{s?q44~ZGe7{B" variabletype="">Dauer</field>
                                                        </block>
                                                      </value>
                                                      <value name="B">
                                                        <block type="math_number" id="?bnhw6qVm`$}~NCKlw2P">
                                                          <field name="NUM">0</field>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </value>
                                                  <statement name="DO0">
                                                    <block type="timeouts_clearinterval" id=";dz/hf`o4]4(2pDSH)I3">
                                                      <field name="NAME">Intervall</field>
                                                      <next>
                                                        <block type="control" id="SeaFI}%xNdyzRbLV,6HN">
                                                          <mutation delay_input="false"></mutation>
                                                          <field name="OID">sonoff.0.Aqua_Dosierer.POWER1</field>
                                                          <field name="WITH_DELAY">FALSE</field>
                                                          <value name="VALUE">
                                                            <block type="logic_boolean" id="1_[)-;0}n;LMH}tCmhi:">
                                                              <field name="BOOL">FALSE</field>
                                                            </block>
                                                          </value>
                                                          <next>
                                                            <block type="telegram" id="N)tO@5NbhTtUeW(4MtBo">
                                                              <field name="INSTANCE">.0</field>
                                                              <field name="LOG"></field>
                                                              <field name="SILENT">FALSE</field>
                                                              <field name="PARSEMODE">default</field>
                                                              <value name="MESSAGE">
                                                                <shadow type="text" id="R8/w|SSi{cj7,4lDKwe[">
                                                                  <field name="TEXT">text</field>
                                                                </shadow>
                                                                <block type="text_join" id="Jm8OpAELrwceT@g35lf{">
                                                                  <mutation items="4"></mutation>
                                                                  <value name="ADD0">
                                                                    <block type="text" id="CM1{{J8!7VItB4D8j3B8">
                                                                      <field name="TEXT">Triton Lösung 1 </field>
                                                                    </block>
                                                                  </value>
                                                                  <value name="ADD1">
                                                                    <block type="text_newline" id="o]Q2(%iBw$/9I:?8IyZw">
                                                                      <field name="Type">\n</field>
                                                                    </block>
                                                                  </value>
                                                                  <value name="ADD2">
                                                                    <block type="get_value" id="f]$r3U;[8ohFZ.8I[asH">
                                                                      <field name="ATTR">val</field>
                                                                      <field name="OID">Aqua_Control.0.Triton.Lösung_1.Faktoren.Lösung_1_Faktor_2</field>
                                                                    </block>
                                                                  </value>
                                                                  <value name="ADD3">
                                                                    <block type="text" id="Jxd~DTQ,y3LUt8En2!}Y">
                                                                      <field name="TEXT"> ml dosiert</field>
                                                                    </block>
                                                                  </value>
                                                                </block>
                                                              </value>
                                                            </block>
                                                          </next>
                                                        </block>
                                                      </next>
                                                    </block>
                                                  </statement>
                                                </block>
                                              </next>
                                            </block>
                                          </statement>
                                        </block>
                                      </next>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </statement>
                        </block>
                        <block type="procedures_defnoreturn" id="fK5kmsd)LwZ7|P2xa^9U" x="-3287" y="-762">
                          <mutation>
                            <arg name="clock" varid="snfLpaddd`4/)Uy^kLsW"></arg>
                          </mutation>
                          <field name="NAME">setUhr</field>
                          <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                          <statement name="STACK">
                            <block type="variables_set" id="aOx5`vU/=f;#)rmrW[|7">
                              <field name="VAR" id="iQ`n%m6-[L_B242P|7rW" variabletype="">Uhrzeit</field>
                              <value name="VALUE">
                                <block type="lists_split" id="XnqDHu5JM{#WIs8~S,M-">
                                  <mutation mode="SPLIT"></mutation>
                                  <field name="MODE">SPLIT</field>
                                  <value name="INPUT">
                                    <block type="variables_get" id="4`T;i0Hg@f?=Gq^,J6.~">
                                      <field name="VAR" id="snfLpaddd`4/)Uy^kLsW" variabletype="">clock</field>
                                    </block>
                                  </value>
                                  <value name="DELIM">
                                    <shadow type="text" id="]v!xP8l3r?{D;(m_QyNL">
                                      <field name="TEXT">:</field>
                                    </shadow>
                                  </value>
                                </block>
                              </value>
                              <next>
                                <block type="schedule_create" id="6x%+6G+PaD[w*{FuFm=K">
                                  <field name="NAME">schedule</field>
                                  <value name="SCHEDULE">
                                    <shadow type="field_cron" id="m4F75|F$}NA}2;e/avWa">
                                      <field name="CRON">* * * * *</field>
                                    </shadow>
                                    <block type="cron_builder" id="q6(U2T{7uu}mYF)9QMKr">
                                      <mutation seconds="false" as_line="false"></mutation>
                                      <field name="LINE">FALSE</field>
                                      <field name="WITH_SECONDS">FALSE</field>
                                      <value name="DOW">
                                        <shadow type="text" id=")8oVcqHY5re?jv#0QsO8">
                                          <field name="TEXT">*</field>
                                        </shadow>
                                      </value>
                                      <value name="MONTHS">
                                        <shadow type="text" id="GfQ!DoE|TZTliq*)8,@j">
                                          <field name="TEXT">*</field>
                                        </shadow>
                                      </value>
                                      <value name="DAYS">
                                        <shadow type="text" id="S6hVuxIjcYJMlS^~:zE5">
                                          <field name="TEXT">*</field>
                                        </shadow>
                                      </value>
                                      <value name="HOURS">
                                        <shadow type="text" id="NP{*G*@dWEP9M9mNlZFF">
                                          <field name="TEXT">*</field>
                                        </shadow>
                                        <block type="lists_getIndex" id="-0gZ}|H=8/}~St}d%rl;">
                                          <mutation statement="false" at="true"></mutation>
                                          <field name="MODE">GET</field>
                                          <field name="WHERE">FROM_START</field>
                                          <value name="VALUE">
                                            <block type="variables_get" id="8U#M]$`MHq(~A]~(v{2R">
                                              <field name="VAR" id="iQ`n%m6-[L_B242P|7rW" variabletype="">Uhrzeit</field>
                                            </block>
                                          </value>
                                          <value name="AT">
                                            <block type="math_number" id=")zFTxG~Gpp`eZw8r2,8w">
                                              <field name="NUM">1</field>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                      <value name="MINUTES">
                                        <shadow type="text" id="I(LCmtz/NJ%:Tvp,*;JL">
                                          <field name="TEXT">*</field>
                                        </shadow>
                                        <block type="lists_getIndex" id="0([.HRKLsVPA.X:jwVI@">
                                          <mutation statement="false" at="true"></mutation>
                                          <field name="MODE">GET</field>
                                          <field name="WHERE">FROM_START</field>
                                          <value name="VALUE">
                                            <block type="variables_get" id="8#E0pY-UET(BcZH]~qB:">
                                              <field name="VAR" id="iQ`n%m6-[L_B242P|7rW" variabletype="">Uhrzeit</field>
                                            </block>
                                          </value>
                                          <value name="AT">
                                            <block type="math_number" id=";UF-jK:^cV#hui?GDL/V">
                                              <field name="NUM">2</field>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                  <statement name="STATEMENT">
                                    <block type="procedures_callnoreturn" id="/6qq{?/)+*vm:UnA$x,0">
                                      <mutation name="Lösung_1"></mutation>
                                    </block>
                                  </statement>
                                </block>
                              </next>
                            </block>
                          </statement>
                        </block>
                      </xml>
                      

                      Bildschirmfoto 2019-10-12 um 13.51.45.png
                      Vielleicht das die verbindung dem Gerät sagt so lange false bis dann der Uhrzeit trigger eine Pumpe auslöst.

                      paul53 1 Reply Last reply Reply Quote 0
                      • paul53
                        paul53 @Aphofis last edited by

                        @Aphofis sagte:

                        Momentane Steuerung sieht so aus.

                        Es sieht alles gut aus.

                        @Aphofis sagte in [gelöst] Hilfe bei zeitsteuerung:

                        Da ja anscheinend ein kommunikations Fehler bestand.

                        Ich weiß nicht, wie man den Kommunikationsfehler abfangen kann.

                        Aphofis 1 Reply Last reply Reply Quote 0
                        • Aphofis
                          Aphofis @paul53 last edited by Aphofis

                          @paul53

                          Ich bauche mal deine Hilfe! meine Steuerungen funktionieren nicht mehr.
                          was ist das für eine Fehlermeldung !? bzw wo liegt das Problem!?
                          Der Fehler ist sehr dringend, da in meinem Meerwasser Aquarium lebensnotwendige Bestandteile nicht dosiert werden.

                          javascript.0	2021-04-02 22:03:32.904	error	(22006) at Script.runInContext (vm.js:130:18)
                          javascript.0	2021-04-02 22:03:32.904	error	(22006) at script.js.Dosierpumpen.Lösung_3b.Lösung_3b_Dosierung_1:42:3
                          javascript.0	2021-04-02 22:03:32.903	error	(22006) at script.js.Dosierpumpen.Lösung_3b.Lösung_3b_Dosierung_1:33:1
                          javascript.0	2021-04-02 22:03:32.903	error	(22006) at setUhr (script.js.Dosierpumpen.Lösung_3b.Lösung_3b_Dosierung_1:8:14)
                          javascript.0	2021-04-02 22:03:32.902	error	(22006) script.js.Dosierpumpen.Lösung_3b.Lösung_3b_Dosierung_1: TypeError: schedule is not a function
                          

                          Die Steuerung ist diese hier:

                          <xml xmlns="https://developers.google.com/blockly/xml">
                            <variables>
                              <variable id="snfLpaddd`4/)Uy^kLsW">clock</variable>
                              <variable id="iQ`n%m6-[L_B242P|7rW">Uhrzeit</variable>
                              <variable id=")bAD/?%{s?q44~ZGe7{B">Dauer</variable>
                              <variable type="cron" id="schedule1">schedule1</variable>
                              <variable type="interval" id="Intervall">Intervall</variable>
                            </variables>
                            <block type="procedures_callnoreturn" id="3a)9A+{U=BTerQFdk^7e" x="-3287" y="-1637">
                              <mutation name="setUhr">
                                <arg name="clock"></arg>
                              </mutation>
                              <value name="ARG0">
                                <block type="get_value" id="Rmv(=Tg+:6/}8B(?~nI#">
                                  <field name="ATTR">val</field>
                                  <field name="OID">Aqua_Control.0.Triton.Lösung_3b.Uhrzeiten.Lösung_3b_Uhrzeit_1</field>
                                </block>
                              </value>
                              <next>
                                <block type="on_ext" id="X}o|@dWx#6!BiHho8e)o">
                                  <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="dXPC7;GFYg(#~T78}@mB">
                                      <field name="oid">Aqua_Control.0.Triton.Lösung_3b.Uhrzeiten.Lösung_3b_Uhrzeit_1</field>
                                    </shadow>
                                  </value>
                                  <statement name="STATEMENT">
                                    <block type="schedule_clear" id="nt-N]NBg?,fY%.)hYJ4D">
                                      <field name="NAME">clock</field>
                                      <next>
                                        <block type="procedures_callnoreturn" id="yvhs4uL6uUxnW!c$UF/{">
                                          <mutation name="setUhr">
                                            <arg name="clock"></arg>
                                          </mutation>
                                          <value name="ARG0">
                                            <block type="on_source" id="SfI,}teG@`dg#_g%Zp#:">
                                              <field name="ATTR">state.val</field>
                                            </block>
                                          </value>
                                        </block>
                                      </next>
                                    </block>
                                  </statement>
                                </block>
                              </next>
                            </block>
                            <block type="procedures_defnoreturn" id="fK5kmsd)LwZ7|P2xa^9U" x="-2587" y="-1487">
                              <mutation>
                                <arg name="clock" varid="snfLpaddd`4/)Uy^kLsW"></arg>
                              </mutation>
                              <field name="NAME">setUhr</field>
                              <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                              <statement name="STACK">
                                <block type="variables_set" id="aOx5`vU/=f;#)rmrW[|7">
                                  <field name="VAR" id="iQ`n%m6-[L_B242P|7rW">Uhrzeit</field>
                                  <value name="VALUE">
                                    <block type="lists_split" id="XnqDHu5JM{#WIs8~S,M-">
                                      <mutation mode="SPLIT"></mutation>
                                      <field name="MODE">SPLIT</field>
                                      <value name="INPUT">
                                        <block type="variables_get" id="4`T;i0Hg@f?=Gq^,J6.~">
                                          <field name="VAR" id="snfLpaddd`4/)Uy^kLsW">clock</field>
                                        </block>
                                      </value>
                                      <value name="DELIM">
                                        <shadow type="text" id="]v!xP8l3r?{D;(m_QyNL">
                                          <field name="TEXT">:</field>
                                        </shadow>
                                      </value>
                                    </block>
                                  </value>
                                  <next>
                                    <block type="schedule_create" id="6x%+6G+PaD[w*{FuFm=K">
                                      <field name="NAME">schedule1</field>
                                      <value name="SCHEDULE">
                                        <shadow xmlns="http://www.w3.org/1999/xhtml" type="field_cron" id="m4F75|F$}NA}2;e/avWa">
                                          <field name="CRON">* * * * *</field>
                                        </shadow>
                                        <block type="cron_builder" id="q6(U2T{7uu}mYF)9QMKr">
                                          <mutation xmlns="http://www.w3.org/1999/xhtml" seconds="false" as_line="false"></mutation>
                                          <field name="LINE">FALSE</field>
                                          <field name="WITH_SECONDS">FALSE</field>
                                          <value name="DOW">
                                            <shadow type="text" id=")8oVcqHY5re?jv#0QsO8">
                                              <field name="TEXT">*</field>
                                            </shadow>
                                          </value>
                                          <value name="MONTHS">
                                            <shadow type="text" id="GfQ!DoE|TZTliq*)8,@j">
                                              <field name="TEXT">*</field>
                                            </shadow>
                                          </value>
                                          <value name="DAYS">
                                            <shadow type="text" id="S6hVuxIjcYJMlS^~:zE5">
                                              <field name="TEXT">*</field>
                                            </shadow>
                                          </value>
                                          <value name="HOURS">
                                            <shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="NP{*G*@dWEP9M9mNlZFF">
                                              <field name="TEXT">*</field>
                                            </shadow>
                                            <block type="lists_getIndex" id="-0gZ}|H=8/}~St}d%rl;">
                                              <mutation statement="false" at="true"></mutation>
                                              <field name="MODE">GET</field>
                                              <field name="WHERE">FROM_START</field>
                                              <value name="VALUE">
                                                <block type="variables_get" id="8U#M]$`MHq(~A]~(v{2R">
                                                  <field name="VAR" id="iQ`n%m6-[L_B242P|7rW">Uhrzeit</field>
                                                </block>
                                              </value>
                                              <value name="AT">
                                                <block type="math_number" id=")zFTxG~Gpp`eZw8r2,8w">
                                                  <field name="NUM">1</field>
                                                </block>
                                              </value>
                                            </block>
                                          </value>
                                          <value name="MINUTES">
                                            <shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="I(LCmtz/NJ%:Tvp,*;JL">
                                              <field name="TEXT">*</field>
                                            </shadow>
                                            <block type="lists_getIndex" id="0([.HRKLsVPA.X:jwVI@">
                                              <mutation statement="false" at="true"></mutation>
                                              <field name="MODE">GET</field>
                                              <field name="WHERE">FROM_START</field>
                                              <value name="VALUE">
                                                <block type="variables_get" id="8#E0pY-UET(BcZH]~qB:">
                                                  <field name="VAR" id="iQ`n%m6-[L_B242P|7rW">Uhrzeit</field>
                                                </block>
                                              </value>
                                              <value name="AT">
                                                <block type="math_number" id=";UF-jK:^cV#hui?GDL/V">
                                                  <field name="NUM">2</field>
                                                </block>
                                              </value>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                      <statement name="STATEMENT">
                                        <block type="procedures_callnoreturn" id="/6qq{?/)+*vm:UnA$x,0">
                                          <mutation name="Lösung_3b"></mutation>
                                        </block>
                                      </statement>
                                    </block>
                                  </next>
                                </block>
                              </statement>
                            </block>
                            <block type="procedures_defnoreturn" id="jE$gVVpa7!Xtx{X@H^Fd" x="-3287" y="-1412">
                              <field name="NAME">Lösung_3b</field>
                              <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                              <statement name="STACK">
                                <block type="variables_set" id="9kptcK|P^2:}bKZXyZ8f">
                                  <field name="VAR" id=")bAD/?%{s?q44~ZGe7{B">Dauer</field>
                                  <value name="VALUE">
                                    <block type="convert_tonumber" id="Tj/%:}sl8v})GfkG,zO:">
                                      <value name="VALUE">
                                        <block type="get_value" id=".,XzJi)h(f$9$~(`H$I!">
                                          <field name="ATTR">val</field>
                                          <field name="OID">Aqua_Control.0.Triton.Lösung_3b.Faktoren.Lösung_3b_Faktor_1</field>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                  <next>
                                    <block type="control" id="%}iPzHc5tUi.(P1_MvRo">
                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                      <field name="OID">sonoff.0.Aqua_Dosierer.POWER4</field>
                                      <field name="WITH_DELAY">FALSE</field>
                                      <value name="VALUE">
                                        <block type="logic_boolean" id="SM.e~4#O=p?c/SXA|JX%">
                                          <field name="BOOL">TRUE</field>
                                        </block>
                                      </value>
                                      <next>
                                        <block type="comment" id="KV;?nPX*TAluqR-qF9f+">
                                          <field name="COMMENT">Intervalldauer = Faktor</field>
                                          <next>
                                            <block type="timeouts_setinterval" id="1+dIQ5^rJM?nkaI[6WN}">
                                              <field name="NAME">Intervall</field>
                                              <field name="INTERVAL">932</field>
                                              <field name="UNIT">ms</field>
                                              <statement name="STATEMENT">
                                                <block type="math_change" id="!*zN$DgW0K=76_[.1*]X">
                                                  <field name="VAR" id=")bAD/?%{s?q44~ZGe7{B">Dauer</field>
                                                  <value name="DELTA">
                                                    <shadow type="math_number" id="e_D7=bSd65:`]Q{qWSZD">
                                                      <field name="NUM">-1</field>
                                                    </shadow>
                                                  </value>
                                                  <next>
                                                    <block type="controls_if" id="=/[;A-M~WF?KXEx~W0z?">
                                                      <value name="IF0">
                                                        <block type="logic_compare" id=";qY,PC)CB~{1#4iVHaj,">
                                                          <field name="OP">LTE</field>
                                                          <value name="A">
                                                            <block type="variables_get" id="2k;4KgTu$A3wF)@V`ulP">
                                                              <field name="VAR" id=")bAD/?%{s?q44~ZGe7{B">Dauer</field>
                                                            </block>
                                                          </value>
                                                          <value name="B">
                                                            <block type="math_number" id="?bnhw6qVm`$}~NCKlw2P">
                                                              <field name="NUM">0</field>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </value>
                                                      <statement name="DO0">
                                                        <block type="timeouts_clearinterval" id=";dz/hf`o4]4(2pDSH)I3">
                                                          <field name="NAME">Intervall</field>
                                                          <next>
                                                            <block type="control" id="SeaFI}%xNdyzRbLV,6HN">
                                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                              <field name="OID">sonoff.0.Aqua_Dosierer.POWER4</field>
                                                              <field name="WITH_DELAY">FALSE</field>
                                                              <value name="VALUE">
                                                                <block type="logic_boolean" id="1_[)-;0}n;LMH}tCmhi:">
                                                                  <field name="BOOL">FALSE</field>
                                                                </block>
                                                              </value>
                                                              <next>
                                                                <block type="telegram" id="N)tO@5NbhTtUeW(4MtBo">
                                                                  <field name="INSTANCE">.0</field>
                                                                  <field name="LOG"></field>
                                                                  <field name="SILENT">FALSE</field>
                                                                  <field name="PARSEMODE">default</field>
                                                                  <value name="MESSAGE">
                                                                    <shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="R8/w|SSi{cj7,4lDKwe[">
                                                                      <field name="TEXT">text</field>
                                                                    </shadow>
                                                                    <block type="text_join" id="Jm8OpAELrwceT@g35lf{">
                                                                      <mutation items="4"></mutation>
                                                                      <value name="ADD0">
                                                                        <block type="text" id="CM1{{J8!7VItB4D8j3B8">
                                                                          <field name="TEXT">*** Triton Lösung 3b </field>
                                                                        </block>
                                                                      </value>
                                                                      <value name="ADD1">
                                                                        <block type="text_newline" id="o]Q2(%iBw$/9I:?8IyZw">
                                                                          <field name="Type">\n</field>
                                                                        </block>
                                                                      </value>
                                                                      <value name="ADD2">
                                                                        <block type="get_value" id="f]$r3U;[8ohFZ.8I[asH">
                                                                          <field name="ATTR">val</field>
                                                                          <field name="OID">Aqua_Control.0.Triton.Lösung_3b.Faktoren.Lösung_3b_Faktor_1</field>
                                                                        </block>
                                                                      </value>
                                                                      <value name="ADD3">
                                                                        <block type="text" id="Jxd~DTQ,y3LUt8En2!}Y">
                                                                          <field name="TEXT"> ml dosiert</field>
                                                                        </block>
                                                                      </value>
                                                                    </block>
                                                                  </value>
                                                                </block>
                                                              </next>
                                                            </block>
                                                          </next>
                                                        </block>
                                                      </statement>
                                                    </block>
                                                  </next>
                                                </block>
                                              </statement>
                                            </block>
                                          </next>
                                        </block>
                                      </next>
                                    </block>
                                  </next>
                                </block>
                              </statement>
                            </block>
                          </xml>
                          

                          Unbenannt.png

                          paul53 1 Reply Last reply Reply Quote 0
                          • paul53
                            paul53 @Aphofis last edited by paul53

                            @aphofis
                            Im Skript ist kein Fehler zu erkennen.
                            Die Zeilennummern in den Fehlermeldungen passen nicht. Ist ein Skript unter der Gruppe "global" aktiv?

                            Aphofis 1 Reply Last reply Reply Quote 0
                            • Aphofis
                              Aphofis @paul53 last edited by

                              @paul53
                              Wo soll Global sein !?
                              Im Javascript Adapter habe ich nur common und meine estellten Ordner. common ist leer.

                              paul53 1 Reply Last reply Reply Quote 0
                              • paul53
                                paul53 @Aphofis last edited by

                                @aphofis sagte: nur common und meine estellten Ordner. common ist leer.

                                "global" sieht man nur im Experten-Modus.

                                Aphofis 1 Reply Last reply Reply Quote 0
                                • Aphofis
                                  Aphofis @paul53 last edited by

                                  @paul53
                                  Unbenannt2.png

                                  paul53 1 Reply Last reply Reply Quote 0
                                  • paul53
                                    paul53 @Aphofis last edited by

                                    @aphofis
                                    Experten-Modus aktiviert? Drei Punkte links oben.

                                    Bild_2021-04-02_234411.png JS_Expert.JPG

                                    Aphofis 1 Reply Last reply Reply Quote 0
                                    • Aphofis
                                      Aphofis @paul53 last edited by

                                      @paul53
                                      global ist auch leer!
                                      Unbenannt3.png

                                      Aphofis 1 Reply Last reply Reply Quote 0
                                      • Aphofis
                                        Aphofis @Aphofis last edited by

                                        Wenn ich eine der Steuerungen stoppe und neu starte kommt die meldung in der Log

                                        avascript.0	2021-04-03 03:29:11.801	error	(22006) at Script.runInContext (vm.js:130:18)
                                        javascript.0	2021-04-03 03:29:11.801	error	(22006) at script.js.Dosierpumpen.Lösung_1.Lösung_1_Dosierung_1:42:3
                                        javascript.0	2021-04-03 03:29:11.800	error	(22006) at script.js.Dosierpumpen.Lösung_1.Lösung_1_Dosierung_1:33:1
                                        javascript.0	2021-04-03 03:29:11.799	error	(22006) at setUhr (script.js.Dosierpumpen.Lösung_1.Lösung_1_Dosierung_1:8:14)
                                        javascript.0	2021-04-03 03:29:11.795	error	(22006) script.js.Dosierpumpen.Lösung_1.Lösung_1_Dosierung_1: TypeError: schedule is not a function
                                        
                                        Aphofis paul53 2 Replies Last reply Reply Quote 0
                                        • Aphofis
                                          Aphofis @Aphofis last edited by Aphofis

                                          @paul53

                                          @paul53
                                          Ich hab mal den Javascript Adapter neu gestartet, jetzt kommt die Fehlermeldung nicht mehr, dafür kommen eine Menge andere Fehlermeldungen

                                          javascript.0	2021-04-03 03:36:00.028	info	(31316) script.js.Strom.Kosten_Aktuell: 12.751019319999997
                                          javascript.0	2021-04-03 03:35:58.629	warn	(31316) at Pipe.<anonymous> (net.js:675:12)
                                          javascript.0	2021-04-03 03:35:58.628	warn	(31316) at Socket.EventEmitter.emit (domain.js:483:12)
                                          javascript.0	2021-04-03 03:35:58.627	warn	(31316) at Socket.emit (events.js:314:20)
                                          javascript.0	2021-04-03 03:35:58.626	warn	(31316) at Socket.<anonymous> (internal/child_process.js:444:11)
                                          javascript.0	2021-04-03 03:35:58.624	warn	(31316) at maybeClose (internal/child_process.js:1022:16)
                                          javascript.0	2021-04-03 03:35:58.623	warn	(31316) at ChildProcess.EventEmitter.emit (domain.js:483:12)
                                          javascript.0	2021-04-03 03:35:58.622	warn	(31316) at ChildProcess.emit (events.js:314:20)
                                          javascript.0	2021-04-03 03:35:58.620	warn	(31316) at ChildProcess.exithandler (child_process.js:299:7)
                                          javascript.0	2021-04-03 03:35:58.619	warn	(31316) at script.js.ESP_Reboot.Aqu_Control_IP_Abfrage:12:5
                                          javascript.0	2021-04-03 03:35:58.617	warn	(31316) at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1427:20)
                                          javascript.0	2021-04-03 03:35:58.614	warn	(31316) You are assigning a string to the state "Aqua_Control.0.IP_MAC_Abgleich.Aqua_Control_IP" which expects a boolean. Please fix your code to use a boolean or change the state type to string. Thi
                                          javascript.0	2021-04-03 03:35:58.612	warn	(31316) at Pipe.<anonymous> (net.js:675:12)
                                          javascript.0	2021-04-03 03:35:58.611	warn	(31316) at Socket.EventEmitter.emit (domain.js:483:12)
                                          javascript.0	2021-04-03 03:35:58.610	warn	(31316) at Socket.emit (events.js:314:20)
                                          javascript.0	2021-04-03 03:35:58.609	warn	(31316) at Socket.<anonymous> (internal/child_process.js:444:11)
                                          javascript.0	2021-04-03 03:35:58.607	warn	(31316) at maybeClose (internal/child_process.js:1022:16)
                                          javascript.0	2021-04-03 03:35:58.606	warn	(31316) at ChildProcess.EventEmitter.emit (domain.js:483:12)
                                          javascript.0	2021-04-03 03:35:58.605	warn	(31316) at ChildProcess.emit (events.js:314:20)
                                          javascript.0	2021-04-03 03:35:58.604	warn	(31316) at ChildProcess.exithandler (child_process.js:299:7)
                                          javascript.0	2021-04-03 03:35:58.603	warn	(31316) at script.js.ESP_IP_MAC_Abgleich.Aqua_Control:12:5
                                          javascript.0	2021-04-03 03:35:58.601	warn	(31316) at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1427:20)
                                          javascript.0	2021-04-03 03:35:58.594	warn	(31316) You are assigning a string to the state "Aqua_Control.0.IP_MAC_Abgleich.Aqua_Control_IP" which expects a boolean. Please fix your code to use a boolean or change the state type to string. Thi
                                          javascript.0	2021-04-03 03:35:58.592	warn	(31316) at Pipe.<anonymous> (net.js:675:12)
                                          javascript.0	2021-04-03 03:35:58.590	warn	(31316) at Socket.EventEmitter.emit (domain.js:483:12)
                                          javascript.0	2021-04-03 03:35:58.589	warn	(31316) at Socket.emit (events.js:314:20)
                                          javascript.0	2021-04-03 03:35:58.588	warn	(31316) at Socket.<anonymous> (internal/child_process.js:444:11)
                                          javascript.0	2021-04-03 03:35:58.587	warn	(31316) at maybeClose (internal/child_process.js:1022:16)
                                          javascript.0	2021-04-03 03:35:58.585	warn	(31316) at ChildProcess.EventEmitter.emit (domain.js:483:12)
                                          javascript.0	2021-04-03 03:35:58.584	warn	(31316) at ChildProcess.emit (events.js:314:20)
                                          javascript.0	2021-04-03 03:35:58.583	warn	(31316) at ChildProcess.exithandler (child_process.js:299:7)
                                          javascript.0	2021-04-03 03:35:58.582	warn	(31316) at script.js.ESP_IP_MAC_Abgleich.Aqua_Power:12:5
                                          javascript.0	2021-04-03 03:35:58.580	warn	(31316) at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1427:20)
                                          javascript.0	2021-04-03 03:35:58.577	warn	(31316) You are assigning a string to the state "Aqua_Control.0.IP_MAC_Abgleich.Aqua_Power_IP" which expects a boolean. Please fix your code to use a boolean or change the state type to string. This
                                          javascript.0	2021-04-03 03:35:58.575	warn	(31316) at Pipe.<anonymous> (net.js:675:12)
                                          javascript.0	2021-04-03 03:35:58.574	warn	(31316) at Socket.EventEmitter.emit (domain.js:483:12)
                                          javascript.0	2021-04-03 03:35:58.572	warn	(31316) at Socket.emit (events.js:314:20)
                                          javascript.0	2021-04-03 03:35:58.571	warn	(31316) at Socket.<anonymous> (internal/child_process.js:444:11)
                                          javascript.0	2021-04-03 03:35:58.570	warn	(31316) at maybeClose (internal/child_process.js:1022:16)
                                          javascript.0	2021-04-03 03:35:58.569	warn	(31316) at ChildProcess.EventEmitter.emit (domain.js:483:12)
                                          javascript.0	2021-04-03 03:35:58.567	warn	(31316) at ChildProcess.emit (events.js:314:20)
                                          javascript.0	2021-04-03 03:35:58.566	warn	(31316) at ChildProcess.exithandler (child_process.js:299:7)
                                          javascript.0	2021-04-03 03:35:58.564	warn	(31316) at script.js.ESP_IP_MAC_Abgleich.Aqua_Sensoren:12:5
                                          javascript.0	2021-04-03 03:35:58.563	warn	(31316) at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1427:20)
                                          javascript.0	2021-04-03 03:35:58.560	warn	(31316) You are assigning a string to the state "Aqua_Control.0.IP_MAC_Abgleich.Aqua_Sensoren_IP" which expects a boolean. Please fix your code to use a boolean or change the state type to string. Th
                                          javascript.0	2021-04-03 03:35:58.558	info	(31316) script.js.ESP_IP_MAC_Abgleich.Aqua_Dosierer: Keine IP Adresse gefunden!
                                          javascript.0	2021-04-03 03:35:58.556	info	(31316) script.js.ESP_IP_MAC_Abgleich.Aqua_Float: Keine IP Adresse gefunden!
                                          javascript.0	2021-04-03 03:35:58.555	warn	(31316) at Pipe.<anonymous> (net.js:675:12)
                                          javascript.0	2021-04-03 03:35:58.554	warn	(31316) at Socket.EventEmitter.emit (domain.js:483:12)
                                          javascript.0	2021-04-03 03:35:58.553	warn	(31316) at Socket.emit (events.js:314:20)
                                          javascript.0	2021-04-03 03:35:58.552	warn	(31316) at Socket.<anonymous> (internal/child_process.js:444:11)
                                          javascript.0	2021-04-03 03:35:58.552	warn	(31316) at maybeClose (internal/child_process.js:1022:16)
                                          javascript.0	2021-04-03 03:35:58.551	warn	(31316) at ChildProcess.EventEmitter.emit (domain.js:483:12)
                                          javascript.0	2021-04-03 03:35:58.550	warn	(31316) at ChildProcess.emit (events.js:314:20)
                                          javascript.0	2021-04-03 03:35:58.549	warn	(31316) at ChildProcess.exithandler (child_process.js:299:7)
                                          javascript.0	2021-04-03 03:35:58.548	warn	(31316) at script.js.ESP_IP_MAC_Abgleich.Aqua_Float_2:12:5
                                          javascript.0	2021-04-03 03:35:58.543	warn	(31316) at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1427:20)
                                          javascript.0	2021-04-03 03:35:58.518	warn	(31316) You are assigning a string to the state "Aqua_Control.0.IP_MAC_Abgleich.Aqua_Float_2_IP" which expects a boolean. Please fix your code to use a boolean or change the state type to string. Thi
                                          

                                          Kann es vielleicht daran liegen, weil ich den JS-Controller auf Verion 3.2.16 aktualisiert hatte !?
                                          Ich hatte jetzt um 4:00 beobachtet ob etwas dosiert wird. leider fand keine Dosierung statt.
                                          Das ist fatal und weiß leider nicht wie ich das Problem beheben kann.
                                          Was heißt den: "TypeError: schedule is not a function
                                          "

                                          paul53 1 Reply Last reply Reply Quote 0
                                          • paul53
                                            paul53 @Aphofis last edited by paul53

                                            @aphofis sagte:

                                            You are assigning a string to the state "Aqua_Control.0.IP_MAC_Abgleich.Aqua_Float_2_IP" which expects a boolean. Please fix your code to use a boolean or change the state type to string.
                                            

                                            im Skript "ESP_IP_MAC_Abgleich.Aqua_Float_2", Zeile 12.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            908
                                            Online

                                            31.8k
                                            Users

                                            80.0k
                                            Topics

                                            1.3m
                                            Posts

                                            4
                                            80
                                            4114
                                            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