Beeminder Forum

Apple Health: Double counting steps


I get step data from both my watch and my phone, and when the iOS app adds datapoints it seems to sum the two rather than de-duplicating them. In Health I see about what I would expect as far as totals:

Here’s the data from my watch & phone:

Note that the Beeminder datapoint is the sum of the two for today (October 10), though it should be 5,359:

It’s fairly common to have multiple apps/devices contributing data to health, so I’d be surprised if there isn’t an API in HealthKit to get the de-duplicated data.


@apb @dreev any bandwidth to look into this? My goal is basically useless at this point. I don’t want to double it because of the high variance, but it’s not tight enough to be motivating right now.


How are the data sources set up on HealthKit?


I’m not sure what you mean, can you give me more info on what you’d like me to check?


When you go Data Sources and Access what does this screen look like for you ?


Gotcha. Here’s mine:

Not sure where the 2nd watch came from, but you can see that it’s getting data from my phone (N2) and my watch.


The two apple watches seem strange, did you have another apple watch (previous version)? You can click on each of them to see the history of each source.
I don’t think there is any de-duplicating being done on HealthKit, it just takes the first source.


Hmm, I think you’re right:

I can change the priority but I can’t see a way to tell it to draw from only one of the devices. It looks like there’s an API that handles merging based on priority:


Idea :slight_smile:
A) install Fitbit and have it get steps from Health
B) make a new beeminder goal to get data from Fitbit


Heh, yeah, I’m not going to do that. Adding yet another service for something that I feel the Beeminder app should do on its own is a bridge too far for me. It would be great if this worked out of the box, but if it’s too complex then I’ll probably just archive this goal for the time being.


Does that work? I haven’t tried it in a while, but I thought fitbit only got data from the phone and not all apple health (like the watch.)


You are probably right. It seems Fitbit can you use the phone’s sensor directly (only). It will not read from the Health app.

Googling actually finds a paid app that bridges the two >> Health App to Fitbit Sync by Bickster LLC