Modern buildings are increasingly utilizing a integrated approach to sustainability through the synergy of Internet of Things (IoT), Distributed Generation (DG), and intelligent power oversight systems. This integration enables for real-time observation of power usage, promoting the use of techniques that reduce waste, maximize sustainable resource