Skip to content
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 App Integration #299

Merged
merged 18 commits into from Feb 6, 2021
Merged

Suunto App Integration #299

merged 18 commits into from Feb 6, 2021

Conversation

FJBDev
Copy link
Collaborator

@FJBDev FJBDev commented Feb 3, 2021

As announced since a while now by Suunto, all Suunto users have to migrate from the Movescount platform to the Suunto App.

With that modification, Suunto users can't retrieve anymore their activities directly from their watch (Example with my Suunto 9 for which I used to import the .json.gz file directly into MT by using the SuuntoLink program and therefore added the file support in MyTourbook 18.12)

Considering this, I have therefore added the integration of Suunto App into MyTourbook to make the activity import into MT seamless and easy.
This new integration consists of 2 major new features:

  • Workout download
  • Routes upload

If you don't have a Suunto App account yet, please go here for the official instructions:

CONNECT TO YOUR SUUNTO APP ACCOUNT

  • Go to Preferences ➡️ Cloud Connectivity ➡️ Suunto
  • Click on the button "Authorize"

  • Your default browser will open and you will be prompted to enter your Suunto App credentials

image

  • Click on "Authorize"

image

  • Your browser will let you know when you can close the authorization window. When you return to MyTourbook, you should see the cloud account information filled out

image

  • You can now configure the folder in which the new workouts will be downloaded onto your machine by clicking on the "Browse" button

- EASY IMPORT MANAGER CONFIGURATION

  • Open the Tour Import View and click on the Easy Import Configuration "Folder" icon

image

  • The folder you configured in the Suunto preference page should appear so you can create a import action that will detect the new workouts downloaded from the Suunto App.
  • Configure your Import Action and click "OK"

image

- DOWNLOAD OF NEW WORKOUTS

  • Open the Tour Import View and click on the "Suunto App" icon to start the retrieval of the workouts from Suunto App in your configured folder (Note: the new workouts/tours will be downloaded as FIT files)
    image

image

image

The workouts are downloaded to your configured folder and you can now import all of them in the Easy Import Manager

image

- UPLOAD OF ROUTES FOR WATCH NAVIGATION

  • Select tour(s) from your MyTourbook database
  • Right click on the tour(s) you want to upload on Suunto App as Routes and click on ➡️ Upload Tours ➡️ Suunto App (Routes)

image

  • The tour(s) will now be uploaded to your Suunto App account as GPX route(s)

image

image

Your route(s) will now appear in your Suunto App on your phone

image

Unit Tests 100% successful

image

@wolfgang-ch this is the best workflow i found to integrate the Suunto App to MT. Let me know if you see any improvements that I may have not seen/missed.

@wolfgang-ch
Copy link
Collaborator

image

The background behind the suunto icon would look better when transparent and not black

@FJBDev
Copy link
Collaborator Author

FJBDev commented Feb 3, 2021

The background behind the suunto icon would look better when transparent and not black

Replaced with a logo that has a transparent background.

image

FYI, the logos are legal and obtained from the official Suunto Partner Media Pack

@wolfgang-ch
Copy link
Collaborator

Should we rename the top level pref page "Cloud Connectivity" just into "Cloud", since a while I had this in my head but now with Suunto, there is more than just the clout account.

All other top level pref pages (except tour type filter which also needs some rethinking and also excluding maps) are just one word

@FJBDev
Copy link
Collaborator Author

FJBDev commented Feb 3, 2021

Should we rename the top level pref page "Cloud Connectivity" just into "Cloud", since a while I had this in my head but now with Suunto, there is more than just the clout account.

All other top level pref pages (except tour type filter which also needs some rethinking and also excluding maps) are just one word

True. I didn't notice that but it would be more consistent with the other menus. Fixed

image

@wolfgang-ch wolfgang-ch merged commit b2577cd into mytourbook:FJBDev Feb 6, 2021
wolfgang-ch pushed a commit that referenced this pull request Feb 15, 2021
…nce, Duration, Elevation Gain Difference, Distance Difference, Duration Difference (#300)

* Locating where it needs to happen

* WIP

* wip

* wip Now i need to make it configurable

* formatting

* WIP

* Date

* messages

* WIP

* WIP

* WIP

* WIP

* misc

* Done

* revert

* Readme update

* revert

* fix

* Suunto App Integration (#299)

* Suunto App Integration

* Readme update

* Suunto App logo with transparent background

* Clean-up

* Renaming Cloud Connectivity to Cloud

* Info

* date

* Better naming

* renaming

* Streams!

* Better explanation

* Mnemonic

* Name

* Misc

* last cleanup

* Improvements

* Displaying a message when renewing the token

* Per code review

* French translation

* Per code review

* French
wolfgang-ch pushed a commit that referenced this pull request Feb 20, 2021
* Suunto App Integration

* Readme update

* Suunto App logo with transparent background

* Clean-up

* Renaming Cloud Connectivity to Cloud

* Info

* date

* Better naming

* renaming

* Streams!

* Better explanation

* Mnemonic

* Name

* Misc

* last cleanup

* Improvements

* Displaying a message when renewing the token

* Suunto App Integration (#299)

* Suunto App Integration

* Readme update

* Suunto App logo with transparent background

* Clean-up

* Renaming Cloud Connectivity to Cloud

* Info

* date

* Better naming

* renaming

* Streams!

* Better explanation

* Mnemonic

* Name

* Misc

* last cleanup

* Improvements

* Displaying a message when renewing the token

* Per code review

* Fix

* UI

* per code review

* Improvements

* Icon_ should have 2 __ to group them together -> Icon__

* Javadoc

* Manually sorting the fields

* More readable

* Renaming

* Restructuring the text keys for more clarity

* Misc

* Placing the translation files in 1 place only

* Typo

* For tours without time data, we use the camouflage speed for a
successful upload

* Typo

* French translation

* Fixing a bug when uploading manual tours to Strava where the time would
be wrong

* Updating the FIT SDK from 21.40 to 21.47

* Per code review

* Readme update

* Validating the tokens when uploading a route

* Not needed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants