Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. Beta Test js-controller Kiera (v6.0)

    NEWS

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    • Save The Date: ioBroker@Smart Living Forum Solingen, 14.06.

    Beta Test js-controller Kiera (v6.0)

    This topic has been deleted. Only users with topic management privileges can see it.
    • foxriver76
      foxriver76 Developer @mcm1957 last edited by

      @mcm1957 ich habe eine 2.1.8 gemacht in der das Serialport geupdated wurde. Hoffe tut nun.

      mcm1957 JB_Sullivan 2 Replies Last reply Reply Quote 1
      • mcm1957
        mcm1957 @foxriver76 last edited by

        @foxriver76
        Danke
        Ich geh dann eher mal in standby modus. Muss morgen früh raus...

        1 Reply Last reply Reply Quote 1
        • JB_Sullivan
          JB_Sullivan @foxriver76 last edited by

          @foxriver76

          Nicht ganz ......

          
          rflink.0
          15048	2024-06-11 22:00:56.233	error	Cannot open serial port "COM3": TypeError: SerialPort is not a constructor
          
          foxriver76 1 Reply Last reply Reply Quote 0
          • foxriver76
            foxriver76 Developer @JB_Sullivan last edited by

            @jb_sullivan dann 2.1.9 ansonsten muss es sich jemand anschauen der das testen kann,

            JB_Sullivan 1 Reply Last reply Reply Quote 0
            • da_Woody
              da_Woody last edited by

              gerade update auf 6.0.2 gemacht, smartcontrol 2.0.1 will nicht mehr starten.
              https://github.com/iobroker-community-adapters/ioBroker.smartcontrol/issues/177

              sjfm-design created this issue in iobroker-community-adapters/ioBroker.smartcontrol

              closed nach update js-controller 6.0.2 smartcontrol 2.0.1 keine verbindung zu gerät/dienst #177

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

                @mcm1957 sagte in Beta Test js-controller Kiera (v6.0):

                @anwa

                Bitte erstell in den Repositories für

                • sourceanalytix
                • calendar
                • echarts

                jeweils ein Issue


                @foxriver76

                • ad echarts
                  Der hat in der letzen Release noch nicht mal adapter-core benutzt. Auf Github wurde allerdings alles mögliche incl. adapter-core gemerged. Tests sind allerdings rot. Da muss wer sanieren. (iobroker orga, Zugriff sollte also da sein)

                Ich nutze echarts selbst, läuft im Hintergrund. Nur die Einstellungen sind weg.
                Ist mir erst jetzt aufgefallen.

                1 Reply Last reply Reply Quote 0
                • B
                  bommel_030 @foxriver76 last edited by

                  @foxriver76 sagte in Beta Test js-controller Kiera (v6.0):

                  Das mit javascript ist mit der nächsten Version vom Adapter (8.5.2 gerade auf dem Weg) gefixt,

                  Also "moment" läuft wieder. Mit moment-duration-format hab ich noch so meine Probleme (https://www.npmjs.com/package/moment-duration-format)

                  Seit Update js-controller 6.x bekomme ich bei einem Skript noch folgende Fehlermeldung:

                  script.js.Online.VIS.IO_Adapterstatus: [adapterStatus] error: moment.duration(...).format is not a function, stack: TypeError: moment.duration(...).format is not a function at Object.adapterStatus (script.js.Online.VIS.IO_Adapterstatus:2584:115) at Job.job (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1802:34) at Job.invoke (/opt/iobroker/node_modules/node-schedule/lib/Job.js:171:15) at /opt/iobroker/node_modules/node-schedule/lib/Invocation.js:268:28 at Timeout._onTimeout (/opt/iobroker/node_modules/node-schedule/lib/Invocation.js:228:7) at listOnTimeout (node:internal/timers:573:17) at processTimers (node:internal/timers:514:7)
                  

                  Wenn ich das Paket, analaog zu "moment" aus dem Javascript-Adapter entferne erhalte ich im LOG auch die Info, dass es entfernt wurde. Trage ich es danach wieder ein kommt im LOG keine Meldung dass es installiert wurde oder ob es ein Fehler gab. Laut npm list ist es auch nicht installiert. Wenn ich, wie in deinem verlinkten Issue via

                  git+https://github.com/jsmreese/moment-duration-format
                  

                  eintrage bekomme ich die Fehlermeldung er findet das Modul nicht. Seitdem ich den Eintrag entfernt habe bekomme ich bei jeden Start die Meldung

                  Removed custom npm package: "gith"
                  

                  laut npm list ist es aber weiterhin installiert...

                  bommel@iobroker:/opt/iobroker$ npm list
                  iobroker.inst@3.0.0 /opt/iobroker
                  ├── @iobroker-javascript.0/axios@npm:axios@1.7.2
                  ├── @iobroker-javascript.0/chroma-js@npm:chroma-js@2.4.2
                  ├── @iobroker-javascript.0/dateformat@npm:dateformat@5.0.3
                  ├── @iobroker-javascript.0/dewpoint@npm:dewpoint@1.0.0
                  ├── @iobroker-javascript.0/jquery@npm:jquery@3.7.1
                  ├── @iobroker-javascript.0/moment-duration-format@npm:moment-duration-format@2.3.2 (git+ssh://git@github.com/jsmreese/moment-duration-format.git#796c9c8e11dfc043842c12785dadfb210f33f380)
                  ├── @iobroker-javascript.0/moment-timezone@npm:moment-timezone@0.5.45
                  ├── @iobroker-javascript.0/moment@npm:moment@2.30.1
                  ├── @iobroker-javascript.0/net-snmp@npm:net-snmp@3.11.2
                  ├── @iobroker-javascript.0/net@npm:net@1.0.2
                  ├── @iobroker-javascript.0/request@npm:request@2.88.2
                  

                  Dadurch stellen sich mir die Fragen, wie bekomme ich das "Removed custom npm package: "gith" " wieder weg, und wie bekomme ich moment-duration-format korrekt installiert.

                  foxriver76 1 Reply Last reply Reply Quote 0
                  • foxriver76
                    foxriver76 Developer @bommel_030 last edited by

                    @bommel_030 Das Paket möchtest du mit Absicht von GitHub installieren? Ist controller schon 6.0.2?

                    B 1 Reply Last reply Reply Quote 0
                    • B
                      bommel_030 @foxriver76 last edited by

                      @foxriver76
                      Ja, wollte ich absichtlich von GitHub installieren, da das Paket über den "normalen" NPM Eintrag im JavaScript Adapter (v8.5.2) nicht installiert wurde.
                      Keine Ahnung ob das an den beiden "-" liegen kann. Das Paket moment ließ sich nach dem update des JavaScript-Adapters ja wieder installieren.
                      controller ist bei 6.0.2

                      foxriver76 1 Reply Last reply Reply Quote 0
                      • JB_Sullivan
                        JB_Sullivan @foxriver76 last edited by JB_Sullivan

                        @foxriver76

                        Es kommen noch diese beiden Meldungen. Für den Fall das es wichtig ist - ioB läuft auf einem Windows System bei mir und da hier von "path" gesprochen wird - hier die Pfad Angabe wo der serialport unter Win abgelegt ist - für den Fall das dass von Bedeutung sein könnte.

                        05159644-da59-4237-ba1f-aea68cea28a7-image.png

                        
                        
                        rflink.0
                        7132	2024-06-12 16:01:47.061	error	Cannot open serial port "COM3": TypeError: "path" is not defined: undefined
                        
                        rflink.0
                        7132	2024-06-12 16:01:46.171	info	starting. Version 2.1.9 (non-npm: ioBroker/ioBroker.rflink) in C:/ioBroker/GLT/node_modules/iobroker.rflink, node: v20.14.0, js-controller: 6.0.2
                        
                        foxriver76 1 Reply Last reply Reply Quote 0
                        • foxriver76
                          foxriver76 Developer @JB_Sullivan last edited by

                          @jb_sullivan 2.1.10 villt lol

                          JB_Sullivan Rene55 2 Replies Last reply Reply Quote 0
                          • JB_Sullivan
                            JB_Sullivan @foxriver76 last edited by

                            @foxriver76

                            Leider auch nicht - bis zur node Version 18.xxx hat das hier immer geholfen. Aber jetzt mit 20.xxx

                            npm install serialport --build-from-source

                            Aktuell sieht es so aus.

                            
                            rflink.0
                            14800	2024-06-12 16:22:14.251	info	Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                            
                            rflink.0
                            14800	2024-06-12 16:22:14.250	info	terminating
                            
                            rflink.0
                            14800	2024-06-12 16:22:14.248	info	Got terminate signal TERMINATE_YOURSELF
                            
                            rflink.0
                            14800	2024-06-12 16:21:24.297	error	Cannot open serial port "COM3": TypeError: "path" is not defined: undefined
                            
                            rflink.0
                            14800	2024-06-12 16:21:23.571	info	starting. Version 2.1.10 (non-npm: ioBroker/ioBroker.rflink) in C:/ioBroker/GLT/node_modules/iobroker.rflink, node: v20.14.0, js-controller: 6.0.2
                            
                            rflink.0
                            15064	2024-06-12 16:18:43.620	info	terminating
                            
                            rflink.0
                            15064	2024-06-12 16:18:43.118	warn	Terminated (UNCAUGHT_EXCEPTION): Without reason
                            
                            rflink.0
                            15064	2024-06-12 16:18:43.117	info	terminating
                            
                            foxriver76 1 Reply Last reply Reply Quote 0
                            • Rene55
                              Rene55 @foxriver76 last edited by

                              @foxriver76 Beim Upgrade auf 6.0.2 muss man aber schon vertrauen haben: jsController602_Update-failed.png

                              Hat aber offensichtlich funktioniert.

                              foxriver76 1 Reply Last reply Reply Quote 0
                              • foxriver76
                                foxriver76 Developer @Rene55 last edited by

                                @rene55 da hat admin wohl ein problem mit dem server zu kommunizieren. glaube da gibts schon ein issue kommt unregelmäßig vor..

                                Rene55 1 Reply Last reply Reply Quote 0
                                • foxriver76
                                  foxriver76 Developer @JB_Sullivan last edited by

                                  @jb_sullivan 2.1.11 villt ^

                                  JB_Sullivan 1 Reply Last reply Reply Quote 0
                                  • foxriver76
                                    foxriver76 Developer @bommel_030 last edited by

                                    @bommel_030 Das Paket schaut richtig installiert aus, allerdings braucht der javascript Adapter für die GitHub Dependencies noch ein Update, sonst required er sie nicht richtig. Wie schaut denn aktuell das Log beim Start vom javascript Adapter aus, da gibts sicher eine Warning für das Paket?

                                    B 1 Reply Last reply Reply Quote 0
                                    • Rene55
                                      Rene55 @foxriver76 last edited by

                                      @foxriver76 Ok. Ich hatte vorher den Admin von 7.x.x wieder auf 6.17.14 zurück gedatet. Aber wenns bekannt ist. Ich zuck nur immer kurz zusammen.

                                      1 Reply Last reply Reply Quote 0
                                      • JB_Sullivan
                                        JB_Sullivan @foxriver76 last edited by JB_Sullivan

                                        @foxriver76 Du scheinst dem Ergebnis näher zu kommen. Die Com Port List ist wieder da und man kann den Com Port auch auswählen und speichern. Leider kommt dann die folgende Fehlermeldung und der Adapter ist noch Gelb.

                                        423f8ae3-2f1a-4886-a6fe-9bdb6a4bf56c-image.png

                                        BtW - weil das oben mal Thema war: Was für Probleme gab es mit Sourceanalytix? Ich kann mit der aktuellen Test Konfig keine Probleme mit SA feststellen. Alles was der Adapte tracken soll trackt er auch und schreibt auch die Werte korrekt.

                                        
                                        rflink.0
                                        9128	2024-06-12 16:36:38.933	error	Cannot open serial port "COM3": TypeError: Cannot read properties of undefined (reading 'Readline')
                                        
                                        rflink.0
                                        9128	2024-06-12 16:36:37.990	info	starting. Version 2.1.11 (non-npm: ioBroker/ioBroker.rflink) in C:/ioBroker/GLT/node_modules/iobroker.rflink, node: v20.14.0, js-controller: 6.0.2
                                        
                                        rflink.0
                                        7452	2024-06-12 16:36:16.390	info	terminating
                                        
                                        rflink.0
                                        7452	2024-06-12 16:36:15.888	info	Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                                        

                                        Hier noch die Info Meldung

                                        rflink.0
                                        9128	2024-06-12 16:43:05.870	info	List of port: [{"path":"COM3","manufacturer":"wch.cn","serialNumber":"5&912F20F&0&2","pnpId":"USB\\VID_1A86&PID_7523\\5&912F20F&0&2","locationId":"Port_#0002.Hub_#0002","friendlyName":"USB-SERIAL CH340 (COM3)","vendorId":"1A86","productId":"7523"},{"path":"COM5","manufacturer":"Microsoft","serialNumber":"6&317F87E&0&0003","pnpId":"USB\\VID_0451&PID_BEF3&MI_03\\6&317F87E&0&0003","locationId":"0000.0014.0000.001.000.000.000.000.000","friendlyName":"Serielles USB-Gerät (COM5)","vendorId":"0451","productId":"BEF3"},{"path":"COM6","manufacturer":"Microsoft","serialNumber":"6&317F87E&0&0000","pnpId":"USB\\VID_0451&PID_BEF3&MI_00\\6&317F87E&0&0000","locationId":"0000.0014.0000.001.000.000.000.000.000","friendlyName":"Serielles USB-Gerät (COM6)","vendorId":"0451","productId":"BEF3"},{"path":"COM1","manufacturer":"Wiesemann & Theis GmbH","pnpId":"ROOT\\PORTS\\0000","friendlyName":"W&T Virtual Comm Port (COM1)"}]
                                        
                                        rflink.0
                                        9128	2024-06-12 16:38:55.203	info	List of port: [{"path":"COM3","manufacturer":"wch.cn","serialNumber":"5&912F20F&0&2","pnpId":"USB\\VID_1A86&PID_7523\\5&912F20F&0&2","locationId":"Port_#0002.Hub_#0002","friendlyName":"USB-SERIAL CH340 (COM3)","vendorId":"1A86","productId":"7523"},{"path":"COM5","manufacturer":"Microsoft","serialNumber":"6&317F87E&0&0003","pnpId":"USB\\VID_0451&PID_BEF3&MI_03\\6&317F87E&0&0003","locationId":"0000.0014.0000.001.000.000.000.000.000","friendlyName":"Serielles USB-Gerät (COM5)","vendorId":"0451","productId":"BEF3"},{"path":"COM6","manufacturer":"Microsoft","serialNumber":"6&317F87E&0&0000","pnpId":"USB\\VID_0451&PID_BEF3&MI_00\\6&317F87E&0&0000","locationId":"0000.0014.0000.001.000.000.000.000.000","friendlyName":"Serielles USB-Gerät (COM6)","vendorId":"0451","productId":"BEF3"},{"path":"COM1","manufacturer":"Wiesemann & Theis GmbH","pnpId":"ROOT\\PORTS\\0000","friendlyName":"W&T Virtual Comm Port (COM1)"}]
                                        
                                        rflink.0
                                        
                                        foxriver76 1 Reply Last reply Reply Quote 0
                                        • foxriver76
                                          foxriver76 Developer @JB_Sullivan last edited by foxriver76

                                          @jb_sullivan 2.1.12

                                          Sourceanalytix, Martin meinte die adapter-core Version ist eventuell zu alt, wenn er startet sollte alles passen.

                                          JB_Sullivan mcm1957 2 Replies Last reply Reply Quote 0
                                          • B
                                            bommel_030 @foxriver76 last edited by

                                            @foxriver76
                                            Nein, keine Warnung, laut NPM list ist es ja auch installiert, das Skript klappt trotzdem mit controller >6 nicht mehr.
                                            Und das "gith" werde ich nicht mehr los....

                                            
                                            javascript.0
                                            2024-06-12 17:13:28.477	debug	Loaded TypeScript definitions for moment: ["node_modules/moment/package.json","node_modules/moment/moment.d.ts"]
                                            
                                            javascript.0
                                            2024-06-12 17:13:28.476	debug	Loaded TypeScript definitions for request: ["node_modules/@types/request/package.json","node_modules/@types/request/index.d.ts"]
                                            
                                            javascript.0
                                            2024-06-12 17:13:28.468	debug	Loaded TypeScript definitions for node: ["node_modules/@types/node/package.json","node_modules/@types/node/index.d.ts","node_modules/@types/node/assert.d.ts","node_modules/@types/node/assert/strict.d.ts","node_modules/@types/node/globals.d.ts","node_modules/@types/node/async_hooks.d.ts","node_modules/@types/node/buffer.d.ts","node_modules/@types/node/child_process.d.ts","node_modules/@types/node/cluster.d.ts","node_modules/@types/node/console.d.ts","node_modules/@types/node/constants.d.ts","node_modules/@types/node/crypto.d.ts","node_modules/@types/node/dgram.d.ts","node_modules/@types/node/diagnostics_channel.d.ts","node_modules/@types/node/dns.d.ts","node_modules/@types/node/dns/promises.d.ts","node_modules/@types/node/domain.d.ts","node_modules/@types/node/dom-events.d.ts","node_modules/@types/node/events.d.ts","node_modules/@types/node/fs.d.ts","node_modules/@types/node/fs/promises.d.ts","node_modules/@types/node/http.d.ts","node_modules/@types/node/http2.d.ts","node_modules/@types/node/https.d.ts","node_modules/@types/node/inspector.d.ts","node_modules/@types/node/module.d.ts","node_modules/@types/node/net.d.ts","node_modules/@types/node/os.d.ts","node_modules/@types/node/path.d.ts","node_modules/@types/node/perf_hooks.d.ts","node_modules/@types/node/process.d.ts","node_modules/@types/node/punycode.d.ts","node_modules/@types/node/querystring.d.ts","node_modules/@types/node/readline.d.ts","node_modules/@types/node/readline/promises.d.ts","node_modules/@types/node/repl.d.ts","node_modules/@types/node/sea.d.ts","node_modules/@types/node/stream.d.ts","node_modules/@types/node/stream/promises.d.ts","node_modules/@types/node/stream/consumers.d.ts","node_modules/@types/node/stream/web.d.ts","node_modules/@types/node/string_decoder.d.ts","node_modules/@types/node/test.d.ts","node_modules/@types/node/timers.d.ts","node_modules/@types/node/timers/promises.d.ts","node_modules/@types/node/tls.d.ts","node_modules/@types/node/trace_events.d.ts","node_modules/@types/node/tty.d.ts","node_modules/@types/node/url.d.ts","node_modules/@types/node/util.d.ts","node_modules/@types/node/v8.d.ts","node_modules/@types/node/vm.d.ts","node_modules/@types/node/wasi.d.ts","node_modules/@types/node/worker_threads.d.ts","node_modules/@types/node/zlib.d.ts","node_modules/@types/node/globals.global.d.ts"]
                                            
                                            javascript.0
                                            2024-06-12 17:13:28.456	info	Removed custom npm package: "gith"
                                            
                                            javascript.0
                                            2024-06-12 17:13:25.414	debug	Installed custom custom dependency: "moment-duration-format@latest"
                                            
                                            javascript.0
                                            2024-06-12 17:13:21.732	debug	Found custom dependency in config: "moment-duration-format@latest"
                                            
                                            javascript.0
                                            2024-06-12 17:13:21.698	debug	Installed custom custom dependency: "axios@latest"
                                            
                                            javascript.0
                                            2024-06-12 17:13:18.441	debug	Found custom dependency in config: "axios@latest"
                                            
                                            javascript.0
                                            2024-06-12 17:13:18.434	debug	Installed custom custom dependency: "moment@latest"
                                            
                                            javascript.0
                                            2024-06-12 17:13:15.158	debug	Found custom dependency in config: "moment@latest"
                                            
                                            javascript.0
                                            2024-06-12 17:13:15.147	debug	Installed custom custom dependency: "net-snmp@latest"
                                            
                                            javascript.0
                                            2024-06-12 17:13:10.960	debug	Found custom dependency in config: "net-snmp@latest"
                                            
                                            javascript.0
                                            2024-06-12 17:13:10.887	debug	Installed custom custom dependency: "request@latest"
                                            
                                            javascript.0
                                            2024-06-12 17:13:07.524	debug	Found custom dependency in config: "request@latest"
                                            
                                            javascript.0
                                            2024-06-12 17:13:07.518	debug	Installed custom custom dependency: "chroma-js@latest"
                                            
                                            javascript.0
                                            2024-06-12 17:13:03.963	debug	Found custom dependency in config: "chroma-js@latest"
                                            
                                            javascript.0
                                            2024-06-12 17:13:03.961	debug	Installed custom custom dependency: "dateformat@latest"
                                            
                                            javascript.0
                                            2024-06-12 17:13:00.622	debug	Found custom dependency in config: "dateformat@latest"
                                            
                                            javascript.0
                                            2024-06-12 17:13:00.613	debug	Installed custom custom dependency: "jquery@latest"
                                            
                                            javascript.0
                                            2024-06-12 17:12:57.160	debug	Found custom dependency in config: "jquery@latest"
                                            
                                            javascript.0
                                            2024-06-12 17:12:57.143	debug	Installed custom custom dependency: "moment-timezone@latest"
                                            
                                            javascript.0
                                            2024-06-12 17:12:53.812	debug	Found custom dependency in config: "moment-timezone@latest"
                                            
                                            javascript.0
                                            2024-06-12 17:12:53.811	debug	Installed custom custom dependency: "net@latest"
                                            
                                            javascript.0
                                            2024-06-12 17:12:50.458	debug	Found custom dependency in config: "net@latest"
                                            
                                            javascript.0
                                            2024-06-12 17:12:50.457	debug	Installed custom custom dependency: "dewpoint@latest"
                                            
                                            javascript.0
                                            2024-06-12 17:12:46.690	debug	Found custom dependency in config: "dewpoint@latest"
                                            
                                            javascript.0
                                            2024-06-12 17:12:46.690	debug	Found installed libraries: ["axios","chroma-js","dateformat","dewpoint","jquery","moment","gith","moment-timezone","net","net-snmp","request"]
                                            
                                            javascript.0
                                            2024-06-12 17:12:46.672	debug	config.subscribe (Do not subscribe all states on start): false
                                            
                                            javascript.0
                                            2024-06-12 17:12:46.661	info	starting. Version 8.5.2 in /opt/iobroker/node_modules/iobroker.javascript, node: v20.14.0, js-controller: 6.0.2
                                            
                                            javascript.0
                                            2024-06-12 17:12:44.586	debug	Plugin sentry Initialize Plugin (enabled=true)
                                            
                                            foxriver76 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            845
                                            Online

                                            31.6k
                                            Users

                                            79.4k
                                            Topics

                                            1.3m
                                            Posts

                                            beta js-controller kiera test
                                            39
                                            331
                                            39306
                                            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