Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Timeout on waiting for ACK (Reopen) #4061

Open
3 tasks done
Pablowyatt opened this issue Dec 14, 2024 · 1 comment
Open
3 tasks done

Timeout on waiting for ACK (Reopen) #4061

Pablowyatt opened this issue Dec 14, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Pablowyatt
Copy link

Checklist

  • I am not using Home Assistant. Or: a developer has told me to come here.
  • I have checked the troubleshooting section and my problem is not described there.
  • I have read the changelog and my problem is not mentioned there.

Deploy method

Home Assistant Add-on

Z-Wave JS UI version

3.18.0

ZwaveJS version

0.9.0

Describe the bug

Using a Sonoff P dongle on a VM, obtaining constant Failed to initialize the driver: ZWaveError: Timeout while waiting for an ACK from the controller (ZW0200). I have tried restarting both VM and host repeatedly; as well as changed port and re-bound the USB multiple times.

I have purchased a new P dongle to rule out hardware issues, which seem to be ruled out by the fact that both dongles work just fine with Mosquitto and Zigbee2MQTT.

I have disabled soft-reset as per another home assistant thread, to no avail. Debug logs have been enabled and writing to file, but they are an endless loop of attempts to get an acknowledge message from the controller.

Have also reinstalled Zwave and zwave ui multiple times, but this seems to be a zwave issue.

Any help appreciated, I am trying to use ZWAVE as the shelly wave shutters do not seem to be compatible with mqtt and although the wave shutters are installed, I am unable to test the zigbee connection. Thanks in advance.

To Reproduce

Sonoff P dongle, bind device, install zwave.

Expected behavior

ZWave should be able to detect the dongle.

Additional context

024-12-14T12:05:14.771Z DRIVER starting driver...
2024-12-14T12:05:14.772Z DRIVER opening serial port /dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_P
lus_4a676fdfb645ed11932fca8f0a86e0b4-if00-port0
2024-12-14T12:05:14.785Z DRIVER serial port opened
2024-12-14T12:05:14.786Z SERIAL » 0x15 (1 bytes)
2024-12-14 13:05:14.787 INFO Z-WAVE: Zwavejs usage statistics ENABLED
2024-12-14 13:05:14.787 WARN Z-WAVE: Zwavejs driver is not ready yet, statistics will be enabled on driver initialization
2024-12-14T12:05:15.804Z DRIVER loading configuration...
2024-12-14T12:05:15.807Z CONFIG Using external configuration dir /data/db
2024-12-14T12:05:15.808Z CONFIG version 14.3.7
2024-12-14T12:05:16.294Z DRIVER beginning interview...
2024-12-14T12:05:16.295Z DRIVER added request handler for AddNodeToNetwork (0x4a)...
1 registered
2024-12-14T12:05:16.295Z DRIVER added request handler for RemoveNodeFromNetwork (0x4b)...
1 registered
2024-12-14T12:05:16.295Z DRIVER added request handler for ReplaceFailedNode (0x63)...
1 registered
2024-12-14T12:05:16.295Z DRIVER added request handler for SetLearnMode (0x50)...
1 registered
2024-12-14T12:05:16.295Z CNTRLR querying Serial API capabilities...
2024-12-14T12:05:16.296Z SERIAL » 0x01030007fb (5 bytes)
2024-12-14T12:05:16.297Z DRIVER » [REQ] [GetSerialApiCapabilities]
2024-12-14T12:05:17.318Z CNTRLR Failed to execute controller command after 1/3 attempts. Scheduling next try i
n 100 ms.
2024-12-14T12:05:17.423Z DRIVER » [REQ] [GetSerialApiCapabilities]
2024-12-14T12:05:17.425Z SERIAL » 0x01030007fb (5 bytes)
2024-12-14T12:05:18.433Z CNTRLR Failed to execute controller command after 2/3 attempts. Scheduling next try i
n 1100 ms.
2024-12-14T12:05:19.541Z DRIVER » [REQ] [GetSerialApiCapabilities]
2024-12-14T12:05:19.543Z SERIAL » 0x01030007fb (5 bytes)
2024-12-14T12:05:20.547Z DRIVER Failed to initialize the driver: ZWaveError: Timeout while waiting for an ACK
from the controller (ZW0200)
at Driver.sendMessage (/opt/node_modules/zwave-js/src/lib/driver/Driver.ts
:6059:23)
at ZWaveController2.queryCapabilities (/opt/node_modules/zwave-js/src/lib/
controller/Controller.ts:1144:37)
at Driver.initializeControllerAndNodes (/opt/node_modules/zwave-js/src/lib
/driver/Driver.ts:1665:46)
at Immediate. (/opt/node_modules/zwave-js/src/lib/driver/Driver
.ts:1466:16)
2024-12-14 13:05:20.548 INFO Z-WAVE: Restarting client in 15 seconds, retry 63

@Pablowyatt Pablowyatt added the bug Something isn't working label Dec 14, 2024
@kpine
Copy link
Contributor

kpine commented Dec 14, 2024

Using a Sonoff P dongle on a VM

This is a Zigbee controller. It will not work with Z-Wave software. Here's a list of some supported controllers. https://www.home-assistant.io/docs/z-wave/controllers/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants