I'm writing an app in node.js to control a Nest Thermostat and I'm having some problems. My first attempt was to repurpose the Nest provided app (https://github.com/nestlabs/control-jquery), but when I install it, it works fine to display temp, but when I click the temp up/down buttons nothing happens.
When I detach the temperature change function from the JQuery click event, and just run the function on load, Firebase responds with "FAILURE". Here's the error:
FIREBASE WARNING: set at /devices/thermostats/C8Wx6yQWsEhWa-k5ZWvRslx2bB6bvpId/target_temperature_f failed: failure
Any thoughts?