Smart Security System for Housing Using Website-Based MQTT


  • Nindi Karynnina Luban Tobing State Polytechnic of Malang
  • Amalia Eka Rakhmania State Polytechnic of Malang
  • Abdul Rasyid State Polytechnic of Malang



Home, MQTT, Node-RED, Residential Security


The housing security system is one of the aspects of implementing a security system in several house buildings which have several functions that work to secure assets in the building. Then in residential areas it is difficult to carry out intense security. This study designed a "Smart Security System in Housing Using Website-Based MQTT". This system is equipped with PIR sensors, LDR, ACS 712, and limit switches that are placed in each house. PIR sensors are used to detect human movement, limit switches are used to detect open doors, and LDR sensors are used to automate outside lights when homeowners activate outdoor mode. The ACS 712 sensor functions to give a warning of an anomaly in current usage. Using ESP8266 as a controller that sends data to the online MQTT broker "" which is equipped with the cloud. Home owners website programming using Node-RED installed on Raspi. Likewise with the security guard website using Node-RED as a website design. In monitoring at the security guard, you can monitor the security of the doors in each house. The results of the accuracy of the PIR sensor are only able to detect movement at a distance of less than 400 cm. The LDR sensor used in outdoor lighting automation with a voltage limit value above 2.56 V detects no light intensity. The accuracy of the ACS 712 current sensor in house 1 is 95% and house 2 is 94%.


J. Wardoyo, N. Hudallah and A. B. Utomo, "Smart Home Security System Berbasis Mikrokontroler," Jurnal SIMETRIS, Vol. 10 No. 1, pp. 367-374, 2019.

D. Yendri and R. E. Putri, "Sistem Pengontrolan dan Keamanan Rumah Pintar (Smart Home) Berbasis Android," JITCE (Journal of Information Technology and Computer Engineering), vol. 2, no. 1, pp. 1-6, 2018.

F. Gozali and Y. I. Basori, "Sistem Keamanan Lingkungan Perumahan Berbasis Web menggunakan Raspberry Pi," Jetri : Jurnal Ilmiah Teknik Elektro, vol. 14, no. 1, pp. 35-48, 2016.

B. M. Susanto, E. S. J. Atmudji and W. L. Brenkmun, "Implementasi MQTT Protocol pada Smart Home Security Berbasis Web," Jurnal Informatika Polinema, vol. 4, no. 3, p. 201, 2018.

A. Wicaksana and B. A. A. Sumbodo, "Rancang Bangun Platform Intel Edison Sebagai IoT Gateway Berbasis Protokol MQTT," Indonesian Journal of Electronics and Instrumentation Systems (IJEIS), vol. 10, no. 2, pp. 109-120, 2020.

A. A. Hanif and M. Ilyas, "Effective Feature Engineering Framework for Securing MQTT," MDPI, vol. 24, no. 6, p. 1, 2024.

N. Naik, "Choice of effective messaging protocols for IoT systems: MQTT, CoAP, AMQP and HTTP," in IEEE International Systems Engineering Symposium, Vienna, 2017.

R. Vitria, R. Dewi and D. O. Ariesta, "Prototipe Sistem Keamanan Rumah Pintar pada Komplek Perumahan," JTERA (Jurnal Teknologi Rekayasa) , vol. 5, no. 1, pp. 33-42, 2020.

D. Nettikadan and S. R. M.S., "Smart Community Monitoring System using Thingspeak IoT Plaform," International Journal of Applied Engineering Research , vol. 13, no. 17, pp. 13402-13408, 2018.

B. Santoso, "Implementasi Wireless Sensor dan Actuator Network Berbasis Protokol Zigbee untuk Pemantauan dan Pengendalian Smart Home," Jurnal Dinamika Informatika , vol. 7, no. 1, pp. 13-31, 2018.

P. R. Ananda and Thamrin, "Perancangan dan Pembuatan Sistem Keamanan Rumah Berbasis Smartphone," Jurnal Vocational Teknik Elektronika dan Informatika , vol. 9, no. 4, pp. 64-73, 2021.

A. S. Hamzah and L. A. Abdul-Rahaim, "Smart Homes Automation System Using Cloud Computing Based Enhancement Security," in 2022 5th International Conference, Al-Najaf, Iraq, 2022.

M. I. Mahali, "Smart Door Locks Based On Internet Of Things Concept with Mobile Backend as a Service," Jurnal Electron Informatics Vocat Education, vol. 1, pp. 171-181, 2016.

A. F. M. Hafidz, M. I. Sani and L. Meisaroh, "Perancangan dan Implementasi Smart Home menggunakan Raspberry Pi dan ESP8266," eProceedings of Applied Science , vol. 7, no. 6, pp. 2894-2906, 2021.

A. Wagyana and D. Widhiantoro, "Rancang Bangun Dashboard untuk Prototipe Modul Latih Internet Of Things Berbasis Flow-Based Programming," in Prosiding Seminar Nasional Penelitian & Pengabdian Pada Masyarakat, Pangkalpinang, 2017.

I. I. Kurniawan, "Belajar MQTT IoT Dengan Teknologi Protokol MQTT," Fans Electronics, 16 October 2019. [Online]. Available: [Accessed 21 July 2023].




How to Cite

N. K. L. . Tobing, A. E. Rakhmania, and A. Rasyid, “Smart Security System for Housing Using Website-Based MQTT ”, Jartel, vol. 14, no. 1, Jun. 2024.