Motion Light Controller
Hardware- 0 Devlogs
- 0 Total hours
A smart light switch for my room using an ESP32. It uses a servo motor to physically flip my existing light switch, and a PIR sensor to detect when someone walks in so the light turns on by itself. I connected it to a cloud MQTT broker so I can control it from anywhere, not just when I'm on my home WiFi, and built a simple web dashboard (hosted on GitHub Pages) where I can turn the light on/off manually, toggle auto motion detection, and choose how long it stays on after no motion. I also added a second page that logs when motion is detected with actual timestamps, but only once every 15 minutes so it doesn't spam the log every time I move just keeps a rolling 2 day history so i can see if anyone came into my room when im not home to steal my Ramen packs