Hi everbody,
After using Domoticz for a few years now, i am wanting to make a shift to Home Assistant. I think Home Assistant is more future proof and I really like the fresh UI.
I have been trying for 2 full days now to install Home Assistant and get z-wave to work. I have quite a few z-wave devices so its important to get that working a first. I’m using a razberry V1 gpio card on a raspberry 2b.
Things are not working out for me. I have read every topic on razberry on this forum and followed the z-wave section on the Home Assistant site. But after my 8th reinstall of the Hassbian v1.4.0 I’m still stuck.
So for my last resort I’m opening a new topic, hoping some experience users can give me some tips to get on my way!
These are the steps I have done:
-
burn the hassbian V1.4.0 image with etcher on a 32 gb SD card and put it in my pi. I downloaded the image here: https://github.com/home-assistant/pi-gen/releases/tag/untagged-8e6074a6a6dbf5ed52ca
-
Executed $ sudo apt-get update and $ sudo apt-get upgrade -y
-
Executed raspi-config and expanded the file system and enabled serial interface (interface -> serial)
-
Executed sudo apt-get install libudev-dev. But Libudev-dev was already installed and up to date
-
Checked acces to the razpberry card with: ls -l /dev/ttyAMA0 (result = crw-rw---- 1 root dialout 204, 64 Apr 1 12:34 /dev/ttyAMA0?) and groups homeassistant (result = dialout)
-
Added Samba
-
Changed configuration.yaml. Added:
zwave:
usb_path: /dev/ttyACM0
And let it run for a while. -
I’m trying to add the path to the config file. I see that most users use: /srv/homeassistant/lib/python3.4/site-packages/libopenzwave-0.3.2-py3.4-linux-armv7l.egg/config
I’m am not able to find this config file. I did find ozw_config. It’s in this location: /srv/homeassistant/lib/python3.5/site-packages/python_openzwave/ozw_config
So I added to the configuration.yaml:
config_path: /srv/homeassistant/lib/python3.5/site-packages/python_openzwave/ozw_config
These steps did not give me any succes. In the Home Assistant dashboard I get the message Invalid Config, The following components and platforms could not be set up: zwave
Here is a output of my Home Assistant Log:
2018-08-10 14:14:37 WARNING (MainThread) [homeassistant.components.http] You have been advised to set http.api_password.
2018-08-10 14:14:45 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/ttyACM0 : [‘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 145, in _async_setup_component
hass, processed_config)
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/zwave/init.py”, line 244, in async_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/ttyACM0 : [‘Traceback (most recent call last):\n’, ’ File “/srv/homeassistant/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’]’
2018-08-10 14:15:10 WARNING (Thread-2) [netdisco.ssdp] Found malformed XML at http://192.168.2.17:9080: status=ok
2018-08-10 14:15:15 WARNING (MainThread) [homeassistant.components.hue] Connected to Hue at 192.168.2.11 but not registered.
2018-08-10 14:15:17 WARNING (MainThread) [homeassistant.components.hue] Connected to Hue at 192.168.2.11 but not registered.
Looks like device /dev/ttyACM0 can not be found, but I don’t understand why? Hope someone has a solution!
Cheers!