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

Change single parts of color #34

Open
MariusRumpf opened this issue Jul 27, 2016 · 2 comments
Open

Change single parts of color #34

MariusRumpf opened this issue Jul 27, 2016 · 2 comments
Milestone

Comments

@MariusRumpf
Copy link
Owner

MariusRumpf commented Jul 27, 2016

The library makes use of the color method which requires hue, saturation, brightness and kelvin values. It might be useful to have a method for every single part if it, without affecting others.

For example setting different shades of white is easy with the app but complex with the library. To utilize one has to keep track of the latest color value and only change the kelvin value.

@MariusRumpf MariusRumpf changed the title Change kelvin value only Change colors kelvin value only Jul 27, 2016
@MariusRumpf MariusRumpf changed the title Change colors kelvin value only Change single parts of color Jul 27, 2016
@MariusRumpf MariusRumpf added this to the 1.0 milestone Jul 27, 2016
@ristomatti
Copy link
Collaborator

This could be done with storing the HSBK values on each change or are they already stored somewhere? I'm using that approach for ristomatti/lifxsh.

In addition a configurable stateColor and stateMultiZone polling interval could be added to notice changes done using other methods.

@MariusRumpf
Copy link
Owner Author

That is exactly what I though of, there is no stored value anywhere for now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants