Commit Graph
100 Commits
Author SHA1 Message Date
José Rebelo e9592e7e57 woodpecker: Update android-fdroid-tools to 34.0.0 2025-04-12 21:00:26 +01:00
José Rebelo 67762995e4 Fix erroneous "Heart Rate" header on some fragments 2025-04-12 09:13:43 +01:00
José Rebelo 900dfb03da Mi Band 8: Improve workout parsing 2025-04-10 23:26:55 +01:00
José Rebelo 3e01ab7a35 Update changelog 2025-04-09 22:12:49 +01:00
José Rebelo 3752346723 Fix linter 2025-04-09 20:07:26 +01:00
José Rebelo fc9124cbbd Update changelog 2025-04-08 23:17:04 +01:00
José Rebelo 181d00fd08 Ignore invalid battery level updates 2025-04-08 22:35:48 +01:00
José Rebelo 85b9028893 Amazfit Bip 6: Initial support 2025-04-08 21:42:15 +01:00
José Rebelo f000171535 Zepp OS: Allow upload of UIHH AGPS bundles 2025-04-07 13:14:15 +01:00
José Rebelo bf2cc6ae86 Fix battery full notifications for devices that do not report charging state 2025-04-06 23:06:11 +01:00
José Rebelo cfb495ab53 Zepp OS: Request high MTU on connection 2025-04-06 22:05:15 +01:00
José Rebelo ad8d2dc3f9 Update changelog 2025-04-06 21:01:15 +01:00
José Rebelo dafb5bcb11 Extract GBDeviceEvent to each individual event 2025-04-06 15:33:29 +01:00
José Rebelo 3dd88e3ea3 Zepp OS: Remove unused time format and distance unit code
These are already handled by the config service.
2025-04-06 14:49:00 +01:00
José Rebelo e01f305fe1 Zepp OS: Fix default weather encryption 2025-04-06 13:52:54 +01:00
José Rebelo 7a869e24e3 Zepp OS: Extract world clocks to standalone service 2025-04-06 13:52:46 +01:00
José Rebelo 4f47e2a881 ZeppOsConfigService: Absorb some non-standard configs 2025-04-05 23:47:12 +01:00
José Rebelo b9cd07dd81 Zepp OS: Fix requesting device info 2025-04-05 23:32:18 +01:00
José Rebelo d4d15491dd Zepp OS: Extract services: battery, connection, vibration patterns, weather 2025-04-05 23:31:33 +01:00
José Rebelo 2996474177 Zepp OS: Improve gpx upload support auto-detection 2025-04-05 21:23:45 +01:00
José Rebelo 1732564c1e Zepp OS: Voice Memos 2025-04-05 21:06:10 +01:00
José Rebelo d202db4704 Garmin: HTTP weather improvements 2025-04-05 16:52:39 +01:00
José Rebelo 3ad5412d04 Huami2021ChunkedEncoder: Remove dependency on BLE characteristic 2025-04-04 23:32:21 +01:00
José RebeloandJosé Rebelo 82af1bdb88 Maps: Offset latitude to make track centered in map 2025-04-04 22:02:46 +00:00
José RebeloandJosé Rebelo c45842b7d3 Make activity details headers consistent 2025-04-04 22:02:46 +00:00
José RebeloandJosé Rebelo ca5faa2a1f Maps: Open track activity on single tap 2025-04-04 22:02:46 +00:00
José RebeloandJosé Rebelo 0310e287b3 Maps: Do not crash when map loading fails 2025-04-04 22:02:46 +00:00
José RebeloandJosé Rebelo f7cf3b8a17 Add Mapsforge and AndroidSVG licenses 2025-04-04 22:02:46 +00:00
José RebeloandJosé Rebelo cfdee2b1f9 Maps: Make track color configurable 2025-04-04 22:02:46 +00:00
José RebeloandJosé Rebelo 49fb88ed9d Maps: Move maps preference to main screen 2025-04-04 22:02:46 +00:00
José RebeloandJosé Rebelo 8cec2282a8 Workout: offline map init 2025-04-04 22:02:46 +00:00
José Rebelo 732cbd9b16 Zepp OS: Extract authentication to standalone service
Replicate the logic from the InitOperation2021, but this makes it
reusable for btrfcomm devices, without refactoring BLE devices previous
to Zepp OS.
2025-04-04 22:59:12 +01:00
José Rebelo bbd9868eaf Zepp OS: Auto-detect continuous find device 2025-04-03 21:32:07 +01:00
José Rebelo 1739c9c585 Zepp OS: Extract services: user info, silent mode, find device 2025-04-03 21:23:56 +01:00
José Rebelo 476b479aba Update changelog 2025-04-02 20:30:46 +01:00
José Rebelo e8d4558b0a Zepp OS: Music upload (unstable)
- Only works in some regions apparently (eg. uk)
- Very unstable for files larger than 2MB
2025-04-02 20:27:38 +01:00
José Rebelo 9744f6d22f Zepp OS 3+: Prevent some signed overflows during large file transfers 2025-04-02 20:26:00 +01:00
José Rebelo 0abd54af98 Zepp OS: Fix invalid files being recognized as maps 2025-04-02 20:26:00 +01:00
José Rebelo e9bb18b811 Make Huawei AudioInfo reusable 2025-04-02 20:26:00 +01:00
José Rebelo e71ee1da5d Fix day switch in activity charts
Regression introduced by 4ae8e3166
2025-03-31 21:30:18 +01:00
José Rebelo 729881ce21 Update changelog 2025-03-30 21:01:27 +01:00
José Rebelo f0ea2ff7c5 Zepp OS: Decode assistant voice data 2025-03-30 20:43:58 +01:00
José Rebelo 51b30557fb Zepp OS: Decode voice memo files 2025-03-30 20:43:20 +01:00
José Rebelo f9ceb16ff8 Add Concentus
* Taken from https://github.com/lostromb/concentus
* Commit: 6c2328dc19044601e33a9c11628b8d60e1f3011c
2025-03-30 20:43:13 +01:00
José RebeloandJosé Rebelo fbff769333 Add licenses page 2025-03-30 19:25:38 +00:00
José Rebelo c7fa48594a Set device change reason for all state changes
Apply f0d4efcb9 to all remaining devices.
2025-03-30 19:25:44 +01:00
José Rebelo 4ae8e31667 Prevent crash when AbstractActivityChartFragment is wrongly extended
Some fragments are extending AbstractActivityChartFragment when they should
not, since they are not in an instance of ChartsHost. This will make them
crash occasionally when switching dates in the actual charts. Prevent this,
but log at error level.
2025-03-30 13:31:34 +01:00
José Rebelo 6ed0550881 Add sleep HR average 2025-03-30 13:29:19 +01:00
José Rebelo 0eccccb011 Huawei: Map activity type 11 to trail run
Fixes #4688
2025-03-30 13:11:20 +01:00
José Rebelo a2a7c4fe48 Lenovo Watch X (Plus): Fix language setting 2025-03-30 11:33:26 +01:00
José Rebelo bc3b7b2e76 Zepp OS: Fix crash when installing watchfaces 2025-03-29 22:18:43 +00:00
José Rebelo bc59a32a8c Amazfit Bip 3: Add workout gps settings 2025-03-29 21:29:58 +00: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
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
José Rebelo 758c56976b Zepp OS 4: Fix notification icons encoding 2025-03-21 22:02:30 +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
José Rebelo 4cca17926b Update changelog 2025-03-16 20:31:27 +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
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
José Rebelo 190d7cd845 Update changelog 2025-03-08 18:25:21 +00:00
José Rebelo 00b5420fbe Garmin: Add nap support 2025-03-08 18:03:15 +00:00
José RebeloandJosé Rebelo 624fb5cf64 Garmin: Fix fit file checksum computation 2025-03-08 17:55:04 +00:00
José Rebelo dba6e899fe Huawei: Increase user ID length to 19 characters 2025-03-01 18:56:06 +00:00
José Rebelo 05bea9fa89 Garmin: Resolve names for services and characteristics 2025-03-01 16:27:42 +00:00
José Rebelo 3f534b0659 Fix some preference summaries not getting updated 2025-02-25 21:38:10 +00:00
José Rebelo 82edf9095e Reduce log spam from browsing preferences
These get called not only when preferences actually change, but also
when pages are loaded, so the logs are very noisy.
2025-02-24 22:44:22 +00:00
José Rebelo b81784f3b9 Garmin: Allow manual import of activity files 2025-02-24 22:43:00 +00:00
José Rebelo bbcd09dae1 Garmin: Parse extended running and cycling workout data 2025-02-24 22:41:42 +00:00
José Rebelo 147142c7ac Fix linter 2025-02-23 20:32:17 +00:00
José Rebelo a21fa0cf02 Update changelog 2025-02-23 20:05:48 +00:00
José Rebelo 4446b0a648 Log ignored non-voip calls
Log removed by mistake in bfb4a236f
2025-02-20 23:44:33 +00:00