Homemade HomeKit supported night light with ESP32
Homemade?! Sounds like food, huh! What is the need? I purchased various night lights and was not happy with brightness, color selection and ease of control. In the US, power outlets are generally at bottom of the wall so the night light plugged in that outlet does not illuminate the room well. So I needed a night light which I can attach to the wall at height to better illuminate the room. ESP32 Devkit selection ESP32-S2 Saola devkits come with WS2812 LED. This is not a general LED that can be controlled with GPIO on-off. These LEDs can be chained in a strip and can be connected to a single GPIO to control the whole LED strip. On the board, there is only one LED and it's enough for my use as a night light. Software Development I have used Espressif Opensource HomeKit SDK and Espressif IDF SDK to develop the night light functionality. I have made the source code available under GPL 3.0 license on GitHub . Follow the steps in README on that repo to build and use the project at your