Energy management is imperative at a time like this. Due to rising population and lack of adequate power supply to satisfy energy consumers, there is an urgent need to provide an efficient way to manage energy. This study proffers solution to the enormous challenge of managing energy by developing a model that helps both consumer and energy providers manage energy efficiently. This solution will enable monitoring of power over a specific period and intelligent switching of power sources. Thus, the energy consumer gets a detailed information of energy usage and specific time and duration of power switching between different energy sources. It assists energy providers such as the Electricity DISCOs (Distribution Companies) to monitor energy distribution. The study composes four distinct parts which are; the automatic transfer switch, the internet of things module, the mobile application and the cloud server. This study helps to intelligently chose between energy sources, observe and log power usage patterns of homes, provide analytics and insight to energy usage by consumers, provide ease, comfort and safety to users and optimally manage energy in homes.