This is an old revision of the document!
In today’s connected world, real-time security monitoring at home or in small offices has become both practical and affordable. This project delivers a lightweight IoT door-security solution by combining an ESP32-CAM module with a Hall-effect sensor. Whenever the door opens, the sensor immediately signals the ESP32-CAM to capture a high-resolution image. That image is then uploaded to Firebase Storage, and its publicly accessible URL is written to Firebase Realtime Database. Simultaneously, Twilio’s API is invoked to send an SMS to your smartphone. Finally, a web gallery hosted on Firebase displays the latest snapshot instantly, giving you secure and remote visibility of every entry event.
In many homes and small offices, it’s difficult to know in real time if someone has opened a door while you’re away. Traditional mechanical locks and alarms often only log events locally or rely on manual checks.
This project bridges that gap by providing:
- instant detection of a door opening via a Hall-effect sensor
- automated image capture with an ESP32-CAM module
- cloud storage of each snapshot in Firebase Storage
- real-time notifications via Twilio (SMS)
- live web monitoring through a Firebase-hosted gallery