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
Hi there! First off just wanna say what a great library you've created and functions incredibly well. This isn't actually an issue, more of a help/feature request.
I was just wondering if there's any way the LAN API can be implemented to toggle ALL lights (Similar to the HTTP method that LIFX has for the cloud, and similar to broadcastOn and broadcastOff functions).
Currently I'm doing this by running an interval to run Lifx.discover() and check if any lights are on, and when my action (clapping) occurs it can just check a variable. This however seems somewhat inefficient, specially with how long discover can take. Is there anyway of doing this?
The text was updated successfully, but these errors were encountered:
Hi there! First off just wanna say what a great library you've created and functions incredibly well. This isn't actually an issue, more of a help/feature request.
I was just wondering if there's any way the LAN API can be implemented to toggle ALL lights (Similar to the HTTP method that LIFX has for the cloud, and similar to broadcastOn and broadcastOff functions).
Currently I'm doing this by running an interval to run Lifx.discover() and check if any lights are on, and when my action (clapping) occurs it can just check a variable. This however seems somewhat inefficient, specially with how long discover can take. Is there anyway of doing this?
The text was updated successfully, but these errors were encountered: