Hi all.
As seems quite often reading other posts, I have an IT background but am a HA noob - so please be gentle ;-/.
I have Hass running as a docker container on a RPi3. So far so good!
I have just purchased a Zstick gen 5, which the Pi recognizes as ttyACM0.
When I change my configuration.yaml to:
zwave:
usb_path: /dev/ttyACM0
I get the error in HA that the zwave component is not installed correctly.
My log file returns the following:
2018-01-19 16:05:34 WARNING (MainThread) [homeassistant.config] Incomplete core configuration. Auto detected elevation: 48
2018-01-19 16:05:37 WARNING (Recorder) [homeassistant.components.recorder] Ended unfinished session (id=70 from 2018-01-19 15:00:15.427185)
2018-01-19 16:05:40 ERROR (MainThread) [homeassistant.setup] Error during setup of component zwave
Traceback (most recent call last):
File “/config/deps/lib/python3.5/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/local/lib/python3.5/dist-packages/homeassistant/setup.py”, line 193, in _async_setup_component
component.setup, hass, processed_config)
File “/usr/lib/python3.5/asyncio/futures.py”, line 380, in iter
yield self # This tells Task to wait for completion.
File “/usr/lib/python3.5/asyncio/tasks.py”, line 304, in _wakeup
future.result()
File “/usr/lib/python3.5/asyncio/futures.py”, line 293, in result
raise self._exception
File “/usr/lib/python3.5/concurrent/futures/thread.py”, line 55, in run
result = self.fn(*self.args, **self.kwargs)
File “/usr/local/lib/python3.5/dist-packages/homeassistant/components/zwave/init.py”, line 280, in setup
config_path=config[DOMAIN].get(CONF_CONFIG_PATH))
File “/config/deps/lib/python3.5/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 “/config/deps/lib/python3.5/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 have tried commenting out the ‘usb_path’ directive but get the same error, just for the default generic device name instead.
Well aware that it is probably something completely basic, I would greatly appreciate any pointers, after strugglering with this for most of the day.
Many thanks in advance.