Commit Graph
13107 Commits
Author SHA1 Message Date
Me7c7 55df3c7aa5 Huawei: Basic stress support. Calibration and enabling 2025-03-28 23:19:52 +02:00
José Rebelo ced7fc5b98 Zepp OS: Fix sleep time if sleep stages are provided by watch 2025-03-24 22:49:26 +00:00
José Rebelo 820a4d5426 Zepp OS: Fix AGPS section not available on some devices 2025-03-24 22:33:15 +00:00
José Rebelo 03aefddc0f Move devicesettings files to src folder 2025-03-24 19:47:12 +00:00
José Rebelo efc06fe708 Zepp OS: Maps upload 2025-03-24 19:36:46 +00:00
rare-magma f42eb01811 Huawei: add support for band 10
Signed-off-by: rare-magma <rare-magma@posteo.eu>
2025-03-24 18:29:46 +01:00
José Rebelo fbaa9c4b37 Zepp OS: Respect sync calendar setting 2025-03-24 14:24:40 +00:00
José RebeloandJosé Rebelo 57273d35bb Improve idle and stale media session handling
* MediaManager: Use the inactive session if we're on an android version that allows it
* MediaManager: Clear the cache if no session is found
* Send the media key event to the inactive session, if any
* Otherwise, broadcast the media key event generically
2025-03-23 23:29:30 +00:00
José Rebelo b95f868bff Zepp OS: Add temperature support 2025-03-23 18:33:10 +00:00
José Rebelo c33b0ffcbb Zepp OS: Fix index overflow on large file transfers 2025-03-23 18:06:30 +00:00
José Rebelo a615807945 Zepp OS: Unify voice assistant service
It looks like Zepp Flow uses the same protocol as Alexa - or at least
very similar, since voice data comes in the same command and format.
2025-03-23 16:35:29 +00:00
José Rebelo 160027d756 Zepp OS: Fetch HR stats and sleep respiratory rate in normal builds 2025-03-23 16:15:13 +00:00
José Rebelo 8d1b321950 Huami: Add missing tables to deleteDevice
Huami was missing almost all tables, and some were missing from Zepp OS
2025-03-23 16:07:33 +00:00
José Rebelo ce3e11d07b Zepp OS: Add HRV support
Support is determined by whether the display item hrv exists
2025-03-23 16:00:43 +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
José Rebelo b91254265c Zepp OS: Fix and log experimental temperature fetch 2025-03-23 14:46:13 +00:00
José Rebelo 1f8fdf7eef Zepp OS: Fix parsing of PAI values after factory reset
It looks like they come with type 0 after a factory reset..?

Probably some undefined behavior, but the sample size still matches. It
seems to disappear for subsequent samples.
2025-03-23 14:17:21 +00:00
José Rebelo 59dd321069 Zepp OS 3/4: Fix download of single-chunk small files 2025-03-22 19:07:48 +00:00
José Rebelo 2a790befb4 Zepp OS: Add voice memo download logic 2025-03-22 19:07:20 +00:00
José Rebelo fb12de2c73 Zepp OS: Map all activity kinds 2025-03-22 17:25:28 +00:00
José Rebelo b94bfa5701 Zepp OS 3/4: Refactor file transfer service, fix screenshots 2025-03-22 17:25:02 +00:00
José Rebelo 73d15e3df7 Zepp OS: Allow 32-character hex key without 0x prefix 2025-03-22 15:40:44 +00:00
dependency-bot 69cdcdaeac Update dependency org.mockito:mockito-core to v5.16.1 2025-03-22 01:01:32 +00:00
José Rebelo 758c56976b Zepp OS 4: Fix notification icons encoding 2025-03-21 22:02:30 +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 329514d04d Amazfit Active 2: Add vibration intensity config 2025-03-20 00:12:57 +00:00
José Rebelo bcf3c317a9 Amazfit Active 2: Fix some errors during initialization 2025-03-20 00:05:44 +00:00
José Rebelo d6df9d6d85 Amazfit Active 2: Add missing languages 2025-03-19 23:47:38 +00:00
José Rebelo 28af9ace9b Amazfit Active 2: Fix menu and control center configs 2025-03-19 23:08:49 +00:00
José Rebelo a6da6b9fed Amazfit Active 2: Add missing morning updates categories 2025-03-19 22:53:47 +00:00
José Rebelo bef1be8aa4 Amazfit Active 2: Fix firmware updates 2025-03-19 13:06:20 +00:00
José Rebelo 528fb09f52 CMF Watch Pro: Allow enable of bluetooth calls 2025-03-18 21:58:33 +00:00
José Rebelo 4a3eaf76be Make alarm notifications respect app whitelist/blacklist 2025-03-17 19:16:17 +00:00
Ganblejs 95b2973ea4 Bangle.js: send android STREAM_MUSIC volume level to bangle 2025-03-17 11:12:31 +01:00
Ganblejs a1b604b2c8 Bangle.js: fix set supportsMusicInfo true 2025-03-17 01:33:03 +01:00
José Rebelo 4cca17926b Update changelog 2025-03-16 20:31:27 +00:00
Leona GottfriedandLeona Gottfried 67e5dcfb92 Fix #2354
Add missing ic_battery_charging and _empty drawables.
Adjust maxLevel values in level_list_battery.
Rename ic_battery_(charging)_80 to _70, better reflecting impression.
2025-03-16 20:24:37 +00:00
José Rebelo 9380c205bc Garmin: Display balance as range 2025-03-16 19:38:02 +00:00
José RebeloandJosé Rebelo a66c8685ec Huawei: Prevent some crashes 2025-03-16 12:47:48 +00:00
pacjoandJosé Rebelo dda96a9dd3 1MORE SonoFlow: Initial support (#4637)
Co-authored-by: pacjo <kamil.kroliczek2004@gmail.com>
Co-committed-by: pacjo <kamil.kroliczek2004@gmail.com>
2025-03-15 21:00:48 +00:00
Lars BerningandJosé Rebelo d5af0da3f9 Adds support for headphones Redmi Buds 3 Pro 2025-03-15 18:21:24 +00:00
dependency-bot 1dc14551a6 Update protobuf to v4.30.1 2025-03-15 18:14:31 +00:00
dependency-botandJosé Rebelo 1374fcc3cf Update dependency org.slf4j:slf4j-api to v2.0.17 2025-03-15 18:12:31 +00:00
dependency-botandJosé Rebelo 0d219c9094 Update dependency org.mockito:mockito-core to v5.16.0 2025-03-15 18:09:08 +00:00
dependency-botandJosé Rebelo 062fec9b4a Update android-emojify to v1.9.7 2025-03-15 18:08:31 +00:00
Ilya Nikitenkov b057e6a35c Huawei Freebuds Pro: Initial support 2025-03-15 18:03:27 +03:00
José Rebelo 11acaba4de Update changelog 2025-03-09 15:42:44 +00:00
José Rebelo 91fec89ba2 Zepp OS: Fix measurement system configuration 2025-03-09 15:28:50 +00:00
José Rebelo f3b204366c Garmin: Use user profile weight unit 2025-03-08 22:27:53 +00:00
José RebeloandJosé Rebelo 5143128aa9 EarFun Headphones: Enable read aloud incoming notifications and auto-pickup 2025-03-08 19:02:13 +00:00