I am having arduino uno and DHT11 temperature sensor. I am basically planning to make event based system. Example if first it reads temperature 23 degree then it sends to server. Then if temperature is not changing at least 10% threshold value, I want NOT TO SEND the data. My requirement; In this time I want arduino to sleep down and if temperature changes I will wake up my arduino.
Is it possible? I want small sample code.