Hello, I’ve been developing app that uses LAN control, and got an issue with color flows.
Docs specify that:
Brightness: Brightness value, -1 or 1 ~ 100. Ignored when mode is 7.
When this value is -1, brightness in this tuple is ignored (only color or CT change takes
effect).
However neither my light strip nor rgb bulb accept -1 as value.
If I send (simple red into green into blue)
{"id":0,"method":"start_cf","params":[0,0,"2000,1,255,-1,2000,1,16711680,-1,2000,1,65280,-1"]}
I receive
{"id":0, "error":{"code":-5000,"message":"general error"}}
works if I explicitly include brightness:
{"id":0,"method":"set_scene","params":["cf",0,0,"2000,1,255,100,2000,1,16711680,100,2000,1,65280,100"]}
Does -1 need to be escaped in some way? Anyone got sample command where it works? Tried this with both start_cf command and set_scene with color flow.