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

Heart Rate Intraday Time Series

ANSWERED

I'm pulling this data to determine min, max and average for each day.  Worked perfectly for all of January and up to today in February.  When I go back to try and get December data, the 1 sec heart rates aren't returned.  This is the URL:

 

https://api.fitbit.com/1/user/-/activities/heart/date/2016-12-26/1d/1sec/time/00:00/23:59.json

 

The heart zones information is available:

 

activities-heart] => Array
(
[0] => Array
(
[customHeartRateZones] => Array
(
)

[dateTime] => 2016-12-26
[heartRateZones] => Array
(
[0] => Array
(
[max] => 82
[min] => 30
[name] => Out of Range
)

.........

 

...but as you can see the dataset array is empty. Is the detail data purged on fitbit after a certain amount of time? 

 

[activities-heart-intraday] => Array
(
[dataset] => Array
(
)

[datasetInterval] => 1
[datasetType] => second
)

Best Answer
0 Votes
1 BEST ANSWER

Accepted Solutions
Best Answer
0 Votes
6 REPLIES 6
Best Answer
0 Votes
Doh. Wait, you mean Fitbit can't predict what my heart rate will be 10 months in the future? 😉

Thanks!!
Best Answer

Hello @ljhardy, I am trying to do the same thing here: to get the intraday HR data in 1 sec resolution. I had a 'Client' type app work but had a difficult time wtih the 'Personal' type app. Could you please briefly show me how to go through the authentication process for a 'Personal' app? 

Your help are highly appreciated!

Best Answer
0 Votes

I am pleased to announce that my Windows Powershell based module is now available that retrieves daily per-second heartrate data and automatically produces a fully formatted daily Excel report with additional minimum/maximum/average and detailed chart visualization!

 

Read more here and I welcome your feedback and support and please remember to follow me on Twitter for updates!

 

https://twitter.com/collinchaffin/status/709090629599436800

 

Best Answer
0 Votes
Thank you for this Collin. Desperate to get average HR.
I followed your instructions but get error message when trying to install (this application requires PowerShell V%POSHVER%). Copied manually but when running import-module command (no valid module file was found).
I'd appreciate your help.
Best Answer
0 Votes
Running Vista
Best Answer
0 Votes