This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Import Huawei activities to Garmin Connect

Hello, 

I used like three years watches from Huawei and recently switched to Garmin. I sucesfully exported all my data from Huawei and used Hitrava tool to get .tcx files. I slowly uploading all my activities to Strava (i can upload only 100/day). I used Fitbit to import all my steps, exported .csv from there and uploaded to Garmin, but I can't use it for activities (I want a GPS and map).

Now I need to get all my activities (like 843 files) and import them to Garmin. I tried tapiriik, but it's not working because of Garmin API changes. The original .tcx files don't work either (I got message: There was problem with uploading your files). From Strava I can only download original file, so it's not working either.

I installed Fit File Repair Tool and there I got message: Please check entries in the fields "Manufacturer" and "Product" on the register page "Devices, File Info", this information is missing!

And this is all I can do, I have only demo version and I don't know how to repair all 843 .tcx files, so I can import them to Garmin.

Many thanks for any help.

  • Yes, I see, just tested it with your file. A walk exported from Garmin Connect in TCX file does not make the same effect when reimported, which means it should be correctable. I'll check it later when I have a bit more time, and let you know.

  • Well, I already imported all the files and I didn't find a way how to "batch" edit files in Garmin Connect Web, so do it one by one is not a option anyway.

  • Hi, do you have any clues how this can be fixed? Maybe I can use javascript to batch edit all Other activities, but I don't know what to change. Thanks!

  • I did not look at it, since you wrote you already imported all, and did not appear to intend deleting all and redoing it. Editing the activities would not help in your case. You'd need to modify the GPX files again, deleting all 800 activities from Garmin Connect, importing them again, and then changing the type to Walk.

    Javascript could be indeed used for some of the tasks, like mass deleting, or type changing. There are some snippets in the forum, so you may be able to find them. Many of them were posted by the user  - perhaps he peeks in, and points you to some of his past posts, if you do not find them yourself. 

  • Okay I will look on it, when I will have some time. But if I'm just thinking about it, it should be pretty straightforward. Correct me, if I'm missing something:

    1) Bulk download GPX using javascript

    2) delete all "other" activities using javascript

    3) edit activities via Notepad++

    4) import again

    Thanks!

     

     

  • Yes, that's almost right. You just need to compare the original Walk activity GPX file from Garmin Connect with the one from Huawei, to find which of the differences causes the disappearing of the track when converted from Other to Walk.

    And you will probably want to use javascript also for converting all those Other activities to Walking, once imported.

  • Type of activities can be changed with a script like here: I have heeps of activities saved as cycling. How can I batch change every Cycling file to Road Cycling.

    Search for other.

    Change to walking or casual_walking or speed_walking.