Commit Graph
5 Commits
Author SHA1 Message Date
Gideon ZenzandJosé Rebelo 8c0b8934ee Require minimum 7 days of overnight HRV data before calculating baseline status to prevent unreliable POOR status in first few days 2025-12-20 19:07:34 +01:00
Gideon ZenzandJosé Rebelo 9df32ad1ac Generic provider creation
Garmin algorithm implementation
POOR status addition
Caching for performance
Application to both Huami and Ultrahuman devices
2025-12-20 19:07:34 +01:00
Gideon ZenzandJosé Rebelo c0f5da073e Add HRV summary computation for Huami/Zepp OS devices
Implements HuamiHrvSummarySampleProvider to compute HRV summary statistics
on-demand from per-minute HRV value samples. Calculates weekly averages,
last night values, baselines, and HRV status (LOW/UNBALANCED/BALANCED).

This enables full HRV dashboard and status screen functionality for devices
that only provide raw HRV measurements without pre-computed summaries.

- Created HuamiHrvSummarySampleProvider with computed summary logic
- Added getHrvSummarySampleProvider() override in HuamiCoordinator
- Computes 7-day rolling average, last-night stats, and 14-day baselines
- Works retroactively with existing historical HRV data
2025-12-20 19:07:34 +01:00
Gideon ZenzandJosé Rebelo d10ad8b650 Finalizing device temperature and adding device location implementation 2025-10-20 00:38:34 +02:00
Gideon ZenzandJosé Rebelo d869eae55c Add DeviceKind (#5382)
Adding DeviceKinds to DeviceCoordinators as introduced by https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/5346

Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/5382
Co-authored-by: Gideon Zenz <gzenz@gmx.de>
Co-committed-by: Gideon Zenz <gzenz@gmx.de>
2025-09-23 23:23:20 +02:00