-
Notifications
You must be signed in to change notification settings - Fork 28
No apparent way of synchronising discovery #1
Comments
There is no way to know the total number of bulbs on the network. The only way the client knows for sure is if it responds to messages. Right now, I can make it so that it can wait a bit longer, or you can pass the number of lights, but either of them seem kind of messy.. |
Thought that might be the case. I'd suggest going in the other direction and take out the block altogether. At the moment |
Thoughts on removing the blocking in |
Works for me 👍 |
Fixed in e0aac8c |
Discovery appears to be asynchronous, which is fine, but there is no way of determining whether it's finished or not.
Maybe this is intrinsically impossible, but it would be nice if, after calling LFX::Client.discover, we could rely on LFX::Client.lights containing all lights on the network.
The text was updated successfully, but these errors were encountered: