NEWS
Probleme mit Serialport bei zwave2
-
@thomas-braun schade. Man muss wahrscheinlich irgendwo usb driver installieren
Sonst wo hast du gehen das ich genau 17 update brauche?
Wie und was soll ich genau machen?@esmax666 sagte in Test Adapter Z-Wave 2 v1.10.x:
Man muss wahrscheinlich irgendwo usb driver installieren
Windows User, oder? Der Treiber ist im Linux-Kernel schon drin.
Und die anstehenden Updates sehe ich links in deinem Screenshot.
iobroker update iobroker upgrade -
@esmax666 sagte in Test Adapter Z-Wave 2 v1.10.x:
Man muss wahrscheinlich irgendwo usb driver installieren
Windows User, oder? Der Treiber ist im Linux-Kernel schon drin.
Und die anstehenden Updates sehe ich links in deinem Screenshot.
iobroker update iobroker upgrade@thomas-braun ich weiss aber irgenwie erkennt zwave2 nicht usb0 und usb1
Die version hier sind auch richtig oder?
Type: js-controller Title: JS controller OS: linux Available: 3.2.16 Installed: 3.2.16 Events: ↦15 / ↦13pi@raspberrypi:~ $ node -v
v12.22.1
pi@raspberrypi:~ $ nodejs -v
v12.22.1
pi@raspberrypi:~ $ npm -v
6.14.12 -
@thomas-braun ich weiss aber irgenwie erkennt zwave2 nicht usb0 und usb1
Die version hier sind auch richtig oder?
Type: js-controller Title: JS controller OS: linux Available: 3.2.16 Installed: 3.2.16 Events: ↦15 / ↦13pi@raspberrypi:~ $ node -v
v12.22.1
pi@raspberrypi:~ $ nodejs -v
v12.22.1
pi@raspberrypi:~ $ npm -v
6.14.12@esmax666 Der Stick liegt auf dem device node /dev/ttyAMA0
-
@esmax666 Der Stick liegt auf dem device node /dev/ttyAMA0
Soll ich noch das machen?
https://medium.com/@thedyslexiccoder/how-to-update-nodejs-npm-on-a-raspberry-pi-4-da75cad4148c
-
Soll ich noch das machen?
https://medium.com/@thedyslexiccoder/how-to-update-nodejs-npm-on-a-raspberry-pi-4-da75cad4148c
@esmax666 Nein.
Die Anleitung wird so ohnehin nicht funktionieren, da fehlt noch Zeug davor.
-
@esmax666 Nein.
Die Anleitung wird so ohnehin nicht funktionieren, da fehlt noch Zeug davor.
@thomas-braun was meinst was feht
Sonst fur die zwave0 version gab das:
Raspberry Pi3 only: Activate GPIO UART
On Raspberry Pi 3, the UART is by default occupied by the bluetooth module. To activate it for use with a GPIO module, follow these steps:sudo nano /boot/cmdline.txt
remove console=serial0,115200
save the file and close it
sudo nano /boot/config.txt
Look for each of the following lines. If they are commented out with a #, remove that. If they don't exist, add them to the end of the file:dtoverlay=pi3-miniuart-bt
enable_uart=1
force_turbo=1
rebootAber das brauchen wir nicht mehr oder ? Hab nicht gesehen fur zwave2
-
@esmax666 Ich kenn den Adapter nicht. Mal in die readme geschaut? Da steht vielleicht was drin.
-
@thomas-braun was meinst was feht
Sonst fur die zwave0 version gab das:
Raspberry Pi3 only: Activate GPIO UART
On Raspberry Pi 3, the UART is by default occupied by the bluetooth module. To activate it for use with a GPIO module, follow these steps:sudo nano /boot/cmdline.txt
remove console=serial0,115200
save the file and close it
sudo nano /boot/config.txt
Look for each of the following lines. If they are commented out with a #, remove that. If they don't exist, add them to the end of the file:dtoverlay=pi3-miniuart-bt
enable_uart=1
force_turbo=1
rebootAber das brauchen wir nicht mehr oder ? Hab nicht gesehen fur zwave2
@esmax666 Probier mal
/dev/serial0, da bin ich beim Raspberry Pi 4 auch schon drüber gestolpert.Ansonsten: ist das wirklich ein Z-Stick Gen5 oder doch ein Z-Stick Gen5 + ? Ich hab grob im Hinterkopf dass ersterer Probleme mit neueren USB-Schnittstellen macht.
-
@esmax666 Der Stick liegt auf dem device node /dev/ttyAMA0
Hab gerade geprüft auf raspi3 hatte ich eher /dev/ttyACM0
-
@esmax666 Probier mal
/dev/serial0, da bin ich beim Raspberry Pi 4 auch schon drüber gestolpert.Ansonsten: ist das wirklich ein Z-Stick Gen5 oder doch ein Z-Stick Gen5 + ? Ich hab grob im Hinterkopf dass ersterer Probleme mit neueren USB-Schnittstellen macht.
@alcalzone Z-Stick Gen5 + mit raspu hat das funktioniert mit acm0
-
@esmax666 Probier mal
/dev/serial0, da bin ich beim Raspberry Pi 4 auch schon drüber gestolpert.Ansonsten: ist das wirklich ein Z-Stick Gen5 oder doch ein Z-Stick Gen5 + ? Ich hab grob im Hinterkopf dass ersterer Probleme mit neueren USB-Schnittstellen macht.
zwave2.0 2021-05-16 00:24:27.762 error (23524) The Z-Wave driver could not be started: Error: No such file or directory, cannot open /dev/serial0 zwave2.0 2021-05-16 00:24:27.604 info (23524) starting. Version 1.9.3 in /opt/iobroker/node_modules/iobroker.zwave2, node: v12.22.1, js-controller: 3.2.16 host.raspberrypi 2021-05-16 00:24:25.121 info instance system.adapter.zwave2.0 started with pid 23524 host.raspberrypi 2021-05-16 00:24:22.595 info instance system.adapter.zwave2.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION) zwave2.0 2021-05-16 00:24:21.999 info (13067) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason zwave2.0 2021-05-16 00:24:21.998 info (13067) terminating zwave2.0 2021-05-16 00:24:21.996 info (13067) Shutting down driver... host.raspberrypi 2021-05-16 00:24:21.997 info stopInstance system.adapter.zwave2.0 send kill signal zwave2.0 2021-05-16 00:24:21.994 info (13067) Got terminate signal TERMINATE_YOURSELF host.raspberrypi 2021-05-16 00:24:21.989 info stopInstance system.adapter.zwave2.0 (force=false, process=true) zwave2.0 2021-05-16 00:21:58.507 error (13067) The Z-Wave driver could not be started: Error: No such file or directory, cannot open /dev/ttyACM0 zwave2.0 2021-05-16 00:21:58.367 info (13067) starting. Version 1.9.3 in /opt/iobroker/node_modules/iobroker.zwave2, node: v12.22.1, js-controller: 3.2.16 host.raspberrypi 2021-05-16 00:21:56.051 info instance system.adapter.zwave2.0 started with pid 13067 host.raspberrypi 2021-05-16 00:21:53.467 info instance system.adapter.zwave2.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION) host.raspberrypi 2021-05-16 00:21:52.921 info stopInstance system.adapter.zwave2.0 send kill signal zwave2.0 2021-05-16 00:21:52.882 info (12357) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason zwave2.0 2021-05-16 00:21:52.880 info (12357) terminating zwave2.0 2021-05-16 00:21:52.879 info (12357) Shutting down driver... zwave2.0 2021-05-16 00:21:52.877 info (12357) Got terminate signal TERMINATE_YOURSELF host.raspberrypi 2021-05-16 00:21:52.859 info stopInstance system.adapter.zwave2.0 (force=false, process=true) zwave2.0 2021-05-16 00:21:49.469 error (12357) The Z-Wave driver could not be started: Error: No such file or directory, c -
@esmax666 Probier mal
/dev/serial0, da bin ich beim Raspberry Pi 4 auch schon drüber gestolpert.Ansonsten: ist das wirklich ein Z-Stick Gen5 oder doch ein Z-Stick Gen5 + ? Ich hab grob im Hinterkopf dass ersterer Probleme mit neueren USB-Schnittstellen macht.
-
@esmax666 Probier mal
/dev/serial0, da bin ich beim Raspberry Pi 4 auch schon drüber gestolpert.Ansonsten: ist das wirklich ein Z-Stick Gen5 oder doch ein Z-Stick Gen5 + ? Ich hab grob im Hinterkopf dass ersterer Probleme mit neueren USB-Schnittstellen macht.
Jetzt


