Implementation of Failover in a Master-Slave Architecture for Soil Moisture Sensor Data Transmission
DOI:
https://doi.org/10.69616/mit.v3i1.262Keywords:
IoT, Failover, Master-Slave, Packet loss, Plant Monitoring System, Recovery TimeAbstract
Development of Internet of Things (IoT) offers significant opportunities in the agricultural sector by enabling automatic and efficient monitoring of crop conditions. A common issue in IoT-based monitoring systems utilizing a master-slave architecture is the loss of data communication when the master node experiences a failure, which reduces system reliability. This research develops a plant monitoring system based on a master-slave architecture with a failover method using ESP32 and HTTP communication. The system consists of three master nodes, each handling two slave nodes, with a total of twelve soil moisture sensors. Data from the sensors are transmitted by the slave nodes to the master nodes, then forwarded to a cloud server. The failover method functions to maintain communication continuity by rerouting data transmission when a master node experiences a failure. The test results show that the system without failover experienced data loss and communication downtime equal to the duration of the master node failure, while the integration of IoT and failover method maintained communication with an average packet loss of 2.22% and a switching delay of approximately 0.78 seconds.
References
S. Zhu, Y. Liang, and D. Gao, “Study of soil respiration and fruit quality of table grape ( Vitis vinifera L .) in response to different soil water content in a greenhouse,” Commun. Soil Sci. Plant Anal., vol. 49, no. 21, pp. 2689–2699, 2018, doi: 10.1080/00103624.2018.1538369.
E. Tiara, I. Ruslianto, and Suhardi, “Sistem Pemantauan Dan Kendali Kelembapan Tanah Dan Ph Pada Tanaman Anggur Berbasis Android ( Studi Kasus?: Greenhouse Fmipa Untan ),” Coding J. Komput. dan Apl., vol. 11, no. 03, pp. 437–446, 2023.
H. Marcos and H. Muzaki, “Monitoring Suhu Udara dan Kelembaban Tanah pada Budidaya Tanaman Pepaya,” vol. 03, no. 127, pp. 32–43, 2022.
H. Y. P. Al-Jufri, O. Novianti, G. Muhammad, R. Adytya, and A. N. Pramudhita, “Otomatisasi Pertanian Dengan Sensor Soil Moisture, Sensor Cahaya, Led Grow Lamps, Dan Pompa Air Untuk Pertumbuhan Tanaman Optimal,” J. Inform. dan Tek. Elektro Terap., vol. 11, no. 3, pp. 484–488, 2023, doi: 10.23960/jitet.v11i3.3192.
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.
M. Chouk, Master-Slave Replication, Failover, and Distributed Recovery, no. June. 2003.
H. S. Simarmata and I. R. Widiasari, “Manajemen Bandwidth Menggunakan Hierarchical Token Bucket (HTB) (Studi Kasus: PT. Orion Cyber Internet),” Technomedia J., vol. 8, no. 2SP, pp. 248–260, 2023, doi: 10.33050/tmj.v8i2sp.2078.
W. K. Raharja, D. N. Dominicus, and Jalinas, “Pengaplikasian Internet of Things Untuk Monitoring Lingkungan Lahan Tanaman Anggur,” J. Elektro Luceat, vol. 9, no. 1, 2022.
M. Abduh, Arini, H. T. Sukmana, and I. M. M. Matin, “Downtime Prevention Using Failover on IoT-based Contactless Temperature Checkers,” 2022 10th Int. Conf. Cyber IT Serv. Manag. CITSM 2022, no. April 2024, 2022, doi: 10.1109/CITSM56380.2022.9935842.
A. Yanziah, S. Soim, and M. M. Rose, “Analisis jarak jangkauan lora dengan parameter rssi dan packet loss pada area urban,” J. Teknol. Technoscientia, pp. 59–67, 2020.
D. S. Hadiningrum, W. W. IGPW, and I. W. A. Arimbawa, “Analisis Pengaruh Jarak Terhadap Delay dan Packet Delivery Ratio (PDR) pada Jaringan LORA untuk Komunikasi Data Irigasi Tetes (Studi Kasus: Dusun Amor-Amor),” Univ. Mataram Repostitory, 2025.
Published
How to Cite
Issue
Section
Copyright (c) 2026 Ajeng Fitria, Uray Ristian, Syamsul Bahri, Ida Bagus Gede Sarasvananda

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.
















