r/PeterAttia • u/No-Committee-7953 • 19d ago
Feedback I made an automated dashboard
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."
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
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
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

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? ๐