Garmin Workout Importer 作者: hotpancakez
Adds an Import workout button to Garmin Connect so you can load structured workouts from .json files.
扩展元数据
关于此扩展
Import workouts into Garmin Connect from other sources like Runna or Strava. Screenshot the workout, ask Claude or another AI agent to repackage it as a JSON file, and upload that JSON to connect.garmin.com using this addon.
Prompt for your AI assistant:
Prompt for your AI assistant:
I use a Firefox add-on that imports workouts into Garmin Connect from JSON. Convert the workout(s) I give you (screenshot, text or training plan) into the format below. Give me the result as a downloadable .json file, or if you can't make files, as one JSON code block I can save as workout.json.
Format:
{
"name": "Walk Run",
"sport": "running",
"description": "optional",
"steps": [
{ "warmup": "5:00", "note": "Walk" },
{ "repeat": 2, "steps": [
{ "run": "90s", "note": "Conversational pace" },
{ "walk": "1:00" },
{ "run": "6min", "note": "Conversational pace" },
{ "walk": "1:30" }
]},
{ "cooldown": "5:00", "note": "Walk" }
]
}
Rules:
- Each step has exactly one of these keys: warmup, run, walk, recover, rest, cooldown. Its value is the step's length. "run" means the work interval in any sport.
- Any step can have a "note". Put pace, effort or heart-rate zone there (e.g. "Zone 2", "5:30/km"), because the add-on can't set pace or heart-rate targets.
- Repeats: { "repeat": N, "steps": [ ... ] }. If the plan shows a set repeated (e.g. "x4"), use a repeat block instead of writing the steps out N times. Repeats can be nested.
- Lengths: "5:00" or "1:05:00" for time, or "90s", "6min", "1h", "400m", "1.5km", "1mi", or "lap" (until the lap button is pressed). "m" always means meters, never minutes.
- sport: running (the default), cycling, swimming, strength or cardio.
- For several workouts, put them in one file as { "workouts": [ ... ] }, and give each a name that says its week and day.
- Copy the plan exactly. Don't add, drop or merge steps. If anything is unclear, such as a cut-off screenshot, ask me before guessing.
- Output valid JSON only: double quotes, no comments, no trailing commas.
评分 0(1 位用户)
权限与数据
更多信息