Git Product home page Git Product logo

Comments (6)

pkpio avatar pkpio commented on July 18, 2024

This error is on me. Heart rate data is set to seconds precision. So, there's a reading every 10-15 seconds. It never happened with my account but the error is because the app is sending all readings for a single day in one request.

from fitbit-googlefit.

pkpio avatar pkpio commented on July 18, 2024

I will look into splitting the requests. I you don't need such precision for heart rate, I would advice to decrease precision to 1 min.

from fitbit-googlefit.

pkpio avatar pkpio commented on July 18, 2024

You can do that here

Just change the value to '1min' instead of '1sec'. I will work on splitting the requests when the payload is too large. Didn't think it would be necessary.

On a different note, this is strange because, I synced up data for over 1.5 years (heart beat included) and never came across this!

from fitbit-googlefit.

rickysarraf avatar rickysarraf commented on July 18, 2024

That finally worked. Thank you very much for your immediate response, and also for creating this tool.

rrs@learner:/var/tmp/lxc/fitbit-googlefit (master)$ python3 app.py 
------------------------------   2016-08-16  -------------------------
synced steps
synced distance
synced heart_rate
synced weight
synced calories

------------------------------   2016-08-17  -------------------------
synced steps
synced distance
synced heart_rate
synced weight
synced calories

Synced 4 activities : 2016-08-17 -- 2016-08-18

2016-08-18 / 15:34:48 ♒♒♒  ☺  

from fitbit-googlefit.

pkpio avatar pkpio commented on July 18, 2024

Glad to see this. Thanks for working through all the issues patiently and reporting them back. Issue #1 is a bit baffling at the moment but I will fix all them soon.

from fitbit-googlefit.

pkpio avatar pkpio commented on July 18, 2024

@rickysarraf , Now you should be able to sync your heart rate with full granularity.

from fitbit-googlefit.

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.