09-30-2019 00:39
09-30-2019 00:39
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.
10-03-2019 14:51
10-03-2019 14:51
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