Cheap Hue/HomeKit LED Controller

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 metre 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!

List of Equipment

– Gledopto RGB+CCT LED Controller
– RGB+CCT LED Strip
– 12V 3A Power Supply

For more information about Gledopto and the range of products they make check out the below links, all the products listed that support ZigBee will work using this guides method.

26
Leave a Reply

avatar
  Subscribe  
Notify of
fiona
Guest
fiona

Is 2A power supply adequate for 5metre strip?

Andrew
Guest
Andrew

I have a cheap Magichome WiFi controller, and one of my complaints is that on certain color settings, the controller emits a high-pitched “whine” sound. It’s not audible over music or conversation, but if the room is silent I can definitely hear it. It’s bad enough that I just have to turn the lights off.

Have you noticed anything like that with the Gledopto?

Andrew
Guest
Andrew

Thanks for your reply on the above. Another question: how are the whites on the RGBCCT strip you bought? I’m looking for one that reproduces that beautiful, warm incandescent color temp. I’ve purchased a handful of led strips (some RGBWW, some just “Warm White”), but I have yet to find a white that I’m happy with. Some of them have a weird greenish hue, others are just too harsh and not warm enough. There are so many options out there and not enough reliable advice to help me choose the right one!

GLEDOPTO
Guest
GLEDOPTO

Thanks for sharing our products and creating a homekit guide! We have shared your picture on our Instagram!

Bruce
Guest
Bruce

By any chance you could upload a youtube tutorial? (A)

Diego Heras
Guest
Diego Heras

Is there an option for a 5v led Strip?
I want to control with the iPhone something like this: https://s.click.aliexpress.com/e/bu7yzXTS

Jon Drake
Guest
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?

Jon Drake
Guest
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?

Sam Brooks
Guest
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 🙂 hello@sambrooks.net

Sven
Guest
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?

Dan
Guest
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!

ckcheng
Guest
ckcheng

can you have a tutorial in video?