Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. {gelöst} Maxcul Adapter veraltet, bitte aktualisieren.

    NEWS

    • [erledigt] 15. 05. Wartungsarbeiten am ioBroker Forum

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    {gelöst} Maxcul Adapter veraltet, bitte aktualisieren.

    This topic has been deleted. Only users with topic management privileges can see it.
    • ESP8266
      ESP8266 @Thomas Braun last edited by ESP8266

      @thomas-braun , ok. Wenn ich den Node.js hoch ziehe kommt es zur Ausgabe wie in dem Issue beschrieben und ist rot. Er motzt wohl nur wegen den Serialport.

      Thomas Braun 2 Replies Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @ESP8266 last edited by

        @esp8266 sagte in Maxcul Adapter veraltet, bitte aktualisieren.:

        Wenn ich den Node.js hoch ziehe kommt es zur Ausgabe wie in dem Issue beschrieben und ist rot.

        Ja, weil serialport erst noch gegen das aktuelle nodejs gebaut werden muss.

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

          @esp8266

          Ich hab jetzt mein System auf nodejs@18 gedrückt, maxcul installiert, dann nodejs@20 installiert und maxcul hat sich automatisch selber neugebaut. Es kamen zwar zunächst Meldungen wie

          2024-07-27 22:07:04.394  - info: maxcul.0 (21557) starting. Version 1.3.1 in /opt/iobroker/node_modules/iobroker.maxcul, node: v20.16.0, js-controller: 6.0.9
          2024-07-27 22:07:04.974  - error: maxcul.0 (21557) uncaught exception: Could not locate the bindings file. Tried:
           → /opt/iobroker/node_modules/@serialport/bindings/build/bindings.node
           → /opt/iobroker/node_modules/@serialport/bindings/build/Debug/bindings.node
           → /opt/iobroker/node_modules/@serialport/bindings/build/Release/bindings.node
           → /opt/iobroker/node_modules/@serialport/bindings/out/Debug/bindings.node
           → /opt/iobroker/node_modules/@serialport/bindings/Debug/bindings.node
           → /opt/iobroker/node_modules/@serialport/bindings/out/Release/bindings.node
           → /opt/iobroker/node_modules/@serialport/bindings/Release/bindings.node
           → /opt/iobroker/node_modules/@serialport/bindings/build/default/bindings.node
           → /opt/iobroker/node_modules/@serialport/bindings/compiled/20.16.0/linux/arm64/bindings.node
           → /opt/iobroker/node_modules/@serialport/bindings/addon-build/release/install-root/bindings.node
           → /opt/iobroker/node_modules/@serialport/bindings/addon-build/debug/install-root/bindings.node
           → /opt/iobroker/node_modules/@serialport/bindings/addon-build/default/install-root/bindings.node
           → /opt/iobroker/node_modules/@serialport/bindings/lib/binding/node-v115-linux-arm64/bindings.node
          2024-07-27 22:07:04.980  - error: maxcul.0 (21557) Error: Could not locate the bindings file. Tried:
           → /opt/iobroker/node_modules/@serialport/bindings/build/bindings.node
           → /opt/iobroker/node_modules/@serialport/bindings/build/Debug/bindings.node
           → /opt/iobroker/node_modules/@serialport/bindings/build/Release/bindings.node
           → /opt/iobroker/node_modules/@serialport/bindings/out/Debug/bindings.node
           → /opt/iobroker/node_modules/@serialport/bindings/Debug/bindings.node
           → /opt/iobroker/node_modules/@serialport/bindings/out/Release/bindings.node
           → /opt/iobroker/node_modules/@serialport/bindings/Release/bindings.node
           → /opt/iobroker/node_modules/@serialport/bindings/build/default/bindings.node
           → /opt/iobroker/node_modules/@serialport/bindings/compiled/20.16.0/linux/arm64/bindings.node
           → /opt/iobroker/node_modules/@serialport/bindings/addon-build/release/install-root/bindings.node
           → /opt/iobroker/node_modules/@serialport/bindings/addon-build/debug/install-root/bindings.node
           → /opt/iobroker/node_modules/@serialport/bindings/addon-build/default/install-root/bindings.node
           → /opt/iobroker/node_modules/@serialport/bindings/lib/binding/node-v115-linux-arm64/bindings.node
              at bindings (/opt/iobroker/node_modules/bindings/bindings.js:126:9)
              at Object.<anonymous> (/opt/iobroker/node_modules/@serialport/bindings/lib/linux.js:2:36)
              at Module._compile (node:internal/modules/cjs/loader:1358:14)
              at Module._extensions..js (node:internal/modules/cjs/loader:1416:10)
              at Module.load (node:internal/modules/cjs/loader:1208:32)
              at Module._load (node:internal/modules/cjs/loader:1024:12)
              at Module.require (node:internal/modules/cjs/loader:1233:19)
              at require (node:internal/modules/helpers:179:18)
              at Object.<anonymous> (/opt/iobroker/node_modules/@serialport/bindings/lib/index.js:14:22)
              at Module._compile (node:internal/modules/cjs/loader:1358:14)
              at Module._extensions..js (node:internal/modules/cjs/loader:1416:10)
              at Module.load (node:internal/modules/cjs/loader:1208:32)
              at Module._load (node:internal/modules/cjs/loader:1024:12)
              at Module.require (node:internal/modules/cjs/loader:1233:19)
              at require (node:internal/modules/helpers:179:18)
              at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.maxcul/node_modules/serialport/lib/index.js:2:17)
          2024-07-27 22:07:04.984  - error: maxcul.0 (21557) Could not locate the bindings file. Tried:
           → /opt/iobroker/node_modules/@serialport/bindings/build/bindings.node
           → /opt/iobroker/node_modules/@serialport/bindings/build/Debug/bindings.node
           → /opt/iobroker/node_modules/@serialport/bindings/build/Release/bindings.node
           → /opt/iobroker/node_modules/@serialport/bindings/out/Debug/bindings.node
           → /opt/iobroker/node_modules/@serialport/bindings/Debug/bindings.node
           → /opt/iobroker/node_modules/@serialport/bindings/out/Release/bindings.node
           → /opt/iobroker/node_modules/@serialport/bindings/Release/bindings.node
           → /opt/iobroker/node_modules/@serialport/bindings/build/default/bindings.node
           → /opt/iobroker/node_modules/@serialport/bindings/compiled/20.16.0/linux/arm64/bindings.node
           → /opt/iobroker/node_modules/@serialport/bindings/addon-build/release/install-root/bindings.node
           → /opt/iobroker/node_modules/@serialport/bindings/addon-build/debug/install-root/bindings.node
           → /opt/iobroker/node_modules/@serialport/bindings/addon-build/default/install-root/bindings.node
           → /opt/iobroker/node_modules/@serialport/bindings/lib/binding/node-v115-linux-arm64/bindings.node
          2024-07-27 22:07:04.998  - info: maxcul.0 (21557) terminating
          2024-07-27 22:07:05.001  - warn: maxcul.0 (21557) Terminated (UNCAUGHT_EXCEPTION): Without reason
          2024-07-27 22:07:05.504  - info: maxcul.0 (21557) terminating
          2024-07-27 22:07:05.706  - error: host.chet Caught by controller[0]: Cannot load serialport module
          2024-07-27 22:07:05.709  - error: host.chet instance system.adapter.maxcul.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
          2024-07-27 22:07:41.498  - info: maxcul.0 (21900) starting. Version 1.3.1 in /opt/iobroker/node_modules/iobroker.maxcul, node: v20.16.0, js-controller: 6.0.9
          2024-07-27 22:07:41.982  - info: maxcul.0 (21900) using serial device /dev/ttyS0@38400
          2024-07-27 22:07:42.018  - info: maxcul.0 (21900) serialPort /dev/ttyS0 is open!
          2024-07-27 22:08:12.031  - info: maxcul.0 (21900) Timeout on CUL connect, cul is available but not responding
          2024-07-27 22:09:21.327  - warn: maxcul.0 (21900) Module serialport is not available
          2024-07-27 22:10:31.444  - error: host.chet iobroker npm-rebuild: Rebuilding native modules failed
          
          

          rein, da einfach ein paar Minuten abwarten, am Ende kommt dann aber:

          2024-07-27 22:14:19.035  - info: maxcul.0 (22993) starting. Version 1.3.1 in /opt/iobroker/node_modules/iobroker.maxcul, node: v20.16.0, js-controller: 6.0.9
          2024-07-27 22:14:19.321  - info: maxcul.0 (22993) using serial device /dev/ttyS0@38400
          2024-07-27 22:14:19.336  - info: maxcul.0 (22993) serialPort /dev/ttyS0 is open!
          2024-07-27 22:14:26.978  - info: maxcul.0 (22993) List of port: [{"manufacturer":"Silicon Labs","serialNumber":"00_12_4B_00_23_93_2C_A8","pnpId":"usb-Silicon_Labs_slae.sh_cc2652rb_stick_-_slaesh_s_iot_stuff_00_12_4B_00_23_93_2C_A8-if00-port0","vendorId":"10c4","productId":"ea60","path":"/dev/ttyUSB0"},{"path":"/dev/ttyS0"}]
          2024-07-27 22:14:49.340  - info: maxcul.0 (22993) Timeout on CUL connect, cul is available but not responding
          2024-07-27 22:15:33.136  - info: maxcul.0 (22993) List of port: [{"manufacturer":"Silicon Labs","serialNumber":"00_12_4B_00_23_93_2C_A8","pnpId":"usb-Silicon_Labs_slae.sh_cc2652rb_stick_-_slaesh_s_iot_stuff_00_12_4B_00_23_93_2C_A8-if00-port0","vendorId":"10c4","productId":"ea60","path":"/dev/ttyUSB0"},{"path":"/dev/ttyS0"}]
          
          

          und die Instanz startet.

          ESP8266 1 Reply Last reply Reply Quote 1
          • ESP8266
            ESP8266 @Thomas Braun last edited by

            @thomas-braun , Hmh, wie kann ich bei einer neu Installation umgehen, dass die Datenpunkte gelöscht werden?

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

              @esp8266

              Werden sie nicht.

              mcm1957 ESP8266 2 Replies Last reply Reply Quote 0
              • mcm1957
                mcm1957 @Thomas Braun last edited by

                @thomas-braun said in Maxcul Adapter veraltet, bitte aktualisieren.:

                @esp8266

                Werden sie nicht.

                Ähmm - bei der Installation nicht. Aber bei der DEinstallation. Oder versteh ich da was falsch?

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

                  @mcm1957

                  Man muss den Adapter ja nicht deinstallieren, einfach nur rebuilden lassen. Funktioniert wie oben gestestet automatisch. Man muss nur abwarten.

                  1 Reply Last reply Reply Quote 1
                  • ESP8266
                    ESP8266 @Thomas Braun last edited by

                    @thomas-braun , erklär mal. Ich lösche den Adapter und die Daten bleiben.
                    Ich nehme mal an, löschen unter den Instanzen, richtig. Dann sollten die Datenpunkte erhalten werden. Ich frage nur zur Sicherheit. Zur Not kann ich dann auch ein Restore noch einspielen.
                    Aber dann bleibt der Adapter so wie er ist.

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

                      @esp8266
                      Was soll ich denn da erklären?
                      Update nodejs und warte einfach ab.

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

                        @thomas-braun , so sieht es seit 12:44 aus

                        logparser.0
                        	1689	2024-07-28 12:44:58.899	info	starting. Version 2.2.2 in /opt/iobroker/node_modules/iobroker.logparser, node: v20.16.0, js-controller: 6.0.9
                        host.iobroker
                        		2024-07-28 12:44:56.014	warn	Do not restart adapter system.adapter.maxcul.0 because restart loop detected
                        host.iobroker
                        		2024-07-28 12:44:56.013	error	instance system.adapter.maxcul.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
                        host.iobroker
                        		2024-07-28 12:44:56.012	error	Caught by controller[0]: Cannot load serialport module
                        maxcul.0
                        	1636	2024-07-28 12:44:55.262	warn	Terminated (UNCAUGHT_EXCEPTION): Without reason
                        maxcul.0
                        	1636	2024-07-28 12:44:55.247	error	Exception-Code: ERR_DLOPEN_FAILED: Module did not self-register: '/opt/iobroker/node_modules/@serialport/bindings/build/Release/bindings.node'.
                        maxcul.0
                        	1636	2024-07-28 12:44:55.244	error	Error: Module did not self-register: '/opt/iobroker/node_modules/@serialport/bindings/build/Release/bindings.node'. at Module._extensions..node (node:internal/modules/cjs/loader:1454:18) at Module.load (node:internal/modules/cjs/loader:1208:32) at Module._load (node:internal/modules/cjs/loader:1024:12) at Module.require (node:internal/modules/cjs/loader:1233:19) at require (node:internal/modules/helpers:179:18) at bindings (/opt/iobroker/node_modules/bindings/bindings.js:112:48) at Object.<anonymous> (/opt/iobroker/node_modules/@serialport/bindings/lib/linux.js:2:36) at Module._compile (node:internal/modules/cjs/loader:1358:14) at Module._extensions..js (node:internal/modules/cjs/loader:1416:10) at Module.load (node:internal/modules/cjs/loader:1208:32) at Module._load (node:internal/modules/cjs/loader:1024:12) at Module.require (node:internal/modules/cjs/loader:1233:19) at require (node:internal/modules/helpers:179:18) at Object.<anonymous> (/opt/iobroker/node_modules/@serialport/bindings/lib/index.js:14:22) at Module._compile (node:internal/modules/cjs/loader:1358:14) at Module._extensions..js (node:internal/modules/cjs/loader:1416:10)
                        maxcul.0
                        	1636	2024-07-28 12:44:55.238	error	uncaught exception: Module did not self-register: '/opt/iobroker/node_modules/@serialport/bindings/build/Release/bindings.node
                        

                        und es hat sich nichts weiter getan.
                        Das war schon der 2. Versuch.
                        Der erste sah so aus:

                        host.iobroker
                        		2024-07-28 12:23:55.288	warn	Do not restart adapter system.adapter.maxcul.0 because restart loop detected
                        host.iobroker
                        		2024-07-28 12:23:55.288	error	instance system.adapter.maxcul.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
                        host.iobroker
                        		2024-07-28 12:23:55.287	error	Caught by controller[0]: Cannot load serialport module
                        maxcul.0
                        	289114	2024-07-28 12:23:54.644	warn	Terminated (UNCAUGHT_EXCEPTION): Without reason
                        maxcul.0
                        	289114	2024-07-28 12:23:54.635	error	Exception-Code: ERR_DLOPEN_FAILED: Module did not self-register: '/opt/iobroker/node_modules/@serialport/bindings/build/Release/bindings.node'.
                        maxcul.0
                        	289114	2024-07-28 12:23:54.633	error	Error: Module did not self-register: '/opt/iobroker/node_modules/@serialport/bindings/build/Release/bindings.node'. at Module._extensions..node (node:internal/modules/cjs/loader:1454:18) at Module.load (node:internal/modules/cjs/loader:1208:32) at Module._load (node:internal/modules/cjs/loader:1024:12) at Module.require (node:internal/modules/cjs/loader:1233:19) at require (node:internal/modules/helpers:179:18) at bindings (/opt/iobroker/node_modules/bindings/bindings.js:112:48) at Object.<anonymous> (/opt/iobroker/node_modules/@serialport/bindings/lib/linux.js:2:36) at Module._compile (node:internal/modules/cjs/loader:1358:14) at Module._extensions..js (node:internal/modules/cjs/loader:1416:10) at Module.load (node:internal/modules/cjs/loader:1208:32) at Module._load (node:internal/modules/cjs/loader:1024:12) at Module.require (node:internal/modules/cjs/loader:1233:19) at require (node:internal/modules/helpers:179:18) at Object.<anonymous> (/opt/iobroker/node_modules/@serialport/bindings/lib/index.js:14:22) at Module._compile (node:internal/modules/cjs/loader:1358:14) at Module._extensions..js (node:internal/modules/cjs/loader:1416:10)
                        maxcul.0
                        	289114	2024-07-28 12:23:54.629	error	uncaught exception: Module did not self-register: '/opt/iobroker/node_modules/@serialport/bindings/build/Release/bindings.node'.
                        host.iobroker
                        		2024-07-28 12:23:20.908	error	instance system.adapter.maxcul.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
                        host.iobroker
                        		2024-07-28 12:23:20.903	error	Caught by controller[0]: Cannot load serialport module
                        maxcul.0
                        	289047	2024-07-28 12:23:20.236	warn	Terminated (UNCAUGHT_EXCEPTION): Without reason
                        maxcul.0
                        	289047	2024-07-28 12:23:20.224	error	Exception-Code: ERR_DLOPEN_FAILED: Module did not self-register: '/opt/iobroker/node_modules/@serialport/bindings/build/Release/bindings.node'.
                        maxcul.0
                        	289047	2024-07-28 12:23:20.222	error	Error: Module did not self-register: '/opt/iobroker/node_modules/@serialport/bindings/build/Release/bindings.node'. at Module._extensions..node (node:internal/modules/cjs/loader:1454:18) at Module.load (node:internal/modules/cjs/loader:1208:32) at Module._load (node:internal/modules/cjs/loader:1024:12) at Module.require (node:internal/modules/cjs/loader:1233:19) at require (node:internal/modules/helpers:179:18) at bindings (/opt/iobroker/node_modules/bindings/bindings.js:112:48) at Object.<anonymous> (/opt/iobroker/node_modules/@serialport/bindings/lib/linux.js:2:36) at Module._compile (node:internal/modules/cjs/loader:1358:14) at Module._extensions..js (node:internal/modules/cjs/loader:1416:10) at Module.load (node:internal/modules/cjs/loader:1208:32) at Module._load (node:internal/modules/cjs/loader:1024:12) at Module.require (node:internal/modules/cjs/loader:1233:19) at require (node:internal/modules/helpers:179:18) at Object.<anonymous> (/opt/iobroker/node_modules/@serialport/bindings/lib/index.js:14:22) at Module._compile (node:internal/modules/cjs/loader:1358:14) at Module._extensions..js (node:internal/modules/cjs/loader:1416:10)
                        maxcul.0
                        	289047	2024-07-28 12:23:20.217	error	uncaught exception: Module did not self-register: '/opt/iobroker/node_modules/@serialport/bindings/build/Release/bindings.node'.
                        host.iobroker
                        		2024-07-28 12:22:43.996	error	instance system.adapter.maxcul.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
                        host.iobroker
                        		2024-07-28 12:22:43.989	error	Caught by controller[0]: Cannot load serialport module
                        maxcul.0
                        	288903	2024-07-28 12:22:43.133	warn	Terminated (UNCAUGHT_EXCEPTION): Without reason
                        maxcul.0
                        	288903	2024-07-28 12:22:43.105	error	Exception-Code: ERR_DLOPEN_FAILED: Module did not self-register: '/opt/iobroker/node_modules/@serialport/bindings/build/Release/bindings.node'.
                        maxcul.0
                        	288903	2024-07-28 12:22:43.098	error	Error: Module did not self-register: '/opt/iobroker/node_modules/@serialport/bindings/build/Release/bindings.node'. at Module._extensions..node (node:internal/modules/cjs/loader:1454:18) at Module.load (node:internal/modules/cjs/loader:1208:32) at Module._load (node:internal/modules/cjs/loader:1024:12) at Module.require (node:internal/modules/cjs/loader:1233:19) at require (node:internal/modules/helpers:179:18) at bindings (/opt/iobroker/node_modules/bindings/bindings.js:112:48) at Object.<anonymous> (/opt/iobroker/node_modules/@serialport/bindings/lib/linux.js:2:36) at Module._compile (node:internal/modules/cjs/loader:1358:14) at Module._extensions..js (node:internal/modules/cjs/loader:1416:10) at Module.load (node:internal/modules/cjs/loader:1208:32) at Module._load (node:internal/modules/cjs/loader:1024:12) at Module.require (node:internal/modules/cjs/loader:1233:19) at require (node:internal/modules/helpers:179:18) at Object.<anonymous> (/opt/iobroker/node_modules/@serialport/bindings/lib/index.js:14:22) at Module._compile (node:internal/modules/cjs/loader:1358:14) at Module._extensions..js (node:internal/modules/cjs/loader:1416:10)
                        maxcul.0
                        	288903	2024-07-28 12:22:43.087	error	uncaught exception: Module did not self-register: '/opt/iobroker/node_modules/@serialport/bindings/build/Release/bindings.node
                        
                        Thomas Braun 1 Reply Last reply Reply Quote 0
                        • Thomas Braun
                          Thomas Braun Most Active @ESP8266 last edited by Thomas Braun

                          @esp8266 sagte in Maxcul Adapter veraltet, bitte aktualisieren.:

                          Dann knall den nochmal rein:

                          iob upgrade maxcul@1.3.1 --debug
                          

                          Der Rebuild schaut dann auf meiner Kiste so aus:

                          echad@chet:~ $ iob upgrade iobroker.maxcul@1.3.1 --debug
                          Would you like to reinstall version 1.3.1 of maxcul now? [(y)es, (n)o]: y
                          Update maxcul from @1.3.1 to @1.3.1
                          Uninstall npm packet "iobroker.maxcul" for a clean re-installation
                          
                          removed 41 packages in 8s
                          
                          191 packages are looking for funding
                            run `npm fund` for details
                          NPM version: 10.8.2
                          Installing iobroker.maxcul@1.3.1... (System call)
                          
                          > @serialport/bindings@9.2.8 install
                          > prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild
                          
                          prebuild-install warn install No prebuilt binaries found (target=22.5.1 runtime=node arch=arm64 libc= platform=linux)
                          gyp info it worked if it ends with ok
                          gyp info using node-gyp@10.1.0
                          gyp info using node@22.5.1 | linux | arm64
                          gyp info find Python using Python version 3.12.4 found at "/usr/bin/python3"
                          
                          gyp info spawn /usr/bin/python3
                          gyp info spawn args [
                          gyp info spawn args '/opt/iobroker/node_modules/node-gyp/gyp/gyp_main.py',
                          gyp info spawn args 'binding.gyp',
                          gyp info spawn args '-f',
                          gyp info spawn args 'make',
                          gyp info spawn args '-I',
                          gyp info spawn args '/opt/iobroker/node_modules/@serialport/bindings/build/config.gypi',
                          gyp info spawn args '-I',
                          gyp info spawn args '/opt/iobroker/node_modules/node-gyp/addon.gypi',
                          gyp info spawn args '-I',
                          gyp info spawn args '/home/iobroker/.cache/node-gyp/22.5.1/include/node/common.gypi',
                          gyp info spawn args '-Dlibrary=shared_library',
                          gyp info spawn args '-Dvisibility=default',
                          gyp info spawn args '-Dnode_root_dir=/home/iobroker/.cache/node-gyp/22.5.1',
                          gyp info spawn args '-Dnode_gyp_dir=/opt/iobroker/node_modules/node-gyp',
                          gyp info spawn args '-Dnode_lib_file=/home/iobroker/.cache/node-gyp/22.5.1/<(target_arch)/node.lib',
                          gyp info spawn args '-Dmodule_root_dir=/opt/iobroker/node_modules/@serialport/bindings',
                          gyp info spawn args '-Dnode_engine=v8',
                          gyp info spawn args '--depth=.',
                          gyp info spawn args '--no-parallel',
                          gyp info spawn args '--generator-output',
                          gyp info spawn args 'build',
                          gyp info spawn args '-Goutput_dir=.'
                          gyp info spawn args ]
                          gyp info spawn make
                          gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
                          make: Entering directory '/opt/iobroker/node_modules/@serialport/bindings/build'
                            CXX(target) Release/obj.target/bindings/src/serialport.o
                          In file included from /home/iobroker/.cache/node-gyp/22.5.1/include/node/v8-array-buffer.h:12,
                                           from /home/iobroker/.cache/node-gyp/22.5.1/include/node/v8.h:24,
                                           from /home/iobroker/.cache/node-gyp/22.5.1/include/node/node.h:73,
                                           from ../../../nan/nan.h:62,
                                           from ../src/./serialport.h:13,
                                           from ../src/serialport.cpp:1:
                          /home/iobroker/.cache/node-gyp/22.5.1/include/node/v8-local-handle.h:401:30: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
                            401 |   V8_INLINE explicit Local<T>(const LocalBase<T>& other)
                                |                              ^
                          /home/iobroker/.cache/node-gyp/22.5.1/include/node/v8-local-handle.h:401:30: note: remove the ‘< >’
                          ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Open(Nan::NAN_METHOD_ARGS_TYPE)’:
                          ../src/serialport.cpp:78:51: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                             78 |   uv_queue_work(uv_default_loop(), req, EIO_Open, (uv_after_work_cb)EIO_AfterOpen);
                                |                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                          ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Update(Nan::NAN_METHOD_ARGS_TYPE)’:
                          ../src/serialport.cpp:135:53: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                            135 |   uv_queue_work(uv_default_loop(), req, EIO_Update, (uv_after_work_cb)EIO_AfterUpdate);
                                |                                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                          ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Close(Nan::NAN_METHOD_ARGS_TYPE)’:
                          ../src/serialport.cpp:175:52: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                            175 |   uv_queue_work(uv_default_loop(), req, EIO_Close, (uv_after_work_cb)EIO_AfterClose);
                                |                                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                          ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Flush(Nan::NAN_METHOD_ARGS_TYPE)’:
                          ../src/serialport.cpp:215:52: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                            215 |   uv_queue_work(uv_default_loop(), req, EIO_Flush, (uv_after_work_cb)EIO_AfterFlush);
                                |                                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                          ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Set(Nan::NAN_METHOD_ARGS_TYPE)’:
                          ../src/serialport.cpp:271:50: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                            271 |   uv_queue_work(uv_default_loop(), req, EIO_Set, (uv_after_work_cb)EIO_AfterSet);
                                |                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                          ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Get(Nan::NAN_METHOD_ARGS_TYPE)’:
                          ../src/serialport.cpp:316:50: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                            316 |   uv_queue_work(uv_default_loop(), req, EIO_Get, (uv_after_work_cb)EIO_AfterGet);
                                |                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                          ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE GetBaudRate(Nan::NAN_METHOD_ARGS_TYPE)’:
                          ../src/serialport.cpp:366:58: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                            366 |   uv_queue_work(uv_default_loop(), req, EIO_GetBaudRate, (uv_after_work_cb)EIO_AfterGetBaudRate);
                                |                                                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                          ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Drain(Nan::NAN_METHOD_ARGS_TYPE)’:
                          ../src/serialport.cpp:412:52: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                            412 |   uv_queue_work(uv_default_loop(), req, EIO_Drain, (uv_after_work_cb)EIO_AfterDrain);
                                |                                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                          ../src/serialport.cpp: At global scope:
                          ../src/serialport.cpp:433:28: warning: unnecessary parentheses in declaration of ‘ToParityEnum’ [-Wparentheses]
                            433 | SerialPortParity NAN_INLINE(ToParityEnum(const v8::Local<v8::String>& v8str)) {
                                |                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                          ../src/serialport.cpp:433:28: note: remove parentheses
                            433 | SerialPortParity NAN_INLINE(ToParityEnum(const v8::Local<v8::String>& v8str)) {
                                |                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                |                            -                                                -
                          ../src/serialport.cpp:452:30: warning: unnecessary parentheses in declaration of ‘ToStopBitEnum’ [-Wparentheses]
                            452 | SerialPortStopBits NAN_INLINE(ToStopBitEnum(double stopBits)) {
                                |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                          ../src/serialport.cpp:452:30: note: remove parentheses
                            452 | SerialPortStopBits NAN_INLINE(ToStopBitEnum(double stopBits)) {
                                |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                |                              -                              -
                          /home/iobroker/.cache/node-gyp/22.5.1/include/node/node.h:1232:7: warning: cast between incompatible function types from ‘void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’ {aka ‘void (*)(v8::Local<v8::Object>)’} to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
                           1232 |       (node::addon_register_func) (regfunc),                          \
                                |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                          /home/iobroker/.cache/node-gyp/22.5.1/include/node/node.h:1266:3: note: in expansion of macro ‘NODE_MODULE_X’
                           1266 |   NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
                                |   ^~~~~~~~~~~~~
                          ../src/serialport.cpp:486:1: note: in expansion of macro ‘NODE_MODULE’
                            486 | NODE_MODULE(serialport, init);
                                | ^~~~~~~~~~~
                            CXX(target) Release/obj.target/bindings/src/serialport_unix.o
                          In file included from /home/iobroker/.cache/node-gyp/22.5.1/include/node/v8-array-buffer.h:12,
                                           from /home/iobroker/.cache/node-gyp/22.5.1/include/node/v8.h:24,
                                           from /home/iobroker/.cache/node-gyp/22.5.1/include/node/node.h:73,
                                           from ../../../nan/nan.h:62,
                                           from ../src/serialport.h:13,
                                           from ../src/serialport_unix.cpp:2:
                          /home/iobroker/.cache/node-gyp/22.5.1/include/node/v8-local-handle.h:401:30: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
                            401 |   V8_INLINE explicit Local<T>(const LocalBase<T>& other)
                                |                              ^
                          /home/iobroker/.cache/node-gyp/22.5.1/include/node/v8-local-handle.h:401:30: note: remove the ‘< >’
                          ../src/serialport_unix.cpp: In function ‘int setup(int, OpenBaton*)’:
                          ../src/serialport_unix.cpp:179:82: warning: ‘%s’ directive output may be truncated writing up to 1023 bytes into a region of size 1005 [-Wformat-truncation=]
                            179 |     snprintf(data->errorString, sizeof(data->errorString), "Error %s Cannot open %s", strerror(errno), data->path);
                                |                                                                                  ^~
                          ../src/serialport_unix.cpp:179:13: note: ‘snprintf’ output 20 or more bytes (assuming 1043) into a destination of size 1024
                            179 |     snprintf(data->errorString, sizeof(data->errorString), "Error %s Cannot open %s", strerror(errno), data->path);
                                |     ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                          ../src/serialport_unix.cpp: In function ‘void EIO_Open(uv_work_t*)’:
                          ../src/serialport_unix.cpp:89:84: warning: ‘%s’ directive output may be truncated writing up to 1023 bytes into a region of size 1003 [-Wformat-truncation=]
                             89 |     snprintf(data->errorString, sizeof(data->errorString), "Error: %s, cannot open %s", strerror(errno), data->path);
                                |                                                                                    ^~
                          ../src/serialport_unix.cpp:89:13: note: ‘snprintf’ output 22 or more bytes (assuming 1045) into a destination of size 1024
                             89 |     snprintf(data->errorString, sizeof(data->errorString), "Error: %s, cannot open %s", strerror(errno), data->path);
                                |     ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                            CXX(target) Release/obj.target/bindings/src/poller.o
                          In file included from /home/iobroker/.cache/node-gyp/22.5.1/include/node/v8-array-buffer.h:12,
                                           from /home/iobroker/.cache/node-gyp/22.5.1/include/node/v8.h:24,
                                           from /home/iobroker/.cache/node-gyp/22.5.1/include/node/node.h:73,
                                           from ../../../nan/nan.h:62,
                                           from ../src/poller.cpp:1:
                          /home/iobroker/.cache/node-gyp/22.5.1/include/node/v8-local-handle.h:401:30: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
                            401 |   V8_INLINE explicit Local<T>(const LocalBase<T>& other)
                                |                              ^
                          /home/iobroker/.cache/node-gyp/22.5.1/include/node/v8-local-handle.h:401:30: note: remove the ‘< >’
                            CXX(target) Release/obj.target/bindings/src/serialport_linux.o
                            SOLINK_MODULE(target) Release/obj.target/bindings.node
                            COPY Release/bindings.node
                          make: Leaving directory '/opt/iobroker/node_modules/@serialport/bindings/build'
                          gyp info ok 
                          
                          added 41 packages in 40s
                          
                          204 packages are looking for funding
                            run `npm fund` for details
                          upload [3] maxcul.admin /opt/iobroker/node_modules/iobroker.maxcul/admin/index.html index.html text/html
                          upload [2] maxcul.admin /opt/iobroker/node_modules/iobroker.maxcul/admin/index_m.html index_m.html text/html
                          upload [1] maxcul.admin /opt/iobroker/node_modules/iobroker.maxcul/admin/maxcul.png maxcul.png image/png
                          upload [0] maxcul.admin /opt/iobroker/node_modules/iobroker.maxcul/admin/words.js words.js application/javascript
                          echad@chet:~ $
                          
                          ESP8266 mcm1957 2 Replies Last reply Reply Quote 1
                          • ESP8266
                            ESP8266 @Thomas Braun last edited by

                            @thomas-braun , super das hat gepasst.👍
                            Wenn ich euch nicht hätte 😊

                            fa8a9a4c-cd9e-49b4-b693-ae8586ed93d6-grafik.png

                            G 1 Reply Last reply Reply Quote 0
                            • mcm1957
                              mcm1957 @Thomas Braun last edited by

                              @thomas-braun
                              Achtung:
                              Der REinstall funktioniert erst richtig mit js-controller 6++. Erst ab 6.x.x wird zuerst ein implizites npm deinstall ausgeführt und dann ein npm i.

                              Der 5er macht nur ein npm i - und npm optimiert alles weg wenn die Version schon installiert ist. Beim 5er sollte es helfen zuerst eine version downzugraden und dann wieder upzugraden. Da tut npm dann was.

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

                                @mcm1957

                                Hatte mich schon gewundert.

                                Uninstall npm packet "iobroker.maxcul" for a clean re-installation

                                war mir nämlich neu. Aber ich rebuilde auch nicht sooooo oft meine Adapter.

                                ESP8266 mcm1957 2 Replies Last reply Reply Quote 0
                                • ESP8266
                                  ESP8266 @Thomas Braun last edited by

                                  Nun ist die "beta" Repository bei mir komplett Aktuell....

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

                                    @thomas-braun said in Maxcul Adapter veraltet, bitte aktualisieren.:

                                    @mcm1957

                                    Hatte mich schon gewundert.

                                    Uninstall npm packet "iobroker.maxcul" for a clean re-installation

                                    war mir nämlich neu. Aber ich rebuilde auch nicht sooooo oft meine Adapter.

                                    Bei Tests hat sich gezeigt, dass npm zu viel optimiert. Ein REinstall hat daher nicht wirklich das gebracht was man erwartet - nämlich dass der Stand installiert wird der im Package drinnen ist. Hat man (- ja soll man nicht-) eine Datei des Adapters verändert dann hat ein Reinstall nicht wie erwartet den Stand wiederhergestellt der im Package drinnen ist sondern (im allgeminen) nichts gemacht... js-controller 6 macht daher bei reinstall nun zuerst ein (npm only) deinstall gefolgt von einem npm install. Npm only deinstall soll heißen, dass nur das npm package deinstalliert wird nicht aber der normale Deinstall Ablauf durchgeführt wird. Kurz - Einstellungen, States, ... bleiben alle erhalten.

                                    1 Reply Last reply Reply Quote 3
                                    • G
                                      guergen @ESP8266 last edited by guergen

                                      @esp8266 Hast Du jetzt mit Node 20 den Maxcul 1.3.1 laufen, sehe ich das richtig?
                                      Also erst den Node auf 20 und dann den Befehl von thomas?

                                      1 Reply Last reply Reply Quote 0
                                      • G
                                        guergen @haus-automatisierung last edited by

                                        @haus-automatisierung Zum Testen hätt ich dir was geben können, den Cul hast Du ja noch, nen Fensterkontakt ist schnell abgebaut 😉
                                        Leider zu spät gesehen, aber es scheint ja zu funktionieren...

                                        haus-automatisierung ESP8266 2 Replies Last reply Reply Quote 0
                                        • haus-automatisierung
                                          haus-automatisierung Developer Most Active @guergen last edited by

                                          @guergen Klar, irgendwie bekommt man das hin. Ich mache nur aktuell schon super viel an Adaptern, welche ich selbst nicht nutze (nur um die am leben zu halten). Mir fehlt die Zeit an allen Ecken und Enden weiter zu machen.

                                          Und wir sprechen ja von einem recht selten genutzten Adapter. Die Dankbarkeit wird sich in Grenzen halten und die Produkte und Protokolle sind ja eh schon abgekündigt.

                                          ESP8266 1 Reply Last reply Reply Quote 2
                                          • ESP8266
                                            ESP8266 @guergen last edited by ESP8266

                                            @guergen , ich betreibe Maxcul im Cube modus und brauche den Adapter trotzdem. Der cul liegt in der Schublade.
                                            Aber schau mal dort, wie ich das gelöst habe... https://forum.iobroker.net/topic/61650/usb-port-to-ip-oder-maxcube-mit-maxcul-adapter-via-lan?_=1723539547532
                                            Das läuft schon über ein Jahr bei mir.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            359
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

                                            6
                                            41
                                            1700
                                            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