Coder Social home page Coder Social logo

No Sleep, Weight, RHR data about garmindb HOT 12 CLOSED

tcgoetz avatar tcgoetz commented on July 17, 2024
No Sleep, Weight, RHR data

from garmindb.

Comments (12)

tcgoetz avatar tcgoetz commented on July 17, 2024

Can you run bugreport.sh and send me the zip it creates?

from garmindb.

christian-ho avatar christian-ho commented on July 17, 2024

I think there is a problem with your bugreport.sh, as ${PYTHON} garmin.py --version >> ${BUGREPORT} overwrites the garmin.log file, or is this an intended behavior?

bugreport_1574927121.zip

from garmindb.

christian-ho avatar christian-ho commented on July 17, 2024

I just made another run for a complete log file:
garmin.zip

from garmindb.

tcgoetz avatar tcgoetz commented on July 17, 2024

Thanks for the bug report. I think I fixed it. Give it a try and let me know.

from garmindb.

christian-ho avatar christian-ho commented on July 17, 2024

Many thanks, data is created as expected again.

There is however, a 404 HTTP error concerning sleep data, the sleep json files look like this:

{"message": "HTTP 404 Not Found", "error": "NotFoundException"}

from garmindb.

tcgoetz avatar tcgoetz commented on July 17, 2024

Please update to the latest and send me a log file if you can reproduce it. Thanks!

from garmindb.

christian-ho avatar christian-ho commented on July 17, 2024

Now i'm getting the following exception when trying to download sleep data:

./garmin.py --sleep --download --import --analyze --overwrite
Traceback (most recent call last):
File "/home/christian/Projekte/GarminDB/utilities/rest_client.py", line 105, in get response.raise_for_status()
File "/home/christian/.local/lib/python3.6/site-packages/requests/models.py", line 940, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://connect.garmin.com/modern/proxy/wellness-service/wellnessproxy/dailySleepData/6f5b0849-0dd4-4318-8547-a4134b12bfad?date=2019-07-13

from garmindb.

tcgoetz avatar tcgoetz commented on July 17, 2024

Fixed. Please try again.

from garmindb.

christian-ho avatar christian-ho commented on July 17, 2024

Thanks for your quick fix, Tom, now it's working.

Btw ... any plans on including hydration data?

from garmindb.

tcgoetz avatar tcgoetz commented on July 17, 2024

I haven't looked ta hydration data yet, but I can probably do it. Would the daily summary for hydration be enough?

from garmindb.

christian-ho avatar christian-ho commented on July 17, 2024

As there isn't really much to look at, that would be enough for me. 👍

from garmindb.

tcgoetz avatar tcgoetz commented on July 17, 2024

Can you file a new issue requesting the hydration support? I'm going to close this issue as fixed.

from garmindb.

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.