Helping guide you through the never-ending forest of technology, into the open glade of easy to follow posts!
Inexpensive HomeKit/Hue LED Controller: Homebridge Plugin
Inexpensive HomeKit/Hue LED Controller: Homebridge Plugin

Inexpensive HomeKit/Hue LED Controller: Homebridge Plugin

As previously mentioned the majority of the lighting in my house is Philips Hue. When it came to adding LEDs I was very much against the idea of spending £70 for two meters of Philips Hue tape. I knew there would be a better solution, one that would let me use generic LED tape. After researching I found the perfect solution, an LED controller that supported Zigbee.

Initially, I bought a few MagicHome controllers. These were rather inexpensive and already have a Homebridge plugin. While I was happy with the setup of these LEDs, the end result was rather janky. My Hue lights would come on, then about 2 seconds later the LEDs would follow. This wouldn’t do… While browsing Aliexpress I found some Zigbee controllers from Gledopto. I was sceptical about how well they would work but decided I’d order two, to see if they faired any better. After messing around with them, I’m sold!

When the controllers arrived I was very impressed. I like the fact that these controllers work with a DC jack or bare wires. Although, the unit doesn’t come with a power supply, I recommend using something above 2 amps, which is what I’m using. Gledopto has a range of different controllers, I went for the RGB+CCT controller as it gives a full range of colour and whites (CW/WW), like my Hue Lights. When buying be aware that some expose as two fixtures, one for colour and one for whites. For a full breakdown on the different types check out this reddit post. I bought my controller here, which appear as a single fixture.

When it came to ordering the LED tape for this I wasn’t sure which route I would go down, as I’ve already got a bunch of RGB LED tape. But, these RGB LEDs aren’t very good at replicating whites, hence why the controller has separate inputs for warm and cold white. I thought about ordering some CCT tape and using it with my existing RGB tape. Weighing this up I prefer the idea of a single strip of RGB+CCT tape, which I bought here. If you do want to use two separate strips, connect the positives together and wire the rest as expected.

Setting up Strip Controller

When the RGB+CCT tape arrived it came with header pins. I didn’t want to waste a bunch of jumper cables so cut off the end and exposed the wires. If you ordered the same LEDs the wires inside are colour coded. To connect them to the controller hold a screwdriver in the hole and insert the stripped cable. Looking at the size of the pads, I’m not looking forward to soldering the next section of tape…

After wiring in the LEDs, you’ll want to connect the controller to the mains, when you do this the tape should illuminate. You can use any Zigbee Bridge such as the IKEA TRÅDFRI or Amazon Echo Plus to add the light. To connect it to the Philips Hue Bridge use the Add Light wizard in Light setup on the Settings tab. This new light will appear on the Hue app as Extended color light 1, you can then rename it and assign it to a room. I also spent some time adjusting the scenes so that in my living room they would appear as blue and pink.

If you only wanted Hue support then you can jump off at this point. But, due to Apple’s rules, these won’t appear in HomeKit… this looks like a job for Homebridge!

Homebridge Setup

Exposing these controllers to HomeKit was simple. If you haven’t already got Homebridge setup, check out my previous post. When I started messing with Homebridge, I came across the homebridge-hue plugin but didn’t think I’d need it. Now that I’m trying to expose something from Hue to HomeKit I couldn’t live without it! To install this plugin type the below command:

sudo npm install -g homebridge-hue

Once installed you can then begin to configure the plugin. As you’ll only want to expose lights that Hue doesn’t expose to HomeKit the config will very concise. If you do need other parameters you can check out their configuration wiki here. To expose these lights add the below code to your config.json file—if you have other platforms, add this as an extra:

"platforms": [
{
      "platform": "Hue",
      "users": {
        "001788FFFExxxxxx": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
        "001788FFFEyyyyyy": "yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy"
      },
      "lights": true
    }
  ]

After this, you can save the config and startup Homebridge. When starting Homebridge it will kick out an error. Press the link button on the Hue Bridge and Homebridge will start up fully. The console will show a code and ask you to add it to the config.json file. If you’re using PuTTY to copy, highlight the user text. You’ll then want to delete the two users from the above config and replace them with the one you copied. To paste this move the text cursor to where you want to insert it and right-click.

