1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-06-07 21:57:57 +02:00
Commit Graph

773 Commits

Author SHA1 Message Date
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
vanous
31ce36e335 Add alternative color to heartrate in charts 2019-10-24 22:59:52 +02:00
Andreas Shimokawa
4110f0764a Amazfit GTR: enable firmware flashing for those who dare (untested) 2019-10-24 22:35:57 +02:00
Andreas Shimokawa
cbd47a81cc Amazfit GTR: initial support for testing 2019-10-24 21:41:11 +02:00
Daniel Dakhno
0d60d308aa Merge branch 'master' of https://github.com/Freeyourgadget/Gadgetbridge into fossil-q-hybrid 2019-10-16 14:57:22 +02:00
Allan Nordhøy
368505eb41 Translated using Weblate (English)
Currently translated at 100.0% (711 of 711 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/en/
2019-10-15 20:34:32 +02:00
Andreas Shimokawa
5caa8e9097 Amazfip Bip Lite: Support firmware installation
Closes #1681
Closes #1682
2019-10-15 20:34:09 +02:00
Maciej Kuśnierz
2acb65b745 Merge https://github.com/Freeyourgadget/Gadgetbridge
# Conflicts:
#	README.md
2019-10-13 00:18:00 +02:00
Andreas Shimokawa
074994d24b Merge branch 'master' into fossil-q-hybrid 2019-10-12 20:47:19 +02:00
Andreas Shimokawa
4bf37ea70f Mi Band 4/Amazfit Bip Lite: Display a toast and do not try to pair if there was no auth key supplied 2019-10-12 19:44:45 +02:00
Cre3per
c4f4f5081d added vibrator to FindPhoneActivity.
added device settings for find phone.
makibes hr3 now uses GBDeviceEventFindPhone.
2019-10-12 12:44:38 +02:00
dakhnod
a2a0bc08dd Merge branch 'master' of github.com:Freeyourgadget/Gadgetbridge into fossil-q-hybrid 2019-10-11 22:35:50 +02:00
Andreas Shimokawa
8d27ad1996 another try at bip lite support 2019-10-09 21:33:55 +02:00
Andreas Shimokawa
183d99944c remove strings for already removed settings submenus 2019-10-05 22:50:19 +02:00
Andreas Shimokawa
b5e9727dcd Make some more settings per-device settings
- All ID115 settings migrated, allowing removal from settings activity
- All timeformat settings for all devices migrated
- All wrist location settings for all devices migrated (now you can have a mi band 3 on the left wrist and a bip  on the right wrist :P)

Also deduplicated some strings from zetime/generic preferences
2019-10-05 22:35:30 +02:00
dakhnod
ea1653d616 Merge branch 'master' of github.com:Freeyourgadget/Gadgetbridge into fossil-q-hybrid 2019-10-05 19:09:07 +02:00
Andreas Shimokawa
50ff47e0e4 de-mibandify 2019-10-05 13:29:20 +02:00
Cre3per
7409281c5a very basic makibes hr3 support 2019-10-02 23:06:33 +02:00
Daniel Dakhno
71f9675768 Merge branch 'master' of https://github.com/Freeyourgadget/Gadgetbridge into fossil-q-hybrid 2019-10-01 17:09:52 +02:00
Marc Nause
a4c7cdb2a5 Show toast in case no app is installed which can handle GPX files 2019-09-29 18:48:13 +02:00
dakhnod
b20963348d Merge branch 'master' of github.com:Freeyourgadget/Gadgetbridge into fossil-q-hybrid 2019-09-25 00:22:57 +02:00
FransM
0a68b167f5 Translated using Weblate (English)
Currently translated at 100.0% (709 of 709 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/en/
2019-09-22 21:55:33 +02:00
vanous
43bfa791ad Adds plurals to a string of the Widget. 2019-09-16 20:45:21 +02:00
vanous
c58b980208 Connect device button settings and logic 2019-09-14 00:42:09 +02:00
Allan Nordhøy
6ffa791b9b Translated using Weblate (English)
Currently translated at 100.0% (706 of 706 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/en/
2019-09-14 00:26:06 +02:00
vanous
3d6ddb8d5e make look nicer - font, uri string, buttons positions 2019-09-07 11:07:40 +02:00
vanous
503fe854eb Add test button, @stringify strings, add headers 2019-09-02 23:06:39 +02:00
vanous
957d441859 Add Status and Alarms widget
Squashed commits from #1604
2019-09-01 21:35:53 +02:00
Nephiel
b40c3ade85 Amazfit Bip: Add emoji support when using custom font firmware 2019-08-31 22:32:18 +02:00
Andreas Shimokawa
243eec042d Mi Band 3/4, Amazfit Bip/Cor: Add setting to expose the HR sensor to 3rd party apps
Closes #1606
2019-08-27 11:13:45 +02:00
ksiwczynski
0f6ef140e2 Merge branch 'master' of https://github.com/Freeyourgadget/Gadgetbridge 2019-08-17 02:07:55 +02:00
vanous
404bdc4713 Polish strings key to keep consistency with the project. 2019-08-13 14:30:55 +02:00
vanous
f68485e6f0 Add Preferences and strins. Format Preferences. 2019-08-13 14:30:54 +02:00
vanous
7809655ef4 Add Average Settings. Addformat method to get average. 2019-08-12 14:13:20 +02:00
vanous
f11628b42b Add Averages to Charts 2019-08-12 14:13:20 +02:00
vanous
c243541c6e Add dedicated charts section into Settings 2019-08-12 14:10:18 +02:00
Andreas Shimokawa
02d02d2329 Add Initial Mijia LYWSD02 support (Smart Clock with Humidity and Temperature Sensor)
This only sets the time on connect.
2019-08-02 23:49:14 +02:00
Andreas Shimokawa
97540d734f Mi Band 3/4: Allow enabling the "NFC" menu where supported
Pretty useless, because we do not support NFC - but nice for testing
2019-08-01 23:07:28 +02:00
dakhnod
ef692498af Merge branch 'master' of github.com:Freeyourgadget/Gadgetbridge into fossil-q-hybrid 2019-07-25 11:12:50 +02:00
Andreas Shimokawa
5ff5561772 Mi Band 4: Fix notification icons and cut-off text 2019-07-24 09:33:53 +02:00
root
09f6cada87 Fossil Q hybrid and Skagen support added
Opening this branch for the second time inorder to purge certain files form the repo
2019-07-14 19:45:40 +02:00
Andreas Shimokawa
d48d3cdea3 Add untested Mi Band 4 support (basically runs on Mi Band 3 code)
This is COMPLETELY untested, we do not have the device.
2019-06-12 23:44:01 +02:00
Andreas Shimokawa
58dca9a897 Amazit Cor 2: Add device specific warning when installing firmware (untested)
Also remove some Mi Band'ism from strings
2019-05-09 12:54:14 +02:00
Andreas Shimokawa
41e607ce9b Amazfit Cor 2: Give own device type id, support flashing the firmware **UNTESTED** 2019-05-09 12:42:59 +02:00
Andreas Shimokawa
fadce6eb3c Mi Band 3: Add missing languages
Indonesian
    Thai
    Arabic
    Vietnamese
    Portuguese
    Dutch
    Turkish
    Ukrainian

Closes #1506
2019-05-05 22:47:39 +02:00
Andreas Shimokawa
db48707764 Add a device specific settings activity, currently used for setting the auth key for Amazfit Bip/Cor
When connecting to a new device, a random key gets generated, which can be
looked up from the device specific settings (accessible via the gear icon in
the device card in the main activity). Old devices keep their 0123456789@ABCDE
key, they have to be re-paired to change that.
During pairing, long-pressing the device candidate in the discovery activity
will also start the device specific settings activity, where the auth key
can be set manually priror to pairing. This is usefull to keep the ability to
pair one device with multiple android devices.

Fixes #1308
2019-04-21 21:25:33 +02:00
Sophanimus
3ca589f730 BFH-16 Device-discovery working
Signed-off-by: Sophanimus
2019-04-20 22:00:50 +02:00
ksiwczynski
369adb5d61 Merge remote-tracking branch 'remotes/upstream/master' 2019-03-21 05:17:07 +01:00
Andreas Shimokawa
4638acf2d3 Add setting to enable voip call support (default off)
There were too many bugs reported, so make that optional
2019-03-17 19:02:18 +01:00
ksiwczynski
76427a3848 Watch X Plus discovery 2019-03-14 03:58:57 +01:00
cpfeiffer
c9f1c110b0 Merge remote-tracking branch 'github/pr/1292' 2019-03-04 22:10:23 +01:00
Sebastian Kranz
0da866f70a Change user goal distance preference to use meters instead of km. 2019-03-04 07:16:56 +01:00
jfgreffier
072dcd28ec
Merge branch 'master' into master 2019-03-01 11:33:18 +01:00
HenRy
4363b8d373 Translated using Weblate (English)
Currently translated at 100.0% (597 of 597 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/en/
2019-02-26 22:20:14 +01:00
Sebastian Kranz
6a04c78b0e Merge branch 'master' of https://github.com/Freeyourgadget/Gadgetbridge into zetime 2019-02-20 14:24:59 +01:00
HenRy
c69bfd489d Translated using Weblate (English)
Currently translated at 100.0% (596 of 596 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/en/
2019-02-16 23:45:10 +01:00
Andreas Shimokawa
c66fade081 Amazfit Bip: Support disconnect notifications
Might also work with Cor, did not work with Mi Band 3
2019-02-13 13:06:42 +01:00
HenRy
ebee6acd9a Translated using Weblate (English)
Currently translated at 100.0% (596 of 596 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/en/
2019-02-09 22:47:29 +01:00
jfgreffier
5ab075b373
Merge branch 'master' into master 2019-01-31 15:28:09 +01:00
Andreas Shimokawa
dad7ba7aaa Mi Band 3: Enable fetching sports activities and add "Exercise" type to generic code 2019-01-28 00:22:11 +01:00
Jean-François Greffier
2e7c7d8e52 MIBCS discovery 2019-01-23 21:19:25 +01:00
Allan Nordhøy
d1922bde9d Translated using Weblate (English)
Currently translated at 100.0% (595 of 595 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/en/
2019-01-19 15:27:26 +01:00
abettenburg
51399066a4 Merge remote-tracking branch 'upstream/master' into black_whitelist_for_notifications
# Conflicts:
#	app/src/main/res/values/strings.xml
2019-01-12 09:55:53 +01:00
cpfeiffer
3c0871f474 Improved toast messages for sleep widget 2019-01-11 00:03:17 +01:00
cpfeiffer
51632d16a2 Sleep Widget reacts to clicks now (on Android 8 at least), and...
sends the alarm directly to the wearable.
2019-01-10 23:59:19 +01:00
Andreas Böhler
2c2d07067d Add initial support for Casio GB-6900B 2019-01-06 11:31:50 +01:00
Allan Nordhøy
d4317db369 Translated using Weblate (English)
Currently translated at 100.0% (580 of 580 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/en/
2018-12-19 20:34:15 +01:00
Andreas Shimokawa
b020d59f54 Implement factory reset feature in debug activity
Implemented for Mi Band 1/2/3, Cor, Bip

Could be implemented for Pebble by deleting all blobdbs etc

Related to #109
2018-12-16 16:06:12 +01:00
AndrewBedscastle
f90ba76fc0 No more hardcoded strings
Save and load packageName as lowercase String
Do not save empty strings as Notification Filter Entry
2018-12-06 15:11:50 +01:00