A motion detector to control the lights under your kitchen cabinets using ESP32 and ESPHome with Home Assistant. The ESP32 is a versatile microcontroller that is compatible with ESPHome, which is a system that allows you to control your smart home devices with Home Assistant. For this project, you would need an ESP32 board, a PIR motion sensor to detect movement, and some jumper wires to connect the two. Once you have the hardware assembled, you can program the ESP32 with ESPHome firmware and integrate it with Home Assistant to automate your kitchen cabinet lights. This setup can turn the lights on when motion is detected and off when no motion is detected for a set period, providing convenience and energy savings.
Materials:
esp8266mod d1 copy