Research Article

A Cost-Effective Edge-based IoT Smart Home Automation System using Raspberry Pi and ESP32

by  Ali Ahmed Mirza, Layla Mahdi Salih, Taha Abdulwahid Mahmood
journal cover
International Journal of Computer Applications
Foundation of Computer Science (FCS), NY, USA
Volume 187 - Issue 133
Published: August 2026
Authors: Ali Ahmed Mirza, Layla Mahdi Salih, Taha Abdulwahid Mahmood
10.5120/ijcac41f28a210ba
PDF

Ali Ahmed Mirza, Layla Mahdi Salih, Taha Abdulwahid Mahmood . A Cost-Effective Edge-based IoT Smart Home Automation System using Raspberry Pi and ESP32. International Journal of Computer Applications. 187, 133 (August 2026), 48-53. DOI=10.5120/ijcac41f28a210ba

                        @article{ 10.5120/ijcac41f28a210ba,
                        author  = { Ali Ahmed Mirza,Layla Mahdi Salih,Taha Abdulwahid Mahmood },
                        title   = { A Cost-Effective Edge-based IoT Smart Home Automation System using Raspberry Pi and ESP32 },
                        journal = { International Journal of Computer Applications },
                        year    = { 2026 },
                        volume  = { 187 },
                        number  = { 133 },
                        pages   = { 48-53 },
                        doi     = { 10.5120/ijcac41f28a210ba },
                        publisher = { Foundation of Computer Science (FCS), NY, USA }
                        }
                        %0 Journal Article
                        %D 2026
                        %A Ali Ahmed Mirza
                        %A Layla Mahdi Salih
                        %A Taha Abdulwahid Mahmood
                        %T A Cost-Effective Edge-based IoT Smart Home Automation System using Raspberry Pi and ESP32%T 
                        %J International Journal of Computer Applications
                        %V 187
                        %N 133
                        %P 48-53
                        %R 10.5120/ijcac41f28a210ba
                        %I Foundation of Computer Science (FCS), NY, USA
Abstract

One of the key applications of the Internet of Things (IoT) is smart home automation that allows enhancing comfort, safety, and energy savings in a residential environment. Most of the current solutions put high reliance on cloud infrastructures, which makes such solutions vulnerable to latency, privacy issues, and extra operational costs. In this paper, we present a cheap edge-based smart home automation system using a low-cost Raspberry Pi and ESP32 microcontroller that communicates over local Wi-Fi. This will allow the proposed system to ensure that all relay modules controlling household appliances can operate correctly in real time while consuming very little power and switching accurately. Its experimental evaluation yielded an average response time of 0.43 seconds and 35–60% lower latency than state-of-the-art cloud-based systems, stable communication, and a relay switch accuracy of 100% in each test cycle. The experimental results show that the proposed architecture has lower latency and cost and is more scalable as compared to existing solutions. The system is suitable for large-scale beamforming-based smart home implementation and flexible for further deployment in the smart home domain.

