Andreas Shimokawa
cf70347636
Fix crash when calender is accessed but permissin is denied
...
Fixes #2624
2022-03-31 11:25:15 +02:00
Andreas Shimokawa
08eb58e63b
Mi Band 6: set time on connect
2022-03-31 11:07:13 +02:00
Damien Gaignon
41b2847691
Finalize constants move
2022-03-30 22:01:08 +02:00
Damien Gaignon
48890d1d34
Move disconnect_notification constant to generic
2022-03-30 22:01:08 +02:00
Damien Gaignon
02e790dd00
Remove redundant constants
2022-03-30 22:01:08 +02:00
Damien Gaignon
619780977c
Move lefun_language constant to generic
2022-03-30 22:01:08 +02:00
Damien Gaignon
fd69b1a3ea
Move mi2_inactivity constants to inactivity
2022-03-30 22:01:08 +02:00
Damien Gaignon
6ed6c8a2b6
Move longsit files to inactivity
2022-03-30 22:01:08 +02:00
Damien Gaignon
46f93bd2e4
Move longsit constants to inactivity
2022-03-30 22:01:08 +02:00
Damien Gaignon
ae796c81eb
Move zetime_inactivity* constants
2022-03-30 22:01:08 +02:00
Damien Gaignon
3b75a1701a
Clean DO_NOT_DISTURB* constants
2022-03-30 22:01:08 +02:00
Damien Gaignon
66b8fb004e
Move mi_ constants
2022-03-30 22:01:08 +02:00
Arjan Schrijver
e4d8f5f3e2
Fossil Hybrid HR: Add flexible custom menu on watch ( #2616 )
...
This PR adds support for a new custom menu system on the Fossil Hybrid HR, developed by @dakhnod. For regular users this PR will change nothing, apart from also giving an extra option to light up the display when receiving new notifications.
For more advanced users, there's the [Fossil HR Menu Companion app](https://github.com/dakhnod/Fossil-HR-Menu-Companion ) that's needed to enable and configure the new menu system. Just disable one or more of the physical buttons in Gadgetbridge and configure them instead in the companion app to get started.
Co-authored-by: Daniel Dakhno <dakhnod@gmail.com>
Co-authored-by: Arjan Schrijver <a_gadgetbridge@anymore.nl>
Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/2616
2022-03-22 20:52:43 +01:00
a b
4e8449eb47
Add support for Hama Fit Track 1900
2022-03-15 19:09:46 +01:00
Daniel Dakhno
f49184ef62
Fossil HR: try guessing new widget position
2022-03-09 10:44:49 +01:00
rarder44
c0ca52d2b8
BangleJS: added repetitions in alarm json ( #2579 )
...
Co-authored-by: rarder44 <rarder44@noreply.codeberg.org>
Co-committed-by: rarder44 <rarder44@noreply.codeberg.org>
2022-03-07 10:43:54 +01:00
vanous
f44ff3ae69
AutoExporter changes for better operation and troubleshooting.
...
- Add more info about AutoExport into DataManagement activity
- Fix scheduleAlarm name
- Run AutoExporter in another thread
- Start AutoExporter on app startup if not running yet from AutoStartReceiver
- Save and show time of scheduled and last executed AutoExport
2022-03-06 13:03:59 +01:00
Richard de Boer
cec28d2442
Bangle.js: handle battery charging status
2022-03-06 00:24:57 +01:00
Daniel Dakhno
f61008c9ae
UM-25: made cumulative values resettable
2022-02-27 11:03:39 +01:00
SalavatR
8e34311f01
XWatch notifications and calls support
2022-02-25 22:26:40 +01:00
vanous
3ecc6519b0
Add selection dialog to set OpenTracks package name
2022-02-25 07:33:10 +01:00
Arjan Schrijver
8d152bec22
Add explanation to OpenTracksController
2022-02-23 14:08:26 +01:00
vanous
3450e5d5e7
allow to open Android notification settings from Notification settings
2022-02-23 10:25:10 +01:00
vanous
10fc3e1fae
unset OpenTracksObserver after finish
2022-02-22 18:19:28 +01:00
vanous
79e0c01f60
add debug features for openTracksObserver
2022-02-22 17:57:31 +01:00
vanous
fdfb9f57e2
perform check before closing openTracksObserver.finish
2022-02-20 15:09:05 +01:00
vanous
020c4aacd5
add OpenTracks Nightly into whitelisted persistent notification apps
2022-02-20 15:07:50 +01:00
vanous
65cbea6713
Add HUAMI button/device action to control fitness tracking
...
- Fitness App Tracking Start already works, Stop is commented out for
time being
- Catch exception in case the package name for controlled app doesn't
exist/work
2022-02-19 16:04:48 +01:00
Arjan Schrijver
5224304b6c
Read overall statistics from received OpenTracks dashboard API URIs
2022-02-17 11:00:58 +01:00
Arjan Schrijver
d2408f77cd
Fossil Hybrid HR: Move workout request handling to separate class
2022-02-17 11:00:58 +01:00
Arjan Schrijver
e188e54622
Add OpenTracksController for interactions with OpenTracks
2022-02-17 11:00:58 +01:00
Arjan Schrijver
c8ad21eebf
Fossil Hybrid HR: Start/stop track in OpenTracks from GPS workout on watch
2022-02-17 11:00:58 +01:00
Daniel Dakhno
93fc2c3b61
VESC: fixed crash on loading saved integer
2022-02-14 19:12:44 +01:00
vanous
33569d73d7
WaspOS: fix battery chart
2022-02-02 15:53:59 +01:00
vanous
ed1836a2bd
WaspOS: add condition code to weather JSON
2022-02-02 15:43:45 +01:00
Andreas Shimokawa
b62357dfe2
Mi Band 6: Sync alarms set on the watch like on Amazfit Bip U and others
...
This adds code to decrypt chunked protocol replies for configuration data.
Also some (disabled) code for SMS reply.
2022-02-02 12:57:25 +01:00
Andreas Böhler
884538de5e
Add basic support for Casio GBD-H1000
2022-02-02 11:21:11 +01:00
Richard de Boer
42e0a63429
Bangle.js: fix battery chart
...
Battery percentages were shown in gadgetbridge, but not stored, so the chart didn't work.
Call AbstractDeviceSupport.handleGBDeviceEvent() instead of rolling our own battery update,
and that does call createStoreTask()
2022-02-02 11:20:43 +01:00
Marc Nause
e32dc8b48e
Bangle.js: Prevent exception in case UART RX line is empty
...
This seems to fix the "no incoming call notification"-issue, see https://github.com/espruino/BangleApps/issues/976
2022-01-29 23:49:51 +01:00
Andreas Shimokawa
d67771ccc3
Huami: implement reassably of alarm configuration chunks for low mtu and fix situation when all alarms get deleted on the watch
2022-01-21 12:48:36 +01:00
Daniel Dakhno
7697b588d1
Merge remote-tracking branch 'origin/master'
2022-01-20 15:51:25 +01:00
Daniel Dakhno
2fbf0d62e0
QC35: added battery threshold
2022-01-20 15:51:19 +01:00
Andreas Shimokawa
6046152153
Huami: Fix updating alarm times when not toggling, other logic fixes
2022-01-20 11:12:31 +01:00
Andreas Shimokawa
47f7f22df4
Read alarms from device on connect and when changed on device
...
TODO:
- support decryption for mi band 6
- reassamble chunks for low MTU
2022-01-20 10:09:23 +01:00
Andreas Shimokawa
3b95e4ea66
Bip U / Bip U Pro: Fix switched device names
2022-01-18 21:20:33 +01:00
Andreas Shimokawa
406f775f76
Amazfit Pop/Pop Pro: Seperate device from Bip U/Bip U Pro
...
This really seems to be the same device, but it does have a different firmware
and a different bluetooth name.
Do this to prevent cross flashing - which might actually be okay but we do not know.
2022-01-18 21:15:12 +01:00
Andreas Shimokawa
3b25f57986
Revert "Add Support for Bip U series China Variant"
...
This reverts commit 8e66ed4283
.
2022-01-18 20:02:28 +01:00
José Rebelo
d0f80eb5b4
Sony Headphones: Implement Noise Cancelling Optimizer
2022-01-17 07:55:43 +01:00
José Rebelo
83c42ebef8
Sony WH-1000XM3: Disable equalizer, surround and sound position while in SBC codec
2022-01-15 23:40:00 +00:00
José Rebelo
1de2c32705
Make DeviceSpecificSettingsCustomizer Parcelable, fixing occasional crash
...
A fragment must have an empty constructor, and the settings will sometimes crash when resuming.
Fixes #2560
2022-01-15 17:18:41 +01:00
DESKTOP-IF738U6\Tim
5de5f7bb14
added data loss fix to debug activity
2022-01-15 09:52:27 +01:00
rikka356
8e66ed4283
Add Support for Bip U series China Variant
2022-01-13 05:47:36 +08:00
José Rebelo
8a54f5dd1c
Improve discovery activity internationalization
2022-01-12 13:26:54 +00:00
MedusasSphinx
f3a491496e
Transliterate "ı"
2022-01-12 13:55:25 +01:00
Arjan Schrijver
795c800dd4
Fossil HR: Make width of custom widget configurable
2022-01-12 13:55:02 +01:00
José Rebelo
d4840b3c5b
Sony Headphones: Improve first connection reliability
2022-01-12 13:28:26 +01:00
Andreas Böhler
c81a7ab8e4
Fix supid bug introduced while refactoring Casio support
2022-01-12 11:33:05 +01:00
José Rebelo
d23b0a5b88
Sony WH-1000XM4: Initial Support
2022-01-12 10:36:07 +01:00
Daniel Dakhno
73ce323288
Fossil HR: improved DeviceApplicationsList handling
2022-01-11 13:13:15 +01:00
dakhnod
8d1a1c07b7
fossilhr-activity-recognition ( #2539 )
...
This PR adds the ability to change activity recognition settings on the watch.
Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/2539
Co-authored-by: dakhnod <dakhnod@noreply.codeberg.org>
Co-committed-by: dakhnod <dakhnod@noreply.codeberg.org>
2022-01-06 13:31:00 +01:00
vanous
3617fc9115
add icons for VESC devices
2022-01-01 12:45:40 +01:00
vanous
53e7a4740e
Add commit id into About screen
2021-12-30 10:40:40 +01:00
vanous
7cf562c8e6
Refactor formatting of distance strings
...
- localizing number format
- allows translation of distance units
- refactor
2021-12-30 07:55:20 +01:00
Your Name
c62a418961
Add climbing activity & Add seperate res for hiking and climbing
2021-12-28 22:37:35 +01:00
Sebastian Krey
2bf4f14b98
New Amazfit GTS 2 Mini activity Outdoor Trekking/Hiking ( #2528 )
...
New Huami Amazfit GTS 2 Mini activity for Outdoor Trekking/Hiking.
Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/2528
Co-authored-by: Sebastian Krey <skrey@noreply.codeberg.org>
Co-committed-by: Sebastian Krey <skrey@noreply.codeberg.org>
2021-12-28 13:46:17 +01:00
Sebastian Krey
241bc02cc0
Huami activity summary fields for ascent, descent and flat distances
2021-12-27 15:48:04 +01:00
dakhnod
504b552f0c
device-vesc ( #2491 )
...
Adds Support for BLDC controller VESC connected to a BLE serial device like an HM10.
Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/2491
Co-authored-by: dakhnod <dakhnod@noreply.codeberg.org>
Co-committed-by: dakhnod <dakhnod@noreply.codeberg.org>
2021-12-27 15:47:10 +01:00
ITCactus
e332f5d23a
[PineTime][InfiniTime][2527] remove debug Toast and subscription to UUID_CHARACTERISTIC_MOTION_RAW_XYZ_VALUES
2021-12-27 15:38:10 +01:00
dakhnod
b0ed617072
device-bose-qc35 ( #2520 )
...
This PR adds not only the device Bose QC35,
it also adds the following autop-reconnect feature:
When the headphones are turned on, the initiate a connection with the phone.
With this change, GB is notified about said change, and tries to establish a connection to the newly connected device, if the appropriate device setting is set.
The QC35 headpones always have NC turned on after boot, thus the main feature of this implementation is to turn off NC as soon as the headphones are turned on and connected to the phone.
I am open for discussion regarding the implementation, but this seems like a good first proposal.
What is missing is the ability to connect to multiple devices, since in many cases headphones can be connected to the watch simultaniously to a smartwatch or other gadget.
Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/2520
Co-authored-by: dakhnod <dakhnod@noreply.codeberg.org>
Co-committed-by: dakhnod <dakhnod@noreply.codeberg.org>
2021-12-27 15:37:04 +01:00
José Rebelo
c4874de11a
Sony WF-SP800N: Initial Support
2021-12-26 19:17:21 +01:00
José Rebelo
8eb0b310ba
Sony WH-1000XM3: Fix Ambient Sound Control commands, potentially improving ANC quality
2021-12-26 19:17:21 +01:00
José Rebelo
4297b4b7e0
Roidmi 1: Set number of batteries to 0
2021-12-26 18:27:01 +01:00
José Rebelo
b0648dcc09
Roidmi: Fix frequency configuration on some non-english languages
2021-12-26 18:27:01 +01:00
José Rebelo
887c3bf8ca
Roidmi: Slight code cleanup
2021-12-26 18:27:01 +01:00
José Rebelo
5dfcaa65ea
Roidmi 3: Add support for Mojietu 3 rebrand
2021-12-26 18:27:01 +01:00
vanous
c23810f54c
Provide Add test device directly from the Discovery screen
2021-12-26 18:14:07 +01:00
vanous
682a26e56d
Add Discovery setting to the Discovery Activity
2021-12-26 18:14:07 +01:00
vanous
71138192f0
Allow discovering unsupported devices for debug purposes
2021-12-26 18:14:07 +01:00
Daniel Dakhno
e889796671
added util method to Version
2021-12-26 17:58:47 +01:00
Daniel Dakhno
cab9ab714a
Fixed bug on Preference Screen start
2021-12-26 15:40:12 +01:00
Daniel Dakhno
a1f9fe82d2
Merge branch 'master' of codeberg.org:Freeyourgadget/Gadgetbridge
2021-12-26 00:17:56 +01:00
Daniel Dakhno
a1be28c117
UM25: removed battery icon
2021-12-26 00:17:44 +01:00
Andreas Shimokawa
e1b04f6a5c
Huami: support old version of new chunked protocol used on Amazfit Bip U at least
...
This is used for setting world clock and setting canned messages for call rejection.
This PR implements setting the canned messages, but unfortunately the feature is somehow not "unlocked"
2021-12-23 18:06:58 +01:00
musover
8baf97fd93
Determined which icons take header, fixed email
2021-12-23 11:42:29 +01:00
musover
37adef93bb
Add support for Telegram (from web) and Discord
2021-12-23 11:42:29 +01:00
musover
d5eb5b0690
Determined which icons take header, fixed email
2021-12-23 11:42:29 +01:00
musover
69c1c1b989
Fix notification title not appearing on Amazfit GTS2 Mini for non-chat apps
2021-12-23 11:42:29 +01:00
musover
907ffafa62
Add support for Telegram (from web) and Discord
2021-12-23 11:42:29 +01:00
José Rebelo
33b5a6de38
Sony WH-1000XM3: Read information from device
2021-12-23 11:39:26 +01:00
Andreas Shimokawa
0906f150bd
Do not transliterate phone numbers and iconIds
...
In case of icon Ids this even leads to a crash :/
Fixes #2517
2021-12-20 16:52:55 +01:00
Sebastian Krey
56a552ac44
Move minHR into version 519 case
2021-12-20 12:18:28 +01:00
Sebastian Krey
2af93eba03
Additional Huami Summary fields
2021-12-20 12:18:28 +01:00
José Rebelo
96d709bea1
Allow devices to update info, preferences and state
2021-12-20 11:29:21 +01:00
José Rebelo
93dad44750
Keep device info on the correct device during reordering
2021-12-19 19:11:22 +01:00
Daniel Dakhno
2f217b077f
Fossil HR: removed find-my-device with older firmwares
2021-12-19 12:56:47 +01:00
Daniel Dakhno
ee9d1155ba
Fossil HR: fixed on-device confirmation for older firmwares
2021-12-19 12:51:30 +01:00
Richard de Boer
c8ceb4e44d
Bangle.js: add condition "code" to weather JSON
...
Fixes #2504 : Weather: support for language independent condition code or icon name
2021-12-19 09:56:05 +01:00
José Rebelo
54749ec9d9
Hide heart rate status label view if empty
2021-12-18 23:22:01 +00:00
José Rebelo
7e349213a5
Hide battery status label view if empty
2021-12-18 22:45:49 +00:00
Andreas Shimokawa
055511945b
Amazfit Bip U/Pro: disable event reminder it is not supported by the device!
2021-12-16 17:59:47 +01:00