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
GeekosaurusR3x
00fe84d8cf
Initial support for Amazfit T-Rex Pro
2021-06-12 21:19:16 +02:00
Andreas Shimokawa
f32c4d6a43
Support timezones with half an our offset (like UTC+5:30)
...
Should help #2283
2021-06-04 13:07:42 +02:00
Andreas Shimokawa
6526268804
Never show GPS or HW versions, just show FW2
...
The problem is that a lot of devices showed HR which had GPS, which confused people
2021-06-02 17:12:59 +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
TaaviE
df3ee872ae
Improved logging in bonding and tried to recover from weirdness
2021-05-30 01:00:48 +03:00
Dmitriy Bogdanov
6f79fc7afa
Hide timestamp from device notifications
2021-05-29 23:17:40 +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
Dmitriy Bogdanov
e28beaae48
Refactoring: localize notification handling in GB
...
* Handle all notifications via GB.
* Create all notification channels in one place.
* Lazily init notification channels.
* Re-create notification channels to update their localized names.
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
TaaviE
6403e13c9b
SerializedName should be a bit more explicit and theoretically allows reflectionless deserialization
2021-05-29 15:26:05 +03:00
TaaviE
0b021d72ab
Made the firmware version extraction a bit more robust and added annotations to keep data classes after optimizations
2021-05-29 15:01:35 +03:00
Andreas Shimokawa
348f459e3f
Huami: Send "about you" preferences to device immediately when changing values
...
Closes #2297
2021-05-27 23:11:00 +02:00
Arjan Schrijver
9dac0a80c3
Fossil Hybrid HR: Add watch app and watchface support to install handler
2021-05-24 21:49:54 +02:00
Andreas Shimokawa
bba74cb5b4
Mi Band 6: Support unicode emoji being sent
2021-05-24 17:27:34 +02:00
Andreas Shimokawa
cbadb9c7ae
Mi Band 6: allow firmware update
...
Also whitelist FW 1.0.1.36 which I just flashed though Gadgetbridge
Tracking Issue: #2263
2021-05-24 16:51:09 +02:00
Andreas Shimokawa
090e0c7b33
Mi Band 6: support flashing watchfaces
...
Tracking Issue: #2263
2021-05-24 15:47:27 +02:00
Daniel Dakhno
f68582eb46
Fossil HR: fixed last notification widget
2021-05-22 23:32:36 +02:00
Arjan Schrijver
9f459b1da9
Fossil Hybrid HR: Move commute actions to device specific settings
2021-05-22 22:28:26 +02:00