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 pairing results in an error #17886
Comments
This turned out to be an issue with the Xiaomi devices that I have in my network. There is an issue reported against zigpy that has some ideas on how to fix this. Should I document how to pair Xiaomi devices to prevent the next user to run into the same issue? Do we want to have device specific documentation in HA? |
I'm experiencing the same issue after adding a Xiaomi humidity and temperature sensor to Home Assistant 0.81 via the Elelabs Zigbee USB adapter..how did you solve it @frog32 ?
|
Same issue, on 0.81.5. Please share you documentation @frog32
|
Some xiaomi devices are too sleepy. They go to sleep before the pairing is complete and do not announce all their clusters. To prevent that from happening I had to keep pressing the button on my humidity sensor every ~4s which does not influence the pairing but prevents the sensor from going to sleep. After 30s or so I had all required clusters in the database. |
Wauw, that's it! I've been struggling already a few weeks now, thanks a lot! |
@cgarwood can we close this as a known issue w/ Xiaomi devices? see this link for more info: https://community.smartthings.com/t/original-aqara-xiaomi-zigbee-sensors-contact-temp-motion-button-outlet-leak-etc/113253 This is a problem with other zigbee platforms as well. For the Xiaomi devices you have to keep them awake while pairing or they will not report their cluster information correctly. Pressing their button 1 time every 5 seconds or so seems to work very well. |
Makes sense, not much we can do if the hardware is going to sleep too fast. |
Home Assistant release with the issue:
0.81.0
Last working Home Assistant release (if known):
unknown
This originally worked but stopped working a few weeks ago without a version change of HA. After that I deleted the zigbee.db it stopped failing.
Operating environment (Hass.io/Docker/Windows/etc.):
hassio 32bit rpi
elelabs USB dongle https://www.tindie.com/products/Elelabs/elelabs-zigbee-usb-adapter/
Component/platform: zha
Description of problem:
After starting with a deleted zigbee.db and power cycling everything the database gets recreated but it seems that most tables are empty
Problem-relevant
configuration.yaml
entries and (fill out even if it seems unimportant):Traceback (if applicable):
Additional information:
After that bellows shows frequent errors and there seems to be a difference between the Zigbee dongles state and the state as seen from home assistant
The text was updated successfully, but these errors were encountered: