I have tried for weeks to install home assistant. both the all in one installer and hassbian.
As for now I have settled on hassbian since this is the easiest to install. I have this error in the states page regarding zwave:
“The following components and platforms could not be set up:
zwave
Please check your config”
the log reads:
“ERROR (MainThread) [homeassistant.config] Invalid config for [zwave]: expected a dictionary for dictionary value @ data[‘zwave’]. Got ‘usb_path:/dev/ttyACM0’. (See ?, line ?). Please check the docs at https://home-assistant.io/components/zwave/”
the configurations.yaml reads:
"zwave:
usb_path:/dev/ttyACM0 "
And yes, I have checked if its ACM0 or 1 or whatever…
I feel like i have tried anything so far with updating home assistant, reinstalling, turning on and off, installing open z-wave etc.
BUT!
The funny thing is I had this problem on friday, but suddenly everything worked as it should on saturday. Unluckily I probably messed around with it to much so it crashed, and then i reinstalled the image. The reinstall was also on saturday and still no luck getting it working on monday.
I am getting really frustrated now. Anyone having a clue?
Reading package lists... Done
Building dependency tree
Reading state information... Done
libudev-dev is already the newest version (232-25+deb9u1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2017-10-09 19:03:39 ERROR (MainThread) [homeassistant.setup] Error during setup of component zwave
Traceback (most recent call last):
File "/srv/homeassistant/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/ttyACM : ['NoneType: None\\n']"
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/setup.py", line 194, 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 "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/zwave/__init__.py", line 269, in setup
config_path=config[DOMAIN].get(CONF_CONFIG_PATH))
File "/srv/homeassistant/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/ttyACM : [\'Traceback (most recent call last):\\n\', \' File
It was not intentional… Now that is fixed and the log again reads:
2017-10-09 19:19:30 ERROR (MainThread) [homeassistant.config] Invalid config for [zwave]: expected a dictionary for dictionary value @ data['zwave']. Got 'usb_path:/dev/ttyACM0'. (See ?, line ?). Please check the docs at https://home-assistant.io/components/zwave/
2017-10-09 19:19:30 ERROR (MainThread) [homeassistant.setup] Setup failed for zwave: Invalid config.