Closed benbowen closed 4 years ago
I also only get the last 10 days in the garmin_summary.db
, but garmin.db
contains all my data, from the specified starting date
I've tried a million various things and am looking for a new direction to pursue. I have data back to ~2016, but I am only getting June 4th until now in the database.
First is is the data downloaded? For example, do you files like this?
~/HealthData/FitFiles/Monitoring/2016/daily_summary_2016-12-19.json
for the earliest days you have data for? If not adjust the dates in the JSON you quoted and run make garmin
which runs:
$(TIME) $(PYTHON) garmin.py --all --download --import --analyze
they key is that that make target does not pass --latest to garmin.py so it should download all data from the date in the JSON config.
I also only get the last 10 days in the
garmin_summary.db
, butgarmin.db
contains all my data, from the specified starting date
Do you have other types of data but not daily monitoring data? The summary start date is based on the earliest date in the monitoring data. It's controlled from here: https://github.com/tcgoetz/GarminDB/blob/9337bb8dbdeb997a0d2afe3491382c5ff507821f/analyze_garmin.py#L319
@tcgoetz I mv'ed my HealthData folder and re-ran make create_dbs
with the develop branch (instead of the master branch as before). This time I got all dates in garmin_summary.db
as well. Maybe this was related to the multiple year issue that you fixed in https://github.com/tcgoetz/GarminDB/commit/c0af13d74e9168e2449bbd3dd6aa42ca054ff557.
This time I got all dates in
garmin_summary.db
as well.
That's great. I have a few more things to clean up and then I will do a merge to master and a new release.
@Grimler91 Would you mind giving me your data for the success stories wiki page? https://github.com/tcgoetz/GarminDB/wiki/Success-Stories
I was able to override the units of measurement thing in my other issue, but I can't seem to write to the database anything prior to the past 10 days or so.
I've tried a million various things and am looking for a new direction to pursue. I have data back to ~2016, but I am only getting June 4th until now in the database.