I am trying to set one colored bulb the same as another. I have the below rule and doesn’t seem to be working. So basically, if color of LED-Kitchen changes, then set color of RGB Bulb Counter1 the same color. Why isn’t this working?
I’ve found that the color
attribute is often in a different format than what the setColor()
command is expecting. Have you tried snapshotting the color
attribute to a variable first to see what the format looks like?
An alternative approach is to use the hue
attribute changing as the trigger and then use the setHue()
command along with the $context.event.value
to sync things across. This of course assumes that you’re using 100% saturation colors and it’s primarily just the color hue that you’re interested in syncing across.
Yeah, the Hue worked but its kind of finicky and not all of the bulbs changed to the desired color.
This seems like a basic feature most would want to do, not sure why this is so difficult. I can’t even do this within the ST app with routines.