333 Commits

Author SHA1 Message Date
Philip Abbey
5de67382bc Update README.md
More explanation on the polling chain for status updates.
2024-01-28 13:37:54 +00:00
Philip Abbey
a45785cd88 Update Templates.md
Added template example with float number formatting.
2024-01-28 13:16:57 +00:00
Joseph Abbey
6fc639f17f Report -1 instead of null for no activity 2024-01-28 13:05:34 +00:00
Philip Abbey
9f759b1dad Documentation
Amended "BatteryReporting" to "BackgroundService". Augmented TroubleShooting.md to remind people how to verify their JSON schema. Amended wording of some of the settings.
2024-01-27 16:29:08 +00:00
Philip Abbey
bbb4d13eb2 Merge pull request #97 from house-of-abbey/restyled/94-add-gps-reporting-to-the-background-service
Restyle GPS and current activity reporting
2024-01-27 16:09:28 +00:00
Restyled.io
cf6552410e Restyled by whitespace 2024-01-27 15:39:45 +00:00
Joseph Abbey
6b3a17bea3 Add GPS accuracy to update_location webhook and changed activity reporting 2024-01-27 15:39:22 +00:00
Philip Abbey
8f372c03e3 Merge branch 'main' into 94-add-gps-reporting-to-the-background-service 2024-01-27 15:06:06 +00:00
Philip Abbey
f5f88ced4e Added web-based editor to documentation 2024-01-27 14:59:48 +00:00
Joseph Abbey
96abff9339 Fix spacing of arrows 2024-01-27 14:02:05 +00:00
Philip Abbey
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
Joseph Abbey
1ec80a1704 Update restyled.yml 2024-01-27 13:39:44 +00:00
Joseph Abbey
e3288c9353 GPS and current activity in background service 2024-01-27 13:11:24 +00:00
Joseph Abbey
2ba102f8dd Merge pull request #92 from house-of-abbey/91-enhanced-web-editor 2024-01-25 19:56:40 +00:00
Joseph Abbey
3e0789e808 Update config.schema.json 2024-01-25 19:34:51 +00:00
Joseph Abbey
bd56c6b4e6 Titles for buttons 2024-01-25 15:19:39 +00:00
Joseph Abbey
6063ae8ba3 Titles for form elements 2024-01-25 14:56:28 +00:00
Joseph Abbey
f00bbdcb13 Merge pull request #93 from house-of-abbey/restyled/91-enhanced-web-editor 2024-01-25 14:30:59 +00:00
Restyled.io
2b98ed885e Restyled by whitespace 2024-01-25 14:28:38 +00:00
Restyled.io
4a8185a937 Restyled by prettier-json 2024-01-25 14:28:38 +00:00
Restyled.io
bb55ed4c69 Restyled by prettier 2024-01-25 14:28:36 +00:00
Restyled.io
4ddf8339b8 Restyled by jq 2024-01-25 14:28:34 +00:00
Restyled.io
7b227499c8 Restyled by clang-format 2024-01-25 14:28:32 +00:00
Joseph Abbey
0849524ea9 formatting 2024-01-25 14:28:03 +00:00
Joseph Abbey
b54b1d8cae Add autocomplete for entity names in templates 2024-01-25 13:40:02 +00:00
Joseph Abbey
17b1e38145 Merge branch 'main' into 91-enhanced-web-editor 2024-01-25 10:43:44 +00:00
Joseph Abbey
2afd0295b4 Error handling 2024-01-25 10:40:27 +00:00
Joseph Abbey
83f8b7bf26 Create _config.yml 2024-01-23 21:54:51 +00:00
Joseph Abbey
c4066e9fe3 Enhanced web editor 2024-01-23 21:19:07 +00:00
Philip Abbey
c062a6fcff Update HISTORY.md
Added V2.5 description.
2024-01-23 19:29:29 +00:00
Philip Abbey
7ab8246197 Merge pull request #88 from house-of-abbey/87-look-for-memory-usage-efficiencies
87 look for memory usage efficiencies
v2.5
2024-01-23 07:13:22 +00:00
Philip Abbey
776134e842 Merge pull request #89 from house-of-abbey/restyled/87-look-for-memory-usage-efficiencies
Restyle 87 look for memory usage efficiencies
2024-01-22 22:25:46 +00:00
Restyled.io
a95736ebed Restyled by whitespace 2024-01-22 22:20:26 +00:00
Philip Abbey
9c001f3402 Cosmetic 2024-01-22 10:28:35 +00:00
Philip Abbey
7786efd883 Update HomeAssistantApp.mc
Removed memory metrics
2024-01-21 20:46:55 +00:00
Philip Abbey
0b80e4546d Corrected a previous incomplete commit
All now "WatchUi.loadResource($.Rez.Strings.WebhookFailed) as Lang.String"
2024-01-21 20:43:11 +00:00
Philip Abbey
6e67c4cf2a Removed RezStrings.mc
And in-lined the resource strings fetching.
2024-01-21 20:38:01 +00:00
Philip Abbey
b80227e484 Update Settings.mc
Cosmetic
2024-01-21 20:11:47 +00:00
Philip Abbey
d9b345e5b8 Update Settings.mc
Cosmetic
2024-01-21 20:04:12 +00:00
Philip Abbey
fc7302ad3b Update HomeAssistantView.mc
Removed empty else clause.
2024-01-21 20:00:52 +00:00
Philip Abbey
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
Joseph Abbey
62b8f0fccf Add max size to menus 2024-01-21 13:06:44 +00:00
Philip Abbey
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
Philip Abbey
a5b2af81bc Merge pull request #81 from house-of-abbey/80-examples
Added examples for templates and custom switches
2024-01-20 15:07:32 +00:00
Joseph Abbey
10c64c0fdc Merge pull request #86 from house-of-abbey/restyled/80-examples 2024-01-20 15:06:25 +00:00
Restyled.io
ed3dce8827 Restyled by prettier-json 2024-01-20 15:05:50 +00:00
Restyled.io
35a65ebdf4 Restyled by jq 2024-01-20 15:05:49 +00:00
Philip Abbey
b46c4d2eb4 Read through all documentation v2.4 2024-01-20 15:05:33 +00:00
Joseph Abbey
2b21c840c6 Rename Troubleshooting.md to TroubleShooting.md 2024-01-20 13:41:04 +00:00
Joseph Abbey
1448f6b0c2 Update config.schema.json 2024-01-20 12:10:17 +00:00