References
  • H. Yar, A. S. Imran, Z. A. Khan, M. Sajjad, and Z. Kastrati. Towards Smart Home Automation Using IoT-Enabled Edge-Computing Paradigm. J. Sensors MDPI, 2021, doi: https://doi.org/10.3390/s21144932.
  • R. Roy and N. Sharma. 2023. Cloud Computing Infrastructure in Smart Home Devices. In 2023 Seventh International Conference on Image Information Processing (ICIIP), 2023, 677–682.
  • H. Liu, M. E. Fouda, A. M. Eltawil, and S. A. Fahmy. 2024. Split DNN inference for exploiting near-edge accelerators. In 2024 IEEE International Conference on Edge Computing and Communications (EDGE), 2024, pp. 84–91.
  • H. Haider, J. Iqbal, and W. Younis. 2025. A REVIEW ON HYBRID CLOUD-FOG-EDGE ARCHITECTURES FOR EFFICIENT AND SCALABLE SMART HOME IOT SYSTEMS. vol. 3138, pp. 812–817.
  • K. Agarwal, A. Agarwal, and G. Misra. 2019. Review and performance analysis on wireless smart home and home automation using IoT in 2019 Third International Conference on I-SMAC (IoT in Social, Mobile, Analytics and Cloud) (I-SMAC), 2019, pp. 629–633.
  • M. A. Addow, A. D. Jimale, A. Y. Nageye, M. O. Abdullahi, and S. M. Hilowle, “A low-cost IoT-based smart home automation system for urban sustainability in Mogadishu, Somalia,” Discover Internet of Things, vol. 5, no. 1, Dec. 2025, doi: 10.1007/s43926-025-00207-4.
  • I. Szeidert, I. Filip, D. Bordeasu, and C. Vasar. 2025. Experimental Stand for Testing a Home Automation Solution. In 2025 IEEE 19th International Symposium on Applied Computational Intelligence and Informatics (SACI), 2025, pp. 243–248.
  • T. Hobbs and A. Ali, “Smart Home Control Using Real-Time Hand Gesture Recognition and Artificial Intelligence on Raspberry Pi 5,” Electronics (Switzerland), vol. 14, no. 20, Oct. 2025, doi: 10.3390/electronics14203976.
  • N. Nasir, “Untangling the Cloud from Edge Computing for the Internet of Things by Nabeel Nasir,” University of Virginia, 2024.
  • Z. O’Neil, J. Wen, R. Kimball, H. Xiao, N. Wen, and D. Taasevigen, “IoT-Based Comfort Control and Fault Diagnostics System for Energy-Efficient Homes,” 2024. doi: www.nrel.gov/docs/fy24osti/85920.pdf iii.
  • R. Gupta and K. Nahrstedt, “Performance Characterization of Containers in Edge Computing,” arXiv:2505.02082v2, 2025.
  • M. Khan, F. Smith, S. van Aardt, and S. Hatefi, “AI-Enhanced System to Monitor Real-Time Energy and to Identify Home Appliances,” South African Journal of Industrial Engineering, vol. 36, no. 3, pp. 302–315, Dec. 2025, doi: 10.7166/36-3-3350.
  • R. K. R, S. K. A, S. H. N, A. S. P, and S. Varsha. 2025. BitRL-Light: 1-bit LLM Agents with Deep Reinforcement Learning for Energy-Efficient Smart Home Lighting Optimization. In Proc. Conf. Soc. Sustain. Innov. Technol. Eng. (SASI-ITE 2025), Adv. Intell. Syst. Res. 199, 2025, doi: https://doi.org/10.2991/978-94-6463-940-7_32.
  • A. Yaldaie, J. Porras, and O. Drogehorn. 2024. Innovative Home Automation with Raspberry Pi: A Comprehensive Approach to Managing Smart Devices. Asian J. Comput. Sci. Technol., vol. 13, no. 1, pp. 27–40, 2024, doi: https://doi.org/10.70112/ajcst-2024.13.1.4260.
  • A. Yaldaie, J. Porras, and O. Drogehorn. 2022. The Present State of Home Automation: A Systematic Literature Review. Int. J. Hybrid Inf. Technol., vol. 2, no. 1, pp. 23–46, 2022, doi: http://dx.doi.org/10.21742/ijhit.2653-309X.2022.2.1.03.
  • M. M. Maruf, T. Bhuiyan, E. J. Eshita, M. S. Hossen, and M. H. Imran, “An IoT-based smart home automation system: Enhancing security, energy efficiency, and remote accessibility,” Multidisciplinary Science Journal, vol. 8, no. 7, Jul. 2026, doi: 10.31893/multiscience.2026262.
  • A. Ullah, A. Nadeem, M. Arif, M. M. Bashir, and W. Choi. 2025. 6G Internet-of-Things-assisted smart homes and buildings: Enabling technologies, opportunities and challenges. Internet of Things, vol. 32, p. 101658, 2025, DOI: https://doi.org/10.1016/j.iot.2025.101658.
  • M. Mohammadi, M. Aledhari, A. Al-Fuqaha, M. Guizani, and M. Ayyash, “Internet of things: a survey on enabling,” IEEE, Piscataway, vol. 17, no. 4, pp. 2347–2376, 2015.
  • A. Yaldaie, “FROM RESEARCH TO LIVING ROOMS: EVALUATING SMART HOME TECHNOLOGIES THROUGH SYSTEMATIC REVIEWS, USER STUDIES, AND PRACTICAL IMPLEMENTATIONS HOME TECHNOLOGIES THROUGH SYSTEMATIC REVIEWS,” Acta Universitatis Lappeenrantaensis, 2025.
  • M. Carvalho, “Building Smart Home Automation Solutions with Home Assistant”, vol. 356. Packt Publishing, 2023.
  • E. Rohadi et al., “A review: Performance analysis of single board computer technology as an IoT system,” in 2025 IEEE International Conference on Industry 4.0, Artificial Intelligence, and Communications Technology (IAICT), IEEE, 2025, pp. 106–110.
  • B. Kumar, S. Kumari, R. Kumar, V. K. Singh, B. K. Sharma, and K. Gupta. 2025. Mitigating Security Vulnerabilities in Cloud-Based Home Automation through Advanced Edge Computing: A Comprehensive Framework for Privacy Enhancement and Data Protection. In 2025 IEEE 14th International Conference on Communication Systems and Network Technologies (CSNT), 2025, pp. 425–431.
  • T. Rezaei, S. Bayhan, A. Continella, and R. van Rijswijk-Deij. 2026. RASH: Resource Allocation for Smart Homes Considering Privacy Sensitivity of IoT Applications. J. Netw. Syst. Manag., vol. 34, no. 2, 2026.
  • S. Stirapongsasuti, Y. Nakamura, and K. Yasumoto. 2020. Privacy-aware sensor data upload management for securely receiving smart home services. In 2020 IEEE International Conference on Smart Computing (SMARTCOMP), 2020, pp. 214–219.
  • R. Ivanov, “Scalable IoT-Based Architecture for Continuous Monitoring of Patients at Home: Design and Technical Validation,” Computers, vol. 15, no. 3, Mar. 2026, doi: 10.3390/computers15030144.
  • T. Malche, S. Budhani, P. Kumar, S. Govind, and M. Upadhyay. 2025. Voice-activated home automation system for IoT edge devices using TinyML. Discov. Internet Things, 2025, doi: 10.1007/s43926-025-00165-x.
  • H. Larian and F. Safi-Esfahani. 2024. InTec: integrated things-edge computing: a framework for distributing machine learning pipelines in edge AI systems. J. Computing, vol. 107, no. 1, p. 41, 2024, doi: 10.1007/s00607-024-01388-6.
  • S. Kumari and A. K. Tyagi, “Internet of things for smart home: a survey,” Digital Twin and Blockchain for Smart Cities, pp. 371–405, 2024.
  • A. K. Ray. 2025. AI-DRIVEN PRIVACY AND SECURITY FRAMEWORKS FOR SMART HOMES: A COMPREHENSIVE SURVEY. Int. J. Appl. Math., vol. 38, no. 11s, pp. 2345–2383, 2025.
  • G. Kumar, V. K. Sharma, V. Chamola, and A. K. Bashir. 2026. Next-Gen Networks for the Internet of Consumer Electronics: A Survey. IEEE Consum. Electron. Mag., vol. PP, pp. 1–13, 2026, doi: 10.1109/MCE.2026.3650871.
  • R. Kaur, T. Rodrigues, and N. Kadir. 2025. A Survey on Privacy Preservation Techniques in IoT Systems. Sensors MDPI, vol. 25, no. 22, 2025, doi: 10.3390/s25226967.
  • Y. O. Isaac, J. Onyemenam, F. Ariba, K. Oluwatobi, and A. E. Nwakaego, “Home-Based Appliances Automation using Dual-Tone Multi-Frequency Signaling Method,” NIPES - Journal of Science and Technology Research, vol. 7, no. 1 Special Issue, pp. 1550–1564, Oct. 2025, doi: 10.37933/nipes/7.4.2025.SI181.
  • V. Le, M. Nguyen, T. Te, V. Phan, H. Do, and C. Author. 2025. Control Home Appliances Using Hand Gesture Recognition Based on Deep Learning and Arduino Uno via Infrared Signal. J. Robot. Control, vol. 6, no. 6, pp. 2628–2644, 2025, doi: 10.18196/jrc. v6i6.27924.
  • D. P. Mishra, R. Senapati, R. K. Swain, and S. Dash. 2026. GSM-based load monitoring system with ADL classification and smart meter design, Int. J. Informatics Commun. Technol., vol. 15, no. 1, pp. 74–83, 2026, doi: 10.11591/ijict. v15i1.pp74-83.
  • R. Gao, “A comparative study of an STM32F103C8T6-based FreeRTOS smart home system,” Informatica, vol. 49, pp. 401–416, 2025.
  • S. Gunputh, A. P. Murdan, and V. Oree. 2017. Design and Implementation of a Low-Cost Arduino-Based Smart Home System. In 9th IEEE International Conference on Communication Software and Networks, 2017, pp. 1491–1495.
  • V. Patchava, H. B. Kandala, and P. R. Babu. 2015. A smart home automation technique with Raspberry Pi using IoT. In 2015 International Conference on Smart Sensors and Systems (IC-SSS), 2015, pp. 1–4.
  • I. Rižnar and A. Gaisov, Raspberry Pi as a Foundation for Boosting Computer and Technology Literacy: Amplifying Understanding Through Projects. University of Primorska Press, 2024.
  • R. K. Kodali, V. Jain, S. Bose, and L. Boppana, “IoT-based smart security and home automation system,” in Proceedings - IEEE International Conference on Computing, Communication and Automation, ICCCA 2016, Institute of Electrical and Electronics Engineers Inc., Jan. 2017, pp. 1286–1289. doi: 10.1109/CCAA.2016.7813916.
  • S. Zhang, W. Li, Y. Wu, P. Watson, and A. Zomaya, “Enabling Edge Intelligence for Activity Recognition in Smart Homes (Invited Paper),” 2018 IEEE 15th Int. Conf. Mob. Ad Hoc Sens. Syst., pp. 228–236, 2018, doi: 10.1109/MASS.2018.00044.
Index Terms
Computer Science
Information Sciences
No index terms available.
Keywords

Smart Home Internet of Things Edge Computing Raspberry Pi ESP32 Home Automation

Powered by PhDFocusTM