ok i found the yeelight spec pdf and i read:
Method: set_power
Usage: This method is used to switch on or off the smart LED (software
managed on/off).
Parameters: 3.
"power" can only be "on" or "off". "on" means turn on the smart LED,
"off" means turn off the smart LED.
"effect": Refer to "set_ct_abx" method.
"duration": Refer to "set_ct_abx" method.
"mode" (optional):
0: Normal turn on operation (default value)
1: Turn on and switch to CT mode.
2: Turn on and switch to RGB mode.
3: Turn on and switch to HSV mode.
4: Turn on and switch to color flow mode.
5: Turn on and switch to Night light mode. (Ceiling light only).
Request Example: {"id":1,"method":"set_power","params":["on", "smooth", 500]}
Response Example: {"id":1, "result":["ok"]}
so i give to execute command channel {“id”:1,“method”:“set_power”,“params”:[“on”, “smooth”, 500]} but nothing happens ,what am i doing wrong here?