vanous
788f4d8ae0
Add support for multiple batteries per device
2021-11-02 14:37:47 +01:00
Andreas Shimokawa
998f8775d9
Fix bug in non-DST time where still being in DST was assumed
...
This affects InfiniTime and Huami
For InfiniTime it probably resulted in the wrong time being displayed
For Huami is resulted to request the wrong data from the band/watch
We used timezone.getDSTOffset() which always returns the DST offset (also in non
DST time)
We need to pass the time being observed to calendar.getOffset() to get the real
offset including DST at that specfic time which then either includes DST offset or not.
2021-11-02 11:34:55 +01:00
Daniele Gobbetti
f8cc520ede
BtClassic: generalize device initialization
...
Also override the new generic initialization for Nothing Ear (1)
2021-10-31 15:54:36 +01:00
vanous
da0c43f77d
Galaxy Buds: adding initial support for Galaxy Buds 2019
2021-10-31 07:27:16 +01:00
Andreas Shimokawa
3db6e5d9ec
Prevent crash when receiving broken weather data from TinyWeatherForecastGermany
2021-10-28 10:32:52 +02:00
vanous
67b1dd2051
FitPro: add LH716 to list of supported names, fix #2418
2021-10-26 09:33:14 +02:00
Andreas Shimokawa
3a642251fe
Amazfit Bip U Pro: Support flashing AGPS updates
...
Use Huafetcher for fetching the data.
2021-10-22 15:46:54 +02:00
Andreas Shimokawa
1341501ac4
Amazfit Bip U Pro: Allow setting more languages, whitelist FW 1.0.2.92
2021-10-22 14:08:39 +02:00
Andreas Böhler
8a3fc19285
Add support for Casio STB-1000. Limitations of GB-5600B/GB-6900B apply.
2021-10-18 18:23:35 +02:00
HelloCodeberg
ca4f996e9b
add_rotate_watchface_button_hybridhr ( #2408 )
...
This adds a button which rotates the selected watchface by 90 degrees counter-clockwise to the hybridqr.
I did not manage to fix the autoorientation.
Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/2408
Co-authored-by: HelloCodeberg <hellocodeberg@noreply.codeberg.org>
Co-committed-by: HelloCodeberg <hellocodeberg@noreply.codeberg.org>
2021-10-14 11:00:37 +02:00
vanous
d3d4130a95
Reworking notification management
...
- rename some methods to better indicate their functions.
- make the notification filter to be allow or deny list,
solves #2256 and #336
- make app word filter to behave based on allow/deny settings.
- make Pebble notifications to honor the allow/deny settings.
- add generic "debug function" to Debug activity.
- add Message privacy mode settings, solves #2279
2021-10-10 11:49:13 +02:00
Daniele Gobbetti
9ad7e210b7
Nothing Ear (1): Read audio status from device and various fixes:
...
- add support for ANC-light mode
- handle multiple GBDeviceEvents
- add fake fw and hw versions to make DBHelper happy
- fix battery charge detection logic
- extract some strings to resources
2021-10-07 20:25:26 +02:00
Andreas Shimokawa
ebe2558690
Huami: clean up supported languages
2021-10-07 18:33:58 +02:00
Andreas Shimokawa
588bcffaab
Mi Band 3/4: Use language list from coordinator, remove array
2021-10-07 14:52:21 +02:00
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
Andreas Shimokawa
2219eb489e
Amazfit Bip U: Fix setting the language
2021-10-07 12:50:44 +02:00
Daniel Dakhno
1a892aa159
UM25: added some fields to UI
2021-10-03 02:43:42 +02:00
Andreas Shimokawa
48e5f44b81
Amazfit Bip U Pro: Fix flashing firmware, res, font, watchfaces
2021-10-01 17:49:43 +02:00
Andreas Shimokawa
d9a77540ce
Amazfit Bip U: fix watchface installation
2021-10-01 17:42:36 +02:00
Andreas Shimokawa
475a2584cc
Amazfit Bip U/Pro: enable unicode emoji
2021-10-01 14:18:06 +02:00
Andreas Shimokawa
d673d8a487
Amazfit Bip U: Whitelist fw 1.0.2.95
2021-10-01 14:12:31 +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
vanous
2bd90a0d5a
use native isToday method
2021-09-26 20:29:54 +02:00
vanous
dc42faa6fb
Show ongoing activity snackbar only 'today'
2021-09-26 20:15:25 +02:00
vanous
3cde7eca7e
add missing AbstractFitProActivitySample from entities (excluded by gitignore)
2021-09-24 10:00:36 +02:00
Andreas Böhler
264b003809
Fix connection on GBX-100
2021-09-23 18:28:45 +02:00
Arjan Schrijver
2d96328d1b
Fossil Hybrid HR: Lower battery level warning threshold to 10%
2021-09-22 11:10:29 +02:00
Anemograph
d088c3d63f
Added ringtone preference setting.
2021-09-21 21:03:37 +02:00
vanous
e00ee75ad2
adding FitPro bands support
2021-09-21 16:37:19 +02:00
vanous
b8855f16ee
Ensure that slf4j is not used before being initialized, fixes #2394
2021-09-20 18:22:30 +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
vanous
47b9e94858
exclude not worn sleep times also from sleep sessions
...
This ensures that the sleep sessions times and the charts times are now
equal (correct behavior). At the same time this causes the sleep
sessions to be visually broken up into more small pieces and therefore
it now more highlights the issue of the band (mostly) wrongly marking
some samples as not worn.
2021-09-17 18:05:58 +02:00
Andreas Shimokawa
92ce748202
Amazfit Bip S: Whitelist 2.1.1.72 and 2.1.1.76 firmware
2021-09-15 10:06:48 +02:00
vanous
27e2197c30
add Icelandic and Czech transliteration, fix 2388
2021-09-07 21:52:31 +02:00
Andreas Shimokawa
b99da8b596
Mi Band 6: really fix weather on new firmware
2021-09-03 15:50:42 +02:00
Andreas Shimokawa
eb8284f079
Mi Band 6: Fix watchface installation
2021-09-02 13:26:35 +02:00
Andreas Shimokawa
a24900bbcf
Mi Band 6: Whitelist FW 1.0.4.38
2021-09-02 11:39:25 +02:00
Andreas Shimokawa
c965114c21
Mi Band 6: Add flashlight to menu items
2021-09-02 11:21:05 +02:00
Andreas Shimokawa
4242f5ccd4
Mi Band 6: Write to chunked2021 for old chunked types on new firmware (fixes music, weather and setting menu items)
2021-09-02 11:21:05 +02:00
Andreas Shimokawa
4a27825931
Mi Band 6: Send all old settings to new characteristics
...
This adds a compatibility wrapper to make it easier
2021-09-02 11:21:05 +02:00
Andreas Shimokawa
117cd57463
Mi Band 6: Support sending encrypted packets on new firmware
2021-09-02 11:21:05 +02:00
chklump
3b6f3b11bb
Fix body_length overflow for long notifications.
...
The body_length field in the header is only one byte (byte 8). If it it is set to 256 it overflows to 0 wich results in a corrupt notification. So the maximum body length is 255.
2021-08-27 14:04:06 +02:00
Andreas Shimokawa
1bfec5b65f
InifiniTime: Fix null being displayed on empty notifications
2021-08-26 10:59:53 +02:00
Andreas Shimokawa
44fcd454a0
Mi Band 6: Make new auth protocol a setting for now
2021-08-26 10:59:53 +02:00
Andreas Shimokawa
2c06e5d39c
Mi Band 6 auth: add test, fix crypto
2021-08-26 10:59:53 +02:00
Andreas Shimokawa
d352624629
Mi Band 6 auth: first full but nonworking version
2021-08-26 10:59:53 +02:00
Andreas Shimokawa
1c6f055bef
Mi Band 6 auth: Working jni call to generate keys
2021-08-26 10:59:53 +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
vanous
4dd8af6d24
HeartRate dialog: extend the enable check with supportsRealtimeData()
2021-08-09 17:45:52 +02:00
Andreas Shimokawa
5fb674f9ae
Fossil Hybrid HR: Support setting metric/imperial mode
...
Fixes #2355
2021-08-09 16:32:42 +02:00
vanous
e6ae5e357e
add Heart icon (trigger heart measurement) to device action icons
2021-08-08 11:12:08 +02:00
Andreas Shimokawa
e5caf78fb0
Assume timezone UTC for BLE time protocol
...
BLE protocol only sends a UTC offset which combines the TZ with DST, if we take
a local timezone as a base and add a raw offset with DST included, DST might
be added again.
This is to fix problems with recorded data on Huami devices where we cannot know
in which timezone data was recorded - only the offset, where we do not know if a
part of it is DST.
2021-08-06 01:05:51 +02:00
Gordon Williams
9222c6700e
Add functions for pushing bitmaps to Bangle.js, also add configurable MTU. If we receive a bigger data packet then we know we can send a bigger one too
2021-08-04 16:41:06 +01:00
Andreas Shimokawa
a302b5509f
Huami: re-enable setting the timezone correctly with included DST
...
This will trigger bugs, but also fix some.
We "just" need to fix the new bugs :/
2021-07-30 16:33:44 +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
vanous
383e096248
add System.exit(0) to quit() to ensure exit
2021-07-20 20:59:58 +02:00
Andreas Shimokawa
c4f12f548c
Fix missing breaks in switch, should fix UM25 support
2021-07-20 12:11:44 +02:00
vanous
67726944c4
fix: apply theme as set by the system
2021-07-20 12:09:01 +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
bcc5afb78c
use '_' instead ':' in exported and imported file names
2021-07-18 18:21:00 +02:00
vanous
4a5d639d01
add GPX receiver via intent
2021-07-14 11:41:41 +02:00
vanous
fffe7e37c4
Allows to edit the GPX track entry in Sports Activity item
2021-07-14 11:41:41 +02:00
Andreas Shimokawa
603050b7cc
InfiniTime: support notification for battery level
2021-07-08 23:46:18 +02:00
vanous
c5aaaec7e3
Add black background to Dark Theme
2021-07-06 21:04:27 +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
vanous
ad7fc6c5d0
Check ActivityListing charts for null condition, should fix #2322
2021-06-27 14:59:23 +02:00
vanous
24afee2de5
Debug: add testing device manually
2021-06-27 14:57:47 +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
TaaviE
cd40478b3f
Fixed a misspell and declared the conversion function as static
2021-06-20 14:57:22 +03:00
Andreas Shimokawa
7e7b0a0f28
Amazfit T-Rex Pro: Add barometer to menu items
2021-06-19 10:20:41 +02:00
Andreas Shimokawa
3c5c61ddea
Amazit T-Rex Pro: minor cleanups, support flashig AGPS UIHH (assumed working for such a new device)
2021-06-13 23:07:58 +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