ioBroker.zwave2 icon indicating copy to clipboard operation
ioBroker.zwave2 copied to clipboard

After rpi update upgrade adapter crashes

Open vaaarg opened this issue 1 year ago • 3 comments

After normal Pi5 update Adapter is not working anymore. Any ideas ?

Installierte Version: 3.1.0 jscontroller: 6.0.11 Plattform: linux Betriebssystem: linux Architektur: arm64 Geschwindigkeit: 2400 MHz Modell: Cortex-A76 RAM: 7.8 GB Node.js: v20.17.0 NPM: 10.8.2

`

zwave2.0 | 2024-09-07 08:03:29.435 | error | Restarting the adapter in a second... -- | -- | -- | -- zwave2.0 | 2024-09-07 08:03:29.434 | error | Failed to initialize the driver: ZWaveError: Timeout while waiting for an ACK from the controller (ZW0200) at Driver.sendMessage (/opt/iobroker/node_modules/zwave-js/src/lib/driver/Driver.ts:4360:23) at ZWaveController.interview (/opt/iobroker/node_modules/zwave-js/src/lib/controller/Controller.ts:964:22) at Driver.initializeControllerAndNodes (/opt/iobroker/node_modules/zwave-js/src/lib/driver/Driver.ts:1427:27) at Immediate. (/opt/iobroker/node_modules/zwave-js/src/lib/driver/Driver.ts:1171:5) (ZW0100) zwave2.0 | 2024-09-07 08:03:24.664 | info | starting. Version 3.1.0 in /opt/iobroker/node_modules/iobroker.zwave2, node: v20.17.0, js-controller: 6.0.11 zwave2.0 | 2024-09-07 08:03:21.766 | info | Shutting down driver... zwave2.0 | 2024-09-07 08:03:21.256 | info | Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason zwave2.0 | 2024-09-07 08:03:20.255 | error | Restarting the adapter in a second... zwave2.0 | 2024-09-07 08:03:20.254 | error | Failed to initialize the driver: ZWaveError: Timeout while waiting for an ACK from the controller (ZW0200) at Driver.sendMessage (/opt/iobroker/node_modules/zwave-js/src/lib/driver/Driver.ts:4360:23) at ZWaveController.interview (/opt/iobroker/node_modules/zwave-js/src/lib/controller/Controller.ts:964:22) at Driver.initializeControllerAndNodes (/opt/iobroker/node_modules/zwave-js/src/lib/driver/Driver.ts:1427:27) at Immediate. (/opt/iobroker/node_modules/zwave-js/src/lib/driver/Driver.ts:1171:5) (ZW0100) zwave2.0 | 2024-09-07 08:03:15.482 | info | starting. Version 3.1.0 in /opt/iobroker/node_modules/iobroker.zwave2, node: v20.17.0, js-controller: 6.0.11 zwave2.0 | 2024-09-07 08:03:12.623 | info | Shutting down driver... zwave2.0 | 2024-09-07 08:03:12.115 | info | Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason zwave2.0 | 2024-09-07 08:03:11.113 | error | Restarting the adapter in a second... zwave2.0 | 2024-09-07 08:03:11.113 | error | Failed to initialize the driver: ZWaveError: Timeout while waiting for an ACK from the controller (ZW0200) at Driver.sendMessage (/opt/iobroker/node_modules/zwave-js/src/lib/driver/Driver.ts:4360:23) at ZWaveController.interview (/opt/iobroker/node_modules/zwave-js/src/lib/controller/Controller.ts:964:22) at Driver.initializeControllerAndNodes (/opt/iobroker/node_modules/zwave-js/src/lib/driver/Driver.ts:1427:27) at Immediate. (/opt/iobroker/node_modules/zwave-js/src/lib/driver/Driver.ts:1171:5) (ZW0100) zwave2.0 | 2024-09-07 08:03:06.338 | info | starting. Version 3.1.0 in /opt/iobroker/node_modules/iobroker.zwave2, node: v20.17.0, js-controller: 6.0.11 zwave2.0 | 2024-09-07 08:03:03.254 | info | Shutting down driver... zwave2.0 | 2024-09-07 08:03:02.266 | info | Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason zwave2.0 | 2024-09-07 08:03:01.265 | error | Restarting the adapter in a second... zwave2.0 | 2024-09-07 08:03:01.254 | error | Failed to initialize the driver: ZWaveError: Timeout while waiting for an ACK from the controller (ZW0200) at Driver.sendMessage (/opt/iobroker/node_modules/zwave-js/src/lib/driver/Driver.ts:4360:23) at ZWaveController.interview (/opt/iobroker/node_modules/zwave-js/src/lib/controller/Controller.ts:964:22) at Driver.initializeControllerAndNodes (/opt/iobroker/node_modules/zwave-js/src/lib/driver/Driver.ts:1427:27) at Immediate. (/opt/iobroker/node_modules/zwave-js/src/lib/driver/Driver.ts:1171:5) (ZW0100) zwave2.0 | 2024-09-07 08:02:46.452 | info | starting. Version 3.1.0 in /opt/iobroker/node_modules/iobroker.zwave2, node: v20.17.0, js-controller: 6.0.11 zwave2.0 | 2024-09-07 08:02:43.744 | info | Shutting down driver... zwave2.0 | 2024-09-07 08:02:43.238 | info | Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason zwave2.0 | 2024-09-07 08:02:42.237 | error | Restarting the adapter in a second... zwave2.0 | 2024-09-07 08:02:42.237 | error | Failed to initialize the driver: ZWaveError: Timeout while waiting for an ACK from the controller (ZW0200) at Driver.sendMessage (/opt/iobroker/node_modules/zwave-js/src/lib/driver/Driver.ts:4360:23) at ZWaveController.interview (/opt/iobroker/node_modules/zwave-js/src/lib/controller/Controller.ts:964:22) at Driver.initializeControllerAndNodes (/opt/iobroker/node_modules/zwave-js/src/lib/driver/Driver.ts:1427:27) at Immediate. (/opt/iobroker/node_modules/zwave-js/src/lib/driver/Driver.ts:1171:5) (ZW0100) zwave2.0 | 2024-09-07 08:02:37.462 | info | starting. Version 3.1.0 in /opt/iobroker/node_modules/iobroker.zwave2, node: v20.17.0, js-controller: 6.0.11 `

