Show HN: Every Breath You Take – Heart Rate Variability Training (github.com)
Through controlled breathing it is possible to regulate your body's stress response. I've built an app to measure and train this effect with a Polar H10 Heart Rate monitor.
With every breath you take, you can set the pace of your breathing rate, measure your breathing control with the chest accelerometer, and see how heart rate variability responds.
133 comments
[ 3.3 ms ] story [ 348 ms ] threadRight now it only works with the Polar H10, but it would be possible to adapt it if other chest strap monitors have an accelerometer in them.
There’s a couple of HRV apps for iOS though.
I also found that the results don’t match measurements with a HR strap very well, at least for me.
https://www.nature.com/articles/s41598-022-27247-y
So if you breathe in a more regular way, it's also normal that your heart rate will vary a little less, since it follows your breathing cycle.
There's definitely also an effect where slow, regular respiration can help with anxiety. But I'm not sure how much of what the tool is measuring is really tied to stress response, versus just demonstrating this direct inspiration/heart rate correlation
At certain points in my digestion, my HR spikes, anxiety spikes, impending doom sensations occur.
These are also sensations that happen with pre-stroke SNS responses.
Rest and digest, indeed!
Anyways the thing is that I get super tired before the pain in my stomach is even noticed. I've become attuned to it where it now gives me anxiety when it comes on.
Including anxiety.
But HR is higher during inspiration.
It seems CRC raises HR during inspiration.
From https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4052709/ "The increase in HR during inspiration is referred to as respiratory sinus arrhythmia (RSA) and the increase in BP as Traube–Hering waves."
It's magic. Like having an accurate anxiety metric, even if the anxiety is purely unconscious.
FWIW my Garmin watch reports a breath per minute metric. Dunno if this is what you were alluding to.
Depending on your answer this leads to the follow-up of why not use that measure?
The OP mentions “unconscious anxiety” which is confusing me, wondering if they are using a questionnaire or something else neat.
If “unconscious anxiety” is being diagnosed based solely on HRV that‘s not how correlation works.
When I mean unconsciously, I mean being unaware in that moment. However reflective hindsight reveals not only correlations in habit, behaviour, and so on but also in hindsight from a calmer frame of mind you can be aware of just how anxious you had become.
Solely based on HRV would be daft. I'm saying it correlates strongly with many other indicators which together are an indicator of my anxiety, realised or not, at that moment.
Ad HRV is a number and other indicators are not, its a great way to have a more quantitative measure which I've found is very helpful. Anecdata and qualitative measures sure, but it works for me.
I don't expect anything else for a device I wear loose most of the time (and snug+proper placement when working out) yet it still gives me eerily accurate metrics to work with.
I wash my hands more, engage in displacement activities, avoid unfamiliar situations or those that trigger perceived emotional stress or threat.
I become snippy and agitated, again, without being conscious of it.
My HRV matches my partners perception of my anxiety levels, which is a reliable measure imho. When it becomes unbalanced and I reflect, I can see that the other signs have ramped up.
If I'm not aware, or told, my HRV tells me and saves anyone pulling me up.
If I'm anxious during the day, if I realise it or not, my HRV is unbalanced.
I've seen apps that somehow read what looks like an ecg from the h10, so maybe there's further pretty pictures to be made. Not sure why they'd be helpful, but this is certainly cool to look at.
It's amazing how much information this device throws off, and it all usually gets simplified down to Heart Rate only.
Thanks at the very least for a sample project that I can use to mess with some data acquisition in the future.
How do you calculate HRV from the series of heart rates? Is it taking the min and max from the latest cycle?
The Polar H10 connects to your computer via Bluetooth?
https://www.movesense.com/showcase/
I do need to account for 3 other variables:
+ did i drink alcohol that night
+ did i eat a large meal right before bed
+ did i go on a long run (20+ minutes) that day
Those 3 significantly decrease my HRV (alcohol the most). On the other side, not eating within ~6 hours of bedtime significantly increases my HRV, and moderate exercise increases my HRV.
Curious what others are seeing? I have measured with watches and rings - both which only measure at night.
- alcohol --
- long run or ultra race --- (takes a week to recover)
- early to bed ++
- short to moderate run +
my resting heart rate, sleep respiratory rate, and HRV are highly correlated
failed at installing, Collecting pyobjc-core==9.2 Downloading pyobjc-core-9.2.tar.gz (923 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 923.8/923.8 KB 42.8 MB/s eta 0:00:00 Installing build dependencies ... done Getting requirements to build wheel ... error error: subprocess-exited-with-error
error: subprocess-exited-with-error× Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
Looks like this depends on macOS.
Is there a list of health monitoring devices that can be read programmatically without requiring proprietary software or uploading data to the cloud?
For some reason, I thought this kind of device would attract a lot of hackers given the platform capabilities but I could not f8nd any other documented attempt except the really thorough iFixit (destructive) teardown : https://www.ifixit.com/Teardown/Oura+Ring+2+Teardown/135207
Example; I get bigeminy PACs, which apple watch flags as possible afib when there is noise that obscures the p-wave. But my cardiologist has seen the pattern on a more sensitive device and says it’s not afib.
Heart rate is not enough. You need to look at the QRS and P wave via ECG.
There are quite a few products based on Movsense (see the showcases) but my experience with two of them is mixed. There seems to be way too much "secret sauce" involved in the processing and presentation of the results. This project looks very interesting from that perspective, but I'm unsure if it would work for the 24x7 monitoring for Cronic Fatigue I'm looking for. (never mind that it's not an app yet :-)
1 https://www.movesense.com/
2 http://www.muscleoxygentraining.com/2020/06/movesense-medica...
Companies that use Movesense sensors as a platform to develop their own commercial products naturally have their own ways of analyzing and visualizing the data they measure with the sensor. In commercial projects, companies rarely publish the algorithms they have developed, but some such cases can be found in the Movesense community.
As it comes to sensor accuracy & scientific projects, here is a list of publications and validation studies: https://www.movesense.com/publications/
Best regards, Terho Lahtinen /Movesense
EDIT: Seems like a “no”: https://support.polar.com/en/support/can_i_record_my_heart_r...
I made a custom iOS app for my wife and I to monitor our workouts using their SDK and I really happy with it
I developed a breathing app (https://www.lungy.app) last year - we're actually doing a study at the moment looking at how heart rate variability changes with breathing exercises. We're using a polysomnograph for gathering the data at the moment - using a Polar H10 may be much simpler. Is it possible to get the raw ECG lead data, or is it just BPM at each time step?
It actually looks much smoother than the trace we get from respiratory inductance plethysmography...
> The blue circle shows your breathing control
What does this mean?
What should I be looking at?
What should I be aiming for with HRV?