Open tejaswibharadwajp opened 5 years ago
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
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:
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.