HomeGenie Forum

Automation Program Plugins and Wizard Scripting => APP Contributions => Topic started by: smeghead on December 04, 2014, 07:03:04 AM

Title: MiLight / EasyBulb Controller
Post by: smeghead on December 04, 2014, 07:03:04 AM
Hi Everyone,

This app implements the control for the MiLight and EasyBulb series of RGBW lights.  The lights are relatively cheap and work pretty well.  Examples are here:
http://www.milight.com/milight-rgbw/ (http://www.milight.com/milight-rgbw/)
http://www.ledchoice.co.uk/rgbw-bulbs (http://www.ledchoice.co.uk/rgbw-bulbs)

What you need to do:
Import the app.
Run the app to let the trigger code execute, this creates the options parameters and turns the status of the app to yellow.
Open the options panel and set the IP address of your Wifi MiLight control box (and leave the port at 8899).
Click "restart" and the status of the app should be green.
Create modules!
Each wifi box can only control 4 "groups" of lights, Milight(1) to MiLight(4).  Milight(0) will control ALL light groups.

Limitations:
I have not implemented control for the RGB Only / White Only lights as I don't have any to test.
This only works for MiLight wifi boxes at version 3 upwards (i.e. those with their port set at 8899).
You will need HomeGenie r440 for this to work as it needs UdpClient

Best of luck and happy lighting

Smeghead
Title: Re: MiLight / EasyBulb Controller
Post by: Gene on December 04, 2014, 01:31:36 PM
The script was not working, I made some fixes but cannot verify it since I haven't got the MiLight hardware.
I will include this script with next HG release, but please let me know if it works with the changes.

Cheers,
g.
Title: Re: MiLight / EasyBulb Controller
Post by: smeghead on December 04, 2014, 06:48:23 PM
I've tested your version of the script and it works with the changes, thanks for the help.

Cheers
Smeghead
Title: Re: MiLight / EasyBulb Controller
Post by: Bitcraze on December 18, 2014, 09:33:04 PM
Hi,

MiLight Bridge: Wifi removed and connected directly to Raspberyy PI:

http://servernetworktech.com/2014/09/limitlessled-wifi-bridge-4-0-conversion-raspberry-pi/ (http://servernetworktech.com/2014/09/limitlessled-wifi-bridge-4-0-conversion-raspberry-pi/)


Something to keep in mind, as people have mentioned the Wireless on the Bridge is flaky.
Title: Re: MiLight / EasyBulb Controller
Post by: KaZe on October 09, 2016, 08:54:42 PM
Hi!

I was download the program witg HG 5.25. The On/Off works fine, but if I try to change color, I get the error:
Code: [Select]
{"Title":"MiLight ERROR!","Message":"Input string was not in a correct format."}
Any idea what is the problem?!

Thanks
Title: Re: MiLight / EasyBulb Controller
Post by: KaZe on January 26, 2017, 07:15:53 PM
Hi!

I found the problem, and I repaired it. Now the color change works fine from web interface and android app too. And only white LED function is works fine too. If you want to change the color to white, just switch the white color like in the picture.

Cheers!  8)