GarminDB icon indicating copy to clipboard operation
GarminDB copied to clipboard

Garmin Servers down, import local?

Open EmptySoft opened this issue 5 years ago • 7 comments

Is it possibile to import the fit files directly from the watch to the DB?

garmin.py --copy

copies the settings to the HealthData/FitFiles. But what have i to do next?

EmptySoft avatar Jul 25 '20 16:07 EmptySoft

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 --all --copy --import --analyze --latest.

tcgoetz avatar Jul 25 '20 19:07 tcgoetz

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.

tcgoetz avatar Jul 25 '20 19:07 tcgoetz

Hi Tom.!

Thank you so much for your help. when i set mount_dir to /srv/www/htdocs/nextcloud/data/harald/files/GARMIN it looks for /srv/www/htdocs/nextcloud/data/harald/files/garmin/garmin/settings (2 times garmin) OK, i change to /srv/www/htdocs/nextcloud/data/harald/files Thats OK. But now my Problem, on the Watch (Garmin Fexnix 3 hr) all Files are uppercase, your code looking for lowercase. Is my watch different? My system running Linux

EmptySoft avatar Jul 26 '20 04:07 EmptySoft

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?

tcgoetz avatar Jul 26 '20 15:07 tcgoetz

This Dir is an Sync from my Laptop (running Linux) via Nextcloud to my Server, also running on Linux. But the Files on my Fenix 3 HR are in Uppercase. At this time i wrote a small script to transform the Files from uppercase to lowercase

EmptySoft avatar Jul 26 '20 18:07 EmptySoft

@EmptySoft did you have to make some configuring to mount the watch?

I have so far been unable to access my forerunner 945 on archlinux and have been tinkering with blacklisting the garmin_gps kernel module and adding udev rules as suggested on this page, but so far without success.

With linux distro are you using?

Grimler91 avatar Aug 02 '20 19:08 Grimler91

I am running SuSE Linix (15.2). There are no configurations at the watch or the OS, only connect the Watch (Garmin Fenix 3 HR), choose use USB at the watch and mount it via connected devices on the KDE

EmptySoft avatar Aug 03 '20 04:08 EmptySoft

Closing as old.

tcgoetz avatar Nov 04 '23 01:11 tcgoetz