Contemporary buildings are increasingly adopting a holistic approach to sustainability, driven by the convergence of {Internet of Things (IoT) technologies, distributed generation (DG) solutions, and sophisticated energy management systems. IoT devices deliver real-time information on building performance, enabling intelligent adjustments to light