New monitoring system paves way for energy-efficient buildings