Z-Wave JS - Error in driver ZWaveError: Failed to initialize the driver

Hi there,

I need help in solving my broken Z-wave network.
Although I have read many posts about more or less similar issues, i couldn’t get the issue resolved.

I have Home Assistant running on a Raspberry Pi with an Aeotec z-stick gen 7.
After a restart I see several Failed and Error messages in the log.

Log-file:

*[16:56:07] INFO: Service restart after closing*
*s6-rc: info: service legacy-services successfully stopped*
*s6-rc: info: service legacy-cont-init: stopping*
*s6-rc: info: service legacy-cont-init successfully stopped*
*s6-rc: info: service fix-attrs: stopping*
*s6-rc: info: service fix-attrs successfully stopped*
*s6-rc: info: service s6rc-oneshot-runner: stopping*
*s6-rc: info: service s6rc-oneshot-runner successfully stopped*
*s6-rc: info: service s6rc-oneshot-runner: starting*
*s6-rc: info: service s6rc-oneshot-runner successfully started*
*s6-rc: info: service fix-attrs: starting*
*s6-rc: info: service fix-attrs successfully started*
*s6-rc: info: service legacy-cont-init: starting*
*cont-init: info: running /etc/cont-init.d/config.sh*
*[18:56:39] INFO: Both 'network_key' and 's0_legacy_key' are set and match. All ok.*
*[18:56:41] INFO: Soft-reset disabled by user*
*cont-init: info: /etc/cont-init.d/config.sh exited 0*
*cont-init: info: running /etc/cont-init.d/structure.sh*
*cont-init: info: /etc/cont-init.d/structure.sh exited 0*
*s6-rc: info: service legacy-cont-init successfully started*
*s6-rc: info: service legacy-services: starting*
*services-up: info: copying legacy longrun zwave_js (no readiness notification)*
*s6-rc: info: service legacy-services successfully started*
*[18:56:44] INFO: Successfully send discovery information to Home Assistant.*
*2024-07-26T16:56:46.846Z DRIVER   ███████╗        ██╗    ██╗  █████╗  ██╗   ██╗ ███████╗          ██╗ ███████╗*
*                                  ╚══███╔╝        ██║    ██║ ██╔══██╗ ██║   ██║ ██╔════╝          ██║ ██╔════╝*
*                                    ███╔╝  █████╗ ██║ █╗ ██║ ███████║ ██║   ██║ █████╗            ██║ ███████╗*
*                                   ███╔╝   ╚════╝ ██║███╗██║ ██╔══██║ ╚██╗ ██╔╝ ██╔══╝       ██   ██║ ╚════██║*
*                                  ███████╗        ╚███╔███╔╝ ██║  ██║  ╚████╔╝  ███████╗     ╚█████╔╝ ███████║*
*                                  ╚══════╝         ╚══╝╚══╝  ╚═╝  ╚═╝   ╚═══╝   ╚══════╝      ╚════╝  ╚══════╝*
*2024-07-26T16:56:46.852Z DRIVER   version 12.11.2*
*2024-07-26T16:56:46.853Z DRIVER   *
*2024-07-26T16:56:47.946Z CONFIG   version 12.11.1*
*2024-07-26T16:56:49.340Z CNTRLR   querying Serial API capabilities...*
*2024-07-26T16:56:50.729Z CNTRLR   Failed to execute controller command after 1/3 attempts. Scheduling next try i*
*                                  n 100 ms.*
*2024-07-26T16:56:51.840Z CNTRLR   Failed to execute controller command after 2/3 attempts. Scheduling next try i*
*                                  n 1100 ms.*
*2024-07-26T16:56:53.971Z DRIVER   Failed to initialize the driver: ZWaveError: Timeout while waiting for an ACK *
*                                  from the controller (ZW0200)*
*                                      at Driver.sendMessage (/usr/src/node_modules/zwave-js/src/lib/driver/Drive*
*                                  r.ts:5450:23)*
*                                      at ZWaveController.queryCapabilities (/usr/src/node_modules/zwave-js/src/l*
*                                  ib/controller/Controller.ts:1007:37)*
*                                      at Driver.initializeControllerAndNodes (/usr/src/node_modules/zwave-js/src*
*                                  /lib/driver/Driver.ts:1475:46)*
*                                      at Immediate.<anonymous> (/usr/src/node_modules/zwave-js/src/lib/driver/Dr*
*                                  iver.ts:1276:16)*
*Error in driver ZWaveError: Failed to initialize the driver: ZWaveError: Timeout while waiting for an ACK from the controller (ZW0200)*
*    at Driver.sendMessage (/usr/src/node_modules/zwave-js/src/lib/driver/Driver.ts:5450:23)*
*    at ZWaveController.queryCapabilities (/usr/src/node_modules/zwave-js/src/lib/controller/Controller.ts:1007:37)*
*    at Driver.initializeControllerAndNodes (/usr/src/node_modules/zwave-js/src/lib/driver/Driver.ts:1475:46)*
*    at Immediate.<anonymous> (/usr/src/node_modules/zwave-js/src/lib/driver/Driver.ts:1276:16) (ZW0100)*
*    at Immediate.<anonymous> (/usr/src/node_modules/zwave-js/src/lib/driver/Driver.ts:1296:6) {*
*  code: 100,*
*  context: undefined,*
*  transactionSource: undefined*
*}*
*Shutting down*
*[16:56:54] WARNING: Halt add-on*
*s6-rc: info: service legacy-services: stopping*
*s6-rc: info: service legacy-services successfully stopped*
*s6-rc: info: service legacy-cont-init: stopping*
*s6-rc: info: service legacy-cont-init successfully stopped*
*s6-rc: info: service fix-attrs: stopping*
*s6-rc: info: service fix-attrs successfully stopped*
*s6-rc: info: service s6rc-oneshot-runner: stopping*
*s6-rc: info: service s6rc-oneshot-runner successfully stopped*

What have I tried already?

  • Update firmware Aeotec z-stick gen 7 to version 7.20
  • Removing stick, shutdown HA, restart HA, shutdown HA, Place stick, restart HA

Home assistant

  • Core2024.7.3
  • Supervisor2024.06.2
  • Operating System12.4
  • Frontend20240710.0

What’s the USB path the Z-Wave add-on is configured with? Do you have any other serial USB devices such as a Zigbee controller?

If you access the console of your system, are there any USB-related errors printed?

/dev/serial/by-id/usb-Silicon_Labs_CP2102N_USB_to_UART_Bridge_Controller_ba937d65e784ed118dc5c49f9d1cc348-if00-port0

I’ve tried to use a Zigbee USB controller but currently not connected. First I want to resolve the Z-wave problem.