Skip to content
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Controllers
  3. OpenHAB
  4. Managing the color of multiple RGB LED nodes
  • Getting Started
  • Controller
  • Build
  • Hardware
  • Download/API
  • Forum
  • Store

Managing the color of multiple RGB LED nodes

Scheduled Pinned Locked Moved OpenHAB
7 Posts 3 Posters 1.7k Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • vladimirV Offline
    vladimirV Offline
    vladimir
    wrote on last edited by
    #1

    Hello! Tell me please, can I somehow change the color at the same time for a group of nodes? I have several LED color fixtures, I want to change the color of all at once and in one place of the application.
    alt text

    1 Reply Last reply
    0
    • CrankyCoderC Offline
      CrankyCoderC Offline
      CrankyCoder
      wrote on last edited by
      #2

      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.

      Home Automation Tinkerer
      www.CrankyCoder.net

      Controller: HomeAssistant in Kubernetes
      Gateway: MQTTClientGateway
      MySensors: 2.3

      vladimirV 1 Reply Last reply
      0
      • CrankyCoderC CrankyCoder

        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.

        vladimirV Offline
        vladimirV Offline
        vladimir
        wrote on last edited by vladimir
        #3

        @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.

        1 Reply Last reply
        1
        • CrankyCoderC Offline
          CrankyCoderC Offline
          CrankyCoder
          wrote on last edited by
          #4

          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.

          Home Automation Tinkerer
          www.CrankyCoder.net

          Controller: HomeAssistant in Kubernetes
          Gateway: MQTTClientGateway
          MySensors: 2.3

          vladimirV 1 Reply Last reply
          1
          • CrankyCoderC CrankyCoder

            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.

            vladimirV Offline
            vladimirV Offline
            vladimir
            wrote on last edited by
            #5

            @crankycoder Many thanks for the idea!:raised_hands: I think this is the right direction for solving my question.

            1 Reply Last reply
            1
            • S Offline
              S Offline
              SiLeX
              wrote on last edited by
              #6

              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"}
              
              vladimirV 1 Reply Last reply
              1
              • S SiLeX

                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"}
                
                vladimirV Offline
                vladimirV Offline
                vladimir
                wrote on last edited by
                #7

                @silex Wow! Super! Thank you!:raised_hands:

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                12

                Online

                11.7k

                Users

                11.2k

                Topics

                113.0k

                Posts


                Copyright 2019 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • OpenHardware.io
                • Categories
                • Recent
                • Tags
                • Popular