Tracking more data in on-watch Health Database #7696
Replies: 5 comments
-
Hi @joserebelo and @storm64! You took part in espruino/BangleApps#3275 where this was previously talked about. Maybe you'd have something to add here? |
Beta Was this translation helpful? Give feedback.
-
This probably doesn't make sense, but tracking how much the processor has been running maybe? I don't necessarily think it's a good idea - just a thought. |
Beta Was this translation helpful? Give feedback.
-
I think this is a good idea for the Health App for basic recording. Within my custom widget (will release to BangleApps when ready), I store per minute data, either averaged or otherwise, of those measures. I cater to my research program, hence the need for higher, more frequent, storing of data (1 min vs 10 min intervals). This comes at a steep price of storage (~7-14 days max). For the average user, activity type/level is fine (e.g. not worn, rest, low, moderate, vigorous). The not worn (I think) requires the heart rate sensor to be on... so you could have mislabeling here if someone turns that off. |
Beta Was this translation helpful? Give feedback.
-
@thyttan thanks! I'd tried to find that issue and couldn't! Interesting thought on processor usage... it would definitely make power usage debugging easier, but maybe it's rare enough to need that the Power Usage monitor app is enough...
Yes and no - we can use a lack of movement, and the HRM could be turned on for just a fraction of a second. Realistically if done every 10 minutes it's not going to affect power usage drastically. |
Beta Was this translation helpful? Give feedback.
-
I spotted another bug filed by @myxor: espruino/BangleApps#1516 Things he mentions there that would need storing:
I reminds me there was also a request to store the amount of time the heartrate was in one of 3 different rate bands, but that gets tricky as what do we do when the HRM sensor doesn't have a clear idea what the heartrate is? Altitude change feels like a fun one - reading altitude every minute isn't a big deal, and especially for walking it'd be a neat metric. I'd find it interesting to figure out how many times I climb the stairs a day too |
Beta Was this translation helpful? Give feedback.
-
Right now the Bangle.js Health app stores:
In 4 bytes every 10 minutes - this uses 18kb of storage per month, which is pretty minimal (Bangle.js could store 30+ years worth of data). I think there's probably scope to store a bit more data. We don't have that much available on the Bangle but we could have:
Any other ideas? If I'm changing the format of the health app I'd prefer to only make one change (as the health app will have to support analysing previously written data anyway)
Beta Was this translation helpful? Give feedback.
All reactions