homebridge-nest
homebridge-nest copied to clipboard
Fix Nest not responding when it has been set to away mode manually
Fixes #75
If I try and change the temperature by the slider, it seems to set it, get no response back, and then seems to set it back to what it was before:
[9/16/2016, 6:09:57 PM] Target temperature for Living Room Thermostat is: 30 C [9/16/2016, 6:09:57 PM] Target temperature for Living Room Thermostat is: 19 C
This only happened when it was set to away.
The issue here is that the Nest will only allow you to change temperature when it's not in away mode, so we have to make sure it is not.
This only used to be done when it was set to auto-away, but since I (and others) set the away mode through the API or manually set the device to away, this breaks controlling the Nest through homekit.
After some local testing it looks like the first request still fails, because homebridge-nest doesn't wait for the "set to home" request to complete. Looking into a fix.
Great news! I have taken up maintenance of the homebridge-nest plugin in npm. The source code now lives at https://github.com/chrisjshull/homebridge-nest/. To update to the latest version of homebridge-nest, simply run npm update -g homebridge-nest.
I believe I've fixed this issue in that repo. If not, please submit a new issue/PR there.