wip: need to separate device data from sensor data.