-
Notifications
You must be signed in to change notification settings - Fork 21
Error: Invalid response 400. Error: invalid_scope #15
Comments
This is the error in the homeassistant.log:
|
Hi - this is the problem discussed in #13 and other issues and is related to the new scopes and additional protection that Google have added around personal health data I have posted a standalone python routine in that discussion to create the required google fit token file. (As this starts an interactive browser it would be difficult to incorporate within the sensor routine) |
@astronaut63 is this used to run as https://www.home-assistant.io/integrations/python_script/ ? |
@firstchair No it just runs on your desktop (in a python environment) |
Yep, found that out. Managed to do it with "python3 script_google_fit.py --noauth_local_webserver". Didn't managed to get it up running tough, also never had the add-on running before. |
@astronaut63 can you give some guidance on how I can run the py apps on mac? want to generate the token but so far unable to do that.
I'm no python programmer so unsure.. I know need the module, but doesn't seems to run. |
pip install --upgrade oauth2client google-api-python-client |
I have the same issue ! and i cut after it work but not show heartrate and token use 1 hour not update |
My sensor updated only during HA restarting. is it possible to make updating by automation? Thanks |
everything works now. just had to go to my google account remove access from home assistant, reauthenticate and finally getting all the sleep data + token doesnt expire |
With this intergation https://github.com/vmanuel/hacs-google-fit ?? How many days is the token already? |
Did you run any of the Python scripts mentioned previously? |
I have not maintained this repository for a long time. I think the HACS from https://github.com/YorkshireIoT/ha-google-fit is perfect |
Hi, first of all thank you for this nice addon!
I have followed your guide to setup google fit, but i get the following error:
I can read the google calendar, and the google fit api is enabled.
Do i miss something ?
The text was updated successfully, but these errors were encountered: