-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issues issuing new token for homebridge nest - HELP #191
Comments
You can’t use random token! |
After you add token you don’t need clientid, clientsecrete, code, username and password. |
I failed to mention I am running this on Windows 10 (I don’t wan to spin up a VM or pull out the Mac mini for this. AND when I try without the token part it says the same bit. I am using the login from nest.com the same one to login and see my cameras/thermostat. My overall goal |
Did you make the app in nest developed account? |
Go to https://developer.nest.com |
Yes, I made a nest developer account and followed those directions. I will try this morning to re-create a new project and see what happens. |
Even after I uninstalled homebridge and homebridge-nest AND re-created my developer Oauth Client it still gives me the same error even on first run. |
I figured it out!!! Its all in the details... "ClientID": "a5942013-3580-473e-b1d7-XXXXXXXXXXXX", ClientID, ClientSecret, and Code need to be. clientId, clientSecret and code apparently the uppercase kills it.. SOOOOO it now works! |
cool! please close the issue |
HELP!!! I have been at this for HOURS with no success...
Here is my config.json file however when I run homebridge it gives me this!
If I put a random "token" in from the internet it works except all of my nest products do not respond and they are "offline"
Even if i take out "token, clientID, ClientSecret, Code" it still gives me the same error.. PLEASE HELP ME
{
"bridge": {
"username": "CC:22:33:XX:XX:XX",
"name": "Homebridge2",
"port": "51826",
"pin": "521-XX-XXX"
},
"platforms": [{
"platform": "Nest",
"token": "",
"ClientID": "a5942013-3580-473e-b1d7-XXXXXXXXXXXX",
"ClientSecret": "1FAgafFh3XKXXXXXXXXXXXXXX",
"Code": "XXXXXXXX",
"username": "Username",
"password": "Password"
}]
}
Error from HomeBridge Run:
C:\Users\User>homebridge
[2018-7-3 01:17:51] Loaded config.json with 0 accessories and 1 platforms.
[2018-7-3 01:17:51] ---
[2018-7-3 01:17:51] Loaded plugin: homebridge-nest
[2018-7-3 01:17:51] Registering platform 'homebridge-nest.Nest'
[2018-7-3 01:17:51] ---
[2018-7-3 01:17:51] Loading 1 platforms...
[2018-7-3 01:17:51] [Nest] Initializing Nest platform...
[2018-7-3 01:17:51] [Nest] Fetching Nest devices.
[2018-7-3 01:17:51] [Nest] Error: You did not specify {'token'} or {'clientId','clientSecret','code'}, one set of which is required for the new API
at C:\Users\User\AppData\Roaming\npm\node_modules\homebridge-nest\index.js:188:14
at Promise._execute (C:\Users\User\AppData\Roaming\npm\node_modules\homebridge-nest\node_modules\bluebird\js\release\debuggability.js:303:9)
at Promise._resolveFromExecutor (C:\Users\User\AppData\Roaming\npm\node_modules\homebridge-nest\node_modules\bluebird\js\release\promise.js:483:18)
at new Promise (C:\Users\User\AppData\Roaming\npm\node_modules\homebridge-nest\node_modules\bluebird\js\release\promise.js:79:10)
at setupConnection (C:\Users\User\AppData\Roaming\npm\node_modules\homebridge-nest\index.js:172:10)
at NestPlatform.accessories (C:\Users\User\AppData\Roaming\npm\node_modules\homebridge-nest\index.js:256:5)
at Server._loadPlatformAccessories (C:\Users\User\AppData\Roaming\npm\node_modules\homebridge\lib\server.js:385:20)
at Server._loadPlatforms (C:\Users\User\AppData\Roaming\npm\node_modules\homebridge\lib\server.js:329:16)
at Server.run (C:\Users\User\AppData\Roaming\npm\node_modules\homebridge\lib\server.js:85:36)
at module.exports (C:\Users\User\AppData\Roaming\npm\node_modules\homebridge\lib\cli.js:43:10)
at Object. (C:\Users\User\AppData\Roaming\npm\node_modules\homebridge\bin\homebridge:17:22)
at Module._compile (module.js:643:30)
at Object.Module._extensions..js (module.js:654:10)
at Module.load (module.js:556:32)
at tryModuleLoad (module.js:499:12)
at Function.Module._load (module.js:491:3)
at Function.Module.runMain (module.js:684:10)
at startup (bootstrap_node.js:187:16)
at bootstrap_node.js:608:3
The text was updated successfully, but these errors were encountered: