A Prototype of IoT-Based Indoor Hydroponics Using MQTT for Sustainable Urban Housing
Abstract
Urban population growth significantly reduces the availability of open land for household farming, thus threatening urban food security. Indoor hydroponics offers a space-efficient solution, but manual maintenance often lags behind in addressing water quality fluctuations. Although IoT solutions have been widely developed, they generally still rely on rigid local servers or hardcoded Wi-Fi configurations, thus limiting multi-device scalability. This research aims to develop an indoor hydroponic automation and monitoring system using a hybrid communication architecture to support remote deployment without complex configuration. Adopting the Prototyping Software Development Life Cycle (SDLC) model, this research integrates Information Systems with green architecture. The hardware side is based on a WeMos D1 R32 microcontroller connected to an analog pH sensor, a water level sensor, and a 4-channel active-low relay module to control LED growlights and three mini submersible pumps in separate water and nutrient tanks. The HiveMQ Cloud Broker infrastructure was used to facilitate asynchronous telemetry over TCP port 1883 and data delivery to the browser via WebSockets port 8000 using the Eclipse Paho JavaScript library. Results: A physical prototype was successfully realized in the form of a compact vertical rack. The Trimmed Mean Filter algorithm in the firmware indicated reliable performance under the tested scenario in stabilizing the noise of analog pH readings. The web dashboard successfully processed JSON and updated the telemetry graph responsively during functional testing. The automatic extraction of the device's MAC Address successfully isolated MQTT topics to prevent data collisions between devices. Conclusion: This system effectively addresses the limitations of urban residential space through a biophilic design approach while providing an adaptive smart living solution for urban communities.
Keywords
Full Text:
PDFReferences
S. R. Giyarsih et al., “Interrelation Of Urban Farming and Urbanization: An Alternative Solution to Urban Food and Environmental Problems Due To Urbanization in Indonesia,” Front. Built Environ., vol. 9, Jan. 2024, doi: 10.3389/fbuil.2023.1192130.
E. Rustiadi, A. E. Pravitasari, Y. Setiawan, S. P. Mulya, D. O. Pribadi, and N. Tsutsumida, “Impact Of Continuous Jakarta Megacity Urban Expansion on The Formation of The Jakarta-Bandung Conurbation Over the Rice Farm Regions,” Cities, vol. 111, p. 103000, Apr. 2021, doi: 10.1016/j.cities.2020.103000.
Ida Syamsu Roidah, “Pemanfaatan Lahan Dengan Menggunakan Sistem Hidroponik,” J. BONOROWO, vol. 1, no. 2, 2014.
S. T. . M. T. Bayu Widodo, S. P. . M. S. Uding Sastrawan, M. S. Ir. Wien Kuntari, and S. E. . M. S. Ayutyas Sayekti, “Penerapan Teknologi IoT dalam Urban Farming sebagai Solusi Ketahanan Pangan dan Pemberdayaan Pemuda,” Semhas PPM Pertan. dan Peternak., 2024.
A. Armansyah et al., “Urban Farming as an Alternative in Realizing Sustainable City Development in Indonesia,” J. Kawistara, vol. 14, no. 1, p. 38, May 2024, doi: 10.22146/kawistara.84324.
A. Lukmanul, “Urban Farming Metode Teknologi Dan Inovasi Baru Pada Pertanian Perkotaan (Urban Farming Technology and Methods New Innovations in Urban Agriculture),” SSRN Electron. J., 2021, doi: 10.2139/ssrn.3782290.
A. Ansar, G. M. D. Putra, and O. S. Ependi, “Analisis Variasi Jenis Dan Panjang Sumbu Terhadap Pertumbuhan Tanaman Pada Sistem Hidroponik,” J. Ilm. Rekayasa Pertan. dan Biosist., vol. 7, no. 2, pp. 166–173, Sep. 2019, doi: 10.29303/jrpb.v7i2.124.
W. Zhong, T. Schroeder, and J. Bekkering, “Designing with nature: Advancing three-dimensional green spaces in architecture through frameworks for biophilic design and sustainability,” Front. Archit. Res., vol. 12, no. 4, pp. 732–753, Aug. 2023, doi: 10.1016/j.foar.2023.03.001.
D. P. Caniago and M. A. Masril, “Transformasi Pertanian Dalam Ruangan: Hidroponik Cerdas Berbasis IoT,” Indones. J. Comput. Sci., vol. 12, no. 5, Oct. 2023, doi: 10.33022/ijcs.v12i5.3408.
Z. Li, Y. Wang, H. Liu, and H. Liu, “Physiological and psychological effects of exposure to different types and numbers of biophilic vegetable walls in small spaces,” Build. Environ., vol. 225, p. 109645, Nov. 2022, doi: 10.1016/j.buildenv.2022.109645.
R. R. Rachmawati, “Smart Farming 4.0 Untuk Mewujudkan Pertanian Indonesia Maju, Mandiri, dan Modern,” Forum Penelit. Agro Ekon., vol. 38, no. 2, p. 137, Jun. 2021, doi: 10.21082/fae.v38n2.2020.137-154.
A. Kamilaris, A. Kartakoullis, and F. X. Prenafeta-Boldú, “A Review on The Practice of Big Data Analysis in Agriculture,” Comput. Electron. Agric., vol. 143, pp. 23–37, Dec. 2017, doi: 10.1016/j.compag.2017.09.037.
K. K. Y. Shin, T. P. Ping, M. G. B. Ling, C. Chee Jiun, and N. A. B. Bolhassan, “SMART GROW – Low-cost automated hydroponic system for urban farming,” HardwareX, vol. 17, p. e00498, Mar. 2024, doi: 10.1016/j.ohx.2023.e00498.
P. Y. Aisyah, I. Zarkasih, and M. Kurnia, “Smart And Sustainable Hydroponics: Fuzzy Logic-Based Environmental Control for Optimized Indoor Crop Growth,” Green Technol. Sustain., vol. 4, no. 2, p. 100311, Apr. 2026, doi: 10.1016/j.grets.2025.100311.
Erlangga Adi Saputra, M. Ridhwan Sufandi, and Nurul Fadilah, “Sistem Monitoring Dan Kontrol Tanaman Hidroponik Berbasis Iot Mengunakan Microcontroller Arduino Dan Esp32 di Alwi Mini Farm,” Kohesi J. Multidisiplin Saintek, vol. 10, no. 2, 2025.
M. E. E. Alahi, N. Pereira-Ishak, S. C. Mukhopadhyay, and L. Burkitt, “An Internet-of-Things Enabled Smart Sensing System for Nitrate Monitoring,” IEEE Internet Things J., vol. 5, no. 6, pp. 4409–4417, Dec. 2018, doi: 10.1109/JIOT.2018.2809669.
E. Sisinni, A. Saifullah, S. Han, U. Jennehag, and M. Gidlund, “Industrial Internet of Things: Challenges, Opportunities, and Directions,” IEEE Trans. Ind. Informatics, vol. 14, no. 11, pp. 4724–4734, Nov. 2018, doi: 10.1109/TII.2018.2852491.
Tjut Awaliyah Zuraiyah, Mohammad Iqbal Suriansyah, and Adan Pakhrizal Akbar, “Smart Urban Farming Berbasis Internet Of Things (IoT),” Inf. Manag. Educ. Prof., vol. 3, no. 2, 2019.
Rafael Praseli, “Implementasi MQTT Broker HiveMQ Cloud untuk Monitoring Multi-Sensor Berbasis ESP32,” 2025.
S. Stephanie, Jovin Kendrico, Vanesia Roselin, Winar Joko Alexander, Ziven Louis, and Okky Putra Barus, “Penerapan Smart Indoor Farming dan Clean Energy Technology untuk Peningkatan Kualitas Produksi Hidroponik,” PaKMas J. Pengabdi. Kpd. Masy., vol. 4, no. 2, pp. 304–312, Nov. 2024, doi: 10.54259/pakmas.v4i2.2953.
DOI: https://doi.org/10.24167/sisforma.v13i1.15545
Refbacks
- There are currently no refbacks.
SISFORMA: Journal of Information Systems | p-ISSN: 2355-8253 | e-ISSN: 2442-7888 | View My Stats

This work is licensed under a Creative Commons Attribution 4.0 International License.















