Managing the color of multiple RGB LED nodes
-
Can you not add them all to a group, then send a group command? or does that not work with stuff other than on/off? I have never done that so I am guessing.
-
Can you not add them all to a group, then send a group command? or does that not work with stuff other than on/off? I have never done that so I am guessing.
@crankycoder This was my first and so far the only idea. :smile: To my regret, it did not work. Such a trick turned out only with a switch.
-
I guess you could do it with a dummy color item. Not associate it with a specific. Then have a rule that when the dummy item is updated, then loop through the items in the group, or just send it to the X number you have.
-
I guess you could do it with a dummy color item. Not associate it with a specific. Then have a rule that when the dummy item is updated, then loop through the items in the group, or just send it to the X number you have.
@crankycoder Many thanks for the idea!:raised_hands: I think this is the right direction for solving my question.
-
You can link multiple things (or thing channels) to the same item in openHAB. Simply create one single ColorItem and separate all channels with commas.
Working example:
Color aacc_color "Mysensors LED Lights" (lights) {channel="mysensors:rgbLight:bridge:drawer_lights:rgb,mysensors:rgbLight:bridge:desk_lights:rgb"} -
You can link multiple things (or thing channels) to the same item in openHAB. Simply create one single ColorItem and separate all channels with commas.
Working example:
Color aacc_color "Mysensors LED Lights" (lights) {channel="mysensors:rgbLight:bridge:drawer_lights:rgb,mysensors:rgbLight:bridge:desk_lights:rgb"}
