Development of Tropical Grape Greenhouse Monitoring and Nutrient Delivery Scheduling using MQTT Protocol and IoT

Supriyanto Supriyanto, Mohamad Solahudin, Lilis Sucahyo, Putu Oki Wiradita Aryawan, Slamet Widodo, Slamet Susanto

Abstract


Grape production in Indonesia is limited due to environmental conditions and other factors. However, grape consumption in Indonesia has become popular over the last decade. Nutrient and water delivery are scheduled based on the growth stages of the grape, which consist of vegetative and generative stages. Those dynamic schedules should be assisted using automatic monitoring and controlled using the message queuing telemetry transport (MQTT) and Internet of Things protocol. However, the performance of monitoring and control should be evaluated. This study aimed to evaluate the performance of Tropical Grape Greenhouse Monitoring and Nutrient Delivery Scheduling using the MQTT protocol and IoT technique. The research stages include system analysis, design, implementation, and testing. The outcomes of this study consist of a monitoring system and a control system. The monitoring system is equipped with a main control unit (MCU) based on an ESP32, along with sensors for air temperature and humidity (DHT21), light intensity (lux sensor), water temperature (DS18B20), and soil moisture. Data is transmitted via an Aedes-based MQTT broker installed on the Node-RED platform on a virtual private server (VPS) integrated with a MySQL database. The monitoring and control system is implemented in the grape greenhouse at the Agribusiness and Technology Park (ATP) at IPB University. Specifically, the control system is designed and implemented in the grape greenhouse to activate solid-state relays (SSRs) and contactors to operate water pumps and solenoid valves, all managed through a dashboard interface. System performance testing was conducted to evaluate reliability and latency at MQTT quality-of-service (QoS) levels using the one-way delay (OWD) method. The results indicate that the monitoring node’s latency at QoS 0 is relatively stable, averaging 59.51 milliseconds. For the control system, the average latency test was 63.07 milliseconds for QoS 0, 72.21 milliseconds for QoS 1, and 85.64 milliseconds for QoS 2.


Keywords


ESP32, greenhouse, MQTT, quality of service

Full Text:

PDF

References


Chen, C. Y., Wu, S. H., Huang, B. W., Huang, C. H., & Yang, C. F. (2024). Web-based Internet of Things on environmental and lighting control and monitoring system using node-RED, MQTT and Modbus communications within embedded Linux platform. Internet of Things (Netherlands), 27. https://doi.org/10.1016/j.iot.2024.101305

Erniati, E., Suhardiyanto, H., Hasbullah, R., & Supriyanto, S. (2023). Artificial Neural Networks to Predict Melon (cucumis melo L.) Production in Tropical Greenhouse, Indonesia. Jurnal Keteknikan Pertanian, 11(2), 193–204. https://doi.org/10.19028/jtep.011.2.193-204

Hintaw, A. J. (2025). Performance Analysis of MQTT Protocol in IoT Environments: Impact of Payload Size and QoS on Key Metrics. Technium: Romanian Journal of Applied Sciences and Technology, (28), 43–57. https://doi.org/10.47577/technium.v28i.12649

Jamil, F., Ibrahim, M., Ullah, I., Kim, S., Kahng, H. K., & Kim, D. H. (2022). Optimal smart contract for autonomous greenhouse environment based on IoT blockchain network in agriculture. Computers and Electronics in Agriculture, 192. https://doi.org/10.1016/j.compag.2021.106573

Kashyap, M., Dev, A. K., & Sharma, V. (2024). Implementation and analysis of EMQX broker for MQTT protocol in the Internet of Things. e-Prime - Advances in Electrical Engineering, Electronics and Energy, 10. https://doi.org/10.1016/j.prime.2024.100846

Kenitar, S. B., Salhaoui, M., Arioua, M., Younes, A., & Guerrero Gonzalez, A. (2018, Oktober 10). Evaluation of the MQTT protocol latency over different gateways. ACM International Conference Proceeding Series. https://doi.org/10.1145/3286606.3286864

Kim, H., Oh, D., Jang, H., Koo, C., Hong, T., & Kim, J. (2023). Development of a multi-node monitoring system for analyzing plant growth and indoor environment interactions: An empirical study on a plant factory. Computers and Electronics in Agriculture, 214. https://doi.org/10.1016/j.compag.2023.108311

Kwizera, V. de P. N., Li, Z., Lumorvie, V. E., Nambajemariya, F., & Niu, X. (2021). IoT Based Greenhouse Real-Time Data Acquisition and Visualization through Message Queuing Telemetry Transfer (MQTT) Protocol. Advances in Internet of Things, 11(02), 77–93. https://doi.org/10.4236/ait.2021.112006

Saha, N., Paul, P., Ji, K., & Harik, R. (2024). Manufacturing Letters Performance Evaluation Framework of MQTT Client Libraries for IoT Applications in Manufacturing. Dalam Manufacturing Letters (Vol. 41). www.sciencedirect.com

Supriyanto, Fahrezi, R. A., Prasetyo, T. A., Septiadi, A. P., Sucahyo, L., & Solahudin, M. (2025). Low-Cost Monitoring and Control for Melon Cultivation in Greenhouse using Internet of Thing and Drip Irrigation. Jurnal Ilmiah Rekayasa Pertanian dan Biosistem, 13(1), 55–68. https://doi.org/10.29303/jrpb.v13i1.1154




DOI: https://doi.org/10.24198/jt.vol20n2.6

Refbacks

  • There are currently no refbacks.


Indexed by:

  

Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License (CC BY-SA 4.0)