Relay switching performance in multi-hop ESP-NOW network for temperature and humidity monitoring

Authors

  • Fadhil Muhammad Al Fayyadh Department of Electrical Engineering, Universitas Swadaya Gunung Jati, Indonesia

DOI:

https://doi.org/10.47540/ijias.v6i3.2863

Keywords:

DHT22, ESP-NOW, Multi-hop, Relay Switching, Wireless Sensor Network

Abstract

Reliable wireless sensor networks (WSNs) are crucial for indoor environmental monitoring, but communication stability decreases sharply when the signal paths is obstructed by walls and multiple floors. ESP-NOW, a lightweight peer-to-peer protocol for ESP32 devices, enables low-latency communication without an access point, but its reliability drops under such conditions. This study proposes a response-time-based relay switching mechanism for a multi-hop ESP-NOW network that monitors temperature and humidity via DHT22 sensors. The system uses four ESP32 nodes, each equipped with a DHT22 sensor, with node A also serving as the relay selector for the multi-hop path, nodes B and C as candidate relays, and node D as the gateway aggregating data from all nodes. Unlike RSSI-based beacon monitoring or computationally heavy frameworks such as FRAVD, the proposed mechanism requires no additional hardware or routing tables, keeping it lightweight for resource-constrained nodes. Performance is evaluated based on relay selection success, Packet Delivery Ratio (PDR), response delay, sensor reading success, communication failures, and power consumption. Results show a relay selection success rate of 98.35% out of 2,000 trials, a PDR ranging from 91.8% to 98.0%, and 610 individual relay failures successfully handled through automatic backup switching. The average response delay ranges from 9.42 ms to 12.59 ms, with power consumption between 0.8 W and 0.9  W. These results demonstrate that the mechanism reliably maintains multi-hop ESP-NOW communications in a multilevel and obstructed environment without additional hardware complexity.

References

Achyar, Z., Safar, I., & Wahyuni, D. (2026). Experimental Characterization of ESP-Mesh Performance for Resilient Medical IoT Monitoring Systems. 10(1), 679–690.

Adday, G. H., Subramaniam, S. K., Zukarnain, Z. A., & Samian, N. (2022). Fault Tolerance Structures in Wireless Sensor Networks (WSNs): Survey, Classification, and Future Directions.

Alnawafa, E., & Marghescu, I. (2018). New Energy Efficient Multi-Hop Routing Techniques for Wireless Sensor Networks: Static and Dynamic Techniques. Sensors, 1–21.

Amron, K., Kusumawinahyu, W. M., Anam, S., & Mahmudy, W. F. (2024). Reliable Wireless Sensor Network Planning with Multipath Topology through Relay Placement Optimization. 5(2), 471–481.

Anuradha, M. P., Swetha, A. M., & Doraipandian, M. (2020). Fault Node Detection and Connectivity Restoration with Mobile Relay Node in Wireless Sensor Networks.

Aydin, B., Aydin, H., & Gormus, S. (2026). RL-OF : A Reinforcement Learning-Inspired Objective Function for IETF 6TiSCH Networks. 14(February).

Becker, B., Oberli, C., Zobel, J., Steinmetz, R., & Meuser, T. (2025). ESP-NOW Performance in Outdoor Environments : Field Experiments and Analysis. WONS 2025 (Wireless On-Demand Network Systems and Services Conference), 1–8.

Booranawong, A., Hirunkitrangsri, P., Buranapanichkit, D., & Pochaiya, C. (2024). A 2 . 4 GHz IEEE 802 . 15 . 4 Multi-Hop Network for Mountainous Forest and Watercourse Environments : Sensor Node Deployment and Performance Evaluation. Signals, 774–793.

Bozhilov, I., Todorov, M. H., & Nikolova, B. (2025). Adaptive ESP-NOW Switching between Direct and Relay Paths Using RSSI-Based Beacon Monitoring. 2025 33rd National Conference with International Participation (TELECOM), 2, 1–4.

Chandrashekar, T., Ravikiran, Y. T., & Kr, V. B. (2022). Study of low-cost Arduino Uno based system to determine the response and recovery times of humidity sensor. 10(2), 186–188.

Chatue, L. M., Christian, R., Ngounou, G., Nneme, L. N., Dada, N., Wilsons, V., & Tekam, F. (2025). Cryptographic Algorithm Grafted onto the ESP-NOW Protocol for Security Optimization in Wireless Sensor Network Chains. 16(2), 313–329.

Espressif Systems. (2026). ESP-IDF Programming Guide: ESP-NOW. Espressif Systems. https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/network/esp_now.html

Feng, X., Nguyen, K., & Luo, Z. (2023). WiFi round-trip time ( RTT ) fingerprinting : an analysis of the properties and the performance in non-line-of-sight environments. Journal of Location Based Services, 17(4), 307–339.

Hajjej, A., Ayaida, M., Najeh, S., Messai, N., Hajjej, A., Ayaida, M., Najeh, S., Messai, N., Najjar, L., Hajjej, A., Ayaida, M., Najeh, S., Messai, N., & Najjar, L. (2024). Robust backbone network based on hybrid selection of relays for multi-hop data dissemination in VANETs To cite this version: HAL Id: hal-04232721 Robust Backbone Network Based on Hybrid Selection of Relays for Multi-hop Data Dissemination in VANETs.

Hakim, G. P. N., Hafizd, M., Hajar, I., Firdausi, A., & Ramadhan, E. (2022). Benchmarking In Microcontroller Development Board Power Consumption For Low Power IoT WSN Application. 13(01), 25–28.

Hayajneh, A. Al, Bhuiyan, Z. A., & McAndrew, I. (2020). A Novel Security Protocol for Wireless Sensor Networks with Cooperative Communication. Cc, 1–17.

