-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Suunto Traverse syncing issues caused by PTE 0 #250
Comments
I'd start by checking how Moveslink2 and/or Movescount for Android are handling this. If you (still) happen to have Movescount on a Adnroid device, you could back up app data over adb and extract that same json from there. Or if your device is rooted, just get it from app data. Can't remember by heart if json files for activities were always left behind or only when there was some kind of connection issue (i.e. wifi and data turned turned off when syncing with the watch). And you might be able to run Moveslink2 through Wine as well and perhaps use mitmproxy instead of Fiddler. Success probably dependents on exact Wine version and once running, it's not the most stable process, at least in my experience, but I've been able to sync my Ambits with Moveslink2+Wine. Last time I checked, it was in October 2019, was using Wine 4.17 from winehq-devel/disco PPA for Ubuntu. A relevant wine bug report (check bits about disabling SDL, in case it's still relevant today) and notes from @Gerold-R helped a lot, I hope he doesn't mind sharing those :) : My own notes about installing Moveslink2 on Wine - https://docs.google.com/document/d/10c5STmm2kONjINEOY8AwxQZ-1sQhWOGAHfR24_alNZY/edit?usp=sharing , though those might miss some details. |
Thank you for the quick reply. The Traverse seems to be like the Ambit with a more restricted feature set. There is basically no PTE or Recovery Time after activities for instance but the PTE has to be between 1-5 (10-50) when uploading the JSON. Thanks for the links and your help - i will check that out for sure 👍 |
As you already have access to Win, I really wouldn't bother with Wine at this state - while you might be spending hours trying figure to out what went wrong with Wine setup, setting up Fiddler is effortless and it takes probably up to 10-15 minutes from downloading installer until you already have captured what you need. Well.. at least I never had issues with it. |
You will likely need to adjust code at src/movescount/movescountjson.cpp:806 to write a "default" value when PTE is 0. Make sure to send a combined PRs when it works for you so we can consider adding it the necesary fixes to the public version |
@marguslt @MrFlip0815 |
@centic9 @Gerold-R |
Hi guys.
I'm using a Suunto Traverse and syncing doesn't work because the Traverse does not write a PTE value into the log before uploading compared to the Ambit. This can be fixed by manually editing the log file and giving it some random PTE value you think is valid but that's missing the mark imho. The faulty log entry is
<PeakTrainingEffect>0</PeakTrainingEffect>
Unfortunately the log entry can't be just removed so you have to come up with a fake value. Do you happen to know if there is a more elegant fix to this problem?
Thanks for this tool and best regards,
Stefan
The text was updated successfully, but these errors were encountered: