Commit Graph
213 Commits
Author SHA1 Message Date
Thomas Kuehne 205010b24b remove no-longer needed GenericHrvSummarySample 2025-04-20 01:26:54 +02:00
Thomas Kuehne ff761cf1e4 Ultrahuman optimizations
- fetch only new records instead of all records while the device is connected
- added PREF_POWER_SAVING support (disables / enables SpO2 sensing)
- added HRV visualization
- unified and secured Intent handling
- added BATTERY_CHARGING_FULL support
- honour PREF_TIME_SYNC in onSetTime
- various clean-ups
2025-04-20 01:12:57 +02:00
Thomas KuehneandJosé Rebelo c7f236790a Upgrade Gradle from 8.10.2 to 8.13
includes prerequisites:
- pcom.android.tools.build update from 8.6.1 to 8.9.1
- compileSdk update from 34 to 35 (targetSdk and minSdk are unchanged)
- .gradle and .java housekeeping fixes to reduce build warnings
2025-04-17 18:16:10 +00:00
José Rebelo 1732564c1e Zepp OS: Voice Memos 2025-04-05 21:06:10 +01:00
Me7c7andJosé Rebelo f26c973d3a Huawei: Save stress data to database and display to users 2025-03-30 19:25:03 +00:00
José Rebelo 849a7dc996 Zepp OS: Fetch sleep stages and score
Newer Zepp OS devices report sleep sessions separately, which include
accurate sleep stages, and a sleep score.

- Persist this data raw, since we don't know how to fully process it
- Overlay (and prefer) this data over sleep samples

