In case someone didn’t notice… there is a python-openzwave (version 0.3.3) update available. I installed it and so far running without issues
@SebasT – I’m using the Fabric All-in-One installer on my Pi3. How would I go about upgrading?
Thanks!
Not sure because i don’t use the AIO.
Since the AIO uses vitrualenv i would suspect you’ll have to enter the virtualenv and cd to the openzwave path and do a git pull.
probably something like this:
sudo su -s /bin/bash homeassistant
source /srv/homeassistant/bin/activate
cd /srv/homeassistant/src/python-openzwave (replace with right path)
git pull
make build
make install
Today i noticed the update wasn’t applied properly. I noticed only python-openzwave was updated but not openzwave that should come along with it. After some research i found the solution. The commands i used to upgrade both are:
sudo su -s /bin/bash homeassistant
source /srv/homeassistant/bin/activate
cd /srv/homeassistant/src/python-openzwave
make uninstall
make clean
make update
make build
make install
i used “make uninstall” and “make clean” to make sure there are no previous versions anymore.
“make update” is the command that updates both python-openzwave and openzwave
I followed your instructies but after upgrading and restarting HA I get this error:
libopenzwave.LibZWaveException: "LibOpenZwave Generic Exception : Can't find config directory /srv/hass/lib/python3.5/site-packages/config"
Any thoughts ?
You have to set the config path in your configuration.yaml.
Mine is:
/srv/homeassistant/lib/python3.4/site-packages/python_openzwave/ozw_config
You will have to see where yours is.
The path mentioned seems a bit odd for openzwave. I can imagine this path doesn’t exist.
Did you set any zwave confg path in your configuration.yaml?
PS… my instructions are for a VirtualEnv installation. Don’t know what you are using?
I’m using a virtualenv, found the path: /srv/hass/lib/python3.5/site-packages/python_openzwave/ozw_config/
I don’t see any mention of the path in the docs, where do I put it ?
Edit: found it
zwave:
usb_path: /dev/Zwave
device_config: !include configuration/zwave_device_config.yaml
config_path: /srv/hass/lib/python3.5/site-packages/python_openzwave/ozw_config/
Check to make sure the one I posted above isn’t also available. I think that one will stay constant throughout updates.