Problem is that the color temperature is not supported in the RGB wheel. Ones you change the color temperature, RGB wheel will automatically reset and go back to the center.
What you can do is add another node. First one will set color and brightness and then second node will set the color temperature.
I have just done exactly what the comment above did. In Node-RED I first make a call adjusting the colour and brightness - then I make a separate call right after which adjusts the temperature
Sorry for my stupidity, but could you show me an example? I have tried changing back and fourth, but the light bulb only works one way, when changing it back to bright - it dosen’t work at all for me
Sure
I have highlighted it in the below. First call service gives the color and brightness, second call service gives the color temperature. Hope this makes sense.
Thank you for the reply! I really appriciate it… I have tried to specify my problem with the pic below.
I first wan’t the light to be “white” and a bit dim, and then i wan’t it to be red. Going from red - white is no problem, but when i go from white - red the light just gets white with 100% brighness, can you see what i am doing wrong?
I see there are 2 different color modes used rgb_color and xy_color do you know which your light supports? I may well be both but in order to check go to dev tools and find the entity. The color modes will be listed there.
I’d start by just getting each color call service node to work separately, then link them together. You may need to add a slight delay, ~250ms, between nodes.
Hey! Thanks.
It supports both methods, and it does the same thing even if i use “rgb_color” on both.
This is the attributes i am trying to get the lights to appear from. Note that “Röd = Red” and “Vit = White”
I thought it would just be to change the light color_mode from hs and color_temp, but when i try to add a node to do that, i get an API error message…
The thing is, as the settings are now - they don’t even shift from white to red, it’s only white or brighter white. I can go from red (if i set in in home assistant first) to white, but when i try to go from white to red, it only gets brighter
And the secound picture is when i try to get color_mode :color_temp to be a secound node.
Hello, thank you for you’re reply. That dosen’t make any different at all, the light still behaves just like before Thanks anyway! Seems like this can’t be fixed…