Zwave 48.1 python 3.6 upgrade

Ok, I did it to myself. I went ahead and tried upgrading to python 3.6. I have HA running under 3.6 which is a good thing, but it can’t load zwave. libudev-dev is there and is the current version. I tried doing a pip3 uninstall of homeassistant and re-installing. Everything seems to go ok, but when the webpage comes up, it still can’t load zwave. The only error I’m getting in the log related to loading zwave is the following.

2017-07-14 18:22:01 INFO (MainThread) [homeassistant.setup] Setting up zwave
2017-07-14 18:22:01 ERROR (MainThread) [homeassistant.setup] Error during setup of component zwave
  File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/components/zwave/__init__.py", line 245, in setup
    from openzwave.option import ZWaveOption
  File "/home/homeassistant/.homeassistant/deps/openzwave/option.py", line 29, in <module>
    import libopenzwave
ModuleNotFoundError: No module named 'libopenzwave'

Help…

Looks like you’ll need to compile it manually. :disappointed:

an reasy pip3 install --upgrade python_openzwave should do the trck.

i am doing the same and i wait it’s installed.

1 Like

Yea, when I did the freeze of the packages prior to creating the new virtualenv, it grabbed the individual packages for openzwave. They aren’t installable by themselves. You have to install the python_openzwave wrapper which gets all fo them.
Thanks

The zwave plus devices with network key don’t work I think I have to copy the old options file or do u have any hint of me how to get this working ?

No idea. I didn’t have any that required a key.

Yeah I have … I’ll copy options file from backup image and I’ll see them … will give feedback later