Commit Graph
100 Commits
Author SHA1 Message Date
Philip Abbey a213c6851e Largely cosmetic
Removed debug that escaped.
Belt & braces field to prevent the update chain being started twice.
2024-07-26 18:23:22 +01:00
Philip Abbey 9eed5affdc Update HomeAssistantApp.mc
Guard against dereferencing null. Belt & braces, as this has not been an issue.
2024-07-26 17:16:07 +01:00
Philip Abbey 98c9c42366 Update HomeAssistantApp.mc
Fixed debug printing where the method name was wrong. Changes in commented out debug code only.
2024-07-26 16:55:13 +01:00
philipabbey 97030dc1b8 Apply automatic changes 2024-07-26 08:16:05 +00:00
Philip Abbey 6a2a791146 Update strings.xml
Removed glance scope
2024-07-26 08:56:52 +01:00
Philip Abbey 1eb2fbed0e Added internationalisation of new strings 2024-07-26 08:50:10 +01:00
Philip Abbey a86133fd87 Update HISTORY.md
v2.15 added
2024-07-25 23:36:11 +01:00
Philip Abbey 0ae39a029f Update HomeAssistantTemplateMenuItem.mc
Template errors now displayed per item.
2024-07-25 20:38:17 +01:00
Philip Abbey 3cebd106eb Update HISTORY.md
v2.14
2024-07-25 08:51:53 +01:00
Philip Abbey 9030a00d7d Update BackgroundServiceDelegate.mc
Put check for methods with 'has' back in.
2024-07-22 22:18:27 +01:00
Philip Abbey a49dd6554f More responsive status when using a polling delay
When using a polling delay, an action will trigger an immediate round of updates.
2024-07-20 19:16:42 +01:00
Philip Abbey fc1a0eeb6d Update HomeAssistantApp.mc
When Settings.getPollDelay() > 0, do not wait for this time before the initial batch of updates, so the app is more responsive on opening.
2024-07-20 18:07:37 +01:00
Philip Abbey 61f6d69e64 Update HISTORY.md
Added a second feature to 2.13 in anticipation.
2024-07-20 17:39:59 +01:00
Philip Abbey 98af5578f0 Added update to telemetry on completion of an activity 2024-07-20 17:28:57 +01:00
Philip Abbey c18736e40d Update Templates.md
Examples now up to date with schema changes.
2024-07-20 17:23:00 +01:00
Philip Abbey a139742265 Update HISTORY.md
Ver 2.13 text added in anticipation.
2024-07-19 17:05:19 +01:00
Philip Abbey dfa4cdd9b8 Moved template status updates to webhooks
This seems to work for non-privileged users.
2024-07-19 15:15:32 +01:00
Philip Abbey 1c4add693d Update README.md
Amended advice based on a report at https://community.home-assistant.io/t/home-assistant-app-for-garmin/637348/280.

Signed-off-by: Philip Abbey <philipabbey@users.noreply.github.com>
2024-07-01 08:40:04 +01:00
Philip Abbey 83914e8d8d Update monkey.jungle
Missed the Jungle file.
2024-06-15 11:13:10 +01:00
Philip Abbey f4ca55d741 Devices Edge 540 and Edge 840 re-enabled
@Petucky reports the application works well on an Edge 840 by sideloading the code from an Edge 830 device.
2024-06-15 11:00:58 +01:00
Philip Abbey 5d34db7b6a Update README.md
Typo
2024-05-04 14:29:54 +01:00
Philip Abbey cfaa31d5ee Update README.md
Typo
2024-05-04 14:28:33 +01:00
Philip Abbey 52ee270788 Update README.md
Note about HTTP
2024-05-04 10:06:59 +01:00
Philip Abbey dec38889a5 Update HISTORY.md
Added version 2.11
2024-04-17 14:06:34 +01:00
Philip Abbey 586d85e706 Update export.cmd
Commit directly to main as not application code.
2024-04-17 08:26:52 +01:00
Philip Abbey 30b55aec3e Merge branch 'main' of https://github.com/house-of-abbey/GarminHomeAssistant 2024-04-17 08:24:52 +01:00
philipabbey 93d672dd40 Apply automatic changes 2024-04-17 07:09:18 +00:00
Philip Abbey 9130bc7121 Merge pull request #139 from house-of-abbey/138-cached-menu-will-still-be-used-even-if-the-setting-is-deactivated
When the cache is deactivated is now also cleared.
2024-04-17 07:56:49 +01:00
Philip Abbey a6e386c5e6 Removed scope="glance" from another language corrections.xml file 2024-04-17 07:52:28 +01:00
Philip Abbey 2ffd83ebf5 When the cache is deactivated is now also cleared. 2024-04-16 22:58:53 +01:00
philipabbey 48b7e7efe5 Apply automatic changes 2024-04-16 06:35:49 +00:00
Philip Abbey 7bb270aae8 Update corrections.xml
Changed `<string id="Menu">Menu</string>` to `<string id="GlanceMenu">Menu</string>`.