Devices that do not support these such as the Mi Band 7 reply with
an unsuccessful fetch response, which is fine.
2025-03-23 15:56:11 +00:00
a1cdfe8c89 Add experimental support for Ultrahuman Air smart ring (#4602)
This adds basic support for the Ultrahuman Air smart ring: https://www.ultrahuman.com/  (#4573)

Working:
- [x] pairing
- [x] fetching historic records
- [X] charting HR
- [x] charting blood oxygen
- [x] charting temperature
- [x] charting activity
- [x] charting steps
- [x] charting stress
- [x] activating air plane mode

Protocol documentation can be found in Freeyourgadget/website#86

HRV is fetched but not charted as the device has no HrvSummarySampleProvider.

Co-authored-by: Thomas Kuehne <thomas.kuehne@gmx.li>
Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/4602
Co-authored-by: ThomasKuehne <thomaskuehne@noreply.codeberg.org>
Co-committed-by: ThomasKuehne <thomaskuehne@noreply.codeberg.org>
2025-03-20 20:07:20 +00:00
José Rebelo 00b5420fbe Garmin: Add nap support 2025-03-08 18:03:15 +00:00
Me7c7 fdea3b7955 Huawei: Parse more workout information. No UI. 2025-01-31 20:04:33 +02:00
Me7c7andJosé Rebelo cfceada4c5 Huawei: retrieve SpO2 data during workout. No UI. 2025-01-27 17:32:03 +00:00
José Rebelo 4889ed8ed5 Mijia LYWSD: Handle and persist live and historic data samples 2025-01-12 17:22:28 +00:00
Arjan Schrijver a02f5aaf82 Colmi R09: Add support for temperature data 2024-12-23 21:15:05 +01:00
José Rebelo 199a6835a2 Garmin: Add intensity minutes 2024-12-15 21:22:29 +00:00
Martin.JM 600629e7ed Switch from kcal to cal in samples
This allows for higher precision in devices that support it.
2024-12-15 21:10:05 +01:00
Martin.JM d807909b25 Huawei: Add calories support
These devices provide calories instead of kcal, which are rounded
per-sample, resulting in a slight difference from what is shown on the
device itself.
2024-12-15 21:08:49 +01:00
José Rebelo 69847c19ff Xiaomi-protobuf: Persist heart pulse samples 2024-12-06 16:45:54 +00:00
Benjamin Swartley 4f30648886 Fossil/Skagen Gen. 6 Hybrids: Add SpO2 Support 2024-11-30 15:45:45 -05:00
Me7c7andJosé Rebelo 7b8f02ec29 Huawei: Collect and process more workout data: HRZones, RunPaceZones 2024-11-26 21:54:02 +00:00
José Rebelo c52fd53ebd Garmin: Persist sleep score 2024-11-24 19:44:18 +00:00
José Rebelo b722969a68 GBDaoGenerator: Bump version 2024-11-24 16:50:51 +00:00
José Rebelo 60ab38db57 Garmin: Resting metabolic rate 2024-11-24 16:50:51 +00:00
Martin.JMandJosé Rebelo 1882ee947e Huawei: Improve distanceCm 2024-11-05 23:43:41 +00:00
Me7c7andJosé Rebelo ae84678de8 Huawei: Sync dict data over P2P. Sync skin temperature. 2024-11-05 23:42:19 +00:00
Me7c7andJosé Rebelo a46e970f84 Huawei: more details for swim workout 2024-10-26 10:41:29 +00:00
Me7c7 0e00d74913 Huawei: Fixed workout data parser 2024-10-17 15:36:58 +03:00
Me7c7 d2cf281b00 Huawei: fetch more workout summary from the watch 2024-10-17 10:06:31 +03:00
Me7c7andJosé Rebelo af64ff3a79 Huawei: fix workouts pace 2024-10-13 19:01:03 +00:00
René Vögeli c66467a915 Colmi R0x: Add support for HRV 2024-10-13 20:10:50 +02:00
Arjan SchrijverandRené Vögeli 4939de47c1 Colmi R0x: Add support for HRV 2024-10-13 17:29:43 +00:00
José Rebelo fb1d0a92cc Garmin: Add resting heart rate sample provider 2024-10-11 23:51:44 +01:00
José Rebelo 8c949ff6ab Garmin: Persist respiratory rate 2024-10-11 22:29:55 +01:00
José Rebelo cbd6fe2145 Huawei: Use watch distance and calories
Thanks to Martin.JM for the patch
2024-10-05 17:32:29 +01:00
José Rebelo 9c67a30835 Garmin: Persist distance and calories 2024-10-05 17:29:23 +01:00
Martin.JM 159ebfd891 Huawei: Workout GPS synchronization 2024-09-30 19:45:56 +02:00
Arjan Schrijver e23caa3ee6 Add support for Colmi R02/R03/R06 smart rings 2024-08-23 23:47:34 +02:00
Severin von Wnuck-LipinskiandJosé Rebelo 3be6ec0007 Add weight measurement support for MiScale 2024-08-22 09:02:08 +00:00
José Rebelo 09865f3943 Garmin: Store pending files for processing in the database 2024-08-20 15:34:48 +01:00
José Rebelo 333fe9f805 GBDaoGenerator: Fix some build warnings 2024-08-10 23:28:08 +01:00
José Rebelo 61e2411081 Garmin: Parse and persist body energy 2024-08-04 22:59:29 +01:00
José Rebelo b33ab0b1c8 Garmin: Parse and persist HRV_STATUS 2024-08-02 21:43:54 +01:00
José RebeloandDaniele Gobbetti 0b07f36817 Garmin: Persist and display activity
- Steps, hr, intensity
- Sleep stages
- Stress
- SpO2
- Workouts
2024-05-24 22:24:08 +02:00
Daniel DakhnoandJosé Rebelo 3b01422a45 device-cycling-sensor (#3705)
Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/3705
Co-authored-by: Daniel Dakhno <dakhnod@gmail.com>
Co-committed-by: Daniel Dakhno <dakhnod@gmail.com>
2024-05-10 20:43:45 +00:00
Martin.JMandJosé Rebelo 83fd09939f [Huawei] Fix PR #3742, add workout frequency and altitude 2024-05-01 16:32:27 +00:00
Martin.JM 1c2c1f710e [Huawei] Add support for workout calories and cycling power 2024-04-30 21:08:23 +02:00
Martin.JM 51024f7b5e Add smart wakeup interval 2024-02-24 09:56:56 +01:00
José Rebelo 5999eb01d0 Nothing CMF Watch Pro: Initial support 2024-01-28 18:46:13 +00:00
José Rebelo 6b2cb05027 Xiaomi: Fetch manual samples 2024-01-18 21:06:40 +00:00
Damien 'Psolyca' Gaignon 0c22ecdd51 Huawei: Add initial support for Huawei-Honor 2024-01-07 23:18:08 +01:00
José Rebelo 09c33b3541 Xiaomi: Persist and overlay sleep stages 2023-12-22 22:21:51 +00:00
José Rebelo bddec00de1 Xiaomi: Persist daily summary 2023-12-12 20:26:55 +00:00