- 1. Official Guidance
- 2. Open Source Tools
- 3. Store + Fetch: Garmin Grafana
- 4. Exporting Data from Huawei Health
- 5. Scripts
1. Official Guidance Link to heading
https://support.garmin.com/zh-CN/?faq=W1TvTPW8JZ6LfJSfK512Q8
- mouse clicks
- You can export a CSV of all activities (“Activities” - “All Activities”, scroll down until everything loads, then “Export to CSV” in the top-right corner)
- You can export reports, but only one type at a time, up to a year at most. The CSV content is minimal, WYSIWYG from the web page
- How do you get the detailed data? Is all of it covered by activities.csv?
2. Open Source Tools Link to heading
docker container: fetch & store data
local infulxdb database, with appealing Grafana visualization
- fancy dashborads
Dependencies Link to heading
- python-garminconnect by cyberjunky : Garmin Web API wrapper
- garth by martin : Used for Garmin SSO Authentication
- python + SQLite
- 2.5k stars (the most)
- Garmin SSO auth + Connect Python client
- download data and analyze in Google Colab (beautiful graphs)
- phylosophy: your data is your data
- full api wrapper, same as gonnect webgg
- device / activity / health data
- authentication the same method as garth
- simulate web browser cookies, thus not reliable
- get CSV and GPX data for activities (the latest one or all), unit and some columns could be confusing
- updated 10 years ago
3. Store + Fetch: Garmin Grafana Link to heading
- Project: https://github.com/arpanghosh8453/garmin-grafana
- Runtime: Docker
cd ~/docker/
git clone https://github.com/arpanghosh8453/garmin-grafana.git garmin-grafana
cd garmin-grafana && sudo bash ./easy-install.sh
# donnot enter email and password (if in CN), exit and edit compose.yml file,
# set GARMINCONNECT_IS_CN=True, then continue the following commands:
docker compose run --rm -e MANUAL_START_DATE=2024-05-13 garmin-fetch-data
docker compose up -d
docker compose logs --follow
4. Exporting Data from Huawei Health Link to heading
https://www.bilibili.com/video/BV1rQ4y1w7UF/?vd_source=9faabb7c73a4cb27fabbc5b53aeefb58
https://github.com/CTHRU/Hitrava