glocaltokens
glocaltokens copied to clipboard
Cannot get master token
Describe the bug Hello following a new installation of home assistant on an RPI4, impossible to obtain the master token by following the procedure.
To Reproduce Steps to reproduce the behavior:
- After launching the order pip install glocaltokens I have this as a result Installing collected packages: ifaddr, zeroconf, urllib3, simplejson, pycryptodomex, protobuf, idna, grpcio, charset-normalizer, certifi, requests, ghome-foyer-api, gpsoauth, glocaltokens Successfully installed certifi-2024.7.4 charset-normalizer-3.3.2 ghome-foyer-api-1.0.0 glocaltokens-0.7.1 gpsoauth-1.1.1 grpcio-1.59.0 idna-3.7 ifaddr-0.2.0 protobuf-4.25.3 pycryptodomex-3.20.0 requests-2.32.3 simplejson-3.19.2 urllib3-1.26.19 zeroconf-0.132.2 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
2.After filling in the username fields with my gmail address and password with an application password I launched the command python3 get_tokens.py
- I have this as a result
➜ python3 get_tokens.py
ERROR:glocaltokens.client:[!] Could not get master token. [*] Master token None ERROR:glocaltokens.client:[!] Could not get master token.
[*] Access token (lives 1 hour) None
[*] Google devices local authentication tokens ERROR:glocaltokens.client:[!] Could not get master token. ERROR:glocaltokens.client:[!] Could not get master token. ERROR:glocaltokens.client:[!] Could not get master token.
I have 2 other instances of home assistant in 2 different houses of my family and the google_home application has worked perfectly for years.
And it is possible that a new installation of HA does not contain all the necessary components to find the master token. And the file "get_tokens.py" doesn't import the missing one?