Forecasting Nutrient Concentration Dynamics in Hydroponic Lettuce Cultivation Using a Hybrid Fuzzy Time Series and Long Short-Term Memory Approach for Internet of Things–Based Systems

Authors

  • Muh. Agus Computer Science, Institut Teknologi Bacharuddin Jusuf Habibie, Parepare City, Indonesia
  • Alvian Tri Putra Darti Akhsa Information System, Institut Teknologi Bacharuddin Jusuf Habibie, Parepare City, Indonesia
  • Ilham Ali Marka M Computer System, Universitas Handayani Makassar, Makassar City, Indonesia
  • Muhammad Fadel Hasyim Computer Science, Institut Teknologi Bacharuddin Jusuf Habibie, Parepare City, Indonesia

DOI:

https://doi.org/10.52436/1.jutif.2026.7.3.5600

Keywords:

Fuzzy Time Series, Hybrid Intelegence System, Hydroponics Nutrient Forecasting, Internet of Things, Long Short-Term Memory, Precision Agriculture

Abstract

Proper nutrient management is crucial for the optimal growth and yield of hydroponically cultivated lettuce. This study proposes a hybrid time-series forecasting model that integrates Fuzzy Time Series (FTS) and Long Short-Term Memory (LSTM) networks to predict nutrient concentration dynamics in hydroponic lettuce cultivation within an Internet of Things–based environment. Experimental data from four lettuce plant samples with different nutrient treatments (control, 400 PPM, 600 PPM, and 1000 PPM) were analyzed for 26 days, with the prediction extended to 40 days, representing the complete growth cycle using a TDS Sensor as a PPM value reader and a Solenoid Valve to accurately control the PPM value via ESP32 with Internet of Things (IoT) communication. This hybrid model incorporates growth-stage awareness through an adaptive weighting mechanism, resulting in a superior forecasting accuracy. The results showed that the ensemble approach achieved a Mean Absolute Percentage Error (MAPE) of 2.43% for the control, 3.12% for the 400 PPM, 3.45% for the 600 PPM, and 3.78% for the 1000 PPM sample. The 600 PPM treatment showed optimal development with 82% compliance with the recommended PPM range (560-840 ppm). The proposed model provides actionable insights for precision nutrient management, potentially reducing fertilizer use by 23-35% while maintaining crop quality. This study contributes to hybrid intelligent systems and time-series forecasting by demonstrating an effective integration of rule-based fuzzy modeling and deep recurrent neural networks in Internet of Things–driven environments for hydroponic systems, supporting efficient resource utilization and increased crop productivity.

Downloads

Download data is not yet available.

References

G. Kudirka, R. Sutulienė, A. Viršilė, K. Laužikė, and G. Samuolienė, “Precise Management of Hydroponic Nutrient Solution pH: The Effects of Minor pH Changes and MES Buffer Molarity on Lettuce Physiological Properties,” Horticulturae, vol. 9, no. 7, pp. 837–850, 2023, doi: 10.3390/horticulturae9070837.

A. B. Kaswar, R. D. Mahande, and J. D. Malago, “A New Model For Hydroponic Lettuce Nutrition Adaptive Control System Based On Fuzzy Logic Sugeno Method Using ESP32,” Jurnal Teknik Informatika (Jutif), vol. 4, no. 2, pp. 391–400, 2023, doi: 10.52436/1.jutif.2023.4.2.626.

B. Ikiz, H. Y. Dasgan, and N. S. Gruda, “Utilizing The Power of Plant Growth Promoting Rhizobacteria on Reducing Mineral Fertilizer, Improved Yield, and Nutritional Quality of Batavia Lettuce in a Floating Culture,” Sci Rep, vol. 14, no. 1, pp. 16–27, 2024, doi: 10.1038/s41598-024-51818-w.

B. İkiz, H. Y. Dasgan, S. Balik, S. Kusvuran, and N. S. Gruda, “The Use of Biostimulants as a Key to Sustainable Hydroponic Lettuce Farming Under Saline Water Stress,” BMC Plant Biol, vol. 24, no. 1, p. 808, 2024, doi: 10.1186/s12870-024-05520-8.

Muh. Agus, A. T. P. D. Akhsa, and S. R. Yunus, “Perancangan Sistem Pemberian Nutrisi Tanaman Sayuran Hidroponik Otomatis Berbasis Arduino,” Jurnal Fokus Elektroda: Energi Listrik, Telekomunikasi, Komputer, Elektronika dan Kendali, vol. 8, no. 4, pp. 248–258, 2023.

S. Sharmin, M. T. Hossan, and M. S. Uddin, “A Review of Machine Learning Approaches for Predicting Lettuce Yield in Hydroponic Systems,” Smart Agricultural Technology, vol. 11, pp. 100925–100937, 2025, doi: 10.1016/j.atech.2025.100925.

S. L. Perez et al., “Enhanced Vegetable Production in Hydroponic Systems Using Decontamination of Closed Circulating Fluid,” Sci Rep, vol. 14, no. 1, pp. 602–611, 2024, doi: 10.1038/s41598-023-50974-9.

C. N. Harsela, “Sistem Hidroponik Menggunakan Nutrient Film Technique Untuk Produksi dan Hasil Tanaman Selada (Lactuca sativa L.),” Syntax Literate ; Jurnal Ilmiah Indonesia, vol. 7, no. 11, pp. 17136–17144, 2022, doi: 10.36418/syntax-literate.v7i11.11983.

M. Marisa, C. Carudin, and R. Ramdani, “Otomatisasi Sistem Pengendalian dan Pemantauan Kadar Nutrisi Air menggunakan Teknologi NodeMCU ESP8266 pada Tanaman Hidroponik,” Jurnal Teknologi Terpadu, vol. 7, no. 2, pp. 127–134, 2021, doi: 10.54914/jtt.v7i2.430.

D. Lim, K. Keerthi, S. Perumbilavil, C. S. Suchand Sandeep, M. M. Antony, and M. V. Matham, “A Real-time On-site Precision Nutrient Monitoring System for Hydroponic Cultivation Utilizing LIBS,” Chemical and Biological Technologies in Agriculture, vol. 11, no. 1, pp. 111–120, 2024, doi: 10.1186/s40538-024-00641-6.

R. Manimozhi and G. Krishnamoorthy, “Innovative Techniques in Agriculture: Transitioning From Traditional Farming to Precision and Hydroponic Agriculture,” Environmental Quality Management, vol. 34, no. 3, pp. 70074–70084, 2025, doi: 10.1002/tqem.70047.

F. Al Faris et al., “Comparative Analysis of LSTM and GRU for River Water Level Prediction,” Jurnal Teknik Informatika (Jutif), vol. 6, no. 5, pp. 3481–3494, 2025, doi: 10.52436/1.jutif.2025.6.5.5054.

Y.-M. Qin, Y. Ni, T. Li, H. Wang, Y.-H. Tu, and R.-F. Wang, “Deep Learning for Sustainable Agriculture: A Systematic Review on Applications in Lettuce Cultivation,” Sustainability, vol. 17, no. 7, pp. 3190–3222, 2025, doi: 10.3390/su17073190.

S. Ashraf, S. Askar, N. Jabbar, and M. S. Chohan, “q-Rung Orthopair Fuzzy Time Series Forecasting Technique: Prediction Based Decision Making,” AIMS Mathematics, vol. 9, no. 3, pp. 5633–5660, 2024, doi: 10.3934/math.2024272.

I. G. S. Mahendra et al., Snart Computing IoT & Machine Learning. PT. Sonpedia Publishing Indonesia, 2025.

T.-W. Yoo and I.-S. Oh, “Time Series Forecasting of Agricultural Products’ Sales Volumes Based on Seasonal Long Short-Term Memory,” Applied Sciences, vol. 10, no. 22, pp. 8169–8173, 2020, doi: 10.3390/app10228169.

O. Orojo, J. Tepper, T. M. Mcginnity, and M. Mahmud, “The Multi-Recurrent Neural Network for State-Of-The-Art Time-Series Processing,” Procedia Comput Sci, vol. 222, pp. 488–498, 2023, doi: 10.1016/j.procs.2023.08.187.

W. A. Pratiwi, I. M. Sumertajaya, and K. A. Notodiputro, “Stacking Ensemble RNN-LSTM Models for Forecasting the IDR/USD Exchange Rate with Nonlinear Volatility,” Jurnal Teknik Informatika (Jutif), vol. 6, no. 4, pp. 2331–2347, 2025, doi: 10.52436/1.jutif.2025.6.4.5057.

X. Zou, D. Wu, K. Wang, and J. Lu, “Time Series Forecasting of Emission Trends Using Recurrent Neural Networks,” Computer Life, vol. 12, no. 3, pp. 12–18, 2024, doi: 10.54097/ezvnav34.

M. Rafrin, M. Agus, and P. A. Maharani, “IoT-Based Irrigation System Using Machine Learning for Precision Shallot Farming,” Jurnal RESTI (Rekayasa Sistem dan Teknologi Informasi), vol. 8, no. 2, pp. 216–222, 2024, doi: 10.29207/resti.v8i2.5579.

F. Yasin, M. R. Firmansyah, M. A. Amrustian, and D. Aldo, “Multivariate Forecasting of Paddy Production: A Comparative Study of Machine Learning Models,” Jurnal Teknik Informatika (Jutif), vol. 6, no. 3, pp. 1431–1442, 2025, doi: 10.52436/1.jutif.2025.6.3.4681.

M. Taheri, H. Imanian, M. Bigdeli, and A. Mohammadian, “An Overview of Machine-Learning Methods for Soil Moisture Estimation,” Water (Basel), vol. 17, no. 11, pp. 1638–1672, 2025, doi: 10.3390/w17111638.

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,” Sustainability, vol. 16, no. 15, pp. 6420–6448, 2024, doi: 10.3390/su16156420.

M. Alimussadad, D. Lestari, and W. Mulyo Utomo, “Smart Hydroponic Nutrient Monitoring and Control System Using Fuzzy Logic and IoT,” Teknologi Informasi dan Komputer, vol. 115, no. 2, pp. 115–129, 2025, doi: 10.31961/eltikom.v9i2.1494.

