You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have managed to generate a Master Token using the docker container, But the script also returned "could not get access token"
As a access token wasn't mentioned on the setup readme I copied the master token into the integration setup and it seemed to save. But no devices/entities showed up :(
2024-05-06 14:13:45.915 ERROR (SyncWorker_1) [glocaltokens.client] [!] Could not get access token.
This error originated from a custom integration.
Logger: glocaltokens.client
Source: custom_components/google_home/api.py:99
integration: Google Home (documentation, issues)
First occurred: 14:03:28 (2 occurrences)
Last logged: 14:03:37
[!] Could not get access token.
The text was updated successfully, but these errors were encountered:
Google Workplace account probably have different authentication process. Can you register normal Google account and invite it to your Google Home? Then you should be able to login with it.
So yea, this works. For anyone stupid as me, trying to get this to work for a year, every other month, this is how it works:
You download docker desktop for windows
Restart, this and that, default setup (for me it didnt start the engine after restart, had to restart again)
after you start docker desktop, you open the terminal (bottom right corner). (I had to enable the terminal first, easy button click in the upcoming window)
Copy paste docker run -it --name ha-google-get-token breph/ha-google-home_get-token /bin/bash and hit enter and let it do its thing (download and stuff)
type python3 get_tokens.py
Enter your google mail with @gmail.com
create a App Password (my default password did not work) at https://myaccount.google.com/apppasswords. Name does not matter
Copy the password to an editor, remove the spaces, copy it into the docker command line where it asks for the password
Copy the generated master token in an editor again, remove the "new line" so the token is in one line.
Now you have a working master token. Use it in the google home config together with your username (again with @gmail.com... why they call it username in the first place?)
Describe the bug
I have managed to generate a Master Token using the docker container, But the script also returned "could not get access token"
As a access token wasn't mentioned on the setup readme I copied the master token into the integration setup and it seemed to save. But no devices/entities showed up :(
I'm using a Google Workspace account
Any help would be amazing!
Version of the integration
If you are unsure about the version check the github release here.
Logs
The text was updated successfully, but these errors were encountered: