Smart monitoring for sustainable and energy-efficient buildings: a case study