Closed EmptySoft closed 9 months ago
To my part, i have 0 activity since severals weeks (at least 8 realized and visible in garmin's website)
Since version 3.5.0 the command
garmindb_cli.py --all --download --import --latest
no more data of the current day is downloaded.
Yes, getting the current day's data is problematic since it can be incomplete. Once you've fetched incomplete data how do you know it's incomplete? How do you handle stats in the DB when you have incomplete data? Also when you request data for a date and there is no data for that date yet (maybe you haven't synced any data for that date yet?), you can get a 404.
To my part, i have 0 activity since severals weeks (at least 8 realized and visible in garmin's website)
You mean no activity files are being downloaded? Are you on version 3.5.0? If so, please file a separate bug.
My Garmin account even got locked running it, resulting in an assertion error. I had to reset my password
Since version 3.5.0 the command
garmindb_cli.py --all --download --import --latest
no more data of the current day is downloaded.Yes, getting the current day's data is problematic since it can be incomplete. Once you've fetched incomplete data how do you know it's incomplete? How do you handle stats in the DB when you have incomplete data? Also when you request data for a date and there is no data for that date yet (maybe you haven't synced any data for that date yet?), you can get a 404.
I poll the data several times a day and the values are overridden with the new values (has always worked for me). I continue to work with the daily data in another program and there I need the current data.
Hi Tom.!
Sorry, I'm not that familiar with github. Does the message mean that you made a change in the develop branch that retrieves the today data?
Does the message mean that you made a change in the develop branch that retrieves the today data?
Yes
Hi Tom.!
I have removed all old GarminDB Versions, istalled from github the development branch, dann a make setup, but i got only the data for yesterday
harald@kalymnos:~/bin> /usr/bin/garmindb_cli.py -v /usr/bin/garmindb_cli.py 1...1...0
Downloading latest monitoring data from: 2023-10-15 23:59:00 Overwriting /home/harald/HealthData/FitFiles/Monitoring/2023/daily_summary_2023-10-15.json Overwriting /home/harald/HealthData/FitFiles/Monitoring/2023/hydration_2023-10-15.json Saving /tmp/tmpqsmnuib8/2023-10-15.zip Downloading latest sleep data from: 2023-10-15 Overwriting /home/harald/HealthData/Sleep/sleep_2023-10-15.json Downloading latest rhr data from: 2023-10-15 Overwriting /home/harald/HealthData/RHR/rhr_2023-10-15.json ___Importing Latest Data___
Please retry with 3.5.1+.
Since version 3.5.0 the command
garmindb_cli.py --all --download --import --latest
no more data of the current day is downloaded. The data of the previous days work fine. Is it possible to get the data of the current day again?