06-08-2018 07:34
06-08-2018 07:34
Hello,
I am looking to create an app or watch face that can report the following...
60% of my maximum heart rate for 1 hr (if this is true report it using an alert)
70% of my maximum heart rate for 30 mins (if this is true report it using an alert)
If possible I would also like to do kcal burn rate reporting...
Example 300kcal/hr (if true report it)
I am unsure the best approach for this so hopefully you guys/gals will have some examples or resource links I could steal! 🙂
Thanks for your time,
Steve
Answered! Go to the Best Answer.
Best Answer06-30-2018 17:53
06-30-2018 17:53
Well I do some work with heart rate percentage with my CooperTime (StripesTime on Github) watchface. In my case I was using it to convert heart rate to "rpm" but the math is the same for you. You can then keep track of how long it stays above a specific %.
The kcal/hr would probably be web api + math.
06-30-2018 07:49
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
06-30-2018 07:49
I don't think you'll find anything which has your exact requirements. The Moment sample demonstrates heart-rate, heart-rate zone, and resting heart-rate.
https://github.com/Fitbit/sdk-moment/blob/master/app/simple/hrm.js
It also demonstrates the activity data
https://github.com/Fitbit/sdk-moment/blob/jonb/fixstats/app/simple/activity.js
You'll need to track this data over time yourself though.
Best Answer06-30-2018 17:53
06-30-2018 17:53
Well I do some work with heart rate percentage with my CooperTime (StripesTime on Github) watchface. In my case I was using it to convert heart rate to "rpm" but the math is the same for you. You can then keep track of how long it stays above a specific %.
The kcal/hr would probably be web api + math.