Unofficial archive. This is a read-only, community-run archive of the Apple Support Community. It is not affiliated with or endorsed by Apple Inc.

How to get the data (de-doubled) displayed in the Health App ?

I have tried during too many hours to extract for a daily shortcut, from the Health App, the daily number of steps, the daily distance and the daily energy used for this activity.

as I am using but not systematically together and Apple Watch Ultra 1 (IOS 26.6) and and iPhone 15ProMax (IOS27.0.1), I wanted to get from the health the App it displayed figures as the numbers are already de-doubled.

unfortunately, whatever I use, I get a double number of steps, a double distance. The energy looks correct.

I tied to get help from different AI, but at the end it appears impossible to get a simple copy of the Health app numbers.

Any idea? Does someone has a solution to get what I cannot get ?

Thanks


The following are the instructions submitted to the Shortcut App :


Make a shortcut that will display automatically every day at 22:00 local time

  1. Name : Daily 🚶‍♂️‍➡️ activity - date and time of the day (dd mmm yyyy format for date and 24h format for time)
  2. The number of today steps recorded in the health App
  3. The distance for today steps recorded in the health App
  4. The energy used today for these steps recorded in the health App 

all numbers as integer (no decimal)

Add “km” unit after distances

add “kcal” unit after energy

Show the results in the middle of the screen, not on notification

8 replies

Hi hypersix,


You provided an excellent clue : the fact that both the iPhone and the Apple Watch are recording your activity. I analyzed my own data and I found that the data displayed in the Health app is only the one from your primary device (the one at the top of the list in Data Sources in Activity > Steps > Data Sources & Access).


In my case, my primary device is the Apple Watch and my secondary device is the iPhone. My activity in Health is only the data from the Apple Watch, even if my iPhone recorded a higher activity. I looked at a day I went grocery shopping pushing a shopping cart ; my iPhone recorded a lot more activity than my watch, due to the fact that my hands were not moving as much, as they were pushing the cart. Yet the higher activity from the iPhone was not taken into account in the activity in Health.


The solution for the shortcut is to modify every Find Health Samples action to filter on a specific device (in addition to filtering on dates). In my case, considering that the Apple Watch is my primary device, I added the filter for my watch:



After adding the device filter, the shortcut output and the data from Health matched perfectly.


There is no need to use the shortcut I sent you. You can modify your original shortcut to add filtering on a specific device. Your original shortcut had 6 Find Health Samples actions. You’ll need to modify each of them.

When I build the shortcut from scratch (not using Siri AI), I'm not getting duplicated measurements that result in the doubling of the summarized data. (I also have an Apple Watch that I wear all day long.)


Could you post a link to the shortcut you got? (Long-press the shortcut, choose Share > Copy iCloud Link and paste the link in your reply here.) I'll take a look at it.

Hi hypersix,


Your shortcut did not install properly on my device. I’ll chalk that up to differences between iOS 26 and iOS 27. Yet I was able to see what the shortcut does.


I recreated it from scratch: Daily Activity. (Well, just the steps count for the time being.) It retrieves correctly my personal data from yesterday and today.


Could you download it and test it? If it works correctly on your end, I’ll update it to include the Distance and Energy.

6x6 thanks so much. I really appreciate what you are doing.

i could download and make it running.

the today’s steps are correct (not doubled)

but the yesterday are not (they are doubled)… cf. screenshots.

I will be out of town for the next 5 days. So I maybe slow in our exchange but I will still be checking.

thanks again. Take care and nice coming week end.

I went jogging today and it made me remember the reply I have sent to you earlier. This morning I went out, but without my watch. So the 1231 steps were recoded by the iPhone.

This afternoon, I was wearing my watch and my phone together.


So when I was back home, I ran your shortcut again. 22 211 steps today compared to the 20450 yesterday.

Checking the Health app, I got 12 042 steps.

So definitely it is the double, on both today and yesterday.

(Screenshots).

Sorry.


Thanks 6x6.

Yes, i have read that in several places and confirmed by several IA.

my only remaining question :

why it is not possible to get the Health app activity summary data, as the app de-double the information from both Watch and iPhone ?

I give up on this shortcut. I do not have enough consistency regarding the use of my watch/iphone.

Anyway. Thanks again for your time and effort to help me here.

Take care.

hypersix wrote:
why it is not possible to get the Health app activity summary data, as the app de-double the information from both Watch and iPhone ?

That was a decision Apple made. I can’t really explain it.


Have a nice weekend!