PERANCANGAN SISTEM SMARTHOME DENGAN KONSEP IOT BERBASIS ESP32 DI PERUMAHAN CITRALAND MANADO
DOI:
https://doi.org/10.51878/cendekia.v6i1.8875Keywords:
Smarthome, ESP32, MQTT, Progressive Web App, Internet of ThingsAbstract
The advancement of Internet of Things (IoT) technology has spurred the development of smart home systems that enhance security, comfort, and energy efficiency in residential environments. This study aims to design and develop a smart home prototype based on the ESP32 microcontroller, implemented within the context of Citraland Manado housing. The system integrates multiple sensors, including PIR for motion detection, DHT22 for temperature and humidity monitoring, and MQ-2 for hazardous gas detection, with actuators such as relays, solenoid locks, and buzzers. Data communication between devices and users is facilitated via the MQTT protocol using the HiveMQ Cloud broker, while the user interface is developed as a web-based Progressive Web App (PWA) accessible in real time from both mobile and desktop devices. The research employs a Research and Development (R&D) methodology with an iterative system development approach. Testing results demonstrate that all components function as designed, data communication remains stable with latency under one second, and the PWA interface is responsive and user-friendly. Nevertheless, the system still faces limitations regarding push notifications and long-term data storage. Overall, this prototype proves to be a viable, affordable, and self-reliant smart home solution with potential for further development and real-world implementation.
ABSTRAK
Perkembangan teknologi Internet of Things (IoT) mendorong hadirnya sistem smarthome yang mampu meningkatkan keamanan, kenyamanan, dan efisiensi energi di lingkungan perumahan. Penelitian ini bertujuan merancang dan mengembangkan prototipe sistem smarthome berbasis mikrokontroler ESP32 yang diimplementasikan dalam konteks Perumahan Citraland Manado. Sistem ini mengintegrasikan berbagai sensor, seperti PIR untuk deteksi gerakan, DHT22 untuk pemantauan suhu dan kelembapan, serta MQ-2 untuk deteksi gas berbahaya, dengan aktuator seperti relay, solenoid lock, dan buzzer. Komunikasi data antara perangkat dan pengguna dilakukan melalui protokol MQTT dengan broker HiveMQ Cloud, sedangkan antarmuka pengguna dibangun sebagai Progressive Web App (PWA) berbasis web yang dapat diakses secara real-time dari perangkat mobile maupun desktop. Metode penelitian yang digunakan adalah Research and Development (R&D) dengan pendekatan pengembangan sistem secara iteratif. Hasil pengujian menunjukkan bahwa seluruh komponen berfungsi sesuai rancangan, komunikasi data berjalan stabil dengan latensi di bawah 1 detik, dan antarmuka PWA responsif serta mudah digunakan. Meski demikian, sistem masih memiliki keterbatasan dalam hal notifikasi push dan penyimpanan data jangka panjang. Secara keseluruhan, prototipe ini terbukti layak sebagai solusi smarthome yang terjangkau, mandiri, dan dapat dikembangkan lebih lanjut untuk implementasi skala nyata.
References
Ahmad, S., Hafeez, A., & Zafar, A. (2019). Design and implementation of solenoid-based smart door locking system using IoT. International Journal of Engineering and Advanced Technology, 8(6S3), 1–5. https://www.ijeat.org/wp-content/uploads/papers/v8i6s3/F10300986S319.pdf
Dzakie, M. N., Bhawiyuga, A., & Basuki, A. (2022). Sistem Berbasis Private Blockchain sebagai Penyedia Layanan Autentikasi Publisher-Broker-Subscriber Pada Protokol Message Queue Telemetry Transport. Jurnal Teknologi Informasi Dan Ilmu Komputer, 9(4), 675. https://doi.org/10.25126/jtiik.2022945752
Fadhil, M., & Yusuf, I. (2021). Evaluasi konsumsi energi pada sistem rumah pintar berbasis mikrokontroler ESP32. Jurnal Teknologi Energi dan Lingkungan, 8(2), 12–22. https://jurnal.untan.ac.id/index.php/jtel/article/view/49876
Hansen, R., & Truong, K. (2015). MQTT protocol for constrained IoT devices: Performance and scalability analysis. Proceedings of the 2nd International Conference on IoT in Urban Space, 45–50. https://doi.org/10.1145/2811782.2811797
Hassan, M. H., Aji, A. A., & Yang, L. (2018). Low-cost smart home design based on ESP32 microcontroller for energy monitoring and control. International Journal of Advanced Computer Science and Applications, 9(6), 210–216. https://doi.org/10.14569/IJACSA.2018.090628
Hijazi, G., Habaebi, M. H., Al-Haddad, A., & Zyoud, A. (2020). Stress Testing MQTT Server for Private IOT Networks. International Journal of Electronics and Telecommunications, 229. https://doi.org/10.24425/ijet.2021.135969
Jang, S., Kim, D., & Lee, H. (2019). Energy management using smart home sensors for efficient consumption. Sustainable Cities and Society, 48, 101563. https://doi.org/10.1016/j.scs.2019.101563
Liu, Y., Wang, L., & Chen, H. (2018). Privacy protection and security framework for smart home IoT systems. IEEE Internet of Things Journal, 5(6), 4734–4742. https://doi.org/10.1109/JIOT.2018.2868612
Nguyen, H. T., & Tran, V. H. (2017). Smart home automation system based on IoT for security and energy efficiency. Journal of Electrical Engineering & Technology, 12(4), 1301–1309. https://doi.org/10.5370/JEET.2017.12.4.1301
Priyono, J., & Mahendra, R. (2019). Panduan mikrokontroler ESP32: Aplikasi pada Internet of Things (IoT). Andi Offset. https://books.google.co.id/books?id=PriyonoESP32
Rahmadani, I., & Arief, T. (2020). Penerapan solenoid lock pada sistem keamanan rumah berbasis ESP32. Jurnal Ilmiah Rekayasa Elektronika, 6(1), 15–22.
Rahman, M. M., & Ahmad, M. (2022). Smart home automation using IoT: A comprehensive review. Journal of Network and Computer Applications, 198, 103289. https://doi.org/10.1016/j.jnca.2021.103289
Sembiring, R. P., Ginting, G., & Siregar, D. (2022). Internet of Things untuk otomasi rumah: Studi implementasi berbasis ESP32 dan PWA. Jurnal Teknologi Informasi dan Ilmu Komputer, 9(3), 601–610. https://doi.org/10.25126/jtiik.202293567
Shah, P. H. (2024). MQTT Systems: A Survey. International Journal for Research in Applied Science and Engineering Technology, 12(3), 1063. https://doi.org/10.22214/ijraset.2024.59000
Sharma, A., & Singh, G. (2018). Blynk: A mobile IoT platform for real-time IoT-based applications. International Journal of Computer Applications, 180(15), 1–5. https://doi.org/10.5120/ijca2018916688
Widodo, Y. B., Ichsan, A. M., & Sutabri, T. (2020). Perancangan Sistem Smart Home Dengan Konsep Internet Of Things Hybrid Berbasis Protokol Message Queuing Telemetry Transport. Jurnal Teknologi Informatika Dan Komputer, 6(2), 123. https://doi.org/10.37012/jtik.v6i2.302















