






Simple Ceiling Lamp with Presence Detection
I always like to combine multiple functionalities into one device to avoid cable clutter and keep my plugs available for other stuff. So I again built a ceiling lamp that has a presence sensor built right into it so with one appliance my room can turn on and off the lights based on presence.
This one I'll use for my friends bathroom.
The parts;
- ESP32-S3 Microcontroller
- LD2410C mmWave Presence Sensor
- SK6812 Addressable LED Strip (5V with dedicated white channel)
- AC to DC 5V 6A Power Supply
- 3D Printed Enclosure (Designed in Tinkercad :)
The case has 3 parts. One mounts to the ceiling directly, second one is a plate that holds my led strip and my components and fits in the ceiling mounting part by inserting and twisting. For the cover I used transparent filaments which I kind of like but think could be better printed. Maybe in vase mode or something.
It is completely home assistant friendly of course and built with esphome.
For the automations I learned that we can create automations directly from esphome so we don't need to rely on home assistant alone for the lights to trigger on and off. Code could be better but there is always room for improvement.
STL and Code: https://github.com/rgnyldz/rgnlabs-bathroom-ceiling-lamp
Build process: https://www.youtube.com/watch?v=2E1V8GT9j3o