Add temperature reading to gatherdata script