Commit Graph
100 Commits
Author SHA1 Message Date
Philip Abbey 6149098d25 Update browser compatibility for web editor
README.md and TroubleShooting.md now state that the GarminHomeAssistant web-based editor works in Firefox.
2025-12-23 20:28:33 +00:00
Philip Abbey fd2a07e6eb Update README.md 2025-12-23 15:04:26 +00:00
Philip Abbey 5eabea49a9 Add important note on dashboard configuration complexity
Added a highlighted section explaining the challenges and rationale behind the dashboard menu configuration approach, emphasizing the limitations of small devices and the need for external configuration. Encourages users to manage expectations and read documentation before seeking support.
2025-12-23 15:03:43 +00:00
Philip Abbey 043292d753 Add EV charger mode select example to Actions docs
Expanded the Selects section with an example showing how to use a tap action to cycle through EV charger modes using the select service. Also credited the community member who contributed the example.
2025-12-23 12:29:41 +00:00
Philip Abbey fb799ebdac Update documentation for clarity and accuracy
Corrected typos in README.md and clarified troubleshooting steps in TroubleShooting.md. Added browser compatibility note for the web-based editor, improved error message explanations, and provided more detailed guidance for resolving 'No JSON returned from HTTP request' issues.
2025-12-23 11:41:23 +00:00
Philip Abbey 1e79be594e Update README with Firefox compatibility note
Added compatibility note for the Web-based Editor in Firefox.

