use other two api for sensor reading