ESP32 DIY lights trend
Makers are increasingly building ESP32‑based lighting projects that integrate with MQTT and Home Assistant for motion sensing, voice control and music‑reactive modes. (x.com) (x.com) (x.com)
A cheap Wi-Fi chip called the ESP32 is turning homemade light strips and lamp builds into full smart-home devices that run locally. (espressif.com) The ESP32 is a microcontroller, a tiny computer for sensors and switches, with built-in Wi-Fi and Bluetooth on one board. Espressif says it can run as a standalone system, which is why hobbyists keep using it for lights, buttons, microphones and motion sensors. (espressif.com) For addressable light strips, many builders use WLED, software for Espressif boards that controls chipsets such as WS2812B, WS2811, SK6812, WS2801 and APA102. Home Assistant’s WLED integration supports ESP8266 and ESP32 releases and exposes each WLED segment as a separate light entity. (home-assistant.io) For device-to-device messages, many projects still use Message Queuing Telemetry Transport, usually shortened to MQTT, which Home Assistant describes as a lightweight publish-subscribe protocol on top of Transmission Control Protocol and Internet Protocol. Home Assistant recommends the Mosquitto broker as the easiest private setup, and WLED can connect to MQTT brokers on port 1883 for smart-home control. (home-assistant.io) (kno.wled.ge) That combination lets one light build react to another device without a cloud service in the middle. WLED’s documentation says the software can subscribe to multiple MQTT topics for brightness, color and application programming interface commands, while Home Assistant can add MQTT devices through discovery or manual setup. (kno.wled.ge) (home-assistant.io) Voice control is moving into the same stack. ESPHome says ESP32 devices with a microphone can stream audio to Home Assistant Assist through its voice assistant component, though the project warns that audio features use significant random-access memory and central processing resources on the device. (esphome.io) ESPHome also gives builders another route besides MQTT. Its MQTT client documentation says users connecting directly to Home Assistant may prefer the native application programming interface instead, which helps explain why some projects mix WLED for effects with ESPHome for sensors, buttons or voice hardware. (esphome.io) Home Assistant’s own ESPHome integration points users to open-source, ready-made projects and cites the Voice PE as a prebuilt voice assistant example that can still be customized. That has made the line between a finished smart-home product and a one-off workshop build much thinner than it was a few years ago. (home-assistant.io) The result is a wave of do-it-yourself lighting that behaves less like a novelty strip and more like home infrastructure: lights split into zones, trigger on motion, answer voice commands and sync effects across rooms. The hardware is still a small ESP32 board, but the software stack around it now does most of the heavy lifting. (home-assistant.io) (espressif.com)