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

Handling of OFFLINE devices #1238

Open
cdjackson opened this issue May 12, 2021 · 1 comment
Open

Handling of OFFLINE devices #1238

cdjackson opened this issue May 12, 2021 · 1 comment
Labels
enhancement pinned Will not be closed, even if stale

Comments

@cdjackson
Copy link
Member

When a light is powered off at the wall, it will obviously not be contactable via Zigbee. However, if the user sends a command to the device, the library will continue to send the command. This will time out after 3 to 8 seconds, but in the meantime it may block communications to other devices. This is because the framework only releases a certain number of commands to the NCP at a time to avoid swamping the network (and the NCP can actually only handle a certain number of commands at once so it is not possible to send more).

If OFFLINE devices are communicated to as part of a large batch of commands (eg 10 devices in a room are powered off) then this may block ONLINE devices for a significant time.

I'm wondering about dropping commands that are sent to OFFLINE devices. This behaviour could be configurable, and for this to work it might be necessary to improve the way the library detects ONLINE / OFFLINE but I open this for comment.

@stale
Copy link

stale bot commented Jul 11, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Jul 11, 2021
@cdjackson cdjackson added pinned Will not be closed, even if stale and removed wontfix labels Jul 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement pinned Will not be closed, even if stale
Projects
None yet
Development

No branches or pull requests

1 participant