1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2025-01-04 23:15:50 +01:00
Commit Graph

11480 Commits

Author SHA1 Message Date
Martin.JM
ce7b0db5b1 Huawei Sample Provider: Provide a sample every minute
Fixes #4068.
2024-10-26 15:58:12 +00:00
José Rebelo
bbadb2b1ef Garmin: Fix crash on timezones without DST 2024-10-26 16:53:30 +01:00
dependency-bot
8cf6c457ac Update dependency androidx.activity:activity to v1.9.3 2024-10-26 12:04:59 +01:00
dependency-bot
99db21adac Update dependency androidx.fragment:fragment to v1.8.4 2024-10-26 11:04:23 +00:00
José Rebelo
c628ce2c97 Garmin: Fix all-day events
As per the CalendarContract, the begin timestamp corresponds to the UTC
midnight-boundary of the start of the day.

- Remove the redundant logic to truncate the date to the start of day
- Remove the workaround for negative timezones (confirmed not workin
  with some EDT users)
- Ensure birthdays also respect the UTC boundary
- Offset the garmin timestamps by the UTC offset, ensuring they match
  midnight on the user's timezome (fixes all-day events offset by 1 day)
2024-10-26 11:53:20 +01:00
Me7c7
a46e970f84 Huawei: more details for swim workout 2024-10-26 10:41:29 +00:00
Me7c7
3294e20242 Huawei: clear calendar on reconnect. 2024-10-26 11:50:05 +03:00
Me7c7
bc56213eba Huawei: improve texts for file uploads, music icon 2024-10-25 22:39:55 +00:00
Me7c7
3bb44d8050 Huawei: Use default value for channels. Parse sample rates. 2024-10-25 22:39:55 +00:00
Me7c7
d23c931f95 Huawei: device specific fixes. Watch 3 for example 2024-10-25 22:39:55 +00:00
Me7c7
48717aaf42 Huawei: Initial music upload support 2024-10-25 22:39:55 +00:00
dependency-bot
86cb08c0fb Update dependency org.mockito:mockito-core to v5.14.2 2024-10-25 22:38:03 +00:00
Me7c7
b18fb901e6 Huawei: send more user info. Fix issue with weight 2024-10-25 22:16:38 +00:00
Me7c7
e124ac4974 Huawei: fix Send thresholds packet 2024-10-25 22:16:38 +00:00
José Rebelo
22eebf9592 Garmin Fenix 7: Initial support 2024-10-25 18:18:41 +01:00
Me7c7
f0c4f0f04a Huawei: fix calendar events update 2024-10-24 18:18:12 +00:00
Arjan Schrijver
b2df6e58f0 Colmi R0x: Improve HR fetching accuracy
Hopefully fixes #4209
2024-10-23 21:35:48 +02:00
José Rebelo
e25757846f Add link to background service troubleshoot page 2024-10-22 22:18:17 +01:00
José Rebelo
69530de0c6 Set changelog version code when restoring zip backup 2024-10-19 21:00:53 +01: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
José Rebelo
9267b4fcf3 Mi Band 9: Fix strength training 2024-10-16 23:43:11 +01:00
José Rebelo
e6dc262a4d Xiaomi-protobuf: Fix some workout type recognition 2024-10-16 23:40:13 +01:00
José Rebelo
e436946bed Sleep charts: Fix empty cells for devices without awake sleep 2024-10-16 23:21:38 +01:00
José Rebelo
2abe7e5b2f Fix weekly and monthly sleep times for devices without awake sleep
The last sleep stage on these is not "awake sleep" and should be
included.
2024-10-16 23:07:41 +01:00
José Rebelo
a0d7c8b77b Huawei: Fix battery notifications 2024-10-16 22:54:40 +01:00
José Rebelo
f0cce348c4 Xiaomi-protobuf: Fix naps 2024-10-16 22:46:19 +01:00
Arjan Schrijver
2618d54f94 Fix crash in LiveActivityFragment that was introduced by 2398dd0fb 2024-10-16 22:18:56 +02:00
José Rebelo
f9f3e8849b Mi Band 9: Fix walk workout parsing 2024-10-16 19:38:15 +01:00
José Rebelo
8714c8461f Fix unit tests 2024-10-15 19:54:00 +01:00
Linos Giannopoulos
f3b4f0ed26 Add device support for the IKEA desk controller
All the required functionality is included:
- Move the desk up and down manually
- See the current height and speed
- Store three desk positions
- Move to any of those desk positions
2024-10-15 18:23:56 +00:00
Arjan Schrijver
25dc3f972b Colmi R0x: Add support for Colmi R10 2024-10-15 18:19:09 +02:00
Arjan Schrijver
2398dd0fbe Limit LiveActivityFragment to just the current device 2024-10-15 11:19:33 +02:00
René Vögeli
ace0aa3ea7 Colmi R0x: Fix big data packet handling 2024-10-14 21:20:26 +00:00
a0z
cb7053e609 Fix margins in body energy and steps fragment 2024-10-14 20:15:51 +00:00
Vitaliy Tomin
175f4bf60c huawei: Add new gadget Huawei Watch D2 2024-10-14 18:00:49 +00:00
José Rebelo
b595a1ad96 Huawei Watch Fit 3: Enable emoji 2024-10-13 22:20:02 +01:00
José Rebelo
10a7550232 Garmin: Map some health snapshot fields 2024-10-13 21:28:37 +01:00
José Rebelo
1f4987ab98 Huawei: Enable emoji for HarmonyOS watches 2024-10-13 19:01:14 +00:00
Me7c7
80967ce42b Huawei: fix pace update when more than one packets received 2024-10-13 19:01:03 +00:00
Me7c7
0e6a3e13cc Huawei: specify pace order 2024-10-13 19:01:03 +00:00
Me7c7
15f550d5a8 Huawei: Show pace summery before table. More summary. 2024-10-13 19:01:03 +00:00
Me7c7
af64ff3a79 Huawei: fix workouts pace 2024-10-13 19:01:03 +00:00
José Rebelo
58a8c91c80 Activity Details: Fix table after odd number of cells 2024-10-13 19:55:09 +01:00
René Vögeli
c66467a915 Colmi R0x: Add support for HRV 2024-10-13 20:10:50 +02:00
Arjan Schrijver
4939de47c1 Colmi R0x: Add support for HRV 2024-10-13 17:29:43 +00:00
MrYoranimo
0a9da03618 Xiaomi: extract watch face preview image 2024-10-13 13:11:39 +00:00
MrYoranimo
b2cf83d002 Xiaomi: extract translatable watch face name 2024-10-13 13:11:39 +00:00
MrYoranimo
47acfd2775 Xiaomi: fix watchface ID check
The identifier for a watch face is stored as a decimal number in ASCII.
Since there are 64 bytes available to store the identifier, the highest
value to be expected is 10^(64*10), which exceeds the limit of a 32-bit
integer.
2024-10-13 13:11:39 +00:00
José Rebelo
92fd556c5f Garmin: Map some missing realtime settings icons 2024-10-13 13:52:48 +01:00
José Rebelo
d47a08479d Garmin Fenix 6S Sapphire / Venu Sq 2: Initial support 2024-10-13 13:39:43 +01:00
José Rebelo
92004ce4de Fix activity icon after filter reset 2024-10-13 08:59:46 +01:00
José Rebelo
427b7c7557 Activity details: Refactor header 2024-10-12 23:24:14 +01:00
Severin von Wnuck-Lipinski
98775b752b Add Mijia comfort level preferences 2024-10-12 21:36:18 +02:00
Severin von Wnuck-Lipinski
10b5b1ea7c Add icon for temperature unit preference 2024-10-12 21:36:18 +02:00
José Rebelo
c2668d2e6c Add average line to HR chart 2024-10-12 19:00:26 +01:00
José Rebelo
b4426c61be Garmin: Fix unit tests 2024-10-12 16:59:07 +01:00
José Rebelo
6474a6092e GPXExporter: Include speed and cadence 2024-10-12 16:57:02 +01:00
José Rebelo
bf7b6e2329 Fix wrong parameter type 2024-10-12 13:40:35 +01:00
José Rebelo
598e737f10 Garmin: Map some missing fields in FitRecord 2024-10-12 13:33:37 +01:00
José Rebelo
bd3b7467a4 Garmin/Zepp OS: Display resting HR 2024-10-12 13:21:20 +01:00
José Rebelo
fb1d0a92cc Garmin: Add resting heart rate sample provider 2024-10-11 23:51:44 +01:00
José Rebelo
b331c53763 Garmin: Parse skin temperature messages 2024-10-11 23:09:40 +01:00
José Rebelo
8c949ff6ab Garmin: Persist respiratory rate 2024-10-11 22:29:55 +01:00
Oğuz Ersen
6319c53252
Translated using Weblate (Turkish)
Currently translated at 100.0% (3252 of 3252 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/tr/
2024-10-10 22:14:22 +00:00
陈少举
70fe5b4882
Translated using Weblate (Chinese (Simplified Han script))
Currently translated at 100.0% (3252 of 3252 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/zh_Hans/
2024-10-10 22:14:21 +00:00
arjan-s
ec112cfd03
Translated using Weblate (Dutch)
Currently translated at 100.0% (3252 of 3252 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/nl/
2024-10-10 22:14:20 +00:00
Sabrina
e06b71ff15
Translated using Weblate (Korean)
Currently translated at 22.6% (738 of 3252 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/ko/
2024-10-10 22:14:20 +00:00
gallegonovato
94b87ba0e2
Translated using Weblate (Spanish)
Currently translated at 100.0% (3252 of 3252 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/es/
2024-10-10 22:14:19 +00:00
Fjuro
9183762499
Translated using Weblate (Czech)
Currently translated at 100.0% (3252 of 3252 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/cs/
2024-10-10 22:14:18 +00:00
Саша Петровић
75433ab4de
Translated using Weblate (Serbian)
Currently translated at 58.1% (1890 of 3249 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/sr/
2024-10-10 22:14:17 +00:00
陈少举
d1793d0659
Translated using Weblate (Chinese (Simplified Han script))
Currently translated at 100.0% (3249 of 3249 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/zh_Hans/
2024-10-10 22:14:17 +00:00
Oğuz Ersen
c2767bc4fd
Translated using Weblate (Turkish)
Currently translated at 100.0% (3249 of 3249 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/tr/
2024-10-10 22:14:16 +00:00
José Rebelo
b24c9c13e9
Translated using Weblate (Portuguese)
Currently translated at 66.1% (2150 of 3249 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/pt/
2024-10-10 22:14:15 +00:00
Fjuro
9294e1dc77
Translated using Weblate (Czech)
Currently translated at 100.0% (3249 of 3249 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/cs/
2024-10-10 22:14:14 +00:00
José Rebelo
329eb2c62e Garmin Venu Sq: Initial support 2024-10-10 23:14:01 +01:00
José Rebelo
400d2aeaba Garmin Fenix 8: Initial support 2024-10-10 20:47:35 +01:00
Arjan Schrijver
f9150f4c2c Colmi R0x: Fix factory reset packet bytes 2024-10-10 10:16:09 +02:00
José Rebelo
fb907da6d5 Activity list: Adjust paddings 2024-10-09 21:26:07 +01:00
a0z
cac9b702a2 Activity list - move activity label below, revert background color set 2024-10-09 21:19:41 +01:00
José Rebelo
cdaf78cbbc Activity list: Adjust padding and colors 2024-10-09 21:19:35 +01:00
a0z
c7bac30ef0 Activity list - redesign 2024-10-09 21:19:35 +01:00
José Rebelo
d782169a64 Garmin: Fix rxnetworks AGPS header recognition 2024-10-09 19:01:59 +01:00
José Rebelo
94572805e9 Colmi R0x: Check factory reset flags on onReset
This function is also called for a simple reboot.
2024-10-08 18:20:26 +01:00
Arjan Schrijver
9abcb87f1f Colmi R0x: Normalize timestamps of all received health data
This fixes the duplicate samples reported in #4209, and possibly even
the originally reported issue of multiple days showing the same HR data
in the charts.
2024-10-08 16:34:18 +02:00
Arjan Schrijver
873a044a69 Colmi R0x: Increase logging of V2 packets 2024-10-08 13:17:58 +02:00
Arjan Schrijver
ba3e60376d Colmi R0x: Add factory reset function 2024-10-08 13:17:19 +02:00
José Rebelo
19c80947eb Enable scrollbar in activity list 2024-10-07 20:32:57 +01:00
José Rebelo
95b6485965 Add button to share JSON details 2024-10-06 22:24:04 +01:00
José Rebelo
22a6d9b7d9 Refactor activity lists to use a RecyclerView 2024-10-06 22:24:04 +01:00
José Rebelo
32e955abe2 Fix language not being respected in some situations 2024-10-06 22:22:48 +01:00
José Rebelo
9191500fd9 Sort activity kind filter alphabetically 2024-10-06 14:16:26 +01:00
José Rebelo
96314937d0 Add icons for navigation, cardio, strength training, video gaming 2024-10-06 12:05:05 +01:00
CaptKentish
a5b5b586aa Add boating and snorkeling icons (#4212)
Co-authored-by: CaptKentish <captkentish@noreply.codeberg.org>
Co-committed-by: CaptKentish <captkentish@noreply.codeberg.org>
2024-10-06 10:54:16 +00:00
José Rebelo
b2c88b47d5 Do not consider awake sleep for sleep time 2024-10-05 18:02:13 +01:00
José Rebelo
7de97a49b0 Garmin: Fix over-counting of distance at turn of day 2024-10-05 18:00:57 +01:00
José Rebelo
9c67a30835 Garmin: Persist distance and calories 2024-10-05 17:29:23 +01:00
José Rebelo
c700d49bf0 Allow gadgets to provide distance and calories 2024-10-05 17:29:23 +01:00
José Rebelo
6258ccd4db Garmin: Fetch SKIP_TEMP files 2024-10-05 15:54:41 +01:00
Me7c7
cf7fa3adde Huawei: Initial ephemeris update support 2024-10-05 13:51:10 +00:00