Commit Graph

741 Commits

Author SHA1 Message Date
Arjan Schrijver 430809cf2c Revert translation id renames 2021-06-01 09:53:34 +02:00
Arjan Schrijver ecb23f7a22 Fossil Hybrid HR: Block dangerous intents by default and move some settings to developer settings submenu 2021-06-01 09:38:59 +02:00
Dmitriy Bogdanov 436e5b5c70 Add a separate "low battery" notification channel 2021-05-29 23:17:40 +02:00
Dmitriy Bogdanov b719f626c5 Rename notification channels 2021-05-29 23:17:39 +02: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
Arjan Schrijver 9dac0a80c3 Fossil Hybrid HR: Add watch app and watchface support to install handler 2021-05-24 21:49:54 +02:00
Arjan Schrijver cac7b27aeb Fossil Hybrid HR: Make calibration screen translatable 2021-05-23 00:11:42 +02:00
Arjan Schrijver 22ab26f9eb Fossil Hybrid HR: Modify commute actions explanation to not promote Tasker 2021-05-22 22:58:29 +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
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
Vianney le Clément de Saint-Marcq c1b7ce2308 Amazfit GTS2/GTR2: Fix menu items (#2249)
Amazfit GTS2/GTR2: Add missing menu items

Fixes #2193
Fixes #2230
Fixes #2242

Amazfit GTS2/GTR2: Fix setting menu items

At least on the GTR2e, including the "watchface" menu item causes the
configuration request to be ignored.  Assuming the other GTS2 and GTR2
variants behave the same, this patch ensures the forceWatchface argument
is set to false when setting display items.

Additionally, we now use the correct resource ID for the default
settings.

Co-authored-by: Vianney le Clément de Saint-Marcq <code@quartic.eu>
Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/2249
Co-Authored-By: Vianney le Clément de Saint-Marcq <vianney@noreply.codeberg.org>
Co-Committed-By: Vianney le Clément de Saint-Marcq <vianney@noreply.codeberg.org>
2021-04-07 17:58:24 +02:00
Allan Nordhøy 3f880c9b5b Translated using Weblate (English)
Currently translated at 100.0% (1107 of 1107 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/en/
2021-03-28 22:18:44 +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 9dc4dde5e7 Amazfit Neo: Support sound settings 2021-03-24 20:02:48 +01:00
Arjan Schrijver 2cbb42ba53 Fossil Hybrid HR: disable unsupported functions for newer firmwares 2021-03-11 17:19:31 +01:00
Arjan Schrijver cff4b65fb8 Fossil Hybrid HR: Sync notification dismissals to watch (#2219)
Fossil Hybrid HR: Move check for autoremove_notifications pref to NotificationListener

Fossil Hybrid: Rename logger to LOG and replace printStackTrace calls

Keep and maintain list of notifications pushed to device

Fossil Hybrid HR: Make autoremove notifications toggleable in device settings

Fossil Hybrid HR: Sync notification dismissals to watch

Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/2219
Co-Authored-By: Arjan Schrijver <arjan5@noreply.codeberg.org>
Co-Committed-By: Arjan Schrijver <arjan5@noreply.codeberg.org>
2021-03-08 14:29:08 +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
Arjan Schrijver 0f5f036057 Fossil Hybrid HR: Make more strings translatable 2021-03-04 13:25:32 +01:00
vanous e848a7cb71 Add Activity list dashboard summary calculations
Accessible via FAB in Activity list
Adds DebugActivity checkbox to show large date range
2021-03-03 19:03:02 +01:00
vanous 5758c9e564 Adds ongoing activity snackbar + preference 2021-02-27 10:51:58 +01:00
vanous 0a2920a5ec Battery Info: add styled date range UI 2021-02-14 18:33:32 +01:00
Allan Nordhøy 0481d5bdd7 Translated using Weblate (English)
Currently translated at 100.0% (1081 of 1081 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/en/
2021-02-11 15:01:10 +01:00
Andreas Shimokawa eec8986f36 Amazfit X: Fix device name 2021-02-08 00:22:30 +01:00
Stefan Bora 5d4f70499d Added support for Amazfit X 2021-02-07 23:59:26 +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
vanous 3e04778696 initial battery level collector and simple chart 2021-02-04 21:21:38 +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
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
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
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
vanous 57fe621ba8 honor Imperial units settings in Widget, Activity list and Workouts, fixes #2041 2021-01-23 21:43:32 +01:00
Andreas Shimokawa fb2c9158e4 Huami: Add "Strength Training" activity type
Used on at least the Amazfit Bip U
2021-01-22 22:14:49 +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
vanous 5c7254b7b8 adds a 'Delete files from export directory' to Data management 2021-01-10 23:39:38 +01:00
DanialHanif 2b8cd6013a Add Amazfit BIP U Pro support 2021-01-06 10:13:50 +01:00
vanous 6f0245a23c Data(base) Management screen clarifications
- rename to Data management in menu and activity
- expand texts and explain files meaning
- add confirmation screen to export
- change layout to Linear, rather then Grid
- add listing of file content in the /files directory
- allow Data management activity to rotate

Add missing widget string to strings
2021-01-03 15:46:12 +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
vanous 502f689862 Rework the Daily Widget:
- make layout transparent rather then red, update the preview image
- move battery to top row to reduce size, add status indicators with icons
- add preference settings, to choose for which device this widget is
- data is no longer calculated for all devices but for a selected device
- add debug items to view and erase widget settings and registrations
  (debug items are intentionally not translatable yet)
2020-12-20 19:01:00 +01:00
xaos 68e7a5fea9 refined error message for invalid authentication key
Co-Authored-By: xaos <xaos@noreply.codeberg.org>
Co-Committed-By: xaos <xaos@noreply.codeberg.org>
2020-12-20 00:25:44 +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
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
Allan Nordhøy 037406d39f Translated using Weblate (English)
Currently translated at 100.0% (1043 of 1043 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/en/
2020-12-05 16:22:14 +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
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
vanous 98bb01dfa1 Make charts tabs selectable sortable 2020-11-28 23:42:30 +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 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
vanous 551a5c1a66 Add Activity List Dashboard/Summary view 2020-11-12 13:50:44 +01:00
vanous 9c90452f92 Add intensity to Sleep charts 2020-11-12 13:50:44 +01:00
Andreas Shimokawa 5b55898059 Mi/Amazfit Band 5: Add support for setting/sorting shortcuts 2020-11-10 11:33:37 +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
vanous 4c39dceecd Add minimum/maximum heart rate popup, fixes #1483 2020-11-01 23:58:54 +01:00
vanous 6960b10e5d Add confirmation dialog to Find device, fixes #1330 2020-11-01 14:41:58 +01:00
vanous 329c47fff2 Add heart rate average to Activity and Sleep → Sleep 2020-11-01 11:06:59 +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
vanous 95c35deb90 Add version to About screen 2020-10-24 21:55:48 +02:00
vanous 4d42e169b9 Add GPS fragment to Sport Activity detail
add GPX parser
fix possible swiping issue after device rotation
use window background color for screenshots
2020-10-24 18:27:51 +02: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
vanous e7b5053b13 Add Step length preference to About you
Add new distance icon
Distance in meters or km based on distance
Remove unnecessary definitions
Optimize new drawables
Map intensity to min steps
2020-10-16 21:07:57 +02:00
Allan Nordhøy db107a15ba Translated using Weblate (English)
Currently translated at 100.0% (1012 of 1012 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/en/
2020-10-16 01:50:50 +02:00
Daniel Dakhno 05a4c0ce68 Fossil HR: added long and double button presses 2020-10-13 03:06:05 +02:00
TaaviE 2cd783feca Updated progress string and context handling 2020-10-11 19:16:31 +03:00
TaaviE c46e931221 Extracted new and already existing string resources 2020-10-11 19:16:31 +03:00
TaaviE 1bcca41000 Added missing device name string 2020-10-11 19:16:31 +03:00
vanous 46a1d2908a Sharing Sports Activity improvements 2020-10-11 18:09:22 +02:00
opavlov a45795efc7 fixed all strings 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 06a12300a1 added support for sony swr12 2020-10-11 17:24:11 +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 b0621028ae Lefun: Improve wording 2020-10-10 22:03:46 +02:00
Yukai Li 6974a86b87 Lefun: Implement settings 2020-10-10 22:03:46 +02:00
Yukai Li c8d3d6df20 Fix weird quoting 2020-10-10 22:03:46 +02:00
Yukai Li fd56db55c4 Lefun: Add device coordinator 2020-10-10 22:03:46 +02:00
vanous bd90b59f92 Initial implementation of Activity list. 2020-10-10 07:19:42 +02:00
vanous 1d51c58f15 Fix warnings and colors for AboutScreen 2020-09-09 23:26:46 +02:00
vanous ac1b65e727 Fine-tune filter. Ignore BaseAltitude == 20000. 2020-09-09 22:15:17 +02:00
Andreas Shimokawa ce8021ec9b Huami: Add new activity types found in recent Bip S firmware 2020-09-07 21:40:20 +02:00
vanous 874b510784 Add more features to ActivitySummariesFilter
Add possibility to pick individual SportsItem items into filtered view
Add quick time range selector
add deviceFilter for devices that supportsActivityTracks
add baseAltitude
add average speed, calculated from from distance/active time
make Activity Details layout scrollable
2020-09-05 20:22:04 +02:00
Andreas Shimokawa 6bf0344ac5 Jumping Rope 2020-09-01 21:23:31 +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
vanous 4c1208400e Ensure that Sports Activity Filter has correct first item. Make Sports Filter buttons follow default theme 2020-08-29 02:19:06 +02:00
vanous bd7e3a546a Rename Name to Label in Sport Activities 2020-08-25 21:43:37 +02:00
vanous df6f59213b Make nicer format for Date/Time in ActivitySummaryList 2020-08-24 16:54:05 +02:00
vanous 9b30369a88 Add edit Sport Summary Name. Add filtering by this name. 2020-08-24 00:09:10 +02:00
vanous f8d22e9ec7 Make Filter be a normal activity. Fix s/m→m/km conversion 2020-08-23 00:04:23 +02:00
vanous 78745420ca Make Sports Activity Detail data take full width 2020-08-23 00:04:23 +02:00
vanous f05ad85f73 Make string values of summary data translatable 2020-08-22 10:31:32 +02:00
vanous b236a6af16 Add Activity Summary Statistics Drawer
Move SummaryStatistics JSON Summary to own place
2020-08-21 23:51:46 +02:00
vanous 03b45d1071 Add better Sport Activities Filering 2020-08-19 19:45:23 +02:00
Andreas Shimokawa 2ca2636142 Huami: Recognize missing workout types from the Bip S (and other devices where those are supported) 2020-08-16 23:45:52 +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
vanous 50617ee6f0 Add missing translatable string 2020-08-15 10:23:54 +02:00
Allan Nordhøy 6875bbd5ec Translated using Weblate (English)
Currently translated at 99.8% (919 of 920 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/en/
2020-08-14 21:44:06 +02:00
Andreas Shimokawa b85dbcf3d6 Merge remote-tracking branch 'weblate/master' into master 2020-08-10 22:11:43 +02:00
vanous bce85beb21 Use localized names and dates. Pass only needed data between activities.
Better display view. Cleaning up.
Add km/h and calculate speed to it.
Special casing calc not per key but per unit
solved min/maxPace, localized several missing labels.
totalStride is Total strides in m. Fix missing start_label
2020-08-09 21:56:31 +02:00
Taavi E b3b119d093 Translated using Weblate (English)
Currently translated at 100.0% (867 of 867 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/en/
2020-08-07 23:16:09 +02:00
Taavi E 1d06ba468d Translated using Weblate (English)
Currently translated at 100.0% (867 of 867 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/en/
2020-08-07 23:16:09 +02:00
Andreas Shimokawa 9b8f4d329e Experiment with Pinetime-JF 2020-08-04 22:38:11 +02:00
TaaviE 498c0d42e2 Made sure to check if location permission has been given by the user for scanning 2020-08-02 21:07:14 +03:00
TaaviE b76a8267b8 Added CompanionDeviceManager support, added target 29 support, refactored the scan display and UI. 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
TaaviE 2ba6b88ff9 Made scan results a bit more detailed by displaying special cases 2020-08-02 03:33:08 +03:00
TaaviE da529579f4 Made it possible to disable asking for a few permissions. 2020-08-01 17:27:26 +03:00
TaaviE d2a6353e8d Added the strings about bonded device un-ignoring settings option 2020-08-01 15:49:54 +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 701039e673 Instead of crashing, display a notification that the service couldn't be started 2020-07-28 11:57:13 +03: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 1c2cd99efd Made sure to request the permission to change ringer mode to silent 2020-07-27 21:21:19 +03:00
Taavi E aed181ea4c Translated using Weblate (English)
Currently translated at 100.0% (842 of 842 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/en/
2020-07-27 20:05:51 +02:00
Andreas Shimokawa f460f6abd1 Amazfit Bip S: Change Unknown menu item to "World Clock"
Latest firmware has a world clock, setting the locations is not yet supported by Gadgetbridge
2020-07-21 17:13:23 +02:00
Michael 1743934c79 Add quotes around app name. 2020-07-16 22:30:36 +02:00
Michael 9353b6cecb Add informative text to "Weather" setting
Fix #1914.
2020-07-16 22:30:36 +02:00
vanous 2496b40a88 Improve padding. Use better (i) icon. Add 'unlisted contributors'. 2020-07-12 10:38:56 +02:00
vanous c1a8fb502c Add About screen 2020-07-11 17:04:29 +02:00
Andreas Shimokawa 537ab20c9f improve T-Rex installation text. 2020-06-29 16:46:53 +02:00
Dmytro Bielik 496460502b Initial support for Amazfit T-Rex 2020-06-24 18:43:23 +03:00
Andreas Shimokawa a8328d4a96 Add GUI to change alias (closes #1888)
Could look nicer...
2020-06-12 22:38:37 +02:00
Daniel Dakhno 7939607beb Fossil HR: added "last notification" widget 2020-06-04 22:40:23 +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 b5f877d169 ZeTime: remove non-working languages and add missing ones
Czech is untested since it is only present on newer firmware which I do not have.
2020-05-05 19:38:26 +02:00
Allan Nordhøy 5cb185d1f4 Translated using Weblate (English)
Currently translated at 100.0% (815 of 815 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/en/
2020-05-05 14:46:40 +02:00
Saul Nunez 1221827560 Add a new "system" theme option and rig isDarkThemeEnabled to return if system currently sports a dark theme. 2020-05-05 14:43:03 +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
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 da23026e8f Merge remote-tracking branch 'mamucho/master' 2020-04-23 23:31:55 +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
Daniel Dakhno 18eec6b863 Fossil HR: raw activity dateien optional speichern 2020-04-22 01:27:06 +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
mamutcho 462129a606 Fix some settings 2020-04-20 12:30:29 +03:00
Daniel Dakhno 791601f4bd Fossil HR: centralized widget settings option for all widgets 2020-04-08 03:00:45 +02:00
ce4 4e033c95da Add untranslated string "Auto fetch". 2020-04-05 18:30:05 +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 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
Andreas Shimokawa 159a937cab Fossil Hybrid HR: Support button configuration in per-device settings
Related: #1751
2020-03-15 00:23:06 +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
Pauli Salmenrinne 8cfdd62eb4 FIX: Fix find-my-phone for android 10 with notifications. 2020-03-12 09:26:22 +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
fparri f0afa0e291 WIP - Added a localization string for the find lost device feature (#1809)
Added a new string to localize the Found it! message shown when using the find lost device feature
2020-02-27 09:22:11 +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 977e94b359 Fossil Hybrid HR: experimetn with weather, does not work yet
I could change the widget icon but it always shows -- for temperature..
2020-02-16 02:19:48 +01:00
Andreas Shimokawa 15a090b35e Merge branch 'master' into fossil-q-hr 2020-02-05 10:59:26 +01:00
Allan Nordhøy ac9df1bd63 Translated using Weblate (English)
Currently translated at 100.0% (751 of 751 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/en/
2020-02-05 10:53:12 +01:00
Andreas Shimokawa 3226d61ecd Mi Band 4: Make high MTU support optional
Fixes #1766
2020-02-04 10:04:01 +01:00
TaaviE 18d83febaa Added iTag support 2020-01-31 09:16:37 +01:00
TaaviE b01e703e84 Added a check to avoid indefinitely lasting scans 2020-01-31 07:01:04 +02:00
Andreas Shimokawa 1c91c037a8 Merge branch 'master' into fossil-q-hr 2020-01-29 17:22:21 +01:00
Dmitriy Bogdanov 43fd3b1401 Translated using Weblate (English)
Currently translated at 100.0% (747 of 747 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/en/
2020-01-21 20:23:19 +01:00
Daniel Dakhno 132d97ee95 created UI to design custom widgets 2020-01-19 04:01:57 +01:00
Dmitry Markin 10c9b07c69 Control alarm snooze mode on MiBand2 2020-01-12 12:02:04 +03:00
Andreas Shimokawa 7bec2a6582 fix build (forgot to rename stuff in strings.xml) 2020-01-08 21:51:17 +01:00
vanous 7394b1cce3 Add-Buttons-Events-Config (#1761) 2020-01-08 19:58:31 +01:00
Da Pa 35dbbd6a31 Merge branch 'master' into y5_patch_test
# Conflicts:
#	GBDaoGenerator/src/nodomain/freeyourgadget/gadgetbridge/daogen/GBDaoGenerator.java
#	app/src/main/java/nodomain/freeyourgadget/gadgetbridge/devices/jyou/TeclastH30/TeclastH30Coordinator.java
#	app/src/main/java/nodomain/freeyourgadget/gadgetbridge/model/DeviceType.java
#	app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/DeviceSupportFactory.java
#	app/src/main/java/nodomain/freeyourgadget/gadgetbridge/util/DeviceHelper.java
#	app/src/main/res/values/strings.xml
2020-01-01 06:55:54 +02:00
mamutcho 037c037032 Add option to force time sync. 2019-12-23 13:33:39 +02:00
mamutcho 57df6ec703 Auto time calibration 2019-12-23 11:29:09 +02:00
mamutcho e6049438e7 Code cleanup and bug fixes 2019-12-21 18:48:19 +02:00
mamutcho 0d8428437c Merge branch 'master' of https://codeberg.org/Freeyourgadget/Gadgetbridge 2019-12-15 18:28:19 +02:00
Allan Nordhøy ae2a08f0fd Translated using Weblate (English)
Currently translated at 100.0% (742 of 742 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/en/
2019-12-14 18:21:42 +01:00
mamutcho 068033ad8e Merge branch 'master' of https://codeberg.org/Freeyourgadget/Gadgetbridge 2019-12-12 19:32:55 +02:00
mamutcho be8cac2c6f Merge branch 'master' of https://github.com/mamutcho/Gadgetbridge 2019-12-12 19:27:56 +02:00
Andreas Shimokawa b78239e7be Fossil Q: Remove tasker code and dependency 2019-12-11 22:14:20 +01:00
Gordon Williams fb70da856a Merge branch 'master' of github.com:gfwilliams/Gadgetbridge 2019-12-09 10:13:02 +00:00
Andreas Shimokawa b9d3ec6df3 Make disabling new BLE scanning an option in preference
It was disabled in master, but not in the Fossil Q branch, now both is possible

This also reverts ca9761c336
which disabled classic BT scanning
2019-12-07 22:38:30 +01:00
dakhnod b1b4100852 extracted some string resources 2019-12-04 00:59:43 +01:00
dakhnod f4a0f0ce8f Merge branch 'master' of github.com:Freeyourgadget/Gadgetbridge into fossil-q-hybrid 2019-12-04 00:48:26 +01:00
Gordon Williams d978d3ff94 first compile with Bangle.js - very basic 2019-11-28 18:02:47 +00:00
Allan Nordhøy ca8e4615bc Translated using Weblate (English)
Currently translated at 100.0% (724 of 724 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/en/
2019-11-23 21:56:43 +01:00
Andreas Shimokawa 2b80cb5540 remove miband2 ism 2019-11-22 08:22:54 +01:00
mamutcho e3f838afa0 Bump version ot 0.39
Redesign Settings page
2019-11-19 20:51:37 +02:00
Mamut aefe7017f0
Merge pull request #1 from Freeyourgadget/master
Version to 0.39.0
2019-11-19 12:26:33 +02:00
mamutcho be47541a5e Add new features
- Inactivity reminder
- Missed call reminder
- Watch language
2019-11-17 14:33:26 +02:00
Daniel Dakhno 63b4ffe555 Merge branch 'master' of https://github.com/Freeyourgadget/Gadgetbridge into q-hybrid-fossil-api 2019-11-14 04:58:32 +01:00
mamutcho 24439008ab Add watch power mode and DND 2019-11-10 23:15:13 +02:00
mamutcho 3a2b718f09 Blood Pressure calibration 2019-11-09 22:16:10 +02:00
mamutcho 33f18036d3 FIXES:
- Cleaned code for repeat watch vibration during phone ring.
- On my samsung phone and Bulgarian language, when call is ended, on watch shows notification with name "Phone" and vibrates until disconnect from app. Finally managed to fix it.
ADD:
- Add setting for ignore/reject phone call with device button.
- Add setting for ignore/reject phone call with shake device. (duplicates button action) P.S. to apply needs to reconnect device.
- Add setting for sending Missed call if call is missed.
- Add setting for continious vibration while phone ringing.
NEED MORE TESTING:
- When phone alarm trigger - send notification on watch. Works on samsung phone. Don't have other phones for testing.

P.S. To apply altitude calibration, need to disconnect and reconnect watch
2019-11-06 23:56:24 +02:00
mamutcho 81997e7725 FIXES:
- Fixed setting for repeat watch vibration during phone ring. (code need to be cleared and optimised)
- On my samsung phone, when call is ended, on watch shows notification with name "Phone" and vibrates until disconnect from app. I tryed to fix it, but don't know is it successful.
ADD:
- Add command for cancel notification, e.g. when answer phone call.
- Add blood pressure calibration status.
NEED MORE TESTING:
- On watch preserve small phone icon near bluetooth icon only when call is missed, in other cases clear it.
- When phone alarm triger - send notification on watch

P.S. To apply altitude calibration, need to disconnect and reconnect watch
2019-11-06 00:14:29 +02:00
vanous fb6997bb27 Improves charts tabs titles.
Feedback was gathered during discussion in matrix room.
Removed ambiguous "Yours" and cut the amount of the word sleep.
Commit log is longer then the change itself :)
2019-11-04 20:44:23 +01:00
mamutcho 54f4bbeeef Add Device settings - altitude
Add repeat notification on phone call - need to refine
Add command for cancel text notification
2019-11-04 00:41:48 +02:00
Allan Nordhøy 60528c5be3
Translated using Weblate (English)
Currently translated at 100.0% (724 of 724 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/en/
2019-11-03 16:04:00 +01:00
mamutcho fb08af6d04 Add Device settings (screen on, time format, disconnect reminder, find my phone).
Changed device icon.
2019-11-02 22:24:00 +02:00
Andreas Shimokawa 2b0656c9c0 Amazfit GTS: Enable flashing firmware (untested) 2019-10-31 15:30:05 +01:00
Manuel Ruß 0159657bd5 - AmazfitGTS Run basic functionalities (read data, ...) 2019-10-29 22:44:03 +01:00
vanous 71b393932f Add switch to set old/new style of sleep detection range 2019-10-26 10:39:15 +02:00
Daniel Dakhno 7710b9ea2a Merge branch 'master' of https://github.com/Freeyourgadget/Gadgetbridge into q-hybrid-abstraction 2019-10-25 14:35:05 +02:00