Tom Goetz
Tom Goetz
This make target does that: `copy_garmin_latest: $(TIME) $(PYTHON) garmin.py --all --copy --import --analyze --latest` You can use it by running `make copy_garmin_latest` or you can run it directly with `garmin.py...
You may need to change `"copy": { "mount_dir" : "/Volumes/GARMIN" },` in GarminConnectConfig.json if your watch is mounted at "/Volumes/GARMIN" when you plug it in.
Your watch is mounted at `/srv/www/htdocs/nextcloud/data/harald/files/GARMIN`? That looks like its in the tree of a webserver. What OS and setup is this?
You should rebuild the db with `garmindb_cli.py --rebuild_db` but I'm wondering why the table versioning didn't catch and warn for the need to rebuild the db.
I haven't tested local copy from watch to DB since I got a Fenix 6 which connects with MTP protocol. It's possible it isn't working anymore. What does the log...
Actually, I think I see the issue. It's currently only matching JSON sleep files during import. What are the FIT sleep files named? Can you give me some examples?
Depending on what the sleep FIt files are named, this might be a work around: `C:\Anaconda3\Scripts>python garmindb_cli.py --sleep --copy` followed by: `C:\Anaconda3\Scripts>python garmindb_cli.py --monitoring --import --analyze` Since I think the...
Sleep FIT files have the raw sleep levels at a point in time. It's a stream of sleep level and timestamp. From that you can construct the data in the...
Please test the develop branch. see the above new commit. Update and set the new config item "sleep_from_fit" to true then import sleep data and it will import from FIT...
Latest on develop has a better way to decide between getting sleep data from Garmin Connect and getting sleep data from FIT files. No config needed.