Skip to content

Releases: CTHRU/Hitrava

Version 3.3.2

15 May 13:41
a8c137d

Choose a tag to compare

Solved Issues

  • ZIP conversion: conversion no longer stops with an error when an activity with an unknown activity type is encountered. This version will display a warning message when encountering such activities and will attempt conversion.
    You are encouraged to check the conversion result of these activities and report any conversion errors that might occur. Closes #11.

Known Limitations

  • The following activity types are known to produce unreliable conversion data and will be skipped (for now):
    • Indoor Cycle
    • Cross Trainer
    • Other
    • CrossFit

Version 3.3.1

05 May 14:18
38babd5

Choose a tag to compare

New features and changes

  • ZIP conversion: Added 3 digit sequence number suffix to the filenames of the converted TCX files. This allows for easier manual selection per 25 (Strava upload limit) when uploading the TCX files to Strava. Thank you for the suggestion in #9.
  • ZIP conversion: Added a new command line argument --suppress_output_file_sequence to suppress the sequence numbers in the TCX filenames.

Version 3.3.0

02 May 17:08
010ab18

Choose a tag to compare

New features and changes

  • ZIP conversion: Pool Swim activities are directly detected from the Huawei data.
  • ZIP conversion: Pool Swim activities are converted directly from the specific Huawei data for this activity type, instead of the generic activity (HiTrack) data. This guarantees a 100% correct conversion of the pool swim data (the previous conversion method sometimes needed to rely on calculations).

Solved Issues

  • ZIP conversion: The new method to convert Pool Swim activities ensures the 'division by zero' won't occur anymore. Closes #8.

Known Limitations

  • Huawei might have made changes to / might not maintain the generic (HiTrack) data for Pool Swim activities. Users using the legacy HiTrack File or Tar conversion methods for Pool Swim activities, might notice differences in laps / times / distances or even get an error (see also #8). The legacy conversion method for swimming activities will no longer be maintained. You are encouraged to use the ZIP or JSON conversion method for Pool Swim activities.

Version 3.2.7

23 Apr 11:31
381f3f3

Choose a tag to compare

New features and changes

  • ZIP conversion: added support for 'Indoor Run' activity types. Indoor Run activities are uploaded to Strava as regular run activities (no specific activity type available for indoor run via file upload). Closes #7.

Solved Issues

  • ZIP conversion: the filename of all generated files now contains the time zone aware local time from when the activity took place.

Version 3.2.6

18 Apr 08:20
1fb7680

Choose a tag to compare

Solved Issues

  • ZIP conversion: added support for the new folder structure of the Huawei Health ZIP files. See also #7.
  • ZIP and JSON conversion: solved an issue that caused Hitrava to error out for activities without a 'wearSportData'
    section. See also #7.
  • ZIP and JSON conversion: activities of known unsupported (JSON) activity types will be skipped instead of stopping Hitrava with an error. A warning message is logged during parsing of the JSON data to inform you. See also #7.

Known Limitations

  • Activities with activity type '101' in the JSON data are currently (unknown and) unsupported.

Version 3.2.5

11 Apr 09:45
b999ad6

Choose a tag to compare

New features and changes

  • ZIP and JSON conversion: Running and hiking activity types are now directly detected from the Huawei data.
  • Strava TCX: Hiking activities are generated with the corresponding Strava activity type. You don't need to manually adjust the activity type for hiking activities in Strava after upload. See also #2.

Version 3.2.4

11 Mar 11:22
6cc723a

Choose a tag to compare

Solved issues

  • Calories burned information was wrong for (non-swimming) activities with more than 1 segment/lap (e.g. when activity was paused or GPS loss occurred during activity). For each subsequent segment/lap, the calories of all preceding segments were added again which caused a too high total calories burned value in Strava. Closes #5.
  • Segment/Lap distance information was wrong for (non-swimming) activities with more than 1 segment/lap.(e.g. when activity was paused or GPS loss occurred during activity). For each subsequent segment/lap, the distances of all preceding segments were added again which caused a wrong value in the Lap overview in Strava. Closes #6.

Known Limitations

  • Calories burned information is not available for swimming activities (need real-life data to code/test).

Version 3.2.3

29 Feb 14:41
9592d2a

Choose a tag to compare

New features and changes

  • Oops, made a mistake. Didn't think about the Swedish word for 'to strive' being a trademark.
    The application has been gracefully renamed to Hitrava, a convenient abbreviation of h(uawe)i, tra(ck) and the last 2 characters of the Swedish word for 'to strive'.
    All application name references in text and code have been changed too. You will have to adapt your scripts to use the new application name, sorry for the inconvenience.
  • Changed the conversion procedure in the README to use the direct ZIP conversion (requires less steps than the JSON conversion) and changed the Run_Hitrava.cmd batch script accordingly.
  • Cleaned up some superfluous code and comments. Did a technical correction to a regexp in code.

Version 3.2.2

20 Feb 16:51
9a4177c

Choose a tag to compare

New features and changes

  • ZIP conversion: made ZIP conversion explicit with new -z or --zip arguments and in usage. JSON conversion with -j or --json arguments also still checks for ZIP file and will extract JSON before starting conversion.

Solved issues

  • ZIP conversion: the --output_dir argument was ignored when extracting the JSON file from the ZIP file.

Known Issues

  • There seems to be a problem lately to properly initialize the TCX XSD schema when using the --validate_xml argument.