Signed-off-by: Philip Abbey <philipabbey@users.noreply.github.com>
2025-12-22 17:38:06 +00:00
Philip Abbey 0584fa4bce Update HISTORY.md
Added version 3.9 text.
2025-12-14 17:00:02 +00:00
Philip Abbey bb05b8f2e0 329 error on empty json menu file (#330)
Prompt users who use `{}` as a menu definition to read the instructions.
2025-12-14 11:24:32 +00:00
philipabbey c1f6ecbd2c Apply automatic changes 2025-12-13 16:33:49 +00:00
Philip Abbey 66bae3ac57 Add error handling for empty menu data
New string resource for menu definition errors and updates HomeAssistantApp to show an error message when the menu data is empty.
2025-12-13 16:29:18 +00:00
Philip Abbey fd373e9dbb Enhance REQBIN API testing section with notes
Added important notes about using REQBIN for API testing, including URL formatting and request limits.

Signed-off-by: Philip Abbey <philipabbey@users.noreply.github.com>
2025-12-03 18:59:47 +00:00
Philip Abbey b86f54496f Add credits for additional activity reporting features
Added credits section acknowledging contributions.

Signed-off-by: Philip Abbey <philipabbey@users.noreply.github.com>
2025-11-16 17:52:46 +00:00
Philip Abbey fffe0fc1e9 Update contributor mentions to use '@' syntax
Signed-off-by: Philip Abbey <philipabbey@users.noreply.github.com>
2025-11-16 17:49:55 +00:00
Philip Abbey a3de208073 Add credits section for PIN feature contributor
Added credits section acknowledging Matthias Oesterheld for the PIN feature contribution.

Signed-off-by: Philip Abbey <philipabbey@users.noreply.github.com>
2025-11-16 17:45:53 +00:00
Philip Abbey fe9b7c9780 Add credits for Tom Michel's contribution
Added credits section acknowledging Tom Michel's contribution.

Signed-off-by: Philip Abbey <philipabbey@users.noreply.github.com>
2025-11-16 17:43:26 +00:00
Philip Abbey 2df83f86f1 Change cover image in README.md
Updated the cover image in the README file.

Signed-off-by: Philip Abbey <philipabbey@users.noreply.github.com>
2025-11-16 17:36:37 +00:00
Philip Abbey 20d41dbb2e New images (#325)
Merging without review, its just documentation.
2025-11-16 17:34:27 +00:00
Philip Abbey c5eb15112b New images 2025-11-16 17:32:06 +00:00
Philip Abbey ce7ea4d519 Update config.schema.json (#324)
Removed the need to specify any menu titles. The code works with a
`Null` as-is. I'm not convinced the lack of a title saves screen space
as desired, but the code works without a title, there's no real reason
to specify one as its not essential, so perhaps we just relax the
schema?

There is one user requesting this. They can work with a schema warning
for now and this can be rolled into the next release, when there's more
changes.
2025-11-15 11:34:26 +00:00
Philip Abbey 0ce95fa58a Update config.schema.json
Removed the need to specify any menu titles. The code works with a `Null` as-is.
2025-11-14 17:05:30 +00:00
Philip Abbey 065a0e47cf Update manifest.xml
Indentation confusion resolved. Whitespace changes only.
2025-11-12 11:22:53 +00:00
Philip Abbey f24d95d739 320 add icon for numeric menu item type (#321)
All icons are now automatically scales by Pythono scripts.
2025-11-12 11:17:35 +00:00
Philip AbbeyandJoseph Abbey 0d6c3a10c6 Changed icons SVG
Changed the way colours were managed in the SVG files to make them more amenable to scripting. Changed the scripts to automate icon resizing.

Co-Authored-By: Joseph Abbey <me@josephabbey.dev>
2025-11-11 19:57:51 +00:00
Philip Abbey 38d9c2c06d Icons with lighter blue 2025-11-10 20:41:48 +00:00
Philip Abbey 1bdc117c13 Amended all icons 2025-11-09 23:03:29 +00:00
Philip Abbey 87499dba50 Amended error icon size 48 2025-11-09 22:57:46 +00:00
Philip Abbey 193f53bbf0 Update manifest.xml
Reverted this file, which should not have been committed.
2025-11-09 19:13:05 +00:00
Philip Abbey 024b2c727f Changed icons
New dual colour icons and a numeric menu item icon.
2025-11-09 19:10:31 +00:00
Philip Abbey d6e32b777f Update HISTORY.md
Added v3.7 text.
2025-11-07 09:10:47 +00:00
Philip Abbey 1e17d93310 Fix for numeric menu items over Wi-Fi/LTE
Turns out the sync service will not run unless the picker has not only been popped but the display also updated.
2025-11-07 09:05:22 +00:00
Philip Abbey cc53b25508 Update HomeAssistantTapMenuItem.mc
Code tidy only.
2025-11-07 09:03:05 +00:00
Philip Abbey 098dc81236 Space alignment in code (tidy) and v3.6 history amendment 2025-11-06 20:40:43 +00:00
Philip Abbey 5ab8229602 Update Numeric.md
Changed 'service' to 'action'. Careless omission for new documentation.

Signed-off-by: Philip Abbey <philipabbey@users.noreply.github.com>
2025-11-06 18:15:09 +00:00
Philip Abbey 8acc450c2c Update HISTORY.md
Amended v3.6 description.
2025-11-04 21:22:48 +00:00
Philip Abbey 1a52a942fd Added two screenshots for the Number Picker to Numeric.md (#316)
Amendment to documentation. Overlaps with changes a couple of changes on
#308 due to order.
2025-11-04 20:50:51 +00:00
Philip Abbey d8b82f23e4 Merge branch 'main' into 315-add-screenshots-to-numericmd
Signed-off-by: Philip Abbey <philipabbey@users.noreply.github.com>
2025-11-04 20:50:24 +00:00
Philip Abbey 4943c87edb Icon script changes (#314)
A partial update that does not include managing the white variants of
the icons.
2025-11-04 20:49:22 +00:00
Philip Abbey 179c4d1bc5 Rename service to action (#308) 2025-11-04 20:48:58 +00:00
Philip Abbey 4119665817 Added two screenshots for the Number Picker to Numeric.md 2025-11-02 23:15:59 +00:00
Philip Abbey f0e263ae54 Update config.schema.json
Amended "Home Assistant Template" description.
2025-11-02 22:38:19 +00:00
Philip Abbey abd6552916 Documentation changes
"Home Assistant" => "HomeAssistant" search & replace
Added schema change for "exit" feature.
Added initial Devices.md
2025-11-02 19:36:33 +00:00
Philip Abbey 60f754f3e3 Update HomeAssistantMenuItemFactory.mc
Reverting picker => data change, as I think the original was correct, compiled and functionally worked.
2025-11-02 17:41:21 +00:00
Philip Abbey 643c4aa2e5 Icon script changes
A partial update that does not include managing the white variants of the icons,
2025-11-02 13:14:31 +00:00
Philip Abbey 8360a3e4a2 Documentation update
Mainly for the HTTP 410 error case.
2025-11-02 12:20:46 +00:00
Philip Abbey f9253e8cf0 Json schema update (#310) 2025-11-01 19:05:11 +00:00
Philip Abbey 3528080ec3 Merge branch 'main' into json-schema-update 2025-11-01 19:03:34 +00:00
Philip Abbey cc321899f4 Initial code for user supplied confirmation messages (#307)
Hopefully a simple change to the code. This is on top of #306.
2025-11-01 19:02:56 +00:00
Philip Abbey 5a44765ac9 305 code tidy documentation for v36 (#306)
1. Amended `Lang.Dictionary` handling so more of them use the
`dict["key"] = value` format.
2. Added documentation for the `numeric` menu type.
2025-11-01 19:02:25 +00:00
Philip Abbey 9eb791c68b Update Numeric.md
Review comments.
2025-11-01 18:57:13 +00:00
Philip Abbey fc0320aef6 Initial code for user supplied confirmation messages 2025-10-30 17:50:04 +00:00
Philip Abbey 0d3c76ef2e Update config.schema.json
Made the 'picker' field within 'tap_action' mandatory for a 'numeric' menu items.
2025-10-30 17:03:21 +00:00
Philip Abbey 4c946d584a Update HISTORY.md 2025-10-30 16:36:06 +00:00
Philip Abbey 6e3cf73ab3 Update manifest.xml
Reverted the application ID to one of the project's.
2025-10-30 11:50:56 +00:00
Philip Abbey 14186b7992 Documentation & source tidy for Lang.Dictionary items. 2025-10-30 11:39:19 +00:00
Philip Abbey f64bed5058 Add light effect selector example to Select.md (#301)
Added an example of a light effect selector in JSON format.
2025-10-30 09:03:58 +00:00
Philip Abbey 619671de5d Moved the contents of Select.md to Actions.md
Feels like we already have a home for the example without creating a separate new file.
2025-10-30 09:02:40 +00:00
Philip Abbey 6d18406880 Select schema version in web (#300)
To test the schema on a specific version:
```url
https://house-of-abbey.github.io/web/?version=v1.4
```
To test the schema on a specific branch:
```url
https://house-of-abbey.github.io/web/?branch=numeric-item-json-schema
```
To test the schema on an arbitrary URL (may be affected by cors):
```url
https://house-of-abbey.github.io/web/?schema={url}
```
2025-10-30 08:57:04 +00:00
Philip Abbey 3a7676f4bf Add Numeric Menu Item (#298)
Added a new numeric menu item to set numeric values e.g. for heating,
volume, dimmer etc.
2025-10-29 20:11:31 +00:00
Philip Abbey d1f6f6d9d2 Deduped picker variable 2025-10-29 15:14:30 +00:00
Philip Abbey 35333f4d75 Merge branch 'pr/298' into Picker-formatter 2025-10-29 15:13:13 +00:00
Philip Abbey a5ddb65512 Suggested code changes from philipabbey
1. attribute is option, so needs a different template in the API call when absent.
2. Automatically derive the format string from the picker step value for any precision of step.
3. Changed all Lang.String representations of numbers to Lang.Number or Lang.Float. I'm keen to remove the use of strings to hold a numeric value.
4. Tidied up and completed some code comments.
5. Adjusted the JSON schema definition. This is still not finished as the 'picker' object is required for 'numeric' menu items and must not be present for the others. Additional schema changes are required for greater precision.
6. Moved fields over from 'data' to 'picker'.
2025-10-29 14:26:02 +00:00
Philip Abbey 92e4278332 Update device reference link in manifest.xml
Signed-off-by: Philip Abbey <philipabbey@users.noreply.github.com>
2025-10-18 17:28:18 +01:00
Philip Abbey cb382d820f Removed files marked as unintended for committing. 2025-10-01 17:54:35 +01:00
Philip Abbey 236b09d7f6 293 add support for new devices (#295)
Device update. Note dodgy Edge 850 device.
2025-10-01 17:47:21 +01:00
Philip Abbey 06e7c89b60 Amended documentation for Edge devices 2025-09-30 16:58:34 +01:00
Philip Abbey 6fc6be2eef Update HomeAssistantApp.mc
Removed debug print statements.
2025-09-30 16:53:04 +01:00
Philip Abbey ac97a8af0d New devices and SDK demanded code updates
The SDK upgrade called for more careful specification of "or Null" on some fields in classes. The new devices have been added with their resource needs. Need to check if there's an issue with Edge 850 device.
2025-09-29 21:00:13 +01:00
Philip Abbey 28dc5a163c Internationalisation tidy up
Amended script and application history.
2025-09-14 14:13:57 +01:00
Philip Abbey 2729182420 Fix HomeAssistant in strings (#288) 2025-09-14 12:20:43 +01:00
Philip Abbey 9852ae39c3 Update HTTP_Headers.md
Missed some normalisation of 'HomeAssistant'.
2025-09-14 12:13:44 +01:00
Philip Abbey acdd44564b 2025 09 bug fixes (#285)
Three bug fixes.

1. Fixed a bug where templates failed to display in toggle menu items
(at least on some devices).
2. Fixed a bug where a menu item requesting to exit on completion
appeared to indicate failure when using Wi-Fi or LTE. The fix uses a
delay in exiting the application modelled as sufficient for a Venu 2
device, so this might need tweaking for other devices. Closes #283.
3. Attempt to fixed an "Out of Memory" bug caused by v3.3 by making
automatic checking for menu updates both optional and automatically
turned off when insufficient memory is available. This last bug is
device dependent and may require another attempt. Closes #284.
2025-09-13 20:09:26 +01:00
Philip Abbey 8db9820ffa Cosmetic change to docs
"Home Assistant" -> "HomeAssistant"
2025-09-13 20:06:10 +01:00
Philip Abbey ddc66baccb Re-translation of the HomeAssistant strings
I note that automatic translation has had some fun with the conversion of 'HomeAssistant', and not always desirable.
2025-09-13 20:02:06 +01:00
Philip Abbey 3566920114 Documentation update
New settings.
2025-09-13 12:05:49 +01:00
Philip Abbey 7ba0d76bf6 Added option to turn off automatic menu update checking
This is because it uses additional memory than can cause some older devices to crash unless they have smaller menus.
2025-09-13 11:06:29 +01:00
Philip Abbey e284cd2d4a 2 Bug fixes
1. Fixed a bug where templates failed to display in toggle menu items (at least on some devices).
2. Fixed a bug where a menu item requesting to exit on completion appeared to indicate failure when using Wi-Fi or LTE. The fix uses a delay in exiting the application modelled as sufficient for a Venu 2 device, so this might need tweaking for other devices.
2025-09-12 14:34:16 +01:00
Philip Abbey 46e44ada30 Update README.md
Added link to Github issues.
2025-09-08 21:43:05 +01:00
Philip Abbey 960a069d99 Fixes (#282)
Fixes
2025-09-07 16:56:37 +01:00
Philip Abbey c78ca4c318 Fixes 2025-09-07 14:43:18 +01:00
Philip Abbey d534c60998 Update HISTORY.md
Added 3.3 version string.
2025-09-05 18:16:41 +01:00
Philip Abbey 4b206f4501 Update README.md
Amended for new cache validation code.
2025-09-05 16:40:57 +01:00
Philip Abbey 03ff4b570b Initial version 2025-09-05 15:43:01 +01:00
Philip Abbey 27dc66d005 Update HomeAssistantApp.mc
Cosmetic
2025-09-05 10:36:35 +01:00
Philip Abbey 9dbae5a64a Cosmetic
Code tidy
2025-09-05 10:01:24 +01:00
Philip Abbey 2923c8faec Documentation update for v3.2 2025-08-15 17:54:19 +01:00
Philip Abbey a37b9842cb Update HISTORY.md
Amended v3.1 text. Added v3.2 text.
2025-08-15 17:26:32 +01:00
Philip Abbey 7d77a79ad8 Fix for update before Webhook ID (re-)created. 2025-08-15 17:04:54 +01:00
Philip Abbeyand__JosephAbbey 756647d156 Added Setting option to clear the Webhook ID
Co-Authored-By: __JosephAbbey <me@josephabbey.dev>
2025-08-15 15:23:30 +01:00
Philip Abbey 04dec1a8ba Merge branch 'main' into 273-only-reregister-sensors-if-the-setting-has-been-updated 2025-08-15 13:41:37 +01:00
Philip Abbey 46740fac76 Update HISTORY.md
Amended v3.1 test to include the bug fix.
2025-08-15 13:39:56 +01:00
Philip Abbey 649f0f250d 264 add custom https headers for eg cloudflare tunnels (#272)
Additional settings to provide a custom HTTP header so that the
application can work with Cloudflare's Web Application Firewall (WAF).
2025-08-15 13:09:27 +01:00
Philip Abbeyand__JosephAbbey 5a0bd98ddb Candidate bug fix for crash opening app from glance
Changed the function parameters on WebhookManager.onReturnRegisterWebhookSensor() to remove the last optional parameter that was causing the error message and this appears to keep the application happy on start up. Looks like an API request race between the glance's last call and the app first call.

Co-Authored-By: __JosephAbbey <me@josephabbey.dev>
2025-08-15 12:56:22 +01:00
Philip AbbeyandLars Pöpperl ce81c6af0a Review comments
Co-Authored-By: Lars Pöpperl <45465820+tispokes@users.noreply.github.com>
2025-08-11 20:07:10 +01:00
Philip Abbey 3d7b588d2c small doc suggestions (#271)
Thank you!
2025-08-10 20:52:29 +01:00
Philip Abbey 166b5f4ec3 Found a path to a crash condition
Preventing a de-reference of null when the HA server is unreachable.
2025-08-10 20:50:12 +01:00
Philip Abbey 57128bf7a4 Update README.md
Amended path to create security tokens.
2025-08-10 19:09:52 +01:00
Philip Abbey 64bebded0a Update GarminHomeAssistantSettings.png 2025-08-10 18:42:48 +01:00
Philip Abbey ad7d278072 Amended documentation
No longer using groups for sub-menus.
2025-08-10 14:39:55 +01:00
Philip Abbey dd484aa615 Fix for settings
HTTP-Headers settings no longer crash the application on the device. Group settings removed as they could be be changed a second time due to a bug in the SDK.
2025-08-10 14:08:52 +01:00
Philip Abbey f224268554 Documentation 2025-08-09 16:36:46 +01:00