Hacker News new | ask | show | jobs
by tandav 800 days ago
It's annoying that there's no easy way to export data from the Apple Watch. The only option is to export complete data from the Apple Health app, which results in a large ZIP file. This file takes about 10 minutes of preprocessing before the whole archive becomes available. It would be much better if I could export only the new records, like those from the last day.
4 comments

You might find this helpful: “Share your health and fitness data in XML format”, https://support.apple.com/guide/iphone/share-your-health-dat...
Helpful. Do you know of any way to export the screen time from iphone/ipad?
Unfortunately not, although it appears to be possible on jailbroken devices. https://www.mac4n6.com/blog/2018/8/5/knowledge-is-power-usin... (found via this gist: https://gist.github.com/0xdevalias/38cfc92278f85ae89a46f0c15...)
I use health auto export and it works pretty well.

https://www.healthexportapp.com/

Sounds like a good idea for an app. I believe all that data is available through HealthKit. ChatGPT it up :)
I believe most of us sleep fewer than 3 times per day, so writing down times and doing a few subtractions and a little data entry once a week should be under 1 min/day to have everything digitised. (that said, https://xkcd.com/1205/ suggests it'd be worth spending up to 21 hours to fully automate)
It's not quite what you're asking for, but you can retrieve heath records using a Shortcut. I'm not sure if detailed sleep data is retrievable this way, but you at least can get times to bed, times woken up, etc.