now makes api calls and uses an avearge of 1000 readings to calculate temp