Commit Graph

1284 Commits

Author SHA1 Message Date
José Rebelo
098ab77cc6 Garmin Forerunner 165: Initial support 2024-09-07 23:26:07 +01:00
José Rebelo
4da02fa851 Add month and day to date of birth 2024-08-31 14:40:39 +01:00
José Rebelo
b59ba76803 Refactor preferences screen 2024-08-31 13:33:25 +00:00
José Rebelo
95fdee3cbe Use MediaController for media buttons 2024-08-30 11:03:20 +00:00
José Rebelo
d033c5e33e Data Management: Add basic search to file manager 2024-08-29 22:00:18 +01:00
flipsa
648212bdc1 Initial support for Anker Soundcore Liberty 4 NC earbuds 2024-08-29 19:39:38 +00:00
José Rebelo
f76180c4bd Dashboard: Add new widgets, make them clickable
Add 3 new widget types:
- Body energy
- Stress (simple, segmented, breakdown)
- HRV

Make widgets clickable, opening the corresponding charts page.
2024-08-29 16:09:13 +01:00
José Rebelo
12ecfa0c4e Garmin: Parse strength training workout sets 2024-08-28 13:43:12 +01:00
José Rebelo
39707a52da Huami: Migrate all device settings to sub-screens 2024-08-27 22:48:00 +01:00
José Rebelo
ae1cc16a12 Garmin Fenix 5X Plus: Experimental support 2024-08-26 08:49:31 +01:00
José Rebelo
42dfb6ad4a Garmin: Parse workout physiological metrics 2024-08-25 22:49:47 +01:00
a0z
21de228204 Garmin: Awake time 2024-08-25 21:19:00 +00:00
José Rebelo
b6e2ce1d9c Garmin: Awake time (WIP) 2024-08-25 21:19:00 +00:00
Severin von Wnuck-Lipinski
6bfd3dcd06 Add weight chart 2024-08-25 20:46:52 +00:00
Severin von Wnuck-Lipinski
96a8b9aeae Add support for Mijia XMWSDJ04MMC 2024-08-25 19:43:55 +00:00
Vitaliy Tomin
8ded52a0d1 huawei: Add honor watch gs 3 gadget 2024-08-25 15:34:32 +00:00
a0z
b43c109903 Stress fragment redesign 2024-08-24 17:44:18 +02:00
Arjan Schrijver
e23caa3ee6 Add support for Colmi R02/R03/R06 smart rings 2024-08-23 23:47:34 +02:00
José Rebelo
d8266b3d6b ZeTime: Migrate global preferences to device-specific 2024-08-23 20:22:20 +01:00
Johannes Krude
21bfc81b35 Casio GW-B5600: watch settings 2024-08-23 14:05:11 +00:00
a0z
4ea933b53d Add nested tabs to sleep and steps + steps refactor 2024-08-22 19:31:51 +02:00
Severin von Wnuck-Lipinski
ef1d7171e8 Add support for Mi Smart Scale 2 2024-08-22 09:02:08 +00:00
Severin von Wnuck-Lipinski
9ef8bc0d67 Fix references to MiScale2 2024-08-22 09:02:08 +00:00
José Rebelo
aa9071e34e Zepp OS 4: Fix shortcuts 2024-08-22 00:28:48 +01:00
José Rebelo
8577c5d546 Zepp OS 4: Fix shortcut cards 2024-08-22 00:03:25 +01:00
José Rebelo
10e27c88c6 Garmin: Parse HR time in zone, sweat loss, avg and max HR 2024-08-21 15:03:30 +01:00
José Rebelo
880c85abcf Garmin Venu 2S: Initial support 2024-08-20 19:08:07 +01:00
José Rebelo
cc5eadbc62 CMF Watch Pro 2: Negotiate authentication key 2024-08-19 10:15:13 +01:00
José Rebelo
2277c62cd2 Garmin Venu: Initial support 2024-08-18 18:21:55 +01:00
Martin.JM
10403a375b Huawei: Implement new activity types 2024-08-18 11:06:43 +02:00
Vitaliy Tomin
1940db7204 huawei: Handle some watchface install errors
* handle too many watchface installed
* handle insufficient space
* sort related code while at it
2024-08-17 08:30:46 +00:00
José Rebelo
404e432adf Map activity kinds for Garmin, CMF and Zepp OS 2024-08-15 16:36:07 +01:00
José Rebelo
34378a4a11 Refactor ActivityKind into an enum 2024-08-14 23:13:12 +01:00
a0z
82657febf8 Garmin body energy level (#3964)
Co-authored-by: a0z <a0z@tutamail.com>
Co-committed-by: a0z <a0z@tutamail.com>
2024-08-09 21:35:47 +00:00
Severin von Wnuck-Lipinski
be3f8375f9 Add support for Soundcore Motion 300 2024-08-07 20:44:34 +00:00
José Rebelo
14478f89ac Fix typo in GLONASS 2024-08-06 20:54:53 +01:00
José Rebelo
a96432a8a3 Garmin Fenix 5 Plus: Experimental support 2024-08-06 19:36:37 +01:00
José Rebelo
dd93133168 Garmin Forerunner 965: Initial support 2024-08-05 23:25:56 +01:00
José Rebelo
e19325fce9 Update HRV labels, use enum for status 2024-08-04 22:36:02 +01:00
a0z
f3b1a06d47 HRV Status (#3953)
Co-authored-by: a0z <a0z@tutamail.com>
Co-committed-by: a0z <a0z@tutamail.com>
2024-08-04 21:35:19 +00:00
José Rebelo
996d176cc2 Fix stress colors 2024-08-04 18:34:15 +01:00
a0z
a3e6d446d7 Sleep tabs refactor 2024-08-04 17:33:49 +00:00
José Rebelo
60d5a2ae70 Display warning on find phone without companion pairing 2024-08-04 14:10:11 +01:00
Vitaliy Tomin
bf6d0d0f83 [Huawei] Add Huawei Watch GT Runner gadget
* created new gadget classes
* make tag 0x01 in TimeRequest response optional. There is no
such tag on GT Runner, at least on HarmonyOS 2 firmware.
2024-08-03 14:49:05 +00:00
Martin.JM
6f83fc815f Huawei: Simple TruSleep support
Only supports start and end time of sleep periods.
2024-07-30 22:34:05 +02:00
Marc
af9eec3189 initial support for Garmin Forerunner 255 Music 2024-07-29 19:42:54 +00:00
Peter Kannewitz
00d90f4b8b Garmin Forerunner 255S Music: Initial support (#3932)
Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/3932
Co-authored-by: Peter Kannewitz <peter.kannewitz@posteo.net>
Co-committed-by: Peter Kannewitz <peter.kannewitz@posteo.net>
2024-07-28 21:01:53 +00:00
José Rebelo
d66f0cdd22 Vivitar HR & BP Monitor Activity Tracker: Initial support 2024-07-26 10:16:46 +01:00
José Rebelo
0aec5e0ad5 CMF Buds Pro 2: Initial support 2024-07-26 10:05:26 +01:00
Vitaliy Tomin
ae1cb4e893 [Huawei] Add Huawei Watch 3 gadget 2024-07-25 21:25:52 +08:00
José Rebelo
20f4248e1c Allow configuration of notification times 2024-07-22 12:40:55 +00:00
José Rebelo
78b2c796bf CMF Watch Pro 2: Add new workout types 2024-07-20 15:13:55 +01:00
José Rebelo
650b3ec7dd CMF Watch Pro 2: Experimental support 2024-07-18 22:15:36 +01:00
Clemens Zagler
6811caf8a6 Initial support for Garmin Vivosport 2024-07-14 12:18:52 +02:00
José Rebelo
e77fda67c1 Garmin Vivomove Trend: Initial support 2024-07-08 21:56:07 +01:00
José Rebelo
921eeb1035 Sleep as Android: Add proprietary app warning 2024-07-08 21:37:32 +01:00
Martin.JM
125e6371c3 Huawei: Implement battery polling 2024-07-08 20:36:37 +00:00
Martin.JM
bf16bf06c3 Add battery polling settings 2024-07-08 20:36:37 +00:00
José Rebelo
8672dcac3c Garmin Vivoactive 3: Initial support 2024-07-07 22:48:40 +01:00
José Rebelo
cdd2392961 Garmin Fenix 5: Initial support 2024-07-04 20:43:21 +01:00
José Rebelo
5e1d15e790 Garmin Fenix 6: Initial support 2024-07-04 13:43:26 +01:00
Severin von Wnuck-Lipinski
8fbc12c868 Add support for Moondrop Space Travel
All features provided by the Moondrop Link App are supported.
This includes setting the equalizer profile and
configuring the touch actions.
2024-07-01 19:48:17 +00:00
Arjan Schrijver
39708e5fb6 Change device icons to use theme colors
Fixes #3845
2024-06-30 17:38:31 +02:00
José Rebelo
310b95b551 Garmin Instinct: Initial support 2024-06-27 21:15:37 +01:00
José Rebelo
5ad6d07983 Garmin Forerunner 255S: Initial support 2024-06-20 20:39:52 +01:00
José Rebelo
d946053bcb Garmin: Allow fetching unknown files 2024-06-16 22:21:46 +00:00
Arjan Schrijver
bad29bbeb8 Dashboard: Add monthly goals indicator and legend to calendar view 2024-06-16 23:36:19 +02:00
José Rebelo
5be0c612c6 Garmin Venu 2: Initial support 2024-06-16 17:35:00 +01:00
enoint
2ec568bec7 add support for Hama Fit6900 watch 2024-06-16 12:03:34 +00:00
José Rebelo
527773d3d8 Garmin Forerunner 265: Initial support 2024-06-14 19:47:34 +01:00
José Rebelo
a574475951 Garmin Forerunner 255: Initial support 2024-06-11 19:57:56 +01:00
José Rebelo
010186b2a9 Add note on "Keep activity data on device" preference 2024-06-10 17:10:26 +01:00
José Rebelo
8f98ea02ec Garmin Fenix 7S: Initial support 2024-06-10 16:48:06 +01:00
José Rebelo
4926f449ec Display toast on authentication failures 2024-06-10 16:29:53 +01:00
José Rebelo
76d633cde6 Make battery thresholds configurable 2024-06-10 12:55:27 +00:00
José Rebelo
241ec26170 Garmin Fenix 7 Pro: Initial support 2024-06-09 14:39:10 +01:00
José Rebelo
13cbec2a63 Garmin Venu 3S: Initial support 2024-06-09 09:13:12 +01:00
José Rebelo
b7aec071ff Garmin: Realtime settings 2024-06-07 23:39:12 +01:00
José Rebelo
47e3cbcb33 Garmin Fenix 6 Sapphire: Initial support 2024-06-07 21:27:37 +01:00
José Rebelo
4459b30ee6 Intent API: Add broadcast on activity sync finish 2024-06-02 22:03:12 +01:00
José Rebelo
42d28cc988 Garmin Epix Pro: Initial support 2024-06-02 20:43:05 +01:00
José Rebelo
15f922276b Garmin Instinct 2X Solar: Initial support 2024-05-30 18:47:28 +01:00
François Chavant
b647c7ca48 Add Garmin Instinct 2S Solar 2024-05-30 19:43:52 +02:00
José Rebelo
e5d41e75ad Garmin Vivosmart 5: Initial support 2024-05-27 20:08:00 +01:00
José Rebelo
7b21f85613 Garmin Venu 2 Plus: Initial support 2024-05-26 09:04:57 +01:00
José Rebelo
2f729dbe29 Garmin: Allow agps updates for multiple URLs 2024-05-24 22:24:09 +02:00
lorddavidiii
a0943649bd Initial support for Garmin Vivoactive 4 2024-05-24 22:24:09 +02:00
José Rebelo
6f9f49aa4a Garmin Venu 3: Fix device name 2024-05-24 22:24:09 +02:00
Lolek
1ecb1feb4d Initial support for Garmin Swim 2 2024-05-24 22:24:08 +02:00
kuhy
880e18fffc Garmin protocol: show AGPS data status in settings 2024-05-24 22:24:08 +02:00
Daniele Gobbetti
f1f77abe18 Garmin: harmonize device names
All device name strings start with manufacturer name.
Normalized the usage of accented i.
2024-05-24 22:24:08 +02:00
Andreas Schneider
b6468db13c Garmin: add coordinator for Instinct Crossover 2024-05-24 22:24:08 +02:00
meskio
77f119c211 Initial support for Garmin Instinct Solar 2024-05-24 22:24:08 +02:00
Daniele Gobbetti
9e1bf07cd2 Garmin: add coordinator for Instinct 2 Solar Tactical
confirmed working in https://codeberg.org/Freeyourgadget/Gadgetbridge/issues/3063#issuecomment-1787762
2024-05-24 22:24:08 +02:00
a0z
ed0d41aa3a Garmin: Initial support of Instinct 2 Solar 2024-05-24 22:24:08 +02:00
kuhy
de019fc00a Initial support for Garmin Vivoactive 4S 2024-05-24 22:24:08 +02:00
Daniele Gobbetti
698908a589 Garmin: Add support for custom replies (notifications and calls)
To enable custom replies an override must be defined in the devices coordinator that actually support custom replies.

The custom preferences allow to:
- enable / disable the default message suffix (Instinct 2 appends "sent from my $vendor device" to each reply by default)
- define custom messages to reply to calls and incoming messages (leaving those lists empty will enable the default messages to be used)

Also adds a new protobuf definition file of mostly unknown values that enable toggling the message suffix on Instinct 2.
2024-05-24 22:24:08 +02:00
myxor
15916635e1 Initial support for Garmin Vivoactive 5 2024-05-24 22:24:08 +02:00
hrdl
69934b2d7c Add Garmin Forerunner 245 2024-05-24 22:24:07 +02:00
Daniele Gobbetti
559a73cc5e Garmin protocol: initial refactoring and basic functionalities
This commit takes aims to bring many new garmin devices up to a working status, with basic functionalities such as:
- garmin protocol initialization
- basic message exchange
- support for some messages in Garmin own format
- support for some messages in protobuf format
2024-05-24 22:24:07 +02:00
José Rebelo
78c10c3da9 Amazfit Bip 5 Unity: Experimental support (untested) 2024-05-18 13:12:51 +01:00
Daniele Gobbetti
9c68acce2e Add support for exclusive audio focus
This pauses temporarily other apps that are playing sound while our notifications get spoken.
2024-05-14 16:06:03 +02:00
Martin.JM
9ba96231c3 [Huawei] Implement remote camera shutter 2024-05-13 21:28:43 +00:00
Martin.JM
4c4ba623c4 Add camera implementation
This is to support watches with remote shutter applets that do not
act as remote triggers for other apps automatically.
2024-05-13 21:28:43 +00:00
Daniel Dakhno
3b01422a45 device-cycling-sensor (#3705)
Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/3705
Co-authored-by: Daniel Dakhno <dakhnod@gmail.com>
Co-committed-by: Daniel Dakhno <dakhnod@gmail.com>
2024-05-10 20:43:45 +00:00
Damien 'Psolyca' Gaignon
39ea1774a4 [Huawei] Add Huawei Band 9 gadget 2024-05-08 21:49:12 +00:00
Damien 'Psolyca' Gaignon
f2c360ae8a [Huawei] Add Huawei Watch Fit 3 gadget 2024-05-08 21:49:12 +00:00
José Rebelo
41aab5135f Fossil Q Hybrid: Migrate global preferences to device-specific 2024-05-08 21:42:29 +00:00
Damien 'Psolyca' Gaignon
02b052fcaf
[Huawei] Add Huawei Watch 4 Pro gadget
fix
2024-05-08 22:48:46 +02:00
ahormann
ac8d1ed6a0 New Device Soundcore Liberty 3 Pro (#3753)
Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/3753
Co-authored-by: ahormann <ahormann@gmx.net>
Co-committed-by: ahormann <ahormann@gmx.net>
2024-05-07 22:39:13 +00:00
Martin.JM
4c93647aaf [Huawei] Add TruSleep warning 2024-05-02 20:59:08 +02:00
Damien 'Psolyca' Gaignon
2d32822ff8
[Huawei] Add Huawei Watch Fit 2 gadget 2024-05-01 12:03:59 +02:00
Martin.JM
1c2c1f710e [Huawei] Add support for workout calories and cycling power 2024-04-30 21:08:23 +02:00
Vitaliy Tomin
4d0d9e298e huawei: feature: File upload and watchface management (#3671)
Co-authored-by: Vitaliy Tomin <highwaystar.ru@gmail.com>
Co-committed-by: Vitaliy Tomin <highwaystar.ru@gmail.com>
2024-04-27 21:37:15 +00:00
José Rebelo
61af26d7ce Add Serbian transliterator
As discussed in #3727
2024-04-25 17:51:45 +01:00
Vitaliy Tomin
67cf9b2f00 huawei: Add huawei account support (#3721)
* this feature allows to pair HarmonyOS devices without factory reset to
  GB and Huawei Health.

* huawei account has form of 17 digit string and could be retrived from
  logcat filtering by huid=

Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/3721
Co-authored-by: Vitaliy Tomin <highwaystar.ru@gmail.com>
Co-committed-by: Vitaliy Tomin <highwaystar.ru@gmail.com>
2024-04-25 12:19:00 +00:00
Marcel Alexandru Nitan
2190c82ed7 feature: Sleep as android support
Implement support for Sleep As Android with an usable example for ZeppOs
devices

Sleep as Android documentation:

https://docs.sleep.urbandroid.org/devs/wearable_api.html

Signed-off-by: Marcel Alexandru Nitan <nitan.marcel@protonmail.com>
2024-04-20 12:15:42 +03:00
Arjan Schrijver
f186053dab Dashboard: Add preference for drawing midnight at bottom of 24h chart 2024-04-18 20:06:56 +02:00
Arjan Schrijver
a2c861f66c Add preference for hiding bottom navigation bar 2024-04-17 21:58:23 +02:00
Alik Aslanyan
f0a9ab7f98 Add Armenian transliteration 2024-04-15 19:58:27 +04:00
Arjan Schrijver
523d02ae7f Generalize auto-pickup and read-notifications-aloud features 2024-04-13 14:10:54 +00:00
MrYoranimo
35217aa405 Xiaomi: add support for 2x3 widget layouts
The Xiaomi Smart Band 8 Pro shows widgets in a two by three grid.
Previously, opening the widget configuration for such a device from the
device-specific preferences would crash Gadgetbridge because the layouts
in such a grid was not supported.

This commit adds definitions for layouts in a 2x3 grid to the
WidgetLayout enum, adds a definition for a full screen widget to the
WidgetType enum, defines rendering definitions for the new layouts to
WidgetScreenDetailsActivity, and defines translations for the new
layouts and type to XiaomiWidgetManager.
2024-04-12 20:54:49 +02:00
MrYoranimo
0b731611b9 Xiaomi: refactor WidgetManager for Redmi Watch 4
The Redmi Watch 4 reports both an unsupported widget type and layout
style:

- The firmware supports a screen layout for a single full screens
  widget, which is defined by layout ID 128;
- A full screen widget is a single 2x2 part, which is not supported.

This commit adds support for both the new layout and the new widget
type.

Furthermore, this commit refactors the XiaomiWidgetManager. Previously,
the supported layouts were determined by the types of parts supported by
the device. However, the supported layouts are reported by the device
through a bitfield in the widget capabilities message of which the purpose
was unknown, which is now used to determine the supported layouts.
2024-04-12 20:54:49 +02:00
MrYoranimo
796f26f74f Redmi Watch 4: initial experimental support 2024-04-12 20:54:49 +02:00
upalse
aaa66df082 Add menu items for NFC shortcuts on Mi Band 6 NFC. 2024-04-12 17:20:21 +01:00
Daniele Gobbetti
ff9207cd9a Nothing: add option to read aloud incoming notifications.
Also fixes a bug where the call would be accepted twice if the tts was not bound.
2024-04-12 16:51:49 +02:00
Ganblejs
dae5a77b17 Add setting to wake+unlock on OPEN notif response 2024-04-10 19:36:17 +00:00
Arjan Schrijver
8ce0983cb4 Galaxy Buds Live: Update device settings to new structure 2024-04-09 06:55:53 +00:00
Arjan Schrijver
cb13c7bc05 Fossil/Skagen Hybrids: Update device settings to new structure 2024-04-09 06:55:53 +00:00
Daniele Gobbetti
a37f0c89bb Nothing: add adjustable delay for auto-pick-up of calls
- Also add a (basic) Application wide TextToSpeech helper
- use the TextToSpeech to announce the caller name or number
2024-04-05 19:55:22 +02:00
Daniele Gobbetti
c4747e2e23 Nothing: add option to auto-reply to incoming phone calls
The new preference to toggle the auto-reply behavior is not
prefixed with the device name, as I guess it could be useful
also for other bluetooth headphones
2024-04-05 19:55:22 +02:00
Arjan Schrijver
43fddd0110 Dashboard view (#3478)
This adds a new dashboard-type view to Gadgetbridge. The new dashboard activity displays several widgets with aggregated statistics from multiple devices. New preferences are added to allow configuration of the dashboard and its widgets. A new bottom navigation bar is added to switch between the Dashboard and Devices views.

Some issues that prompted this feature and provided inspiration for the implementation:
- https://codeberg.org/Freeyourgadget/Gadgetbridge/issues/301 (More Intuitive User Interface)
- https://codeberg.org/Freeyourgadget/Gadgetbridge/issues/3074 (Ability to merge historical data from several devices)

Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/3478
Reviewed-by: José Rebelo <joserebelo@noreply.codeberg.org>
Co-authored-by: Arjan Schrijver <a_gadgetbridge@anymore.nl>
Co-committed-by: Arjan Schrijver <a_gadgetbridge@anymore.nl>
2024-04-04 19:28:04 +00:00
Damien 'Psolyca' Gaignon
10cd4e09b1
[Huawei] Add enable SpO2 force option 2024-04-02 18:53:37 +02:00
Damien 'Psolyca' Gaignon
fd5cab2b4c
[Huawei] Add enable HeartRate force option 2024-04-02 18:53:36 +02:00
José Rebelo
88a1e7bb59 Huawei: Group pace values in activity summary pace group 2024-03-30 21:42:18 +00:00
Martin.JM
83d2aaf30e Group new Huawei workout activity entries 2024-03-30 22:07:02 +01:00
Martin.JM
4ad77c8232 Huawei Workout improve pace information 2024-03-30 21:34:27 +01:00
Martin.JM
e9090ec082 Huawei Workout use translatable strings 2024-03-30 21:34:27 +01:00
José Rebelo
57fd857de5 Set navbar color to match theme 2024-03-28 23:13:08 +00:00
Daniel Dakhno
8cf87a418b Added scannable-only devices (#3621)
Co-authored-by: Daniel Dakhno <dakhnod@gmail.com>
Co-committed-by: Daniel Dakhno <dakhnod@gmail.com>
2024-03-28 21:07:05 +00:00
José Rebelo
852893408f Ask for companion device during pairing 2024-03-25 20:31:33 +00:00
José Rebelo
8085eb6ec3 Discover bonded devices by default
A lof of devices will simply work anyway even if already paired in
Android bluetooth settings. Discover them by default, but warn the user
if the device is not known to pair correctly if already paired in Android
settings. Allows this warning to be disabled to known working devices.
2024-03-25 20:31:33 +00:00
Ganblejs
6a9c037926 Bangle.js:actTrk: notify on fetch interrupted 2024-03-21 23:28:29 +00:00
Damien 'Psolyca' Gaignon
88043aa813
[Huawei] Add Huawei Watch Ultimate support 2024-03-21 19:06:02 +01:00
Vitaliy Tomin
014b453693
[Huawei] Add Huawei Watch GT4 support 2024-03-20 13:41:49 +01:00
José Rebelo
d1eb6ae740 Fix typo in charts option label for sleep 2024-03-19 22:18:04 +00:00
José Rebelo
9971a14648 Fix chart option labels 2024-03-19 21:10:39 +00:00
José Rebelo
b7ab61f233 Use existing string for temperature 2024-03-18 09:12:33 +00:00
José Rebelo
ee6340c848 Amazfit Bip 3: Initial support 2024-03-17 13:06:31 +00:00
José Rebelo
fcc930749e Sony LinkBuds: Initial support 2024-03-15 23:36:50 +00:00