{% extends "base.html" %} {% block title %}Garmin - makerundev{% endblock %} {% block head %}{% if connection and connection.syncing %}{% endif %}{% endblock %} {% block content %}

Garmin

Bring your activities in from Garmin Connect as the original files your watch recorded. Your key stays in this instance's data directory.

{% if notice %}

{{ notice }}

{% endif %} {% if not connection %}

Create your Personal API key

  1. In Garmin Connect on the web, open Settings → Personal API Key and create a key. Garmin shows it only once.
  2. Paste it below. makerundev checks it with Garmin before saving it.

A key lasts 30 to 365 days, as chosen when it is created. When it runs out, create a new one and paste it here.

{% else %}
Status
{{ "Syncing" if connection.syncing else "Key saved" }}
Imported
{{ connection.imported }}
Already here
{{ connection.matched }}
History
{{ "Complete" if connection.backfill_done else "In progress" }}

{% if connection.syncing %}Syncing now, about one activity a second. This page refreshes on its own. {% elif connection.last_sync_at %}{{ connection.sync_message }} Last sync {{ connection.last_sync_at | local(timezone) }}. {% elif connection.sync_message %}{{ connection.sync_message }} {% else %}Nothing synced yet.{% endif %} {% if connection.backfill_before and not connection.backfill_done %}History reaches back to {{ connection.backfill_before | local(timezone, "%Y-%m-%d") }} so far.{% endif %}

{% if connection.skipped %}

Skipped activities

These could not be imported and are not tried again.

{% for item in connection.skipped %} {% endfor %}
DateNameWhy
{{ item.start_time[:10] }} {{ item.name }} {{ item.reason }}
{% endif %} {% endif %}
{% if connection %}
Remove key

Removing the key deletes it and the sync progress from this instance. Activities already imported from Garmin stay, like any other file.

{% endif %} {% endblock %}