Looking for a little help on an idea I had to match colors from hue light to a WIFI Led light.
Basically looking for the functionality below, but cant get it working:
rule "Basement Lights Colors"
when
Item Basement_color received command
then
if (receivedCommand == "0,100,100") {
Speaker_LEDS.sendCommand(0,100,100)
}
end
I was only pointing out that the “if” statement would not work as posted. I’ve never used color bulbs so I can’t help much with that part but listing the Speaker_LED item type might help others who are familiar with color bulbs.
rule "huefollow"
when
Item BasementWhiteLampColor received update or Item BasementWhiteLampColor changed or Item BasementWhiteLampColor received command
then
SpeakerLEDsColor.sendCommand(BasementWhiteLampColor.state.toString)
end