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

Implement an API to change channels #1190

Merged
merged 5 commits into from
Apr 17, 2023
Merged

Conversation

puddly
Copy link
Collaborator

@puddly puddly commented Apr 6, 2023

See #1185 (@dumpfheimer).

Currently, ZNP implements the best version of this API because it allows the coordinator to change channels after having a few chances to send out the broadcast. Other coordinators (EZSP and deCONZ) directly react to the loopback request and migrate almost immediately.

This rudimentary version has been implemented in zigpy-cli for some time and has been used by a few people to migrate their networks. From what I can tell, if an end device does not react to the channel change broadcast, it definitely won't with a unicast request. But it still might find the network again after detecting that it has been orphaned.

Thoughts?

@codecov-commenter
Copy link

codecov-commenter commented Apr 6, 2023

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (4b9a625) 99.53% compared to head (9010213) 99.53%.

Additional details and impacted files
@@           Coverage Diff           @@
##              dev    #1190   +/-   ##
=======================================
  Coverage   99.53%   99.53%           
=======================================
  Files          48       48           
  Lines        7882     7900   +18     
=======================================
+ Hits         7845     7863   +18     
  Misses         37       37           
Impacted Files Coverage Δ
zigpy/application.py 98.73% <100.00%> (+0.04%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

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

Successfully merging this pull request may close these issues.

2 participants