Back-End Development of an Interactive Dashboard with Real-Time API Integration for Chili Plant Monitoring in Precision Agriculture

Authors

DOI:

https://doi.org/10.15408/jti.v18i2.46450

Keywords:

AI-powered chatbot, back-end development, disease classification, growth prediction , interactive dashboard, precision agriculture

Abstract

 

This research focuses on the development of an interactive web-based dashboard to support a precision agriculture system for chili plants. The primary focus of this research is on the back-end development of the system. The system integrates several internal and external APIs, including the Flask API (internal) for plant disease classification and growth prediction, and the Google Gemini API for the AI-powered chatbot that provides consultation to farmers (external). These features allow farmers to receive automatic disease diagnosis and growth predictions, improving decision-making and crop management. The dashboard also presents weather information, environmental data, and nanobubble data, along with Echarts gauge charts for seven essential metrics: Electrical Conductivity (EC), temperature, humidity, pH, nitrogen, phosphorus, and potassium. Data for the environmental and nanobubble data is retrieved from the ThingSpeak API (external), while weather information is fetched from the OpenWeatherMap API (external). The system was thoroughly tested using Postman to ensure all API endpoints function correctly. The results confirmed that all endpoints responded with status code 200 OK, indicating stable back-end performance. Performance testing showed response times stabilizing at 2000 ms after initial 4500 ms peaks, confirming efficient handling, reliable endpoints, and deployment readiness.

References

[1] G. Singh and S. Sharma, “Enhancing precision agriculture through cloud based transformative crop recommendation model,” Sci. Rep., vol. 15, no. 1, p. 9138, Mar. 2025, doi: 10.1038/s41598-025-93417-3.

[2] A. Monteiro, S. Santos, and P. Gonçalves, “Precision Agriculture for Crop and Livestock Farming—Brief Review,” Animals, vol. 11, no. 8, p. 2345, Aug. 2021, doi: 10.3390/ani11082345.

[3] A. D. Putra Laksamana, H. Fakhrurroja, and D. Pramesti, “Developing a Labeled Dataset for Chili Plant Health Monitoring: A Multispectral Image Segmentation Approach with YOLOv8,” in 2024 International Conference on Computer, Control, Informatics and its Applications (IC3INA), Oct. 2024, pp. 440–445. doi: 10.1109/IC3INA64086.2024.10732221.

[4] D. Khairani, T. Rosyadi, A. Arini, I. L. Rahmatullah, and F. F. Antoro, “Enhancing Speech-to-Text and Translation Capabilities for Developing Arabic Learning Games: Integration of Whisper OpenAI Model and Google API Translate,” J. Tek. Inform., vol. 17, no. 2, pp. 203–212, Oct. 2024, doi: 10.15408/jti.v17i2.41240.

[5] H. Fakhrurroja, A. Rofi Hidayatullah, D. Pramesti, and N. Ismail, “Classification of Diseases in Chili Plants Using the SVM Method: Development and Implementation,” in 2024 12th International Conference on Information and Communication Technology (ICoICT), Aug. 2024, pp. 493–499. doi: 10.1109/ICoICT61617.2024.10698555.

[6] R. P. Pratama, H. Fakhurroja, H. Bangkit, and D. Pramesti, “Prediction of NPK Fertilizer in Chili Plants Using SARIMA Model,” in 2024 International Conference on ICT for Smart Society (ICISS), Sep. 2024, pp. 1–6. doi: 10.1109/ICISS62896.2024.10751445.

[7] M. J. Page et al., “The PRISMA 2020 statement: an updated guideline for reporting systematic reviews,” BMJ, p. n71, Mar. 2021, doi: 10.1136/bmj.n71.

[8] F. Schneider, J. Swiatek, and M. Jelali, “Detection of Growth Stages of Chilli Plants in a Hydroponic Grower Using Machine Vision and YOLOv8 Deep Learning Algorithms,” Apr. 18, 2024, Engineering. doi: 10.20944/preprints202404.1243.v1.

[9] J. Arévalo-Royo, F.-J. Flor-Montalvo, J.-I. Latorre-Biel, R. Tino-Ramos, E. Martínez-Cámara, and J. Blanco-Fernández, “AI Algorithms in the Agrifood Industry: Application Potential in the Spanish Agrifood Context,” Appl. Sci., vol. 15, no. 4, p. 2096, Feb. 2025, doi: 10.3390/app15042096.

[10] G. R. Babu, M. Gokuldhev, and P. S. Brahmanandam, “Integrating IoT for Soil Monitoring and Hybrid Machine Learning in Predicting Tomato Crop Disease in a Typical South India Station,” Sensors, vol. 24, no. 19, p. 6177, Sep. 2024, doi: 10.3390/s24196177.

[11] C. E. Hachimi, S. Belaqziz, S. Khabba, B. Sebbar, D. Dhiba, and A. Chehbouni, “Smart Weather Data Management Based on Artificial Intelligence and Big Data Analytics for Precision Agriculture,” Agriculture, vol. 13, no. 1, p. 95, Dec. 2022, doi: 10.3390/agriculture13010095.

[12] A. Upadhyay et al., “Deep learning and computer vision in plant disease detection: a comprehensive review of techniques, models, and trends in precision agriculture,” Artif. Intell. Rev., vol. 58, no. 3, p. 92, Jan. 2025, doi: 10.1007/s10462-024-11100-x.

[13] R. Real, C. Snider, M. Goudswaard, and B. Hicks, “Dimensions of Knowledge in Prototyping: A Review and Characterisation of Prototyping Methods and Their Contributions to Design Knowledge,” Proc. Des. Soc., vol. 1, pp. 1303–1312, Aug. 2021, doi: 10.1017/pds.2021.130.

[14] Z. Subecz, “Web-development with Laravel framework,” Gradus, vol. 8, no. 1, pp. 211–218, 2021, doi: 10.47833/2021.1.CSC.006.

[15] I. Šušter and T. Ranisavljević, “Optimization of MySQL Database,” J. Process Manag. New Technol., vol. 11, no. 1–2, pp. 141–151, 2023.

[16] P. P. Kore, M. J. Lohar, M. T. Surve, and S. Jadhav, “API Testing Using Postman Tool,” Int. J. Res. Appl. Sci. Eng. Technol., vol. 10, no. 12, pp. 841–843, Dec. 2022, doi: 10.22214/ijraset.2022.48030.

Downloads

Published

2025-10-30

How to Cite

Back-End Development of an Interactive Dashboard with Real-Time API Integration for Chili Plant Monitoring in Precision Agriculture. (2025). JURNAL TEKNIK INFORMATIKA, 18(2), 236-247. https://doi.org/10.15408/jti.v18i2.46450