Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

fequency, batch and heartRate result value of the "Heart-rate API"

I tried to develop a HRV (rMSSD) measurement APP, but i struggle with the sampling rate and accuracy of the given "Heart-rate API".


Initial finding:
There is no access to the R-R intervall by the device API. So the idea is to use instead the given HeartRate value from the "Heart-rate API".


Further issues, occurred during the test phase with my Ionic device:

1.) the frequency of the "Heart-rate API" seems to be limit at about 1Hz, even if there is specified a higher frequency and batch size in the API call!
@Fitbit ... can you confirm this limitation of the API for that sensor ?

 

2.) according to the API the result value "heartRate" should be a "Float32Array" value, but i recognized that the value precision is limited to integer.
@Fitbit ... is there a a possibility to fetch a more accurate value from that API ?


Unfortunately issue 1.) and issue 2.) does not allow to calculate useful and correct HRV (rMSSD) measurements.

 

 

@Fitbit ... does there exist some plans or road-maps to enhance this API

b.r.

Best Answer
1 REPLY 1

Unfortunately, the heartRate is only a number.

https://dev.fitbit.com/build/reference/device-api/heart-rate/#interface-heartratesensorreading

 

The Float32Array refers to the batched sensor readings.

You're correct that the sample rate is only 1hz.

 

I'd recommend submitting a feature request with details of your intended usage. https://community.fitbit.com/t5/Feature-Suggestions/idb-p/features/label-name/sdk

Best Answer
0 Votes