• Home
  • About
  • Resume

Full control of your Limitless LED/Milight bulbs from Amazon Echo

By , 05/12/2016 11:34 AM

Limitless LED Limitless LED offers full color RGBW light bulbs that you can control over Wi-Fi/4G from your computer, phone or smartwatch. They’re an inexpensive alternative to Philips Hue and they look really cool.
But I, being lazy ass that I am, was wondering if you can control the lights from Amazon Echo by voice commands alone. Out of the box Echo and Limitless LED don’t recognize each other. Amazon can see and control Hue, but not Limitless LED. Fortunately geniuses of BWS Systems came up with a really cool piece of software – home automation bridge “HA-Bridge”. It’s free and written in Java so it can run pretty much in any environment under any OS. What it does – it emulates Philips Hue API so other devices on your network – like Echo – can see and interact with it.

It’s pretty easy to run and configure and it has a tab in UI where you can manually add any device unsupported out of the box. All you have to do is give your device a name and specify which commands to send to device for ON, OFF and DIM requests. Commands can be scripts or simple TCP/UDP data sent directly to the IP/port of your device. Here’s where Limitless LED API comes very handy. According to it – all you have to do to control your bulbs is send set of specific bytes to the IP of your WiFi bridge. For example to Turn ON lights in Zone 1 you have to send hex sequence 45, 00, 55. To turn them OFF – the sequence is 46, 00, 55. To set specific brightness level – first you need to send ON sequence and then 4E, <brighness level>, 55. This resulted in following manual config:

limtiless0

Note that I gave this device name “Lights” – I did it for shortness, but you can call it “Living Room Lights” or “Office Lights” or whatever you want – this is the name Amazon Echo will recolonize the device by. Before using newly added device you need to tell Echo to find it: “Alexa, discover devices”. Once discovery is finished you can issue command for your <device name>. In my case – “Alexa, turn lights ON”, “Alexa, brighten lights to 10”, “Alexa, dim lights to 2”, “Alexa, turn lights off”. Magic.

This is all fine and good – but you have full color lights. And you want to be able to control colors as well. But both Echo and HA-Bridge API support only basic On/Off/Dim commands. What to do? Why not add another device for color control? According to Limitless LED API to control color you need to issue command 40, <color code>, 55. To reset it back to white the command is C5, 00, 55 (note that these will differ per group/zone – mentioned are command for Zone 1). Hence comes this setup:

limtiless1

Here <color code> = 60 “green”. Note that I call this device “Green Light”, so now I can issue command “Alexa, turn green light ON”. Command “Alexa, turn green light OFF will reset color to white. DIM command set up previously works on colors as well. Don’t forget you need to tell Alexa to discover devices after you add new ones.

Using this approach you can control as many colors as you want or even pass color number to bulbs directly. Again – magic.

UPDATE: 02/2017 Here’s a better resolution screenshot. It also features newer v4.x version of HA-Bridge with more streamlined UI (e.g you no longer have to bundle multiple URLs into JSON arrays).


If you have any questions or would like to share some hacks, please with our forum.


60 Responses to “Full control of your Limitless LED/Milight bulbs from Amazon Echo”

  1. Renji says:

    Got it, was on the wron group!

  2. Thijs Bink says:

    Okay so, I have the wifi Ibox (the newer one which is a light in itself). Do i need the wifi controller (the flat one), and will that one work with the lights i already have (which are probably the newer ones as well). I have the HA-bridge installed, on my Rpi 3B and it works. The UDP commands don’t work, i tried udp://192.168.178.17:8899/450055 (.17 is the ip of my Ibox). But it fails.

    Can someone please help me??!!

  3. Thijs Bink says:

    I’m confused. It’s not clear which controller is which. According to me there are a couple of things. You have the IBox-lamp V6 (which is a wifi controller???). You have the Ibox v6 (which should be the same only without the lamp??). And you have the Wifi box (whatever that is).

    My question is: I have the Ibox-lamp v6 and 4 Milight RGBWW lamps that work with this Ibox. Only I want them controlled through my Echo dot using HA-bridge (on my Rpi 3). I understand fro mthe comments that the Ibox-lamp v6 doesn’t support all this. What do I need in order for this article above to work?

    Thank you in advance!!

    Thijs

  4. Timbiotic says:

    Download the app Muzzley and see if it works with v6 (works with echo dot without bridge) . Otherwise you will need v2 controller. I got mine here but showing unavailable so you can search eBay or look for one that is similar. https://www.amazon.com/gp/product/B01I4F1ALA/ref=oh_aui_detailpage_o09_s00?ie=UTF8&psc=1

  5. Dexteryout says:

    AFAIK you will need the older slim boxes, I now have 4 of them , and each of the 4 rooms has its own box. All the commands work well in terms of on and off, but i’m struggling with the dimming part and the white to warm change. I had the newer boxes, and just couldn’t get it to work.

  6. Thijs Bink says:

    Thank you Timbiotic for your quick response!

    I tried AP and Smart link mode in the v6 controller but it doesn’t seem to work either way. I like the app though, and it surely works with Alexa (echo dot).

    What I can understand from your reply is that you have a v2 controller (right?), and that one works with the app? If so, would my (v6) lights work with a v2 controller. Someone who can confirm that?

    Thanks for all the help guys.

    Kind of a newby here 🙂

    Thijs

  7. xbmcnut says:

    Hi. Great article thanks but I’m not getting consistent on/off with a v4 bridge. When testing in ha-bridge (4.3.1), I need to push the off button several times and on sometimes twice. Have you seen this happen?

    udp://10.0.1.220:8899/0x450055 (on)
    udp://10.0.1.220:8899/0x460055 (off)

  8. epocapp says:

    Our website has changed.Please visit the new one:
    http://www.epocapp.eu/milight

  9. Arne says:

    This simply drives me crazy. Just installed the actual version 4.5.0 of HA-bridge on my raspi 3.
    Added “udp://192.168.0.46:8899/0x450055” as on item and “udp://192.168.0.46:8899/0x460055” as off item. Nothing happens. Double and tripple checked the IP: correct.
    Any ideas? Anyone?

  10. Yuriy says:

    @Arne if you’re running a newer version of Limitless Led/Milight – the command system has changed, it’s a bit more complex now – check http://codecorner.galanter.net/2017/02/24/full-control-of-your-limitless-ledmilight-v6-bulbs-from-amazon-echo/

Leave a Reply

Panorama Theme by Themocracy