Commit Graph
100 Commits
Author SHA1 Message Date
José Rebelo a0687b9823 woodpecker: Update android-fdroid-tools to 35.0.1-androguard-4.1.2-java-21 2025-05-11 13:52:41 +01:00
José Rebelo 46e0699007 Sony WF-C710N: Initial support 2025-05-10 16:38:48 +01:00
José Rebelo 92318edb7d Amazfit Active 2 NFC: Initial support 2025-05-10 14:47:40 +01:00
José Rebelo 0bca7087bb Set source and target compatibility to Java 17
For context, see https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/4735#issuecomment-4413866
2025-05-10 14:11:41 +01:00
José Rebelo 87fd6b1596 Dashboard: Do not sum resting calories across devices
In theory, all devices should report the same amount of resting
calories. Since that will likely not be the case, and it also does not
make sense to sum them, average the resting calories across all devices
that provide them.
2025-05-10 10:19:07 +01:00
José Rebelo c9423f7d25 Update changelog 2025-05-03 09:48:38 +01:00
José Rebelo fccd1fb5af iTag/thermometer: Fix icon colors in dynamic color theme 2025-05-02 00:01:51 +01:00
José Rebelo 3d13996527 Debug: Make test device sorting case-insensitive 2025-05-02 00:01:51 +01:00
José Rebelo e738e88c4a Garmin: Do not overwrite activity name when updating summary 2025-04-30 12:55:03 +01:00
José Rebelo d703382971 Garmin: Fix crash when parsing some activities 2025-04-29 21:26:14 +01:00
José Rebelo efbd4c8ec6 Moondrop Space Travel: Set device icon 2025-04-29 21:04:33 +01:00
José Rebelo 27db72aa43 Charts: Display resting metabolic rate 2025-04-27 23:17:30 +01:00
José Rebelo 64cebc9d7e Zepp OS BTBR: Recover from session end with disconnect and re-connect 2025-04-27 22:52:23 +01:00
José Rebelo a5a1ade392 Zepp OS: Disable realtime steps on connection
They can stay across connections and waste battery.
2025-04-27 22:50:28 +01:00
José Rebelo b6b7ee31f9 Zepp OS BTBR: Increase buffer size 2025-04-27 10:48:39 +01:00
José Rebelo 063e022801 Zepp OS: Fix moon phase unit
It is supposed to be sent in lunar days and not degrees.
2025-04-26 21:50:55 +01:00
José Rebelo e41daf5065 Zepp OS: Fix Sleep as Android initialization 2025-04-26 18:16:59 +01:00
José Rebelo c372307835 Zepp OS: Fix DST when setting time 2025-04-26 18:08:28 +01:00
José Rebelo aff9fb0474 Zepp OS: Fix app list string parsing 2025-04-26 18:08:28 +01:00
José Rebelo 3b5a3ef875 Zepp OS BTBR: Request apps periodically to keep connection alive 2025-04-26 18:08:28 +01:00
José Rebelo 023e8bc631 Zepp OS BTBR: Acks, protocol version, and improved ping handling 2025-04-26 18:08:28 +01:00
José Rebelo 8805473a30 Zepp OS: Disable manual HR measurements
They will sometimes not trigger the HR sensor and get stuck
indefinitely.
2025-04-26 18:08:28 +01:00
José Rebelo b014d04871 Zepp OS BTLE: Fix support class dispose 2025-04-26 18:08:28 +01:00
José Rebelo 973dd2cc53 Zepp OS BTBR: Handle session end and keepalive 2025-04-26 18:08:28 +01:00
José Rebelo 8dabc0a713 Zepp OS: Btrfcomm support 2025-04-26 18:08:28 +01:00
José Rebelo aa9027e76f Zepp OS: Decouple implementation from HuamiSupport 2025-04-26 18:08:28 +01:00
José Rebelo e8f1b5611c Oppo Headphones: Prevent crash on invalid incoming commands 2025-04-26 16:48:32 +01:00
José Rebelo 431d25b935 Garmin: Swimming workout intervals 2025-04-26 15:59:32 +01:00
José Rebelo 5e7c5ac059 Mi Smart Scale: Mark device as busy while fetching weight history 2025-04-26 14:18:50 +01:00
José Rebelo 04f4b2f448 Zepp OS: Parse workout pace, cadence, strength sets 2025-04-25 23:46:08 +01:00
José Rebelo f4ac744b3b Intent API: Add command to set device type 2025-04-23 19:44:53 +01:00
José Rebelo a47bc81eb2 Garmin Edge 130 Plus: Update supported features 2025-04-23 19:31:53 +01:00
José Rebelo 07a5d10b23 Garmin Edge 130 Plus: Initial support 2025-04-22 22:21:04 +01:00
José Rebelo f78d6b914e Zepp OS: Fix zip files being wrongly recognized as AGPS 2025-04-20 11:23:14 +01:00
José Rebelo 956e9cc4ba woodpecker: Update android-fdroid-tools to 35.0.1-androguard-4.1.2 2025-04-19 23:37:27 +01:00
José Rebelo 8deea74d67 Allow support classes to vary by GBDevice
This paves the way for configurable btle / btbr support class for the
same device (eg. Zepp OS / Huawei / Xiaomi), as well as migration to a
new support class for future pebble devices.
2025-04-19 20:19:25 +01:00
José Rebelo 2e1529f374 Garmin Fenix 7X Pro: Initial support 2025-04-19 13:37:35 +01:00
José Rebelo d02455b0bd Garmin Vívoactive HR: Initial support 2025-04-19 13:05:05 +01:00
José Rebelo 29670aaea4 Zepp OS: Extract heart rate and steps to standalone services 2025-04-18 22:31:59 +01:00
José Rebelo 31d4b0d354 Zepp OS: Isolate time sync and hr interval from HuamiSupport 2025-04-18 18:09:31 +01:00
José Rebelo 99af334280 Zepp OS: Fix crash on display items settings 2025-04-18 17:39:11 +01:00
José Rebelo 694b98d425 Zepp OS: Extract workout to standalone service 2025-04-18 17:39:02 +01:00
José Rebelo c168c554fb Huami: Refactor fetching
Remove all dependencies on BLE from the activity fetching logic, so that
it can eventually be reused in btrfcomm devices.
2025-04-18 14:16:42 +01:00
José Rebelo 91b9331de3 Remove protobuf and buildconfig generated source directories
This partially reverts 26999c863, which does not seem to be needed
anymore, and breaks the build as of c7f236790 when multiple build
flavors are built without cleaning the build directory.
2025-04-17 23:25:04 +01:00
José Rebelo f8e5e5b4dd woodpecker: Update android-fdroid-tools to 35.0.1 2025-04-17 19:31:55 +01:00
José Rebelo 71cc6b6015 Vesc: Deprecate DeviceType constructor 2025-04-17 19:29:51 +01:00
José Rebelo e1e5cccf29 HPlus: Deprecate DeviceType constructor 2025-04-17 19:18:58 +01:00
José Rebelo 08732ffa68 Renovate: Ignore MPAndroidChart
Renovate is unable to resolve dependencies from jitpack, and there has
not been a release in 4 years anyway.
2025-04-17 19:16:35 +01:00
José Rebelo dcebe5f4c1 update changelog, bump version 2025-04-17 18:07:00 +01:00
José Rebelo 1aa156d433 NotificationListener: Fix some NPEs 2025-04-15 20:10:45 +01:00
José Rebelo 33aaec7300 Sony Headphones: Do not crash on invalid battery config
These can now be selected from preferences, which will make Gb crash on
startup if users make a mistake during configuration, so avoid crashing.
2025-04-14 20:09:52 +01:00
José Rebelo f567d963d3 Zepp OS: Reset MTU before initialization
Fixes regression introduced by 732cbd9b1, which partially reverted #3219
by accident.
2025-04-13 18:38:36 +01:00
José Rebelo c539fe50ba Update changelog 2025-04-13 16:26:04 +01:00
José Rebelo 678d067004 Amazfit Bip 6: Add device sources 2025-04-13 13:38:18 +01:00
José Rebelo ae3e6a49eb Maps: Fix background color when loading map 2025-04-13 09:46:08 +01:00
José Rebelo ee218d7a65 Maps: Make map theme configurable 2025-04-13 09:16:16 +01:00
José Rebelo cb7914892e Update mapsforge to 0.25.0 2025-04-13 09:04:24 +01:00
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