Hi, I have a RPi and for power supply reasons, I want to add an external USB port that can deliver more power.
(How) can I move the z-stick to that USB hub and get zwaveJS to work again?
I think you should be fine just moving it. Make sure you’ve plugged in the powered hub to the same usb port you were using before.
Hi, thanks for the suggestion.
Trying that with no luck, log says:
2022-08-01T19:18:11.618Z CNTRLR Failed to execute controller command after 1/3 attempts. Scheduling next try i
n 100 ms.
2022-08-01T19:18:12.756Z CNTRLR Failed to execute controller command after 2/3 attempts. Scheduling next try i
n 1100 ms.
2022-08-01T19:18:14.954Z 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:3547:23)
at ZWaveController.identify (/usr/src/node_modules/zwave-js/src/lib/contro
ller/Controller.ts:736:33)
at Driver.initializeControllerAndNodes (/usr/src/node_modules/zwave-js/src
/lib/driver/Driver.ts:1117:26)
at Immediate.<anonymous> (/usr/src/node_modules/zwave-js/src/lib/driver/Dr
iver.ts:924: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:3547:23)
at ZWaveController.identify (/usr/src/node_modules/zwave-js/src/lib/controller/Controller.ts:736:33)
at Driver.initializeControllerAndNodes (/usr/src/node_modules/zwave-js/src/lib/driver/Driver.ts:1117:26)
at Immediate.<anonymous> (/usr/src/node_modules/zwave-js/src/lib/driver/Driver.ts:924:16) (ZW0100)
at Immediate.<anonymous> (/usr/src/node_modules/zwave-js/src/lib/driver/Driver.ts:941:6)
at processTicksAndRejections (internal/process/task_queues.js:95:5) {
code: 100,
context: undefined,
transactionSource: undefined
}
The only to devices I could choose from was: ( I bought the hub to be able drive both zigbee and z-Wave with enough power.
/dev/ttyAMA0
/dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_127ee6009fc9eb11b3508d4f1d69213e-if00-port0
You said zwave in your initial post but you’re showing a Sonoff zigbee dongle. There are dongles that do both zigbee & zwave but the Sonoff is zigbee only.
If you really meant to write zigbee in the initial post use the
/dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_127ee6009fc9eb11b3508d4f1d69213e-if00-port0
in your configuration. You also probably need to reboot after making the change.
Hi, thanks for taking your time reading this.
I have both ZigBee and zWave.
Getting the ZigBee device was the reason they i wanted the high power USB hub.
I also have a Tellstick that requires power.
My preferred setup would be use the hub to power all power hungry devices and offload that from the Raspberry Pi.
The list above shows the devices i see when I go to configuration of the zWaveJS add-on.
Sorry if it was confusing.
If you’re looking in the SETTINGS/SYSTEM/HARDWARE/ALL (the three dots), you’ll probably find your zwave device under ttyACM0 – I think that’s the default. You should reconfigure it by it’s device id (same for the zigbee if you haven’t) or you could lose it when you reboot. If you’re only finding the zigbee stick then your Pi isn’t seeing it.
Two things: you can have problems if the zwave stick is plugged into a usb3 port which is why I said earlier to make sure you had your power hub plugged into that port. Secondly, power hubs can be problematic. There’s a lot of information on them & debates on compatibility. They can bring problems.
That said, if you’re using a standard rpi power block then there should be plenty of power for a zwave & zigbee stick. I’m using 2 zigbee sticks for two networks & a zwave stick with just the rpi power & I’m not having any problem at all.
Thanks.
I have given up (temporarily) on moving the zWave stick to the USB and now it works again.
Hi! @Gnat54 I have just migrated my HA from an SD card to SSD (connected with USB to SATA adapter). The SSD is connected to the USB 3.0 port and the migration worked fine. I also had an Aeotec z-stick 7 connected to one of the USB 2.0 ports. After reading about the interference issues, I connected it with a 2m USB extension. I believe that I connected it to the same port but when I booted my HA after the migration, the integration caard says: “Retrying setup: None” and when I click on configure, I get: “Z-Wave JS: Retrying steup None” and an exclamation mark.
Any idea what went wrong and if I can somehow fix it? Or do I need to set up the integration again?
Thank you!
Hi again, I panicked a bit because I did not want to lose too much of the data from the sensors from the z-wave devices I have. I googled a bit, searched through the forum and into my HA. I realised that none of the add-ons were working. They were all greyed out and clicking “start” was not helping. I found one solution where someone suggested that deletion of the database file resolves the issues. The I found that someone wrote that you should not do that but rather reboot the system. Not restart the HA (that did not help) but reboot the system.
That helped me! So posting it here just in case someone runs into the same issue.
I found a solution in other topics. First of all, I realised that my add-ons were not starting. I could not start them by clicking on “start” button. I then found another topic which suggested rebooting the machine (not restarting the HA) and that solved the issue! So the z-wave issue was caused by the add-on not starting and that was caused by the migration and restore of a backup but then solved by the reboot.