Configurable Menu

Uses a JSON file served by a URL.
This commit is contained in:
Philip Abbey
2023-10-31 20:49:38 +00:00
parent 8a4f514e6b
commit 7dd3ccc670
14 changed files with 550 additions and 137 deletions

View File

@ -1,3 +1,17 @@
<!--
Distributed under MIT Licence
See https://github.com/house-of-abbey/GarminHomeAssistant/blob/main/LICENSE.
GarminHomeAssistant is a Garmin IQ application written in Monkey C and routinely
tested on a Venu 2 device. The source code is provided at:
https://github.com/house-of-abbey/GarminHomeAssistant.
P A Abbey & J D Abbey, 31 October 2023
-->
<settings>
<setting
propertyKey="@Properties.api_key"
@ -8,4 +22,24 @@
type="alphaNumeric"
/>
</setting>
<setting
propertyKey="@Properties.api_url"
title="URL for Home Assistant API"
prompt="https://homeassistant.local/api"
>
<settingConfig
type="alphaNumeric"
/>
</setting>
<setting
propertyKey="@Properties.config_url"
title="URL for menu configuration (JSON)"
prompt="https://homeassistant.local/local/garmin/menu.json"
>
<settingConfig
type="alphaNumeric"
/>
</setting>
</settings>