zwave2.0 2021-05-16 07:55:56.747 error (12308) The Z-Wave driver could not be started: Error: Is a directory, cannot open /dev/ zwave2.0 2021-05-16 07:55:56.584 info (12308) starting. Version 1.9.3 in /opt/iobroker/node_modules/iobroker.zwave2, node: v12.22.1, js-controller: 3.2.16 host.raspberrypi 2021-05-16 07:55:54.148 info instance system.adapter.zwave2.0 started with pid 12308 host.raspberrypi 2021-05-16 07:55:51.659 info instance system.adapter.zwave2.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION) zwave2.0 2021-05-16 07:55:51.028 info (6004) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason zwave2.0 2021-05-16 07:55:51.026 info (6004) terminating zwave2.0 2021-05-16 07:55:51.025 info (6004) Shutting down driver... zwave2.0 2021-05-16 07:55:51.023 info (6004) Got terminate signal TERMINATE_YOURSELF host.raspberrypi 2021-05-16 07:55:51.022 info stopInstance system.adapter.zwave2.0 send kill signal host.raspberrypi 2021-05-16 07:55:51.014 info stopInstance system.adapter.zwave2.0 (force=false, process=true) zwave2.0 2021-05-16 07:54:38.393 info (6004) starting. Version 1.9.3 in /opt/iobroker/node_modules/iobroker.zwave2, node: v12.22.1, js-controller: 3.2.16 host.raspberrypi 2021-05-16 07:54:35.967 info instance system.adapter.zwave2.0 started with pid 6004 host.raspberrypi 2021-05-16 07:54:33.559 info instance system.adapter.zwave2.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION) zwave2.0 2021-05-16 07:54:32.824 info (21886) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason zwave2.0 2021-05-16 07:54:32.822 info (21886) terminating zwave2.0 2021-05-16 07:54:32.820 info (21886) Shutting down driver... zwave2.0 2021-05-16 07:54:32.812 info (21886) Got terminate signal TERMINATE_YOURSELF host.raspberrypi 2021-05-16 07:54:32.796 info stopInstance system.adapter.zwave2.0 send kill signal host.raspberrypi 2021-05-16 07:54:32.776 info stopInstance system.adapter.zwave2.0 (force=false, process=true) info.0 2021-05-16 07:49:56.003 warn (2765) State "info.0.uuid" has no existing object, this might lead to an error in future versions zwave2.0 2021-05-16 07:44:28.868 info (21886) starting. Version 1.9.3 in /opt/iobroker/node_modules/iobroker.zwave2, node: v12.22.1, js-controller: 3.2.16 host.raspberrypi 2021-05-16 07:44:26.457 info instance system.adapter.zwave2.0 started with pid 21886 host.raspberrypi 2021-05-16 07:44:24.074 info instance system.adapter.zwave2.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION) zwave2.0 2021-05-16 07:44:23.304 info (4553) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason zwave2.0 2021-05-16 07:44:23.303 info (4553) terminating zwave2.0 2021-05-16 07:44:23.301 info (4553) Shutting down driver... zwave2.0 2021-05-16 07:44:23.294 info (4553) Got terminate signal TERMINATE_YOURSELF host.raspberrypi 2021-05-16 07:44:23.292 info stopInstance system.adapter.zwave2.0 send kill signalVersion


