change motion sensor data to use aggregation