Skip to content
  • MySensors
  • 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. OpenHab and RGB led strip

OpenHab and RGB led strip

Scheduled Pinned Locked Moved OpenHAB
19 Posts 7 Posters 11.1k Views 6 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.
  • Dave DanD Offline
    Dave DanD Offline
    Dave Dan
    wrote on last edited by
    #2

    What gateway you have?

    I have mine with Serial gateway and is very simple. I Just write the command with the color code and in the incoming message in the arduino I set the color to the leds (in my case a Ring).

    I'm in the office right now, but I can share code later if you want.

    andredtsA 1 Reply Last reply
    0
    • X Offline
      X Offline
      xefil
      wrote on last edited by
      #3

      Hello!
      Thanks for the answer. Is there a way to get a notification via mail on a reply on this forum? I miss the replies :)
      BTW, I'm using MQTT as gateway with openhab. I've never thought to use serial GW. I expect it's more or less the same or do you suggest serial GW is better? In case why?
      Thanks!

      Simon

      DwaltD 1 Reply Last reply
      0
      • X xefil

        Hello!
        Thanks for the answer. Is there a way to get a notification via mail on a reply on this forum? I miss the replies :)
        BTW, I'm using MQTT as gateway with openhab. I've never thought to use serial GW. I expect it's more or less the same or do you suggest serial GW is better? In case why?
        Thanks!

        Simon

        DwaltD Offline
        DwaltD Offline
        Dwalt
        wrote on last edited by
        #4

        @xefil Notifications can be setup under your profile settings.

        Veralite UI5 :: IBoard Ethernet GW :: MyS 1.5

        1 Reply Last reply
        0
        • V Offline
          V Offline
          vil1driver
          wrote on last edited by
          #5

          RGB-3D sketch use 3 dimmers and 1 switch.

          If your controler support this, all is fine.

          Serial gateway or others, same battle, if you can connet it to your controler, all is fine.

          1 Reply Last reply
          0
          • X Offline
            X Offline
            xefil
            wrote on last edited by xefil
            #6

            Thanks, I'll start using a led to test the dimmer. If it works, than all the rest should work as well.

            Simon

            PS: I'll go now to see in my profile the notification settings, thx!

            1 Reply Last reply
            0
            • X Offline
              X Offline
              xefil
              wrote on last edited by
              #7

              Actually I have one meter of the following LED strip:

              http://www.aliexpress.com/item/AA-5M-16-4Ft-IC-chips-WS2801-led-pixel-strip-5050-32leds-m-160leds-digital-magic/1737976079.html

              Should it work exactly like the others?

              1 Reply Last reply
              0
              • Dave DanD Dave Dan

                What gateway you have?

                I have mine with Serial gateway and is very simple. I Just write the command with the color code and in the incoming message in the arduino I set the color to the leds (in my case a Ring).

                I'm in the office right now, but I can share code later if you want.

                andredtsA Offline
                andredtsA Offline
                andredts
                wrote on last edited by
                #8

                @Dave-Dan

                Hi, would you please share the code, arduino, item and rules. I use serial gateway, OH 1.8.3 with bidding.

                Thanks

                1 Reply Last reply
                0
                • X Offline
                  X Offline
                  xefil
                  wrote on last edited by
                  #9

                  Give me some time and I'll share it.
                  Simon

                  andredtsA 1 Reply Last reply
                  0
                  • M Offline
                    M Offline
                    mortommy
                    wrote on last edited by mortommy
                    #10

                    Hi,
                    I modified an Ikea Dioder and currently I'm controlling it by openhab. Here you can find items and rules.

                    https://www.openhardware.io/view/80/MySensor-Dioder-Ikea#tabs-comments

                    andredtsA 1 Reply Last reply
                    0
                    • X Offline
                      X Offline
                      xefil
                      wrote on last edited by
                      #11

                      Hello @mortommy , great job :)

                      @andredts , are youo using serial gateway? I've the code used on the sketch to handle the rgb strips. I've build it following exactly this:
                      http://easydomoticz.com/forum/viewtopic.php?f=20&t=704

                      But I've as gateway, the MQTT ClientForwarder.

                      Simon

                      andredtsA 1 Reply Last reply
                      0
                      • X xefil

                        Give me some time and I'll share it.
                        Simon

                        andredtsA Offline
                        andredtsA Offline
                        andredts
                        wrote on last edited by
                        #12

                        @xefil

                        Thanks, take all the time you need, Now I´m using the RGB-3D exemple, I can get it to work on Openhab with 3 separated dimmers. But I can´t get it to recall the values or to use the color wheel.

                        1 Reply Last reply
                        0
                        • M mortommy

                          Hi,
                          I modified an Ikea Dioder and currently I'm controlling it by openhab. Here you can find items and rules.

                          https://www.openhardware.io/view/80/MySensor-Dioder-Ikea#tabs-comments

                          andredtsA Offline
                          andredtsA Offline
                          andredts
                          wrote on last edited by
                          #13

                          @mortommy

                          Thanks, It seems great, but I will only control it from OH side. Unfortunately no Ikea on my country. Having that control would be great. If I can´t find anything simpler I will try to adapt that.

                          M 1 Reply Last reply
                          0
                          • X xefil

                            Hello @mortommy , great job :)

                            @andredts , are youo using serial gateway? I've the code used on the sketch to handle the rgb strips. I've build it following exactly this:
                            http://easydomoticz.com/forum/viewtopic.php?f=20&t=704

                            But I've as gateway, the MQTT ClientForwarder.

                            Simon

                            andredtsA Offline
                            andredtsA Offline
                            andredts
                            wrote on last edited by
                            #14

                            @xefil

                            Thanks, I got it working the way it is there, for the Domoticz, on my Openhab. Using 3 separated slides, but now I´m trying to use the color wheel to set the colors with Openhab as the controller.

                            M 1 Reply Last reply
                            0
                            • andredtsA andredts

                              @mortommy

                              Thanks, It seems great, but I will only control it from OH side. Unfortunately no Ikea on my country. Having that control would be great. If I can´t find anything simpler I will try to adapt that.

                              M Offline
                              M Offline
                              mortommy
                              wrote on last edited by
                              #15

                              @andredts
                              Sure. Just have a look at the code to grab some ideas.

                              1 Reply Last reply
                              0
                              • X Offline
                                X Offline
                                xefil
                                wrote on last edited by
                                #16

                                @andredts now I'm on travel. I'll send/share you the code as soon I'll reach my home again ;-)

                                1 Reply Last reply
                                0
                                • X Offline
                                  X Offline
                                  xefil
                                  wrote on last edited by
                                  #17

                                  Hi @andredts !
                                  Well, I had not implemented the RGB Color panel, but then I've tried to create it and it works well.
                                  BTW I've read right now that you are using the serial gateway. I'm on MQTT, so, you need to implement the rules to parse the serial messages. Apart of this, if you need the sketch and the rules/items for handling the RGB I can share it.
                                  I've two radio networks. First on nrf24l01+ with mqttclientforwarder on mosquitto mqtt-server and other nodes on rf64 with serial gateway and python service to parse the serial and forward it to the same mqtt-server.

                                  Cheers, Simon

                                  1 Reply Last reply
                                  0
                                  • andredtsA andredts

                                    @xefil

                                    Thanks, I got it working the way it is there, for the Domoticz, on my Openhab. Using 3 separated slides, but now I´m trying to use the color wheel to set the colors with Openhab as the controller.

                                    M Offline
                                    M Offline
                                    matt shepherd
                                    wrote on last edited by
                                    #18

                                    @andredts hey did you manage to get the colour wheel working? I'm having similar issues, everything works well but with 3 seperate dimmers.

                                    Thanks

                                    andredtsA 1 Reply Last reply
                                    0
                                    • M matt shepherd

                                      @andredts hey did you manage to get the colour wheel working? I'm having similar issues, everything works well but with 3 seperate dimmers.

                                      Thanks

                                      andredtsA Offline
                                      andredtsA Offline
                                      andredts
                                      wrote on last edited by
                                      #19

                                      @matt-shepherd Never got the time to do it. Sorry

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


                                      11

                                      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
                                      • MySensors
                                      • OpenHardware.io
                                      • Categories
                                      • Recent
                                      • Tags
                                      • Popular