zwave-js / zwave-js-ui

Full featured Z-Wave Control Panel UI and MQTT gateway. Built using Nodejs, and Vue/Vuetify
https://zwave-js.github.io/zwave-js-ui
MIT License
988 stars 206 forks source link

Zooz 800 stick serial api restarted unexpectedly #3874

Closed pmkone closed 2 months ago

pmkone commented 3 months ago

Checklist

Deploy method

Home Assistant Add-on

Z-Wave JS UI version

3.10.0

ZwaveJS version

9.17.0

Describe the bug

Devices (for the most part) work fine. Can control and they update status.

Issue starts when I try to do anything like include, replace, exclude or firmware update.

Things become unresponsive and the logs keep saying:

2024-08-30T16:48:43.438Z CNTRLR Switching serial API to 16-bit node IDs... 2024-08-30T16:48:43.443Z CNTRLR Switching to 16-bit node IDs successful 2024-08-30T16:48:45.454Z CNTRLR Serial API restarted unexpectedly. 2024-08-30T16:48:45.454Z CNTRLR Currently active command will be retried... 2024-08-30T16:48:45.454Z CNTRLR Starting hardware watchdog... 2024-08-30T16:48:45.456Z CNTRLR Switching serial API to 16-bit node IDs... 2024-08-30T16:48:45.461Z CNTRLR Switching to 16-bit node IDs successful 2024-08-30T16:48:47.596Z CNTRLR Serial API restarted unexpectedly. 2024-08-30T16:48:47.596Z CNTRLR Currently active command will be retried... 2024-08-30T16:48:47.596Z CNTRLR Starting hardware watchdog... 2024-08-30T16:48:47.597Z CNTRLR Switching serial API to 16-bit node IDs... 2024-08-30T16:48:47.602Z CNTRLR Switching to 16-bit node IDs successful 2024-08-30 12:48:48.249 INFO APP: GET /health/zwave 301 0.377 ms - 191 2024-08-30T16:48:50.077Z CNTRLR Serial API restarted unexpectedly. 2024-08-30T16:48:50.077Z CNTRLR Currently active command will be retried... 2024-08-30T16:48:50.077Z CNTRLR Starting hardware watchdog... 2024-08-30T16:48:50.080Z CNTRLR Switching serial API to 16-bit node IDs... 2024-08-30T16:48:50.085Z CNTRLR Switching to 16-bit node IDs successful 2024-08-30T16:48:52.150Z CNTRLR Serial API restarted unexpectedly.

When I unplug it and plug it back in it's fine until I run one of the aforementioned commands.

To Reproduce

Not sure other than trying to upgrade,include,exclude. Using an extension cable

Expected behavior

Expect the commands to actually work without what I assume is the controller crashing.

Additional context

No response

robertsLando commented 2 months ago

cc @AlCalzone

AlCalzone commented 2 months ago

Please make a driver log showing the issue, loglevel debug and attach it here as a file (drag & drop into the text field).

Also, which firmware version is running on that stick?

ponier commented 2 months ago

for what it's worth, I ran into this issue on FW 1.2 and it seems to have resolved after upgrading to 1.5.

fair warning - the FW upgrade failed at first on Home Assistant (could be common, there is a warning in firmware update instructions as well), so I had to do the xmodem upload using TeraTerm on PC after the stick got stuck in bootloader.

AlCalzone commented 2 months ago

after the stick got stuck in bootloader.

Z-Wave JS UI has a setting "bootloader only" that allows it to operate sticks in that mode.