José Rebelo
03dbf7533f
Xiaomi: Get canned messages from watch
2023-12-06 11:18:13 +00:00
José Rebelo
9ddbcc0c8a
Xiaomi: Use display items labels from watch
2023-12-05 18:20:02 +00:00
José Rebelo
3ab1ac26db
Refactor known preference values code to be reusable
2023-12-05 18:20:02 +00:00
José Rebelo
95d3ff81fd
Xiaomi: Fetch alarm and reminder slots from watch
2023-12-05 18:16:45 +00:00
José Rebelo
e6cb15d9eb
Mi Watch Color Sport: Experimental support
2023-12-02 11:56:23 +00:00
José Rebelo
ec050d7a4f
Xiaomi: Unify encrypted and plaintext logic
2023-12-02 11:25:32 +00:00
José Rebelo
ba0ca1de75
Delegate auth key validation to coordinator
2023-12-02 10:59:34 +00:00
José Rebelo
216dc93986
Mi Band 8: Overlay sleep on activity data
2023-12-02 10:56:36 +00:00
José Rebelo
84692e5432
Mi Band 8: Persist bedtime and wakeup times to database
2023-12-01 21:35:29 +00:00
Andreas Shimokawa
81e24e53ed
Xiaomi: WIP implementation for sending contacts
...
This is not useful yet because contacts just get added when sending them, instaed of replacing.
Should be fixed or disabled before the release
2023-12-01 12:40:53 +01:00
José Rebelo
5be3543fa3
Xiaomi Smart Band 7 Pro: Experimental support
2023-11-29 21:18:52 +00:00
MrYoranimo
dd6d9bd271
Add device icon for Mi Watch, Xiaomi Watch S1 Active
2023-11-29 20:27:44 +01:00
MrYoranimo
6933b8a793
Add device coordinator for Xiaomi Watch S1 Active
2023-11-29 20:27:36 +01:00
José Rebelo
c5757ea478
Mi Band 8: Improve stress charts
2023-11-26 21:01:32 +00:00
José Rebelo
50cdcec846
Xiaomi: Delete device data when deleting device
2023-11-26 21:01:32 +00:00
José Rebelo
636f4adc8d
Zepp OS: Delete device data when deleting device
2023-11-26 21:01:32 +00:00
José Rebelo
e53c67e8bf
Xiaomi: Fix SpO2
2023-11-26 21:01:32 +00:00
foxstidious
85d0722ffe
Updates to address findings on PR
2023-11-25 22:52:26 +00:00
foxstidious
4dc10d1d02
Implemented better message preview, added ability to specify high-level alert by category
2023-11-25 22:52:26 +00:00
foxstidious
11bf0acf32
Changed notification timestamp format to be implemented specifically for GBD-200
2023-11-25 22:52:26 +00:00
foxstidious
6be7f7c9cc
Fixed find phone on, added preference to preview messages on Casio GDB-200
2023-11-25 22:52:26 +00:00
Andreas Böhler
6ef6c9be43
Fix Bonding for the Casio GB5600/6900/STB-1000 series
2023-11-25 22:46:45 +00:00
José Rebelo
8bd7e103d0
Update changelog
2023-11-25 22:30:25 +00:00
José Rebelo
e91ad80d27
Xiaomi: Cleanup code and comments
2023-11-25 22:18:34 +00:00
José Rebelo
7416159ba2
Xiaomi: Mark new devices as experimental
2023-11-25 22:17:09 +00:00
Andreas Shimokawa
84cf8efb59
Redmi Watch 3 Lite: Initial support
...
This is just using mi band 8 code, some feature work
2023-11-25 21:16:53 +00:00
José Rebelo
0dcb316461
Mi Band 8: Basic workout summary parser (wip)
2023-11-25 21:16:53 +00:00
José Rebelo
ff2a26756f
Mi Band 8: Fix weather (set current location)
2023-11-25 21:16:53 +00:00
Andreas Shimokawa
cef4b62458
Mi Watch Lite: enable install handler
...
Does not work as is because we do not recognize watchfaces and firmware yet
2023-11-25 21:16:53 +00:00
José Rebelo
29c183b88a
Xiaomi: Refactor to install firmware (untested)
2023-11-25 21:16:53 +00:00
José Rebelo
c47e830056
Xiaomi: Watchface upload (wip, does not work)
2023-11-25 21:16:53 +00:00
José Rebelo
b0d3fe6a51
Xiaomi: Set device language
2023-11-25 21:16:53 +00:00
José Rebelo
1b645f44d7
Xiaomi: Keep only watchface tab in app management
2023-11-25 21:16:53 +00:00
José Rebelo
ce1d095074
Xiaomi: Add encrypted and plaintext coordinators
2023-11-25 21:16:53 +00:00
José Rebelo
4e680cfcce
Mi Band 8: List watchface in app management
2023-11-25 21:16:53 +00:00
José Rebelo
d3eb69fcf7
Mi Band 8: Send gps to watch (wip)
2023-11-25 21:16:53 +00:00
Andreas Shimokawa
b09879dd31
Mi Watch Lite: disable some features that do not exist on the watch
2023-11-25 21:16:52 +00:00
José Rebelo
aead518e05
Xiaomi: Implement daily activity parsing
2023-11-25 21:16:52 +00:00
José Rebelo
d35bcef406
Mi Band 8: Fix activity fetching
2023-11-25 21:16:52 +00:00
José Rebelo
d953fd5b5b
Mi Watch Lite: Refactor to use XiaomiCharacteristic
2023-11-25 21:16:52 +00:00
Andreas Shimokawa
7803581922
Mi Watch Lite test based on miband 8 branch
...
very much wip
2023-11-25 21:16:52 +00:00
José Rebelo
0ed169c153
Xiaomi: Refactor characteristics (wip, chunked is broken)
2023-11-25 21:16:52 +00:00
José Rebelo
7124d337e1
Mi Band 8: Implement reminders
2023-11-25 21:16:52 +00:00
José Rebelo
809a809082
Mi Band 8: Replace sleep time with sleep mode schedule (fix crash)
2023-11-25 21:16:51 +00:00
José Rebelo
29fe3bc6ae
Mi Band 8: Sleep mode schedule
2023-11-25 21:16:33 +00:00
José Rebelo
f978329711
Mi Band 8: Display items (wip, needs chunked)
2023-11-25 21:16:33 +00:00
José Rebelo
54e31a1521
Mi Band 8: HR, SpO2, Stress settings (untested, wip)
2023-11-25 21:16:33 +00:00
José Rebelo
b27c75c09a
Mi Band 8: World clocks (wip)
2023-11-25 21:16:33 +00:00
José Rebelo
241486f7c3
Mi Band 8: Update to use getSupportedDeviceName
2023-11-25 21:16:33 +00:00
José Rebelo
4ede29d1f1
Mi Band 8: Toggle realtime stats (wip)
2023-11-25 21:16:33 +00:00
José Rebelo
7af155281c
Mi Band 8: Remove custom pairing activity
...
Does not seem to be needed (or work, actually)
2023-11-25 21:16:33 +00:00
José Rebelo
fda3b53657
Mi Band 8: Initial support (WIP)
2023-11-25 21:16:31 +00:00
Davis Mosenkovs
2ef44e766e
PineTime: Improve notification handling
...
* If setting enabled, add source application (or SMS)
* Fallback to using notification subject if body is unavailable
* Trim/cut sender or title at 25+ chars if necessary
* Better support for notifications without body or subject
2023-11-23 21:30:42 +00:00
José Rebelo
5abd46d7ba
Amazfit T-Rex Ultra: Remove experimental
2023-11-09 21:52:14 +00:00
José Rebelo
4c4e18560f
Amazfit Bip 5: Remove experimental
2023-11-03 20:53:01 +00:00
Arjan Schrijver
3d543db24f
Fossil/Skagen Hybrids: Update navigationApp to version 1.0
2023-11-02 16:33:21 +01:00
José Rebelo
0c47d12c0f
Amazfit Active / Active Edge: Experimental support
2023-10-29 19:19:20 +00:00
Arjan Schrijver
a0e6085324
Fossil/Skagen Hybrids: Allow configuring call rejection method
2023-10-20 10:50:25 +02:00
Arjan Schrijver
59dafc54b6
Fossil/Skagen Hybrids: Show device specific settings in more logical order
2023-10-18 22:39:13 +02:00
José Rebelo
f090898aef
Zepp OS: Add statistics fetch operation
...
We do not know what they are or how to parse them, but syncing them
helps free up space from the band.
2023-10-18 16:17:41 +01:00
José Rebelo
5a65bbf8f4
Zepp OS: Add temperature fetch operation (no DB / UI)
2023-10-18 15:46:58 +01:00
Arjan Schrijver
88341c8b86
Fossil/Skagen Hybrids: Add new navigation app
2023-10-18 13:06:16 +00:00
Reiner Herrmann
4abde0766d
Zepp OS: display swimming-related activity data
2023-10-16 23:35:10 +02:00
Maxime Reyrolle
ff6d6f5e53
add initial support for Amazfit Balance
2023-10-15 13:41:53 +00:00
ahormann
28e673415f
Support for Femometer Vinca 2 and HealthThermometerProfile ( #3369 )
...
Co-authored-by: ahormann <ahormann@gmx.net>
Co-committed-by: ahormann <ahormann@gmx.net>
2023-10-15 13:37:41 +00:00
José Rebelo
11de66f8e4
Fossil/Skagen Hybrids: Fix some preference crashes on the nightly
2023-10-14 21:33:24 +01:00
Arjan Schrijver
69fcec059d
Replace old-style preference switch with Material 3 switch
2023-10-09 09:53:36 +02:00
José Rebelo
ad42255ea1
Amazfit T-Rex: Fix activity summary parsing
2023-10-08 21:27:05 +01:00
José Rebelo
dcf2629854
Remove scanning intensity preference and legacy discovery activity
...
The refactored DiscoveryActivityV2 does not freeze anymore, even under
maximum scanning intensity on older phones, and seems to not have
introduced any regressions.
2023-10-06 22:16:58 +01:00
Daniel Dakhno
17a9aa3b20
VESC: added name matching for Coordinator#supports
2023-10-06 13:13:09 +02:00
José Rebelo
0854263233
Fix Bohemic Smart Bracelet recognition
2023-10-05 21:47:00 +01:00
Daniel Dakhno
ef1d38d9d3
Device Manager: replaced getSupportedType with supports method
...
Huami: introduced getSupportedDeviceName
Huami: implemented getSupportedDeviceName
Huami: fixed typo
Device manager: added error on empty getSupportedDeviceName and empty supports()
Device manager: migrated more devices to getSupportedDeviceName
Device manager: simplified default supports implementation
Device manager: added caching for getSupportedDeviceName pattern
Device manager: added caching DeviceType resolution
Device manager: changed pattern matching find()->matches()
Device manager: use Candidate as caching key
Device manager: more verbose variable initialization
Device manager: fixed typo
Device manager: removed device caching from DeviceHelper
Gradle: removed protoc binary
Device manager: moved more devices to getSupportedDeviceName
Device manager: reduced usages of String.format
Device Vesc: removed multiple device types
Device management: regex improvements
Makibes HR3: fixed device recognition regex
2023-10-05 20:34:53 +00:00
Noodlez
4919be9f6d
Update AsteroidOS support
...
Fixed a few bugs.
1. Moved from the depreciated Date object for sending over the time
2. Fixed media info sending. (It would crash when info was missing)
3. Fixed notification dismissal (Typo in removal tag from remove->removed)
4. Fixed quite a few warnings that were being brought up.
5. Added more of the supported models for AsteroidOS.
There are still a few problems that exist. Screenshotting still doesn't work. I'm just not sure how it works in GB. The AsteroidOS service is still not being detected, even though the AsteroidOSSync application is detecting it just fine.
2023-10-05 20:26:58 +00:00
José Rebelo
d1dee47186
Fix tests
2023-10-04 21:58:45 +01:00
José Rebelo
5f05a0d88f
Sony WF-1000XM5: Experimental support
2023-09-28 23:53:58 +01:00
José Rebelo
25af69733f
Add default methods to AbstractDeviceCoordinator
2023-09-28 23:32:57 +01:00
Daniel Dakhno
b97b26ce3a
Device manager: moved device icons and name to Coordinator
2023-09-28 00:11:02 +03:00
Davis Mosenkovs
edce45dcc3
Mijia LYWSD02: Battery + setting temperature scale
...
Implement reading battery percentage.
Implement setting temperature scale used on clock display.
Communication protocol taken from: https://github.com/h4/lywsd02
2023-09-23 17:18:42 +03:00
Davis Mosenkovs
f4af55d622
Mijia LYWSD02: Add support for LYWSD02MMC
2023-09-23 17:11:39 +03:00
vladkorotnev
889a1db801
Sony Wena 3: Initial support ( #3311 )
...
Co-authored-by: vladkorotnev <vladkorotnev@noreply.codeberg.org>
Co-committed-by: vladkorotnev <vladkorotnev@noreply.codeberg.org>
2023-09-23 10:31:41 +00:00
José Rebelo
9fe5bc049f
Remove stray character
2023-09-19 20:48:20 +01:00
José Rebelo
e078ceff0a
Introduce DiscoveryActivityV2
2023-09-19 20:45:14 +01:00
José Rebelo
a85246c279
Use GBDeviceCandidate#getName on all coordinators
2023-09-19 20:45:13 +01:00
José Rebelo
6f7fb261e7
Move Discovery activities to standalone package
2023-09-19 20:44:42 +01:00
Gabriele Monaco
89f57243cf
Added loyalty cards support for the banglejs
2023-08-20 11:14:03 +02:00
Daniel Dakhno
8c48a49d3a
Mi Band HRX: added DeviceType for Mi Band HRX
...
Mi Band HRX: changed DeviceType key for MIBAND_HRX
Mi Band HRX: added migration to MIBAND_HRX
Mi Band HRX: added devicetype string for MIBAND_HRX
Huami HRX: removed redundant null check
Huami HRX: removed redundant supports callback
2023-09-18 22:08:09 +00:00
José Rebelo
e855cfec08
Amazfit GTR Mini: Remove experimental, change AGPS updates to not use file transfer
2023-09-16 14:55:27 +01:00
José Rebelo
763ee10a6c
Fix support classes for some Amazfit devices
...
Affected devices:
- Amazfit Bip Lite
- Amazfit Bip S Lite
- Amazfit GTS 2 Mini
- Amazfit Pop
- Amazfit Pop Pro
2023-09-14 22:05:27 +01:00
Gordon Williams
c647c2647f
Bangle.js: Improve file downloads - we can now at least get files downloaded
2023-09-14 12:49:37 +01:00
Arjan Schrijver
557bfea35c
Add lint baseline, enable linting on CI, fix some reported errors ( #3291 )
...
This PR:
- fixes some errors reported by `gradlew lint` and the Android Studio "Code Inspection" tool
- adds a snapshot file `lint-baseline.xml` of the remaining lint errors and warnings to be used by the linter as baseline
- adds a job for CI to run `gradlew lint` on every build
Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/3291
Reviewed-by: José Rebelo <joserebelo@noreply.codeberg.org>
Co-authored-by: Arjan Schrijver <a_gadgetbridge@anymore.nl>
Co-committed-by: Arjan Schrijver <a_gadgetbridge@anymore.nl>
2023-09-11 09:17:04 +00:00
José Rebelo
200cfdf29a
Revert "Amazfit Bip 3 Pro: Enable HR stats and sleep respiratory rate"
...
Per the feedback on #3249 , this does not seem to be supported.
This reverts commit 42f35259fc
.
2023-08-27 17:45:57 +01:00
José Rebelo
564cb1bfcc
Introduce WeatherSpec v4
...
New fields for current weather:
- dewPoint
- pressure
- cloudCover
- visibility
- sunRise
- sunSet
- moonRise
- moonSet
- moonPhase
- airQuality
- latitude
- longitude
- feelsLikeTemp
- isCurrentLocation
New fields for daily forecast:
Deprecate the old "Forecast" class, which was not versioned, but keep it for backwards compatibility with old apps. Old WeatherSpec forecasts are de-serialized into the new Daily class. New fields:
- windSpeed
- windDirection
- uvIndex
- precipProbability
- sunRise
- sunSet
- moonRise
- moonSet
- moonPhase
- airQuality
Add hourly values:
- timestamp
- temp
- conditionCode
- humidity
- windSpeed
- windDirection
- uvIndex
- precipProbability
Air Quality:
- aqi (plume)
- co
- no2
- o3
- pm10
- pm25
- so2
- coAqi
- no2Aqi
- o3Aqi
- pm10Aqi
- pm25Aqi
- so2Aqi
2023-08-27 15:13:57 +00:00
Patric Gruber
b7e6a39ec1
use proper Optional
2023-08-26 19:39:05 +00:00
Patric Gruber
d0c602d243
overwrite supportsManualHeartRateMeasurement
2023-08-26 19:39:05 +00:00
Patric Gruber
67eac90f69
merge new activity samples with samples from database on overlap
2023-08-26 19:39:05 +00:00
Patric Gruber
70a8ca5067
add heart rate measurment support for infinitime
2023-08-26 19:39:05 +00:00
José Rebelo
42f35259fc
Amazfit Bip 3 Pro: Enable HR stats and sleep respiratory rate
2023-08-26 17:52:10 +01:00
Daniel Dakhno
e36bd2eae7
Core: replaced device initialization logic with class based decision
...
Core: cleaned up imports
Device management: try single-argument-constructor first
Device management: fixed wrong device support class
Device management: added missing initial flags for Mi band 2 HRX
Device management: removed unused import
Device management: removed unused import
Device management: improved exception handling
Device management: prevent constructors from being optimized out
Device management: added UnknownDeviceSupport
2023-08-26 08:14:06 +00:00
Daniel Dakhno
73d67d4093
Fossil/Skagen Hybrids: Embed menu_structure in watchface apps ( #3245 )
...
This PR aims to optimize the method of synchronizing the menu_structure for the openSourceWatchface by making the menu_structure request from the watch obsolete.
Instead, when a new menu_structure is sent to GB via the Intent `nodomain.freeyourgadget.gadgetbridge.Q_SET_MENU_STRUCTURE`, GB remembers that JSON.
Next time a watchface is built, the JSON is embedded into that app package so the watch doesn't forget the structure.
This requires a full GB rebuild to work properky.
Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/3245
Co-authored-by: Daniel Dakhno <dakhnod@gmail.com>
Co-committed-by: Daniel Dakhno <dakhnod@gmail.com>
2023-08-19 20:48:53 +00:00
José Rebelo
454d766e88
Zepp OS: Add all remaining devices as experimental
2023-08-18 12:16:36 +01:00
José Rebelo
e5faf518ea
Add support for experimental devices
2023-08-18 12:16:36 +01:00
Raghd Hamzeh
c8e19a2466
feat: add initial support for Amazfit Cheetah Pro
2023-08-16 22:19:48 -04:00
Ascense
14df63854f
Withings Steel HR: Support setting device language
2023-08-16 12:43:57 +00:00
José Rebelo
b297e767ad
Amazfit Bip 3 Pro: Initial support
2023-08-16 12:27:00 +01:00
José Rebelo
0e06bde741
Zepp OS: Enable AGPS updates for all devices
2023-08-12 13:25:19 +01:00
José Rebelo
a95820d09e
Bangle.js: Fetch activity data
2023-08-08 22:11:14 +01:00
José Rebelo
f97250d46b
Upgrade ZeTime settings to androidx
2023-08-08 20:14:27 +01:00
José Rebelo
f0067ebeae
Upgrade Mi Band preferences to androidx
2023-08-08 20:10:05 +01:00
José Rebelo
61a78c0ad8
Move user name to about user preferences
...
- Remove from Mi Band prefs
- Remove fitness goal from mi band prefs - it's also un the about user
section
- During pairing, direct user to the about user if there is invalid data
2023-08-08 20:10:05 +01:00
Arjan Schrijver
b6e252c4c1
Switch UI to Material 3 and support dynamic colors
2023-08-08 08:47:26 +00:00
Arjan Schrijver
e305a9133f
Fossil/Skagen Hybrids: Add input types to watchface/widget settings
2023-07-31 21:31:42 +02:00
José Rebelo
f9ef3f47ab
Extract Pebble and HPlus settings to standalone activities
2023-07-28 20:21:53 +00:00
José Rebelo
f4b059f173
Introduce AbstractSettingsActivityV2
...
This class introduces some of the common logic across preference
screens, handling nested PreferenceScreens, as well as the back button
and action bar title setting.
2023-07-28 20:21:53 +00:00
José Rebelo
48ee259d89
Bangle.js: Reorganize device settings
2023-07-27 18:38:15 +01:00
hrglpfrmpf
c1fd0b77ad
Support for Withings Steel HR ( #2831 )
...
Co-authored-by: hrglpfrmpf <hrglpfrmpf@web.de>
Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/2831
Co-authored-by: hrglpfrmpf <hrglpfrmpf@noreply.codeberg.org>
Co-committed-by: hrglpfrmpf <hrglpfrmpf@noreply.codeberg.org>
2023-07-26 17:20:43 +00:00
José Rebelo
606e20a065
Amazfit GTR/S 3: Enable AGPS Updates
2023-07-25 21:47:12 +01:00
José Rebelo
69ae0817cf
Upgrade Q-Hybrid watchface settings to androidx
2023-07-25 20:52:39 +01:00
Daniele Gobbetti
540a4499f6
Miband 6: enable PAI and Stress support
2023-07-25 18:23:15 +02:00
José Rebelo
702651c119
Sony WH-1000XM3/WF-SP800N: Add volume setting
2023-07-23 19:40:11 +01:00
Johannes Krude
9700fef111
Casio GMW-B5000: separate DeviceType, but still using the CasioGWB5600DeviceSupport
2023-07-22 09:39:56 +00:00
Johannes Krude
7cb060c9fe
Casio GW-B5600: initial support
2023-07-22 09:39:56 +00:00
Johannes Krude
91415e2500
Casio: Refactoring
2023-07-22 09:39:56 +00:00
mormegil
cc8a1dbdaa
Added copyright header to all new Garmin Vivomove files
2023-07-20 20:30:14 +00:00
mormegil
a4ec3a62aa
PR-related improvements
...
- rename service identifiers for clarity
- define BLE scan filter in the coordinator (even though GB does not use those currently)
- rename `DownloadedFitFile` to `GarminFitFile`
- bump DB schema version to 49
2023-07-20 20:30:14 +00:00
mormegil
dccb8ed1c4
Changes suggested in PR
...
- use `BLETypeConversions`, added the missing functions there (+ unit tests for all)
- change Java package of Protobuf definitions so that they are not discarded by Proguard
-- +add subpackages to the Proguard rules so we can subdivide the classes
+ disable device-specific settings for Vivomove (no settings yet)
2023-07-20 20:30:14 +00:00
Mormegil
3a58314db6
Garmin Vivomove HR support
...
- communication protocols
- device support implementation
- download FIT file storage
Features:
- basic connectivity: time sync, battery status, HW/FW version info
- real-time activity tracking
- fitness data sync
- find the device, find the phone
- factory reset
Features implemented but not working:
- notifications: fully implemented, seem to communicate correctly, but not shown on watch
Features implemented partially (not expected to work now):
- weather information (and in future possibly weather alerts)
- music info
- firmware update: only the initial file upload implemented, not used
Things to improve/change:
- Device name hardcoded in `VivomoveHrCoordinator.getSupportedType`, service UUIDs not available
- Download FIT file storage: Should be store (and offer the user to export?) the FIT data forever?
- Obviously, various code improvements, cleanup, etc.
2023-07-20 20:30:14 +00:00
Mormegil
114f6fcbf0
First piece of Garmin Vivomove HR support basics
...
- `DeviceType` definition
- Definition of activity sample table
- Coordinator and sample provider
2023-07-20 20:30:14 +00:00
vanous
849337b447
Amazfit Neo: Enable PAI
2023-07-16 22:57:18 +02:00
José Rebelo
4c7920133b
Amazfit GTS 2e: Add activate display on lift sensitivity
2023-07-11 18:19:43 +01:00
José Rebelo
3da539be23
Bohemic Smart Bracelet: Initial support
2023-07-09 14:29:39 +00:00
José Rebelo
da5f91f05b
Huami/Zepp OS: Improve music info stability
2023-07-09 15:16:37 +01:00
José Rebelo
fea3bf50a4
Zepp OS: Add loyalty cards integration with Catima
2023-07-03 23:19:19 +01:00
Arjan Schrijver
2081463a4f
Fossil/Skagen Hybrids: Add UV index and chance of rain widgets
...
Note: this needs support from weather apps, for example:
https://github.com/TylerWilliamson/QuickWeather/pull/69
2023-06-18 22:11:07 +02:00
José Rebelo
9d3c480414
Zepp OS: Refactor config, display items, reminders and http to standalone services
2023-06-16 20:43:07 +01:00
José Rebelo
9b7d5eee42
Zepp OS: Cache apps for app management
2023-06-15 21:59:16 +01:00
José Rebelo
853470a2bd
Revert "Zepp OS: Unify support class and fw handling"
...
This reverts commit d59e8c3f62
.
We need to refactor the Huami classes too, otherwise this needs a lot of
hacks to work properly.
2023-06-15 21:39:22 +01:00
José Rebelo
d59e8c3f62
Zepp OS: Unify support class and fw handling
2023-06-15 20:50:15 +01:00
José Rebelo
daec12e13b
Amazfit GTR 3/GTS 3/GTR 3 Pro/T-Rex 2: Revert AGPS updates
...
Users reported that this is not actually working - further information
on the protocol is needed.
- Reverts 1898962e79
and 55cef71d3a
2023-06-15 13:09:29 +01:00
José Rebelo
b3db9b7768
Zepp OS: Add screenshot support
2023-06-14 21:02:27 +01:00
Damien 'Psolyca' Gaignon
a3c0e10330
Add GBDevice argument to getAlarmSlotCount
2023-06-13 23:10:55 +02:00
José Rebelo
1898962e79
Amazfit GTR/S 3: Enable AGPS Updates
2023-06-12 20:56:55 +01:00
José Rebelo
5b2ebeb4c4
Zepp OS: Fix AGPS and gpx route upload compatibility detection
2023-06-12 19:50:57 +01:00
José Rebelo
55cef71d3a
Amazfit T-Rex 2: Enable AGPS updates and gpx route upload
2023-06-12 09:32:08 +01:00
José Rebelo
c3c4c2ce74
Zepp OS: Add watch app logs developer option
2023-06-11 18:23:54 +01:00
José Rebelo
8ff3ce0477
Zepp OS: Add experimental app management
2023-06-10 23:31:38 +01:00
José Rebelo
d77a32a430
Zepp OS: Add code to toggle raw sensor data
2023-06-10 19:07:00 +01:00
José Rebelo
58704a0eec
Zepp OS: Make Alexa an experimental feature
2023-06-10 17:15:36 +01:00
José Rebelo
3716a031ce
Zepp OS: Implement Alexa service protocol
2023-06-10 17:05:09 +01:00
José Rebelo
42c37c04a0
Zepp OS: Display watchface and app preview on install
2023-06-10 13:34:48 +01:00
Gordon Williams
735f27d5bf
Add Navigation handling to Bangle.js
...
Add extra 'ETA' field to NavigationInfoSpec
Allow Local Notifications from Google Maps to be parsed into NavigationInfoSpec by GoogleMapsNotificationHandler
Moved notification handling after blacklist check as per https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/3136#issuecomment-920095
Ensure we don't create a nav message for 'Location Shared with you' messages.
Recognise 'ft' as a distance unit and convert accordingly
Google Maps navigation: Adding new recognised icons, and removing warnings/errors from file
2023-06-09 08:50:40 +01:00
Aidan Crane
29bf03dceb
Re-added ability to make Mi Band 6 visible in third party apps
2023-05-31 02:42:45 +01:00
José Rebelo
e55a35eced
Huami: Persist sleep respiratory rate data
2023-05-27 19:03:43 +01:00
José Rebelo
a1e07b5d1b
Huami: Persist PAI samples
2023-05-27 19:02:01 +01:00
José Rebelo
24f78655c2
Huami: Persist heart rate max, resting and manual samples
2023-05-27 18:59:12 +01:00
José Rebelo
b091521155
Mi Band 7: Add preference to display call contact information
2023-05-24 23:47:20 +01:00
José Rebelo
9d966c8179
Huami: Add max HR fetch operation (no db persistence)
2023-05-23 22:35:24 +01:00
José Rebelo
c79a833bbf
Huami: Add PAI fetch operation (no db persistence)
2023-05-23 22:25:58 +01:00
José Rebelo
23e9a3deb1
Huami: Persist stress and SpO2 data
2023-05-22 22:15:35 +00:00
José Rebelo
25038d965f
Introduce generic TimeSamples for recorded data
2023-05-22 22:15:35 +00:00
Gordon Williams
788cb15500
Based on Play Store crash reports and stack traces, add a null check to try and avoid crashes
2023-05-22 13:38:04 +01:00
Gordon Williams
82778c46a5
Bangle.js: ensure we can return to appsmanagementactivity after having opened another window
...
Attempting to handle file open and close dialogs from the WebView
2023-05-22 13:13:50 +01:00
Andreas Shimokawa
55e7f6595b
fix build after rebase
2023-05-21 22:50:52 +02:00
Andreas Shimokawa
9ccd898d42
add supportNavigation() to cooridinator
2023-05-21 22:50:52 +02:00
Andreas Shimokawa
4cad3b3837
InfiniTime: support navigation app
2023-05-21 22:50:52 +02:00
Andreas Shimokawa
48dee7486f
add onSetNavigationInfo() to device interface
2023-05-21 22:50:52 +02:00
José Rebelo
3a5d5dfbb0
Huami: Add sleep respiratory rate fetch operation (no db persistence)
2023-05-21 21:14:29 +01:00
José Rebelo
07357305cb
Huami: Unify recorded data fetching in HuamiSupport
2023-05-20 20:44:18 +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
José Rebelo
9851493cf1
Zepp OS: Add gpx route file upload
2023-05-14 14:20:39 +01:00
José Rebelo
e1cccd6953
Zepp OS: Refactor code for alarms, notifications, calendar, canned messages
2023-05-10 23:33:23 +01: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
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
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
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
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
Joel Beckmeyer
a8da4cf6d1
Amazfit Bip U: disable alarm snooze enable/disable
2023-03-17 15:46:46 -04: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
Arjan Schrijver
810cc91e8e
Fossil/Skagen Hybrids: Implement inactivity warnings
2023-02-06 14:26:26 +01:00
Arjan Schrijver
9b4f909ace
Fossil/Skagen Hybrids: Update known watch app versions
2023-01-27 21:19:25 +01:00
Gordon Williams
521edc4332
Bangle.js: Increase default realtime HRM/step interval to 10 seconds
...
Disable manual heart rate measurement - the current implementation in Gadgetbridge seems not really compatible with Bangle.js. There's no way to turn the HRM off when the window is closed, and HRM samples from *any* device would appear to be shown - not just the one that HRM info was requested on
2023-01-26 10:31:13 +00:00
José Rebelo
134376cbd0
Amazfit T-Rex 2: Initial support
2023-01-23 23:36:57 +00:00
Noodlez
ead7ada987
Code clean-up and documentation
2023-01-12 17:12:03 +00:00
Noodlez
3e9a185b88
AsteroidOS: Fix weather forecast
...
The forecast was off by 1 day
2023-01-12 17:11:50 +00:00
Noodlez
616ec53086
AsteroidOS: Add simple device discovery
...
This is done by just comparing the names with already existing devices.
This is only a temporary solution until the discovery of the service
UUID works properly
2023-01-12 17:11:45 +00:00
Noodlez
d3d4baedea
AsteroidOS: Small code improvements
...
Removed logging in the DeviceCoordinator, fixed the time setting (day
was off by 1), consolodated many characteristic transactions to one
buidler and queue, and added Find My Device, by just initiating a call.
2023-01-12 17:11:40 +00:00
Noodlez
f7395ec6b2
Initial support for AsteroidOS watches
...
The watch does not auto-detect through pairing and therefore requires
discovering unsupported devices.
2023-01-12 17:11:36 +00:00