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

lfxLight.setColorOverDuration(newcolor,1000); seems to change colour instantly #4

Open
ThomasWrobel opened this issue Apr 6, 2014 · 2 comments

Comments

@ThomasWrobel
Copy link

I am assuming if I use ;

lfxLight.setColorOverDuration(newcolor,10000);

The color should crossfade from its current one to the new one over a 10 second period right?
Because it doesn't, if just changes straight away.

@PercyBoyes
Copy link
Contributor

Hi Thomas,

First up, cheers for having a play with the SDK, you've actually stumbled upon a bug that exists in the current bulb FW. If the color set has a zero temperature, the bulbs ignore the duration. The quick fix would be to set the temperature to any non-zero value.

I'll leave the issue open and get back to you about a fix being implemented in the SDK.

Cheers

Jarrod

@ThomasWrobel
Copy link
Author

oh, thanks, thats an easy workaround for now.

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