-
Jetzt


zwave2.0 2021-05-16 07:55:56.747 error (12308) The Z-Wave driver could not be started: Error: Is a directory, cannot open /dev/ zwave2.0 2021-05-16 07:55:56.584 info (12308) starting. Version 1.9.3 in /opt/iobroker/node_modules/iobroker.zwave2, node: v12.22.1, js-controller: 3.2.16 host.raspberrypi 2021-05-16 07:55:54.148 info instance system.adapter.zwave2.0 started with pid 12308 host.raspberrypi 2021-05-16 07:55:51.659 info instance system.adapter.zwave2.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION) zwave2.0 2021-05-16 07:55:51.028 info (6004) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason zwave2.0 2021-05-16 07:55:51.026 info (6004) terminating zwave2.0 2021-05-16 07:55:51.025 info (6004) Shutting down driver... zwave2.0 2021-05-16 07:55:51.023 info (6004) Got terminate signal TERMINATE_YOURSELF host.raspberrypi 2021-05-16 07:55:51.022 info stopInstance system.adapter.zwave2.0 send kill signal host.raspberrypi 2021-05-16 07:55:51.014 info stopInstance system.adapter.zwave2.0 (force=false, process=true) zwave2.0 2021-05-16 07:54:38.393 info (6004) starting. Version 1.9.3 in /opt/iobroker/node_modules/iobroker.zwave2, node: v12.22.1, js-controller: 3.2.16 host.raspberrypi 2021-05-16 07:54:35.967 info instance system.adapter.zwave2.0 started with pid 6004 host.raspberrypi 2021-05-16 07:54:33.559 info instance system.adapter.zwave2.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION) zwave2.0 2021-05-16 07:54:32.824 info (21886) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason zwave2.0 2021-05-16 07:54:32.822 info (21886) terminating zwave2.0 2021-05-16 07:54:32.820 info (21886) Shutting down driver... zwave2.0 2021-05-16 07:54:32.812 info (21886) Got terminate signal TERMINATE_YOURSELF host.raspberrypi 2021-05-16 07:54:32.796 info stopInstance system.adapter.zwave2.0 send kill signal host.raspberrypi 2021-05-16 07:54:32.776 info stopInstance system.adapter.zwave2.0 (force=false, process=true) info.0 2021-05-16 07:49:56.003 warn (2765) State "info.0.uuid" has no existing object, this might lead to an error in future versions zwave2.0 2021-05-16 07:44:28.868 info (21886) starting. Version 1.9.3 in /opt/iobroker/node_modules/iobroker.zwave2, node: v12.22.1, js-controller: 3.2.16 host.raspberrypi 2021-05-16 07:44:26.457 info instance system.adapter.zwave2.0 started with pid 21886 host.raspberrypi 2021-05-16 07:44:24.074 info instance system.adapter.zwave2.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION) zwave2.0 2021-05-16 07:44:23.304 info (4553) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason zwave2.0 2021-05-16 07:44:23.303 info (4553) terminating zwave2.0 2021-05-16 07:44:23.301 info (4553) Shutting down driver... zwave2.0 2021-05-16 07:44:23.294 info (4553) Got terminate signal TERMINATE_YOURSELF host.raspberrypi 2021-05-16 07:44:23.292 info stopInstance system.adapter.zwave2.0 send kill signalVersion


@thomas-braun said in Test Adapter Z-Wave 2 v1.10.x:
Windows User, oder? Der Treiber ist im Linux-Kernel schon drin.
warum windows User ?
steht sogar in loghost.raspberrypi 2021-05-16 08:00:00.072 info instance system.adapter.ical.0 started with pid 29746 zwave2.0 2021-05-16 07:55:56.747 error (12308) The Z-Wave driver could not be started: Error: Is a directory, cannot open /dev/ zwave2.0 2021-05-16 07:55:56.584 info (12308) starting. Version 1.9.3 in /opt/iobroker/node_modules/iobroker.zwave2, node: v12.22.1, js-controller: 3.2.16 host.raspberrypi 2021-05-16 07:55:54.148 info instance system.adapter.zwave2.0 started with pid 12308 host.raspberrypi 2021-05-16 07:55:51.659 info instance system.adapter.zwave2.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION) zwave2.0 2021-05-16 07:55:51.028 info (6004) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason zwave2.0 2021-05-16 07:55:51.026 info (6004) terminating -
@thomas-braun said in Test Adapter Z-Wave 2 v1.10.x:
Windows User, oder? Der Treiber ist im Linux-Kernel schon drin.
warum windows User ?
steht sogar in loghost.raspberrypi 2021-05-16 08:00:00.072 info instance system.adapter.ical.0 started with pid 29746 zwave2.0 2021-05-16 07:55:56.747 error (12308) The Z-Wave driver could not be started: Error: Is a directory, cannot open /dev/ zwave2.0 2021-05-16 07:55:56.584 info (12308) starting. Version 1.9.3 in /opt/iobroker/node_modules/iobroker.zwave2, node: v12.22.1, js-controller: 3.2.16 host.raspberrypi 2021-05-16 07:55:54.148 info instance system.adapter.zwave2.0 started with pid 12308 host.raspberrypi 2021-05-16 07:55:51.659 info instance system.adapter.zwave2.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION) zwave2.0 2021-05-16 07:55:51.028 info (6004) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason zwave2.0 2021-05-16 07:55:51.026 info (6004) terminatingLinux raspberrypi 5.10.17-v7l+ #1414 SMP Fri Apr 30 13:20:47 BST 2021 armv7l The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Sun May 16 00:06:39 2021 pi@raspberrypi:~ $ npm i iobroker.zwave2 > @serialport/bindings@9.0.7 install /home/pi/node_modules/@serialport/bindings > prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild prebuild-install WARN install No prebuilt binaries found (target=12.22.1 runtime=node arch=arm libc= platform=linux) make: Verzeichnis „/home/pi/node_modules/@serialport/bindings/build“ wird betreten CXX(target) Release/obj.target/bindings/src/serialport.o ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Open(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/serialport.cpp:78:69: 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] 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:71: 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] 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:70: 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] 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:70: 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] 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:68: 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] 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:68: 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] 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:76: 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] _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:70: 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] 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] SerialPortParity NAN_INLINE(ToParityEnum(const v8::Local<v8::String>& v8str)) { ^ ../src/serialport.cpp:452:30: warning: unnecessary parentheses in declaration of ‘ToStopBitEnum’ [-Wparentheses] SerialPortStopBits NAN_INLINE(ToStopBitEnum(double stopBits)) { ^ In file included from ../../../nan/nan.h:56, from ../src/./serialport.h:6, from ../src/serialport.cpp:1: /home/pi/.cache/node-gyp/12.22.1/include/node/node.h:736:43: 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] (node::addon_register_func) (regfunc), \ ^ /home/pi/.cache/node-gyp/12.22.1/include/node/node.h:770:3: note: in expansion of macro ‘NODE_MODULE_X’ NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage) ^~~~~~~~~~~~~ ../src/serialport.cpp:486:1: note: in expansion of macro ‘NODE_MODULE’ NODE_MODULE(serialport, init); ^~~~~~~~~~~ CXX(target) Release/obj.target/bindings/src/serialport_unix.o ../src/serialport_unix.cpp: In function ‘int setup(int, OpenBaton*)’: ../src/serialport_unix.cpp:176:60: warning: ‘%s’ directive output may be truncated writing up to 1023 bytes into a region of size 1005 [-Wformat-truncation=] snprintf(data->errorString, sizeof(data->errorString), "Error %s Cannot open %s", strerror(errno), data->path); ^~~~~~~~~~~~~~~~~~~~~~~~~ ../src/serialport_unix.cpp:176:13: note: ‘snprintf’ output 20 or more bytes (assuming 1043) into a destination of size 1024 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:86:60: warning: ‘%s’ directive output may be truncated writing up to 1023 bytes into a region of size 1003 [-Wformat-truncation=] snprintf(data->errorString, sizeof(data->errorString), "Error: %s, cannot open %s", strerror(errno), data->path); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/serialport_unix.cpp:86:13: note: ‘snprintf’ output 22 or more bytes (assuming 1045) into a destination of size 1024 snprintf(data->errorString, sizeof(data->errorString), "Error: %s, cannot open %s", strerror(errno), data->path); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CXX(target) Release/obj.target/bindings/src/poller.o CXX(target) Release/obj.target/bindings/src/serialport_linux.o SOLINK_MODULE(target) Release/obj.target/bindings.node COPY Release/bindings.node make: Verzeichnis „/home/pi/node_modules/@serialport/bindings/build“ wird verlassennpm WARN saveError ENOENT: no such file or directory, open '/home/pi/package.json' npm notice created a lockfile as package-lock.json. You should commit this file. npm WARN enoent ENOENT: no such file or directory, open '/home/pi/package.json' npm WARN pi No description npm WARN pi No repository field. npm WARN pi No README data npm WARN pi No license field. + iobroker.zwave2@1.10.0 added 168 packages from 189 contributors and audited 168 packages in 41.299s 29 packages are looking for funding run `npm fund` for details found 0 vulnerabilities pi@raspberrypi:~ $ npm i zwave-js npm WARN saveError ENOENT: no such file or directory, open '/home/pi/package.json' npm WARN enoent ENOENT: no such file or directory, open '/home/pi/package.json' npm WARN pi No description npm WARN pi No repository field. npm WARN pi No README data npm WARN pi No license field. + zwave-js@7.4.0 updated 1 package and audited 309 packages in 6.047s 29 packages are looking for funding run `npm fund` for details found 0 vulnerabilities pi@raspberrypi:~ $ -
@esmax666 Probier mal
/dev/serial0, da bin ich beim Raspberry Pi 4 auch schon drüber gestolpert.Ansonsten: ist das wirklich ein Z-Stick Gen5 oder doch ein Z-Stick Gen5 + ? Ich hab grob im Hinterkopf dass ersterer Probleme mit neueren USB-Schnittstellen macht.
Das ist die Raspi3 die die funktionniert (npm version vielleicht passt nicht)
(hier ist ACM0) auf raspi4 geht auch nicht fehlt etwas ?



