Hi
the currently API documention outlines that zero is a valid RGB value.
"rgb_value"is the target color, whose type is integer. It should be expressed in decimal integer ranges from 0 to 16777215 (hex: 0xFFFFFF).
Unfortunately, the 1S, as well as Stripe V2 respond with a "“code”:-5001,“message”:“invalid params” error. Expected behaviour is that Zero, i.e. black, is treated as any other colour as outlined in the specification, even if this results in powering of fthe Leds.
Bulb 1S
{“id”:1,“method”:“get_prop”,“params”:[“model”,“power”,“rgb”,“bright”,“fw_ver”]}
{“id”:1,“result”:[“color4”,“on”,“16711680”,“100”,“27”]}
{“id”:2,“method”:“set_scene”,“params”:[“color”,16711680,100,“sudden”,0]}
{“id”:2,“result”:[“ok”]}
{“id”:3,“method”:“set_rgb”,“params”:[0,“sudden”,50]}
{“id”:3,“error”:{“code”:-5001,“message”:“invalid params”}}
Stripe v2
{“id”:1,“method”:“get_prop”,“params”:[“model”,“power”,“rgb”,“bright”,“fw_ver”]}
{“id”:1,“result”:[“stripe”,“off”,“1901332”,“11”,“73”]}
{“id”:2,“method”:“set_scene”,“params”:[“color”,16711680,100,“sudden”,0]}
{“id”:2,“result”:[“ok”]}
{“method”:“props”,“params”:{“power”:“on”,“rgb”:16711680,“hue”:0,“sat”:100,“bright”:100}}
{“id”:3,“method”:“set_rgb”,“params”:[0,“sudden”,50]}
{“id”:3,“error”:{“code”:-5001,“message”:“invalid params”}}
In case of question or clarification required, please do not hesitate coming back to me.
I am also willing to support getting the Yeelights to the next level, by testing an interim firmware, if provided.
Many thanks in advance and kind regards,
Lord-Grey