home-assistant / home-assistant/android
Health Connect Blood Pressure/Heart rate instant update
- Dominant language
- Kotlin
- Stars
- 3.9k
- Forks
- 1.1k
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 81
Description
**Is your feature request related to a problem? Please describe.**
I'm currently running into issues with the current implementation of the health connect sensor for blood pressure.
### Here's the stack I'm running for context:
1. I'm taking a blood pressure measurements using my Omron blood pressure cuff, it automatically takes **3 measures 1 minute apart** in order to eliminate any fluke.
2. after it's done the machine automatically send the measurements as **3 individuals measure** to my phone through the Samsung health app, **they are sent at the same time but with their 3 respective timestamp**.
3. Samsung Health pushes those metrics to Google Health Connect **as 3 x 3 different measurements: Diastolic BP, Systolic BP and Heart Rate**
4. Home assistant grab **the latest value** according to the timestamp for each of those metric.
5. The data is stored into an influxdb
6. I self host a grafana dashboard querying the DB with the intention of sharing a graph with my practitioner
To note. I also uses a galaxy watch which measure my heart rate continuously, it is sent to health connect as a min max value per certain time periods.
### My issues with this:
- Out of my 3 measurements from the machine, only the latest one will ever be grabbed by HA since they all arrive at the same time in health connect but the sensor implementation grab the latest value
- With the heart rate taken over a timestamp, the measurement produced by the blood pressure cuff gets lost in the time period so that it doesn't match the timestamp of systolic/diastolic.
**Describe the solution you'd like**
Ideally if the 3 sensors required for this metric (heart rate, Systolic BP, Diastolic BP) could trigger an instant push to home assistant instead of grabbing it on interval of either 15 or 1min that would probably solve the issue
**Describe alternatives you've considered, if any**
I've tried using the Omron Connect App as a bridge instead of Samsung Health but when doing that, Omron connect would have to send the date to google fit and then fit to health connect. It would send the value already averaged but Google fit would also often miss some measurement for some reason. Considering that google fit is on it's way out I'd rather keep it out of the equation.
A workaround I can do to solve part of the issue is to deactivate the triple measurement feature and manually do 3 measurement but I'd need to make sure that HA has grabbed the latest value between each and it doesn't solve the conflict with the heart rate value
**Additional context**
Contributor guide
Assessment
This issue has not been assessed yet.