No description
Find a file
2016-06-02 23:46:46 +02:00
Arduino/McLighting Added status info for WebSocket API. 2016-06-02 23:46:46 +02:00
clients Added sample configuration for homebridge. 2016-05-22 00:36:43 +02:00
documentation Added capacitor. 2016-05-29 18:07:16 +02:00
.gitignore Added the ready-built webclient to the repository 2016-05-17 00:33:55 +02:00
LICENSE Changed licence 2016-05-10 08:40:02 +02:00
README.md Update README.md 2016-05-22 00:47:19 +02:00

McLighting - The ESP8266 based multi-client lighting gadget

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, ...).

Demo video WebClient

Demo video Apple Homekit integration

The Hardware

The project ist based on the famous ESP8266 microcontroller and WD2811/WS2812 LED strips. There are many variations of the ESP chip out there, but I chose the NodeMCU dev board, because it's powered by micro USB and has a voltage converter included to power the ESP which uses 3.3V. A standalone ESP8266 or a Adafruit Huzzah should work too.

The RGB LED strips are also available in many different flavours as strip or as standalone LEDs and can easily be chained.

See wiki Hardware

Software installation

See wiki Software installation

Used Libraries

This project uses libraries and code by different authors:

The sketch also uses the following built-in library:

  • Ticker by @igrr

Parts of the code were taken or inspired by the following sources:

Thank you to all the authors for distributing their software that way. I hope I didn't miss any sources and mentioned every author. In case I forgot someone please let me know and I will fix it.

Todos

  • Fix issue with websockets connection problems
  • Add support for 433MHz wireless socket using the RC switch library.
  • Switch to the NeoPixelBus library
  • Use the led strip for status information in connection phase
  • Enhance the documentation
  • Stability improvements
  • Additional clients

Licence

GNU LGPLv3

More information will be added as soon as I clean up the code and complete documentation.