Closed LwsBtlr closed 2 years ago
@LwsBtlr - I just tried the process for Nest accounts and it still works fine.
The fact you're struggling with running Homebridge outside hb-service suggests maybe you have multiple copies of Homebridge installed and/or multiple configuration files and the config.json you're editing with the tokens isn't the one that Homebridge is picking up.
You say you've "checked" the token but you don't say if you went through the process to get a new one, although given you say it's been the same since 2013 it sounds like it's a very old token. So please replace it with a new one. Then make sure you're pasting it into config.json correctly, with no extraneous characters on either side. And then make sure the config.json you're editing is actually the one being used by Homebridge. The easiest way to do this is to intentionally add a syntax error into your config.json (e.g. put xyz123 at the beginning) and check that Homebridge then complains about it.
How would I replace the token with a new token? This is the token that IO get from Nest when following the directions to get a token. I am editing via the Homebridge web face (which still sees the wyze devices without problem).
That process should get you a new token. Every time you do it the token will change. Can you kindly copy and paste the Nest section of your config.json file here? Feel free to change a few letters in the token for your security (although given it doesn't work as is, probably not needed) but please leave the structure/beginning/end unchanged.
And now, after removing the plugin and adding it again (third time is the charm?) It finally shows the thermostats, eco mode, and fans. Same token. ¯_(ツ)_/¯.
Describe the bug Nest Thermostats are not showing up in Homebridge (or Home app)
To Reproduce Steps to reproduce the behavior:
Expected behavior Nest thermostats show up in Homebridge status and Home app
Include with your bug report this version info:
I have verified the token again, though it has not changed. I also removed the puling entirely and readied it, no change.
Nest plugin updated as of today to 4.6.5.
I am using hb-service to start and stop homebridge. If I run it manually with sudo, I get various errors (dreaded path error) and homebridge does not launch, but it launches and runs fine via hb-server.
the hb-service logs show:
[2/26/2022, 10:55:58 AM] Homebridge v1.4.0 (HAP v0.10.0) (Homebridge 73CD) is running on port 51274. [2/26/2022, 10:55:58 AM] [Nest] Auth failed: access token specified in Homebridge configuration rejected [2/26/2022, 10:55:58 AM] [Nest] Unable to authenticate with Google/Nest. [2/26/2022, 10:55:58 AM] [Nest] NOTE: Because we couldn't connect to the Nest service, your Nest devices in HomeKit will not be responsive.
But the token has been checked and rechecked with Nest per instructions. it starts b.458… if that is useful, and it’s been the same since 2013.