A thermostat for the iPod generation