Commit Graph

863 Commits

Author SHA1 Message Date
Philip Abbey
e1a2ca7c2c 361 prevent pin items for non touch screens (#363)
1. Originally intended bug fix:

<img width="577" height="890" alt="image"
src="https://github.com/user-attachments/assets/f04f720d-01f4-43fb-85ef-2b7e2a11099d"
/>

2. Fixes for the schema regarding numeric `tap_action`.
3. Code fix to initialise numeric pickers when no user defined template
is supplied.
4. Amended version history.
2026-06-24 18:55:22 +01:00
Philip Abbey
02a9472ac1 Update HISTORY.md 2026-06-24 02:10:38 +01:00
Philip Abbey
e0b5978406 Update HomeAssistantView.mc
Bug fix for numeric picker initialisation when no user defined template is supplied.
2026-06-24 02:02:18 +01:00
Philip Abbey
c48d74138a Update config.schema.json
Numeric's tap_action is different to the tap's, and re-using the $ref caused problems, so properties have been copied.
2026-06-24 01:38:34 +01:00
Philip Abbey
3404c7f679 Update schema for numeric tap_action and HISTORY
Add schema metadata and stricter validation for numeric tap_action: include title & description, disallow additionalProperties on the tap_action and its picker properties to better define the number picker payload. Update HISTORY.md with a 3.14 entry documenting numeric items now supporting tap_action.data and the PIN/menu behavior change, and credit the contributor.
2026-06-24 01:12:20 +01:00
Philip Abbey
8c5bdbc1f8 Non-touch screens cannot use PIN
When a menu item requests a PIN on devices without a touch screen, replace the menu item with an info item displaying a message for the user.
2026-06-24 00:17:26 +01:00
Philip Abbey
a97440b997 Preserve tap action data for numeric picker actions (#362)
Numeric menu items currently discard existing `tap_action.data` when
confirming a picker value. This prevents service call options such as
`transition` from being sent with `light.turn_on`.

This change passes `tap_action.data` into numeric menu items and merges
that data with the selected numeric picker value before calling the Home
Assistant service.

Example fixed payload:

```json
{
  "entity_id": "light.living_room",
  "transition": 2,
  "brightness": 128
}

Tested with a Forerunner 965 build and a Home Assistant light brightness numeric picker.
2026-06-23 23:27:45 +01:00
StumblingGamer
17690d4349 Proposing changes to documentation and JSON Schema
Added proposed documentation section explaining Numeric data object and also updated JSON schema to match changes.

I tested the numeric example with tap_action.data in the documented web editor. The current schema did not appear to reject the field,
likely because numeric tap_action does not currently forbid additional properties at that nested level. I still added data explicitly
to the numeric schema so it is documented, discoverable, and type-checked as an object.
2026-06-23 11:12:00 -04:00
StumblingGamer
b1fb5d9417 Preserve tap action data for numeric picker actions
Pass tap_action.data into numeric menu items and merge it with the selected picker value before calling the Home Assistant service.
2026-06-22 11:03:23 -04:00
Philip Abbey
2fb59d2a56 Update Actions.md
Main update is to point out the obvious that a PIN can only be used with touch screen enabled devices. Some additional tidying too.
2026-06-18 08:30:53 +01:00
Joseph Abbey
3e3f60c47c Added support for 4 new devices (#360)
Added support for new devices: `d2mach2pro`, `fr170`, `fr170m`, `fr70`.
v3.13
2026-06-13 12:27:20 +01:00
Philip Abbey
7c4a23866c Added support for 4 new devices 2026-06-13 12:25:57 +01:00
Philip Abbey
dbd2b4a568 Amended documentation about special characters in the glance view
And a couple of code tidy items too.
2026-05-15 09:41:44 +01:00
Philip Abbey
ed89d1da74 Revise bug report template for clarity
Updated bug report template to clarify issue attribution and wording.

Signed-off-by: Philip Abbey <philipabbey@users.noreply.github.com>
2026-04-12 12:56:52 +01:00
Philip Abbey
799288f36f Added new review to Etiquette documentation. 2026-04-02 16:41:50 +01:00
Philip Abbey
2a68fcc95d Send last known location in Background Service (#350)
Changes to location sending and accuracy.
v3.12
2026-03-16 19:56:39 +00:00
Joseph Abbey
b781c054d2 Merge branch 'main' into 348-send-gps-location-with-last-known-quality 2026-03-16 18:33:36 +00:00
Philip Abbey
cc32abab28 Amended documentation to cover Glance view crash 2026-03-13 10:34:47 +00:00
Philip Abbey
c8953021e3 Commentry and documentation 2026-03-11 18:08:50 +00:00
Philip Abbey
5ddcc14c54 Update BackgroundServiceDelegate.mc
Added comment about reasoning for accuracy.
2026-03-11 14:39:36 +00:00
Philip Abbey
6d0f449904 Update BackgroundServiceDelegate.mc
Amended accuracy for QUALITY_LAST_KNOWN.
2026-03-11 14:34:50 +00:00
Philip Abbey
07f3be0d26 Update BackgroundServiceDelegate.mc
Changes to location sending and accuracy.
2026-03-10 21:55:06 +00:00
Philip Abbey
2f76d68f1b 342 allow two user supplied http headers (#346)
This should enable enough headers for username and password type
situations.
v3.11
2026-03-03 21:06:36 +00:00
Philip Abbey
53ed5083ce Merge branch 'main' into 342-allow-two-user-supplied-http-headers 2026-03-03 20:12:21 +00:00
Philip Abbey
124d949faa Changed the Glance behaviour and design to avoid out of memory errors (#344)
Store the smaller "glance" subsection of the JSON menu in Storage under
a new key (scStorageKeyGlance) and read the glance template from that
cache to prevent out-of-memory errors from large menus. Removed menu
status field from the Glance UI and simplified the status view to a
single API status line when no custom template is present. Documentation
and images updated to reflect changes.

Don't merge yet, I will test on my watch first.
2026-03-03 19:47:38 +00:00
Philip Abbey
ca854cab75 Create Venu2_Glance_good.png
Actually a replacement for the one deleted that is used in the App Store.
2026-03-01 15:22:07 +00:00
Philip Abbey
68e7761684 Merge branch 'main' into 343-glance-text-not-visible-on-venu-33s-works-on-one-out-8f-3-devices 2026-03-01 08:39:01 +00:00
Philip Abbey
00649653bb Update HISTORY.md 2026-03-01 08:35:31 +00:00
Philip Abbey
8893e596ec Update HomeAssistantNumericPicker.mc
Code tidy
2026-03-01 08:29:39 +00:00
Philip Abbey
e9bce71748 Refactor HomeAssistantNumericPicker for improved value parsing (#345)
ref
https://github.com/house-of-abbey/GarminHomeAssistant/issues/238#issuecomment-3941469731

fix numberpicker issue
refactored with Amazon Q
tested on Vivoactive 5 (simulator and device)
tested on Venu2 (simulator only)
2026-03-01 08:24:58 +00:00
poaudet
adc04ea9a2 Refactor HomeAssistantNumericPicker to improve value parsing and initialization 2026-02-28 16:50:28 -05:00
Philip Abbey
fdf73563a3 Update HTTP_Headers.md 2026-02-28 19:56:18 +00:00
Philip Abbey
600656b90c Settings screen captures 2026-02-28 19:33:21 +00:00
poaudet
7daa07f52f first commit 2026-02-28 14:15:09 -05:00
Philip Abbey
6721a13e99 Update HomeAssistantApp.mc
Faster custom Glance update.
2026-02-28 18:51:42 +00:00
Philip Abbey
ea145424ee Revise Cloudflare Access example
Signed-off-by: Philip Abbey <philipabbey@users.noreply.github.com>
2026-02-28 18:50:20 +00:00
Philip Abbey
79ede44ea1 Update HTTP_Headers.md
Added new example for two user supplied HTTP headers, subject to checking by the author of the issue. (Missed off the previous commit this this file.)
2026-02-28 18:21:34 +00:00
Philip Abbey
b6cec5a6d4 Update Glance.md
Fixed typo.
2026-02-28 18:10:49 +00:00
Philip Abbey
75ccf7dc01 Merge branch 'main' into 343-glance-text-not-visible-on-venu-33s-works-on-one-out-8f-3-devices 2026-02-28 18:09:43 +00:00
Philip Abbey
3386077e6f Merge branch 'main' into 342-allow-two-user-supplied-http-headers 2026-02-28 18:02:47 +00:00
Philip Abbey
6596b5fa5d Markdown documentation linting 2026-02-28 18:01:50 +00:00
Philip Abbey
1568aded26 Update HTTP_Headers.md
Added new example for two user supplied HTTP headers, subject to checking by the author of the issue.
2026-02-28 18:00:45 +00:00
Philip Abbey
651c9462e0 Added second HTTP Header field
NB. Need to update the translations in Github actions again.
2026-02-28 17:46:13 +00:00
Philip Abbey
b94343de4f Revise troubleshooting guide for API and SSL issues
Updated troubleshooting documentation for API testing and SSL certificate issues, including clearer instructions and formatting improvements.

Signed-off-by: Philip Abbey <philipabbey@users.noreply.github.com>
2026-02-28 16:47:20 +00:00
philipabbey
3e85b695ec Apply automatic changes 2026-02-28 16:26:58 +00:00
Philip Abbey
b29ee457ca Update strings.xml
Need to run translation on Github actions as I can't get the script to run locally.
2026-02-28 16:23:53 +00:00
Philip Abbey
cc2fc27532 Changed the Glance behaviour and design to avoid out of memory errors
Store the smaller "glance" subsection of the JSON menu in Storage under a new key (scStorageKeyGlance) and read the glance template from that cache to prevent out-of-memory errors from large menus. Removed menu status field from the Glance UI and simplified the status view to a single API status line when no custom template is present. Documentation and images updated to reflect changes.
2026-02-27 18:44:54 +00:00
Philip Abbey
188fb8feff Update Actions.md
Additional example and amended example.
2026-02-06 10:15:39 +00:00
Philip Abbey
e40e9280eb Added support for two new devices
d2mach2 & etrextouch.
v3.10
2026-01-29 17:55:36 +00:00
Philip Abbey
bc84186209 Update README.md (#340)
Unable to fix the out of memory issues for large JSON menu definitions, nor code around them. So listing a known issue as the best that can be done.
2026-01-29 17:29:48 +00:00