An Integrated PIR-Camera IoT Security System with Real-Time Telegram Notification
DOI:
https://doi.org/10.62872/5caybe23Keywords:
ESP32, Internet of Things, Motion Detection, PIR Sensor, Telegram NotificationAbstract
The rapid growth of Internet of Things (IoT) technology has motivated numerous studies to develop motion-based security systems that combine Passive Infrared (PIR) sensors with microcontrollers and instant-messaging platforms such as Telegram. A review of four recent studies on PIR-based IoT motion detection, however, shows that each system still carries partial limitations: some provide visual verification through a camera module but lack an offline data-retention mechanism, while others record activity to a cloud platform but do not capture images, leaving alerts without visual evidence. This study aims to synthesize the strengths and shortcomings of the four reviewed systems through a comparative literature analysis and to propose a refined system architecture that consolidates their complementary features while resolving their respective gaps. The research applies a descriptive-qualitative literature review combined with a design-science approach to formulate an enhanced architecture consisting of a PIR sensor, an ESP32-CAM module, a Telegram Bot API for dual text-and-image alerts, cloud-based data logging on ThingSpeak, and a local offline-backup mechanism using SPIFFS, supplemented with an adaptive debounce filter to reduce false triggers. The outcome of this study is a conceptual architecture, block diagram, and operational flowchart that integrate visual verification, persistent logging, and connectivity resilience within a single design, providing a more complete reference for future implementation of IoT-based motion detection security systems.
Downloads
References
Al-Turjman, F., & Alturjman, S. (2018). Context-sensitive access control for IoT-cloud convergence: A survey. IEEE Internet of Things Journal, 5(5), 3520–3535.
Akhund, T. M. N. U., & Teramoto, K. (2025). Privacy-concerned averaged human activeness monitoring and normal pattern recognizing with single passive infrared sensor using one-dimensional modeling. Sensors International, 6, 100303.
Firdaus, M. A., & Budhisantosa, N. (2025). Rancang bangun sistem pemantauan real-time ruang server dengan integrasi Telegram Bot dan ESP32. Jurnal Pendidikan Tambusai, 9(1), 1–9.
Hercog, D., Lerher, T., Truntič, M., & Težak, O. (2023). Design and implementation of ESP32-based IoT devices. Sensors, 23(15), 6739.
Husna, A., Hidayat, H. T., & Mursyidah. (2019). Penerapan IoT pada sistem otomatisasi lampu penerangan ruangan dengan sensor gerak dan sensor cahaya menggunakan Android. Jurnal Teknologi Rekayasa Informasi dan Komputer, 3(1), 10–16.
Kavitha, G., & Sundaram, S. (2021). IoT-based intrusion detection and alert system using PIR sensor and cloud computing. Journal of Ambient Intelligence and Humanized Computing, 12(5), 5413–5423.
Khan, R., Khan, S. U., Zaheer, R., & Khan, S. (2012). Future internet: The Internet of Things architecture, possible applications and key challenges. In Proceedings of the 10th International Conference on Frontiers of Information Technology (pp. 257–260).
Okokpujie, K., Okokpujie, I. P., Young, F. T., & Subair, R. E. (2023). Development of an affordable real-time IoT-based surveillance system using ESP32 and TWILIO API. International Journal of Safety and Security Engineering, 13(6), 1069–1075.
Serepas, F., Papias, I., Christakis, K., Dimitropoulos, N., & Marinakis, V. (2025). Lightweight embedded IoT gateway for smart homes based on an ESP32 microcontroller. Computers, 14(9), 391.
Sethi, P., & Sarangi, S. R. (2017). Internet of Things: Architectures, protocols, and applications. Journal of Electrical and Computer Engineering, 2017, Article 9324035.
Shokrollahi, A., Persson, J. A., Malekian, R., Sarkheyli-Hägele, A., & Karlsson, F. (2024). Passive infrared sensor-based occupancy monitoring in smart buildings: A review of methodologies and machine learning approaches. Sensors, 24(5), 1533.
Suherman, Hermansyah, & Syahpita, J. (2025). Sistem alarm deteksi gerak berbasis IoT menggunakan sensor PIR dan ESP32 dengan notifikasi Telegram real-time. Jurnal Komputer Teknologi Informasi Sistem Komputer (JUKTISI), 4(2), 1469–1476.
Susatyono, J. D., Febryantahanuji, & Kuncoro, A. A. (2025). Pengembangan sistem keamanan rumah berbasis IoT dengan deteksi intrusi real-time menggunakan sensor PIR dan kamera, serta notifikasi otomatis melalui aplikasi mobile. Jurnal Publikasi Ilmu Komputer dan Multimedia, 4(2), 30–41.
Downloads
Published
Issue
Section
License
Copyright (c) 2026 Imam Tri Suryadin, Aang Anwarudin, Lazuardi Fatahilah Hamdi, Riski Yudhi Prasongko (Author)

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.





