Skip to content
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

Device Stuck in pair loop #21497

Closed
drannou opened this issue Feb 20, 2024 · 7 comments
Closed

Device Stuck in pair loop #21497

drannou opened this issue Feb 20, 2024 · 7 comments
Labels
problem Something isn't working stale Stale issues

Comments

@drannou
Copy link

drannou commented Feb 20, 2024

What happened?

During a full re-pair of my 40+ devices (due to instability), I discover that I cannot repair some devices.
Most of my devices can re-pair with the coordinator, but some are stuck in pair process, with led blinking

For example: Legrand cable outlet can pair successfully, I can start to get information, but the device led does not stop blinking, and the device disconnect after seconds.
I have the same with ewelink relay (led never stop blinking)
It's like if devices were waiting for a final ACK from coordinator and never get it.

Informations:
Z2m: [1.35.3](commit: [fe0742a])
Coordinator: EZSP v12 (7.3.1.0 build 176)

Test done : delete coordinator_backup.json database.db database.db.backup, repair the strict minimum to be able to pair the Legrand device, same issue

What did you expect to happen?

Device should stop blinking at the end of the pair process, and should not disconnect

How to reproduce it (minimal and precise)

repair devices

Zigbee2MQTT version

1.35.3

Adapter firmware version

7.3.1.0 build 176

Adapter

EZSP v12

Setup

HA with Z2m on orangepi Zero 3

Debug log

I attach the debug trace, finishing in a crash of z2m

Uploading debug.log…

@drannou drannou added the problem Something isn't working label Feb 20, 2024
@gbroll
Copy link

gbroll commented Feb 23, 2024

I think this is the same issue as I have. I have problems with IKEA bulbs and LEDVANCE outlets, which keeps resetting after pairing. For the IKEA lights, it was possible to stop the reset by cutting power immediately after successful interview, but that doesn't work for the ledvance outlets.
We are running different zigbee adapters (I have an old conbee) which I guess suggests that the problem is not related to the adapter but further up the stack.

#21363

@Xavinooo
Copy link

Xavinooo commented Feb 25, 2024

I also have issues to pair legrand devices. I went back to 1.34.0 to pair them...

@drannou
Copy link
Author

drannou commented Feb 26, 2024

Find a way to make it pair, I saw it in another thread where you need to stop Z2M when the device has been discovered.
It's a little bit pita, but it works.
May be we should fix the documentation (at least, or fix the bug :p )

@Koenkk
Copy link
Owner

Koenkk commented Feb 27, 2024

Could have been fixed by Koenkk/zigbee-herdsman#938 which is available in the dev branch

If not, I suggest to try the new driver

@sjorge
Copy link
Contributor

sjorge commented Feb 27, 2024

Could have been fixed by Koenkk/zigbee-herdsman#938 which is available in the dev branch

If not, I suggest to try the new driver

Seeing similar issues with a z-stack coordinator, but I'm just blaming it on legrand being very picky. As it never really worked well before anyway. I am able to pair it with the september z2m release though. But it just breaks when upgrading again and I gave up.

Because the device is very hard to debug as I essentially have to cut the entire power to the house to reset mine (which euhm, well doesn't do well for the server running z2m). So I can't do a git bisect on this sadly.

@sjorge
Copy link
Contributor

sjorge commented Mar 16, 2024

This is related to Koenkk/zigbee-herdsman#979, until this is fixed you can theoretically manually comment the readResponse coming from inside zh. I've tried this and then the device pairs again.

Copy link
Contributor

This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 30 days

@github-actions github-actions bot added the stale Stale issues label Sep 13, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Oct 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
problem Something isn't working stale Stale issues
Projects
None yet
Development

No branches or pull requests

5 participants