reading average sensor value
basic command parsing