You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Feature request: import deferred Apple Health cycling distance, running dynamics and rowing types #1415
Thanks for HealthLog. The Apple Health export importer (parser revision 4, v1.48.1) currently lists these types in HK_QUANTITY_TYPE_DEFERRED, so they're skipped on every import:
Cycling:HKQuantityTypeIdentifierDistanceCycling (about 316k records in my export, 2018 to now)
Running dynamics:RunningSpeed, RunningPower, RunningGroundContactTime, RunningVerticalOscillation, RunningStrideLength (about 55k to 135k records each)
Rowing:DistanceRowing, RowingSpeed
Would you be open to mapping these as measurement types? Cycling distance is the most useful one for me, as context next to VO2 max and training load. Running form and rowing would be nice to have for trend charts.
Suggested units, matching what Apple uses: distance in m or km, speed in m/s, power in W, ground contact in ms, vertical oscillation in cm, stride length in m. Aggregation would be sum for the distances and mean for the rest.
I'm happy to open a PR along the lines of my effort-score branch (new enum values with an idempotent ADD VALUE IF NOT EXISTS migration, mapping entries, i18n and docs) if you'd take it.
@camiracode Yes, please, a PR for these is welcome. Cycling distance, the running dynamics and the rowing types are all still on the deferred list in apple-health-mapping.ts.
One thing first: let's get #1416 merged, because it adds measurement types the same way and the migration numbers have moved on main since (0510 and 0511 are taken by 1.48.2). Once #1416 is in, branch from the new main and take the next free migration number. The notes on #1416 apply here too.
@camiracode These are on the branch for 1.49.0 and ship with that release. Cycling and rowing distance, rowing speed and the running dynamics (speed, power, ground contact time, vertical oscillation and stride length) are stored instead of skipped, so there's no need for a separate PR for them. Once 1.49.0 is merged, the :edge image has it too.
Cycling and rowing distance, rowing speed and the running dynamics (speed, power, ground contact time, vertical oscillation and stride length) are stored now instead of skipped, and your workout effort work from #1416 is in the same release, with the logged score and the watch's estimate kept apart. Thank you for both. If anything looks off against Apple Health once they come in, tell me here.
Activity
MBombeck commentedon Nov 19, 2026
@camiracode Yes, please, a PR for these is welcome. Cycling distance, the running dynamics and the rowing types are all still on the deferred list in
apple-health-mapping.ts.One thing first: let's get #1416 merged, because it adds measurement types the same way and the migration numbers have moved on main since (0510 and 0511 are taken by 1.48.2). Once #1416 is in, branch from the new main and take the next free migration number. The notes on #1416 apply here too.
MBombeck commentedon Nov 22, 2026
@camiracode These are on the branch for 1.49.0 and ship with that release. Cycling and rowing distance, rowing speed and the running dynamics (speed, power, ground contact time, vertical oscillation and stride length) are stored instead of skipped, so there's no need for a separate PR for them. Once 1.49.0 is merged, the
:edgeimage has it too.MBombeck commentedon Nov 23, 2026
@camiracode 1.49.0 is out: https://github.com/MBombeck/HealthLog/releases/tag/v1.49.0
Cycling and rowing distance, rowing speed and the running dynamics (speed, power, ground contact time, vertical oscillation and stride length) are stored now instead of skipped, and your workout effort work from #1416 is in the same release, with the logged score and the watch's estimate kept apart. Thank you for both. If anything looks off against Apple Health once they come in, tell me here.
feat(measurements): store Apple cycling, rowing and running quantities