Zwave not working with 0.107.0

https://github.com/home-assistant/core/issues/33236

1 Like

I think it worked anyway. Only 1 lock stopped working but now it’s back. I am going to check it more thoroughly in the morning, but so far so good.

If I do a HAconfiguration check on 107.7 I do still receive a zwave error:

INFO:homeassistant.util.package:Attempting install of homeassistant-pyozw==0.1.10
ERROR:homeassistant.util.package:Unable to install package homeassistant-pyozw==0.1.10: ERROR: Command errored out with exit status 1:
   command: /usr/local/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-yl9m_8l0/homeassistant-pyozw/setup.py'"'"'; __file__='"'"'/tmp/pip-install-yl9m_8l0/homeassistant-pyozw/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'
'"'"', '"'"'
'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-8vrsdlcg --python-tag cp37
       cwd: /tmp/pip-install-yl9m_8l0/homeassistant-pyozw/
  Complete output (17 lines):
  sysargv ['/tmp/pip-install-yl9m_8l0/homeassistant-pyozw/setup.py', 'bdist_wheel', '-d', '/tmp/pip-wheel-8vrsdlcg', '--python-tag', 'cp37']
  Found SETUP_DIR : /tmp/pip-install-yl9m_8l0/homeassistant-pyozw
  <pyozw_setup.EmbedTemplate object at 0x7f91892290>
  {'name': 'libopenzwave', 'sources': ['openzwave-embed/open-zwave-hass/python-openzwave/src-lib/libopenzwave/libopenzwave.cpp'], 'include_dirs': ['src-lib/libopenzwave/', 'openzwave-embed/open-zwave-hass/cpp/src', 'openzwave-embed/open-zwave-hass/cpp/src/value_classes', 'openzwave-embed/open-zwave-hass/cpp/src/platform', 'openzwave-embed/open-zwave-hass/cpp/build/linux'], 'define_macros': [('PY_LIB_VERSION', '0.1.10'), ('PY_SSIZE_T_CLEAN', 1), ('PY_LIB_FLAVOR', 'embed'), ('PY_LIB_BACKEND', 'cpp')], 'libraries': ['udev', 'stdc++', 'resolv'], 'extra_objects': ['openzwave-embed/open-zwave-hass/libopenzwave.a'], 'extra_compile_args': [], 'extra_link_args': [], 'language': 'c++'}
  ['six', 'PyDispatcher>=2.0.5']
  running bdist_wheel
  running build
  running build_openzwave
  Found g++ : None
  Found gcc : None
  Found make : None
  Found gmake : None
  Found cython : None
  Found pkg-config : None
  fetching https://raw.githubusercontent.com/home-assistant/python-openzwave/hass/archives/open-zwave-hass-0.1.10.zip into openzwave-embed/open-zwave.zip for version 0.1.10
  Clean openzwave in openzwave-embed/open-zwave-hass ... be patient ...
  error: [Errno 2] No such file or directory: 'make': 'make'
  ----------------------------------------
  ERROR: Failed building wheel for homeassistant-pyozw
  ERROR: Command errored out with exit status 1:
   command: /usr/local/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-yl9m_8l0/homeassistant-pyozw/setup.py'"'"'; __file__='"'"'/tmp/pip-install-yl9m_8l0/homeassistant-pyozw/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'
'"'"', '"'"'
'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' clean --all
       cwd: /tmp/pip-install-yl9m_8l0/homeassistant-pyozw
  Complete output (8 lines):
  sysargv ['/tmp/pip-install-yl9m_8l0/homeassistant-pyozw/setup.py', 'clean', '--all']
  Found SETUP_DIR : /tmp/pip-install-yl9m_8l0/homeassistant-pyozw
  <pyozw_setup.EmbedTemplate object at 0x7f991842d0>
  {'name': 'libopenzwave', 'sources': ['openzwave-embed/open-zwave-hass/python-openzwave/src-lib/libopenzwave/libopenzwave.cpp'], 'include_dirs': ['src-lib/libopenzwave/', 'openzwave-embed/open-zwave-hass/cpp/src', 'openzwave-embed/open-zwave-hass/cpp/src/value_classes', 'openzwave-embed/open-zwave-hass/cpp/src/platform', 'openzwave-embed/open-zwave-hass/cpp/build/linux'], 'define_macros': [('PY_LIB_VERSION', '0.1.10'), ('PY_SSIZE_T_CLEAN', 1), ('PY_LIB_FLAVOR', 'embed'), ('PY_LIB_BACKEND', 'cpp')], 'libraries': ['udev', 'stdc++', 'resolv'], 'extra_objects': ['openzwave-embed/open-zwave-hass/libopenzwave.a'], 'extra_compile_args': [], 'extra_link_args': [], 'language': 'c++'}
  ['six', 'PyDispatcher>=2.0.5']
  running clean
  Clean openzwave in openzwave-embed/open-zwave-hass ... be patient ...
  error: [Errno 2] No such file or directory: 'make': 'make'
  ----------------------------------------
  ERROR: Failed cleaning build dir for homeassistant-pyozw
    ERROR: Command errored out with exit status 1:
     command: /usr/local/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-yl9m_8l0/homeassistant-pyozw/setup.py'"'"'; __file__='"'"'/tmp/pip-install-yl9m_8l0/homeassistant-pyozw/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'
