create new method to log sense data by external id instead of device_uuid.