Using Garth to get garmin data into intervals

Hi All,

I’ve been fussing around trying to get intensity minutes to show in intervals.
ChatGPT helped me by writing a script using garth to get the weekly intensity minutes from garmin connect and then I just used the normal bash/curl thing (and annoyed David in the process because ChatGPT gave me some bum information about launchd. Sorry David!) to upload it to intervals into the BaevskySI field because I have no idea what that is so I won’t miss it.

I thought people might find the idea helpful if they had extra data they wanted to grab from garmin.

I run the script late at night so the number is correct on intervals in teh morning, but it doesn’t update during the day or when I do a workout. ChatGPT tells me I could use heroku to host the script and create a webbhook and then use a trigger from strava to activate a zap on zapier to run it after an activity but I can’t be bothered.

1 Like

So my intensity minute thingy turned into a bit of an obsession.

Now when I log a workout on garmin a cascade of electrons flies around the planet.
The workouts get logged on intervals and strava. Strava pings zapier, which pings google sheets, which then runs a script that pings a flask app on kypeb that uses garth to download the intensity minute data and upload it intervals. Then the google sheets script downloads the activity and wellness data from intervals and populates the spread sheet. The spread sheet is connected to Looker that visualises the data in various ways and that is embedded in a web page so it can be viewed by … well I have no idea who’d want to but there we are…
https://sites.google.com/view/chibi-exercise/home

1 Like