Skip to content
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.

LB300 is not taking Hue and Saturation values #32

Open
tejaswibharadwajp opened this issue Dec 1, 2019 · 2 comments
Open

LB300 is not taking Hue and Saturation values #32

tejaswibharadwajp opened this issue Dec 1, 2019 · 2 comments

Comments

@tejaswibharadwajp
Copy link

I have tried to set the hue and saturation balues for LB130 using this method
userInfo.getLB130("Hall Light").setState(1, 80, 360 , 60);
but the changes are reflecting.

userInfo is the object for login.

@vincepg13
Copy link

I am having this issue too, if I run the following snippet in my app:

var r = await tplink.getLB130("Bedroom Light").setState(1, 10, 50, 100);
console.log(r);

I would expect the light to turn on, at 10% brightness, with the colour being red. However it is always white. The response being logged always has the correct hue and saturation values, but no matter what these values are the colour does not change

@TrueGeek
Copy link

This is working on my KL130. I just wanted to point out that the light uses HSB, not standard RGB color format. This messed me up at first. So, @vincepg13, the values you are entering are actually not red, but black:

image

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

No branches or pull requests

3 participants