SportTracks Dailymile Plugin

From Fellrnr.com, Running tips
Revision as of 16:02, 23 May 2013 by User:Fellrnr (User talk:Fellrnr | contribs) (Exporting Workouts to Dailymile.com (Easy Mode))

Jump to: navigation, search
An example of the analytics graph from the plugin.

This plugin performs training analytics, such as Running Efficiency, Training Monotony and models that predict performance, as well as publishing workouts from SportTracks to Dailymile and Runkeeper.

1 How to install the plugin

2 Viewing the Workout Analytics

  • Click on 'select view', then 'daily activity'
    SelectDailyActivity.jpg
  • Click on an activity to select it
  • Click on the drop down menu on the top right of the activity window and select 'Fellrnr Analytics'

SportTracksActivityAnalyticsMenu.jpg

  • You will then see the analytics of that workout

SportTracksActivityAnalytics.jpg

3 Viewing Analytics Graphs

  • Click on 'select view', then 'Fellrnr Analytics'

DailyMile Activity Reports.jpg

  • You will then see the graph of workout information. To get more help, hover your mouse over the controls.

SportTracksTrainingAnalytics.jpg

4 Exporting Workouts to Dailymile.com (Advanced Mode)

  • You must have a Dailymile.com account setup
  • Start SportTracks if it's not already running
  • Click on 'select view', then 'daily activity'
    SelectDailyActivity.jpg
  • Click on an activity to select it for export
    • Multiple activities can be selected, but this may take a long time and Dailymile.com limits the rate of uploads, so you may experience errors
  • Click on 'export' then 'Publish to Dailymile.com (Advanced)', then choose how you felt.

ExportAdvanced.jpg

  • The first time you use the plugin, a popup will ask you to log into Dailymile.com and authorize the plugin. Logging on with your Facebook account causes problems - please log on directly.
    • This popup uses the browser settings for the HTTP proxy rather than the SportTracks settings. (Don't worry if that doesn't mean anything to you. You shouldn't have to worry about it.)
    • The authorization token is stored in the logbook, so different SportTracks users can have different Dailymile.com accounts.
    • You can clear the authorization information by looking under the plugin specific settings.
  • You will see a popup allowing you to customize the data exported to Dailymile.com. Note that you can get help by hovering your mouse over a field, as shown below.

DailyMile SportTracks Screenshot full.jpg

    • The plugin attempts to guess what the correct activity type is from the activity category in SportTracks as described below. (If you think it should make better guesses, let me know.) You can change the activity type. If you hit okay, your workout will be posted and a browser window will popup with your workout in Dailymile.com. Note that the text of your workout is in the windows clipboard, so you can paste it into another site such as Google+

5 Select Laps Dialog

This dialog allows you to select specific laps for publication. This is useful if you are doing interval training and only want to publish the work intervals.
SelectLaps.jpg

  • To select laps, click on a lap. Holding the control key will add to the selection, holding the shift key will select ranges.
  • Pressing "Select Odd" will select the odd numbered intervals. The selection can then be modified by clicking on laps with the control key pressed.
  • Pressing "Select Even" will select the even numbered intervals. The selection can then be modified by clicking on laps with the control key pressed.
  • Pressing "Guess Intervals" will look at the start and end Heart Rate to determine the work intervals. The 'interval threshold' is used to determine the work intervals. A lap will be selected if the finish Heart Rate is greater than the start Heart Rate by at least the threshold value. select the even numbered intervals. The selection can then be modified by clicking on laps with the control key pressed.

6 How SportTracks Activity Categories are mapped to Dailymile Activity Types

This plugin looks at the text of the SportTracks Activity Category and guesses the appropriate Dailymile Activity Type

  • If category contains "running" then Activity type is running
  • If category contains "cycling", "biking", or "bike" then Activity type is cycling
  • If category contains "swim" then Activity type is swimming
  • If category contains "walk" then Activity type is walking
  • Otherwise default Activity type to fitness

There is support for other languages; click on 'show category translations' at the bottom of the settings page.

7 Missing Features

Some features are missing because they are not yet supported in the Dailymile.com API. These include

  • Max and average HR
  • Weather icon
  • Effort
  • Gear
  • Keywords

When these are added to the API, I will add support in the plugin.

8 Changing Dailymile.com or RunKeeper.com Accounts

If you change your account on Dailymile.com, or RunKeeper.com you'll need to clear the token that this plugin stores.

  • You may need to clear your Internet Explorer cookies, as this plugin uses the browser for authentication. Clearing the cookies is documented at http://support.microsoft.com/kb/278835
  • Start SportTracks
  • Click on settings
    settings.jpg
  • Select "Fellrnr Settings" and click on "Clear OAuth Token" for the site you want to change.
    ClearOAuth.JPG
  • You'll be prompted to log on next time you publish.

9 Facebook Authentication to Dailymile

There are a few problems with accessing Dailymile.com using Facebook credentials, and it is better to log in with an email address and password.

10 Support

For support, email plugin <at> fellrnr <dot> com.

11 Change History

  • 3.2.0
    • The category mapping now learns from input, so if you select a different category, the plugin will default to that next time
    • Support non-ASCII characters for Dailymile and Runkeeper
    • Fix the 'use current time' to default to not set if workout is not for today
    • Runkeeper changes
      • The raw Heart Rate data is exported
      • Use the correct case for Runkeeper everywere
      • Change post Dialog box title to Runkeeper
      • Split posted message into shorter lines to prevent '500 server error'.
      • Reduce the number of comments posted
  • 3.1.0
    • Better support for Runkeeper
    • Use dialog box for Runkeeper as well as Dailymile
    • Remove 'easy' option
    • Add cumulative total for number of runs over a given distance (set on options page)
  • 3.0.0
    • Plugin is now free
    • Add cumulative time totals
    • Add Heart Rate and Efficiency Drift
    • Add smoothed elevation
  • 2.1.4
    • Correct bug in cumulative totals timezone handling
  • 2.1.3
    • For cumulative totals, convert activity times to local timezone and always use the second level category rather than the Dailymile equivalent
    • Convert elevation to selected units
    • Support custom and distance splits for laps
  • 2.1.2
    • Fix a bug in the HRR calculation
    • Fix a bug that caused a fresh install to have bad default values for the plugin settings (caused Monotony to be capped at zero)
    • Change title to 'Fellrnr Analytics' to match menu item
    • Fix a bug so that entered HR was used to calculate TRIMP rather than estimate TRIMP
    • Add option on report to show all or selected activities (defaults to all)
  • 2.1.1
    • Fix a bug that was causing a crash if the plugin was installed from scratch rather than upgraded.
  • 2.1.0
    • A major upgrade, adding more analytics
    • Add a view of the analytics without having to post the workout
    • Add a report of the analytics over time
  • 1.2.1
    • Add basic Runkeeper.com support.
    • Fix some authentication issues with Dailymile.com.
    • Performance improvements posting to Dailymile.com.
    • Add more options to the advanced dialog.
  • 1.1.3
    • Add ability to post the GPS data to Dailymile.com.
    • Add a button to the advanced dialog to save the checked options as a future default.
    • Change menu so that you select 'felt' as part of the export.
    • Give the option to post workout using the current time rather than the start time of the workout. This is only available for workouts completed today.
    • Correct a bug that stops manually entered workouts from having a distance.
    • Use the smoothed Heart Rate and Cadence data rather than raw values.
    • Default to all laps selected on the select laps dialog.