Repository navigation
Releases
2.1.1
No changes to how the plugin works. This release is for Obsidian's release review.
Changes
-
Verifiable release files:
main.js,manifest.jsonandstyles.cssnow come with GitHub artifact attestations, so you can check they were built from this repository:gh attestation verify main.js --repo BenRuns/physical-activity-importer
-
Removed an unnecessary type assertion.
See 2.1.0 for laps, workout steps and distance units.
Installing
Download main.js, manifest.json and styles.css into <vault>/.obsidian/plugins/physical-activity-importer/, then turn the plugin on under Community plugins.
2.1.0
Laps and workout intervals in your activity notes, from Garmin, Strava and FIT files.
New
- Laps: activities with more than one lap get a laps table with each lap's time, distance, pace, average heart rate and power. Laps come from the FIT file for Garmin and FIT imports, and from Strava's activity details for Strava (no extra API calls). In multisport files, each leg gets its own laps.
- Workout steps: for structured workouts, each lap shows the step it was run in, with the step's notes, e.g. "Warm up (1.5 mi E)", "Threshold (3 mi @ T pace)", "Cool down (1 mi E)". The workout's name is shown above the table and available as
workout_name. Ordinary runs with auto laps get the table without the Type column. - Distance units: a new setting under Activity for kilometres or miles, for distances and paces in notes (min/mi, /100yd, mph).
- Template helpers:
{{duration}},{{dist}},{{km}}and{{pace}}, and alapslist for your own templates. See Laps and intervals.
If you haven't changed the content template, it's updated to the new one automatically. Custom templates are left alone. Notes you've already imported don't change: delete them and re-import from a date to get laps.
Installing
Download main.js, manifest.json and styles.css into <vault>/.obsidian/plugins/physical-activity-importer/, then turn the plugin on under Community plugins.
2.0.0
The first release as Physical Activity Importer (formerly Strava Sync). Import your workouts as notes from Garmin Connect, Strava or FIT files.
Important
The plugin has a new id, physical-activity-importer (was strava-sync), and now needs Obsidian 1.4.0 or later. Hence 2.0.0.
New
-
Garmin Connect sync with Garmin's free Personal API: choose Strava or Garmin as the source for "Import new activities". Activities are imported from their original FIT files, with your Garmin name, description and link.
-
FIT file import from Garmin, COROS, Wahoo, Polar, Suunto and other devices, including
.zipexports and multisport files (one note per leg). -
Calorie estimates for Garmin and FIT imports, from second-by-second power (rides with a power meter) or heart rate (Keytel et al. 2005) and your details. Set sex, birth year, weight and optionally VO2 max under Calories in settings. New properties:
estimated_calories: everything burned during the activityactive_calories: the part above resting burn, the number to eat backcalories_method:heart_rateorpower
The device's figure stays in
calories. Cal Track 0.2.0 shows these in your daily food log. -
Secrets (Strava client secret and tokens, Garmin key) are kept in Obsidian's secret storage on 1.11.4+.
-
Re-import activities from a date you choose, to fill in deleted notes.
Installing
Download main.js, manifest.json and styles.css into <vault>/.obsidian/plugins/physical-activity-importer/, then turn the plugin on under Community plugins.