1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-06-16 10:00:08 +02:00
Commit Graph

1186 Commits

Author SHA1 Message Date
Andreas Shimokawa
bef015b0c2 Add new getSupportedLanguageSettings() to coordinator to get rid of all those arrays
There is one big generic one now, unssupported languages will be removed at runtime.
Tested with Amazfit Bip U.
2021-10-07 14:32:09 +02:00
Daniel Dakhno
1a892aa159 UM25: added some fields to UI 2021-10-03 02:43:42 +02:00
Andreas Shimokawa
475a2584cc Amazfit Bip U/Pro: enable unicode emoji 2021-10-01 14:18:06 +02:00
Andreas Shimokawa
e3a4468bac Amazfit Bip U: Fix flashing firmware, res and fonts 2021-10-01 14:00:38 +02:00
daniele
a7f42f0c4f Add initial support for Nothing Ear(1) TWS (#2403)
Nothing Ear (1) are wireless earbuds that support active noise
suppression, transparency mode and several gestures.

This initial commit adds support for:
- reading battery level
- setting audio mode
- setting in-ear auto detection

Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/2403
Co-authored-by: daniele <daniele@noreply.codeberg.org>
Co-committed-by: daniele <daniele@noreply.codeberg.org>
2021-09-30 22:40:18 +02:00
Andreas Böhler
264b003809 Fix connection on GBX-100 2021-09-23 18:28:45 +02:00
vanous
e00ee75ad2 adding FitPro bands support 2021-09-21 16:37:19 +02:00
vanous
6b10453714 Remove device specific Alarms upon device removal. 2021-09-19 17:55:54 +02:00
vanous
d6b5140519 Remove device specific preferences upon device removal. Also add this option to the Debug screen. 2021-09-18 22:28:58 +02:00
Andreas Shimokawa
117cd57463 Mi Band 6: Support sending encrypted packets on new firmware 2021-09-02 11:21:05 +02:00
Andreas Shimokawa
9bd8424f83 Mi Band 6 auth: first experiments 2021-08-26 10:59:53 +02:00
Arjan Schrijver
feadeb8139 Fossil Hybrid HR: Add power saving feature 2021-08-13 22:28:49 +02:00
Arjan Schrijver
2e3c409e02 Fossil Hybrid HR: Add timezone selector for 2nd TZ widget 2021-08-13 22:28:49 +02:00
Arjan Schrijver
9f2759a43c Fossil Hybrid HR: Add 2nd TZ, Active Minutes and Chance Of Rain widgets 2021-08-13 22:28:49 +02:00
Arjan Schrijver
478053288f Fossil Hybrid HR: Add battery and calories widgets 2021-08-13 22:28:49 +02:00
Arjan Schrijver
35da8fcad0 Fossil Hybrid HR: Show progress bar while installing watchface 2021-07-22 22:04:31 +02:00
Arjan Schrijver
ba5c87e7a8 Fossil Hybrid HR: Add icon for inverting colors of background image 2021-07-22 13:09:00 +02:00
Arjan Schrijver
c91403fce3 Fossil Hybrid HR: Rename widget color definitions 2021-07-22 13:07:09 +02:00
Arjan Schrijver
dcf869b988 Fossil Hybrid HR: Confirm overwriting cached watchface 2021-07-21 21:27:58 +02:00
Arjan Schrijver
fb02fa2ee0 Fossil Hybrid HR: Add default Gadgetbridge-themed watchface background 2021-07-21 20:32:16 +02:00
x29a
5b2ca65321 Added support for SMA Q2 (#2215)
Hi,

i applied the changes from [Emeryths fork](https://github.com/Emeryth/Gadgetbridge) to master in order to get the [SMA Q2 smartwatch](https://hackaday.io/project/85463-color-open-source-smartwatch) support upstream.

It uses [his firmware](https://github.com/Emeryth/sma-q2-oss) (pretty/most popular for this device).

Greatly appreciate any feedback as this is my first attempt to add a device to GB :)

I read through the [tutorial](https://codeberg.org/Freeyourgadget/Gadgetbridge/wiki/New-Device-Tutorial), are there other sources for adding new device support?

thanks!

Co-authored-by: x29a <0.x29a.0@gmail.com>
Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/2215
Co-authored-by: x29a <x29a@noreply.codeberg.org>
Co-committed-by: x29a <x29a@noreply.codeberg.org>
2021-07-20 12:08:12 +02:00
Arjan Schrijver
a710f0f677 Fossil Hybrid HR: Drop widget on recycle bin to delete 2021-07-19 13:43:05 +02:00
Arjan Schrijver
8fabf0d038 Fossil Hybrid HR: Support configuring watchface internal values 2021-07-19 13:43:05 +02:00
Arjan Schrijver
6000dd525e Fossil Hybrid HR: Support widget color inversion 2021-07-19 13:43:05 +02:00
Arjan Schrijver
ceddaa0e8a Fossil Hybrid HR: Make hardcoded strings translatable 2021-07-19 13:43:05 +02:00
Arjan Schrijver
d4b5796267 Fossil Hybrid HR: Add drag&drop for widgets 2021-07-19 13:43:05 +02:00
Arjan Schrijver
d4c69ebca3 Fossil Hybrid HR: Add steps and HR widgets 2021-07-19 13:43:05 +02:00
Arjan Schrijver
6743af98e9 Fossil Hybrid HR: Replace hardcoded widget type radio buttons with generated dropdown 2021-07-19 13:43:05 +02:00
Arjan Schrijver
2b7fc8dee1 Fossil Hybrid HR: Add widget position presets and move widget dialog to layout XML 2021-07-19 13:43:05 +02:00
Arjan Schrijver
7d23044a45 Fossil Hybrid HR: Show widget previews in watchface designer 2021-07-19 13:43:05 +02:00
Arjan Schrijver
e4be137286 Fossil Hybrid HR: Move preview&save buttons to action bar 2021-07-19 13:43:05 +02:00
Arjan Schrijver
5ccfccaf40 Fossil Hybrid HR: Extend AbstractGBActivity for dark theme support 2021-07-19 13:43:05 +02:00
Arjan Schrijver
04cdb0573b Fossil Hybrid HR: Use text inputs for widget coordinates 2021-07-19 13:43:05 +02:00
Arjan Schrijver
fa89df562a Fossil Hybrid HR: Edit existing watchfaces from app manager cache 2021-07-19 13:43:05 +02:00
Arjan Schrijver
c77d3e49b1 Fossil Hybrid HR: Add file extensions to new assets 2021-07-19 13:43:05 +02:00
Arjan Schrijver
de403cf92e Fossil Hybrid HR: Add watchface designer 2021-07-19 13:43:05 +02:00
vanous
7c6e565367 add transliteration to BangleJS and WaspOS 2021-07-06 20:59:38 +02:00
vanous
dad7d66965 Remove battery data when device is being removed 2021-07-03 09:15:07 +02:00
vanous
809cd30f0e add transliteration to PineTime, solves #2334 2021-07-02 09:51:43 +02:00
TaaviE
e6cf7e111c Set the class loader to avoid unmarshalling errors 2021-07-02 09:15:26 +02:00
Andreas Shimokawa
acb6de0983 Pebble: Fix inverted check for firmware version
Regression from 0.57.1.

This could help #2329
2021-06-27 00:22:05 +02:00
GeekosaurusR3x
685fc8b585 Amazfit T-Rex Pro: Fix for watch face upload and device settings (#2321)
Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/2321
Co-authored-by: GeekosaurusR3x <geekosaurusr3x@noreply.codeberg.org>
Co-committed-by: GeekosaurusR3x <geekosaurusr3x@noreply.codeberg.org>
2021-06-13 22:58:00 +02:00
GeekosaurusR3x
00fe84d8cf Initial support for Amazfit T-Rex Pro 2021-06-12 21:19:16 +02:00
TaaviE
df3ee872ae Improved logging in bonding and tried to recover from weirdness 2021-05-30 01:00:48 +03:00
Arjan Schrijver
25324c61b9 Fossil Hybrid HR: Use GB app manager (#2302)
This PR replaces (just for the Fossil Hybrid HR) the current watchface configuration screen with the native Gadgetbridge app manager. Bonus feature: when multiple watchfaces are installed on the watch, they can be switched by tapping on them.

Co-authored-by: Arjan Schrijver <a_gadgetbridge@anymore.nl>
Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/2302
Co-authored-by: Arjan Schrijver <arjan5@noreply.codeberg.org>
Co-committed-by: Arjan Schrijver <arjan5@noreply.codeberg.org>
2021-05-29 16:42:32 +02:00
TaaviE
6403e13c9b SerializedName should be a bit more explicit and theoretically allows reflectionless deserialization 2021-05-29 15:26:05 +03:00
TaaviE
0b021d72ab Made the firmware version extraction a bit more robust and added annotations to keep data classes after optimizations 2021-05-29 15:01:35 +03:00
Andreas Shimokawa
348f459e3f Huami: Send "about you" preferences to device immediately when changing values
Closes #2297
2021-05-27 23:11:00 +02:00
Arjan Schrijver
9dac0a80c3 Fossil Hybrid HR: Add watch app and watchface support to install handler 2021-05-24 21:49:54 +02:00
Andreas Shimokawa
bba74cb5b4 Mi Band 6: Support unicode emoji being sent 2021-05-24 17:27:34 +02:00
Andreas Shimokawa
cbadb9c7ae Mi Band 6: allow firmware update
Also whitelist FW 1.0.1.36 which I just flashed though Gadgetbridge

Tracking Issue: #2263
2021-05-24 16:51:09 +02:00
Andreas Shimokawa
090e0c7b33 Mi Band 6: support flashing watchfaces
Tracking Issue: #2263
2021-05-24 15:47:27 +02:00
Arjan Schrijver
9f459b1da9 Fossil Hybrid HR: Move commute actions to device specific settings 2021-05-22 22:28:26 +02:00
Andreas Shimokawa
f083e79f5d update changelogs 2021-05-17 12:17:23 +02:00
Andreas Shimokawa
083fdea225 Experimenting with the Domyos T540C treadmill 2021-05-11 14:30:25 +02:00
Arjan Schrijver
beb1597b75 Fossil Hybrid HR: Hide old settings on newer firmwares 2021-05-11 11:22:55 +02:00
Arjan Schrijver
be73e84829 Fossil Hybrid HR: Restructure settings menus for calibration, file management and physical buttons 2021-05-11 11:22:55 +02:00
jhey
58d3eaaa9f WIP initial Miband 6 support (#2277)
Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/2277
Co-authored-by: jhey <jhey@noreply.codeberg.org>
Co-committed-by: jhey <jhey@noreply.codeberg.org>
2021-05-09 22:52:36 +02:00
Andreas Shimokawa
a1005ae479 Add "list wrist for background light" setting to Amazfit Neo settings
Closes #2285
2021-05-09 08:56:28 +02:00
TaaviE
e4d70ade2a Improved PineTime/InfiniTime firmware DFU metadata parsing and checks 2021-05-03 00:12:51 +03:00
Arjan Schrijver
2f37d4c839 Fossil Hybrid HR: Dismiss incoming call with a quick SMS reply (#2264)
Merge branch 'master' into fossil_hr_quick_replies

Fossil Hybrid HR: Allow between 1 and 16 quick replies to be configured

Fossil Hybrid HR: Dismiss incoming call with a quick SMS reply

Co-authored-by: Arjan Schrijver <a_gadgetbridge@anymore.nl>
Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/2264
Co-Authored-By: Arjan Schrijver <arjan5@noreply.codeberg.org>
Co-Committed-By: Arjan Schrijver <arjan5@noreply.codeberg.org>
2021-04-27 12:51:14 +02:00
Arjan Schrijver
31d2563a18 Fossil Hybrid HR: Show correct notification icons (#2251)
Co-Authored-By: Arjan Schrijver <arjan5@noreply.codeberg.org>
Co-Committed-By: Arjan Schrijver <arjan5@noreply.codeberg.org>
2021-04-20 09:55:27 +02:00
Andreas Shimokawa
7698b84826 Amazfit GTR2: probably finally fix firmware / watchface installaation 2021-04-03 18:30:20 +02:00
Andreas Shimokawa
417923aef1 Amazfit GTR2/GTS2: Prevent emoji transliteration. Seems to support emoji. 2021-04-01 19:23:59 +02:00
Andreas Shimokawa
c410f0e4a7 Amazfit Neo: Implement firmware update but keep it disabled for now
Flashing to the latest firmware breaks Gadgetbridge compatibility
2021-03-24 23:49:52 +01:00
Andreas Shimokawa
91b27901e7 Fossil Hybrid HR: prevent hard crash when choosing a remote URL in FIle Mananger 2021-03-13 22:00:12 +01:00
Andreas Shimokawa
2d17f06d6d Fossil Hybrid HR: Fix resolving file path from chosen file for many file managers
Tested with Lineage 17.1 file chooser.
2021-03-13 21:31:28 +01:00
Arjan Schrijver
2cbb42ba53 Fossil Hybrid HR: disable unsupported functions for newer firmwares 2021-03-11 17:19:31 +01:00
Andreas Shimokawa
54409fbe55 Pebble: Make use of new generic per-device autoremove notification setting 2021-03-08 15:05:33 +01:00
Andreas Shimokawa
ecc0f78848 Fossil Hybrid HR: move autoremove notifications settings to own xml for reusability 2021-03-08 14:58:54 +01:00
Daniel Dakhno
b4a115d2c3 UM25: fixed bonding style 2021-03-08 12:29:21 +01:00
Daniel Dakhno
6b4cec5996 UM25: fixed formatting 2021-03-08 12:29:21 +01:00
Daniel Dakhno
0fecdf0e18 UM25: added base device support for UM25C voltage meter 2021-03-08 12:29:18 +01:00
Arjan Schrijver
627bf033c3 Fossil Hybrid HR: Fix up/back navigation and add titles 2021-03-08 12:08:57 +01:00
Andreas Shimokawa
00e5f1caf2 InfiniTime: Implement call control and notification 2021-02-22 23:35:34 +01:00
Stephan Lachnit
0118469c9f
InfiniTime: fix music UUIDs for real
Fixup for b9647e26c3
Closes #2199
2021-02-21 14:32:13 +01:00
Stephan Lachnit
b9647e26c3 InfiniTime: update music UUIDs (#2200)
Merge branch 'master' into p/infinitime-music-uuids

InfiniTime: update music UUIDs (Closes #2199)

Updated UUIDs from ccbe2e8e1b

Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/2200
Co-Authored-By: Stephan Lachnit <stephanlachnit@protonmail.com>
Co-Committed-By: Stephan Lachnit <stephanlachnit@protonmail.com>
2021-02-14 00:47:44 +01:00
Stefan Bora
5d4f70499d Added support for Amazfit X 2021-02-07 23:59:26 +01:00
pommes
6fb483c3a6 Fix device name for Amazfit GTS 2e (#2192)
Fixes device name for Amazfit GTS 2e
Co-Authored-By: pommes <pommes@noreply.codeberg.org>
Co-Committed-By: pommes <pommes@noreply.codeberg.org>
2021-02-07 23:19:39 +01:00
Andreas Shimokawa
6d02e8c488 Amazfit GTS/GTR2 (all variants): Try to fix missing menu items
This was reported in #2189 for the GTS 2 Mini, but let's assume it is the same problem for all variants.
2021-02-07 16:23:45 +01:00
Andreas Shimokawa
85130a15d8 Inital support for Amazfit GTS 2e
Also fix missing break in Zepp E block
2021-02-06 21:56:28 +01:00
Andreas Shimokawa
092d527158 Move Amazfit GTR 2e code in the Amazfit GTR 2 package, they are too similar 2021-02-04 23:15:16 +01:00
Daniel Thompson
9e6c121dd9 wasp-os: Introduce a new device type
wasp-os is an open-source firmware, based on MicroPython, for smart
watches that are based on the nRF52 family of microcontrollers.
Currently this includes the hacker friendly PineTime from Pine64 as
well as the Colmi P8, which is a popular device with watch modders.

For GadgetBridge integration wasp-os is very similar to handling
Espruino/BangleJS: the watch will interact with the bridge by
providing REPL-over-BLE via the Nordic UART service.

wasp-os implements the same JSON-wrapped-in-GB()-function-call
protocol used for BangleJS buy the differences in capability
between the two firmwares lead us to introducing a different
device type... and also a different icon since the lead devices
for wasp-os are square!

I plan to keep as aligned as possible with the BangleJS device
type, however at present the major differences include:

1. Specify the bonding style (wasp-os currently does not support
   bonding... so no need to ask).
2. Disable some of the not-yet-implemented features.
3. Reduce the minimum packet size to fix communication reliability
   issues with the MicroPython NUS implementation.
4. Switch the date/time setting syntax from JavaScript to MicroPython.
2021-02-04 20:03:44 +01:00
Andreas Shimokawa
6ca3424035 Amazfit GTR2e: fix creating from firmware info class 2021-02-02 23:12:12 +01:00
Jochen S
b945af1531 Added support for Amazfit GTR 2e. (#2182)
Merge branch 'master' into master

Added support for Amazfit GTR 2e.

Co-authored-by: Jochen S <tsalin@noreply.codeberg.org>
Co-authored-by: arisel <arisel@arisel.de>
Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/2182
Co-Authored-By: Jochen S. <tsalin@noreply.codeberg.org>
Co-Committed-By: Jochen S. <tsalin@noreply.codeberg.org>
2021-02-02 23:06:11 +01:00
Daniel Dakhno
1505c355ce Fossil HR: allow app management on watch from GB 2021-02-01 01:57:13 +01:00
Andreas Shimokawa
1dc5164423 Zepp E: Address problems mentioned in #2180
Also move the package to huami
2021-01-31 22:55:59 +01:00
Andrew Watkins
3cfc6c596b Huami Zepp E support (#2180)
Added support for Huami Zepp E

Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/2180
Co-Authored-By: Andrew Watkins <randnv20@noreply.codeberg.org>
Co-Committed-By: Andrew Watkins <randnv20@noreply.codeberg.org>
2021-01-31 22:41:01 +01:00
Daniel Dakhno
ec77345632 Fossil Hybrid: file handle can be passed to service as string 2021-01-30 21:10:36 +01:00
Andreas Shimokawa
251aee8c74 Amazfit GTS2 mini: Fix device name as stated in #2152 2021-01-29 01:00:57 +01:00
Andreas Shimokawa
0c6ce453b2 Amazfit GTS 2 Mini: Initial support
(See #2152)

This also fixes a glitch with GTS2 firmware update code which is still untested
2021-01-26 23:31:35 +01:00
Andreas Shimokawa
61395b210c Amazfit Bip U: Fix summary data for summery version 519
For now this just skips new, previously unknown data , see #2063
2021-01-22 11:28:43 +01:00
xaos
4d47d53a8f Basic Amazfit Neo support (#2117)
Merge branch 'amazfit_neo' of codeberg.org:xaos/Gadgetbridge into amazfit_neo

updated menu items and settings, also disabled music info

added some classes, strings, etc. for Amazfit Neo (shows up but does not connect)

Merge branch 'amazfit_neo' of codeberg.org:xaos/Gadgetbridge into amazfit_neo

Merge branch 'master' into amazfit_neo

updated menu items and settings, also disabled music info

Merge branch 'authkey_errmsg' into amazfit_neo

refined error message for invalid authentication keys

added some classes, strings, etc. for Amazfit Neo (shows up but does not connect)

Co-authored-by: xaos <xaos@xaos.tech>
Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/2117
Co-Authored-By: xaos <xaos@noreply.codeberg.org>
Co-Committed-By: xaos <xaos@noreply.codeberg.org>
2021-01-20 16:03:58 +01:00
License Bot
1b5402dcb4 update license headers 2021-01-10 23:38:13 +01:00
DanialHanif
2b8cd6013a Add Amazfit BIP U Pro support 2021-01-06 10:13:50 +01:00
TaaviE
09eb470b64 Renamed removeBroadcastReceivers to a more correct name 2020-12-28 22:03:41 +01:00
angelpup
4676c50afc Added Support for Amazfit Verge Lite
Co-Authored-By: angelpup <angelpup@noreply.codeberg.org>
Co-Committed-By: angelpup <angelpup@noreply.codeberg.org>
2020-12-20 22:39:51 +01:00
andyboeh
02b85f4c11 Casio GBX-100: Add step count data and more device settings
Co-Authored-By: andyboeh <andyboeh@noreply.codeberg.org>
Co-Committed-By: andyboeh <andyboeh@noreply.codeberg.org>
2020-12-20 00:22:35 +01:00
vanous
074bc885c8 send broadcast and vibration on button action only if enabled 2020-12-18 10:56:42 +01:00
Andreas Shimokawa
4fb79ac2b2 Huami: Add new option to disting to properly distinguish connected adverising and 3rd party hr exposure 2020-12-13 22:38:03 +01:00
TinfoilSubmarine
2f89de6250 Add Amazfit Bip U menu items and remove shortcuts (#2107)
fix a tab vs. space misalign

add missing menu items for Bip U (and possibly others)

remove shortcut config from Amazfit Bip U settings

add (most) menu items for Amazfit Bip U

Co-authored-by: AluminumTank <joel@beckmeyer.us>
Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/2107
Co-Authored-By: TinfoilSubmarine <tinfoilsubmarine@noreply.codeberg.org>
Co-Committed-By: TinfoilSubmarine <tinfoilsubmarine@noreply.codeberg.org>
2020-12-05 16:22:09 +01:00
Gordon Williams
480ec40ff2 Fix realtime data, add suggestions from https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/2106 2020-12-04 16:30:19 +00:00
Gordon Williams
c1195ba05d Support for HRM and steps activity recording in Bangle.js 2020-12-04 15:14:00 +00:00
Andreas Shimokawa
c7f75c3dc3 Amazfit TRex: Fix previous commit 2020-12-01 21:29:32 +01:00
Andreas Shimokawa
1bad73e20c Amazfit Bip U: Blindly add untested support
Based on Bip S, don't know what works and what not
2020-11-30 17:09:29 +01:00
Daniel Dakhno
996674836e Fossil Hybrid: added firmware upgrade to old Q's 2020-11-29 17:10:10 +01:00
Andreas Böhler
b0a0a29bcb Casio GB-5600B/GB-6900B: Add configurable disconnect notification 2020-11-23 22:59:16 +01:00
Andreas Böhler
8fd0e1f13f Add support for synchronizing profile settings 2020-11-21 22:12:19 +01:00
Andreas Böhler
92986724ee Fix watch init (only do the bare minimum) and add basic
notification support. Reconnect is WiP.
2020-11-21 22:12:19 +01:00
Andreas Böhler
b653789b66 Add preliminary support for Casio GBX-100: connecting and time synchronization. 2020-11-21 22:12:19 +01:00
Andreas Böhler
08ff70ac41 Refactor Casio support for multiple watches 2020-11-21 22:12:19 +01:00
Andreas Shimokawa
bd0c645db5 Add support for Amazfit GTS2 (untested)
Also change icon for GTR2 to a round one
2020-11-15 16:25:47 +01:00
pangwalla
c4eb1c0879 Support for Amazfit GTR 2 (#2072)
Merge branch 'master' into master

fixed GTR2 getActivitySampleSize override

Support for Amazfit GTR 2

Co-authored-by: Pangwalla <pangwalla@protonmail.com>
Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/2072
2020-11-09 20:53:02 +01:00
Andreas Shimokawa
d20e6516c8 Humai: Implement menu sorting for remaining devices (except Mi Band 2) 2020-11-07 22:48:34 +01:00
Andreas Shimokawa
8cb2fb980a Ímplement sorting menu items for newer Huami devices
- Amazfit GTR/GTS
- Amazfit Bip S
- Mi Band 5/Amazfit Band 5
2020-11-07 22:48:34 +01:00
Andreas Shimokawa
50f99a5b59 Amazfit Bip S Lite: add new device type for the lite variant
See #2055
2020-10-27 12:56:27 +01:00
Daniel Dakhno
c85e30cb07 Fossil Hybrid: added hands calibration 2020-10-22 12:43:40 +02:00
Andreas Shimokawa
4131f19f8d Amazfit Band 5: Allow setting Sp=2
Also unify code to set display items on newer devices
2020-10-21 20:03:26 +02:00
Andreas Shimokawa
7c374181dc Amazfit Band 5: Try to blindly use Mi Band 5 support for now 2020-10-17 11:58:22 +02:00
Daniel Dakhno
3b2a16b6fc Fossil Hybrid: added manual file down/upload 2020-10-16 01:50:44 +02:00
Andreas Shimokawa
0d49eaaf9e Pebble: move canned message to per-device settings (including migration)
This also cleans up some useless preferencehandlers that only change summary by
using app:useSimpleSummaryProvider="true" for EditText
2020-10-13 00:27:22 +02:00
Daniel Dakhno
2335a7a337 Merge remote-tracking branch 'origin/master' 2020-10-12 18:15:11 +02:00
Daniel Dakhno
e47599f15f Fossil Hybrid: fixed text color 2020-10-12 18:15:04 +02:00
TaaviE
3b5f35f34a Added PineTime (InfiniTime) Nordic DFU support 2020-10-11 19:16:31 +03:00
TaaviE
3636410191 Fixed weird formatting in MiBandFWHelper 2020-10-11 19:16:31 +03:00
TaaviE
5c25bc65ca Removed an unused leftover function 2020-10-11 19:16:31 +03:00
TaaviE
01feaabffd Added support for Nut devices 2020-10-11 19:16:31 +03:00
TaaviE
c0c35a0931 Minor improvements to iTag-related documentation 2020-10-11 19:16:31 +03:00
opavlov
1fbfb1cae1 fixed copyright info 2020-10-11 17:27:30 +03:00
opavlov
1ba454a89b refactored settings to "per-device" according to wiki 2020-10-11 17:24:11 +03:00
opavlov
78ec2a4a14 fixed issue with sleep data(wrong order of reading bits). removed rest useless methods from band classes. 2020-10-11 17:24:11 +03:00
opavlov
06a12300a1 added support for sony swr12 2020-10-11 17:24:11 +03:00
TaaviE
d892e8d963 Separated InfiniTime characteristic UUIDs into a separate file 2020-10-11 14:26:03 +03:00
Yukai Li
d6bed776c5 Lefun: Use existing time format setting with handling for automatic format
Also fix "interface language" string name
2020-10-10 22:03:46 +02:00
Yukai Li
0f123022f9 Lefun: Fix license headers 2020-10-10 22:03:46 +02:00
Yukai Li
1242009b55 Lefun: Add comments 2020-10-10 22:03:46 +02:00
Yukai Li
6974a86b87 Lefun: Implement settings 2020-10-10 22:03:46 +02:00
Yukai Li
31078647b1 Lefun: Limit notification length further
In addition to the 255 pieces limit, the band also uses a byte for total message length, so cap that too to not run over previous message data.
2020-10-10 22:03:46 +02:00
Yukai Li
c2375f95f4 Lefun: Implement notification support 2020-10-10 22:03:46 +02:00
Yukai Li
3d108d9d11 Lefun: Implement heart rate test 2020-10-10 22:03:46 +02:00
Yukai Li
d161415046 Lefun: Implement activity data sampling 2020-10-10 22:03:46 +02:00
Yukai Li
4992e4c15b Lefun: Fix command length checks, again 2020-10-10 22:03:46 +02:00
Yukai Li
9454684974 Lefun: Add device support and initialization code 2020-10-10 22:03:46 +02:00
Yukai Li
b46960e0a7 Lefun: Fix response parsing 2020-10-10 22:03:46 +02:00
Yukai Li
8662041e5a Lefun: Fix checksum generation 2020-10-10 22:03:46 +02:00
Yukai Li
c7edfc0b54 Lefun: Fix response ID 2020-10-10 22:03:46 +02:00
Yukai Li
265260810a Lefun: Add command serializers 2020-10-10 22:03:46 +02:00
Yukai Li
fd56db55c4 Lefun: Add device coordinator 2020-10-10 22:03:46 +02:00
Andreas Shimokawa
49e7cc4c9b InfiniTime: implement music control and info 2020-09-23 12:12:45 +02:00
Memiks
70a140f358 HPlus notficiation encoding weather improvments (#2012)
fix indent change

add only new functions from master branch

correct issue with reformated code

Merge branch 'master' into HPlus_improve_notifications

update code formatting with Android Studio
remove bad update of .gitignore

HPlusSupport rebuild indexation

remove unecessary change for pull request

Improve HPlus support
- update unicode support
- update notification function
- add first weather notification

Merge pull request 'update master from upstream repository' (#4) from Freeyourgadget/Gadgetbridge:master into master

Reviewed-on: https://codeberg.org/Memiks/Gadgetbridge/pulls/4

Merge pull request 'update master from upstream repository' (#2) from Freeyourgadget/Gadgetbridge:master into master

Reviewed-on: https://codeberg.org/Memiks/Gadgetbridge/pulls/2

use my own android sdk image

Sign apk

add signed apk

remove .drone.yml from git

add drone.io compilation

Merge pull request 'update master from upstream repository' (#1) from Freeyourgadget/Gadgetbridge:master into master

Reviewed-on: https://codeberg.org/Memiks/Gadgetbridge/pulls/1

Co-authored-by: Andreas Shimokawa <shimokawa@fsfe.org>
Co-authored-by: Memiks <contact@memiks.fr>
Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/2012
2020-09-13 19:13:45 +02:00
Andreas Shimokawa
1c2218079b Pinetime-JF: Recognize device if it annouces itself as InfiniTime 2020-09-09 23:40:36 +02:00
Andreas Shimokawa
9c239ec371 Amazfit Cor/Cor2: Allow workout syncing 2020-09-01 20:05:06 +02:00
frederic lesur LESUR Frederic
c67ec5f71c Change id of Lemfo SG2 to 44
Change name from SG2 to Lemfo SG2
2020-08-29 23:17:42 +02:00
frederic lesur LESUR Frederic
997504c01a Add first support of SG2 HPlus watch 2020-08-29 23:17:42 +02:00
TaaviE
6cd59fbd24 Refactored all pairing and bonding activities (#1989)
Fixed a few warnings

Refactored all bonding and bonding activities

Co-authored-by: TaaviE <taavi.eomae+github@gmail.com>
Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/1989
2020-08-28 15:38:18 +02:00
TaaviE
3bf2d4f086 Fixed a warning with witdh being used as height parameter. 2020-08-26 14:02:22 +02:00
Bot
40852d3641 Fixed a bunch of misspellings and formatting 2020-08-26 14:37:40 +03:00
Andreas Shimokawa
c9d98e60a9 Huami: Mark all devices as supporting device actions except mi band 2 (need to check that one, assuming newer ones to work)
Also add high_mtu setting to Rex, GTR, GTS, Mi Band 5
2020-08-26 10:00:06 +02:00
TaaviE
010785113b Fixed a few more warnings 2020-08-26 09:38:31 +02:00
TaaviE
7db3b68047 Fixed a bunch of warnings 2020-08-26 09:38:31 +02:00
Andreas Shimokawa
ef3edd9932 Huami: igrore min/max pace for certain workout types they all display the same bogus value 2020-08-23 15:03:40 +02:00
Andreas Shimokawa
b6abcc8c7b Huami; swap min/max pace in parser 2020-08-23 00:14:36 +02:00
Andreas Shimokawa
645c22b10a Huami: decode average HR where available (newer devices) 2020-08-22 21:59:18 +02:00
Andreas Shimokawa
fcb1df6c68 Huami: decode some more sports summary values on Bip S (probably other new devices also) 2020-08-22 21:53:26 +02:00
Andreas Shimokawa
f05ddd2d24 display swim style as string 2020-08-20 22:27:33 +02:00
Andreas Shimokawa
98b71e78bc Parse swim summary data from Bip S (version 518)
This still looks wrong for some values
2020-08-19 23:37:10 +02:00
Andreas Shimokawa
715fb67859 Do summary parsing on the fly if raw binary data is available 2020-08-18 10:39:44 +02:00
vanous
20faa23843 Add events forwarding for HUAMI Bip, MB3 (#1980)
Remove unneeded function call

Re-done to simplify

Add media actions

Rename function to make meaning clearer

Add events forwarding for HUAMI Bip, MB3

Co-authored-by: vanous <petr@linuks.cz>
Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/1980
2020-08-16 22:07:55 +02:00
Andreas Shimokawa
9b8f4d329e Experiment with Pinetime-JF 2020-08-04 22:38:11 +02:00
TaaviE
1b43468b9e Improved the ITag coordinator class a bit 2020-08-02 21:07:14 +03:00
TaaviE
f9dc625c5c Printed a few rather fatal exceptions in case they happen for easier debugging (#1946)
Removed a few more occurrences of double logging

Removed double logging

Printed a few rather fatal exceptions in case they happen for easier debugging and a few other small cleanups

Co-authored-by: TaaviE <taavi.eomae+github@gmail.com>
Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/1946
2020-08-02 10:55:06 +02:00
115ek
58711ff2d2 TLW64: Add basic settings
* inactivity warnings
* activate display on lift
* timeformat
* TODO: screen timeout, find-my-device,...
2020-07-30 15:00:34 +02:00
115ek
943728c35c TLW64: Support fetching activity data (steps + sleep) 2020-07-30 12:35:43 +02:00
115ek
4f5e2d0730 TLW64: Beautify code 2020-07-30 12:15:12 +02:00
115ek
8a3174dabd TLW64: Support further device settings
* inactivity alarm
* others are unclear
2020-07-30 12:15:12 +02:00
115ek
5c40e71355 TLW64: Support alarms 2020-07-30 12:15:12 +02:00
115ek
92d2fbc997 TLW64: Support battery level and firmware version detection
* firmware is missing some characters compared to the value reported by the original app
* https://play.google.com/store/apps/details?id=com.yc.pedometer&hl=en_US
* need to investigate that
2020-07-30 12:15:12 +02:00
115ek
4cb481fba3 TLW64: Wiretap operation
* let's log some packets to make sure we send the right things
2020-07-30 12:15:12 +02:00
115ek
1e6146f4aa TLW64: Support factory reset 2020-07-30 12:15:12 +02:00
115ek
654019e2c0 TLW64: Support notifications 2020-07-30 12:15:12 +02:00
115ek
fc2a7c6f8d TLW64: Support setting userdata 2020-07-30 12:15:12 +02:00
115ek
56dc5211e7 TLW64: Support setting displaysettings
* 24h/12h clock
* metric/imperial units
2020-07-30 12:15:12 +02:00
115ek
0ed7c385fb TLW64: Support setting date 2020-07-30 12:15:12 +02:00
115ek
7c5a2d0e58 TLW64: Support find device 2020-07-30 12:15:12 +02:00
115ek
dfd2eb0e10 TLW64: Initial support 2020-07-30 12:15:12 +02:00
odavo32nof
d3a51a1078 Adding Mi Band 5 initial support (#1930)
Merge branch 'master' into master

Merge branch 'master' into master

Added available languages for Mi Band 5.

This one's for fixing the step counter but the daily count is always a little bit different compared to what's shown on the smartband.

Extending Mi Band 5 support! Every display item can be showed on the smartband now.

Cleanup

FW related test code

FW related test code

FW related test code

FW related test code

Adding Mi Band 5 test support

Co-authored-by: cristian <c.alfano@outlook.it>
Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/1930
2020-07-28 18:16:56 +02:00
TaaviE
443658bf9e Caught an illegal argument instead of crashing and made it clear that continuing is ill-advised 2020-07-28 08:08:16 +02:00
TaaviE
18afddac29 Made the version string generation use a specific locale for generation, trying to avoid potential localization issues 2020-07-27 20:11:37 +02:00
Dmytro Bielik
496460502b Initial support for Amazfit T-Rex 2020-06-24 18:43:23 +03:00
Andreas Shimokawa
53f5439444 Start implementing device aliases (#1888) 2020-06-12 18:04:53 +02:00
Andreas Shimokawa
a19bb8c21d * Amazfit Bip S: remove disconnect notification and button action settings (they do not work) 2020-06-12 09:46:48 +02:00
Andreas Shimokawa
25c749bab9 Amazfit Bip S: Support flashing fonts and setting high MTU 2020-06-11 13:29:41 +02:00
Andreas Shimokawa
4326419209 Amazfit Bip S: allow flashing watchfaces (untested, and probably wont work) 2020-06-08 16:36:54 +02:00
Zhong Jianxin
44a9ce0267 Amazfit Bip S: Music support 2020-06-08 16:16:33 +02:00
Andreas Shimokawa
1e398419a8 Watch9: Fix launch of wrong calibration activity
Fixes #1875
2020-05-24 23:25:52 +02:00
Zhong Jianxin
fc39221782 Amazfit Bip S: Support setting shortcuts 2020-05-14 10:05:49 +08:00
Zhong Jianxin
0e888aba3a Amazfit Bip S: Fix setting display items 2020-05-14 10:05:39 +08:00
Andreas Shimokawa
e844f81056 Huami: If no menu items were ever configured with Gadgetbridge use our default and do not disable everything on connect
Fixes #1853
2020-05-12 22:42:19 +02:00
Andreas Shimokawa
82611d7a0d ZeTime: Send up to 16 upcoming calendar events on connect if option is enabled
This disables Pebble style calendar synchronization, which did not work for the ZeTime
since we have no handle to delete or change events, we have to rewrite everything again.

Either events were piling up or deleted when a new event was added to a Calendar.

For now it just syncs up to 16 upcoming events at connect.
2020-05-06 01:43:16 +02:00
Andreas Shimokawa
fefcf2d2b9 ZeTime: Fix setting the watch language and make the setting accessible from the per-device configuration menu
This did not work at all before, it was supposed to take the language from
Gadgetbridge App settings or the phone's default settings, but nothing was ever
sent to the watch.
2020-05-05 00:34:59 +02:00
Andreas Shimokawa
ad1e519723 ZeTime: Basic support for rejecting incoming calls 2020-05-04 21:53:51 +02:00
Andreas Shimokawa
94358e79b0 Amazfit GTR/GTR Lite: enable setting menu items (untested) 2020-05-03 20:16:35 +02:00
Andreas Shimokawa
dbba6f04b1 Add support for Amazfit GTR Lite (untested and incomplete)
See #1694
2020-05-02 23:40:07 +02:00
mamutcho
f88bc0cf6d WatchX(Plus) - Activity Analysis
* add activity intensity interpolation based on heart rate
* add steps per activity sample (based on total steps divided by total activity)
* search data for periods without records to add ActivityKind.TYPE_NOT_MEASURED (15 to 60 min) and ActivityKind.TYPE_NOT_WORN (more than 60 min)
* randomize ActivityKind.DEEP_SLEEP intensity for cool graph results (do not affect sleep counting)
2020-04-29 14:24:23 +02:00
mamutcho
bd60624ba5 * WatchX(Plus) - Fix unexpected bug in Activity Analysis 2020-04-25 01:25:28 +03:00
mamutcho
0177bdd171 * WatchX(Plus) - Add sleep and activity analysis
* WatchX(Plus) - Improve data presentation in Activity charts
* WatchX(Plus) - Fix some bugs in LongSitReminder
* Remove/replace duplicate strings for inactivity reminder
2020-04-24 23:46:43 +03:00
Andreas Shimokawa
fa2d954552 Add alarm title and description field to alarm configuation
Wire it up and enable for Fossil Hybrid HR
2020-04-24 10:39:32 +02:00
Daniel Dakhno
ca5d177608 Fossil HR: fixed some widget issues 2020-04-24 01:49:42 +02:00
Andreas Shimokawa
da23026e8f Merge remote-tracking branch 'mamucho/master' 2020-04-23 23:31:55 +02:00
mamutcho
01190d1a13 Delete 'app/src/main/java/nodomain/freeyourgadget/gadgetbridge/devices/lenovo/watchxplus/WorkProgress' 2020-04-22 23:11:33 +02:00
mamutcho
7dab1cb0f7 Move settings to per device (gear icon)
Add missing files
2020-04-23 00:01:57 +03:00
Andreas Shimokawa
a851bb5cf1 Amazfit GTS: support setting menu items 2020-04-22 17:10:49 +02:00
mamutcho
61da55e0de Merge branch 'master' of https://codeberg.org/Freeyourgadget/Gadgetbridge
 Conflicts:
	GBDaoGenerator/src/nodomain/freeyourgadget/gadgetbridge/daogen/GBDaoGenerator.java
2020-04-20 14:42:20 +03:00
dakhnod
11d1fd08bd Add Fossil HR Activity Tracking (#1846) 2020-04-20 00:11:45 +02:00
Andreas Shimokawa
12d5f1d88b Amazfit GTR/GTS: Fix flashing watchfaces and _maybe_ firmware/res update (still untested) 2020-04-14 23:09:03 +02:00
Andreas Shimokawa
6dddc003e9 Fossil Hybrid HR: Interpret and show fimware version in firmware installer 2020-04-12 20:56:41 +02:00
Andreas Shimokawa
1e93a8c1cc Fossil Hybrid HR: Experimenal firmware update support
TODO:
- progress bar
- set device state to firmware update

There is currently absolutely no feedback during install, just wait and pray
2020-04-10 00:51:16 +02:00
Andreas Shimokawa
11d96e4641 Huami: Do not display firmware information and whitelist information when flashing watchfaces
Closes #1781
2020-04-08 11:05:47 +02:00
Daniel Dakhno
b34e74494d Merge branch 'master' of https://codeberg.org/Freeyourgadget/Gadgetbridge into fossil-q-hr-background-image 2020-04-08 03:26:30 +02:00
Daniel Dakhno
bbf60248c3 Fossil HR: added button to delete background 2020-04-08 03:20:39 +02:00
Daniel Dakhno
379fa746a3 Fossil HR: added Background image and basic editing 2020-04-08 03:08:35 +02:00
Daniel Dakhno
e0c09f259f Fossil HR: removed per-widget circle settings 2020-04-08 02:18:13 +02:00
Daniel Dakhno
b2a6b4b03b Fossil HR: added option to disable widget circle 2020-04-04 02:19:30 +02:00
Daniel Dakhno
b290e035f1 Merge branch 'master' of https://codeberg.org/Freeyourgadget/Gadgetbridge 2020-03-29 03:11:44 +02:00
Daniel Dakhno
ae503ec456 Fossil HR: added activity tracking for battery level updates 2020-03-29 03:10:30 +02:00
Andreas Shimokawa
1a57c4db68 Amazift Bip Lite: Allow relaxing firmware checks to allow flashing of the regular Bip firmware (for the brave)
Closes #1819
2020-03-27 11:01:33 +01:00
Andreas Shimokawa
ff3ce84ba1 Amazfit Bip S: force key input before pairing 2020-03-23 14:57:26 +01:00
Andreas Shimokawa
c66e9450d3 Try to blindly enable Amazfit Bip S
This is an initial bringup it will most probably fail in some areas

Related: #1822
2020-03-23 11:02:22 +01:00
mamutcho
c4ca247524 Merge branch 'master' of https://codeberg.org/Freeyourgadget/Gadgetbridge 2020-03-22 19:42:08 +02:00
Andreas Shimokawa
101e2c6664 Fossil Hybrid HR: allow setting vibration strength
Also allow re-fetching of configuration again (it updates battery levels)
2020-03-20 17:14:00 +01:00
mamutcho
10bf452017 Merge branch 'master' of https://codeberg.org/Freeyourgadget/Gadgetbridge
 Conflicts:
	GBDaoGenerator/src/nodomain/freeyourgadget/gadgetbridge/daogen/GBDaoGenerator.java
	app/src/main/java/nodomain/freeyourgadget/gadgetbridge/externalevents/NotificationListener.java
	app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/DeviceSupportFactory.java
	app/src/main/res/values-bg/strings.xml
2020-03-13 19:08:34 +02:00
Andreas Shimokawa
1ccb7ab785 Fossil: Allow swiching off the device specific "Q" notification icon 2020-03-12 13:48:25 +01:00
Daniel Dakhno
a2d52438e2 Fossil HR: actions now movable in list 2020-03-01 22:20:00 +01:00
Andreas Shimokawa
ddd70f93fc Fossil Hybrid HR: option to force white background
Currently needs reconnect and one change to the widget configuration to be effective.

This might improve visiblity of the hands when using a model with gray hands
2020-02-27 13:38:45 +01:00
cpfeiffer
c68182fd42 Fossil support does not support activity data fetching yet. 2020-02-26 21:50:37 +01:00
Andreas Shimokawa
fb996c3301 Merge branch 'master' into fossil-q-hr 2020-02-26 20:30:57 +01:00
Andreas Shimokawa
9a114f640b Huami: Make experimental calendar sync feature optional 2020-02-24 14:19:06 +01:00
Andreas Shimokawa
23cbc2e7f1 Fossil Hybrid HR: Fix weather (unit must be lower case) 2020-02-16 13:09:08 +01:00
Daniel Dakhno
f9a4c1ad35 added call notification support (doesnt work on all phones) 2020-02-16 01:17:45 +01:00
Andreas Shimokawa
15a090b35e Merge branch 'master' into fossil-q-hr 2020-02-05 10:59:26 +01:00
Andreas Shimokawa
3226d61ecd Mi Band 4: Make high MTU support optional
Fixes #1766
2020-02-04 10:04:01 +01:00
TaaviE
ed8323ad2e Refactored the iTag support class 2020-02-02 06:29:04 +02:00
TaaviE
27c2717fe8 Updated the license header's year 2020-01-31 09:16:37 +01:00
TaaviE
18d83febaa Added iTag support 2020-01-31 09:16:37 +01:00
Andreas Shimokawa
53969660f4 Fossil HR: enable Unicode Emojis, since they are obviously supported 2020-01-29 21:20:33 +01:00
cpfeiffer
6244bdd745 File external files dir creation, add test 2020-01-29 20:20:20 +01:00
cpfeiffer
7618ec39a2 Use try-with-resources for db access 2020-01-29 20:01:20 +01:00
cpfeiffer
f24dc0c1cb Cleanup file handling a bit 2020-01-29 20:01:20 +01:00
cpfeiffer
4293db5514 Cleanup toast/logging 2020-01-29 17:37:54 +01:00
Andreas Shimokawa
1c91c037a8 Merge branch 'master' into fossil-q-hr 2020-01-29 17:22:21 +01:00