Maybe the path to the XMLs isn’t correct?
Hard to say really without more info.
I just installed the lastest version of hassbian along with the latest developer version of openzwave. However when I go to pair the NGDZ00-4 it doesnt work. I verifed it was installed and working correctly with the command “pyozw_check”. I also verified that the network key my configuration.yaml file is loading since I don’t see any errors or warnings in the log after the message below:
“2018-01-21 19:20:57.892 Info, Setting Up Provided Network Key for Secure Communications”
The log shows the following warning after trying to add secure node:
“2018-01-21 19:23:57.934 Warning, Node026, MAC Authentication of Packet Failed. Dropping
2018-01-21 19:23:57.934 Detail, Node026, Removing current message”
Any idea what might be causing this?
Edit:
The main log also shows the message below:
“Z-Wave Notification ValueRemoved for an unknown value ({‘id’: 1125900323946519}) on node 24
2:23 PM /srv/homeassistant/lib/python3.5/site-packages/openzwave/network.py (WARNING)”
I’m currently running hassbain on a raspberry pi I have the linear ngdz004, but have not attempted to configure hassbain to use it, i’m rather new to Linux and have configured zwave to work with several of my devices. I need a set by step set of instructions to configure it to work. Is the following link with instructions still valid , I’m currently running 57
Thanks
I did end up fix those errors I was having it appears I had a couple of nodes that were failed that caused the issue. Now I am getting a Segmentation faults when my ecolink motion sensor changes states. I did not get the log since it is late at night and I wanted this to be working. Just wondering if anyone has any idea what would cause that issue? Other than that it appears to be working with no issues.
Running this…
pip3 uninstall python_openzwave
Gets me this, in red letters…
Cannot uninstall requirement python-openzwave, not installed
Running this…
pip3 install python_openzwave --install-option="–flavor=ozwdev"
Gets me this, in also red letters…
Command “/usr/local/bin/python3.6 -u -c “import setuptools, tokenize;file=’/tmp/pip-build-vs6t_sfo/six/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-5j7egij5-record/install-record.txt --single-version-externally-managed --compile --flavor=ozwdev” failed with error code 1 in /tmp/pip-build-vs6t_sfo/six/
Ideas? Thanks in advance!
If I had to guess, this is probably a permissions problem. Are you running this command within your virtual environment?
not sure what this means… do i need to run that activate command or something first?
You did a secure add on the NGDZ00-4?
Is Node026 the NGDZ00-4 or something else?
Yes the activate command is needed to get into your virtual environment.
Yup, I tried using add secure node and Node026 is the NGDZ00-4. Interestingly, the NGDZ00-4 responds correctly with a long beep when removing it as a node. I am going to backup my zwave stick network settings and then try a factory reset.
Yeah, by running the steps you mentioned above, you are creating a virtual environment to run homeassistant in which isolates it from the system and so it can have its own python packages.
The error message sounds like there might be a relaying issue on your Zwave network somewhere, hard to say.
Silly question, but what sounds does the NGDZ00-4 make when successfully paired? I am hearing three beeps.
Okay, apparently that message doesn’t matter! After my latest attempt I reset my rpi and now I see the cover! Thanks for your support @firstof9.
pip3 list
Will tell you what is installed, anything zwave related?
Here are all the steps I followed and working: RPi3 + Python 3.6.x
cd /home/homeassistant/.homeassistant
sudo systemctl stop [email protected]
sudo su -s /bin/bash homeassistant
source /srv/homeassistant/bin/activate
pip3 uninstall python_openzwave
Proceed (y/n)? y
Successfully uninstalled python-openzwave-0.4.0.35
rm /srv/homeassistant/lib/python3.5/site-packages/libopenzwave.cpython-35m-arm-linux*.so //This only works for Python 3.5.x and is not needed for 3.6.xxxxx
pip3 install ‘python_openzwave==0.4.0.35’ --install-option="–flavor=ozwdev" //This step takes a bit of time, leave it alone about 15min on RPi3
pyozw_check
Should be OpenZwave Version 1.5.xxxxx
sudo reboot
I get the following error when following these instructions
Command “/usr/bin/python3 -u -c “import setuptools, tokenize;file=’/tmp/pip-build-3wid9_cl/PyDispatcher/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-2wpx09_v-record/install-record.txt --single-version-externally-managed --compile –flavor=ozwdev” failed with error code 1 in /tmp/pip-build-3wid9_cl/PyDispatcher/
pip3 list returns the following
cryptography (1.7.1)
idna (2.2)
keyring (10.1)
keyrings.alt (1.3)
pip (9.0.1)
pyasn1 (0.1.9)
pycrypto (2.6.1)
PyDispatcher (2.0.5)
pygobject (3.22.0)
python-apt (1.1.0b5)
pyxdg (0.25)
SecretStorage (2.3.1)
setuptools (33.1.1)
six (1.11.0)
wheel (0.29.0)
Did you activate the virtual environment?
Do i activate the virtual environment by executing the following ?
source /srv/homeassistant/bin/activate
if that is the case it get the following
/srv/homeassistant/lib/python3.5/site-packages/pip/commands/install.py:212: UserWarning: Disabling all use of wheels due to the use of --build-options / --global-options / --install-options.
cmdoptions.check_install_build_global(options)
Collecting python_openzwave==0.4.0.35
Using cached python_openzwave-0.4.0.35.zip
Requirement already satisfied: PyDispatcher>=2.0.5 in /srv/homeassistant/lib/python3.5/site-packages (from python_openzwave==0.4.0.35)
Requirement already satisfied: six in /srv/homeassistant/lib/python3.5/site-packages (from python_openzwave==0.4.0.35)
Skipping bdist_wheel for python-openzwave, due to binaries being disabled for it.
Installing collected packages: python-openzwave
Running setup.py install for python-openzwave … error
Complete output from command /srv/homeassistant/bin/python3 -u -c “import setuptools, tokenize;file=’/tmp/pip-build-iyga2ukt/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-bwi3xk3l-record/install-record.txt --single-version-externally-managed --compile --install-headers /srv/homeassistant/include/site/python3.5/python-openzwave –flavor=ozwdev:
ImportError in : from wheel.bdist_wheel import bdist_wheel as _bdist_wheel
NameError in : class bdist_wheel(_bdist_wheel) - Use bdist_egg instead
<pyozw_setup.EmbedTemplate object at 0x76297570>
{‘extra_compile_args’: [], ‘extra_objects’: [‘openzwave-embed/open-zwave-master/libopenzwave.a’], ‘sources’: [‘openzwave-embed/open-zwave-master/python-openzwave/src-lib/libopenzwave/libopenzwave.cpp’], ‘include_dirs’: [‘src-lib/libopenzwave/’, ‘openzwave-embed/open-zwave-master/cpp/src’, ‘openzwave-embed/open-zwave-master/cpp/src/value_classes’, ‘openzwave-embed/open-zwave-master/cpp/src/platform’, ‘openzwave-embed/open-zwave-master/cpp/build/linux’], ‘name’: ‘libopenzwave’, ‘extra_link_args’: [], ‘libraries’: [‘udev’, ‘stdc++’, ‘resolv’], ‘define_macros’: [(‘PY_LIB_VERSION’, ‘0.4.0.35’), (‘PY_SSIZE_T_CLEAN’, 1), (‘PY_LIB_FLAVOR’, ‘embed’), (‘PY_LIB_BACKEND’, ‘cython’)], ‘language’: ‘c++’}
[‘six’, ‘PyDispatcher>=2.0.5’]
invalid command name ‘–flavor=ozwdev’
----------------------------------------
Command “/srv/homeassistant/bin/python3 -u -c “import setuptools, tokenize;file=’/tmp/pip-build-iyga2ukt/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-bwi3xk3l-record/install-record.txt --single-version-externally-managed --compile --install-headers /srv/homeassistant/include/site/python3.5/python-openzwave –flavor=ozwdev” failed with error code 1 in /tmp/pip-build-iyga2ukt/python-openzwave/