core: ZHA: Sonoff Zigbee USB dongle does not work after 2022.12 update
The problem
Dear,
There’s an issue with the Sonoff dongle. I’ve switched to another scene right before the update so it was working before. Now I get an eror message:
Error setting up entry Sonoff Zigbee 3.0 USB Dongle Plus, s/n: 6222e9dc1d3bec118daaa0957a0af07f - ITead for zha
I will upload the log as well.
Yours sincerely.
Me
What version of Home Assistant Core has the issue?
2022.12.0
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant Supervised
Integration causing the issue
ZHA
Link to integration documentation on our website
https://www.home-assistant.io/integrations/zha/
Diagnostics information
home-assistant_2022-12-07T22-44-50.849Z.log
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Error setting up entry Sonoff Zigbee 3.0 USB Dongle Plus, s/n: 6222e9dc1d3bec118daaa0957a0af07f - ITead for zha
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 372, in async_setup
result = await component.async_setup_entry(hass, self)
File "/usr/src/homeassistant/homeassistant/components/zha/__init__.py", line 100, in async_setup_entry
setup_quirks(config)
File "/usr/local/lib/python3.10/site-packages/zhaquirks/__init__.py", line 400, in setup
importlib.import_module(modname)
File "/usr/local/lib/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 879, in exec_module
File "<frozen importlib._bootstrap_external>", line 1012, in get_code
File "<frozen importlib._bootstrap_external>", line 672, in _compile_bytecode
ValueError: bad marshal data (unknown type code)
Additional information
All my Zigbee devices that are connected are not working no more because of this issue with the dongle. I’ve tried to restart HA, stop the integration, start the integration, reconect the radio, rebooted the hardware, removed the dongle from my pi and re ensterted it again. Tried to reconfigure the dongle for several times. Nothing solved the issue.
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 51 (13 by maintainers)
After repeating everything and replacing the fixed.db with the zigbee.db I was able to update to 2022.12.7.
THX to puddly
Because I started out with a Sonoff gateway and now moved to Conbee yesterday to see if the gateway was the problem.
You can access it, but zha cannot connect to it as the error says. Did it change the address?