Hi,
I bought a ZMEEUZB1 Z-Wave stick and I cannot get it to work.
I am running openHAB 3.0.2, without any changes.
This is a log from bootup, with one attempt from me to hardreset the controller through the binding.
grep -i zwave openhab.log
2021-06-12 16:29:04.362 [DEBUG] [wave.discovery.ZWaveDiscoveryService] - Creating ZWave discovery service for zwave:serial_zstick:c2bdcf1011 with scan time of 60
2021-06-12 16:29:04.363 [DEBUG] [wave.discovery.ZWaveDiscoveryService] - ZWave discovery: Active zwave:serial_zstick:c2bdcf1011
2021-06-12 16:29:04.365 [INFO ] [zwave.handler.ZWaveControllerHandler] - Attempting to add listener when controller is null
2021-06-12 16:29:04.642 [DEBUG] [ing.zwave.handler.ZWaveSerialHandler] - Initializing ZWave serial controller.
2021-06-12 16:29:04.644 [DEBUG] [zwave.handler.ZWaveControllerHandler] - Initializing ZWave Controller zwave:serial_zstick:c2bdcf1011.
2021-06-12 16:29:51.120 [DEBUG] [g.zwave.internal.ZWaveConfigProvider] - No bridgeUID found in getConfigDescription thing:zwave:serial_zstick:c2bdcf1011
[root@atom openhab]# grep -i zwave openhab.log
2021-06-12 16:29:04.362 [DEBUG] [wave.discovery.ZWaveDiscoveryService] - Creating ZWave discovery service for zwave:serial_zstick:c2bdcf1011 with scan time of 60
2021-06-12 16:29:04.363 [DEBUG] [wave.discovery.ZWaveDiscoveryService] - ZWave discovery: Active zwave:serial_zstick:c2bdcf1011
2021-06-12 16:29:04.365 [INFO ] [zwave.handler.ZWaveControllerHandler] - Attempting to add listener when controller is null
2021-06-12 16:29:04.642 [DEBUG] [ing.zwave.handler.ZWaveSerialHandler] - Initializing ZWave serial controller.
2021-06-12 16:29:04.644 [DEBUG] [zwave.handler.ZWaveControllerHandler] - Initializing ZWave Controller zwave:serial_zstick:c2bdcf1011.
2021-06-12 16:29:51.120 [DEBUG] [g.zwave.internal.ZWaveConfigProvider] - No bridgeUID found in getConfigDescription thing:zwave:serial_zstick:c2bdcf1011
2021-06-12 16:40:19.773 [DEBUG] [g.zwave.internal.ZWaveConfigProvider] - No bridgeUID found in getConfigDescription thing:zwave:serial_zstick:c2bdcf1011
2021-06-12 16:40:19.781 [DEBUG] [zwave.handler.ZWaveControllerHandler] - Controller Configuration update received
2021-06-12 16:40:19.796 [DEBUG] [zwave.handler.ZWaveControllerHandler] - Controller Configuration update controller_softreset to false
2021-06-12 16:40:19.798 [DEBUG] [zwave.handler.ZWaveControllerHandler] - Trying to send controller command, but controller is not initialised
2021-06-12 16:40:19.799 [DEBUG] [zwave.handler.ZWaveControllerHandler] - Controller Configuration update security_networkkey to 8E 34 6B 8B 1C 69 12 8C 1C A8 18 CF BB 37 EC AC
2021-06-12 16:40:19.800 [DEBUG] [zwave.handler.ZWaveControllerHandler] - Controller Configuration update security_inclusionmode to 0
2021-06-12 16:40:19.801 [DEBUG] [zwave.handler.ZWaveControllerHandler] - Controller Configuration update controller_sync to false
2021-06-12 16:40:19.802 [DEBUG] [zwave.handler.ZWaveControllerHandler] - Trying to send controller command, but controller is not initialised
2021-06-12 16:40:19.810 [DEBUG] [zwave.handler.ZWaveControllerHandler] - Controller Configuration update port to /dev/ttyACM0
2021-06-12 16:40:19.811 [DEBUG] [zwave.handler.ZWaveControllerHandler] - Controller Configuration update controller_master to true
2021-06-12 16:40:19.811 [DEBUG] [zwave.handler.ZWaveControllerHandler] - Trying to send controller command, but controller is not initialised
2021-06-12 16:40:19.812 [DEBUG] [zwave.handler.ZWaveControllerHandler] - Controller Configuration update inclusion_mode to 2
2021-06-12 16:40:19.813 [DEBUG] [zwave.handler.ZWaveControllerHandler] - Controller Configuration update controller_wakeupperiod to 3600
2021-06-12 16:40:19.814 [DEBUG] [zwave.handler.ZWaveControllerHandler] - Trying to send controller command, but controller is not initialised
2021-06-12 16:40:19.815 [DEBUG] [zwave.handler.ZWaveControllerHandler] - Controller Configuration update heal_time to 2
2021-06-12 16:40:19.834 [DEBUG] [zwave.handler.ZWaveControllerHandler] - Scheduling network mesh heal for 10 hours time.
2021-06-12 16:40:19.835 [DEBUG] [zwave.handler.ZWaveControllerHandler] - Controller Configuration update controller_exclude to false
2021-06-12 16:40:19.836 [DEBUG] [zwave.handler.ZWaveControllerHandler] - Trying to send controller command, but controller is not initialised
2021-06-12 16:40:19.837 [DEBUG] [zwave.handler.ZWaveControllerHandler] - Controller Configuration update controller_inclusiontimeout to 30
2021-06-12 16:40:19.837 [DEBUG] [zwave.handler.ZWaveControllerHandler] - Trying to send controller command, but controller is not initialised
2021-06-12 16:40:19.838 [DEBUG] [zwave.handler.ZWaveControllerHandler] - Controller Configuration update controller_hardreset to true
2021-06-12 16:40:19.839 [DEBUG] [zwave.handler.ZWaveControllerHandler] - Trying to send controller command, but controller is not initialised
2021-06-12 16:40:19.849 [DEBUG] [ing.zwave.handler.ZWaveSerialHandler] - Disposing receive thread
2021-06-12 16:40:19.850 [DEBUG] [ing.zwave.handler.ZWaveSerialHandler] - Receive thread dispose
2021-06-12 16:40:19.850 [DEBUG] [ing.zwave.handler.ZWaveSerialHandler] - Disposing serial connection
2021-06-12 16:40:19.851 [DEBUG] [ing.zwave.handler.ZWaveSerialHandler] - Serial connection disposed
2021-06-12 16:40:19.852 [DEBUG] [ing.zwave.handler.ZWaveSerialHandler] - Stopped ZWave serial handler
2021-06-12 16:40:19.853 [DEBUG] [ing.zwave.handler.ZWaveSerialHandler] - Initializing ZWave serial controller.
2021-06-12 16:40:19.854 [DEBUG] [zwave.handler.ZWaveControllerHandler] - Initializing ZWave Controller zwave:serial_zstick:c2bdcf1011.
2021-06-12 16:40:20.288 [DEBUG] [g.zwave.internal.ZWaveConfigProvider] - No bridgeUID found in getConfigDescription thing:zwave:serial_zstick:c2bdcf1011
Things I’ve checked:
Comes up in dmesg as /dev/ttyACM0
[2514049.506162] usb 8-2: new full-speed USB device number 2 using xhci_hcd
[2514049.623434] usb 8-2: device descriptor read/64, error -71
[2514049.842293] usb 8-2: new full-speed USB device number 3 using xhci_hcd
[2514049.959468] usb 8-2: device descriptor read/64, error -71
[2514050.063457] usb usb8-port2: attempt power cycle
[2514050.694841] usb 8-2: new full-speed USB device number 4 using xhci_hcd
[2514050.695696] usb 8-2: Device not responding to setup address.
[2514050.903305] usb 8-2: device not accepting address 4, error -71
[2514051.227167] usb 8-2: new full-speed USB device number 5 using xhci_hcd
[2514051.268252] usb 8-2: New USB device found, idVendor=0658, idProduct=0200, bcdDevice= 0.00
[2514051.268259] usb 8-2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[2514051.283423] cdc_acm 8-2:1.0: ttyACM0: USB ACM device
It does show some USB errors but then enumerates correctly, using ttyACM0. So this controller might just be broken.
I verified openhab groups:
groups openhab
openhab : openhab tty dialout audio
tty seems ok:
ls -las /dev/ttyACM0
0 crw-rw----. 1 root dialout 166, 0 Jun 12 15:00 /dev/ttyACM0
Not sure if this was still necessary but I tried it anyway:
EXTRA_JAVA_OPTS=“-Dgnu.io.rxtx.SerialPorts=/dev/ttyACM0”
If I do a cat /dev/ttyACM0, I do see data coming from the controller. Don’t know how to interpret that though.
cat /dev/ttyACM0
!ďż˝
!ďż˝
So it isn’t entirely dead.
I have restarted openhab several times. I’ve even rebooted the machine. Interestingly, the controller does not give any USB errors after reboot.