Health Auto Export (Apple)

From Personal Science Wiki
Jump to navigation Jump to search

This article is a stub. You can help the Personal Science Wiki by expanding it.

Tool Infobox Question-icon.png
Related topics Sleep tracking, Activity tracking, Heart rate tracking, Body temperature tracking

Linked pages on this wiki
Projects (0),

People (0)


Health Auto Export[1] is an iOS app that allows exporting data from Apple Health in a variety of formats and to different services. It includes exports in CSV & JSON formats that can be exported to iCloud, Google Drive, Dropbox and Home Assistant. Additionally, it allows sending data via MQTT protocol and a more generic REST API.

As of April 2024, the app is still actively maintained and developed, there is an active user community on Reddit[2]. While the app is not open source, there is also a GitHub repository for documentation where issues can be reported as well[3].

Example use cases[edit | edit source]

Here are some example use cases for the app for different personal science use cases.

Regularly exporting health metrics via a REST API[edit | edit source]

Bastian Greshake Tzovaras uses the app for regularly exporting a number of health metrics to his "personal API"[4] endpoint to power the footer in his website[5]. The settings he uses are:

  • Automation Type: REST API
  • Data Type: Health Metrics, selected metrics: Apple Sleeping Wrist Temperature, Apple Exercise Time, Apple Stand Hour, Body Temperature, Environmental Audio Exposure, Heart Rate, Respiratory Rate, Resting Heart Rate, Sleep Analysis, Step Count, Time in Daylight, Walking + Running Distance
  • Aggregate Data: True
  • Export Format: JSON
  • Period: Today
  • Aggregation: Days
  • Sync Cadance: 15 minutes

With this settings, it produces the data as you can see here, which effectively gives one aggregated value per metric for the current day, which works well for displaying the data for the current day. To be able to see if the automation keeps running (and make the running more likely), he set up a Widget on the iOS homescreen to monitor and trigger the task in case it gets stale for iOS memory reasons.

References[edit | edit source]