Skip to main content

HRV Metrics

This message contains current values of HRV metrics. Backend starts sending this message to the frontend after session length reaches 30 seconds. After that backend sends this message to the frontend after receiving each image frame from the frontend.

Example:

{
"messageType": "HRV_METRICS",
"data": {
"ibi": 123.0,
"rmssd": 45.0,
"sdnn": 78.0,
"stress_index": 121.23,
"stress_label": "NORMAL",
"rr": [
666.6666666666667,
600.0,
666.6666666666667,
....
],

}
}
FieldTypeNameUnitDescription
ibidoubleInterbeat intervalMilliseconds (ms)Current value of IBI metric
rmssddoubleRoot Mean Square of Successive Differences between normal heartbeatsMilliseconds (ms)Current value of RMSSD metric
sdnndoubleStandard deviation of all normal to normal R‐R (NN) intervalsMilliseconds (ms)Current value of SDNN metric
rrListR-R Intervals - The difference in ms between PPG peaksMilliseconds (ms)List with double values of RR Intervals
stress_indexdoubleCalculated Stress IndexNormalized unitCurrent value of Stress Index from HRV Microservice
stress_labelStringStress Label based on Stress IndexCategoricalCurrent label of Stress Label from HRV Microservice

Possible values of stress_label field:

stress_labelDescription
LOWLow stress level
NORMALNormal stress level
ELEVATEDElevated stress level
VERY_HIGHVery high stress level

Map of Stress Index <> Stress Label:

stressStatusStress Index (SI)
LOWSI <= 50
NORMAL50 < SI <= 150
ELEVATED150 < SI <= 700
VERY_HIGHSI > 700