Modern 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 optimization systems. Connected systems offer real-time insights on premises operation, permitting automated adjustments to lighting a