Sensor ID & Invalid readings

Define sensor ID as variable.
Discard invalid readings