Hybrid online/offline Internet of Things-based smart home automation with voice control, motion-based security, and environmental monitoring for developing regions
Smart home technology facilitates wireless control and monitoring of lighting, security, and heating/cooling systems. Although these systems have evolved significantly since the 1970s, adoption in developing regions is still hindered by high equipment costs and unreliable internet access. This study details the design and testing of a low-cost, hybrid (online/offline) Internet of Things-based smart home automation system, specifically built for developing areas. Using an ESP32 v4 microcontroller and the ESP RainMaker platform, the system can be managed through a mobile app, Google Assistant, or automated schedules when online. An infrared (IR) remote and physical manual switches work regardless of internet connectivity. Environmental monitoring includes a DHT22 temperature and humidity sensor for automated fan control, and an HC-SR501 passive IR motion sensor activates security lights and sends real-time alerts. Experimental bench testing (n = 25 per method) conducted over seven days showed average response times of 1.56 s for voice control, 1.43 s for app control, and 0.91 s for IR remote operation, while manual switches responded in under 0.4 s. Success rates were 94.33% under normal Wi-Fi conditions, 88.0% under poor connectivity, and 98.6% in offline mode. Energy savings were estimated to be around 21% based on scheduling performance. A six-month field trial in Cameroon confirmed that although cloud-based features may be affected during network congestion, the hybrid architecture maintains continuous system operation. Supporting up to 10 controllable loads, the system provides a low-cost and scalable solution for smart home deployment in developing regions.
- Wang J, Zhang YC. A review on Internet of Things based smart home. In: Proceedings of the 2021 International Conference on Culture-Oriented Science & Technology (ICCST). IEEE; 2021:273-277. https://doi.org/10.1109/ICCST53801.2021.00065
- Li W, Yigitcanlar T, Erol I, Nguyen A. Motivations, barriers and risks of smart home adoption: from systematic literature review to conceptual framework. Energy Res Social Sci. 2021;80:102211. https://doi.org/10.1016/j.erss.2021.102211
- Ezugwu AE, Taiwo O, Egwuche OS, et al. Smart homes of the future. Trans Emerg Telecommun Technol. 2025;36(1):e70041. https://doi.org/10.1002/ett.70041
- Zhou H, Luo Y. IoT-based control systems for smart home automation: a comprehensive review. Int J Res Adv Electron Eng. 2024;5(1):17-19. Accessed April 24, 2026. https://www. electrojournal.com/article/35/5-1-5-220.pdf
- Del Rio DDF, Sovacool BK, Griffiths S. Culture, energy and climate sustainability, and smart home technologies: a mixed methods comparison of four countries. Energy Clim Change. 2021;2:100035. https://doi.org/10.1016/j.egycc.2021.100035
- Kimutai MS, Omieno KO, Ondulo JM. Challenges and opportunities for smart homes deployment in developing countries: a case study of the user perspective in Kenya. Open Access Libr J. 2022;9(7):1-18. https://doi.org/10.4236/oalib.1107679
- Ejidike CC, Mewomo MC, Olawumi TO, Wang S, Buniya MK. Barriers to the adoption of smart building technology in developing countries: an empirical survey. J Constr Eng Manage. 2025;151(6). https://doi.org/10.1061/JCEMD4.COENG-15466
- Hassan A, Uddin N, Quddus A, Hassan S, Rehman A, Bharany S. Navigating IoT security: insights into architecture, key security features, attacks, current challenges and AI-driven solutions shaping the future of connectivity. Comput Mater Contin. 2024;81(3):3499-3559. https://doi.org/10.32604/cmc.2024.057877
- Huang C, Chen Q, Lin L, Su W. The economic impact and application challenges of IoT technology in smart home and infrastructure. J Innov Dev. 2024;6(1):35-39. https://doi.org/10.54097/y54jkp60
- Valencia-Arias A, Cardona-Acevedo S, Gómez-Molina S, Gonzalez-Ruiz JD, Valencia J. Smart home adoption factors: a systematic literature review and research agenda. PLoS ONE. 2023;18(10):e0292558. https://doi.org/10.1371/journal.pone.0292558
- Habib MR, Yusuf MA, Warnasuriya WMHN, Sunny K. A comprehensive review on the advancement of home automation system. In: Proceedings of the 2024 Second International Conference on Intelligent Cyber Physical Systems and Internet of Things (ICoICI). IEEE; 2024:638-642. https://doi.org/10.1109/ICoICI62503.2024.10696135
- Asadullah M, Ullah K. Smart home automation system using Bluetooth technology. In: Proceedings of the 2017 International Conference on Innovations in Electrical Engineering and Computational Technologies (ICIEECT). IEEE; 2017:1-6. https://doi.org/10.1109/ICIEECT.2017.7916544
- Bonia K, Basan M, Sohkhlet N, Mawphlang CL, Selvaraj K. Controlling home appliances by IR remote control using Arduino Uno. ADBU J Electr Electron Eng. 2021;4(2):22-26. https://journals.dbuniversity.ac.in/ojs/index.php/AJEEE/ article/view/2931/872
- Thombare N, Hendre S, Hinge V, Jadhav S, Sanas E. IoT based smart home automation system using Bluetooth. Int J Sci Res Sci Technol. 2025;12(5):55–59. https://doi.org/10.32628/IJSRST2513116
- Stolojescu-Crisan C, Crisan C, Butunoi BP. An IoT-based smart home automation system. Sensors. 2021;21(11):3784. https://doi.org/10.3390/s21113784
- Mehra MS. IoT based smart home automation system using Raspberry Pi. Int J Eng Res Technol. 2022;11(7):232-236. Accessed April 24, 2026. https://www.ijert.org/research/iot-based-smart-home-automation-system-using-raspberry-pi- IJERTV11IS070165.pdf
- Deva SY, Babu BSS, Sabarinath KH, et al. Smart home using ESP32 and ESP RainMaker. Int J Res Appl Sci Eng Technol. 2025;13(2):1416-1421. https://doi.org/10.22214/ijraset.2025.67083
- Pajkos J, Kupcova E, Pleva M, Drutarovsky M. ESP32 microcontroller based lightweight TLS 1.3 client for IoT applications. In: Proceedings of the 2025 35th International Conference Radioelektronika (RADIOELEKTRONIKA). IEEE; 2025:1-6. https://doi.org/10.1109/RADIOELEKTRONIKA65656. 2025.11008381
- Nkechinyere E, Iyoloma CI, Chima OB. Offline voice-controlled home automation system using Python and Esp- 32. Int J Multidiscip Res Publ. 2025;8(5):55-60. Accessed April 24, 2026. http://ijmrap.com/wp-content/uploads/2025/10/ IJMRAP-V8N5P38Y25.pdf
- Ahmed MR, Rahman MO, Hoque MJ. Smart home: an empirical analysis of communication technological challenges. Eur J Eng Technol Res. 2020;5(5):571-575. https://doi.org/10.24018/ejeng.2020.5.5.1905
- Khan S, Ali H, Shah Z. Systematic analysis of smart homes: current trends and future recommendations. Cogent Eng. 2024;11(1):2344452. https://doi.org/10.1080/23311916.2024.2344452
- Baker B, Woods J, Reed MJ, Afford M. A survey of short-range wireless communication for ultra-low-power embedded systems. J Low Power Electron Appl. 2024;14(2):27. https://doi.org/10.3390/jlpea14020027
- Ali ASA, Bao XN. Design and research of infrared remote control based on ESP8266. Open Access Libr J. 2021;8(4):1- 14. https://doi.org/10.4236/oalib.1107314
- Rakib MAA, Rahman MM, Rana MS, Islam MS, Abbas FI. GSM based home safety and security system. Eur J Eng Technol Res. 2021;6(6):69-73. https://doi.org/10.24018/ejeng.2021.6.6.2580
- Tamakloe E, Kommey B. A smart GSM-based home electrical appliances remote control system. IPTEK J Technol Sci. 2022;33(1):1-8. https://doi.org/10.12962/j20882033.v33i1.12226
- Al-Doori VS, Abbas SQ, Kulikov O, Ismail MN. Home automation system with a GIU that is powered by Arduino and MATLAB. In: Proceedings of the 2024 35th Conference of Open Innovations Association (FRUCT). IEEE; 2024:63-70. https://doi.org/10.23919/FRUCT61870.2024.10516380
- Findawati Y, Idris A, Suprianto S, Rahmawati Y, Suprayitno E. IoT-based smart home controller using NodeMCU Lua V3 microcontroller and Telegram chat application. IOP Conf Ser Mater Sci Eng. 2020;874(1):012009. https://doi.org/10.1088/1757-899X/874/1/012009
- Sayeduzzaman M, Hasan T, Nasser AA, Negi A. An Internet of Things-integrated home automation with smart security system. In: Automated Secure Computing for Next-Generation Systems. Wiley; 2024:243-273. https://doi.org/10.1002/9781394213948.ch13
- Kadiyan V, Kaur G, Arti, Narang A, Rudola K. IOT based smart home automation system. SSRN. 2024. Accessed May 29, 2026. https://ssrn.com/abstract=4910700
- Netinant P, Utsanok T, Rukhiran M, Klongdee S. Development and assessment of internet of things-driven smart home security and automation with voice commands. IoT. 2024;5(1):79-99. https://doi.org/10.3390/iot5010005
- Eduku S, Sekyi-Ansah J, Yeboah S, Appah IK. Design and implementation of a voice-controlled smart home automation system. Int J Innov Technol Explor Eng. 2025;14(8):5-12. https://doi.org/10.35940/ijitee.F1093.14080725
- Reis MJCS, Serôdio C. IoT architecture for smart environments: mechanisms, approaches, and applications. Future Internet. 2026;18(4):182. https://doi.org/10.3390/fi18040182
- Pratama EW, Kiswantono A. Electrical analysis using ESP- 32 module in realtime. JEECS (J Electr Eng Comput Sci). 2023;7(2):1273-1284. https://doi.org/10.54732/jeecs.v7i2.21
- Espressif Systems. ESP32 Datasheet. Version 5.2. Published 2025. Accessed April 24, 2026. https://www.espressif.com/sites/default/files/documentation/esp32_datasheet_en.pdf
- Choudhary V, Guha P, Pau G, Mishra S. An overview of smart agriculture using internet of things (IoT) and web services. Environ Sustain Indicators. 2025;26:100607. https://doi.org/10.1016/j.indic.2025.100607
- Wahyuni R, Rickyta A, Rahmalisa U, Irawan Y. Home security alarm using Wemos D1 and HC-SR501 sensor-based Telegram notification. J Rob Control. 2021;2(3). https://doi.org/10.18196/jrc.2378
- Esabunor T, Atikpakpa AA. Application of infrared technology in the design of a remote-controlled electric ceiling fan. Innov J Eng Technol. 2022;3(3):55-77. https://journals. rasetass.org/index.php/ijet/article/download/206/202/
- Ningbo Songle Relay Co., Ltd. SRD-05VDC-SL-C Datasheet. Accessed May 28, 2026. https://www.alldatasheet.com/ datasheet-pdf/pdf/1132639/SONGLERELAY/SRD-05VDC-SL-C.html
- Espressif Systems. ESP RainMaker Documentation: Cloud-based IoT Solutions for ESP32. Published 2024. Accessed May 28, 2026. https://rainmaker.espressif.com/docs/
- Benaboura A, Bechar R, Kadri W, Ho TD, Pan Z, Sahmoud S. Latency-aware and energy-efficient task offloading in IoT and cloud systems with DQN learning. Electronics. 2025;14(15):3090. https://doi.org/10.3390/electronics14153090
- Ahmed A, Primajaya A. Design and experimental evaluation of an ESP32-based IoT early warning system for LPG gas leakage. Jurnal Janitra Inf Sist Inf. 2026;6(1):1-7. https://doi.org/10.59395/zfqh4n92
- Zuhelmi TP, Sulistiyanti SR, Setyawan FXA, Adnan AR. Smart home controlling and monitoring system using multiboard client-server Internet of Things (IoT). J Eng Sci Res. 2020;1(2):69. https://doi.org/10.23960/jesr.v1i2.19
- G K, Ediga P, S A, et al. Smart energy management: real-time prediction and optimization for IoT-enabled smart homes. Cogent Eng. 2024;11(1). https://doi.org/10.1080/23311916.2024.2390674
- Weerawan N, Suriyawong P, Samae H, Sampattagul S, Phairuang W. Optimizing residential energy usage with smart devices: a case study on energy efficiency and environmental sustainability. Sustainability. 2025;17(14):6359. https://doi.org/10.3390/su17146359
- Zhang H, Wu C, Zhang DW, Chen G. A new technology-adaptable design for high-endurance EEPROM. Electronics. 2025;14(4):712. https://doi.org/10.3390/electronics14040712
- Yulizar D, Soekirno S, Ananda N, Prabowo MA, Perdana IFP, Aofany D. Performance analysis comparison of DHT11, DHT22 and DS18B20 as temperature measurement. In: Proceedings of the 2nd International Conference on Science Education and Sciences 2022 (ICSES 2022) (Advances in Physics Research). Atlantis Press International BV; 2023:37- 45. https://doi.org/10.2991/978-94-6463-232-3_5
