1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2025-02-04 14:07:32 +01:00

12741 Commits

Author SHA1 Message Date
jrthomas270
2d6a7d3866 Even Realities: Add initial support for Even G1 Smart Glasses (#4553)
Co-authored-by: jrthomas270 <jrthomas270@noreply.codeberg.org>
Co-committed-by: jrthomas270 <jrthomas270@noreply.codeberg.org>
2025-02-02 16:59:39 +00:00
José Rebelo
c08285a356 Oppo Headphones: Retry battery requests if unknown status 2025-02-02 16:25:43 +00:00
dependency-bot
8a747f0774 Update dependency com.google.code.gson:gson to v2.12.1 2025-02-02 16:01:37 +00:00
John Vincent Corcega
7409349154 Ensure battery states are kept in their correct battery indices
Seems to have missed adding the index here, causing devices with multiple batteries (like that of wireless earbuds) to have incorrect states despite being set properly from their respective device support code.

Signed-off-by: John Vincent Corcega <git@tenseventyseven.xyz>
2025-02-02 15:59:11 +00:00
José Rebelo
6a397b9119 Zepp OS: Fix activity details parsing getting stuck 2025-02-02 15:54:20 +00:00
Me7c7
d9fd667e38 Huawei: fix tests 2025-01-31 21:26:53 +02:00
José Rebelo
769ceded1c Mi Band 9 Pro: Fix treadmill parsing 2025-01-31 19:01:01 +00:00
José Rebelo
f277fbe9e5 Sony WH-ULT900N: Initial support 2025-01-31 18:36:46 +00:00
José Rebelo
51fca72a43 Garmin Lily 2 Active: Initial support 2025-01-31 18:20:45 +00:00
Me7c7
fdea3b7955 Huawei: Parse more workout information. No UI. 2025-01-31 20:04:33 +02:00
trentsuzuki
02aa267e8f Fix AM and PM labels for 24h mode in the dashboard activity chart 2025-01-30 15:42:23 +00:00
Me7c7
cfceada4c5 Huawei: retrieve SpO2 data during workout. No UI. 2025-01-27 17:32:03 +00:00
Daniele Gobbetti
50fda01a56 Instantiate preview image only if not null
Prevents BitmapDrawable logging spam on android 15
2025-01-27 09:24:11 +01:00
José Rebelo
321d71da7a Xiaomi Smart Band 9 Active: Allow BOTH connection types 2025-01-26 14:37:00 +00:00
José Rebelo
cb5b475932 Xiaomi Smart Band 9 Active: Experimental support 2025-01-26 14:24:54 +00:00
José Rebelo
52ccb6109c Garmin: Allow fake OAuth 2025-01-26 14:12:42 +00:00
José Rebelo
96d07bb58a Garmin: Fix workouts step count
1 cycle = 2 steps. This is most likely true for other activities, but we
do not currently have a clear split (eg. strokes in rowing matches
cycles, but not in swimming).
2025-01-25 23:03:56 +00:00
José Rebelo
b49fe1730c Garmin: Add basic fit file viewer 2025-01-25 17:58:54 +00:00
José Rebelo
0fe05fe9b8 Fix NPE on activity card for devices that do not report steps 2025-01-25 17:52:08 +00:00
José Rebelo
84ac168494 Garmin: PRG upload and basic app management 2025-01-25 00:20:37 +00:00
José Rebelo
6d26fd9495 Garmin: Fix cycle unit per activity kind 2025-01-24 23:00:02 +00:00
José Rebelo
bcc6c23097 Garmin: Parse some swimming stats 2025-01-24 22:29:12 +00:00
Me7c7
b4dc1d2358 Huawei: More information before firmware installation 2025-01-24 20:21:04 +02:00
Me7c7
756d3b2fea Huawei: Simplify code, Correct encryption. 2025-01-24 19:29:37 +02:00
Me7c7
22f3b9c9af Huawei: app version increased 2025-01-24 19:28:39 +02:00
Me7c7
0e3d6dffd2 Huawei: initial firmware update support 2025-01-23 20:41:27 +02:00
José Rebelo
0f2d240402 SuperCars: Adopt device card custom action 2025-01-22 21:37:16 +00:00
José Rebelo
071f0296c9 Allow devices to declare custom actions 2025-01-22 21:36:31 +00:00
Daisy
624dc77bce fix: the logic for isOutsideNotificationTimes
It was reversed before.
2025-01-21 21:04:27 +00:00
José Rebelo
c2710c32ab Garmin: Fix GFDI message type if sequence number is included
Should fix #4522
2025-01-20 21:04:21 +00:00
José Rebelo
b220c94c6b Xiaomi-protobuf: Display unknown activity codes in UI 2025-01-20 20:57:21 +00:00
José Rebelo
ff6b8e56b1 Xiaomi-protobuf: Add HR zones progress bars 2025-01-20 20:51:31 +00:00
José Rebelo
0d8e270686 Xiaomi-protobuf: Map some missing freestyle workouts 2025-01-20 20:28:14 +00:00
Patrick Rudolph
033e263b6b HuaweiSupportProvider: Fix reconnect on AuthFailure
When authentication times out the gadget was slightly out of range.
Since communication was successfull a couple of seconds earlier try to
reconnect instead of just disconnect.

Fixes Huawei watches not automatically reconnecting during normal use.

Signed-off-by: Patrick Rudolph <rudolphpatrick05@gmail.com>
2025-01-20 18:54:56 +00:00
Martin Schitter
7458c582e1 Add HDOP data and remove elevation zero in Xiaomi GPX exports. 2025-01-20 18:52:13 +00:00
José Rebelo
9a52723139 Garmin Instinct E: Initial support 2025-01-20 13:24:12 +00:00
José Rebelo
5050d9a283 Amazfit Neo: Fix sound options 2025-01-20 12:59:43 +00:00
José Rebelo
878d40b8a8 Amazfit Active 2: Experimental support 2025-01-19 23:12:03 +00:00
José Rebelo
79fdbb8f85 Xiaomi Watch S1 Active: Fix freestyle and elliptical parsing 2025-01-19 21:04:37 +00:00
José Rebelo
8f62e5232a woodpecker: Migrate secrets to environment from_secret 2025-01-19 20:46:35 +00:00
José Rebelo
9e003fc562 Mi Band 9: Fix swimming parsing 2025-01-18 13:05:49 +00:00
mash-graz
87fa5b44d7 Fix multi location weather support on some Xiaomi devices. (#4512)
Resend a request for the list of stored weather locations when the device is already asking for meteorological conditions but didn't react on earlier initialization attempts.

Fixes: #4485

Co-authored-by: Martin Schitter <ms+git@mur.at>
Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/4512
Co-authored-by: mash-graz <mash-graz@noreply.codeberg.org>
Co-committed-by: mash-graz <mash-graz@noreply.codeberg.org>
2025-01-17 21:43:54 +00:00
Martin Schitter
fb4f6397c7 Enable contacts configuration for Xiaomi Redmi Watch 4 / 5 active / 5 lite 2025-01-17 20:34:52 +00:00
Me7c7
7080649cb2 Huawei: DataSync service initial support added. Basic goals. 2025-01-17 19:15:24 +00:00
Me7c7
21dbc963df Register on calories change. 2025-01-17 19:15:24 +00:00
José Rebelo
aead5343a4 Migrate standing time to hours
Even though it said "minutes", all devices that use this preference
(Xiaomi-protobuf and Zepp OS), get the raw value, and they expect it to
be in hours.
2025-01-17 19:14:31 +00:00
ahormann
eff6f57aa5 Soundcore Q30: Cleanup Code 2025-01-16 22:21:24 +00:00
ahormann
4e765ad952 Soundcore Q30: First attempt at supporting EQ 2025-01-16 22:21:24 +00:00
ahormann
991461a8d8 Soundcore Q30: Initial Support 2025-01-16 22:21:24 +00:00
ahormann
725c477ebd Soundcore Liberty: Moved some functions into an abstract class 2025-01-16 22:21:24 +00:00