Hello guys,
My AEOTEC zwave stick is connected to the USB back port of my QNAP NAS TS-253A.
Its led is blinking.
Homeassistant 0.94.1 is installed on docker.
I’ve performed the following steps:
- Connect to your NAS over SSH
- Load cdc-acm kernel module (when nas restart need to run this command)
insmod /usr/local/modules/cdc-acm.ko
- Find USB devices attached. Type command:
ls /dev/tty*
The above command should show you any USB devices plugged into your NAS. If you have more than one, you may get multiple items returned. Like :ttyACM0
- Run Docker command:
docker run --init --name home-assistant --net=host --privileged -itd -v /share/CACHEDEV1_DATA/Public/homeassistant/config:/config -e variable=TZ -e value=Europe/Rome --device /dev/ttyACM0 homeassistant/home-assistant
The configuration.yaml file than, has been modified adding these lines:
zwave:
usb_path: /dev/ttyACM0
Restarting the homeassistant, I get these systematic errors in the log and can’t manage the zwave from the configuration UI.
2019-06-12 21:48:08 ERROR (MainThread) [homeassistant.config_entries] 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/ttyACM0 : [‘NoneType: None\n’]”
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/usr/src/app/homeassistant/config_entries.py”, line 273, in async_setup
hass, self)
File “/usr/src/app/homeassistant/components/zwave/init.py”, line 282, in async_setup_entry
config_path=config.get(CONF_CONFIG_PATH))
File “/usr/local/lib/python3.7/site-packages/openzwave/option.py”, line 81, in init
raise ZWaveException(u"Error when retrieving device %s : %s" % (device, traceback.format_exception(*sys.exc_info())))
openzwave.object.ZWaveException: ‘Zwave Generic Exception : Error when retrieving device /dev/ttyACM0 : [‘Traceback (most recent call last):\n’, ’ File “/usr/local/lib/python3.7/site-packages/openzwave/option.py”, line 78, in init\n raise ZWaveException(u"Can\‘t find device %s : %s" % (device, traceback.format_exception(*sys.exc_info())))\n’, ‘openzwave.object.ZWaveException: “Zwave Generic Exception : Can\'t find device /dev/ttyACM0 : [\‘NoneType: None\\\\n\’]”\n’]’
I’ve tried my times to configure the aeotec stick, just removing it, removing the cdc-acm kernel module, removing the second homeassistant docker image with no changes.
Any idea from your side please?
Your help is appreciated.
Thank you.