17a5d89998
Prevent negative heading values.
2024-08-29 21:00:50 +01:00
01f073e67b
Update BackgroundServiceDelegate.mc
...
Only submitting non-null values to HA, not fake zeros for null values.
2024-08-25 13:50:29 +01:00
64a9c5f274
Added null checking to activity stats
...
Position.getInfo().* might return null sometimes, so best check and avoid a numerical error.
2024-08-25 13:07:23 +01:00
d2aec16811
Update BackgroundServiceDelegate.mc
...
Failed to make commensurate changes to the background service code.
2024-08-24 14:21:02 +01:00
43378bfe8c
Set icons for sent sensor values
2024-08-05 19:34:26 +02:00
700e7ca822
Send heartrate, floor, and respiration rate values to Home Assistant
2024-08-05 18:02:37 +02:00
9030a00d7d
Update BackgroundServiceDelegate.mc
...
Put check for methods with 'has' back in.
2024-07-22 22:18:27 +01:00
98af5578f0
Added update to telemetry on completion of an activity
2024-07-20 17:28:57 +01:00
69ddb0f197
Amended "no activity" condition
...
Back to using elapsed time.
2024-01-29 19:06:58 +00:00
55423c4eb7
Using System.getDeviceSettings().activityTrackingOn
...
Instead of activity elapsed time. Also forgot to update the WebhookManager class code.
2024-01-28 19:52:20 +00:00
b31aff652f
Update BackgroundServiceDelegate.mc
...
Amended detection of no activity reporting.
2024-01-28 18:54:47 +00:00
930f1525b3
Best practices!
2024-01-28 13:59:07 +00:00
6fc639f17f
Report -1 instead of null for no activity
2024-01-28 13:05:34 +00:00
cf6552410e
Restyled by whitespace
2024-01-27 15:39:45 +00:00
6b3a17bea3
Add GPS accuracy to update_location webhook and changed activity reporting
2024-01-27 15:39:22 +00:00
96abff9339
Fix spacing of arrows
2024-01-27 14:02:05 +00:00
4ff1509046
API level fix
...
Added 'has' test for Activity.getProfileInfo(). Reverted automatic changes to XML prettiness.
Co-Authored-By: Joseph Abbey <me@josephabbey.dev >
2024-01-27 13:57:21 +00:00
e3288c9353
GPS and current activity in background service
2024-01-27 13:11:24 +00:00
9c001f3402
Cosmetic
2024-01-22 10:28:35 +00:00
d9ecaf34ee
Removed Debug
...
On some devices it looks like removing the System.println() statements from inside an 'if' clause whose condition is a constant (static constant Globals.scDebug) makes a memory saving. This would suggest the compiler does not propagate constants and prune unreachable code. However in the device of greatest interest debug removal has made no difference to the memory usage. Here the conditional clauses have been turned into comments that can be removed on a case-by-case basis otherwise the debug printing is too voluminous anyway.
2024-01-21 17:53:37 +00:00
42e0a1b543
Use webhooks for battery
2024-01-10 23:08:08 +00:00
56155f5f5c
Added Watch Battery transmission
...
Added a background service to send the watch battery level to Home Assistant.
Changed the Glance View as requested by a user.
Updated to new HA icon using SVG in stead of PNG.
2023-12-31 15:22:21 +00:00