Data Interpretation Algorithms For Sensor Networks In Buildings