This is a program we wrote to test out an algorithm for smart cooling of our house in Connecticut. It compares the desired temperature to the actual temperature and then decides whether we should use the windows, house fan, or air-conditioning to cool our home. We are planning to implement this using IFTTT, NEST, and WeMo devices in our actual house!!!!!
Thanks to @HenryCodes and @SophiaCodes for all the help getting this to work. Thanks to @scratchatmg for getting me interested in SCRATCH!!!!!