The MiLight gateway is a simple PCB to be used with the open-source milight gateway software by Chris Mullins.
Long time ago I’ve bought some of these MiLight RGB LED bulbs to control them with a raspberry pi and the openmilight project (see link at bottom).
That did not work very well so I was looking for a better solution – and found it right there:
In addition to this software project I created this PCB with minimal components, as I wanted to install it as permanent solution.
This is the very first PCB I created using KiCad after migrating from Cadsoft(now Autodesk) Eagle.
DIY kits to build your own minified standalone MiLight Gateway will be available in my shop soon!
- nRF24L01+ module
- SMD Mini-USB port or 2x male pin headers
- 2x 10µF 0805 capacitor
- 2x4pin female pin header
- optional: 1x5pin male/female pin header
- Solder the ESP12S module
You can use some double-sided tape to hold it in place while soldering.
- Solder SMD components
These are only an AMS1117 power regulator and two capacitors. The Micro-USB connector can also be added at this step.
- Mount pin headers
The 2×4 female pin headers are used to connect the nRF2401 which controls the MiLight bulbs.
The 1×5 and 1×2 pin headers are optional and serve for power supply and/or programming the ESP8266.
- Attach the nRF2401 and power it up
Use a 5V voltage source or an USB port.
On first boot it will create an insecure wifi access point called “ESP-xxxxxx”.
Connect and navigate to http://192.168.1.4. Now follow the setup wizard.
Chris Mullins blog post: http://blog.christophermullins.com/2017/02/11/milight-wifi-gateway-emulator-on-an-esp8266/
OpenMili hackday project: https://hackaday.io/project/5888-reverse-engineering-the-milight-on-air-protocol
PCB design files: https://github.com/manuel-domke/esp8266_milight_hub/tree/master/kicad