You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
Thanks for the API. It's easy and simple to use.
My question is how do you get the state of each light ? I don't see another way instead of creating a Thread in which a loop turns and get the state of each light.
If you could directly create a system with listerns it could be very great !
Thank you in advance
The text was updated successfully, but these errors were encountered:
Hi there! I understand you would like to listen to events from the system and react to them? Up until recently the Bridge has not made that possible, but nowadays there actually exists an interface for that. Unfortunately I have not had the time to update this library to support those so-called Server-Sent Events yet, as it comes with quite big changes to the Hue API. But there's already the issue #48 open for it.
Hello,
Thanks for the API. It's easy and simple to use.
My question is how do you get the state of each light ? I don't see another way instead of creating a Thread in which a loop turns and get the state of each light.
If you could directly create a system with listerns it could be very great !
Thank you in advance
The text was updated successfully, but these errors were encountered: