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

When querying pilot from several bulbs in quick succession, more often than not one bulb fails to respond #5

Open
PonchoPowers opened this issue May 27, 2022 · 0 comments

Comments

@PonchoPowers
Copy link

When querying pilot from several bulbs in quick succession, more often than not one bulb fails to respond.

If I loop through 7 bulbs to get their pilot, on a regular basis there is always one bulb that doesn't respond, and it is usually a different bulb each time that fails to respond.

Is this a problem with my router or the wiz bulbs and is there anything that can be done in code to resolve the issue?

I tried increasing the timeout which doesn't seem to help, reducing the delay between the loop in receiving the datagrams doesn't help either.

From what I can see the bulbs respond in bursts, some are slower than others and some respond so fast that the loop misses them, but when I tinker with the code it seems to get more reliable in some cases and then other times the same change starts to cause problems such as a backlog of tasks that are being awaited.

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

No branches or pull requests

1 participant