-
@thomas-braun said in Test Adapter Z-Wave 2 v1.10.x:
Windows User, oder? Der Treiber ist im Linux-Kernel schon drin.
warum windows User ?
steht sogar in loghost.raspberrypi 2021-05-16 08:00:00.072 info instance system.adapter.ical.0 started with pid 29746 zwave2.0 2021-05-16 07:55:56.747 error (12308) The Z-Wave driver could not be started: Error: Is a directory, cannot open /dev/ zwave2.0 2021-05-16 07:55:56.584 info (12308) starting. Version 1.9.3 in /opt/iobroker/node_modules/iobroker.zwave2, node: v12.22.1, js-controller: 3.2.16 host.raspberrypi 2021-05-16 07:55:54.148 info instance system.adapter.zwave2.0 started with pid 12308 host.raspberrypi 2021-05-16 07:55:51.659 info instance system.adapter.zwave2.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION) zwave2.0 2021-05-16 07:55:51.028 info (6004) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason zwave2.0 2021-05-16 07:55:51.026 info (6004) terminating@esmax666 sagte in Test Adapter Z-Wave 2 v1.10.x:
steht sogar in log
Da steht, dass /dev kein device node ist sondern ein Verzeichnis. Vermutlich hast du /dev in den Einstellungen des Adapters drin.
pi@raspberrypi:~ $ npm i iobroker.zwave2
Ist falsch. Jetzt hast du das im /home-Verzeichnis von pi installiert.
Nimm den Adapter aus der Adapterliste im Admin.Aus deinem dmesg:
[Sa Mai 15 21:06:15 2021] fe201000.serial: ttyAMA0 at MMIO 0xfe201000 (irq = 36, base_baud = 0) is a PL011 rev2Das ist der für das Gerät geladene Treiber. Und da sieht man auch, dass das Device auf ttyAMA0 liegt.
-
@esmax666 sagte in Test Adapter Z-Wave 2 v1.10.x:
steht sogar in log
Da steht, dass /dev kein device node ist sondern ein Verzeichnis. Vermutlich hast du /dev in den Einstellungen des Adapters drin.
pi@raspberrypi:~ $ npm i iobroker.zwave2
Ist falsch. Jetzt hast du das im /home-Verzeichnis von pi installiert.
Nimm den Adapter aus der Adapterliste im Admin.Aus deinem dmesg:
[Sa Mai 15 21:06:15 2021] fe201000.serial: ttyAMA0 at MMIO 0xfe201000 (irq = 36, base_baud = 0) is a PL011 rev2Das ist der für das Gerät geladene Treiber. Und da sieht man auch, dass das Device auf ttyAMA0 liegt.
@thomas-braun said in Test Adapter Z-Wave 2 v1.10.x:
Nimm den Adapter aus der Adapterliste im Admin.
Hatte ich schon gemacht.
sogar sogar instance weg gemacht und neu gemacht
leider geht es nicht mehr
-
@thomas-braun said in Test Adapter Z-Wave 2 v1.10.x:
Nimm den Adapter aus der Adapterliste im Admin.
Hatte ich schon gemacht.
sogar sogar instance weg gemacht und neu gemacht
leider geht es nicht mehr
@esmax666 sagte in Test Adapter Z-Wave 2 v1.10.x:
leider geht es nicht mehr
Stimmt dann wohl.
Leider kann man aus deiner 'Fehlerbeschreibung' nichts herauslesen. -
@esmax666 sagte in Test Adapter Z-Wave 2 v1.10.x:
leider geht es nicht mehr
Stimmt dann wohl.
Leider kann man aus deiner 'Fehlerbeschreibung' nichts herauslesen.@thomas-braun was kann ich sonst noch als info geben ?
sonst habe ich noch 2 warn und 1 error
info.0 2021-05-16 13:07:15.628 warn (2791) State "info.0.uuid" has no existing object, this might lead to an error in future versions host.raspberrypi 2021-05-16 13:00:08.345 info instance system.adapter.ical.0 terminated with code 0 (NO_ERROR) host.raspberrypi 2021-05-16 13:00:00.042 info instance system.adapter.ical.0 started with pid 5361 zwave2.0 2021-05-16 12:59:53.829 info (5346) starting. Version 1.9.3 in /opt/iobroker/node_modules/iobroker.zwave2, node: v12.22.1, js-controller: 3.2.16 host.raspberrypi 2021-05-16 12:59:51.487 info instance system.adapter.zwave2.0 started with pid 5346 host.raspberrypi 2021-05-16 12:59:21.429 info Restart adapter system.adapter.zwave2.0 because enabled host.raspberrypi 2021-05-16 12:59:21.428 info instance system.adapter.zwave2.0 terminated with code NaN () host.raspberrypi 2021-05-16 12:59:21.427 warn instance system.adapter.zwave2.0 terminated due to SIGABRT host.raspberrypi 2021-05-16 12:59:21.422 error Caught by controller[0]: FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory zwave2.0 2021-05-16 12:45:57.264 info (5176) starting. Version 1.9.3 in /opt/iobroker/node_modules/iobroker.zwave2, node: v12.22.1, js-controller: 3.2.16 host.raspberrypi 2021-05-16 12:45:55.024 info instance system.adapter.zwave2.0 started with pid 5176 host.raspberrypi 2021-05-16 12:45:24.958 info Restart adapter system.adapter.zwave2.0 because enabled host.raspberrypi 2021-05-16 12:45:24.957 info instance system.adapter.zwave2.0 terminated with code NaN () host.raspberrypi 2021-05-16 12:45:24.956 warn instance system.adapter.zwave2.0 terminated due to SIGABRT host.raspberrypi 2021-05-16 12:45:24.950 error Caught by controller[0]: FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory info.0 2021-05-16 12:37:15.604 warn (2791) State "info.0.uuid" has no existing object, this might lead to an error in future versions zwave2.0 2021-05-16 12:32:01.208 info (5010) starting. Version 1.9.3 in /opt/iobroker/node_modules/iobroker.zwave2, node: v12.22.1, js-controller: 3.2.16 host.raspberrypi 2021-05-16 12:31:58.911 info instance system.adapter.zwave2.0 started with pid 5010 host.raspberrypi 2021-05-16 12:31:28.859 info Restart adapter system.adapter.zwave2.0 because enabled host.raspberrypi 2021-05-16 12:31:28.859 info instance system.adapter.zwave2.0 terminated with code NaN () host.raspberrypi 2021-05-16 12:31:28.858 warn instance system.adapter.zwave2.0 terminated due to SIGABRT host.raspberrypi 2021-05-16 12:31:28.857 error Caught by controller[0]: FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.
Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.
Mit deinem Input könnte dieser Beitrag noch besser werden 💗
Registrieren Anmelden