![](images/hg_mini_leds_4.jpg)
Open media
Smart lights come in all sorts of shapes and colors. The most common way of implementing a smart light is using LEDs. They are perfect for basic illumination, creating cozy atmospheres, enhancing art and music experiences, festive decorations, visual alerts, signage, and much more, offering endless possibilities for makers.
The firmware on this page is an example implementation of a smart light device using WS28xx addressable LED pixels, one of the most popular products when it comes to LED lights and microcontroller modules.
With the color-light
firmware and WS2812 RGB LEDs is possible to build smart lights with an arbitrary number of color-changing LEDs that can be independently addressed.
This type of LED only requires 3 wires (VCC, GND and a GPIO pin) to connect to the microcontroller.
color-light
firmwareConnect your ESP32 / ESP8266 microcontroller to the USB port of this computer, select the desired firmware version, and click the "Create device" button to upload HomeGenie Mini firmware to the device.
Installing firmware directly from this page works only in browsers with Web Serial API enabled.
See the Device setup page for further information about configuring a HomeGenie Mini device.
This firmware pre-compiled binaries and source code are available on GitHub:
In addition to the common Device API, the following modules and API are implemented by this device.
C1
moduleThis is the master module that controls all LEDs simultaneously.
HomeAutomation.HomeGenie/C1
Status.Level
Status.ColorHsb
Control.On
Control.Off
Control.Toggle
Control.Level/<level>/<tansition_ms>
Control.ColorHsb/<h>,<s>,<b>,<tansition_ms>
L1
... L<num>
modulesThese modules control the LED corresponding to the number <num>
.
HomeAutomation.HomeGenie/L<num>
Status.Level
Status.ColorHsb
Control.On
Control.Off
Control.Toggle
Control.Level/<level>/<tansition_ms>
Control.ColorHsb/<h>,<s>,<b>,<tansition_ms>