Parse sensor data correctly