NEWS
{gelöst} Maxcul Adapter veraltet, bitte aktualisieren.
-
@thomas-braun said in Maxcul Adapter veraltet, bitte aktualisieren.:
Werden sie nicht.
Ähmm - bei der Installation nicht. Aber bei der DEinstallation. Oder versteh ich da was falsch?
-
Man muss den Adapter ja nicht deinstallieren, einfach nur rebuilden lassen. Funktioniert wie oben gestestet automatisch. Man muss nur abwarten.
-
@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. -
@esp8266
Was soll ich denn da erklären?
Update nodejs und warte einfach ab. -
@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
-
@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:~ $
-
@thomas-braun , super das hat gepasst.
Wenn ich euch nicht hätte -
@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.
-
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.
-
Nun ist die "beta" Repository bei mir komplett Aktuell....
-
@thomas-braun said in Maxcul Adapter veraltet, bitte aktualisieren.:
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.
-
@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? -
@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... -
@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.
-
@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. -
@haus-automatisierung sagte in {gelöst} Maxcul Adapter veraltet, bitte aktualisieren.:
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.
Der beste Beweis, das wir in einer Wegwerfgesellschaft leben.
-
@esp8266 sagte in {gelöst} Maxcul Adapter veraltet, bitte aktualisieren.:
Der beste Beweis, das wir in einer Wegwerfgesellschaft leben.
Was man dann unterstützt, wenn man auf proprietäre Produkte und Protokolle einzelner Hersteller setzt.
-
@esp8266 Hast mich nicht verstanden....
Du hast es jetzt so gelöst?:
Node 20 auf den Rechner und dann den Befehl von Thomas.Sind die Fehler:
Error: Module did not self-register:
jetzt weg?
-
Probier es doch einfach auf deiner Kiste aus.