I just got my Yeelight JIAOYUE 650 yesterday and I am trying to be able to dim it from 0 (which should be OFF) to 100 (which should be the maximum brightness possible)
(I have integrated the lamp into openHab (https://www.openhab.org/) and therefore I control it via API.)
Now I just want to be able to dim it like every normal lamp.
But right now if I set the brightness value to for example 1 then it is definetly not 1% off the Maximum brightness. The lamp is still very bright then. (I also used the remote which comes with the lamp but even there if I press the - button it still does not dim down completly (it looks like it only is dimming down to around 50% or so )
Could somebody please show/explain to me how I can have tradional dimming with this lamp.
In order to be able to dimm it to 1% you must switch it to Moon mode. In general Moon mode from 1% to maybe 40% with only warm white and Sun lets say 41% - 100% with full range of warm - cold temperature.
You can use the command below to switch lamp mode:
// switch lamp to night mode
{"id":1,"method":"set_power","params":["on","smooth",500,5]}
// switch lamp to normal mode
{"id":1,"method":"set_power","params":["on","smooth",500,2]}
Definition of mode:
public static final int TURN_ON_TO_CT = 1;
public static final int TURN_ON_TO_COLOR = 2;
public static final int TURN_ON_TO_CF = 4;
public static final int TURN_ON_TO_NL = 5;
Cause the lumen of lamp between of night mode and white mode is not continuous,night mode is 1lm to 100 lm, and white mode is about 600lm(not sure about this value) to 3500lm, so there’s no way to make it to look like smooth dimming.
The only problem is there that the binding returns the wrong brightness value which is why I can not use it for my rule to create a kinda smooth dimming
If I use {“id”:1,“method”:“set_power”,“params”:[“on”,“smooth”,500,2]} while the lamp is already on then the lamp does not switch to normal mode, how can I switch to normal mode when the lamp is already on ?