Implementation of Event-Driven Architecture in Soil Moisture Sensor Data Transmission Based on Master–Slave
DOI:
https://doi.org/10.69616/mit.v3i1.267Keywords:
Event-Driven, ESP32, IoT, Master-Slave, QoS, Soil MoistureAbstract
The decline in chili crop productivity is partly caused by Soil Moisture that is not properly monitored. Manual monitoring is considered less effective, while IoT systems with periodic data transmission tend to be inefficient. This study develops a Soil Moisture monitoring system based on an Event-Driven master–slave architecture using four ESP32 devices. Three act as slaves connected to Soil Moisture sensors, and one serves as the master responsible for data transmission. The Event-Driven method applies two mechanisms: Batch Update every 5 minutes under normal conditions and Immediate Alert when moisture values fall outside the ideal range of 50–70%. System performance is compared with a non-Event-Driven method based on QoS parameters: delay, jitter, payload, and the number of data packets. Testing is conducted through four scenarios, each lasting one hour. Results show that the Event-Driven system is more efficient. The average delay and jitter are 547.35 ms and 557.05 ms, lower than the non-Event-Driven system (3,340.73 ms and 1,755.71 ms). In addition, fewer packets are sent with larger payloads. Although it does not yet meet the TIPHON standard, this method can transmit data immediately during significant changes while reducing the number of transmitted packets.
References
E. E. Jeksen and D. Sari, “Analisis Prospek Peningkatan Produksi Cabai Rawit (Capsicum frutescens L.) di Indonesia,” Universitas Tribhuwana Tunggadewi, 2022. [Online]. Available: https://papers.ssrn.com/sol3/papers.cfm?abstract_id=4285742
A. K. Nalendra and M. Mujiono, “Perancangan IoT (Internet of Things) pada Sistem Irigasi Tanaman Cabai,” Gener. J., vol. 4, no. 2, pp. 61–68, 2020, doi: 10.29407/gj.v4i2.14187.
A. A. Aulia, L. D. Samsumar, and E. Suryadi, “Sistem monitoring kelembaban dan otomatisasi penyiraman tanaman cabai berbasis internet of things (iot),” J. Rekayasa Sist. Inf. dan Teknol., vol. 2, no. 2, pp. 681–695, 2024.
R. Eka Budiani, J. Dedy Irawan, and D. Rudhistiar, “Sistem Monitoring Dan Penyiraman Otomatis Pada Tanaman Cabai Berbasis Internet of Things (Iot),” JATI (Jurnal Mhs. Tek. Inform., vol. 8, no. 2, pp. 1331–1338, 2024, doi: 10.36040/jati.v8i2.9149.
R. Sahbani and A. Hamid, “Pengiriman Data Sensor Suhu dan Asap Menggunakan Longe Range (LoRa),” ABEC Indones., pp. 1063–1080, 2021.
A. Yoshua, R. Primananda, and A. S. Budi, “Implementasi Pengiriman Data Multi-Node Sensor Menggunakan Metode Master-slave pada Komunikasi LoRa,” J. Pengemb. Teknol. Inf. dan Ilmu Komput., vol. 4, no. 10, pp. 3445–3454, 2020.
H. Cabane and K. Farias, “On the impact of event-driven architecture on performance: An exploratory study,” Futur. Gener. Comput. Syst., vol. 153, pp. 52–69, 2024.
S. Khriji, Y. Benbelgacem, R. Chéour, D. El Houssaini, and O. Kanoun, “Design and implementation of a cloud-based event-driven architecture for real-time data processing in wireless sensor networks,” J. Supercomput., vol. 78, no. 3, pp. 3374–3401, 2022.
M. Rafli, J. R. Wibowo, and Y. Saragih, “Evaluasi Arsitektur Serverless dalam Meningkatkan Efisiensi Eksekusi Aplikasi Berbasis Event-Driven,” 2026.
R. Adila, R. J. Akbar, and H. Studiawan, “Rancang Bangun Modul Portofolio Pegawai pada Aplikasi MyITS Human Capital Management dengan Arsitektur Event Driven,” J. Tek. ITS, vol. 11, no. 1, pp. A29–A34, 2022.
A. Fauzi, E. Harli, and Y. Haryanto, “Implementasi Arsitektur Event-Driven dan Microservices untuk Mesin Vending,” Format J. Ilm. Tek. Inform., vol. 10, no. 2, p. 135, 2021, doi: 10.22441/format.2021.v10.i2.004.
A. Stevens, “Quality of Service (QoS) in ARM Systems: An Overview,” ARM White Pap., vol. 134, 2014.
B. Mehra and A. Datar, “Evaluation of the quality of service parameters for IoT in outdoor environment,” in 2024 5th International Conference on Smart Electronics and Communication (ICOSEC), 2024, pp. 839–844.
A. K. Saleh, H. P. A. Tjahyaningtijas, N. Nurhayati, and L. Rakhmawati, “Quality of service (QOS) comparative analysis of wireless network,” Ina. (Indonesian J. Electr. Electron. Eng., vol. 5, no. 2, pp. 30–37, 2022.
M. R. Kamil, F. Arzalega, R. Rosalinda, and A. Sani, “Analisis Kualitas Layanan Jaringan Internet Wifi PT. XYZ dengan Metode QoS (Quality of Service),” J. Bid. Penelit. Inform., vol. 1, no. 1, pp. 45–56, 2023.
Published
How to Cite
Issue
Section
Copyright (c) 2026 Cut Chairunnisa Maulidia, Hafiz Muhardi , Uray Ristian, Nirsal Nirsal, Idawati Idawati

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.
Authors retain copyright and grant Jurnal Media Information Technology (MIT) the right of first publication with the work simultaneously licensed under the CC BY-SA 4.0 license, allowing others to share and adapt the work with proper attribution and equal sharing of derived works.
















