Internet of Things makes deployment of smart home concept easy and real. Smart home concept ensures residents to control, monitor, and manage their energy consumption without any wastage. This paper presents a self-learning home management system. In the proposed system, a home energy management system, demand side management system, and supply side management system were developed and integrated for real time operation of a smart home. This integrated system has some capabilities such as price forecasting, price clustering, and power alert system to enhance its functions. These enhancing capabilities were developed and implemented using computational and machine learning technologies. In order to validate the proposed system, real-time power consumption data was collected from a Singapore smart home and a realistic experimental case study was carried out. The case study has shown that the developed system has performed well and created energy awareness to the residents. This proposed system also displays its ability to customize the model for different types of environments compared to traditional smart home models.