I am using home assistant on a docker on synology. I have zigbee2mqtt running fine as well. the CC2251 is running as /dev/ttyACM0 and I wanted to connect my Aeotech Z-wave stick as /dev/tty/ACM1.
in /dev directory, the device ACM1 is listed when i do a “ls” list command. so i know it is there.
In configuration.yaml, i have these lines:
zwave:
usb_path: /dev/ttyACM1
polling_interval: 30000
but home assistant is unable to detect the z-wave stick.
Error message is:
Error setting up entry Z-Wave (import from configuration.yaml) for zwave
Traceback (most recent call last):
File “/usr/local/lib/python3.7/site-packages/openzwave/option.py”, line 78, in init
raise ZWaveException(u"Can’t find device %s : %s" % (device, traceback.format_exception(*sys.exc_info())))
openzwave.object.ZWaveException: “Zwave Generic Exception : Can’t find device /dev/ttyACM1 : [‘NoneType: None\n’]”
What am I doing wrong?
Thanks a bunch!
I did have the same.
I used the path mentioned in supervisor–>system --> hardware overview instead of /dev/ttyACM1
zwave:
#usb_path: /dev/ttyACM0
#usb_path: /dev/ttyAMA0
usb_path: /dev/serial/by-id/usb-0658_0200-if00 # zwave USB dongle
Thanks mate. I don’t have that as i am using home-assistant on docker but you gave me an idea. Perhaps I need to add the USB devices when i create the docker container. I will need to destroy the current docker container and try a new container to see if this resolves the issue.
Yes, you need to add them as a “- device”
here is an example using my docker run command for HA:
sudo docker run -d --name="home-assistant" --restart=unless-stopped -v /home/finity/docker/hass-config:/config -v /etc/localtime:/etc/localtime:ro -v /home/finity/docker/sshkey/.ssh:/root/.ssh --device /dev/zigbee:/dev/zigbee --device /dev/ttyUSB-ZStick-5G:/dev/ttyUSB-ZStick-5G --net=host homeassistant/home-assistant
Hi there. I have now create a new docker container and set the devices for ttyACM0 and ttyACM1 and yes now Z-wave stick can now be detected.
Previously when i was setting up zigbee2mqtt and use the CC2531 dongle, it was detected straighaway without me declaring the “devices” in the docker container. So it didn’t occur to me that i have to do this for z-wave. But I am glad it is now detected.
I might give zwave2mqtt a try later.
Thanks for the help.