Homebridge will now sync up to the Hue Bridge on startup. You will need to restart Homebridge when adding extra lights. This is so that Homebridge can discover them.

Overall, I’m extremely happy with the end result of this project. So far I’ve bought and setup two RGB+CCT Gledopto controllers, and have still spent less than the two-meter Hue Strip. I’ve had these strips for two weeks and have had zero issues. The colour output is great and they sync perfectly with my Hue Lights. As I said before, I’m sold. If you have any questions about these controllers drop a comment below and I’d be more than happy to answer them!


Featured Equipment and Gear

As an Amazon Associate, TechTrail earns from qualifying purchases made with some store links.


by Sam Brooks

Sam is the founder and editor for Tech Trail. With a background in Broadcast Engineering, and great enthusiasm for smart home and emerging technologies.

More by Sam →

  • Twitter
  • KoFi
  • Email

Sam Brooks

Sam is the founder and editor for Tech Trail. A Broadcast Engineer with a passion for technology and design. Working on the bleeding edge of technology Sam is exposed to a vast amount of emerging technologies and likes to keep up to date on the latest tech in general.

48 Comments

    1. Sam Brooks

      For these Gledopto controllers they only work with 12V and 24V LED strips.

      But what you’re looking for would be something different anyway, as they’re addressable LEDs so have individual pixel control, after a bit of Googling I found this: https://aliexpi.com/BmAy

      I haven’t used it so can’t comment on quality. But it would give control via an app–but wouldn’t work with HomeKit.

      1. Diego

        I don’t really need it to be addressable so I’ll try to find some rgb led ring that can be used with this controller. I don’t want to use a led strip because I need more number of leds per metre (it’s for a ceiling lamp).

        Thanks for answering.

  1. Jon Drake

    I purchased the Gledopto controller without the power supply. I already had a 12V 100W power supply for my Milite controller and 36′ of 12V RGBW lights. I thought I could simply take the V+ and V- red/black wires and put them into the Gledopto controller. When I hooked everything up, there was no light. I am certain that I connected the wires correctly. What have I missed?

    1. Sam Brooks

      That should work perfectly, the only thing I can think of is maybe the pushdowns are not fully making contact with the V+ and V- terminals. Have you got another 12V PSU you could try? Your Controller could be DOA 🙁

  2. Jon Drake

    Followed the directions for inserting the user and (?)password into the config.json file. However, when I restart homebridge, I get a user error and homebridge crashes.
    Error is: Phillips hue: bridge request 2: GET /
    Phillips hue: bridge error 1: unauthorized user

    I made sure the “users” is correct and the (?)40 character password is correct.

    Any ideas where I am missing something?

    1. Sam Brooks

      It could be a syntax error, I’m guessing it works initially when first pressing the button to get the code, and only fails when updating the config.json.

      Feel free to email over your config.json to me and I’ll take a look if you like 🙂 [email protected]

  3. Sven

    I’m looking to buy three of those little epic controllers. I was wondering do you have a guide on how to connect them to my IKEA Trader hub? I would like to know If that works before I buy three of them. Does anyone have this setup, or can you help me out Sam?

    1. Sam Brooks

      Sadly I don’t currently have a TRÅDFRI hub or bulbs. I do believe they will work with TRÅDFRI and just need to be paired in the same way as a Hue/TRÅDFRI bulb, but can’t confirm as don’t have this system.

      I am planning to get a TRÅDFRI hub at some point but not in the near future, but will write an update when I do 🙂

  4. Dan

    I bought the gledopto controller but I have a question. I do not have a power outlet near the place where I want to install the strip , but instead there are two bear wires connected to a lightswitch that the electrician left in case I wanted to connect more lights. So my question is can I hook the bear wires in the v+ v- of the controller without frying it or do I need to get a power outlet somehow close to the ceiling? Thank you!

    1. Sam Brooks

      Hey Dan, So these bare ends will most likely be mains voltage! So do not plug them into the LED Controller! You’ll need a transformer to bring it down to 12/24v (depending on your LED strips), this could either be a socket, or just a little transformer you wire in 🙂

Leave a Reply

Your email address will not be published.