In recent times, the realm of home automation systems has garnered significant attention, thanks to the ever-evolving landscape of communication technology. The concept of a smart home, essentially an application of the Internet of Things (IoT), leverages the power of the internet to oversee and employ household appliances through a sophisticated automation infrastructure. Nevertheless, challenges persist within the existing home automation systems, such as constrained wireless transmission reach, a deficiency in backup power management, and the substantial financial outlay involved. Addressing these limitations, our study introduces an economical and resilient solution that combines cloud based IoT with an uninterrupted power management system, making a cutting-edge home automation prototype. This system relies on a microcontroller unit, specifically the ESP-32, which functions as a Wi-Fi-enabled gateway for connecting a variety of sensors and transmitting their data to the Blynk IoT cloud server. The data assembled from a multitude of sensors, including vibration sensors and voltage detectors, becomes readily accessible on users' devices, be it smartphones or laptops, irrespective of their geographical location. The system is further strengthened by a set of relays that link the ESP-32 with household appliances, allowing for centralized control. Structurally, the design uses a control box that can be seamlessly integrated into a real home environment, offering the means to both monitor and govern an array of household devices. This IoT-based home automation solution not only efficiently manages internet-connected appliances but also provides an effective emergency power management system, enabling remote initiation and deactivation of backup generators. It represents a innovative leap in the evolution of home automation systems, steering in convenience, efficiency, and cost-effectiveness.