Repository navigation
0.12.1 – today's resting HR in the morning, sleep quality, the advice of earlier days from the web page
Today's resting HR in the morning, sleep quality, and the training advice of earlier days from the web page
Added
- Sleep quality. Intervals'
sleepQuality(1–4) from Garmin's sleep score rating – Excellent 1, Good 2, Fair 3, Poor 4, as the official import maps it. Thanks Michael.0000. - The training advice of earlier days from the web page. Actions → The past now also offers Training advice: HRV trend and ImReady4: first what it would do – for the trend with the comparison to ImReady4, like
hrvtrend --compare– then it fills in the empty days in the background. Mainly for Home Assistant, which has no terminal. Thanks Lagarto. - With a Personal API key alone,
personal-check,setupand the web page say which data stay empty, and that adding the Garmin Connect sign-in gets them. - Which data comes from where: a table in the README (sign-in, key, both) and a column Key alone in docs/FIELD_MAPPING.md.
Changed
- Today's resting HR comes in the morning. The bridge wrote it only at the day's final read, because Garmin revises it until the day ends – with the official wellness import off, ImReady4 waited all day. Now the morning writes the night's resting HR into an empty field, and the final read replaces it with the day's, only while Intervals still holds what the bridge wrote. A value from the official import or one you typed in stays. Thanks Michael.0000.
- Hybrid reads a finished day right after the watch's first sync after midnight, as the sign-in alone does: it asks the sign-in for the time of the last sync, which the Personal API doesn't report. Before, it waited for the night's sleep or 20:00 the next day.
- The README names Garmin's Personal API next to the sign-in, and its legal note says which of the two is Garmin's official interface.
Security
- The local caches identify a Personal API key by a PBKDF2 fingerprint instead of a plain hash (CodeQL); the expiry setting is no longer named like a secret. The cached token and account pairing are renewed once after the update.
Upgrading
pip install --upgrade garmin-intervals-bridge and then autostart again, pull the new image, or update the Home Assistant app. Nothing to change.