Commit Graph
174 Commits
Author SHA1 Message Date
José Rebelo e083eaa011 Import DaoGenerator from greenDAO
The jitpack.io build is facing issues. The code required for the code
generation is quite small, with a negligible build impact, so import it
directly to the repository from the fork and remove the dependency on
jitpack completely.

- Taken from https://codeberg.org/Freeyourgadget/greenDAO
- Original commit: 1998d7cd2d21f662c6044f6ccf3b3a251bbad341
2025-06-19 13:22:28 +01:00
Arjan Schrijver 4e1cb5fbc9 Moyoung: Handle stress packets from Rainbuvvy T97, Colmi V89 and Advan SE1 2025-06-11 20:58:00 +02:00
Arjan Schrijver 026e8c574b Moyoung: Implement syncing sleep data 2025-06-11 20:58:00 +02:00
Arjan Schrijver 24f80c796c Moyoung: Split up (modernize) database tables 2025-06-11 20:57:59 +02:00
Arjan Schrijver 8d22c8fecf Moyoung: Modernize classes and methods and fix compiler errors 2025-06-11 20:57:59 +02:00
Arjan Schrijver 29273b89a6 Rename DaFit references to Moyoung to reflect the protocol used 2025-06-11 20:57:59 +02:00
krzys-handArjan Schrijver 0994e29dc6 Da Fit: Add activity fetching and logging 2025-06-11 20:57:59 +02:00
Thomas KuehneandJosé Rebelo 03e14edee4 switch the Java toolchain to version 21
Switch the Java toolchain to version 21 - the version shipped with current AndroidStudio releases.
Disable Java 1.8 warnings - see discussion in PR #4735
2025-05-10 13:09:46 +00:00
Thomas KuehneandJosé Rebelo 303d01530f Gradle: execute the genSources task only when necessary
Rebuilds where only elements in app/ where changed no longer re-generate the entity java files.
2025-05-10 08:46:21 +00:00
Me7c7andJosé Rebelo a5ee041d7b Huawei: Decode longest Streak and triped for jump rope(no UI) 2025-05-08 20:13:59 +00:00
Kenneth Koski bda7fe48d9 Add initial support for Polar H10
Supports heart rate readings only for now
2025-05-02 20:11:53 -05:00
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