Implementation of the Internet of Things for Real-Time Monitoring and Control of Environmental Conditions
Keywords:
Internet of Things, Environmental Monitoring, Real-Time Monitoring, Temperature and Humidity, Automatic Control.Abstract
The development of the Internet of Things (IoT) enables environmental conditions to be monitored and controlled in real time through the integration of sensors, microcontrollers, wireless communication, monitoring interfaces, and actuators. This study aims to implement an IoT-based system for real-time environmental monitoring and automatic control based on measured environmental conditions, particularly temperature and humidity. The developed system integrates DHT11, MQ-2, and MQ-6 sensors with Arduino Uno R3, NodeMCU ESP8266, wireless communication, a monitoring dashboard, and relay-controlled actuators. Sensor measurements are processed and transmitted to the monitoring system, while predefined temperature thresholds are used to determine actuator activation. Experimental evaluation was conducted through sensor accuracy, communication reliability, monitoring, and automatic control tests. The results showed average temperature and humidity measurement errors of 0.78% and 1.46%, respectively, indicating relatively small deviations from reference measurements under the tested conditions. Communication testing achieved a 100% success rate for 100 transmitted packets with no packet loss, while the average communication delay was 412 ms. Automatic control testing achieved 100% success across 10 trials using a 30 °C temperature threshold. These findings demonstrate that the integrated IoT architecture can support responsive environmental monitoring and automated control within the tested operating conditions.
Downloads
References
Abu, N. S., Bukhari, W. M., Ong, C. H., Kassim, A. M., Izzuddin, T. A., Sukhaimie, M. N., ... & Rasid, A. F. A. (2022). Internet of Things Applications in Precision Agriculture: A Review. Journal of Robotics and Control (JRC), 3(3), 338-347. https://doi.org/10.18196/jrc.v3i3.14159
Alsamrai, O., Redel-Macias, M. D., Pinzi, S., & Dorado, M. P. (2024). A systematic review for indoor and outdoor air pollution monitoring systems based on Internet of Things. Sustainability, 16(11), 4353. https://doi.org/10.3390/su16114353
Bandara, T. M., Mudiyanselage, W., & Raza, M. (2020, November). Smart farm and monitoring system for measuring the Environmental condition using wireless sensor network-IOT Technology in farming. In 2020 5th international conference on innovative technologies in intelligent systems and industrial applications (CITISIA) (pp. 1-7). IEEE. https://doi.org/10.1109/CITISIA50690.2020.9371830
Bersani, C., Ruggiero, C., Sacile, R., Soussi, A., & Zero, E. (2022). Internet of Things Approaches for Monitoring and Control of Smart Greenhouses in Industry 4.0. Energies, 15(10), 3834. https://doi.org/10.3390/en15103834
Chen, C. H., Hong, C. M., Lin, W. M., & Wu, Y. C. (2022). Implementation of an Environmental Monitoring System Based on IoTs. Electronics, 11(10), 1596. https://doi.org/10.3390/electronics11101596
Danladi, M. S., & Baykara, M. (2022). Design and Implementation of Temperature and Humidity Monitoring System Using LPWAN Technology. Ingenierie Des Systemes d’Information, 27(4), 521–529. https://doi.org/10.18280/isi.270401
Dewangga, A., Amin, R. M., Himawan, W., Zaky, F. A., & Waskito, D. N. (2024). Development of an Internet of Things-based Environmental Information System for Realtime Monitoring of Air Conditions. Journal of Geography Science and Education, 6(1). https://doi.org/10.32585/jgse.v6i1.4688
Duguma, A. L., & Bai, X. (2024). How the Internet of Things Technology Improves Agricultural Efficiency. Artificial Intelligence Review, 58(2), 63. https://doi.org/10.1007/s10462-024-11046-0
Innaya, T. G., Junaidi, A., Alfikri, F., Kurniawan, D., & Iqbal, M. (2025). IoT-based air conditioner monitoring and control at PT XYZ: a prototype approach utilizing Node MCU ESP8266, relay modules, and DHT11 temperature sensors. Integra: Journal of Integrated Mathematics and Computer Science, 2(2), 63-69. https://doi.org/https://doi.org/10.26554/integrajimcs.20252237
Isarumalia, D. R., & Wahyudi, S. (2025). The Importance of Archive Acquisition Services to Support the Smooth Operationof the Archive Center and Museum of Surabaya University. Cerdika: Jurnal Ilmiah Indonesia, 5(10), 1952-1968. http://cerdika.publikasiindonesia.id/index.php/cerdika/index
Iqbal, M., Putri Puspita, N., Rasyid, R., & Yusfi, M. (2025). Sistem Monitoring Kualitas Udara Jarak Jauh Berbasis Sensor MQ-2, MQ-6 dan Sensor DHT11. Jurnal Fisika Unand (JFU), 14(2), 137–144. https://doi.org/10.25077/jfu.14.3.137-144.2025
Marsus Pandega, D., & Marcos, H. (2023). Perancangan Prototipe Deteksi Kebocoran Gas Menggunakan Sensor MQ-6 untuk Rumah Tangga. Jurnal Teknik Dan Sistem Komputer (JTIKOM), 4(1), 2023. https://doi.org/10.33365/jtikom.v4i1.2333
Minani, J. B., Sabir, F., Moha, N., & El Gú, Y.-G. (2024). A Systematic Review of IoT Systems Testing: Objectives, Approaches, Tools, and Challenges. IEEE Transactions on Software Engineering, 50, 785–815. https://doi.org/10.1109/TSE.2024.3363611
Narayana, T. L., Venkatesh, C., Kiran, A., Kumar, A., Khan, S. B., Almusharraf, A., & Quasim, M. T. (2024). Advances in real time smart monitoring of environmental parameters using IoT and sensors. Heliyon, 10(7). https://www.cell.com/heliyon/fulltext/S2405-8440(24)04226-9
Nugroho, W., Ponco, A., & Info, A. (2025). Design and Implementation of an IoT-Enabled Deep Learning Vision System for Automated Dimensional Measurement in Smart Manufacturing Published by Politeknik Piksi Ganesha Indonesia. Jurnal E-Komtek, 9(2), 537–554. https://doi.org/https://doi.org/10.37339/e-komtek.v9i2.2855
Pandey, S., Chaudhary, M., & Tóth, Z. (2025). An Investigation on Real-Time Insights: Enhancing Process Control with IoT-Enabled Sensor Networks. Discover Internet of Things, 5(1), 29. https://doi.org/10.1007/s43926-025-00124-6
Rajkumar, P. (2025). Humidity and temperature monitoring using Raspberry Pi via RS232 networking. Array, 27. https://doi.org/10.1016/j.array.2025.100464
Rehman, A., Saba, T., Kashif, M., Fati, S. M., Bahaj, S. A., & Chaudhry, H. (2022). A Revisit of Internet of Things Technologies for Monitoring and Control Strategies in Smart Agriculture. Agronomy, 12(1), 127. https://doi.org/10.3390/agronomy12010127
Razali, M. A. A., Kassim, M., Sulaiman, N. A., & Saaidin, S. (2020, June). A ThingSpeak IoT on Real Time Room Condition Monitoring System. In 2020 IEEE International Conference on Automatic Control and Intelligent Systems (I2CACIS) (pp. 206-211). IEEE. https://doi.org/10.1109/I2CACIS49202.2020.9140127
Rizkiawan, M. A., Ramza, H., & Sofwan, A. (2024). Internet of Things (IoT) Based Temperature and Humidity Detector Prototype in the UHAMKA Data Center Room. Indonesian Journal of Artificial Intelligence and Data Mining, 7(1), 110-120. https://doi.org/10.24014/ijaidm.v7i1.28035
Sofwan, A., Sumardi, S., Ahmada, A. I., Ibrahim, I., Budiraharjo, K., & Karno, K. (2020, February). Smart Greetthings: Smart Greenhouse Based on Internet of Things for Environmental Engineering. In 2020 International Conference on Smart Technology and Applications (ICoSTA) (pp. 1-5). IEEE. https://doi.org/10.1109/ICoSTA48221.2020.1570614124
Zhang, L., Dabipi, I. K., & Brown Jr, W. L. (2025). Internet of Things Applications for Agriculture. Internet of things A to Z: technologies and applications, 327-343. https://doi.org/10.1002/9781394280490.ch13









