Commit Graph

125 Commits

Author SHA1 Message Date
8f685af8ca Missed two System.println() string corrections. 2024-04-15 21:12:08 +01:00
b17d12fe54 Corrected Czech language strings as advised
Also amended some trivial System.println() strings
2024-04-15 19:29:32 +01:00
2a99069f48 Review comments 2024-03-21 19:29:52 +00:00
a0fe746c1d Amended update method to entire rounds
A single larger delay is now inserted once between entire rounds of status updates,
2024-03-21 09:15:47 +00:00
cacd9f856f Initial solution 2024-03-20 23:33:13 +00:00
4dc31e3c65 Removed a widget only property
That should have been removed previously.
2024-03-07 22:14:25 +00:00
92d3fbee57 Initial fixes 2024-03-07 21:59:33 +00:00
d5ed16e6d2 Amended export.cmd
And removed an old comment from HomeAssistantApp.mc
2024-02-18 15:00:36 +00:00
a65dcd6811 Removed widget specific code 2024-02-11 19:35:34 +00:00
0dfcc65469 3 bug fixes as per the issue description 2024-02-05 19:09:26 +00: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
a95736ebed Restyled by whitespace 2024-01-22 22:20:26 +00:00
9c001f3402 Cosmetic 2024-01-22 10:28:35 +00:00
7786efd883 Update HomeAssistantApp.mc
Removed memory metrics
2024-01-21 20:46:55 +00:00
0b80e4546d Corrected a previous incomplete commit
All now "WatchUi.loadResource($.Rez.Strings.WebhookFailed) as Lang.String"
2024-01-21 20:43:11 +00:00
6e67c4cf2a Removed RezStrings.mc
And in-lined the resource strings fetching.
2024-01-21 20:38:01 +00:00
b80227e484 Update Settings.mc
Cosmetic
2024-01-21 20:11:47 +00:00
d9b345e5b8 Update Settings.mc
Cosmetic
2024-01-21 20:04:12 +00:00
fc7302ad3b Update HomeAssistantView.mc
Removed empty else clause.
2024-01-21 20:00:52 +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
26954cbc60 Update RootView.mc
Memory usage decimal place was never used due to integer arithmetic. A single character changes fixed that.
2024-01-21 13:00:31 +00:00
44ec2e2eb1 Initial Solution 2024-01-19 19:26:02 +00:00
2be255bb71 Removal of menu identifiers as not actually required
Toggle menu is now consistent with the use of data objects in tap and template. HA 'notify' actions now work.

Co-Authored-By: Joseph Abbey <me@josephabbey.dev>
2024-01-19 18:04:55 +00:00
67a5f0a14e Amending naming convention
Removing some inconsistencies
2024-01-19 16:11:30 +00:00
a48c6a38fe Restyled by whitespace 2024-01-18 21:17:54 +00:00
4e96036d66 Removed code to dismiss the ErrorView
The automatic ErrorView.unShow() when the HTTP Request callback success was preventing errors being read. Removing to see if they are really required.
2024-01-18 21:15:59 +00:00
7ffbd84785 Initial working version 2024-01-17 23:31:27 +00:00
81762fbf7d Cached 'has' result in initialize()
Also amended a bit of README that was missed and added a memory usage in the RootView for widgets here memory is limited, to serve as a warning to users who are likely to complain.
2024-01-14 19:59:18 +00:00
2cf087ed23 Remove lists left around after initialisation 2024-01-14 14:20:27 +00:00
4b5c9ba8ba Restyled by whitespace 2024-01-14 13:34:46 +00:00
1f075a8c0f Remove text versions of menu items 2024-01-14 13:29:33 +00:00
cf2237958d Turn off debug 2024-01-14 12:07:18 +00:00
94bc49afe2 Restyled by whitespace 2024-01-14 11:52:49 +00:00
31b30788b1 add TemplateMenuItem 2024-01-14 08:00:49 +00:00
32ce1d2a74 Fix naming 2024-01-12 18:01:00 +00:00
7f8814d587 Automatically remove webhook id 2024-01-12 17:53:42 +00:00
22bb84e13b Handle errors for the second step 2024-01-11 20:48:46 +00:00
a211565810 2024-01-11 17:37:18 +00:00
f155ab0925 Added error messages for first request 2024-01-11 17:27:52 +00:00
5f794388e6 Resolve review comments 2024-01-11 07:16:38 +00:00
4190ce2362 Restyled by whitespace 2024-01-10 23:10:15 +00:00