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

LIFX Strip Area Control #15

Open
Guitar-Kirby opened this issue Dec 1, 2018 · 1 comment
Open

LIFX Strip Area Control #15

Guitar-Kirby opened this issue Dec 1, 2018 · 1 comment

Comments

@Guitar-Kirby
Copy link

LIFX strips are zoned; would it be possible to have the app treat each zone as an individual bulb?

@niXta1
Copy link

niXta1 commented Dec 18, 2018

I’m guessing that it would be more work than reward.
But it is possible:

If you want to alter the entire strip to use different colors (such as a rainbow) there are two approaches we suggest.

  1. Send a single MultiZone::SetColorZones message for each zone starting with 0 and ending at the last zone on the device, setting apply to APPLY. This will make the strip appear to 'load' the new settings reminiscent of a progress bar.

  2. Use the apply field to buffer all the changes before applying them with the last change you wish to make. Send a message for each zone with the apply field set to NO_APPLY. This makes the device store the changes in a buffer. Then send the final message with the apply field set to APPLY which will cause the device to apply all the change in the message along with all the changes in the buffer at once.

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

2 participants