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

                                @aphofis sagte: Weißt du vielleicht was das für Fehler sind !?

                                Nein, alexa und node-red sind für mich böhmische Dörfer.

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

                                  @paul53
                                  Haha das es mal was gibt wo du nichts mit anfangen kannst.
                                  Naja werde die Fehler schon irgendwie herausfinden.
                                  Auf jeden Fall das wichtigste ist, das meine Triton Lösungen wieder dosiert werden. Vielen vielen Dank für deine Mühe.

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

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

                                    Cannot find search "folder" in "system"

                                    Deutet auf ein nicht richtig durchgelaufenes Update des js-controllers hin. Gibt einige Meldungen dazu, wenn du die SuFu benutzt.

                                    Versuch mal

                                    iobroker stop
                                    iobroker setup first
                                    
                                    Aphofis 1 Reply Last reply Reply Quote 0
                                    • Aphofis
                                      Aphofis @Thomas Braun last edited by

                                      @thomas-braun
                                      OK Danke werde ich mal überprüfen

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

                                      Support us

                                      ioBroker
                                      Community Adapters
                                      Donate

                                      557
                                      Online

                                      31.9k
                                      Users

                                      80.2k
                                      Topics

                                      1.3m
                                      Posts

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