Hi,
I’ve followed all the guides on the website, looks at all the related posts and still unable to get Home Assistant to recognise the Z-Stick.
I’ve installed Home Assistant into a venv and following this guide : https://home-assistant.io/getting-started/installation-raspberry-pi/
Installed the Z-Wave stuff following this guide (at the bottom) : https://home-assistant.io/getting-started/installation-virtualenv/
I’ve verified my raspberry pi can see the z-stick by running OpenZwave Control Panel, so appears o be just an issue with Home Assistant.
Here is the log:
AttributeError: 'NoneType' object has no attribute '__context__'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/bootstrap.py", line 151, in _async_setup_component
None, component.setup, hass, config)
File "/usr/lib/python3.4/asyncio/futures.py", line 388, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.4/asyncio/tasks.py", line 286, in _wakeup
value = future.result()
File "/usr/lib/python3.4/asyncio/futures.py", line 277, in result
raise self._exception
File "/usr/lib/python3.4/concurrent/futures/thread.py", line 54, in run
result = self.fn(*self.args, **self.kwargs)
File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/zwave/__init__.py", line 279, in setup
CONF_CONFIG_PATH, default_zwave_config_path))
File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/pyozwweb-0.3.1-py3.4.egg/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 "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/pyozwweb-0.3.1-py3.4.egg/openzwave/option.py", line 75, in __init__\\n raise ZWaveException(u"Can\\\'t write to device %s : %s" % (device, traceback.format_exception(*sys.exc_info())))\\n\', \' File "/usr/lib/python3.4/traceback.py", line 181, in format_exception\\n return list(_format_exception_iter(etype, value, tb, limit, chain))\\n\', \' File "/usr/lib/python3.4/traceback.py", line 146, in _format_exception_iter\\n for value, tb in values:\\n\', \' File "/usr/lib/python3.4/traceback.py", line 125, in _iter_chain\\n context = exc.__context__\\n\', "AttributeError: \'NoneType\' object has no attribute \'__context__\'\\n"]'
INFO:homeassistant.loader:Loaded tts.google from homeassistant.components.tts.google
INFO:homeassistant.core:Bus:Handling <Event call_service[L]: domain=persistent_notification, service_data=title=Invalid config, notification_id=invalid_config, message=The following components and platforms could not be set up:
* [zwave](https://home-assistant.io/components/zwave/)
Please check your config, service=create, service_call_id=1979058416-1>
INFO:homeassistant.core:Bus:Handling <Event state_changed[L]: new_state=<state persistent_notification.invalid_config=The following components and platforms could not be set up:
* [zwave](https://home-assistant.io/components/zwave/)
Please check your config; title=Invalid config @ 2017-01-17T14:39:25.108485+00:00>, old_state=None, entity_id=persistent_notification.invalid_config>
Also, I’ve validated my configuration.yml is correct syntax using the online yaml tool. Here is it’s content :
zwave:
usb_path: /dev/ttyACM0
#config_path: /srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/libopenzwave-0.3.1-py3.4-linux-armv7l.egg/config
Tried both with and without the config_path hased out.
I’m now at a dead end and don’t know how to proceed.
Thanks for your help.