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

Add Total Hours to Gear items additional to total distance

Add Total Hours to Gear items additional to total distance (connect.garmin.com/.../gear). Some gear is more time related to distance, so this would be very useful to see how much they have been used. As an example, all the shoes I wear for cardio don't get any distance but get a lot of usage hours.

  • For now you can use a script like here for F12 -> console. Replace !!!GEAR_ID!!! by ID from an edit link.

    jQuery.getJSON(
        'https://connect.garmin.com/modern/proxy/activitylist-service/activities/!!!GEAR_ID!!!/gear?limit=1000',
        (act_list) => {
            dur = 0
            act_list.forEach((act) => { dur += act.duration })
            console.dir(dur/3600)
        }
    )

  • Thanks, BunBun! This should help Garmin as you have given them even the code to produce this outcome Slight smile

    Here are the steps I did to use your code (might be useful for someone):

    A) Go to connect.garmin.com/.../gear

    B) Click Edit link for the gear you want to see the hours for

    C) Copy the gear id from the URL

    D) Press F12

    E) Open Console

    E) Copy and paste and run this script (where you replace the ##GEAR_ID## with the ID you got in step C)

    jQuery.getJSON(
    'connect.garmin.com/.../
    (act_list) => {
    dur = 0
    act_list.forEach((act) => { dur += act.duration })
    console.dir(dur/3600)
    }
    )