IoT network for temperature and humidity monitoring in a computer room
Main Article Content
Abstract
Environmental monitoring in server and computer rooms is key to ensuring that equipment operates properly; however, it typically relies on manual checks or expensive equipment that does not always meet the specific needs of the location. To address this situation in an area of the Dirección General de Cómputo y de Tecnologías de Información y Comunicación at the Universidad Nacional Autónoma de México, a network of six nodes was built, equipped with temperature and relative humidity sensors based on microcontrollers with wireless connectivity. Each node exposed its readings as a lightweight web server, allowing them to be integrated directly with a metrics collection platform via periodic queries.
The data were stored in a time-series database and visualized on dashboards with configurable thresholds. To manage alerts and reports, a messaging bot was developed that responded to operator commands, generated files in various formats, and sent automatic notifications when out-of-range values were detected, all without requiring additional software on the user’s device.
The data collected showed that temperature remained between 18 and 29 °C, while relative humidity ranged from 12.1 to 60%, leading to an adjustment in the alert thresholds. The system operated stably, proved to be considerably more cost-effective than the commercial solutions reviewed, and its architecture allows it to be replicated in other spaces that require continuous environmental monitoring with limited resources. Among its limitations are its reliance on Wi-Fi connectivity and the possibility of data loss during communication interruptions. Nevertheless, the system is programmed with reconnection routines in the event of signal or power loss.
Downloads
Article Details

