Commit Graph
14564 Commits
Author SHA1 Message Date
Georg LukasandJosé Rebelo 42ae00cb6d Music notification: properly parse HH:MM:SS string duration
The DoggCatcher app will send an `com.android.music.metachanged` Intent
with a String extra "duration" formatted as "HH:MM:SS" or "MM:SS":

```
n.f.g.e.MusicPlaybackReceiver - duration 18:49 (java.lang.String)
n.f.g.e.MusicPlaybackReceiver - artist stripped (java.lang.String)
n.f.g.e.MusicPlaybackReceiver - package com.snoggdoggler.android.applications.doggcatcher.v1_0 (java.lang.String)
n.f.g.e.MusicPlaybackReceiver - playing true (java.lang.Boolean)
n.f.g.e.MusicPlaybackReceiver - album stripped (java.lang.String)
n.f.g.e.MusicPlaybackReceiver - track stripped (java.lang.String)
n.f.g.e.MusicPlaybackReceiver - position 533968 (java.lang.Integer)
n.f.g.e.MusicPlaybackReceiver - Got metadata changed intent, but nothing changed, ignoring.
```

This code will parse duration Strings as HH:MM:SS, MM:SS or, if it is a
single number, as milliseconds (which is the old default).
2025-08-20 13:11:09 +02:00
Andreas Shimokawa 3b900f3aef ATC_BLE_OEPL: add support for WO 260 BWRY JD V2 2025-08-20 16:46:22 +09:00
José Rebelo 92e400053f Intent API: Add command for heap dump 2025-08-20 00:32:15 +01:00
José Rebelo bfd42c06e5 Zepp OS: Add health config group V3
As seen in Amazfit Helio Band.
2025-08-19 23:38:08 +01:00
José Rebelo 4755a14832 Workout details: Fix charts in groups without entries 2025-08-18 23:25:10 +01:00
José Rebelo bac147a997 Bangle.js: Fix altitude stats in workout details 2025-08-18 23:24:42 +01:00
José Rebelo aa7b98cb8b Dashboard: Fix exception when device has no SampleProvider
Unfortunately having supportsActivityTracking does not mean that devices
have a sample provider (eg. scales). We need to rework the capabilities
in the coordinators, but for now avoid the NPE when the sample provider
does not exist.
2025-08-18 22:01:12 +01:00
José Rebelo 5e7ddd8b9b Garmin: Download files from new sync protocol notifications 2025-08-18 21:08:13 +01:00
José Rebelo 2aa543fd77 Garmin: Allow fetching unknown files with new sync protocol 2025-08-18 21:06:07 +01:00
José Rebelo d3a5216875 Garmin Venu X1: Enable new sync protocol by default 2025-08-18 20:13:12 +01:00
José Rebelo a25cafec75 Colmi P80: Fix bluetooth name matching 2025-08-18 14:10:49 +01:00
Thomas KuehneandJosé Rebelo deef1c9d12 device settings: use icons / use more specific icons 2025-08-18 11:31:30 +02:00
Thomas KuehneandJosé Rebelo 5b1a4b237b WeightScale: add btle profile and generic device coordinator / device support (#5225)
Adds support for receiving weights from standard Bluetooth Weight scales:
0000181d-0000-1000-8000-00805f9b34fb - org.bluetooth.service.weight_scale
00002a9d-0000-1000-8000-00805f9b34fb - org.bluetooth.characteristic.weight_measurement
https://www.bluetooth.com/specifications/specs/weight-scale-service-1-0-1/
2025-08-18 11:23:52 +02:00
José Rebelo 7eaa5bb76b Workout details: Adjust default charts line colors 2025-08-18 00:01:01 +01:00
José Rebelo d2a332836d Workout details: Built default charts for devices that do not provide them 2025-08-18 00:01:00 +01:00
José Rebelo 244b46c7f2 Workout details: Code cleanup 2025-08-18 00:01:00 +01:00
a0zandJosé Rebelo 89281fdd6b Workout details: fix heart rate chart, data categorization, labels 2025-08-18 00:01:00 +01:00
José Rebelo 95276cb96a Workout details: Add separator at the bottom of HR chart 2025-08-18 00:01:00 +01:00
José Rebelo bd7956e518 Workout details: Fix "other" section value alignment 2025-08-18 00:01:00 +01:00
José Rebelo c50da0b781 Workout details: Hide standard HR chart if device provides one 2025-08-18 00:01:00 +01:00
a0zandJosé Rebelo b297264b56 Workout details: support display of values multiple times, add other category 2025-08-18 00:01:00 +01:00
José Rebelo 4ca6b6a448 Allow simple 2-column entries 2025-08-18 00:01:00 +01:00
José Rebelo 5b5040ef55 Add charts to specific groups 2025-08-18 00:01:00 +01:00
a0zandJosé Rebelo 2d56002b12 Workout details: add additional charts 2025-08-18 00:01:00 +01:00
José Rebelo 98e7aa2c39 Garmin: Improve failure handling in new sync protocol 2025-08-17 23:55:30 +01:00
Thomas Kuehne be12a9d794 ble: add new Bluetooth standard mapping to BleNamesResolver 2025-08-17 19:21:45 +02:00
Andriy UtkinandJosé Rebelo 22daa9c52b Colmi V76: Initial support 2025-08-17 17:37:02 +02:00
José Rebelo 55429a8f3a Garmin: Fix transfer file handle
On the Venu X1 it goes over 255 and does not fit a byte anymore.
2025-08-17 16:19:08 +01:00
José Rebelo dde30c2c92 Garmin: Fix tests 2025-08-17 13:59:17 +01:00
José Rebelo 6d030c0040 Huawei: Fix tests 2025-08-17 13:46:02 +01:00
Martin.JM 6d72a43adf Huawei: Use a cache for P2P deduplication queries
An index should probably be added on the HuaweiDictData StartTimestamp.
2025-08-17 11:25:29 +02:00
Martin.JM 5f40d3f532 Huawei: Use single query for P2P timestamp 2025-08-17 11:25:29 +02:00
Martin.JM 2bd5a917bb Huawei: improve speed of P2P sync 2025-08-17 11:25:29 +02:00
Martin.JM a79468f514 Huawei: Batch inserting sleep data to database 2025-08-17 11:25:29 +02:00
Martin.JM 711e896c11 Huawei: Batch inserting step data to database 2025-08-17 11:25:29 +02:00
Martin.JM 7d66385afb HuaweiTLV: Use format strings 2025-08-17 11:25:29 +02:00
a0z b0721f1de8 Design: update values text color across fragments it improve visibility 2025-08-17 10:24:29 +02:00
José Rebelo 67f016d902 Garmin: Add percentage to progress notification 2025-08-16 14:32:37 +01:00
a0zandJosé Rebelo 13a7e8ebb2 Sleep fragment: add sleep score details, refactor fragment, improve design 2025-08-16 15:22:52 +02:00
José RebeloandJosé Rebelo e59ea27051 Refactor workout details 2025-08-16 15:19:38 +02:00
Me7c7 f76d64b20d Huawei: Changed the sleep prefs and enabled sleep breathing awareness configuration
Sleep breathing awareness can be enabled for some devices.
Information is currently not retrieved from the watch.
2025-08-16 14:54:36 +03:00
dependency-botandJosé Rebelo 878018f412 Update dependency androidx.core:core-ktx to v1.17.0 2025-08-16 12:49:47 +02:00
dependency-bot 8d492333d8 Update protobuf to v4.32.0 2025-08-16 10:41:59 +00:00
dependency-botandJosé Rebelo ddd877c9fb Update dependency org.mockito:mockito-core to v5.19.0 2025-08-16 12:39:31 +02:00
dependency-botandJosé Rebelo a0f55c77b5 Update kotlin monorepo to v2.2.10 2025-08-16 12:09:34 +02:00
dependency-bot 1b2ce0199c Update dependency androidx.fragment:fragment-ktx to v1.8.9 2025-08-16 01:03:11 +00:00
Martin.JM 13a26af518 Sync fixes
- Give stress its own sync flag
- Fix inverted logic for isSyncActive
- Add more info to logs
2025-08-15 22:10:03 +02:00
Martin.JM e34f635943 Fix TOCTOU 2025-08-15 22:10:03 +02:00
Martin.JM 18651a08e7 WIP: Huawei: Diving sync fixes 2025-08-15 22:10:03 +02:00
José Rebelo 4a0a437d7f Amazfit Active: Fix firmware recognition 2025-08-15 21:00:20 +01:00