A trivial fix so bypassing reviews.
2024-04-16 07:01:38 +01:00
Philip Abbey ac117952d0 Merge pull request #136 from house-of-abbey/135-string-change-request-czech-translation-inappropriate
Corrected Czech language strings as advised
2024-04-16 06:31:26 +01:00
Philip Abbey 8f685af8ca Missed two System.println() string corrections. 2024-04-15 21:12:08 +01:00
Philip Abbey b17d12fe54 Corrected Czech language strings as advised
Also amended some trivial System.println() strings
2024-04-15 19:29:32 +01:00
Philip Abbey d5c39fa7f0 Documentation: Screenshot for Unicode Characters 2024-03-31 16:45:31 +01:00
philipabbey b4b113f4e1 Apply automatic changes 2024-03-30 20:26:40 +00:00
Philip Abbey 517e36cfb0 Update Templates.md
Amended wording.
2024-03-30 14:19:23 +00:00
Philip Abbey 7071362656 Update Templates.md
Examples with unicode characters.
2024-03-30 13:36:23 +00:00
Philip Abbey e37b2a76aa Merge pull request #129 from jose1711/sk_translation
Corrected a few strings in Slovak.
2024-03-30 12:18:44 +00:00
Philip Abbey 2f4c14d7d5 Merge pull request #126 from jose1711/typo
Fix typo
2024-03-22 20:04:03 +00:00
Philip Abbey 6599c22664 Merge pull request #123 from house-of-abbey/103-possiblity-to-add-polling-interval-for-states-to-save-battery
103 possiblity to add polling interval for states to save battery
2024-03-21 19:34:55 +00:00
Philip Abbey c66950cfb0 Update HISTORY.md 2024-03-21 19:32:59 +00:00
Philip Abbey 2a99069f48 Review comments 2024-03-21 19:29:52 +00:00
Philip Abbey bb9c8b1088 Merge pull request #125 from house-of-abbey/124-add-4-more-devices
Added 4 new devices
2024-03-21 17:43:50 +00:00
Philip Abbey 34e56c5da0 Added 4 new devices
Devices are: descentmk343mm, descentmk351mm, fr165, fr165m.
2024-03-21 17:39:58 +00:00
Philip Abbey 0a93f4f9ba Additional documentation changes
Including settings screenshot.
2024-03-21 13:53:01 +00:00
philipabbey eb0d0f5044 Apply automatic changes 2024-03-21 09:30:42 +00:00
Philip Abbey 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
philipabbey 00b071c132 Apply automatic changes 2024-03-20 23:46:54 +00:00
Philip Abbey cacd9f856f Initial solution 2024-03-20 23:33:13 +00:00
Philip Abbey eebf5c9dcd Update Templates.md
Removed a reference to a problem mostly associated with Widgets.
2024-03-18 21:20:56 +00:00
Philip Abbey da645f17ad Update README.md
Removed an old reference to a known issue with Widgets.
2024-03-18 08:10:49 +00:00
Philip Abbey dbd0a42d2e Merge pull request #120 from house-of-abbey/118-allow-turning-off-vibration
118 allow turning off vibration
2024-03-08 16:20:36 +00:00
Philip Abbey aeeb1aa96e Documentation update 2024-03-08 09:18:48 +00:00
philipabbey be66c282df Apply automatic changes 2024-03-07 22:31:32 +00:00
Philip Abbey 4dc31e3c65 Removed a widget only property
That should have been removed previously.
2024-03-07 22:14:25 +00:00
Philip Abbey 92d3fbee57 Initial fixes 2024-03-07 21:59:33 +00:00
Philip Abbey 181335bfd7 Update README.md
Added a new [!IMPORTANT] tag
2024-03-06 18:34:40 +00:00
Philip Abbey b684c1172a Merge pull request #116 from house-of-abbey/113-splitting-widget-and-app-code
113 splitting widget and app code
2024-02-20 20:59:52 +00:00
Philip Abbey 0ee20de6c5 Update HISTORY.md 2024-02-18 15:04:32 +00:00
Philip Abbey d5ed16e6d2 Amended export.cmd
And removed an old comment from HomeAssistantApp.mc
2024-02-18 15:00:36 +00:00
Philip Abbey 8e2a4333ca Reverted manifest to test app ID
Removed comments used for running the widget in simulation.
2024-02-11 19:37:43 +00:00
Philip Abbey a65dcd6811 Removed widget specific code 2024-02-11 19:35:34 +00:00
Philip Abbey 7b6fc65bf2 Update TroubleShooting.md
Spelling.
2024-02-11 19:30:12 +00:00
Philip Abbey b65d45c955 Update README.md
Added known issue with iPhone's Connect IQ App
2024-02-11 18:31:49 +00:00
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