This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
Este trabajo tiene la licencia CC BY-NC-ND 4.0
References
Adafruit Industries. (2018). Adafruit/dht-sensor-library [C++]. Recuperado el 16 de abril de 2026, de https://github.com/adafruit/DHT-sensor-library
Aguilar-González, R., Cárdenas-Juárez, M., Rodríguez-Ortiz, J. C., y Romero-Méndez, M. J. (2023). Monitoreo de temperatura mediante red de sensores para mejorar el uso del agua en la agricultura. Terra Latinoamericana, 41. https://doi.org/10.28940/terra.v41i0.1626 DOI: https://doi.org/10.28940/terra.v41i0.1626
Aosong Guangzhou Electronics Co., Ltd. (s. f.). Digital-output relative humidity & temperature sensor/module: AM2303 [ficha técnica]. https://cdn-shop.adafruit.com/datasheets/DHT22.pdf
Aosong Guangzhou Electronics Co., Ltd. (2017). DHT11 digital temperature and humidity sensor (Versión 1.3) [ficha técnica]. https://akizukidenshi.com/goodsaffix/DHT11_20180119.pdf
Aya-Parra, P. A., Rodríguez-Orjuela, A. J., Rodríguez Torres, V., Córdoba Hernández, N. P., Martínez Castellanos, N., y Sarmiento-Rojas, J. (2023). Monitoring system for operating variables in incubators in the neonatology service of a highly complex hospital through the internet of things (Iot). Sensors, 23(12), 5719. https://doi.org/10.3390/s23125719 DOI: https://doi.org/10.3390/s23125719
Domínguez García, R. O., Zatarain Duran, O. A., De La Torre, M. Á., Díaz Vieyra, J. I., y Quijas Santos, D. de J. (2019). El monitoreo de humedad y temperatura de un centro de datos. LACCEI, Inc. http://axces.info/handle/10.18687/20190101_439
Dwyer Instruments. (s. f.). Importancia de la medición de la humedad y la temperatura en los centros de datos. https://www.processsensing.com/es-es/blog/data-center.htm
ESP8266 Community. (2014). WiFiServer.h [código fuente]. GitHub. Recuperado el 22 de abril de 2026, de https://github.com/esp8266/Arduino/blob/master/libraries/ESP8266WiFi/src/WiFiServer.h
ESP8266 Community. (s. f.). ESP8266WiFi library. ESP8266 Arduino Core documentation. https://arduino-esp8266.readthedocs.io/en/latest/esp8266wifi/readme.html
Espressif Systems. (2014). WiFi.h [código fuente]. GitHub. Recuperado el 22 de abril de 2026, de https://github.com/espressif/arduino-esp32/blob/master/libraries/WiFi/src/WiFi.h
Espressif Systems. (2025). ESP8266 Technical Reference (Versión 1.7). Recuperado el 14 de abril de 2026, de https://documentation.espressif.com/esp8266-technical_reference_en.pdf
Espressif Systems. (2026). ESP32-C3 Series Datasheet (Versión 2.4). Recuperado el 13 de abril de 2026, de https://documentation.espressif.com/esp32-c3_datasheet_en.pdf
Grafana Labs. (s. f.). Grafana OSS and Enterprise. Grafana Labs. Recuperado el 15 de abril de 2026, de https://grafana.com/docs/grafana/latest/
Grokhotkov, I. (2014). WebServer.h [código fuente]. GitHub. https://github.com/espressif/arduino-esp32/blob/master/libraries/WebServer/src/WebServer.h
Grundy, R. (2005) Temperatura y humedad recomendadas para el centro de datos: Prevención del costoso tiempo de inactividad causado por las condiciones ambientales. AVTECH Software. https://es.avtech.com/articles/3647/recommended-data-center-temperature-humidity/
HandsOn Technology. (s.f.). ESP8266 NodeMCU WiFi Development Board: User manual V1.3. Recuperado el 13 de abril de 2026, de https://handsontec.com/dataspecs/module/esp8266-V13.pdf
Herrlin, M. K., y Cole, R. C. (2016). Air management in small data centers (LBNL-2001204). Lawrence Berkeley National Laboratory. https://eta-publications.lbl.gov/sites/default/files/pgande_final_report_2016_herrlin2001204.pdf
Jiménez-Morales, J. B., Suárez-Cansino, J., López-Morales, V., y Franco-Árcega, A. (2022). Internet de las cosas y variaciones de temperatura y humedad dentro de un site. Pädi Boletín Científico de Ciencias Básicas e Ingenierías del ICBI, 10(Especial 3), 112-119. https://doi.org/10.29057/icbi.v10iEspecial3.9006 DOI: https://doi.org/10.29057/icbi.v10iEspecial3.9006
Lozada Contreras, J. D., y Bautista España, A. D. (2024). Sistema IoT para el monitoreo de variables ambientales en un ambiente laboral. Revista Social Fronteriza, 4(1), e41117. https://doi.org/10.59814/resofro.2024.4(1)117 DOI: https://doi.org/10.59814/resofro.2024.4(1)117
Matplotlib Development Team. (s. f.). Matplotlib: Visualization with Python. Recuperado el 16 de abril de 2026, de https://matplotlib.org/
Nagios Enterprises. (s. f.). Nagios XI: Enterprise-grade network monitoring software. Recuperado el 14 de abril de 2026, de https://www.nagios.com/products/nagios-xi/
Pino, H., Pastor, V., Grimalt-Álvaro, C., y López, V. (2019). Measuring CO2 with an arduino: Creating a low-cost, pocket-sized device with flexible applications that yields benefits for students and schools. Journal of Chemical Education, 96(2), 377-381. https://doi.org/10.1021/acs.jchemed.8b00473 DOI: https://doi.org/10.1021/acs.jchemed.8b00473
Prometheus. (s.f.). Prometheus documentation overview. Recuperado el 15 de abril de 2026, de https://prometheus.io/docs/introduction/overview/
Python Software Foundation. (2001). asyncio—Asynchronous I/O. Python 3.14.7 documentation. https://docs.python.org/3/library/asyncio.html
Rodríguez, H. (2007). Desarrollo de monitor de humedad relativa y temperatura. Investigación y Ciencia: de la Universidad Autónoma de Aguascalientes, (38), 20-24. https://dialnet.unirioja.es/servlet/articulo?codigo=6108415
Rubio, J. de J., Hernández-Aguilar, J. A., Ávila-Camacho, F. J., Stein-Carrillo, J. M., y Meléndez-Ramírez, A. (2016). Sistema sensor para el monitoreo ambiental basado en redes neuronales. Ingeniería, Investigación y Tecnología, 17(2), 211-222. https://doi.org/10.1016/j.riit.2016.06.006 DOI: https://doi.org/10.1016/j.riit.2016.06.006
St. Hilaire, S. (2023). Sensores de presión diferencial para aplicaciones de centros de datos. Ashcroft. https://blog.ashcroft.com/es/differential-pressure-sensors-for-data-centers
Sunbird DCIM. (s.f.). Power IQ DCIM Monitoring: Pricing. Sunbird Software. https://www.sunbirddcim.com/pricing
Telegram. (s. f.). Telegram Bot API. Recuperado el 15 de abril de 2026, de https://core.telegram.org/bots/api
Toledo, L. (2024). Bot—Python-telegram-bot v21.3. Recuperado el 22 de abril de 2026, de https://docs.python-telegram-bot.org/en/v21.3/telegram.bot.html
Vallejo-Sanchez, D., Muñoz-García, A., Chaverra-Zuleta, E., Correa-Casas, J., Londoño, L. F., y Bustamante-Rúa, O. (2024). Desarrollo de una Arquitectura IoT para monitoreo ambiental: Integración de tecnologías de código abierto con proyección de aplicación en el sector minero. DYNA, 91(231), 163-168. https://doi.org/10.15446/dyna.v91n231.112093 DOI: https://doi.org/10.15446/dyna.v91n231.112093
Vega Luna, J. I., Sánchez-Rangel, F. J., Salgado-Guzmán, G., Cosme-Aceves, J. F., Tapia-Vargas, V. N., y Lagos-Acosta, M. A. (2020). Red de monitorización para automatizar el sistema de enfriamiento de un centro de datos. Ingenius, (24), 87-96. https://doi.org/10.17163/ings.n24.2020.09 DOI: https://doi.org/10.17163/ings.n24.2020.09
Zabbix. (s. f.). Zabbix: The enterprise-class open source observability solution. Recuperado el 14 de abril de 2026, de https://www.zabbix.com/