This script uses the temperature of a DHT11 (or DHT22 for more precision.) to determine the current temperature. The DHT11 for instance should have 3 pins normally, 5V, GND and IO - the Data pin - ...