Hi,
I have an issue with my usb z-wave stick z.wave.me ZMEEUZB1 on ubuntu with OH 1.8.1:
when I got the usb stick, following the wiki zwave binding page and some discussions on this forum, I was able to make it working and I paired successfully with a fibaro smoke detector. One day I had to reboot OH and from the log I saw the starting process was stuck on the line:
[INFO ] [b.z.i.protocol.ZWaveController] - Connecting to serial port /dev/ttyACM0
After some minutes I decided to restart OH and since than I wasn’t able to have the zwave controller working again, the log is always like this:
2016-05-10 11:38:51.675 [INFO ] [.service.AbstractActiveService] - ZWave Refresh Service has been started
2016-05-10 11:38:52.120 [INFO ] [b.z.i.protocol.ZWaveController] - Starting Z-Wave controller
2016-05-10 11:38:52.121 [INFO ] [b.z.i.protocol.ZWaveController] - Z-Wave timeout is set to 5000ms.
2016-05-10 11:38:52.128 [INFO ] [b.z.i.protocol.ZWaveController] - Connecting to serial port /dev/ttyACM0
2016-05-10 11:38:52.306 [ERROR] [b.z.i.protocol.ZWaveController] - Port /dev/ttyACM0 does not exist
2016-05-10 11:38:52.825 [WARN ] [i.internal.GenericItemProvider] - Attempted to register a second BindingConfigReader of type 'zwave'. The primaraly reader will remain active!
2016-05-10 11:38:56.768 [INFO ] [.service.AbstractActiveService] - ZWave Refresh Service has been shut down
Hi @sihui,
thank you for your answer. Yes, you are right! I found a 1.5.0-SNAPSHOT jar. I removed that one, restarted OH and the log is:
[INFO ] [.z.internal.ZWaveActiveBinding] - Update config, port = /dev/ttyACM0
[INFO ] [.z.internal.ZWaveActiveBinding] - Update config, healtime = 2
[INFO ] [b.z.i.protocol.ZWaveController] - Starting Z-Wave controller
[INFO ] [b.z.i.protocol.ZWaveController] - Z-Wave timeout is set to 5000ms. Soft reset is false.
[INFO ] [b.z.i.protocol.ZWaveController] - Connecting to serial port /dev/ttyACM0
[ERROR] [b.z.i.protocol.ZWaveController] - Serial Error: Port /dev/ttyACM0 does not exist
[INFO ] [.service.AbstractActiveService] - ZWave Refresh Service has been shut down
I connected the usb dongle to a windows pc and using a windows based software I was able to verify that it is still working.
Yesterday in one of my several attempts I tried to reboot the system (the additional binding suggested by @sihui was stille there) and the log was different:
[INFO ] [.z.internal.ZWaveActiveBinding] - Update config, port = /dev/ttyACM0
[INFO ] [.z.internal.ZWaveActiveBinding] - Update config, healtime = 2
[INFO ] [.service.AbstractActiveService] - ZWave Refresh Service has been started
[WARN ] [i.internal.GenericItemProvider] - Attempted to register a second BindingConfigReader of type ‘zwave’. The primaraly reader will remain active!
[INFO ] [b.z.i.protocol.ZWaveController] - Starting Z-Wave controller
[INFO ] [b.z.i.protocol.ZWaveController] - Z-Wave timeout is set to 5000ms.
[INFO ] [b.z.i.protocol.ZWaveController] - Connecting to serial port /dev/ttyACM0
[INFO ] [b.z.i.protocol.ZWaveController] - Serial port is initialized
[ERROR] [WaveController$ZWaveSendThread] - NODE 255: Timeout while sending message. Requeueing
[ERROR] [WaveController$ZWaveSendThread] - Got I/O exception Input/output error in writeArray during sending. exiting thread.
[WARN ] [veController$WatchDogTimerTask] - Threads not alive, respawning
[INFO ] [b.z.i.protocol.ZWaveController] - Disconnected from serial port
[INFO ] [b.z.i.protocol.ZWaveController] - Connecting to serial port /dev/ttyACM0
and then it held on last line, like the first time I encountered the issue, and then an OH restart went back to the usual error:
[ERROR] [b.z.i.protocol.ZWaveController] - Serial Error: Port /dev/ttyACM0 does not exist
So something is different after a reboot.
As suggested in another discussion I tried also this.
after I removed the 1.5.0 snapshot I decided to reboot the system and start OH, it seems is working now! I don’t see the error Port /dev/ttyACM0 does not exist and I can see the controller in habmin. I’ll try to pair the smoke detector later.
Thank you @sihui!