Z-wave not working (HASS on Ubuntu/x86_64)

Hi, I am running an Ubuntu 16.04.2 LTS on an x86_64 machine. Previously, Home Assistant was running fine, including Z-Wave. Due to circumstances, I was not able to update hass but today I did and after I did, Z-Wave is not working anymore. There seem to be two issues:

In the HASS log I get this:

2017-05-27 20:59:05 ERROR (MainThread) [homeassistant.setup] Error during setup of component zwave
Traceback (most recent call last):
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/setup.py”, line 188, in _async_setup_component
None, component.setup, hass, processed_config)
File “/usr/lib/python3.5/asyncio/futures.py”, line 361, in iter
yield self # This tells Task to wait for completion.
File “/usr/lib/python3.5/asyncio/tasks.py”, line 296, in _wakeup
future.result()
File “/usr/lib/python3.5/asyncio/futures.py”, line 274, 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 247, in setup
config_path=config[DOMAIN].get(CONF_CONFIG_PATH))
File “/ssd_home/homeassistant/.homeassistant/deps/openzwave/option.py”, line 82, in init
libopenzwave.PyOptions.init(self, config_path=config_path, user_path=user_path, cmd_line=cmd_line)
File “src-lib/libopenzwave/libopenzwave.pyx”, line 675, in libopenzwave.PyOptions.init (openzwave-embed/open-zwave-master/python-openzwave/src-lib/libopenzwave/libopenzwave.cpp:11164)
libopenzwave.LibZWaveException: "LibOpenZwave Generic Exception : Can’t find config directory /srv/homeassistant/lib/python3.4/site-packages/libopenzwave-0.3.2-py3.4-linux-armv7l.egg/config"

Another one, not related to Z-Wave: Gattlib does not want to be installed; After I do pip3 install gattlib==0.20150805, I get this:

3.5/gattlib.cpython-35m-x86_64-linux-gnu.so
/usr/bin/ld: cannot find -lboost_python-py34
collect2: error: ld returned 1 exit status
error: command ‘x86_64-linux-gnu-g++’ failed with exit
in bold what I think is the true error.

It looks like the new way of installing Z-Wave is not compatible with other architectures than ARM? Can somebody help me in the right direction?

Try not entering the config path in your configuration.yaml

1 Like

Thanks a lot! That worked :slight_smile: