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

Unconditional change of router by the End Device when the Coordinator restarts (TZ-430) #156

Closed
nomis opened this issue Nov 25, 2023 · 1 comment
Labels

Comments

@nomis
Copy link

nomis commented Nov 25, 2023

Question

I have a SONOFF "Zigbee 3.0 USB Dongle Plus V2" coordinator, two ESP32-C6 routers and an ESP32-C6 end device. (There are also another 14 devices, half of them are routers.)

If I restart Home Assistant (i.e. the coordinator is restarted) then the ESP32-C6 end device will unconditionally change the parent router that it's connected to. The candidates for this are the two ESP32-C6 routers and the coordinator itself (because the other non-ESP routers have lower transmit power).

It then never changes to a different router unless that router or the coordinator is restarted again, even if the new parent router is further away. This can mean the end device is connected to a router that is too far away (in another building) for reliable communication.

I'd expect the end device to change back to the closer router that it preferred to use on startup.

Additional context.

I'm using zb_nwk_get_parent() and exposing that as an analog input value to monitor it.

I've tested with 0.9.4 and 1.0.0.

@nomis nomis added the Question label Nov 25, 2023
@github-actions github-actions bot changed the title Unconditional change of router by the End Device when the Coordinator restarts Unconditional change of router by the End Device when the Coordinator restarts (TZ-430) Nov 25, 2023
@xieqinan
Copy link
Contributor

Hello @nomis ,

Thank you for letting us know. We will work on optimizing the parent selection algorithm in the upcoming version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants