I have been bothered by the fact that my Garmin 910 will effortlessly upload it's data to the Garmin Connect website, yet I still have to manually add them to Strava.
So today I decided to come up with a solution - welcome Apple's Automator to the scene. With an Automator script any file dropped into a specified folder can be sent via email to Strava and then appears on your dashboard. You then just have to manually modify the activity type if not the default type. Kind-a-like magic. So here is how you do it if you have a MAC.
So today I decided to come up with a solution - welcome Apple's Automator to the scene. With an Automator script any file dropped into a specified folder can be sent via email to Strava and then appears on your dashboard. You then just have to manually modify the activity type if not the default type. Kind-a-like magic. So here is how you do it if you have a MAC.
Step 1: Locate your Garmin Activities folder:
- should be here: /Users/YOURNAME/Library/Application Support/Garmin/Devices/SOMENUMBER/Activities
Step 2:
- Launch Automator (Spotlight for Automator)
- Select "Folder Action" from the opening screen. Hit "Choose"
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhFN4lJTbBazkktctr6mf4gI_aaTX30jnXfPN4kFEmb9XYc0AgHbZbpj11vQdO_eFwiT2ZYaHqLxRdJ6I0MxkPrcJ2Nt4iM9rbUD5ImpgGv3IFriLuQMygHNB4Dxsxl18IHzoB1DMuRrww/s320/1.jpg)
at the top "Folder action receives files and folder added to" select your Garmin activities folder from Step 1
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgJaXMy1dlcuOoxb_sLtUAS-tlLWvQtJZv_zShtNhtRS2QUPK9tkGlDrmAK_e4p91vG23ghBuU8NLnfXyhyphenhyphenyx8w4WllpuIwl4ziJ0t8SwonobkZ-heDA7ZGpLCSnexF5bg09Fw9r7mI6H4/s320/2.jpg)
- From the "Utility" Library select "Launch Application" and drag it to the right side of the screen and then select "Mail" as the application. This action will launch Mail if not already open. Note that you must have your Apple Mail account configured with the same eMail that you use for Strava (Strava recognizes which user to add the data to based on your eMail).
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkrNbn9jRBUIxisD9CgNCPcuNbULlyTY6V4BvrqWoo2mltChCh5TQC-QXU150zAm2HXgADe3sOaejZHEdcAjHYfjj4Qdyg0A4urhTulc1MYQe7h-vBeRB_GxGWS7FWpqCUbsqGVZOD658/s320/3.jpg)
- next select "Mail" from the library and drag the "New Mail message" to the right and configure as follows.
- "To" field: upload@strava.com
- "Subject": upload
- "Message": upload (I just added upload to avoid having mail ask me later if I want to send an empty message)
- next select "Mail" from the library and drag the "Add Attachments to Front Message" to the right.
- next select "Mail" from the library and drag the "Send Outgoing Messages" to the right.
- your script will look like this:
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFZuWDSs8dP3gy1KwYREyZVYpOgujn2M4temO7aR_ZqhR4pF1RyrhrZrtrXo0M6zSz6ZQKOW-YnHj3g7OZyYVCPw49VKwjDILPuiE5NXV-rDJqlDy-AwmRuMnJhyn6gg1Y83nTyMd5aBg/s320/4.jpg)
- Now do Automator-->File-->Save (name it whatever you like)
- you can quit Automator now
- next time your Garmin uploads a new file to the activities folder via Ant+ Automator will create a message attaching the .fit file and mailing it to Strava. A few minutes later you will receive a confirmation from Strava via eMail and shortly thereafter your activities will be online.
- Voila - let me know if it works. Haven't tested multiple workouts yet.
- Strava folks, hope you don't mind.
Thanks Stefan. That's really cool.
ReplyDeleteFor me, I found that I had to remove the "Add Attachments to Front Message" step in order to get it to send the email (otherwise the message just sat on the screen and didn't get sent). The FIT file still gets attached because it's passed in to the "New Message" step. I'm running OSX 10.8. Hopefully this helps anyone else who has the same problem.
Thanks again!
If anyone is still using this method (Strava says that only 0.4% of people were uploading via email before they deprecated the feature)... I have written a workaround that uses Strava's API. So, you can still upload via email, but you have to send it to a different address. The tool requires an additional account on our website, but it enables you to upload to up to two Strava accounts simultaneously (I wrote this because we ride tandem, and thus upload the same FIT file to both accounts). Here is the tool: http://gotoes.org/strava/Strava_Email_Uploader.php
ReplyDelete