Hello, I am trying to connect a z-wave motion sensor to Home Assistant
I added GoConrol Z-Wave / Zigbee stick. zha component loads ok, but zwave gives this error:
I am not sure where to go from here. New Hassbian install with not much added. I ran sudo apt-get upgrade etc but HA fails each start and attempts to reinstall with the same error.
python_openzwave was intergrated after 0.46, there’s no need to install. Just add zwave config in your configuration.yaml file, then restart HASS.
ps: It will be taken more than 15 minutes to install python-openzwave automatically, you can refresh the HASS webpage every 5 minute, if it ready to boot, the Z-wave config tab will show, pls be patient
This is the error I see in the HASS logs:
ERROR (Thread-10) [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-el4inqnl/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-rskhz4e4-record/install-record.txt --single-version-externally-managed --compile --install-headers /srv/homeassistant/include/site/python3.5/python-openzwave” failed with error code 1 in /tmp/pip-build-el4inqnl/python-openzwave/ 2017-09-14 18:34:21 ERROR (MainThread) [homeassistant.setup] Not initializing zwave because could not install dependency python_openzwave==0.4.0.31 2017-09-14 18:34:21 ERROR (MainThread) [homeassistant.setup] Setup failed for zwave: Could not install all requirements.
I also tried installing open zwave manually by using the command:
pip install python_openzwave==0.4.0.3
But I get this error:
Command “/usr/bin/python -u -c “import setuptools, tokenize;file=’/tmp/pip-build-pvq8ZN/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-crZB1h-record/install-record.txt --single-version-externally-managed --compile” failed with error code 1 in /tmp/pip-build-pvq8ZN/python-openzwave/