In this comprehensive documentation, we embark on an enlightening journey into the dynamic realm of Internet of Things (IoT) home automation. From the seamless integration of smart devices to the complex orchestration of automated processes, IoT home automation redefines the very essence of domesticity. We explore the landscape of cutting-edge advancements, delving into the intricate interplay of sensors, actuators and connectivity protocols that underpin the functionality of smart homes. Furthermore, we delve into the practical applications of IoT in various aspects of home management. This includes optimizing the energy efficiency, monitoring the environment, controlling personalized comfort and enhancing security measures. As we navigate through real-world case studies and exemplary implementations, we gain invaluable insights into the practical challenges and opportunities inherent in deploying IoT solutions within residential settings. In our proposed work, we have developed a prototype for a smart IoT-based smart home to control and monitor various systems such as light, lamp, socket and fan using ESP32 controller. The various controls are performed through relays. The data are sent to the firebase cloud through Wi-Fi and stored in the cloud. Later, the appliances are switched ON/OFF through virtual key using mobile APP. By using virtual keys, we address pertinent ethical and privacy considerations, shedding light on the importance of responsible data stewardship and robust cybersecurity measures. These are crucial in safeguarding the integrity of smart home ecosystems. By combining theoretical frameworks with empirical observations, we aim to provide a comprehensive understanding of IoT home automation.