Commit Graph

6046 Commits

Author SHA1 Message Date
mvn23
d53971c881 Add initial Bowers and Wilkins P series support. (#4288)
Co-authored-by: mvn23 <schopdiedwaas@gmail.com>
Co-committed-by: mvn23 <schopdiedwaas@gmail.com>
2024-11-01 21:06:34 +00:00
José Rebelo
46dd45cb4e Garmin Forerunner 235: Initial support 2024-10-31 23:47:20 +00:00
Me7c7
a7c19c8190 Huawei: calculate HR Zones for walking and running workouts. 2024-10-31 23:14:04 +00:00
José Rebelo
292a5d11b5 Activity Charts: Update date info when refreshed 2024-10-30 20:51:02 +00:00
Zahnstocher
a6053eda77 Add support for Sony WI-C100 2024-10-30 20:47:37 +00:00
Zahnstocher
cbd9a7b8af Add voice notifications for Sony WF-C500 2024-10-30 14:31:16 +01:00
a0z
a79cd94de9 HRV Status: segment detection fix 2024-10-28 22:37:54 +01:00
Arjan Schrijver
d5c2207a48 Colmi R0x: Improve sleep handling around DST changes 2024-10-28 11:41:31 +01:00
Me7c7
d95b2afad3 Huawei: map activity type 4 to mountain hike activity 2024-10-27 10:50:40 +02:00
Me7c7
5f822149bc Huawei: Send default HR Zones config to the device using P2P service 2024-10-27 07:40:03 +02:00
Martin.JM
27f61138bc Huawei: Fix notifications for Huawei Band 4e
Fixes #3957
2024-10-27 00:48:33 +02:00
Martin.JM
cc16906d20 Huawei: Fix for sample provider 2024-10-26 20:29:33 +00:00
Arjan Schrijver
d4033dbccb Colmi R0x: Fix HR database timestamps 2024-10-26 22:08:36 +02:00
José Rebelo
ba82de99d3 Garmin: Upload workout fit files 2024-10-26 21:03:58 +01:00
Patrick Rudolph
42b7153162 huawei: Decode TruSleep data in test new functionality
Download TruSleep data and extract ACC and PPG packets.
For now the data is only extracted and provided to an analysis
function that does nothing as printing the data as the TruSleep
algorithm is unknown.

With this patch it's possible to do sleep analysis using open source
algorithms, however it's not clear which one to use and how similar
the results would be. A possible use case would be Sleep as Android.

The extracted data contains of Accelerometer data (ACC) and
photoplethysmogram (PPG) data.

ACC packets:
- about every 60 seconds
- contain a timestamp
- contain the activity on one accelerometer axis
  0x00: no activity
  0xff: high activity (like walking)

PPG packets:
- contain a timestamp
- contain raw PPG samples, each with a 10msec based timestamp

This commit allows more developers and researchers to look into sleep
analysis as they gain access to the raw sleep data optained from the watch.

For issue #3860.

Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
2024-10-26 16:02:14 +00:00
Martin.JM
ce7b0db5b1 Huawei Sample Provider: Provide a sample every minute
Fixes #4068.
2024-10-26 15:58:12 +00:00
José Rebelo
bbadb2b1ef Garmin: Fix crash on timezones without DST 2024-10-26 16:53:30 +01:00
José Rebelo
c628ce2c97 Garmin: Fix all-day events
As per the CalendarContract, the begin timestamp corresponds to the UTC
midnight-boundary of the start of the day.

- Remove the redundant logic to truncate the date to the start of day
- Remove the workaround for negative timezones (confirmed not workin
  with some EDT users)
- Ensure birthdays also respect the UTC boundary
- Offset the garmin timestamps by the UTC offset, ensuring they match
  midnight on the user's timezome (fixes all-day events offset by 1 day)
2024-10-26 11:53:20 +01:00
Me7c7
a46e970f84 Huawei: more details for swim workout 2024-10-26 10:41:29 +00:00
Me7c7
3294e20242 Huawei: clear calendar on reconnect. 2024-10-26 11:50:05 +03:00
Me7c7
bc56213eba Huawei: improve texts for file uploads, music icon 2024-10-25 22:39:55 +00:00
Me7c7
3bb44d8050 Huawei: Use default value for channels. Parse sample rates. 2024-10-25 22:39:55 +00:00
Me7c7
d23c931f95 Huawei: device specific fixes. Watch 3 for example 2024-10-25 22:39:55 +00:00
Me7c7
48717aaf42 Huawei: Initial music upload support 2024-10-25 22:39:55 +00:00
Me7c7
b18fb901e6 Huawei: send more user info. Fix issue with weight 2024-10-25 22:16:38 +00:00
Me7c7
e124ac4974 Huawei: fix Send thresholds packet 2024-10-25 22:16:38 +00:00
José Rebelo
22eebf9592 Garmin Fenix 7: Initial support 2024-10-25 18:18:41 +01:00
Me7c7
f0c4f0f04a Huawei: fix calendar events update 2024-10-24 18:18:12 +00:00
Arjan Schrijver
b2df6e58f0 Colmi R0x: Improve HR fetching accuracy
Hopefully fixes #4209
2024-10-23 21:35:48 +02:00
José Rebelo
e25757846f Add link to background service troubleshoot page 2024-10-22 22:18:17 +01:00
José Rebelo
69530de0c6 Set changelog version code when restoring zip backup 2024-10-19 21:00:53 +01:00
Me7c7
0e00d74913 Huawei: Fixed workout data parser 2024-10-17 15:36:58 +03:00
Me7c7
d2cf281b00 Huawei: fetch more workout summary from the watch 2024-10-17 10:06:31 +03:00
José Rebelo
9267b4fcf3 Mi Band 9: Fix strength training 2024-10-16 23:43:11 +01:00
José Rebelo
e6dc262a4d Xiaomi-protobuf: Fix some workout type recognition 2024-10-16 23:40:13 +01:00
José Rebelo
2abe7e5b2f Fix weekly and monthly sleep times for devices without awake sleep
The last sleep stage on these is not "awake sleep" and should be
included.
2024-10-16 23:07:41 +01:00
José Rebelo
a0d7c8b77b Huawei: Fix battery notifications 2024-10-16 22:54:40 +01:00
José Rebelo
f0cce348c4 Xiaomi-protobuf: Fix naps 2024-10-16 22:46:19 +01:00
Arjan Schrijver
2618d54f94 Fix crash in LiveActivityFragment that was introduced by 2398dd0fb 2024-10-16 22:18:56 +02:00
José Rebelo
f9f3e8849b Mi Band 9: Fix walk workout parsing 2024-10-16 19:38:15 +01:00
Linos Giannopoulos
f3b4f0ed26 Add device support for the IKEA desk controller
All the required functionality is included:
- Move the desk up and down manually
- See the current height and speed
- Store three desk positions
- Move to any of those desk positions
2024-10-15 18:23:56 +00:00
Arjan Schrijver
25dc3f972b Colmi R0x: Add support for Colmi R10 2024-10-15 18:19:09 +02:00
Arjan Schrijver
2398dd0fbe Limit LiveActivityFragment to just the current device 2024-10-15 11:19:33 +02:00
René Vögeli
ace0aa3ea7 Colmi R0x: Fix big data packet handling 2024-10-14 21:20:26 +00:00
Vitaliy Tomin
175f4bf60c huawei: Add new gadget Huawei Watch D2 2024-10-14 18:00:49 +00:00
José Rebelo
b595a1ad96 Huawei Watch Fit 3: Enable emoji 2024-10-13 22:20:02 +01:00
José Rebelo
10a7550232 Garmin: Map some health snapshot fields 2024-10-13 21:28:37 +01:00
José Rebelo
1f4987ab98 Huawei: Enable emoji for HarmonyOS watches 2024-10-13 19:01:14 +00:00
Me7c7
80967ce42b Huawei: fix pace update when more than one packets received 2024-10-13 19:01:03 +00:00
Me7c7
0e6a3e13cc Huawei: specify pace order 2024-10-13 19:01:03 +00:00