'"'"', '"'"'
'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-1n1fi340/install-record.txt --single-version-externally-managed --compile
         cwd: /tmp/pip-install-yl9m_8l0/homeassistant-pyozw/
    Complete output (16 lines):
    sysargv ['/tmp/pip-install-yl9m_8l0/homeassistant-pyozw/setup.py', 'install', '--record', '/tmp/pip-record-1n1fi340/install-record.txt', '--single-version-externally-managed', '--compile']
    Found SETUP_DIR : /tmp/pip-install-yl9m_8l0/homeassistant-pyozw
    <pyozw_setup.EmbedTemplate object at 0x7fa9042450>
    {'name': 'libopenzwave', 'sources': ['openzwave-embed/open-zwave-hass/python-openzwave/src-lib/libopenzwave/libopenzwave.cpp'], 'include_dirs': ['src-lib/libopenzwave/', 'openzwave-embed/open-zwave-hass/cpp/src', 'openzwave-embed/open-zwave-hass/cpp/src/value_classes', 'openzwave-embed/open-zwave-hass/cpp/src/platform', 'openzwave-embed/open-zwave-hass/cpp/build/linux'], 'define_macros': [('PY_LIB_VERSION', '0.1.10'), ('PY_SSIZE_T_CLEAN', 1), ('PY_LIB_FLAVOR', 'embed'), ('PY_LIB_BACKEND', 'cpp')], 'libraries': ['udev', 'stdc++', 'resolv'], 'extra_objects': ['openzwave-embed/open-zwave-hass/libopenzwave.a'], 'extra_compile_args': [], 'extra_link_args': [], 'language': 'c++'}
    ['six', 'PyDispatcher>=2.0.5']
    running install
    flavor embed
    running build_openzwave
    Found g++ : None
    Found gcc : None
    Found make : None
    Found gmake : None
    Found cython : None
    Found pkg-config : None
    Clean openzwave in openzwave-embed/open-zwave-hass ... be patient ...
    error: [Errno 2] No such file or directory: 'make': 'make'
    ----------------------------------------
ERROR: Command errored out with exit status 1: /usr/local/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-yl9m_8l0/homeassistant-pyozw/setup.py'"'"'; __file__='"'"'/tmp/pip-install-yl9m_8l0/homeassistant-pyozw/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'
'"'"', '"'"'
'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-1n1fi340/install-record.txt --single-version-externally-managed --compile Check the logs for full command output.
WARNING: You are using pip version 19.2.2, however version 20.0.2 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
INFO:homeassistant.util.package:Attempting install of mutagen==1.43.0
INFO:homeassistant.util.package:Attempting install of gTTS-token==1.1.3
Failed config
  General Errors: 
    - Component error: zwave - Requirements for zwave not found: ['homeassistant-pyozw==0.1.10'].

Successful config (partial)

So I still don’t dare to go over on 107.7

If you’re using the docker image you’ll be fine there’s a wheel for homeassistant-pyozw and you won’t have to compile your own.

Make sure you do a snapshot. If you want to be extra careful, shut down zwave first so the zwave config file is not in memory (Thank you to the person who told me this tip).

Once you have a good snapshot so you can restore if it doesn’t work, you can attempt the upgrade.

Mine did work despite all the errors…

I was forced to go to 0.107.7 because the add-on store was disapeared after upgrade off supervisor to 213.
I do have NO zwave problems.
So I’m happy