Ordinary households are turning into intelligent, connected places because of the evolution of Internet of Things (IoT) technology. Still integrated energy monitoring, real-time safety features, and decision-making skills are absent in most of existing home automation systems.In this paper the design, development and implementation of an IoT-based home automation system that includes layered safety features, rule-based artificial intelligence (AI), and real-time energy monitoring into a single framework is presented.The DHT22 temperature-humidity sensor, PIR motion sensor, LDR light sensor, MQ-2 gas sensor, and four ACS712 current sensors for per-appliance energy monitoring are all interfaced with an ESP32 microcontroller. The Blynk IoT platform allows cloud connectivity and user interaction remotely.In the system three automation rules are used:fan regulation based on temperature, light regulation based on ambient light, and appliance control based on occupancy. When there is unoccupancy condition, all appliances turn off automatically, which results in significant energy savings. Safety measures include prevention of overcurrent by cutoff of each appliance relay if current consumption of appliance goes above 3.00 A and automatic turning on of exhaust fan for ventilation, also immediate shutdown of appliances after gas detection to avoid ignition risk. Quick reporting of critical events was done through blynk notifications and automated email alerts. The proposed system was evaluated between the period of January 2026 to April 2026 and the results showed constant automation accuracy, accurate current readings for all the four appliances, and reliable emergency response. So according to the results the proposed system offers a practical, scalable, and cost-effective solution for modern smart homes. So the presented system successfully addresses user convenience, operational safety, and energy efficiency.
Introduction
The paper presents an IoT-based smart home automation system that integrates energy monitoring, safety features, and rule-based automation using an ESP32 microcontroller connected to sensors (temperature, light, motion, gas, and current) and cloud control via the Blynk platform. Unlike basic home automation systems that only allow remote switching, this design adds real-time energy tracking, safety mechanisms (gas leakage detection and overcurrent protection), and context-aware automation such as lighting and fan control based on occupancy, temperature, and ambient light.
The system addresses limitations found in existing research, such as lack of energy feedback, weak safety integration, scalability issues, and reliance on complex machine learning models. It uses a simple rule-based AI approach instead of heavy predictive algorithms to keep the system low-cost and efficient. Cloud connectivity enables remote monitoring, alerts, and control, though it depends on stable internet access.
Overall, the proposed system demonstrates improved practicality by combining automation, safety, and energy efficiency in a single integrated IoT framework, while acknowledging trade-offs such as limited real-time precision and reduced flexibility due to rule-based logic.
Conclusion
This paper presented the design and implementation of an Internet of Things (IoT) based home automation system that includes real-time energy monitoring, rule-based decision logic, and integrated safety features into a single structure. This ESP32 based system uses the Blynk IoT platform for cloud connectivity, embedded control and environmental sensing. The system seems to be more advanced than many basic automation systems because the components function collectively rather than as independent components. Based on the observations made throughout the three month evaluation time period it is observed that he automation seems to function effectively under different situations. The rule-based AI manages switching of the appliances based on occupancy condition, switches light in response to surrounding light conditions and manages fan operation based on temperature. By responding to only its own events, each rule helps to an overall decrease in energy consumption. Additionally, the system prevents unnecessary intervention, which improves user comfort. The Energy monitoring with the help of ACS712 sensors provide appliance-level data rather than average estimations. Thus, it is possible to observe consumption patterns over time and make a direct correlation with automation behavior. Along with the confirmation operation, the data collected gives confirmation of how and when energy savings take happen. Safety performance is another area where the proposed system shows consistent behavior. When the MQ-2 gas sensor detects gas leakage, the unneeded loads are immediately turned off and the exhaust fan gets switched on for ventilation. While the overcurrent protection mechanism further ensures that each appliance functions within defined limits. Redundancy is implemented by notifications given over the cloud platform using email and in-app alerts, which can reduce the probability of missing warnings. Thus, the system shows features that suggest applicability in real-world scenarios. It handles energy consumption, safety, and usability in an appropriate way while being cost-effective and scalable. However, an extension is still possible. Predictive models, particularly using lightweight machine learning, along with supporting more devices and environmental factors, could be explored in the future studies. Such improvements could improve adaptability but they would also need to be balanced against increasing system complexity.
References
[1] Y. M. Leong, E. H. Lim, and L. K. Lim, “A Review of Potential AI-Based Automation for IoT-Enabled Smart Homes,” Proc. Int. Conf., 2024.
[2] Y. Ghoul, N. Zitouni, and A. Jmal, “A Prototype of an Arduino-Based Home Automation System,” Proc. Int. Conf., 2024.
[3] V. Bangera et al., “A Smart IoT Based Home Automation System for Controlling and Monitoring Home Appliances and Security,” Proc. Int. Conf., 2024
[4] A. Francis et al., “An Intelligent IoT-Based Home Automation for Optimization of Electricity Use,” Przeglad Elektrotechniczny, vol. 99, no. 9, pp. 1–5, 2023.
[5] C. Stolojescu-Crisan, C. Crisan, and B.-P. Butunoi, “An IoT-Based Smart Home Automation System,” Sensors, vol. 21, no. 11, p. 3784, 2021.
[6] M. M. Ishaq et al., “Cloud-Based IoT Platforms for Home Automation System,” Proc. Int. Conf., 2024.
[7] V. Tsankov, B. Evstatiev, and I. Valova, “Concept for an IoT-Based Electronic System for Smart Home Automation,” Proc. IEEE Conf., 2024.
[8] A. S. M. Mussa et al., “Deploying an IoT-Enabled Integrated Comprehensive Home Automation System Using WSN for Enhanced Continuous Optimization and Fault Identification System,” Stat., Optim. Inf. Comput., vol. 14, pp. 282–310, 2025.
[9] F. Condon et al., “Design and Implementation of a Cloud-IoT-Based Home Energy Management System,” Sensors, vol. 23, no. 1, p. 176, 2023.
[10] I. E. Mohammedi et al., “Design and Evaluation of a Smart Home System with Home Assistant,” Proc. IEEE Conf., 2025.
[11] N. Das and M. T. Shakil, “Design and Implementation of an IoT-Based Energy-Efficient Smart Home Automation System,” Proc. IEEE Conf., 2025.
[12] A. Adetunla et al., “Development of a Prototype IoT-Based Smart Home Automation System: Insight in Energy Efficiency,” Proc. Int. Conf., 2024.
[13] B. Eli? et al., “Development of IoT-Based Smart Home Automation System with Open-Sourced Components,” Proc. IEEE Conf., 2024.
[14] M. H. Kabir et al., “Enhancing Home Automation and Security with IoT-Based Solutions,” Proc. IEEE Conf., 2024.
[15] S. Niranjana et al., “Experimental Procedure to Develop an IoT-Based Smart Home Automation System Using Intelligent Sensors Association,” Proc. Int. Conf., 2024.
[16] O. Chavan et al., “From Concept to Reality: IoT-Based Electric Control Systems in Home Automation,” Proc. IEEE Conf., 2024.
[17] B. A. Balamanikandan et al., “Home Automation Using Cloud and IoT,” Proc. IEEE Conf., 2024.
[18] P. Gurumurthy et al., “IoT-Based Automation System for Household Appliances,” Proc. IEEE Conf., 2025.
[19] A. Manonmani et al., “IoT-Based Home Automation Control Using Feedback System,” Proc. IEEE Conf., 2024.
[20] N. Solangi et al., “IoT-Based Home Automation System: Security Challenges and Solutions,” Proc. IEEE Conf., 2024.
[21] R. Arunadevi et al., “IoT-Based Smart Home Automation Using ESP32,” Proc. IEEE Conf., 2025.
[22] S. Mishra, S. Sivakumar, and A. Nayak, “IoT-Based Home Automation System with Energy Prediction Using Machine Learning,” Proc. IEEE Conf., 2025.
[23] A. K. Ray et al., “IoT-Based Home Automation System for Energy Conservation,” Proc. IEEE Conf., 2025.
[24] M. Lawanya Shri et al., “Local Home Server for Device Automation and Control Using IoT,” Proc. IEEE Conf., 2025.
[25] M. Kumar et al., “Next-Generation Smart Homes: An IoT Approach to Home Automation and User Experience,” Proc. IEEE Conf., 2024.
[26] M. A. Khan et al., “Smart Android Based Home Automation System Using Internet of Things (IoT),” Sustainability, vol. 14, no. 17, p. 10717, 2022.
[27] K. M. Gayatri et al., “Smart Home Automation Using IoT – A Modern Lifestyle Revolution,” Proc. IEEE Conf., 2025.
[28] K. Srinivasrao et al., “User Experience Design for IoT-Driven Smart Home Automation Interfaces,” Proc. IEEE Conf., 2024.