Commit Graph
15356 Commits
Author SHA1 Message Date
José Rebelo 37f466c91c Debug: Allow database table export to csv 2026-01-17 21:26:45 +00:00
Arjan Schrijver 9fabc9e9b4 Pebble: Send New Data signal after handling received steps/sleep datalogs 2026-01-17 21:30:08 +01:00
Arjan SchrijverandArjan Schrijver 6cbd6e892c InfiniTime: Improve user feedback on uploading resources 2026-01-17 21:10:31 +01:00
Arjan SchrijverandArjan Schrijver 2765d78899 InfiniTime: Fix corrupted fonts and images 2026-01-17 21:10:31 +01:00
Arjan SchrijverandArjan Schrijver 5690d6f846 InfiniTime: Refactor and fix resource uploader 2026-01-17 21:10:31 +01:00
Arjan SchrijverandArjan Schrijver 320dde9a0e Fix compile errors (untested) 2026-01-17 21:10:31 +01:00
William PetterssonandArjan Schrijver 9c93d11229 Resource uploading via BLEFS - wip
This is a commit of partial progress, this shouldn't even compile
2026-01-17 21:10:31 +01:00
José Rebelo 3118d6c4fe Polar / Coospo / Generic HR monitors: Fix HC sync on new samples 2026-01-17 17:59:34 +00:00
José Rebelo 9971edc2a5 Polar: Disable unused charts 2026-01-17 17:39:41 +00:00
José Rebelo ad7ed39a2a HeartRateProfile: Parse and persist RR intervals 2026-01-17 17:39:34 +00:00
Wa-dotandJosé Rebelo 52c5f34b27 Fix error path in GBDaoGenerator 2026-01-17 17:32:13 +01:00
José Rebelo f732621a26 Rename supportsActivityTracks to supportsRecordedActivities 2026-01-17 16:20:02 +00:00
José Rebelo 5bb42caa04 Make charts agnostic of activity tracking
Rename supportsActivityTabs to supportsCharts, as it should have always meant.
This decouples charts from activity tracking, and avoids the need to
needlessly override sleep measurement, step counter and speed zones
support just to display charts on devices that do not support any of
those capabilities.
2026-01-17 16:20:02 +00:00
José Rebelo a8c38953a1 Fetch all sync data types from notification 2026-01-17 16:20:02 +00:00
José Rebelo ec1065fb2f Make data fetching agnostic from activity
We support quite a few devices that can sync non-activity data.
2026-01-17 16:20:02 +00:00
José Rebelo 7b9baf1a9f Huawei: Rename HuaweiCoordinatorSupplier to HuaweiCoordinator 2026-01-17 15:59:36 +00:00
José Rebelo ec17ae383f Huawei: Rename HuaweiCoordinator to HuaweiState 2026-01-17 15:58:26 +00:00
José Rebelo 71d54cf0f9 Huawei: Clear capabilities shared preferences when deleting device 2026-01-17 15:53:29 +00:00
José Rebelo 79610a7ae3 Huawei: Unify BLE and BR coordinators 2026-01-17 15:14:24 +00:00
José Rebelo 73035e7028 Huawei: Make coordinators stateless 2026-01-17 15:14:24 +00:00
José Rebelo 5375481e53 Fix workout calories stats 2026-01-17 15:04:31 +00:00
José Rebelo b9f566c942 Colmi V73: Initial support 2026-01-17 14:56:15 +00:00
José Rebelo 86d638feca Debug: Prepare for mac address edit through UI 2026-01-17 14:48:59 +00:00
José Rebelo 5fd45d1d9a Debug: Allow setting device type 2026-01-17 14:31:45 +00:00
José Rebelo d6ee8c1767 Debug: Add devices page 2026-01-17 13:56:30 +00:00
José Rebelo 1ab92b49aa Mi Band 4C: Experimental support 2026-01-17 13:14:33 +00:00
José Rebelo e445138d1b Garmin Lily 2: Initial support 2026-01-17 13:14:33 +00:00
José Rebelo eeff5dba54 Charts: Allow devices to provide their own charts 2026-01-16 22:40:59 +00:00
José Rebelo 78bd8ca55d Garmin: Fix battery gain unit 2026-01-16 22:10:52 +00:00
José Rebelo 5ce72e011c Charts: Fix hours in x-axis 2026-01-16 22:10:19 +00:00
José Rebelo 12a3c33f5d Health Connect: Fix CALORIES_BURNT field after PR rebase 2026-01-16 21:59:50 +00:00
Gideon ZenzandJosé Rebelo a486de73c5 Parse workout summaries upfront to ensure correct activityKind before processing 2026-01-16 22:12:23 +01:00
Gideon ZenzandJosé Rebelo 3bebe6563d Fix cadence syncing to only sync for appropriate activity types
Use ActivityKind.getCycleUnit() to determine if cadence should be synced.
Only sync StepsCadenceRecord for step-based activities (walking, running, hiking) and CyclingPedalingCadenceRecord for cycling activities.
Skip cadence syncing for activities with other cycle units (strokes, jumps, reps, swings) as Health Connect lacks appropriate cadence record types.

