-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ZHA (zigbee) not working after home assistant core update to 21.8.8-14 #4833
Comments
+1 |
I have been re-installing the Python and Home Assistant packages a number of times. Trying to find and remove any left overs before doing a new install. But I feel I'm not making any progress. I did notice however that also some other integrations are no longer working like my SolarEdge.
The Samsung integration in the log above must have triggered by HA because it detected the tv on the network. It was not initiated by me manually. Any clues as to where to search for the root cause of all this? |
@hgy59 any chance for a workaround similar to #4458 (comment) ? I updated the workaround from #4458 to reflect the homeassistant core 2021.8.8 dependencies (from https://github.com/home-assistant/core/blob/2021.8.8/requirements_all.txt):
However, this fails compiling the pycryptodome 3.11.0 dependency (downloads .tar.gz and tries to compile it). |
@rs1gg the zha dependencies should be installed on demand. Unfortunately I am working on HA update to 2021.9.7 and will not update the 2021.8.8 package, as there are issues with cross compilation of python wheels that got recently fixed by @th0ma7. |
@hgy59 updated |
Thanks @hgy59 and @th0ma7! I can see the updated python 3.8 (v3.8.12-6) on https://synocommunity.com/packages, however my NAS does not offer to update it yet - still not after removing and adding the synocommunity repo. I will give it some hours and test as soon as the update is available. |
@rs1gg you don't need the updated python38, I am still testing with python38 on DS-115j with only 256MB RAM it took about 1.5 hours (with 100% cpu load) to install the homeassistant package. |
ZHA should run with the latest update to 21.9.7 #4919 |
ZHA working nicely indeed, many thx |
Setup
Package Name: Home Assistant Core
Package Version: 21.8.8-14
NAS Model: DS216play
NAS Architecture: Arm (STM Monaco STiH412)
DSM version: 6.2.4-25556 Update 1
Expected behavior
Zigbee integration (zha) worked before the upgrade from previous version (20.xx? + Python 3.7)
Actual behavior
Home Assistant installs and runs but fails on the ZHA integration
Within the Home Assistant gui either wait endlessly on "please while integration is being setup" or "Config flow could not be loaded”
The log reports:
Unable to install package bellows==0.26.0
I found an issue much like it posted by rs1gg commented on Feb 27 #4458 #4580
So I followed the advise and executed the same command
./pip install bellows==0.21.0 zha-quirks==0.0.51 zigpy-cc==0.5.2 zigpy-deconz==0.11.1 zigpy-xbee==0.13.0 zigpy-zigate==0.7.3 zigpy-znp==0.3.0 zigpy==0.30.0
from /var/packages/homeassistant/target/env/bin:But unlucky for me without success - it seems to fail on the PyCryptoDome again...
Steps to reproduce
I'm far from expert in this matter but with a little guidance I hope to resolve this
home assistant log
Some similar I will receive from Putty when trying to run pip install zigpy==0.30.0 or bellows==0.21.0
ERROR: Command errored out with exit status 1: /volume1/@appstore/homeassistant/env/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-c7js1a8q/pycryptodome_3f088c13dbdd469b94ac2014c2fd1622/setup.py'"'"'; __file__='"'"'/tmp/pip-install-c7js1a8q/pycryptodome_3f088c13dbdd469b94ac2014c2fd1622/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-jnsf99eb/install-record.txt --single-version-externally-managed --compile --install-headers /volume1/@appstore/homeassistant/env/include/site/python3.8/pycryptodome
The text was updated successfully, but these errors were encountered: