Sensor services for buildings: A framework and opportunities