Commit Graph
100 Commits
Author SHA1 Message Date
Philip Abbey 0dfcc65469 3 bug fixes as per the issue description 2024-02-05 19:09:26 +00:00
Philip Abbey 4d4a86f195 Update README.md
Added knwoon issue with Edge 540 and 840 devices.
2024-02-01 21:32:46 +00:00
Philip Abbey 9e1c5959ab Merge pull request #107 from house-of-abbey/100-help-text-for-web-based-configuration-editor
Documentation for web editor
2024-01-31 13:36:34 +00:00
philipabbey 6e842af372 Apply automatic changes 2024-01-30 20:19:10 +00:00
Philip Abbey 2ad0480bbf Merge branch 'main' into 94-add-gps-reporting-to-the-background-service 2024-01-29 20:41:55 +00:00
Philip Abbey 1d5ee735e8 Update corrections.xml 2024-01-29 20:41:09 +00:00
Philip Abbey d694880969 Merge branch 'main' into 94-add-gps-reporting-to-the-background-service 2024-01-29 20:39:00 +00:00
Philip Abbey 763c9cc5e0 Merge branch 'main' into 94-add-gps-reporting-to-the-background-service 2024-01-29 20:37:56 +00:00
Philip Abbey e332c7c466 Merge pull request #105 from tarekbecker/fix-german
Corrections for german
2024-01-29 20:37:36 +00:00
Philip Abbey 69ddb0f197 Amended "no activity" condition
Back to using elapsed time.
2024-01-29 19:06:58 +00:00
Philip Abbey 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
Philip Abbey 66193f080a Background service documentation 2024-01-28 18:55:33 +00:00
Philip Abbey b31aff652f Update BackgroundServiceDelegate.mc
Amended detection of no activity reporting.
2024-01-28 18:54:47 +00:00
Philip Abbey 5e9673ba0e Merge branch '94-add-gps-reporting-to-the-background-service' of ssh://github.com/house-of-abbey/GarminHomeAssistant into 94-add-gps-reporting-to-the-background-service 2024-01-28 14:00:51 +00:00
Philip Abbey da4f4401fe Update Templates.md
Jinja2 explained
2024-01-28 14:00:21 +00:00
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
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
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
Philip AbbeyandJoseph 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
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
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
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
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
Philip Abbey b46c4d2eb4 Read through all documentation 2024-01-20 15:05:33 +00:00
Philip Abbey ce2f4d38d0 Menu for different pages of documents 2024-01-20 11:31:50 +00:00
Philip Abbey 13d3ffd1ec Documentation 2024-01-19 22:27:39 +00:00
Philip Abbey 7243917103 Documentation 2024-01-19 21:14:33 +00:00
Philip Abbey 49fb42cc0f Documentation 2024-01-19 20:18:25 +00:00
Philip Abbey 3c5e970892 Merge pull request #84 from house-of-abbey/79-confirm-on-toggle
Initial Solution
2024-01-19 19:43:22 +00:00
Philip Abbey bd32d94ac7 Merge pull request #85 from house-of-abbey/restyled/79-confirm-on-toggle
Restyle Initial Solution
2024-01-19 19:40:50 +00:00
Philip Abbey 44ec2e2eb1 Initial Solution 2024-01-19 19:26:02 +00:00
Philip Abbey 1325f8c382 Merge pull request #82 from house-of-abbey/52-allow-parameters-to-be-send-with-tap-menu-items
52 allow parameters to be send with tap menu items
2024-01-19 18:15:39 +00:00
Philip AbbeyandJoseph Abbey 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
Philip Abbey 67a5f0a14e Amending naming convention
Removing some inconsistencies
2024-01-19 16:11:30 +00:00
Philip Abbey 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
Philip Abbey 7ffbd84785 Initial working version 2024-01-17 23:31:27 +00:00
philipabbey 1132bdf57b Apply automatic changes 2024-01-14 20:49:31 +00:00
Philip Abbey 53bd8d3c50 Documentation update
Remnants that perhaps should have been in the previous merge.
2024-01-14 20:19:40 +00:00
Philip Abbey 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
Philip Abbey 84aaa44995 Merge pull request #72 from house-of-abbey/26-sensor-readings-as-text-display
Template Menu Item
2024-01-14 17:16:34 +00:00
Philip Abbey 4447c35761 Updated settings documentation 2024-01-13 08:29:35 +00:00
Philip AbbeyandJoseph Abbey 398dc86cbf Battery device deletion docs
Co-Authored-By: Joseph Abbey <me@josephabbey.dev>
2024-01-12 18:34:13 +00:00
Philip Abbey 4665d144c5 Merge pull request #71 from house-of-abbey/70-fix-naming-of-unsetting-functions
Fix naming of unsetting functions
2024-01-12 18:11:47 +00:00
Philip Abbey cd416bc81b Merge pull request #69 from house-of-abbey/68-automatically-remove-the-webhook-id-when-battery-level-is-disabled
Automatically remove webhook id
2024-01-12 17:57:46 +00:00
Philip Abbey f2316dc0f6 Update README.md 2024-01-12 17:54:59 +00:00
philipabbey 59dbd0aa0a Apply automatic changes 2024-01-12 17:46:38 +00:00
Philip Abbey 9df93c0c23 Read only Webhook ID property
Amended some documentation.
2024-01-12 17:34:05 +00:00
Philip Abbey 825e863a68 Update Troubleshooting.md
Fixed revised curl command for send_battery.sh
2024-01-12 17:16:45 +00:00
Philip Abbey 827d0dbeec Merge pull request #53 from house-of-abbey/51-use-webhooks-for-reporting-battery-levels
Use webhooks for reporting battery
2024-01-11 22:46:10 +00:00
Philip Abbey 67731708b3 Update compile_sim.cmd
Specialised for testing Vivoactive3 under release conditions in order to check we are not running out of memory.
2024-01-11 20:04:52 +00:00
Philip Abbey 6a28cd8136 Merge pull request #62 from house-of-abbey/59-minor-fix-for-translation-script
Fix formatting in translation script output
2024-01-11 19:33:57 +00:00
philipabbey 52967e87d4 Apply automatic changes 2024-01-11 11:10:47 +00:00
Philip Abbey 4b450065c8 Merge pull request #58 from house-of-abbey/restyled/56-fix-bad-translation-for-all-languages
Restyle 56 fix bad translation for all languages
2024-01-11 09:42:37 +00:00
Philip Abbey 7074940579 Update corrections.xml
Taking a user's preferred translations, checking a second.
2024-01-11 09:38:52 +00:00
Philip Abbey 8133b434b7 Merge branch 'main' into 56-fix-bad-translation-for-all-languages 2024-01-11 09:37:13 +00:00
Philip Abbey ac5f43af54 Merge pull request #55 from jjusko/main
Taking user's preferred translation.
2024-01-11 09:34:58 +00:00
philipabbey e77e1a76b8 Apply automatic changes 2024-01-11 09:24:14 +00:00
Philip Abbey 96ae4b231a Update strings.xml 2024-01-11 09:10:59 +00:00
Philip Abbey 4e6f8bcefc Update README.md
Added details of version 2.2.
2024-01-09 21:37:46 +00:00
Philip Abbey 70e0bc3ff1 Update README.md 2024-01-09 21:31:10 +00:00
Philip Abbey b51e2aa2a4 Update BatteryReporting.md 2024-01-09 21:03:47 +00:00
Philip Abbey e9de9e5890 Update README.md 2024-01-09 21:03:12 +00:00
Philip Abbey 376c72d7ba Merge pull request #49 from house-of-abbey/31-reduce-startup-delay
31 reduce startup delay
2024-01-09 20:27:26 +00:00
Philip Abbey 1db885e10f Merge branch '31-reduce-startup-delay' of ssh://github.com/house-of-abbey/GarminHomeAssistant into 31-reduce-startup-delay 2024-01-09 17:37:47 +00:00
Philip Abbey 40377e6887 Amended App settings screenshot 2024-01-09 17:37:41 +00:00
Philip Abbey 3b0b3fac32 Merge pull request #50 from house-of-abbey/restyled/31-reduce-startup-delay
Restyle 31 reduce startup delay
2024-01-09 11:02:51 +00:00
Philip Abbey 864a832e69 GUI refresh amendments 2024-01-09 08:58:58 +00:00
philipabbey 9858ebbe73 Apply automatic changes 2024-01-08 00:18:56 +00:00
Philip Abbey 9724430168 Merge branch 'main' into 31-reduce-startup-delay 2024-01-08 00:14:05 +00:00
Philip Abbey 0a2d257421 Initial solution 2024-01-08 00:08:12 +00:00
Philip Abbey 92e6917589 Merge pull request #44 from house-of-abbey/42-uninternationalised-string-needs-adding-to-stringsxml
42 uninternationalised string needs adding to stringsxml
2024-01-07 21:27:29 +00:00
Philip Abbey 7c1082849d Merge pull request #46 from house-of-abbey/43-battery-reporting-stops-working-when-scrolling-trough-the-widget
Amend behaviour of background service for glances.
2024-01-07 20:59:37 +00:00
Philip Abbey c78cd574b1 Merge pull request #47 from house-of-abbey/restyled/43-battery-reporting-stops-working-when-scrolling-trough-the-widget
Restyle Update Settings.mc
2024-01-07 19:13:01 +00:00
Philip Abbey 874ced99c2 Update Settings.mc
Do not cancel the background service just because we show the app's glance.
2024-01-07 19:12:03 +00:00
Philip Abbey 97273155e1 Merge pull request #45 from house-of-abbey/restyled/42-uninternationalised-string-needs-adding-to-stringsxml
Restyle 42 uninternationalised string needs adding to stringsxml
2024-01-07 18:41:18 +00:00
philipabbey 6ae96cfd7c Apply automatic changes 2024-01-06 21:46:07 +00:00
Philip Abbey c0787733b7 Amended as required
**/strings.xml need recreating server side.
2024-01-06 21:33:48 +00:00
Philip AbbeyandJoseph Abbey 24ebc72080 Documentation tidy
Co-Authored-By: Joseph Abbey <me@josephabbey.dev>
2024-01-06 21:23:38 +00:00
Philip AbbeyandJoseph Abbey 3b10bb9272 Update BatteryReporting.md
Co-Authored-By: Joseph Abbey <me@josephabbey.dev>
2024-01-06 21:17:28 +00:00
Philip Abbey e8242490fd Merge branch 'main' of ssh://github.com/house-of-abbey/GarminHomeAssistant 2024-01-06 21:16:59 +00:00
Philip AbbeyandJoseph Abbey a8c9085dc4 Updated troubleshooting guide.
Now includes battery level transmission debug.

Co-Authored-By: Joseph Abbey <me@josephabbey.dev>
2024-01-06 21:16:53 +00:00
Philip Abbey 1fa15c58a0 Update README.md 2024-01-06 19:04:47 +00:00
Philip Abbey 25205e715e Update README.md 2024-01-01 20:05:36 +00:00
Philip Abbey 5288e97b4f Merge pull request #38 from house-of-abbey/37-add-device-battery-logging-and-settings-class
37 add device battery logging and settings class
2024-01-01 19:37:37 +00:00
Philip Abbey ff7cbee1ce Update README.md 2024-01-01 19:34:08 +00:00
Philip Abbey e07d9ddb9d Update to documentation 2024-01-01 18:29:12 +00:00
Philip Abbey 6b074cb3c9 Update README.md
Added instructions for finding the correct parts of HA for API Keys and URLs thanks to a user.
2024-01-01 15:29:08 +00:00
Philip Abbey bcaea763c5 Merge branch '37-add-device-battery-logging-and-settings-class' of ssh://github.com/house-of-abbey/GarminHomeAssistant into 37-add-device-battery-logging-and-settings-class 2024-01-01 15:26:02 +00:00