Replace 2 spaces to 4 spaces.
Define new struct to store and post the data of sensor.