Processing Code for Active Building Sensor Network