I dumped the entire list in RGB values creating a big list of possible colors in Red, Green and Blue. Like I said, I am going to base my script on a Kelvin Table based script. Unless the output is actually in color temperature, which doesn’t apply for my devices. Now first I have to admit I’m abusing a list method found online which is based on a Kelvin table, so whatever input method I use, I need to convert it into a value from this list. I will be using the rgb color, and to pick that up we are going to look at _color. Both return color in hs_color, rgb_color and xy_color. The other is a Tuya integration LED driver. The most urgent is the Ikea E27 RGB bulb, from which I have 2 at the moment controlled by remotes. Current state of the lightĬurrently I have 2 different devices that have RGB options. The debug node at the end will be replaced by a light. In practice these will be replaced by any device you want to use to switch the color in a next/previous way.
So here are currently 2 inject nodes, one for next color, one for previous color. Using inject nodes I am going to try to mimic any remote action I can think of. But now let’s try and make it work decent.Īs with the previous I will not actually use devices, other than get a current state.
I currently have it set up with random RGB values, so it’s a surprise each time what color you get. Especially the Ikea remotes just go through colors based on a next and previous arrow button.
#Rgb for color red how to
Another issue I ran into while working on my Ow the Zigbee articles, how to change colors for lights using a remote.