Huang, M., Liu, A., Xiong, N. N., Wang, T., & Vasilakos, A. V. (2019). A Low-Latency Communication Scheme for Mobile Wireless Sensor Control Systems. IEEE Transactions on Systems, Man, and Cybernetics: Systems, 49(2), 317–332.

IOT Analytics. (2023). State of IoT 2023 : Number of connected IoT devices growing 16% to 16.0 billion globally. https://iot-analytics.com/wp-content/uploads/2023/05/Insights-Release-State-of-IoT-2023-Number-of-connected-IoT-devices-growing-16-to-16.0-billion-globally.pdf

Kandris, D., Nakas, C., Vomvas, D., & Koulouras, G. (2020). Applications of Wireless Sensor Networks: An Up-to-Date Survey. Applied System Innovation, 3(1), 14.

Khan, A. U., Khan, M. E., Hasan, M., Zakri, W., & Alhazmi, W. (2022). An Efficient Wireless Sensor Network Based on the ESP-MESH Protocol for Indoor and Outdoor Air Quality Monitoring. Sustainability.

Khanchuea, K., & Siripokarpirom, R. (2019). A Multi-Protocol IoT Gateway and WiFi/BLE Sensor Nodes for Smart Home and Building Automation: Design and Implementation. 2019 10th International Conference of Information and Communication Technology for Embedded Systems (IC-ICTES), 1–6.

Kviesis, A., Komasilovs, V., Ozols, N., & Zacepins, A. (2023). Bee colony remote monitoring based on IoT using ESP-NOW protocol. 1–17.

Labib, M. I., Elgazzar, M., & Ghalwash, A. (2021). An efficient networking solution for extending and controlling wireless sensor networks using low-energy technologies. PeerJ Computer Science, 7(e780), 1–19.

Laurindo, S., Moraes, R., Nassiffe, R., Montez, C., & Vasques, F. (2018). An Optimized Relay Selection Technique to Improve the Communication Reliability in Wireless Sensor Networks. Sensors, 1–25.

Levush, P., & Luchechko, A. (2026). Performance evaluation of esp-now for low-latency indoor IOT systems. Advances in Cyber-Physical Systems, 11(1), 1–5.

Liu, W., Xia, Y., Zheng, D., Xie, J., Luo, R., & Hu, S. (2020). Environmental Impacts on Hardware-Based Link.

Magzym, Y., Eduard, A., Urazayev, D., Fafoutis, X., & Zorbas, D. (2023). Synchronized ESP-NOW for Improved Energy Efficiency.

O’Mahony, G. D., Harris, P. J., & Murphy, C. C. (2024). Investigating the Prevalent Security Techniques in Wireless Sensor Network Protocols.

Prakash, P. S., Kavitha, D., & Reddy, P. C. (2022). Delay-aware relay node selection for cluster-based wireless sensor networks. Measurement: Sensors, 24(August), 100403.

Rahman, S., Alam, Z., Islam, A., Habib, T., Ahmed, E., Hasan, M., & Ahmed, T. (2023). Low-cost relay selection in multihop cooperative networks. Journal of King Saud University - Computer and Information Sciences, 35(9), 101760.

Rizk, H., Elmogy, A., & Yamaguchi, H. (2022). A Robust and Accurate Indoor Localization Using Learning-Based Fusion of Wi-Fi RTT and RSSI. 1–22.

Siswoyo, A. (2025). Optimization of Temperature Sensor Selection for Incubators: Real- Time Accuracy Analysis of DHT22, LM35, and DS18B20 in Controlled Environment Simulations. 05.

Sudharsan, P., Santhosh, A. S., P, S. P., & Kumar, B. S. (2022). Server Room Monitoring System using IOT. June.

Tashan, W., Shayea, I., Aldirmaz-Colak, S., & El-, A. A. (2024). Optimal Handover Optimization in Future Mobile Heterogeneous Network using Integrated Weighted and Fuzzy Logic Models.

Uddin, R., & Hwang, T. (2024). Worker Presence Monitoring in Complex Workplaces Using BLE Beacon-Assisted Multi-Hop IoT Networks Powered by ESP-NOW.

Uddin, R., & Koo, I. (2025). A Scalable Multi-Hop IoT Network Using ESP-NOW for Remote Zone Monitoring Applications. 2025 International Conference on Electronics, Information, and Communication (ICEIC), 1–4.

Urazayev, D., Eduard, A., Ahsan, M., & Zorbas, D. (2023). Indoor Performance Evaluation of ESP-NOW. 2023 IEEE International Conference on Smart Information Systems and Technologies (SIST), 1–6.

Wang, H., Ding, X., Huang, C., & Wu, X. (2016). Adaptive Connectivity Restoration from Node Failure ( s ) in Wireless Sensor Networks.

Wardani, K., Ichniarsyah, A. N., Telaumbanua, M., Priyonggo, B., Fil’aini, R., Mufidah, Z., & Dewangga, D. A. (2023). The feasibility study: Accuracy and precision of DHT 22 in measuring the temperature and humidity in the greenhouse.

Wayong, R., Sekiya, K., & Member, K. M. (2026). Routing Protocol for Reliable Mobile Communication Using Wi-SUN FAN. IEEE Open Journal of Vehicular Technology, 7(February), 1294–1310.

Wicaksono, M. F., & Rahmatya, M. D. (2021). Smart Cluster Housing Monitoring with ESP32, ESP-Mesh and Django. 1–16.

Downloads

Published

2026-10-30

How to Cite

Al Fayyadh, F. M. (2026). Relay switching performance in multi-hop ESP-NOW network for temperature and humidity monitoring. Indonesian Journal of Innovation and Applied Sciences (IJIAS), 6(3), 321–332. https://doi.org/10.47540/ijias.v6i3.2863