10-25-2017 04:51
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

10-25-2017 04:51
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
So I finally designed a clock face that I wanted I terms of data that I want without having to touch and flip through it. Among it is the heart rate at the moment, steps and even calories burnt. I saw the best practices for HRM is to call hrm.stop when done using the sensor data. I currently have it set to run always. My steps and calories are updated when the display comes on. My question is, if I have the steps update every second using I tick and always use the hrm data, will it consume more battery?
Answered! Go to the Best Answer.
Accepted Solutions
10-26-2017 13:24
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


10-26-2017 13:24
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
@FlyBoyJIt wrote:
Now this may be a silly question but if I stop monitoring the heart rate calling .stop when the display turns off, it doesn't stop monitoring the heart rate right. It just stops making that data available to the clock face correct ?
Correct.
10-25-2017 07:19
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


10-25-2017 07:19
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Yes, you need to stop it when you're not using it.
https://dev.fitbit.com/guides/sensors/heart-rate/#peeking-the-current-heart-rate
You could do this using the Display API `onchange` event. https://dev.fitbit.com/reference/device-api/display/#interface-display-

10-25-2017 18:05
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

10-25-2017 18:05
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
@JonFitbit wrote:Yes, you need to stop it when you're not using it.
https://dev.fitbit.com/guides/sensors/heart-rate/#peeking-the-current-heart-rate
You could do this using the Display API `onchange` event. https://dev.fitbit.com/reference/device-api/display/#interface-display-
Ok great. Thats what I had in my code right now. Now this may be a silly question but if I stop monitoring the heart rate calling .stop when the display turns off, it doesn't stop monitoring the heart rate right. It just stops making that data available to the clock face correct ?

10-26-2017 13:24
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


10-26-2017 13:24
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
@FlyBoyJIt wrote:
Now this may be a silly question but if I stop monitoring the heart rate calling .stop when the display turns off, it doesn't stop monitoring the heart rate right. It just stops making that data available to the clock face correct ?
Correct.
12-27-2017 22:37
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

12-27-2017 22:37
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
would you mind sharing your code? I've been trying for a couple days to do just that with my own png in the background. I only have the clock on top but no other stats or even date. I'm using Fitbit Studio

12-29-2017 01:58
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

12-29-2017 01:58
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Sure, if you tell me what you need, I'll gladly help you out.

12-29-2017 09:47
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

12-29-2017 09:47
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
I also would like to see the code. I'm looking to get the date, time, heart rate, and steps. I'm also very new to coding so could you tell me everything you did?

12-29-2017 18:16
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

12-29-2017 18:16
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
You can see some of that in the tutorials on my website: http://OziByte.com/

