I had to reinstall homeassistant, and since that issue, I have not been able to get zwave working on my instance.
hass throws the error:
Command "/srv/homeassistant/bin/python3.8 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-ubpx003_/homeassistant-pyozw/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-record-cujm2xxd/install-record.txt --single-version-externally-managed --compile --install-headers /srv/homeassistant/include/site/python3.8/homeassistant-pyozw" failed with error code 1 in /tmp/pip-install-ubpx003_/homeassistant-pyozw/
2021-02-02 18:59:00 ERROR (MainThread) [homeassistant.setup] Setup failed for zwave: Requirements for zwave not found: ['homeassistant-pyozw==0.1.10'].
And attempting to build pyozw with
source /srv/homeassistant/bin/activate
pip3 install --upgrade homeassistant-pyozw==0.1.10
deactivate
Throws the error:
aarch64-linux-gnu-g++ -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -Wl,-z,relro -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC build/temp.linux-aarch64-3.8/openzwave-embed/open-zwave-hass/python-openzwave/src-lib/libopenzwave/libopenzwave.o openzwave-embed/open-zwave-hass/libopenzwave.a -ludev -lstdc++ -lresolv -o build/lib.linux-aarch64-3.8/libopenzwave.cpython-38-aarch64-linux-gnu.so
/usr/bin/ld: cannot find -ludev
collect2: error: ld returned 1 exit status
error: command 'aarch64-linux-gnu-g++' failed with exit status 1
And yet, I have installed
make libudev-dev g++ libyaml-dev
I was forced to update to python 3.8 manually on Raspbian x64 on a RPi4