Parameter changes in parseCommand

also added a getter for ID to the sensors