Mc Lighting

The ESP8266 based multi-client lighting gadget

Public Chat
Similar projects worth following
Mc Lighting (the multi-client lighting gadget) is a very cheap internet-controllable lighting solution based on the famous ESP8266 microcontroller and WS2811/2812 led strips. It features a self-hosted responsive web-interface, a REST-API and a websocket connector.

Because of it's open architecture and APIs it's easy to build new clients for different platforms (iOS, Android, Windows Universal Apps, Siri/Cortana integration, ...).

This project was born for a talk at the PiAndMore conference. I just wanted to show the capabilities of an ESP8266. So I built a smart lighting gadget with the ESP and a NEOPixel strip that supported multiple protocols:

  • REST
  • WebSocket
  • MQTT

It also has a captive portal to setup your WiFi.

So it was possible to switch your light using different ways:

  • Embedded responsive web interface (Video)
  • Siri / Homekit (Video)
  • Smartwatch (Video)
  • NodeRed (Video)
  • And countless more

The feedback was quite good and I enhanced it everytime I found time. Many people built their own versions. I collected the videos here.

In the meanwhile there is also a good community of people contributiong code and supporting each other.

  • 1 × ESP8266 DEV Board WiFi enabled Microcontroller. The NodeMCU boards are the easiest variation.
  • 1 × WS 2812 LED strip Also other Neopixel types possible

  • 1
    Build instructions

    Can be found on the Mc Lighting project page and the wiki.

View all instructions

Enjoy this project?



Mal Smith wrote 06/15/2018 at 11:38 point

Thanks for such a rapid response Tobias. The phone hotspot is my next test. Cheers, Mal

  Are you sure? yes | no

Tobias Blum wrote 06/15/2018 at 09:30 point

HI @Mal Smith,

this is not so easy to make this work stable for all users, so we don't support it at the moment. Someone made an attempt to modify the code:

The best workaround is to use your phone as an access point and connect McL to it.

Best regards


  Are you sure? yes | no

Mal Smith wrote 06/15/2018 at 06:39 point

Hi. I love this project. Is there any way of controlling the Webserver without both the server and client joining the same Wi-Fi network? Can the ESP2866 be run as its own Wifi network that a mobile then joins in as a standalone node? And how? I want to have some lights in a hat away from a network.   I’m a newbie on this front and any advice would be welcome. Many thanks. Mal. 

  Are you sure? yes | no

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates