Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

secretk

macrumors 65816
Original poster
Oct 19, 2018
1,494
1,229
Hello guys, I am sorry to bother you with these kind of questions but I could not find information on what I need.

Background

I currently use MiBand 5 smart band that allows me to track my sleep and activity. It has good battery life and given its price it is not bad. That being said obviously it is not a smart watch and there are things that Apple Watch offer that this band does not have. The thing for me however is actually the ability to export the data gathered by the band as a CSV file that I can later use on.

Basically I want to build a python script that can define machine learning models for health data that I gather that can help me find some trends. For example correlation between stress level and sleep, between caffeine intake and sleep etc. For this to be feasible in the long run I need to be able to automate Health data export on regular basis (daily or weekly).

The problem I encounter is that I cannot export properly the Health data using the Siri Shortcuts app. If I do not narrow down the export to a source, I have double results (most probably using both the phone and the band data) and if I add filtering by source I get no results at all. And I wonder if the problem is in the Health data and the Shortcuts app or it is because I do not use the Apple watch.

I tried to export everything from the Health app but it crashes (maybe because I use iPhone 8). I also tried to use few apps for Export but they crash as well (could be bug in the apps or again the old phone).

Questions for you

  1. Have any of you (using Apple watch) have tried to use the Shortcuts app to export Health data?
    1. If yes did it work?
  2. If not then do you use some app that can export such data from the Health app that you have seen working?
Note: I do not have concerns about the Python scrip as I have Software background experience. I am facing issues with the data export.

Thanks a lot in advance to whoever answers!
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.