1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-06-28 16:00:12 +02:00
Commit Graph

4417 Commits

Author SHA1 Message Date
José Rebelo
36d2fde49b Zepp OS: Improve weather models 2023-05-18 23:39:24 +01:00
José Rebelo
2b6a79f462 Zepp OS: Manage contacts on watch 2023-05-17 23:43:29 +01:00
José Rebelo
f68e4c865b Huami: Add stress, SpO2, heart rate fetch operations (no db persistence)
Introduce a reusable abstract logic for repeated fetch operations.

Add fetch operations for the following:
- Stress (manual and automatic)
- SpO2 (normal and sleep)
- Heart rate (manual and resting)
2023-05-17 21:56:54 +01:00
Arjan Schrijver
0bba156bec Deduplicate icon retrieval code 2023-05-17 14:09:17 +02:00
José Rebelo
b1a9adadc3 Intent API: Add dataTypes parameter for activity sync 2023-05-16 21:34:05 +01:00
José Rebelo
76d99f1c33 Zepp OS: Start new GPX segments on pause/resume 2023-05-14 16:22:32 +01:00
José Rebelo
a8b9d22313 Add menus to share GPX, raw summary, raw details 2023-05-14 16:10:25 +01:00
José Rebelo
9851493cf1 Zepp OS: Add gpx route file upload 2023-05-14 14:20:39 +01:00
José Rebelo
01ec74602a Refactor and extend GpxParser 2023-05-14 14:19:48 +01:00
José Rebelo
87c91fb9b0 Debug Activity: Allow pairing current device as companion 2023-05-13 17:07:02 +01:00
José Rebelo
e1cccd6953 Zepp OS: Refactor code for alarms, notifications, calendar, canned messages 2023-05-10 23:33:23 +01:00
Arjan Schrijver
f727f2fdcb Fossil/Skagen Hybrids: Pair watch to phone, fixes repeating confirmation request 2023-05-08 22:44:43 +02:00
José Rebelo
e0d481bb36 Sony WH-1000XM5: Add power off, fix battery, fix speak-to-chat fetch 2023-05-06 17:41:10 +01:00
José Rebelo
7b3fbeb4af Sony WH-1000XM5: Initial support 2023-05-06 16:03:48 +01:00
José Rebelo
e4933a0b42 Sony Headphones: Improve unit tests 2023-05-06 14:41:28 +01:00
José Rebelo
880bf9e1b1 Amazfit GTR 3 Pro: Initial support 2023-05-03 20:49:02 +01:00
José Rebelo
483ef27a4f Zepp OS: Set region on user info
This affects available features (eg. Alexa). Defaults to the previous
value of "unknown" for now, and no UI. Alexa requires a region where it
is available, such as Germany ("de").
2023-04-30 17:03:05 +01:00
José Rebelo
6c0a276441 Zepp OS: Add code for AQI shortcut card 2023-04-30 11:55:34 +01:00
José Rebelo
1d0b10ed0f Zepp OS: Refactor services config and init logic 2023-04-30 11:42:34 +01:00
José Rebelo
94c7b43ad4 Zepp OS: Map known watchfaces to human-readable names 2023-04-26 09:51:14 +01:00
José Rebelo
9a8e95bd18 Zepp OS: Set watchface from phone 2023-04-24 20:20:43 +01:00
José Rebelo
3c3936bf6a Zepp OS: Add shortcut cards preference 2023-04-24 19:12:22 +01:00
José Rebelo
ad8069b38d Zepp OS: Fix setting of control center 2023-04-22 22:56:18 +01:00
Sky233ml
83c83580da Zepp OS: Fix Cards and MI AI display item and shortcuts 2023-04-16 10:51:56 +08:00
José Rebelo
c21d53ab49 Zepp OS: Add driving workout code 2023-04-09 13:45:46 +01:00
Arjan Schrijver
b892748b15 Cache notifications while devices are out of range (opt-in) 2023-04-05 11:11:23 +02:00
José Rebelo
340db0ca15 Amazfit GTR 4 / GTS 4: Perform and receive phone calls on watch 2023-04-02 18:50:58 +01:00
José Rebelo
f1dd4019bf Zepp OS: Add support for morning updates 2023-04-01 20:58:21 +01:00
José Rebelo
4713c6511e Zepp OS: Manage contacts on watch (protocol only) 2023-04-01 13:51:23 +01:00
José Rebelo
58686ae7d7 Sony WH-1000XM4: Attemptto fix handling of speak to cheat enabled 2023-03-24 00:39:02 +00:00
José Rebelo
2ec68dbef4 Sony WH-1000XM4: Attempt to fix handling of speak to cheat enabled 2023-03-24 00:37:15 +00:00
José Rebelo
f2a7f6ab45 Sony WH-1000XM4: Add speak-to-chat settings 2023-03-24 00:03:54 +00:00
José Rebelo
d7ecfcb16b Sony WH-1000XM4: Add speak-to-chat 2023-03-23 21:50:40 +00:00
thirschbuechler
da001544c5 add CroatianTransliterator 2023-03-21 20:00:28 +00:00
Gordon Williams
2a5cd559d5 Fix issue updating timezone in setting.json if the timezone is zero (https://github.com/espruino/BangleApps/issues/2575) 2023-03-21 15:08:59 +00:00
José Rebelo
aeb8607e78 Amazfit GTR 4 / GTS 4: Add watch Wi-Fi Hotspot and FTP Server 2023-03-21 00:02:59 +00:00
José Rebelo
d6b1b778b8 Zepp OS: Add preference for camera remote 2023-03-19 22:35:02 +00:00
José Rebelo
00954dfa6d Zepp OS: Add config to keep screen on during workout 2023-03-19 22:25:44 +00:00
José Rebelo
ac002f8db9 Zepp OS: Fix activate display upon lift wrist smart mode 2023-03-19 22:11:39 +00:00
José Rebelo
443f13c11d Zepp OS: Fix setting of unknown configuration values
Unknown configuration values are displayed in the UI as "Unknown (0x*)".
We can then attempt to parse them as hex and send the value.
2023-03-19 22:05:37 +00:00
José Rebelo
f0a05ded91 Amazfit GTR 4: Whitelist fw 3.18.1.1 diff from 3.17.0.2
Differential firmware updates are installed just like normal updates.
2023-03-19 15:53:17 +00:00
Joel Beckmeyer
ed9c746059 fix saving app notification/pebble blacklist preferences on import 2023-03-18 17:54:55 +00:00
Joel Beckmeyer
a8da4cf6d1 Amazfit Bip U: disable alarm snooze enable/disable 2023-03-17 15:46:46 -04:00
Oleg Vasilev
007f070125 huami: implement repeated activity fetching
Currently, huami only attempts to fetch activities once.

Since sports activity fetching creates an Operation twice per every fetch, we
need to pass around fetchCount variable to keep track of how many fetches has
occured.

Tested on my Amazfit GTR 4.

Signed-off-by: Oleg Vasilev <me@svin.in>
2023-03-11 15:02:00 +00:00
Andreas Shimokawa
d07fec33ca SoFlow SO6: Add light command and request lock state 2023-02-21 16:09:23 +01:00
Andreas Shimokawa
4bd8c20a6d SoFlow SO6: few cleanups and more testing 2023-02-21 16:09:23 +01:00
Andreas Shimokawa
74517f12a3 SoFlow SO6: First working lock&unlock
needs key
2023-02-21 16:09:23 +01:00
Andreas Shimokawa
5db9d36d1a SoFlow SO6: fix settings 2023-02-21 16:09:23 +01:00
Andreas Shimokawa
27406e0881 SoFlow SO6: WIP 2023-02-21 16:09:23 +01:00
narektor
84e452bd6b Galaxy Buds2 Pro support (this time proper) (#3049)
Mostly copied from the Buds Pro as those earbuds have a similar feature set and mostly the same protocol.

Working:
- Pairing
- Earbud and case battery level
- Finding lost device
- Settings:
	- Noise control:
    	- ANC/ambient/off
        - With one earbud
        - Voice detect and timeouts
    	- Ambient sound during calls
    - Touch options:
    	- Touch lock
        - Switch noise control, voice assistant, Spotify and volume actions
    	- Double tap edge
    - Equalizer
    - Sound balance
	- Seamless earbud connection

Can be improved:
- ~~ANC level and ambient sound volume do nothing, and don't seem to be supported on this model as there is no toggle for either in the official app.~~ (fixed: 26a9d274ae)
- Ambient sound customization has more options than on previous models, but I can't implement it properly as I can't really hear any difference between the options (my buds might be the issue though).
- ~~The touch lock toggle is once again inverted, like on the [Buds2](d2c4990c48)~~ (fixed: 21db5390c1).

Untested:
- Settings:
    - In-ear detection for calls
    - Ambient sound customization
    - Game mode

This PR also makes some visual changes to the settings of various Galaxy Buds models.

I'd also like to be added to the wiki's allow list. I want to add the Buds2 and Buds2 Pro to the list of supported devices.

---

And sorry for creating this many pull requests. This is mostly due to Codeberg breaking the reference to the branch.

Co-authored-by: Narek <narek.email@gmail.com>
Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/3049
Reviewed-by: José Rebelo <joserebelo@noreply.codeberg.org>
Reviewed-by: Andreas Shimokawa <ashimokawa@noreply.codeberg.org>
Co-authored-by: narektor <narektor@noreply.codeberg.org>
Co-committed-by: narektor <narektor@noreply.codeberg.org>
2023-02-21 14:50:24 +00:00