Coder Social home page Coder Social logo

Comments (7)

syphernl avatar syphernl commented on June 8, 2024 3

ISTM that this integration needs to have additional scopes added to be able to read this data:

I tried to add these to my fork, this seems to be failing because of:

Error: Invalid response 400. Error: invalid_scope
You will need to restart hass after fixing.

Either way I was able to get it to work again using this: https://community.home-assistant.io/t/google-fit-support/4556/182

With the file it generated I can now see my sleep data + heartrate data again in HomeAssistant without any other code changes needed to this integration.

According to that particular thread it is supposedly not possible to use the code authentication with these sensitive scopes.
In another fork of this there is a discussion about how to fix this: vmanuel/hacs-google-fit#13.
The http 400 is also being mentioned/debugged here: vmanuel/hacs-google-fit#15

TLDR: This integration needs some changes for it to work. Using the mentioned HASS Community link you can generate a working .google_fit.token file that makes heartrate and sleep tracking work again.

from home-assistant-google_fit.

sharoltd avatar sharoltd commented on June 8, 2024

Hello to all! Did someone solve the problem with HeartRate and Sleep sensors? Is there a working solution?
Thanks!

from home-assistant-google_fit.

cyberjunky avatar cyberjunky commented on June 8, 2024

Can you try version 1.0.7?
I added the scopes and it kept working, i have no heart/sleep data to test with.

from home-assistant-google_fit.

syphernl avatar syphernl commented on June 8, 2024

Can you try version 1.0.7?
I added the scopes and it kept working, i have no heart/sleep data to test with.

Everything shows up fine here 👍🏻

from home-assistant-google_fit.

cyberjunky avatar cyberjunky commented on June 8, 2024

@syphernl including sleep and heart rate?
I can't get it to work when i create manual sleep sessions

from home-assistant-google_fit.

syphernl avatar syphernl commented on June 8, 2024

@syphernl including sleep and heart rate? I can't get it to work when i create manual sleep sessions

Yes, I see both my heartrate and sleep duration as reported to Google Fit via Zepp Life (previously Mi Fit).

from home-assistant-google_fit.

sharoltd avatar sharoltd commented on June 8, 2024

Try to install it again. Have error:
Error: Invalid response 400. Error: invalid_scope
after reload HA. ((

from home-assistant-google_fit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.