APEX and the Nest Thermostat