Muh. Agus, P. Ayu Maharani, and M. Rafrin, “Perancangan Sistem Pemantauan Kelembaban Tanah,Udara dan Suhu pada Tanaman Bawang Merah Menggunakan IoT,” Prosiding Seminar Nasional SISFOTEK, 2023, vol. 7, no. 1, pp. 102–108.

L. Judijanto, V. Wiliyanti, W. Sahusilawane, M. Agus, E. Efitra, and N. Dihniah, Teknologi Pembelajaran: Inovasi Pembelajaran di Masa Depan, PT. Sonpedia Publishing Indonesia, 2025.

M. Itasari et al., Elektronika Dasar (Teori dan Praktik), PT. Sonpedia Publishing Indonesia, 2025.

Muh. Agus, M. Rafrin, S. R. Yunus, N. R. Sulnas, and N. Aulia, “Perancangan Prototype Sistem Rekomendasi Tempat Parkir Berbasis IoT dan AI (Studi Kasus: Mall Panakkukang),” JURNAL IT Media Informasi IT STMIK Handayani, vol. 15, no. 3, pp. 153–161, 2024, doi: https://doi.org/10.37639/jti.v15i3.382.

M. Syafaat, R. B. Syafiun, A. N. Ramadhan, and D. A. Haerunnisa, “IoT-Based Smart Garden Using MQTT Protocol with Adafruit IO App,” Jurnal Teknik Informatika (Jutif), vol. 4, no. 4, pp. 723–732, 2023, doi: 10.52436/1.jutif.2023.4.4.636.

S. Zhou, J. Guo, S. Huang, S. Guo, and B. Du, “A Hybrid Framework for Multivariate Time Series Forecasting of Daily Urban Water Demand Using Attention-Based Convolutional Neural Network and Long Short-Term Memory Network,” Sustainability, vol. 14, no. 17, pp. 11086–11107, 2022, doi: 10.3390/su141711086.

H. Kang, “The Prevention and Handling of the Missing Data,” Korean J Anesthesiol, vol. 64, no. 5, pp. 402–406, 2013, doi: 10.4097/kjae.2013.64.5.402.

M. J. Azur, C. Frangakis, P. J. Leaf, and E. A. Stuart, “Multiple Imputation by Chained Equations: What is it and How Does it Work?,” Int J Methods Psychiatr Res, vol. 20, no. 1, pp. 40–49, 2011, doi: 10.1002/mpr.329.

K. Yemets, I. Izonin, and I. Dronyuk, “Enhancing the FFT-LSTM Time-Series Forecasting Model via a Novel FFT-Based Feature Extraction–Extension Scheme,” Big Data and Cognitive Computing, vol. 9, no. 2, pp. 35–50, 2025, doi: 10.3390/bdcc9020035.

T. Cansu, E. Egrioglu, E. Bas, and T. Akkan, “Intuitionistic Fuzzy Time Series Forecasting Method Based on Dendrite Neuron Model and Exponential Smoothing,” Granular Computing, vol. 9, no. 2, pp. 49–57, 2024, doi: 10.1007/s41066-024-00474-6.

O. Eraliev and C.-H. Lee, “Performance Analysis of Time Series Deep Learning Models for Climate Prediction in Indoor Hydroponic Greenhouses at Different Time Intervals.,” Plants, vol. 12, no. 12, pp. 2316–2328, 2023, doi: 10.3390/plants12122316.

H.-Y. Lin and B.-W. Hsu, “Application of Hybrid Fuzzy Interval-based Machine Learning Models on Financial Time Series - A Case Study of Taiwan Biotech Index During the Epidemic Period.,” Front Artif Intell, vol. 6, no. 1, pp. 1–17, 2024, doi: 10.3389/frai.2023.1283741.

D. Phamtoan, N. Vothihang, and B. Phamthi, “Improving Forecasting Model for Fuzzy Time Series Ysing the Self-updating Clustering and Bi-directional Long Short Term Memory Algorithm,” Expert Syst Appl, vol. 241, p. 122767, 2023, doi: 10.1016/j.eswa.2023.122767.

S. Makridakis, E. Spiliotis, and V. Assimakopoulos, “The M4 Competition: Results, Findings, Conclusion and Way Forward,” Int J Forecast, vol. 34, no. 4, pp. 802–808, 2018, doi: 10.1016/j.ijforecast.2018.06.001.

S. Kim and H. Kim, “A New Metric of Absolute Percentage Error for Intermittent Demand Forecasts,” Int J Forecast, vol. 32, no. 3, pp. 669–679, 2016, doi: 10.1016/j.ijforecast.2015.12.003.

Additional Files

Published

2026-06-15

How to Cite

[1]
M. Agus, A. T. P. D. . Akhsa, I. A. . Marka M, and M. F. Hasyim, “Forecasting Nutrient Concentration Dynamics in Hydroponic Lettuce Cultivation Using a Hybrid Fuzzy Time Series and Long Short-Term Memory Approach for Internet of Things–Based Systems”, J. Tek. Inform. (JUTIF), vol. 7, no. 3, pp. 2277–2293, Jun. 2026.