Hi everybody, I’m trying to configure the Aeotec Z-stick Gen5 and I can’t get it to work.
I have homeassistant installed in a docker on a QNAP NAS and it is up and running.
When I added the following line to the configuration
zwave:
usb_path: /dev/ttyUSB0
and installed the USB key, I got this error:
2017-08-27 21:09:56 ERROR (MainThread) [homeassistant.setup] Error during setup of component zwave
Traceback (most recent call last):
File “/usr/local/lib/python3.6/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/ttyUSB0 : [‘NoneType: None\n’]”
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/usr/src/app/homeassistant/setup.py”, line 194, in _async_setup_component
component.setup, hass, processed_config)
File “/usr/local/lib/python3.6/asyncio/futures.py”, line 332, in iter
yield self # This tells Task to wait for completion.
File “/usr/local/lib/python3.6/asyncio/tasks.py”, line 250, in _wakeup
future.result()
File “/usr/local/lib/python3.6/asyncio/futures.py”, line 245, in result
raise self._exception
File “/usr/local/lib/python3.6/concurrent/futures/thread.py”, line 55, in run
result = self.fn(*self.args, **self.kwargs)
File “/usr/src/app/homeassistant/components/zwave/init.py”, line 263, in setup
config_path=config[DOMAIN].get(CONF_CONFIG_PATH))
File “/usr/local/lib/python3.6/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/ttyUSB0 : [‘Traceback (most recent call last):\n’, ’ File “/usr/local/lib/python3.6/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/ttyUSB0 : [\‘NoneType: None\\\\n\’]”\n’]’
2017-08-27 21:10:18 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File “/usr/local/lib/python3.6/asyncio/tasks.py”, line 182, in _step
result = coro.throw(exc)
File “/usr/src/app/homeassistant/components/discovery.py”, line 124, in scan_devices
results = yield from hass.async_add_job(_discover, netdisco)
File “/usr/local/lib/python3.6/asyncio/futures.py”, line 332, in iter
yield self # This tells Task to wait for completion.
File “/usr/local/lib/python3.6/asyncio/tasks.py”, line 250, in _wakeup
future.result()
File “/usr/local/lib/python3.6/asyncio/futures.py”, line 245, in result
raise self._exception
File “/usr/local/lib/python3.6/concurrent/futures/thread.py”, line 55, in run
result = self.fn(*self.args, **self.kwargs)
File “/usr/src/app/homeassistant/components/discovery.py”, line 150, in _discover
netdisco.scan()
File “/usr/local/lib/python3.6/site-packages/netdisco/discovery.py”, line 69, in scan
self.daikin.scan()
File “/usr/local/lib/python3.6/site-packages/netdisco/daikin.py”, line 32, in scan
self.update()
File “/usr/local/lib/python3.6/site-packages/netdisco/daikin.py”, line 46, in update
sock.bind(("", UDP_SRC_PORT))
OSError: [Errno 98] Address already in use
2017-08-27 22:15:58 ERROR (MainThread) [homeassistant.core] Error doing job: Fatal error on transport TCPTransport (error status in uv_stream_t.read callback)
OSError: [Errno 113] No route to host
I can’t figure out what the problem is, can anybody help?
Thanks!