Milight/Limitlessled iBox

Any updates on the progress?

Speaking as a total noob with close to zero CS knowledge, isnā€™t it possible to sniff the UDP commands sent using the working official app? Is it all encrypted?

Hi varzyl,

Yes that is exactly how I discovered my mistake. When obtaining the WB ID 1 and 2, I had to complete the commands on the same socket in Python. I am still having some issues with hex->int->hex in my Python code, but all the basic commands are working now.

So steps are:

  1. Open UDP socket
  2. Send command to discover WB ID 1 and WB ID 2.
  3. Send command to light bulb and/or wifi bridge light
  4. Close UDP socket

UDP traffic is in the clear, so you can see all the commands as they fly by.

Are you working on updating the Python library used by home-assistant or did you make your own library/software?

There is an issue opened on Home-assistant github:

And one on the Python library github:

Is there a way to use home assistant to turn on the ā€œdiscoModeā€ for the milight controller?

As far as I know isnā€™t there a preprogrammed option in the current component.

Thats what I thought, just wanted to be sure I was not missing something. Thanks!

You can use effect: colorloop for something similar to that.

Iā€™m using the limitless Windows app to discover the udp commands I need for HA Bridge. I am able to control the system settings of the ibox but the color/light commands never work. What are you using to send the UDP commands for testing? And see responses? Have you used the limitless sample Windows app? It says it uses v6 commands

Using a RFLink to control Milight bulbs might be a very interesting option:

In home assistance output i can see that the older bulbs are already detected by the RFlink. I did not get them working though, no programming skills here. They are also working on support for the new bulbs.

It seems to me that adding support for MiLight bulbs in RFlink might be easier then supporting the original wifi controller. Building a RFlink is easy, costs just a much as the official controller, and offers loads more option.