djtimca / hagooglewifi

Home Assistant integration for Google Wifi systems.
Apache License 2.0
79 stars 26 forks source link

Where to enter refresh token in HAOS HACS ? #77

Open styelz opened 2 years ago

styelz commented 2 years ago

I installed this plugin today using HAOS 2022.8.1 and restarted but I cannot find anywhere to enter the refresh token and was not asked to enter a refresh token at any time during the process. The only thing I can see in HAOS entities is "Google WiFi update" for HACS.

Am I doing it wrong ?

JakeDruett commented 2 years ago

The refresh token could be entered for me after searching for and selecting the Google Wifi integration under the "+ Add Integration" menu under Devices & Services.

If you get the "[%key:common::config_flow::error::cannot_connect%]" error like I did, reboot HA and make sure you're entering the refresh token generated by the "_Your refreshtoken" box that appears on the "https://www.angelod.com/onhubauthtool/" website after clicking the "_Get refreshtoken" _(not the raw oauthcode cookie contents)

edit: _Forgot to mention that the "Your refreshtoken" box would only appear for me when using Google Chrome.