Open patrik-pa4k opened 2 years ago
Sorry for the late answer. From the top of my head various formats are supported but at these should work at least and use the same color representation as the lights internally:
{
"payload": { "bri": 100, "hue": 40, "sat": 100 }
}
{
"payload": { "bri": 100, "kelvin": 3500, "sat": 0 }
}
Hello, I'm using that solution for a while, but only for set brightness and turn-on of the light. Currently, I'm trying to change color, but without success. Have tried several possibilities in JSON format, sending color name, HEX, RGB, etc. but never been successful. For example : {"bri": 57, "hsv": [ 169, 37, 57 ], "rgb": [ 91, 145, 135 ], "hex": "5C9187" } where only brightness is changed. I've tried also to change the color on LIFX app and check the node lifx-out and it seems it is not changing as well. Maybe I'm making somewhere a mistake, pls. correct me if I'm wrong.
Thank you.