Closed Himola closed 2 years ago
Google uses popups, you might have to disable your popup blocker or add an exception.
I tried everything and I could not make it work. Is there any other way? In Homebridge there is an option to add Goggle refresh Token....it works... how about in Hoobs?
--
Robert PETRACHE
------ Original Message ------ From: "Michael Kellsy" @.> To: "hoobs-org/HOOBS" @.> Cc: "Himola" @.>; "Author" @.> Sent: 12/04/2021 5:25:23 PM Subject: Re: [hoobs-org/HOOBS] Nest Link account (Issue #1683)
Google uses popups, you might have to disable your popup blocker or add an exception.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/hoobs-org/HOOBS/issues/1683#issuecomment-986044928, or unsubscribe https://github.com/notifications/unsubscribe-auth/APIZRVBHDG3N5D4ZPWCRFODUPIXGHANCNFSM5JKQXBKA. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
Just open the terminal and run the command from the readme. https://github.com/chrisjshull/homebridge-nest
You can manually edit the config, go to the Next tab in the Config and click the Advanced button.
i tried that already....in advanced tab it doesn;t save the token.
--
Robert PETRACHE
------ Original Message ------ From: "Michael Kellsy" @.> To: "hoobs-org/HOOBS" @.> Cc: "Himola" @.>; "Author" @.> Sent: 12/04/2021 11:59:06 PM Subject: Re: [hoobs-org/HOOBS] Nest Link account (Issue #1683)
Just open the terminal and run the command from the readme. https://github.com/chrisjshull/homebridge-nest
You can manually edit the config, go to the Next tab in the Config and click the Advanced button.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/hoobs-org/HOOBS/issues/1683#issuecomment-986099282, or unsubscribe https://github.com/notifications/unsubscribe-auth/APIZRVGWIFUCC2X2SDFK7PLUPKFKVANCNFSM5JKQXBKA. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
Can you post the config you are trying to save. Replace the token with ***
{ "accessories": [], "platforms": [ { "platform": "Nest" "refreshToken": "xxx" } ] }
--
Robert PETRACHE
------ Original Message ------ From: "Michael Kellsy" @.> To: "hoobs-org/HOOBS" @.> Cc: "Himola" @.>; "Author" @.> Sent: 12/06/2021 2:30:27 AM Subject: Re: [hoobs-org/HOOBS] Nest Link account (Issue #1683)
Can you post the config you are trying to save. Replace the token with
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/hoobs-org/HOOBS/issues/1683#issuecomment-986336260, or unsubscribe https://github.com/notifications/unsubscribe-auth/APIZRVAPYGPZFOUCR3HW6T3UPP72HANCNFSM5JKQXBKA. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
Your JSON is missing a comma after "platform": "Nest".
{
"accessories": [],
"platforms": [
{
"platform": "Nest",
"refreshToken": "xxx"
}
]
}
If you click the Advanced button inside the Nest plugin on the Config screen the JSON will be this.
{
"platform": "Nest",
"refreshToken": "xxx"
}
ok, now it was possible to save but I have this error in logs:
12/7/2021, 6:01:05 PMNest Bridge starting 12/7/2021, 6:01:08 PMNest BridgeLoaded plugin 'homebridge-nest' 12/7/2021, 6:01:08 PMNest BridgeLoading 1 platforms... 12/7/2021, 6:01:08 PMNest BridgeNestFetching Nest devices. 12/7/2021, 6:01:08 PMNest BridgeBridge is running on port 52826. 12/7/2021, 6:01:08 PMNest BridgeNestERRORNOTE: Because we couldn't connect to the Nest service, your Nest devices in HomeKit will not be responsive. 12/7/2021, 6:01:08 PMNest BridgeNestERRORUnable to authenticate with Google/Nest. 12/7/2021, 6:01:08 PMNest BridgeNestERRORAccess token acquisition via googleAuth failed (code 400).
My config is noe like this:
{ "accessories": [], "platforms": [ { "platform": "Nest", "refreshToken": "xxx" } ] } Token was acquired by running: node login.js in /var/lib/hoobs/nestbridge/node_modules/homebridge-nest/ and following the provided link to get Google's token.
So, what's wrong now?
Thanks,
--
Robert PETRACHE
------ Original Message ------ From: "Michael Kellsy" @.> To: "hoobs-org/HOOBS" @.> Cc: "Himola" @.>; "Author" @.> Sent: 12/07/2021 5:51:07 PM Subject: Re: [hoobs-org/HOOBS] Nest Link account (Issue #1683)
Your JSON is missing a comma after "platform": "Nest.
{ "accessories": [], "platforms": [ { "platform": "Nest", "refreshToken": "xxx" } ] }
If you click the Advanced button inside the Nest plugin on the Config screen the JSON will be this.
{ "platform": "Nest", "refreshToken": "xxx" }
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/hoobs-org/HOOBS/issues/1683#issuecomment-988053009, or unsubscribe https://github.com/notifications/unsubscribe-auth/APIZRVFR73DSIZI6ZBDWVKDUPYUOXANCNFSM5JKQXBKA. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
Have you tried using the desktop app? https://support.hoobs.org/downloads/desktop
The Link Account button should work.
Well.....that turned out into another nightmare:
Robert PETRACHE
------ Original Message ------ From: "Michael Kellsy" @.> To: "hoobs-org/HOOBS" @.> Cc: "Himola" @.>; "Author" @.> Sent: 12/08/2021 2:35:39 AM Subject: Re: [hoobs-org/HOOBS] Nest Link account (Issue #1683)
Have you tried using the desktop app? https://support.hoobs.org/downloads/desktop
The Link Account button should work.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/hoobs-org/HOOBS/issues/1683#issuecomment-988378861, or unsubscribe https://github.com/notifications/unsubscribe-auth/APIZRVCNPC743CD4PFGYMQ3UP2R5XANCNFSM5JKQXBKA. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
Force Update hoobs to the latest with this command:
https://support.hoobs.org/topics/61c9df1fdcf29f5e39f02f34/61c9dfd0dcf29f5e39f030e3
And try again
Description Nest Bridge
Expected behavoir I'm in the plugin configuration interface where there is a button "Link account". After I click on it a popup page appears with this info:
Login to Nest First you will need to login to Google and get a one time access code. This will open a new dialog. When you see the screen above, copy the code and enter it the next step.
and a login button. I click on the login button and the same popup page turns into white page and nothing happens. I've tried different browsers, same result
Plugin name Nest Bridge
Please report the issue to the plugin developer We like to help the community, however, some issues are out of our control. Please report this to the plugin developer and include a link here.
Version 4.0.71
Did you upgrade Please let us know if you upgraded from a previous version.
Pervious version If you upgraded, please let us know your previous version.
Did you orginally upgrade to HOOBS 3 from HOOBS 2.1.1? Did you perform an upgrade from HOOBS 2.1.1? Some things are different.
What device are you using? Please let us know the device you are running HOOBS on.
If this is a custom install, what's your operating system? Raspberry Pi OS
Post your config
hoobs@hoobs:~ $ cat ~/.hoobs/etc/config.json cat: /home/hoobs/.hoobs/etc/config.json: No such file or directory hoobs@hoobs:~ $
Post your log You can get the log from the intercafe. This is in the Log section.
Additional context Add any other context about the problem here.