Commit Graph
100 Commits
Author SHA1 Message Date
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
Philip AbbeyandLars Pöpperl e9f6ccfd0d Updated translations from @tispokes
Amended translate.py and created a batch script to ease of running the translations.

Co-Authored-By: Lars Pöpperl <45465820+tispokes@users.noreply.github.com>
2025-08-09 13:42:55 +01:00
Philip Abbey ad8a895f58 Added international strings
Required for new settings.
2025-08-09 11:41:22 +01:00
Philip Abbey 549b04f349 Minor fix to strings.xml
Both English and German to remove a historical ambiguity.
2025-08-09 11:08:06 +01:00
Philip Abbey dca99cc1a9 Merge branch 'main' into 264-add-custom-https-headers-for-eg-cloudflare-tunnels 2025-08-09 10:47:49 +01:00
Philip Abbey f76a4b60c7 Update deu translation (#265)
Kept some parts of older translations, renewed some,
can check the translation when you have added the headers :-)
2025-08-09 10:45:38 +01:00
Philip Abbey 24232acfbe Add TLS 1.2 compatibility guidance for Garmin Wi-Fi/LTE connection issues (#266)
This update adds a note to the “Limits of Use” section explaining that
some Garmin devices use TLS 1.2 for HTTPS handshakes. If a server or
proxy enforces a minimum TLS version of 1.3 or higher, users may
experience SSL handshake errors with the message HTTP request returned
error code = 0.

The documentation now includes:

An explanation of the issue

How to identify the error

A practical solution example for Cloudflare Tunneling users to lower the
minimum TLS version to 1.2

A security note advising against lowering TLS below 1.2

This helps users troubleshoot connectivity problems when using Wi-Fi or
LTE features on Garmin watches with Home Assistant.
2025-08-09 10:40:52 +01:00
Philip Abbey c1cddc54e4 Initial attempt
Lacking an end to end test on this code presently.
2025-08-08 11:40:13 +01:00
Philip Abbey 8a8d64bcab Update Wi-Fi.md
Videos only work when they are uploaded to https://github.com/user-attachments/assets/, so that means drag and drop the video into the markdown file rather than reference one already in your source tree.

Signed-off-by: Philip Abbey <philipabbey@users.noreply.github.com>
2025-07-25 18:42:37 +01:00
Philip Abbey 55bbb4901c Update HISTORY.md
Amended v3.0 change text.

Signed-off-by: Philip Abbey <philipabbey@users.noreply.github.com>
2025-07-25 12:32:27 +01:00
Philip Abbey 3396c6c47d Update manifest.xml
Careless previous commit with reduced device list, this reverts the file.
2025-07-25 12:00:52 +01:00
Philip Abbey 4cfd3ffb6b 260 documentation for wi fi enabled application (#261)
Proposed documentation for the Wi-Fi/LTE enabled Garmin Home Assistant App.
2025-07-25 11:52:08 +01:00
Philip Abbey d8f944b02f Merge branch 'main' into 260-documentation-for-wi-fi-enabled-application 2025-07-25 11:48:24 +01:00
Philip Abbey 3e0de7ad6e 259 code tidy (#262)
Should be functionally equivalent.
2025-07-25 11:47:47 +01:00
Philip Abbey 6574cf5bac Update GarminHomeAssistantSettings.png
New Wi-Fi option in Setting screen capture.
2025-07-25 11:42:38 +01:00
philipabbey e8f901167f Apply automatic changes 2025-07-25 09:17:03 +00:00
Philip Abbey d110826392 Amended Globals.mc
Moved wifiPollDelayMs to Globals class.
2025-07-25 08:38:55 +01:00
Philip Abbey d645adb3c9 Reuse translations (#263) 2025-07-25 08:23:02 +01:00
Philip Abbey 0d73de494e Tidy 2025-07-24 20:56:08 +01:00
Philip Abbey a686e1a104 Reordered settings 2025-07-24 19:49:44 +01:00
Philip Abbey 8868f2152c Comments & Dictionaries
Reformatted comments to work in VSCode and converted `dict.get(:key)` to `dict[:key]` syntax as its nicer.
2025-07-24 18:54:27 +01:00
Philip Abbey f28a060bf5 Update Wi-Fi.md
Added final note.
2025-07-24 11:04:58 +01:00
Philip AbbeyandVincent 5b58a0c1be Update Wi-Fi.md
Co-authored-by: Vincent <59287019+vincentezw@users.noreply.github.com>
Signed-off-by: Philip Abbey <philipabbey@users.noreply.github.com>
2025-07-24 11:01:52 +01:00