vaaarg avatar Sep 07 '24 06:09 vaaarg

Try unplugging and re-inserting the Z-Wave stick. Double check that the path is correct.

AlCalzone avatar Sep 07 '24 06:09 AlCalzone

Try unplugging and re-inserting the Z-Wave stick. Double check that the path is correct.

I'm using the Razberry board (no usb stick, just the board i think 2.0). Could it be the serial config of the pi5 changed through upgrade ?

Restartet and replugged everything but no change

Tried to find the board but failed

pi@iobroker:~ $ ls -l /dev/serial/by-id
total 0
lrwxrwxrwx 1 root root 13 Sep  7 08:33 usb-Texas_Instruments_CC2538_USB_CDC-if00 -> ../../ttyACM0
pi@iobroker:~ $

CommandLine

console=tty1 console=serial0,115200 root=PARTUUID=d007c190-02 rootfstype=ext4 fsck.repair=yes rootwait

Boot Config

pi@iobroker:~ $ sudo nano /boot/firmware/config.txt
  GNU nano 7.2                                                                                              /boot/firmware/config.txt
# For more options and information see
# http://rptl.io/configtxt
# Some settings may impact device functionality. See link above for details

# Uncomment some or all of these to enable the optional hardware interfaces
#dtparam=i2c_arm=on
#dtparam=i2s=on
#dtparam=spi=on

# Enable audio (loads snd_bcm2835)
dtparam=audio=on

# Additional overlays and parameters are documented
# /boot/firmware/overlays/README

# Automatically load overlays for detected cameras
camera_auto_detect=1

# Automatically load overlays for detected DSI displays
display_auto_detect=1

# Automatically load initramfs files, if found
auto_initramfs=1

# Enable DRM VC4 V3D driver
dtoverlay=vc4-kms-v3d
max_framebuffers=2

# Don't have the firmware create an initial video= setting in cmdline.txt.
# Use the kernel's default instead.
disable_fw_kms_setup=1

# Run in 64-bit mode
arm_64bit=1

# Disable compensation for displays with overscan
disable_overscan=1

# Run as fast as firmware / board allows
arm_boost=1

dtoverlay=disable-bt
dtoverlay=disable-wifi
enable_uart=1
force_turbo=1



[cm4]
# Enable host mode on the 2711 built-in XHCI USB controller.
# This line should be removed if the legacy DWC2 controller is required
# (e.g. for USB device mode) or if USB support is not required.
otg_mode=1

[all]

dtparam=uart0=on

vaaarg avatar Sep 07 '24 06:09 vaaarg

According to https://www.home-assistant.io/docs/z-wave/controllers/#raspberry-pi-5-procedure RPi5 needs a different config.txt change than previous versions, namely

dtoverlay=uart0

instead of

dtoverlay=disable-bt
enable_uart=1

AlCalzone avatar Sep 07 '24 08:09 AlCalzone