06-08-2022 19:53
06-08-2022 19:53
When I call heart rate API like below, the dataset may sometimes be empty(I think it's maybe often).
https://api.fitbit.com/1/user/-/activities/heart/date/2022-06-09/1d/1sec/time/11:32/11:33.json
I thought it was a synchronization problem and check the fitbit app, but the heart rate data is normal.
Can't it be in a short time? or is there minimum time period?
Answered! Go to the Best Answer.
06-08-2022 21:30
06-08-2022 21:30
You can get the heart rate in real time, but not using the Web API as in your first post. Web API data is only updated when the watch syncs, so can be 20+ minutes behind.
06-08-2022 21:26
06-08-2022 21:26
Is it a synchronization problem between the fitbit device and the server?
If it is, how long does it take to synchronize with the server?
Can't I check the heart rate in real time?
06-08-2022 21:30
06-08-2022 21:30
You can get the heart rate in real time, but not using the Web API as in your first post. Web API data is only updated when the watch syncs, so can be 20+ minutes behind.
06-08-2022 22:08 - edited 06-08-2022 22:09
06-08-2022 22:08 - edited 06-08-2022 22:09
@Gondwana Thank you for answering
then how to get the heart rate in real time? using the Device API?
06-08-2022 22:22
06-08-2022 22:22
Yes. Device to companion to server.