Export from Huawei Watch GT to GPX file

The following script will convert any HiTrack file from Huawei watch GT into a STRAVA readable GPX file.

Before converting, it's necessary to ensure to have all needed packages by running the command:

pip3 install -r requirements.txt:

where the requirements are:

1
2
3
4
5
6
numpy==1.16.3
pandas==0.24.2
pkg-resources==0.0.0
python-dateutil==2.8.0
pytz==2019.1
six==1.12.0

The tool runs on the command line, without arguments. Every HiTrack files present in the same folder than the scrip will be processed and transformed in a GPX file renamed with this rule:

ddmmyyyy_hhmmss_hhmmss.gpx

where the two hours are the start and the end times of exercice.

Other command line arguments: -d or --debug : for debugging, allows to see more informations during process.