Apple Watch athletes get no HRV readiness: hrvSDNN is never read
Summary
Enhancement / documentation gap rather than a defect — the current behaviour is defensible, but its consequence is invisible to the athlete.
Section 11 reads only wellness["hrv"] (rMSSD), at sync.py:3431, 3827, 3834, 3843, 3858. It never reads wellness["hrvSDNN"]. Apple Watch produces SDNN, so athletes on Apple hardware get hrv: unavailable in readiness_decision indefinitely, with no indication why.
On my athlete profile:
| Field | Records |
|---|---|
hrvSDNN |
1,442 (~4 years) |
hrv (rMSSD) |
1 |
Readiness ran on ACWR alone — 1 of 5 signals — while four years of HRV data sat in the wellness records unread.
Why this is not simply "read hrvSDNN as a fallback"
I measured the SDNN series before proposing anything (n=22 at the time):
- CV 18.5% (vs 5.4% for
restingHRon the same athlete) - median day-over-day change 12.3%; 8 of 21 days swung >20%
- the existing "HRV ↓>20% vs 7-day baseline" rule would fire on 20% of days
Apple's SDNN is an opportunistic spot-check, not a standardised overnight measurement, so the variance is largely sampling artifact. A blind fallback would produce an alert firing every fifth day and a Recovery Index dominated by HRV noise, since RI divides an 18.5%-CV numerator by a 5.4%-CV denominator. That would be worse than no signal.
Note also that _is_valid_hrv (sync.py:7012) accepts 10–250 ms, which SDNN values pass — so a naive fallback would look like it was working.
Suggested resolution, in preference order
- Document it. State in SETUP_ASSISTANT.md / SECTION_11.md that Apple Watch HRV is not usable and that readiness will run degraded. Right now the athlete has to read
sync.pyto discover this. - Surface the reason. When
hrvis null buthrvSDNNis populated, emit a distinct status — e.g."status": "unavailable_wrong_metric"— so the AI coach can explain the gap instead of silently reporting one fewer signal. - Optional opt-in fallback, off by default, config-gated (e.g.
hrv_source: sdnn), with a widened trigger threshold to account for the noise, and the basis surfaced in the output the wayzone_basisalready is.
Workaround for other Apple Watch athletes
IntervalsWellnessSync captures overnight RR via HKHeartbeatSeriesBuilder and computes true rMSSD into the hrv field. Worth noting in the docs — but it only builds forward: HealthKit does not retain heartbeat series for past nights, so historical rMSSD cannot be reconstructed. A 4-year backfill attempt populated hrvSDNN only, and the athlete waits 7 days for a usable baseline and 28 for a stable one.
Verified against v3.122.
Claude generate this. I can follow the. line of reasoning and I have no idea if this is good or just a waste of time.
Fixed in v11.58 / sync.py v3.126.
readiness_decision.signals.hrv now carries the optional reason "rmssd_missing_sdnn_available" when the latest wellness record has no usable rMSSD but does carry SDNN. Omitted otherwise. No readiness behaviour changes. Documented in SECTION_11.md, SETUP_ASSISTANT.md and the README.
Two notes. hrvSDNN was already read, exposed as wellness_data[].hrv_sdnn since v3.85, so the gap was transparency rather than ingestion. And a new status value would break signal_summary, since the counters match statuses by exact string, so the explanation sits beside status instead.
No SDNN fallback. SDNN and rMSSD are different measures and are not interchangeable. The repair belongs upstream, before the data reaches Intervals.icu.