Custom Filtering Sensor Data