This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Copy Activity from one day to another

I'm entering manual activities because my Vivosmart will not track them (stationary bike and yoga), but I need to do more than one day at a time.  Manually entering each day is kind of a pain, and I would like to just copy one and change the date of the activity.

When I export my activities from Connect Web, they show as a CSV, but when I try to re-import them it thinks it's a Fitbit file, and does not complete the upload.

Any help would be appreciated.

Top Replies

All Replies

  • 1) Open your activity and select "Export Original", which gives you a FIT file

    2) Use the FIT File Tools (https://www.fitfiletools.com/#/top) time adjuster to change the date/time, which gives you a new FIT file

    3) Import the new FIT file

    I tried this and it seems to work.

  • Thanks, WillNorthYork - that definitely works (although it does take a bit of doing, and only does one copy at a time - still better than entering manually).

  • If you only need some basic data, then you can set it by a script (F12 → Console).

    Create empty manual activity only with time&date, open it as full page (the first line reads current URL), then this script will set: distance (meters), duration (seconds), type and name.

    fetch(window.location.href.replace('modern','modern/proxy/activity-service'),
    {
        'headers': { 'Content-Type':'application/json', 'NK':'NT', 'X-HTTP-Method-Override':'PUT' },
        'body': '{ "distance":1000, "duration":3600, "activityTypeDTO":{"typeKey":"fitness_equipment"}, "activityName":"NAME" }',
        'method': 'POST'
    })

    If you add javascript: then you can bookmark it and run by clicking to quickly fill data - but you need to be sure to open a correct activity before clicking it.

    Play with F12 → Network to see other parameters (edit something normally on the Web and check how a request looks).

    So, with something like that, you can create few templates and run as needed.

  • I'm entering manual activities because my Vivosmart will not track them (stationary bike and yoga),

    I strongly recommend logging the activities with your Vivosmart, regardless whether the exact activity type is available on it, or not. Record it as Cardio, Strength, Walk, or whatever else. You then just need to change the type in Garmin Connect to Indoor Bike or Yoga, and adjust the distance of the indoor ride. You'll get much more accurate metrics in this way, the activity will contain the heart rate graph, more accurately calculated Intensity Minutes, Calories, ..., it will count towards challenges and badges, etc. Entering manual activities is a waste of time, and has absolutely no informative or statistical value.

  • And yes, if your watch can record any similar or other activity, then use it.

    This way you will have most data ready and only need to change activity's type and name (manually or by script).