Martin.JM
159ebfd891
Huawei: Workout GPS synchronization
2024-09-30 19:45:56 +02:00
Martin.JM
8d24dfa7e4
Huawei: Weather improvements
...
Potential fix for #4071 .
2024-09-23 18:47:33 +02:00
Martin.JM and José Rebelo
43262b3f29
Huawei: Fix workout reparsing
...
Fixes #4138
2024-09-20 21:48:49 +00:00
Martin.JM
1315931ff8
Huawei: Chain initialize dynamic services requests
...
Also includes a bit of cleanup.
Thanks to José Rebelo for cleaning my code.
2024-09-08 01:05:16 +02:00
Martin.JM
10403a375b
Huawei: Implement new activity types
2024-08-18 11:06:43 +02:00
Martin.JM
75047ecdea
Huawei: Send OK when starting GPS
...
I hope this will solve #3990 .
2024-08-16 23:26:48 +02:00
Martin.JM and José Rebelo
f15f60542d
Huawei: Fix for Huawei Band 9
...
Linked to #3784 .
2024-08-06 18:28:09 +00:00
Martin.JM
b242ad1ec5
Huawei: Expand capabilities fix
2024-08-01 21:06:13 +02:00
Martin.JM
6f83fc815f
Huawei: Simple TruSleep support
...
Only supports start and end time of sleep periods.
2024-07-30 22:34:05 +02:00
Martin.JM
fbe727644e
Huawei: Add UV index support
...
Also adds "0.0 to 15.0" comment to the weatherSpec uvIndex.
2024-07-30 14:19:11 +02:00
Martin.JM
2dbf70cb77
Huawei: Fix for weather
...
- Also the sunrise/set cannot be zero
- We could send a single forecast more when exactly 7 are provided
- It seems like the watches may require exactly 8 days to be sent for
the forecast - one of which is for today
2024-07-28 20:33:31 +02:00
Martin.JM and José Rebelo
16b293fdb1
Huawei: MusicControl test updated
...
* tests for 4-byte button and volume values
2024-07-27 11:48:33 +00:00
Martin.JM
82d12e5fbe
Huawei: Fix for weather
...
If there is no moon rise/setting on a day, it should not be zero. It
should not be set at all. Some bands/watches don't care, but some might.
2024-07-26 21:03:27 +02:00
Martin.JM
b8a2fc0076
Huawei: fix race condition in BtBR
...
Should be a fix for #3914 .
2024-07-22 20:27:06 +02:00
Martin.JM
80256e9114
Huawei: Call dispose on SupportProvider
...
Now properly stops the battery runner when the device disconnects.
2024-07-22 11:55:00 +02:00
Martin.JM
d7490639af
Huawei: Event alarms fix
...
Should fix event alarms for the Huawei MagicWatch 2 (#3877 ).
2024-07-11 23:21:53 +02:00
Martin.JM
cd7c529d53
Huawei: Enable slicing by default
2024-07-11 11:13:11 +02:00
Martin.JM and José Rebelo
7e0e3fa661
Add getBatteryPollingIntervalMinutes to DevicePrefs
2024-07-08 20:36:37 +00:00
Martin.JM and José Rebelo
953d26ed71
Test device: Implement battery polling
2024-07-08 20:36:37 +00:00
Martin.JM and José Rebelo
125e6371c3
Huawei: Implement battery polling
2024-07-08 20:36:37 +00:00
Martin.JM and José Rebelo
bf16bf06c3
Add battery polling settings
2024-07-08 20:36:37 +00:00
Martin.JM
e7fb74a18f
Huawei: Fix flood of PhoneInfo messages
...
PR #3858 resulted in a flood of PhoneInfo messages. This fixes that.
2024-07-02 13:36:25 +02:00
Martin.JM and José Rebelo
b6f9faff80
Huawei: Add soccer and roller skating workout types
...
Roller skating is set as generic exercise pending #3852 .
Users can retroactively set this through the reparse workout data
button in the developer settings.
2024-07-01 19:53:55 +00:00
Martin.JM
d345325b46
Huawei: Add PhoneInfo to packet type conversion
2024-07-01 18:13:58 +02:00
Martin.JM and José Rebelo
1f1fc33e43
Huawei: Fix BR partial packets
...
Would crash before. See added test for example.
2024-06-20 22:02:36 +00:00
Martin.JM and José Rebelo
72dcb3250e
Hauwei: Extend debug request to allow setting the sliced flag
2024-06-18 20:45:38 +00:00
Martin.JM and José Rebelo
a90e1be0ee
Huawei: Generalize HR and SpO2 support
2024-06-04 11:23:49 +00:00
Martin.JM and José Rebelo
b43d87f6bc
Huawei: Weather no longer depends on weather start response
2024-06-04 11:20:10 +00:00
Martin.JM and José Rebelo
15ba9e6c85
Improve GPS support for Huawei gadgets
2024-06-02 20:51:02 +00:00
Martin.JM and José Rebelo
9ba96231c3
[Huawei] Implement remote camera shutter
2024-05-13 21:28:43 +00:00
Martin.JM and José Rebelo
4c4ba623c4
Add camera implementation
...
This is to support watches with remote shutter applets that do not
act as remote triggers for other apps automatically.
2024-05-13 21:28:43 +00:00
Martin.JM
25b1f8f3fa
[Huawei] Change to use MediaManager
2024-05-09 20:03:36 +02:00
Martin.JM
4c93647aaf
[Huawei] Add TruSleep warning
2024-05-02 20:59:08 +02:00
Martin.JM and José Rebelo
83fd09939f
[Huawei] Fix PR #3742 , add workout frequency and altitude
2024-05-01 16:32:27 +00:00
Martin.JM
1c2c1f710e
[Huawei] Add support for workout calories and cycling power
2024-04-30 21:08:23 +02:00
Martin.JM
bcd35b02da
[Huawei] Add HR and SpO support for two watches
...
- Huawei Watch GT4
- Huawei Watch Ultimate
2024-04-29 10:58:24 +02:00
Martin.JM
e4cac887cc
[Huawei] Auto detect GPS data support
2024-04-04 20:01:44 +02:00
Martin.JM
88746d5706
[Huawei] Hookup GPS values
2024-04-04 19:31:12 +02:00
Martin.JM
22720514b9
[Huawei] Add GPS packets
2024-04-04 19:26:54 +02:00
Martin.JM
83d2aaf30e
Group new Huawei workout activity entries
2024-03-30 22:07:02 +01:00
Martin.JM
ff37766510
Huawei workout change strings to ActivitySummaryEntries
2024-03-30 21:34:27 +01:00
Martin.JM
4ad77c8232
Huawei Workout improve pace information
2024-03-30 21:34:27 +01:00
Martin.JM
e9090ec082
Huawei Workout use translatable strings
2024-03-30 21:34:27 +01:00
Martin.JM
e8ddc1fd17
Huawei Workout cleanup of unknown values
2024-03-30 21:34:27 +01:00
Martin.JM
facf87fc59
Limit smart alarm interval to 255
2024-02-24 09:56:56 +01:00
Martin.JM
91dc81d5dd
Move snooze checkbox
2024-02-24 09:56:56 +01:00
Martin.JM
5968a04cf7
Change colors
2024-02-24 09:56:56 +01:00
Martin.JM
a4eaf66386
Change strings
2024-02-24 09:56:56 +01:00
Martin.JM
0eb2bf7dfa
Fix bugs, cleanup, test device
...
Implemented the TestDevice, which showed some bugs.
Solved these bugs and cleaned up a bit in the process.
2024-02-24 09:56:56 +01:00
Martin.JM
71ea39efde
[Huawei] Hookup smart wakeup interval and update Coordinators
2024-02-24 09:56:56 +01:00
Martin.JM
51024f7b5e
Add smart wakeup interval
2024-02-24 09:56:56 +01:00
Martin.JM
37b5d0404a
Update alarm unused and enabled states
...
- Set alarm as used when enabled in the list
- Set alarm as disabled when set as unused in the list
2024-02-24 09:56:56 +01:00
Martin.JM and José Rebelo
9a388ca386
Updated according to review
...
Thank you José Rebelo!
2024-02-18 20:54:59 +00:00
Martin.JM and José Rebelo
c66051f580
Cleanup of Huawei weather implementation
2024-02-18 20:54:59 +00:00
Martin.JM and José Rebelo
1c2516186d
Small cleanup
2024-02-18 20:54:59 +00:00
Martin.JM and José Rebelo
5ebfe9b39f
Add weather settings to forecast
2024-02-18 20:54:59 +00:00
Martin.JM and José Rebelo
b231104a88
Add moon phase support
2024-02-18 20:54:59 +00:00
Martin.JM and José Rebelo
242f3c6dbc
Add unit support and some cleanup
2024-02-18 20:54:59 +00:00
Martin.JM and José Rebelo
043f839a4d
Fix tomorrow appearing twice
2024-02-18 20:54:59 +00:00
Martin.JM and José Rebelo
6a2186919c
Always initialize weather before sending
2024-02-18 20:54:59 +00:00
Martin.JM and José Rebelo
4b70f3fcdb
Hookup Huawei GPS values
2024-02-18 20:54:59 +00:00
Martin.JM and José Rebelo
ee14b5d821
Small changes
2024-02-18 20:54:59 +00:00
Martin.JM and José Rebelo
65aa5faec5
Implement Huawei weather icons
2024-02-18 20:54:59 +00:00
Martin.JM and José Rebelo
f970b7482b
Set wind values
2024-02-18 20:54:59 +00:00
Martin.JM and José Rebelo
14eaba858c
Weather fix
2024-02-18 20:54:59 +00:00
Martin.JM and José Rebelo
0b64408b33
Add outgoing parsing
2024-02-18 20:54:59 +00:00
Martin.JM and José Rebelo
2b1c5b5819
Add weather forecast
2024-02-18 20:54:59 +00:00
Martin.JM and José Rebelo
b2b176b65c
Add weather support for Huawei
2024-02-18 20:54:59 +00:00
Martin.JM
22e51f841b
Add additional smart wakeup functionality in test device
...
Code by José Rebelo:
https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/3583#issuecomment-1571835
2024-02-18 19:01:19 +01:00
Martin.JM
275b662188
Always check smart wakeup if forced
2024-02-18 18:55:54 +01:00
Martin.JM
89b6ae9f24
Add more granular smart wakeup support
...
Specifically:
- Add position to smart wakeup support coordinator function
- Add interface to stop smart alarm checkbox from being changed
2024-02-18 17:24:29 +01:00
Martin.JM
01ef422812
Set alarm as used and enabled if time has changed
2024-02-18 16:33:50 +01:00
Martin.JM
4b38a67a58
Fix Huawei exceptions related to early packets
...
Also adds more robust tag checks for Huawei packets
2024-01-30 12:15:46 +01:00
Martin.JM
e6aa0afa7e
Fix huawei debug request
2024-01-17 14:55:13 +01:00