Hi. Hope someone can help!
python_openzwave fails to install automatically on Hassbian v1.23.
Install process:
- I flashed hassbian 1.23 to the card and did the initial startup, home assistant launches successfully
- sudo apt-get update, then sudo apt-get upgrade
- Gave homeassistant user access to the z-stick:
# If Home Assistant (`hass`) runs with another user (e.g. *homeassistant* on Hassbian) give access to the stick with: $ sudo usermod -a -G dialout homeassistant
- Added zwave to config and checked that the stick is ttyACM0:
zwave: usb_path: /dev/ttyACM0
- Restarted home assistant and got the following error in log:
2017-05-25 09:04:47 WARNING (MainThread) [homeassistant.setup] Setup of sensor is taking over 10 seconds. 2017-05-25 09:09:08 ERROR (Thread-11) [homeassistant.util.package] Unable to install package python_openzwave==0.4.0.31: Command "/srv/homeassistant/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-cz1ux4kv/python-openzwave/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-ng5wxiyb-record/install-record.txt --single-version-externally-managed --compile --install-headers /srv/homeassistant/include/site/python3.4/python-openzwave --home=/tmp/tmp2pgr3a3_" failed with error code 1 in /tmp/pip-build-cz1ux4kv/python-openzwave/ 2017-05-25 09:09:08 ERROR (MainThread) [homeassistant.setup] Not initializing zwave because could not install dependency python_openzwave==0.4.0.31 2017-05-25 09:09:08 ERROR (MainThread) [homeassistant.setup] Setup failed for zwave: Could not install all requirements.
Anybody know whats wrong? The automatic installation of openzwave obviously failed.
EDIT/SOLVED:
I forgot to install libudev-dev before step 4 above!
sudo apt-get install libudev-dev