TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Life Monitor

92 pointsby kkleindevalmost 3 years ago

9 comments

tra3almost 3 years ago
I got myself a Garmin watch at the beginning of the year, to collect various metrics automatically. The watch uses the built in heart rate monitor&#x2F;sensors to derive various data specifically:<p>- sleep hours (including the sleep phase type: deep sleep etc)<p>- stress amounts (via heart rate variability)<p>- energy levels (&quot;Body battery&quot; in Garmin speak)<p>I&#x27;ve been feeling quite drained the last couple of weeks so I wanted to see if the data I&#x27;ve collected over the last 3 months or so would match what I was subjectively feeling.<p>Interestingly Garmin does not provide any functionality to analyze long term trends, but there&#x27;s an open source project to extract data from Garmin [0].<p>I used the tool to generate some graphs [1] that, do indeed, seem to indicate a rising level of stress over the last few months.<p>I&#x27;m going to try the moving average next to see if it&#x27;s better than the naive approach I used, but ultimately my goal is the same as author&#x27;s. I want a warning to sound off based on sleep&#x2F;stress&#x2F;energy levels trends. I have a tendency to overdo things sometimes. My theory is that a day off taken before some critical level is better than a week off after the burn out.<p>Here&#x27;s the PR with the Jupyter notebook that generates the graph in the link based on Garmin Data [2].<p>[0] <a href="https:&#x2F;&#x2F;github.com&#x2F;tcgoetz&#x2F;GarminDB" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;tcgoetz&#x2F;GarminDB</a><p>[1] <a href="https:&#x2F;&#x2F;imgur.com&#x2F;a&#x2F;Q7MJqMB" rel="nofollow">https:&#x2F;&#x2F;imgur.com&#x2F;a&#x2F;Q7MJqMB</a><p>[2] <a href="https:&#x2F;&#x2F;github.com&#x2F;tcgoetz&#x2F;GarminDB&#x2F;pull&#x2F;155" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;tcgoetz&#x2F;GarminDB&#x2F;pull&#x2F;155</a>
评论 #31506235 未加载
webmavenalmost 3 years ago
<i>&gt; Yet, this tendency for myopia and prioritization of spectacle seems not align with many interests of mine. I find that a lot of the most significant levers on my life, both good and bad, seem to rely on compounding, on consistency and longer time periods.</i><p>This is quite insightful. It applies even more so to groups of people collectively (I&#x27;m sure I need not point out specific instances). All the more so when the data is noisy, and a bit of selectivity in setting the date range for analysis can result in the trend being minimized or reversed.<p>A moving average graph can help dispell this illusion, but the more aggressive the averaging the more it becomes a trailing indicator. One way to adjust for this is to use two moving averages (one longer one shorter) and plotting the difference between them. That will give you a fairly clear idea of whether the trend you&#x27;re looking at is getting stronger, weaker, or reversing. It is still a trailing indicator but the trend-of-the-trend knowledge helps adjust for that.
评论 #31479759 未加载
nicboualmost 3 years ago
You might want to look into my timeline thing [0]. At it&#x27;s core, it&#x27;s a database of Entries with different schemas.<p>- Input: There&#x27;s an API you can add Entries with, and Sources that automatically pull them from somewhere.<p>- Output: There&#x27;s an API you can query Entries from, and Destinations that automatically export them.<p>It&#x27;s meant to be more like a diary and less like a dashboard, but once you have the data in a single database, it&#x27;s easy to do other things with it.<p>A while ago, I made a map of my recent geolocation. It took maybe an hour, and allowed my dad to follow me during a trip. I wanted to make a maintenance schedule view for my vehicles, a budget view, and a few other things.<p>[0] <a href="https:&#x2F;&#x2F;github.com&#x2F;nicbou&#x2F;timeline" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;nicbou&#x2F;timeline</a>
Archelaosalmost 3 years ago
The cumulative distance of running since 1 January of each year is not particularly meaningful. Instead, the cumulative distance in the previous 365 days for each day would be a better metric. In such a diagram it would be easier to spot in which periods the performance is above or below avarge (or any other benchmark).
评论 #31510611 未加载
mdrznalmost 3 years ago
Love stuff like this, even tried logging a full year in Excel in 15min increments (a project seen here on HN), but nothing was ever as complete or automatable as I needed it.<p>I have Google Fit on my phone, I have a MiBand which tracks steps + heartbeat + sleep stats, is there a way to import these daily? And generate stats from them?
评论 #31503169 未加载
datenealmost 3 years ago
I&#x27;ve been working on a platform that allows you to log and track daily events <a href="https:&#x2F;&#x2F;www.simplejournal.online&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.simplejournal.online&#x2F;</a><p>I&#x27;ve been more focused on collecting rather than processing the data and giving automated feedback, like what you&#x27;re doing with your telegram bot. I really like that aspect. Very cool setup
评论 #31502930 未加载
评论 #31502792 未加载
评论 #31502586 未加载
mxstbralmost 3 years ago
I was very impressed by Felix Krause, who collected more than 380.000 data points over 3 years about his life in a single database and shared many of his learnings publicly: <a href="https:&#x2F;&#x2F;krausefx.com&#x2F;blog&#x2F;how-i-put-my-whole-life-into-a-single-database" rel="nofollow">https:&#x2F;&#x2F;krausefx.com&#x2F;blog&#x2F;how-i-put-my-whole-life-into-a-sin...</a>
imdsmalmost 3 years ago
Stressful year, Kevin. Hope it gets easier!
kyriakoselalmost 3 years ago
You can use Terra (tryterra.co) to access your garmin data !