Skip to content
This repository has been archived by the owner on Jun 13, 2022. It is now read-only.

[JSON] Huawei Watch 2 - wrong data output #42

Open
ghost opened this issue Oct 11, 2019 · 2 comments
Open

[JSON] Huawei Watch 2 - wrong data output #42

ghost opened this issue Oct 11, 2019 · 2 comments

Comments

@ghost
Copy link

ghost commented Oct 11, 2019

Hello,
I guess that files from Huawei Watch 2 (WearOS based smartwatch) it's not fully supported by this tool. Can You please look at attached sample data, to fix it?

data.tar.gz

HuaweiHealth

Screenshot from sample run, imported to RunKeeper:
Runkeeper

@ghost ghost assigned aricooperdavis Oct 11, 2019
@CTHRU CTHRU assigned CTHRU and unassigned aricooperdavis Oct 12, 2019
@CTHRU
Copy link
Collaborator

CTHRU commented Oct 12, 2019

@domryba - Thank you for providing the files. I can see what causes the issue in the HiTrack file. It starts with following 2 records with a timestamp of 1.570459597 (which is at 14:46:37 and about an hour later than the last records of the file that are at 1.570455402 (which is 13:36:44 or the actual time of the end of your activity). Now we can't just ignore these records as other devices seem to produce them in a random time order.

tp=lbs;k=0;lat=51.647061;lon=17.3814189;alt=0.0;t=1.570459597E12;
tp=lbs;k=1;lat=51.647057;lon=17.381367;alt=0.0;t=1.570459598E12;

tp=lbs;k=2;lat=51.647064;lon=17.381321;alt=0.0;t=1.570452399E12;

tp=lbs;k=1498;lat=51.64845;lon=17.391971;alt=0.0; t=1.570455402E12;
tp=lbs;k=1499;lat=51.648453;lon=17.391863;alt=0.0; t=1.570455404E12;

There can be multiple causes:

  • There's a bug in the converter when getting the HiTrack data from the exported JSON file (to find out, I would require that file or you could look into the JSON data yourself if the data is like that in the file)
  • There's an error in the export of the JSON in which case we can't do much about it.
  • Did you stop (not pause) the activity right at the endpoint marker or could it be that you stopped it an hour later? I think chance is small, but I thought I'd better ask.

In case you notice a difference in the originating JSON file, please keep me informed.

@ghost
Copy link
Author

ghost commented Oct 12, 2019

Thanks for reply. I can send You JSON file, e.g. on e-mail.

Yes, I stop my activity just after its end. :)

@CTHRU CTHRU removed their assignment Jul 8, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants