Only parse valid commands from Arduino