homebridge-nest
homebridge-nest copied to clipboard
Celsius decimal places
I have a Nest set to Celsius and I’m unable to use homebridge and Apple’s home app to adjust the temperature in .5 increments (this is possible the Nest app). At present, everything is rounded up when controlling and displaying temperature. For example, the current temperature is set to 19.5 but it is displayed at 20. The actual temperature is 20.5 but it is displayed at 21.
As I imagine most of the developers are American, was the need for decimal places overlooked or am I missing something? .5 have a degree is a big deal in Celsius.
try using my fork, it has a lot of fixes from people merged in, along with °C fixes (not sure they address what you are seeing though): npm install -g "https://github.com/chrisjshull/homebridge-nest"
Also, was the Nest in °F when you first set up Homebridge / Home?
Thanks! This looks to be just the fix I need. I didn’t have my Nest set to Fahrenheit when I setup Homebridge.
Unfortunately, after trying to install this I’m getting the following errors:
npm ERR! code 128 npm ERR! Command failed: /usr/bin/git clone -q https://github.com/chrisjshull/homebridge-nest.git /root/.npm/_cacache/tmp/git-clone-344f28c5 npm ERR! fatal: could not create leading directories of '/root/.npm/_cacache/tmp/git-clone-344f28c5': Permission denied
I’m already using sudo. Any thoughts?
@chrisjshull Thanks for keeping the plugin up-to-date! I’m I’d definitely like to run your forked version but how I’m running Homebridge is through Home Assistant (via Hassio). My understanding is I can only install plugins that are listed on npmjs.com but I don’t see your forked version of this plugin when I search for “homebridge-nest” (there’s about 6 other versions though). Any chance your version will be listed on NPM soon?
On a side note, any idea what happened to @KraigM? I’m assuming no one can update this “homebridge-nest” plugin hence all the forked versions?
@shred86 @Hpridham git clone https://github.com/chrisjshull/homebridge-nest directly in your global node_modules directory. I used nodesource distribution so it would be under /usr/lib/node_modules. Afterward, cd into the directory and do a sudo npm install.
Thanks for the info. Unfortunately, I can’t use the terminal to install anything. I’m running Home Assistant via Hassio, which is basically resinOS running Home Assistant in a docker that doesn’t allow you to have true “root” access, or really any access to anything other than the Home Assistant configuration files. Basically, any Homebridge plugin needs to be listed on NPM in order for me to be able to install it...
@shred86, I'm not sure what happened to @KraigM. I'll look into publishing to npm soon (but I'm on vacation for a few weeks). Will let you know when there's something to know. ;)
Thanks for the help @zllovesuki. I got it installed. Unfortunately, it doesn't address the .5 degree issue. However, now I have fan control.
Perhaps I did the install wrong? I deleted the old homebridge-nest plugin folder before cloning this plugin, rather than performing an uninstall...
Rats. Well, I've put my nest and phone into °C mode, and I too am seeing this issue. Not sure why. Oddly, third party apps seem to handle this better: https://itunes.apple.com/us/app/idevices-connected/id682656390?mt=8. I can also tell Siri "Set the temperature to 19.5°C" and the correct temperature is set on the Nest (but shown wrong in Home). Part of me wonders if Apple has a bug here.
@chrisjshull I am new to using Homebridge but have my nest products working fine in HomeKit using the KraigM version. To use your new fork version, do I just install it as mentioned above and it “updates” or “overwrites” my current version, or do I have to uninstall the KraigM version first? Also, in HomeKit do I have to delete the Homebridge accessory and re add it for HomeKit to see the nest devices updated? Thank you.
@chrisjshull clearly the developer(s) at Apple who work on Home.app don't speak Celsius very well... It's a minor annoyance right now that it doesn't show the .5 in the app, but the thermostat is fine.
@jbixby11
- Shutdown your
homebridgeinstance - Remove the KraigM version with
sudo npm remove -g homebridge-nest sudo git clone https://github.com/chrisjshull/homebridge-nestdirectly in your globalnode_modulesdirectory. I used nodesource distribution so it would be under/usr/lib/node_modules- cd into
node_modules, and do asudo npm install - Start
homebridgeagain. Your config should still work.
@zllovesuki
Ok, dumb newbie question, in line 4 when you say sudo npm install, I also add Homebridge-nest to the end of that line?
@jbixby11 No, just npm install
Thank you all. Got the new fork installed. Works great. I especially like that the AUTO function allows changing upper and lower temps.
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.
... If you've been using the fork via URL, simply do npm install -g homebridge-nest.