Note: Swimming workouts with stroke data (freestyle, backstroke, etc.) could be synced as ExerciseSegment records in a future enhancement.
2026-01-16 22:12:23 +01:00
Gideon ZenzandJosé Rebelo 46925c2dde Add missing workout data sync: active calories, steps, and cadence
- Fix calorie mapping: caloriesBurnt represents active calories, not total calories
- Parse RAW_SUMMARY_DATA when SUMMARY_DATA JSON is empty (fixes Amazfit/ZeppOS devices)
- Use device-specific ActivitySummaryParser to extract workout metrics from binary protobuf data
- Sync ActiveCaloriesBurnedRecord separately from total calories
- Add StepsRecord for step count during workouts
- Add intelligent cadence syncing (StepsCadenceRecord for running/walking, CyclingPedalingCadenceRecord for cycling)
- Add required Health Connect permissions to manifest
- Update HealthConnectPermissionManager with all workout permissions
2026-01-16 22:12:23 +01:00
José Rebelo 4ee7007c61 Zepp OS: Handle weather app settings request 2026-01-16 18:42:31 +00:00
José Rebelo f4556e81cc Garmin: Fix MLR retransmission request numbers 2026-01-16 18:24:19 +00:00
José Rebelo 6aeb50d026 Dashboard: Only include activities from enabled devices 2026-01-15 23:39:32 +00:00
José Rebelo 367ce236a1 Export GenericWeatherReceiver from manifest
This is useful to cache the latest weather when no gadgets are
connected, as well as for weather app developers to be able to test
their apps without any gadget.
2026-01-15 23:11:27 +00:00
José Rebelo 1a50b85b7e Zepp OS: Add display item for Jet Lag Manager 2026-01-15 23:04:39 +00:00
José RebeloandJosé Rebelo 813be065c3 Garmin: Improve developer field decoding 2026-01-15 22:11:45 +01:00
dependency-botandJosé Rebelo effb054aaf Update mapsforge to v0.27.0 2026-01-15 20:49:01 +01:00
dependency-botandJosé Rebelo ba0a3821f2 Update protobuf to v4.33.4 2026-01-15 20:48:49 +01:00
José Rebelo 31f71edda5 Garmin: Make calories consistent with other devices 2026-01-15 19:40:36 +00:00
José Rebelo b6c125a3a6 Garmin: Make calories consistent with other devices 2026-01-15 19:36:35 +00:00
José Rebelo 617ef396a5 Garmin: Run FitCodeGen 2026-01-13 22:12:00 +00:00
José Rebelo 0bdb76c6d4 Garmin: Improve field cast safety 2026-01-13 22:08:54 +00:00
José Rebelo 8dad0e1da6 Garmin: Fix TestFitLocationEncoding
As of 1b45d71cc7, we avoid writing
consecutive record definitions if they are exactly the same. This
results in an optimized and smaller fit file, which effectively
contains the exact same information.
2026-01-13 22:00:48 +00:00
José Rebelo a4f9dd7ea6 GarminSupportTest: Fix some tests 2026-01-13 21:18:14 +00:00
José Rebelo 71cf60cff9 WeatherMapper: Fix test
Failure introduced in c19ed15df, but this test does not make sense to
maintain anymore.
2026-01-13 21:02:22 +00:00
José Rebelo 614fb05a8b OneTouch: Fix test 2026-01-13 21:00:41 +00:00