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.
    • 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
                          • paul53
                            paul53 @Aphofis last edited by

                            @aphofis
                            Habe einen Fehler gefunden: Ändere "stop clock" in "stop schedule1".

                            Bild_2021-04-03_095716.png

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

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

                              @aphofis
                              Habe einen Fehler gefunden: Ändere "stop clock" in "stop schedule1".

                              Bild_2021-04-03_095716.png

                              Super! Vielen Dank
                              nur wie kann das sein, das dass geändert wurde. Ich habe das nicht geändert und die Original Steuerung von dir ist ja mit "schedule1"

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

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

                                ntrol.0.IP_MAC_Abgleich.Aqua_Fl

                                Die Datenpunkte sind alle als string gesetzt. Weshalb kommt dann die Fehlermeldung !?
                                Ich habe im Datenpunkt alle strings mit einem leerzeichen davor gefunden. Weshalb passiert denn sowas.!?

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

                                  @aphofis sagte: wie kann das sein, das dass geändert wurde.

                                  Es gab zwischenzeitlich mal eine fehlerhafte Javascript-Version, die das verursacht haben könnte.

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

                                  Die Datenpunkte sind alle als string gesetzt. Weshalb kommt dann die Fehlermeldung !?

                                  Der Datenpunkt selbst ist vom Typ "boolean", andernfalls würde Javascript nicht meckern.

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

                                    @paul53

                                    Unbenannt4.png
                                    bei allen string werten war ein leerzeichen vorweg.

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

                                      @paul53
                                      Um 13 Uhr sollte eine Lösung dosiert werden. Es wurde leider nichts dosiert.
                                      Da muss noch irgendwo ein Fehler sein.
                                      Ich gucke noch mal um 13:30 ob da etwas dosiert wird.

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

                                        @aphofis sagte: Da muss noch irgendwo ein Fehler sein.

                                        Starte ioBroker neu. Das könnte durch die Korrektur von schedule1 erforderlich sein.

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

                                          @paul53
                                          Habe den Iobroker Pi komplett neu gestartet.
                                          Mal sehen ob es geholfen hat.

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

                                            @paul53 Dosierpumpe läuft wieder!!!!
                                            Das war dann wohl der Fehler! Ich bin begeistert.
                                            Ein Problem weniger.

                                            Weißt du vielleicht was das für Fehler sind !?

                                            node-red.0	2021-04-03 13:15:10.396	warn	(2978) slow connection to states DB. Still waiting ...
                                            alexa2.0	2021-04-03 13:15:09.616	error	(3635) Cannot find search "folder" in "system"
                                            alexa2.0	2021-04-03 13:15:09.386	info	(3635) starting. Version 3.8.1 in /opt/iobroker/node_modules/iobroker.alexa2, node: v12.21.0, js-controller: 3.2.16
                                            harmony.0	2021-04-03 13:15:07.942	info	(3206) [PROCESS] Synced hub config for Homi (192.168.0.15)
                                            node-red.0	2021-04-03 13:15:07.847	warn	(2978) slow connection to objects DB. Still waiting ...
                                            node-red.0	2021-04-03 13:15:07.819	warn	3 Apr 13:15:07 - [warn] ------------------------------------------------------
                                            node-red.0	2021-04-03 13:15:07.819	warn	3 Apr 13:15:07 - [warn] [node-red-contrib-alexa-home-skill/alexa] Type already registered
                                            node-red.0	2021-04-03 13:15:07.819	warn	3 Apr 13:15:07 - [warn] [node-red-contrib-tplink-smarthome/smart-bulb] Type already registered
                                            node-red.0	2021-04-03 13:15:07.819	warn	3 Apr 13:15:07 - [warn] [node-red-contrib-tplink-smarthome/smart-plug] Type already registered
                                            node-red.0	2021-04-03 13:15:07.819	warn	3 Apr 13:15:07 - [warn] [node-red-contrib-tplink-iot/smart-bulb] Type already registered
                                            node-red.0	2021-04-03 13:15:07.819	warn	(2959) 3 Apr 13:15:07 - [warn] [node-red-contrib-tplink-iot/smart-plug] Type already registered
                                            node-red.0	2021-04-03 13:15:07.814	warn	(2959) 3 Apr 13:15:07 - [warn] ------------------------------------------------------
                                            
                                            paul53 Thomas Braun 2 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            753
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

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