Copy color from one bulb to another

Hello,

  I have a bulb(A) , witch is driven by the motion sensor, with random color.

  The bulb "B" it's continously running. 

  What I want to do it's ewery time when bulb A change the color, the B bulb to change in the same color, but I want only the color without level. 

I tried with mirror app, but the app copy the leve to. 

PS: Before to start the topic I search, but I don't find anything. Please forgive me for mistakes.

Thenks all.

Might be able to do a rule and queue off of Hue and Saturation attribute of the primary bulb and then change the Hue and Saturation of the secondary bulb. If the bulb driver properly handles hue and saturation, then the hue and saturation should change (and you should see that in the attributes).

Before
Primary: Hue: 100, Saturation:66, level: 100
Secondary: Hue: 55, Saturation: 100, level: 20

After: Secondary: Hue: 100, Saturation: 66, level: 20

Of course, this is assuming that both bulbs implement the capability Color Control faithfully.

2 Likes

Hello

The bulbs are yeelight, RGB.(are twins)

In my chase the B bulb have dimer over time rule implement and the A bulb it's comandat by the motio sensor with random color.

I want to keep dimer ower time for B but I want the bulb to replicate the color of A bulb

Thank you

Do the yeelight bulbs support the commands setHue and setSaturation? On the attributes for the device, are hue and saturation included?

1 Like

@user1346

Color is a function of Hue, Saturation, and Lightness, as exemplified in the HSL color wheel that I've inserted below. As indicated by @djgutheinz, you can use setHue() and setSaturation() commands in Rule Machine or your own app, to mirror the Hue and Saturation from one Yeelight bulb to another.

However, be aware that Hue and Saturation are insufficient descriptors of color. The color achieved with HSL values of (100,100,100) will be different than (100,100,10).

1 Like

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.