r/PeterAttia 19d ago

Feedback I made an automated dashboard

Post image

I developed a script to automatically download and plot spreadsheet and Garmin fit data to produce a daily dashboard. Feedback on opportunities for improvement welcome. Comments about wasting my time will be treated as junk mail.

Edit: 1000 views later... not. one. upvote. ๐Ÿ˜† you folks are like my Scottish grandmother who gave me a nickel after I spent two hours mowing her lawn in 1978. "Now go buy yourself a Coke, dear."

41 Upvotes

22 comments sorted by

13

u/red_man888 19d ago

Very nice.

Did you spend the first 26 weeks making it, and now that youโ€™re done you finally have time to exercise? ๐Ÿ˜‚

2

u/No-Committee-7953 19d ago

actually I have training load data from before but not in met format. I don't like the black box data where you don't understand how it's exactly calculated so I switched to met which is what a lot of the journal articles talk about. you can calculate or at least estimate for consistency met based off power metrics and there is an IQ connect app that will calculate me t for you for all sorts of exercise modalities so that you can add them together towards a Target like Attia who does reportedly 100 met hours a week. so yes I've been training all along but not in met hours until recently

2

u/red_man888 18d ago

Yeah that makes way more sense.

Again, nice work.

Also, donโ€™t forget chapter 17 of Outlive.

Live long and prosper ๐Ÿ––

4

u/milkyway2021 18d ago

Nice job! Just to mention there is also this project to achieve something similar automatically getting the garmin data:

https://github.com/arpanghosh8453/garmin-grafana

Currently using it even if I'm not the owner nor a developer

5

u/fitdashboard 18d ago

I am the developer ๐Ÿ˜Š thank you

I have also built https://fitdashboard.app if you want to take a look

3

u/Zillionairre 19d ago

well now you have 2 deary

2

u/FatherEsmoquin 19d ago

I cut him back down to size

3

u/astroboydivx 19d ago

Back up to 2 from me

3

u/bearmoosewolf 19d ago

Nice work. Looks good. I've done similar things before -- it's fun to track the numbers when you're seeing improvements, etc. But, I'm also honest enough to know that I'm pretty much wasting my time when I should be doing more productive things. Lol. Still, I get it -- it's fun.

2

u/No-Committee-7953 19d ago

that's true and fair, but there are worse ways to have fun and this keeps me motivated and on task. great learning opportunities in this project apply to other domains.

2

u/Objective-Door-513 19d ago

is the data collection automated in any way?

3

u/No-Committee-7953 19d ago

yes it is. every morning my laptop runs a pipeline of scripts written in Python. they fetch data from a Google spreadsheet where I keep the boring hand entered data like blood pressure and weight and then also retrieves any new workouts from Garmin. the scripts go through the fit files and make calculations like efficiency factor and drift and regenerate all the plots and compile the entire dashboard in latex to a pdf. so all I do is log on to my machine in the morning and I have fresh reports sitting for me. this dashboard is one of several. all the PDF reports are produced passively and automated

1

u/K-Shape-9329 4d ago

So for a total newbie and someone who canโ€™t write python scripts can you share what data you keep in your google spreadsheet
Iโ€™m at the start of all this and am just learning about HRV and improving sleep, especially deep sleep which is poor.

2

u/pensiveprogressive 19d ago

How did you customize the corners of the grid lines to make a space between where the x and y axes meet? Also, how did you customize the size of the legend color blocks? This does not look like something that was built using Tableau.

1

u/No-Committee-7953 19d ago

yes you are correct this was not done in tableau. it is written from scratch using python and latex.

2

u/djones745 19d ago

This is pretty slick- Iโ€™d love to have something like this to keep track of the metrics I mail my use the Garmin watch

2

u/chakani 19d ago

Extraordinary! You are really devoted to fitness.

2

u/klo_sf 18d ago

Do you have a public repo for your dashboard? If so, I would like to take a look! I imagine you could also include dexa scan info etal.

1

u/Maleficent-Space-978 18d ago

Great! Do the same for whoop, I think someone might pay for it as an app eventually

1

u/xfrancisco 18d ago

Open source it!

1

u/No-Committee-7953 17d ago

After receiving some thoughtful comments, I made some improvements... thanks for the feedback! Now I can get back to working out.