Compare commits

...

150 Commits
v1.2 ... v2.2

Author SHA1 Message Date
1db885e10f Merge branch '31-reduce-startup-delay' of ssh://github.com/house-of-abbey/GarminHomeAssistant into 31-reduce-startup-delay 2024-01-09 17:37:47 +00:00
40377e6887 Amended App settings screenshot 2024-01-09 17:37:41 +00:00
3b0b3fac32 Merge pull request #50 from house-of-abbey/restyled/31-reduce-startup-delay
Restyle 31 reduce startup delay
2024-01-09 11:02:51 +00:00
c1103d9325 Restyled by whitespace 2024-01-09 10:56:20 +00:00
864a832e69 GUI refresh amendments 2024-01-09 08:58:58 +00:00
9858ebbe73 Apply automatic changes 2024-01-08 00:18:56 +00:00
9724430168 Merge branch 'main' into 31-reduce-startup-delay 2024-01-08 00:14:05 +00:00
0a2d257421 Initial solution 2024-01-08 00:08:12 +00:00
92e6917589 Merge pull request #44 from house-of-abbey/42-uninternationalised-string-needs-adding-to-stringsxml
42 uninternationalised string needs adding to stringsxml
2024-01-07 21:27:29 +00:00
7c1082849d Merge pull request #46 from house-of-abbey/43-battery-reporting-stops-working-when-scrolling-trough-the-widget
Amend behaviour of background service for glances.
2024-01-07 20:59:37 +00:00
c78cd574b1 Merge pull request #47 from house-of-abbey/restyled/43-battery-reporting-stops-working-when-scrolling-trough-the-widget
Restyle Update Settings.mc
2024-01-07 19:13:01 +00:00
bbaee49825 Restyled by whitespace 2024-01-07 19:12:40 +00:00
874ced99c2 Update Settings.mc
Do not cancel the background service just because we show the app's glance.
2024-01-07 19:12:03 +00:00
97273155e1 Merge pull request #45 from house-of-abbey/restyled/42-uninternationalised-string-needs-adding-to-stringsxml
Restyle 42 uninternationalised string needs adding to stringsxml
2024-01-07 18:41:18 +00:00
0b35c24e65 Restyled by whitespace 2024-01-07 18:36:42 +00:00
6ae96cfd7c Apply automatic changes 2024-01-06 21:46:07 +00:00
c0787733b7 Amended as required
**/strings.xml need recreating server side.
2024-01-06 21:33:48 +00:00
24ebc72080 Documentation tidy
Co-Authored-By: Joseph Abbey <me@josephabbey.dev>
2024-01-06 21:23:38 +00:00
3b10bb9272 Update BatteryReporting.md
Co-Authored-By: Joseph Abbey <me@josephabbey.dev>
2024-01-06 21:17:28 +00:00
e8242490fd Merge branch 'main' of ssh://github.com/house-of-abbey/GarminHomeAssistant 2024-01-06 21:16:59 +00:00
a8c9085dc4 Updated troubleshooting guide.
Now includes battery level transmission debug.

Co-Authored-By: Joseph Abbey <me@josephabbey.dev>
2024-01-06 21:16:53 +00:00
1fa15c58a0 Update README.md 2024-01-06 19:04:47 +00:00
25205e715e Update README.md 2024-01-01 20:05:36 +00:00
5288e97b4f Merge pull request #38 from house-of-abbey/37-add-device-battery-logging-and-settings-class
37 add device battery logging and settings class
2024-01-01 19:37:37 +00:00
ff7cbee1ce Update README.md 2024-01-01 19:34:08 +00:00
14949d061a Update BatteryReporting.md 2024-01-01 19:27:52 +00:00
1f19341675 Add Battery_Guage_Screenshot.png 2024-01-01 19:26:40 +00:00
e07d9ddb9d Update to documentation 2024-01-01 18:29:12 +00:00
af542d92d8 Create BatteryReporting.md 2024-01-01 16:42:35 +00:00
6b074cb3c9 Update README.md
Added instructions for finding the correct parts of HA for API Keys and URLs thanks to a user.
2024-01-01 15:29:08 +00:00
bcaea763c5 Merge branch '37-add-device-battery-logging-and-settings-class' of ssh://github.com/house-of-abbey/GarminHomeAssistant into 37-add-device-battery-logging-and-settings-class 2024-01-01 15:26:02 +00:00
f112a333e7 Apply automatic changes 2024-01-01 14:31:38 +00:00
9a268eaf02 Updated RezStrings.mc
Variables are now read only via getters.
2024-01-01 14:17:04 +00:00
b039dfbc3b Added RezStrings.mc
The intention is to factorise out many copies of the same string to a central location. Now need to deal with making the variables read-only.
2024-01-01 12:57:50 +00:00
f22dc469fb Typo updates
GarminHomeAssistant/translate.py:119: DeprecationWarning: The 'text' argument to find()-type methods is deprecated. Use 'string' instead.
2023-12-31 16:44:20 +00:00
5c593cc66a Update README.md
Added version 2.1 changes.
2023-12-31 16:30:10 +00:00
ae72313f5e Settings reverted to a static class 2023-12-31 15:55:59 +00:00
56155f5f5c Added Watch Battery transmission
Added a background service to send the watch battery level to Home Assistant.
Changed the Glance View as requested by a user.
Updated to new HA icon using SVG in stead of PNG.
2023-12-31 15:22:21 +00:00
b2461a09e6 Screenshot for confirmation view 2023-12-24 18:52:19 +00:00
ca90cbdcff Merge pull request #35 from house-of-abbey/34-compilation-of-widget-application-plus-additional-devices
34 compilation of widget application plus additional devices
2023-12-24 17:54:29 +00:00
2ed8e9a3df Update HomeAssistantApp.mc
Found a bug when our Dynamic DNS went down. Can't update no menu items.
2023-12-24 12:43:34 +00:00
bb26e0048f Update README.md 2023-12-23 16:22:16 +00:00
5cf5e25ef5 Documentation update 2023-12-23 16:13:30 +00:00
d56ca9439c Apply automatic changes 2023-12-23 14:49:31 +00:00
76c2aaa249 Finishing off widget+app code changes.
Glance now updates the status.
Fix for quitting the application when persistently displaying an ErrorView.
Added option for Widget RootView to immediately start HomeAssistant without waiting for a tap as requested by a user.
2023-12-23 14:30:58 +00:00
3de2e25b5d Tidy up 2023-12-21 21:06:07 +00:00
27b6b63a7a Update ErrorView.mc
Made the view scalable. Odd that it was not before.
2023-12-21 16:47:21 +00:00
332a10867d Made RootView updateable
Changed the group/menu icon to be thicker.
2023-12-21 15:38:29 +00:00
c4e9eb1fb0 Apply automatic changes 2023-12-21 11:58:20 +00:00
3934ca53ba New glance and widget views
Added ability to test if we're a widget or a watch-app. Added troubleshooting documentation.
2023-12-21 11:37:30 +00:00
4e739e918e Update export.cmd
Typo
2023-12-18 16:18:56 +00:00
ead7e2e658 Tweakes
export.cmd amended cosmetically.
README.md version info updated.
2023-12-18 15:14:36 +00:00
648f0c1b8a Update README.md 2023-12-18 14:41:39 +00:00
f4e6e8848e 20 new devices and export of widget & application
Added 20 new devices and batch exportation (compilation) of both widget and application. Amended documentation.
2023-12-18 14:29:59 +00:00
8a799e4099 Apply automatic changes 2023-12-17 18:28:10 +00:00
02b20dd911 Merge pull request #33 from house-of-abbey/22-add-internationalisation-for-application-settings
Settings internationalised
2023-12-17 17:13:08 +00:00
642da4bab5 Update manifest.xml 2023-12-17 14:21:16 +00:00
4ab25ef860 Comment header update
Corrected spelling of username of contributor.
2023-12-17 12:46:20 +00:00
3ce4b7d3e8 Merge branch 'main' into 22-add-internationalisation-for-application-settings 2023-12-17 12:43:48 +00:00
9ee842051e Merge pull request #32 from house-of-abbey/29-vivoactive-4s-crashes-user-reported-error
29 vivoactive 4s crashes user reported error
2023-12-17 12:25:01 +00:00
19be6c28ed Update ErrorView.mc
Removed commented out code.
2023-12-17 12:10:52 +00:00
091cc7c2fe Update HomeAssistantService.mc
Amended comment.
2023-12-17 11:57:43 +00:00
fc2f509085 Merge branch 'main' into 29-vivoactive-4s-crashes-user-reported-error 2023-12-17 11:57:24 +00:00
e3a6da4c9f Merge pull request #30 from Someone0nEarth/widget_glance_prototype 2023-12-16 21:04:45 +00:00
ba5f90c682 Change bg color for error and root view 2023-12-16 22:02:19 +01:00
e6d5053ebb Use app name from resources for glance view 2023-12-16 21:49:23 +01:00
3d24301a72 Settings internationalised 2023-12-16 18:33:51 +00:00
16383f61a4 Added SomeoneOnEarth to all source headers
Give credit to a co-author.
2023-12-16 17:07:43 +00:00
f086d0d03b Bug fix for devices with API 3.1.0
1) Removed WatchUi.getCurrentView() API call in favour of a new method of ensuring only one ErrorView is pushed at a time.
2) Any error view will be cancelled when responses start working again, e.g. watch gets in Bluetooth range of the phone again.
3) Added error message decoding for misspelled entities.

Co-Authored-By: Joseph Abbey <me@josephabbey.dev>
2023-12-16 17:03:38 +00:00
0f157aca07 Add hint for widget related stuff 2023-12-16 17:46:19 +01:00
d2b9c3203d Add correction for German translation 2023-12-15 20:11:38 +01:00
aeb7620fb2 Add hint for glance related stuff 2023-12-15 20:11:11 +01:00
6c9cfc1c29 Alligned var naming 2023-12-15 19:12:45 +01:00
4454e77f35 Show longer texts on fetching + exit view properly 2023-12-15 13:18:49 +01:00
5d8c5125ff Improved initial/exit view texts + add i18n 2023-12-15 01:52:26 +01:00
9aa32703cc Directly quit w/o showing RootView (if possible) 2023-12-15 00:38:03 +01:00
3cc1dd88c3 Fix for older API versions 2023-12-15 00:31:47 +01:00
39c77bb284 Update manifest.xml
Reversing changes made by saving from the GUI manifest editor. I would like to retain the comments with the watch face properties.
2023-12-15 00:31:47 +01:00
f5095ac97a Code cleanups 2023-12-15 00:31:47 +01:00
6bb9d836ac Introducing Loading and Exit View for Widget 2023-12-15 00:31:41 +01:00
79b3bc6c21 Quick and dirty widget/glance implementation 2023-12-15 00:27:27 +01:00
8c5aa820ef Update README.md
Added version information for 1.7
2023-12-13 08:53:00 +00:00
a13f04fa6c Merge pull request #28 from j-a-n/confirm_timeout
Auto close confirmation dialog after timeout
2023-12-11 08:22:10 +00:00
143bcf08a7 Add application property "confirm_timeout"
After this time (in seconds), a confirmation dialog for an action is automatically closed and the action is cancelled.
Set to 0 to disable the timeout. The default value is 3 seconds.
2023-12-10 22:52:09 +01:00
ee3b2abed2 Auto close confirmation dialog after timeout 2023-12-10 12:16:01 +01:00
44d5bf8e93 Update README.md 2023-12-06 22:56:59 +00:00
fae2241f01 Merge pull request #24 from house-of-abbey/23-prevent-battery-drain-by-quitting-the-app-after-a-timeout
Initial version with "auto quit"
2023-12-06 22:43:42 +00:00
42e89906f6 Review comments 2023-12-06 22:09:22 +00:00
8c0540ee45 Initial version with "auto quit"
Quit the application after a user settable period of time based on a timeout value from the settings.
2023-12-02 19:04:53 +00:00
ea58171b2f Merge pull request #20 from house-of-abbey/19-feature-request-confirm-dialogue 2023-12-01 11:53:17 +00:00
531c3e972e Update config.schema.json
Added missing full stops.
2023-12-01 11:42:11 +00:00
2d07eaa9c6 Update HomeAssistantView.mc
Review comment about a random space.
2023-12-01 11:28:19 +00:00
0e443e33d3 Update config.schema.json
Tidy up of help text
2023-12-01 10:19:49 +00:00
e616a6bd76 Apply automatic changes 2023-12-01 10:10:43 +00:00
239f8a793b Apply automatic changes 2023-12-01 10:08:12 +00:00
fc22ca3497 Apply automatic changes 2023-12-01 10:03:11 +00:00
1df64286f0 Updated README
Also missed schema changes of the previous commit. Added a photo of the confirmation view.
2023-12-01 09:54:23 +00:00
0ab9cb800a Initial solution
For optional confirmation dialogue box.
2023-12-01 09:15:59 +00:00
3fe48be756 Update README.md
Adding some hints to avoid setup errors.
2023-11-30 18:56:42 +00:00
e41adff62d Update README.md
Added credit
2023-11-21 20:35:27 +00:00
ae403e724c Update README.md
Added description of v1.4
2023-11-21 20:31:32 +00:00
7fd90fe85d Apply automatic changes 2023-11-21 18:24:57 +00:00
3fadbb5757 Update translate.yml 2023-11-21 18:13:47 +00:00
d5b3b6a2c5 Merge pull request #15 from Someone0nEarth/lean_ui
Icons for Menu Types
2023-11-21 18:08:56 +00:00
4cc4aef300 Update HomeAssistantIconMenuItem.mc
Removed comment
2023-11-21 18:04:46 +00:00
71c1ccc229 Code review comment
Removed debug
Fixed manifest App ID for release
2023-11-21 17:58:18 +00:00
ce90d9d47f Single HomeAssistantService for all Taps
1. Amended code for a single HomeAssistantService for all 'tap's
2. Removed now redundant GET request for taps without a service now that having a service is enforced.
3. Determined that migrating API code from 'toggle's to the HomeAssistantService is awkward due to the close coupling with other methods in the class.
2023-11-20 21:32:35 +00:00
bcdcfdc66c Set showing icons for types as default 2023-11-19 17:04:22 +01:00
440980a96f Aligned naming of menu item types 2023-11-19 13:24:42 +01:00
ab995db5ba Removed redundant code from spike 2023-11-19 13:24:37 +01:00
604294ae0b Corrected log strings 2023-11-19 13:11:51 +01:00
5f8ffdce5e Changed color of tap and menu icon 2023-11-19 13:11:51 +01:00
eab2af72f8 Added app setting for left - right menu alignment 2023-11-19 13:11:51 +01:00
7bd3486724 Refactored icon submenu creation 2023-11-19 13:11:51 +01:00
d93aa78686 Refactored MenuItems creation 2023-11-19 13:11:48 +01:00
081a41737f Bugfix 2023-11-19 13:07:07 +01:00
2c09ab71a8 Lean UI spike use correct icons for menu and tap 2023-11-19 13:07:07 +01:00
8764969537 Leaner UI spike 2023-11-19 13:07:03 +01:00
a4db5e5699 Merge pull request #14 from house-of-abbey/10-separate-phone-connection-test-from-connection-available-test
10 separate phone connection test from connection available test
2023-11-18 16:02:08 +00:00
d6c6657ade Apply automatic changes 2023-11-18 16:01:19 +00:00
b90e6c7130 Connection reporting improvements and update resumption
Separation of phone connectivity and Internet access tests for finer grained feedback to the user.
Updates no longer stop on absence of Internet connectivity.
2023-11-18 15:52:02 +00:00
61311336da Update README.md 2023-11-18 07:28:50 +00:00
2742090b68 Merge pull request #12 from house-of-abbey/11-impose-the-requirement-for-a-service-field-for-taps
Tap menu items without a service tag will be ignored.
2023-11-17 18:01:03 +00:00
4b320086ee Tap menu items without a service tag will be ignored.
The JSON schema checker is relied on to highlight this error.
2023-11-17 17:51:01 +00:00
6b8892aee8 Update README.md
Added release notes for version 1.3.
2023-11-16 09:19:36 +00:00
fce353dc38 Apply automatic changes 2023-11-15 07:51:24 +00:00
647f92e9c6 2023-11-15 07:49:33 +00:00
c2bd0dfa40 Apply automatic changes 2023-11-14 23:18:35 +00:00
22f9fa6901 Rename resources-deu/corrections.xml to resources-deu/strings/corrections.xml 2023-11-14 23:09:59 +00:00
cf7be0bcd9 Create corrections.xml 2023-11-14 23:09:15 +00:00
6a2a70ba0b Merge pull request #8 from Someone0nEarth/correcting_german_translation 2023-11-14 23:05:59 +00:00
f58fe2d26d Apply automatic changes 2023-11-14 23:00:33 +00:00
812b601f86 Update translate.yml 2023-11-14 22:48:02 +00:00
b726b8b6ac Update translate.yml 2023-11-14 22:31:52 +00:00
abfddd22e2 Update translate.yml 2023-11-14 22:29:39 +00:00
5794d67058 Update translate.yml 2023-11-14 22:27:58 +00:00
a6b7c27bf8 Update translate.yml 2023-11-14 22:24:52 +00:00
c57d6c18cf Added French corrections to corrections.xml 2023-11-14 22:23:31 +00:00
ae346da3f2 Merge pull request #3 from Patrick44fr/patch-1 2023-11-14 22:16:08 +00:00
ff47e2c76c Merge branch 'main' into patch-1 2023-11-14 22:14:53 +00:00
f9efb7b9b8 Update translate.yml 2023-11-14 22:10:15 +00:00
f5e68da346 Merge pull request #6 from house-of-abbey/5-dont-overwrite-corrections-for-strings-xml 2023-11-14 22:09:14 +00:00
e05799bbbc Change to a seperate corrections file 2023-11-14 22:07:02 +00:00
34bead8b67 Merge pull request #7 from house-of-abbey/2-tap-or-toggle-dont-work-on-venu-2
Changes required for 2-tap-or-toggle-dont-work-on-venu-2
2023-11-14 21:32:30 +00:00
33bc12d779 Update HomeAssistantMenuItem.mc
Review comments. Vibrate on tap, visual confirmation on receipt of response.
2023-11-14 21:14:32 +00:00
28a2616021 Correct German translation 2023-11-14 19:14:22 +01:00
2ccd2bfbff Changes required for 2-tap-or-toggle-dont-work-on-venu-2
Made the 'service' field for taps mandatory.
This makes scripts work for both the emulator and real devices.
Provide a response for automations started with a tap, and now they can be used for both tap and toggle.
2023-11-14 08:35:38 +00:00
c57324f7ad Create translate.yml 2023-11-13 23:00:57 +00:00
3c7d9e8b41 Updated translate script to use corrected attr 2023-11-13 22:46:10 +00:00
ba8812a6ab Update strings.xml 2023-11-11 19:43:21 +01:00
190 changed files with 5400 additions and 826 deletions

35
.github/workflows/translate.yml vendored Normal file
View File

@ -0,0 +1,35 @@
name: Translate
on:
workflow_dispatch:
# push:
# paths:
# - "resources/strings/strings.xml"
# - "translate.py"
# - "resources-*/strings/corrections.xml"
jobs:
translate:
runs-on: ubuntu-latest
permissions:
# Give the default GITHUB_TOKEN write permission to commit and push the
# added or changed files to the repository.
contents: write
steps:
- uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v4.7.1
- run: |
pip install beautifulsoup4
pip install deep-translator
pip install lxml
- run: python translate.py
# Commit all changed files back to the repository
- uses: stefanzweifel/git-auto-commit-action@v5
with:
push_options: '--force'

3
.gitignore vendored
View File

@ -2,3 +2,6 @@ bin/
export/
**/Thumbs.db
settings.txt
Thumbs.db
# This file contain credentials, instead provide the empty file ClientId.mc.unpopulated
source/ClientId.mc

145
BatteryReporting.md Normal file
View File

@ -0,0 +1,145 @@
# Battery Reporting
From version 2.1 the application includes a background service to report the current device battery level and charging status back to Home Assistant. This is a feature that Garmin omitted to include with the Bluetooth connection.
## Start Reporting
The main drawback of this solution is that the Garmin application must be run once with the feature enabled in the settings before reporting will start. Reporting continues after you have exited the application. This is a limit we cannot code around.
## Stop Reporting
To stop the reporting, the option must be turned off in the settings and then the application run once. Running the application then removes the background service.
In both cases, the enable and repeat time settings can be changed whilst the application is running (i.e. live) and the background service will be amended.
## Listening for the `device_id`
Open the event viewer in Home Assistant and add `garmin.battery_level` as the event to listen to as shown below.
[![Open your Home Assistant instance and show your event developer tools.](https://my.home-assistant.io/badges/developer_events.svg)](https://my.home-assistant.io/redirect/developer_events/)
<img src="images/Battery_Event_Screenshot.png" width="600" title="Listening for battery events"/>
```yaml
event_type: garmin.battery_level
data:
level: 45.072266
device_id: e1004acb747607bc205a6ff7bd05a4c12faf3d6d
is_charging: false
origin: REMOTE
time_fired: "2024-01-01T18:15:35.900991+00:00"
context:
id: 01HK33T06WW4D9NEXJ9F6SRYNY
parent_id: null
user_id: 35e0e5a7e4bc49e9a328743697c58b90
```
The `device_id` is consistent for our purposes. It does change between devices and also between the 'application' and 'widget' installations. Different device model simulators also vary the `device_id`. Here we want to extract `e1004acb747607bc205a6ff7bd05a4c12faf3d6d` for use in the sample YAML `trigger` above.
## Setting up the trigger to update the entity
The watch will send HTTP requests to HomeAssistant every 5+ minutes in a background service. The events produced by the HTTP requests can be listened for with a template entity. In this case we have two (battery level and is charging).
```yaml
- trigger:
- platform: "event"
event_type: "garmin.battery_level"
event_data:
device_id: "<device-id>"
sensor:
- name: "<device-name> Battery Level"
unique_id: "<uid-0>"
device_class: "battery"
unit_of_measurement: "%"
state_class: "measurement"
state: "{{ trigger.event['data']['level'] }}"
icon: mdi:battery{% if trigger.event['data']['is_charging'] %}-charging{% endif %}{% if 0 < (trigger.event['data']['level'] | float / 10 ) | round(0) * 10 < 100 %}-{{ (trigger.event['data']['level'] | float / 10 ) | round(0) * 10 }}{% else %}{% if (trigger.event['data']['level'] | float / 10 ) | round(0) * 10 == 0 %}-outline{% else %}{% if trigger.event['data']['is_charging'] %}-100{% endif %}{% endif %}{% endif %}
attributes:
device_id: "<device-id>"
- trigger:
- platform: "event"
event_type: "garmin.battery_level"
event_data:
device_id: "<device-id>"
binary_sensor:
- name: "<device-name> is Charging"
unique_id: "<uid-1>"
device_class: "battery_charging"
state: "{{ trigger.event['data']['is_charging'] }}"
attributes:
device_id: "<device-id>"
```
1. Copy this yaml to your `configuration.yaml`.
2. Swap `<device-name>` for the name of your device (This can be anything and is purely for the UI). Swap `<uid-0>` and `<uid-1>` for two different unique identifiers (in the Studio Code Server these can be generated from the right click menu).
3. Open the event dashboard and start listening for `garmin.battery_level` events and when your recieve one copy the device id and replace `<device-id>` with it (to speed up this process you can close and reopen the GarminHomeAssistant app).
[![Open your Home Assistant instance and show your event developer tools.](https://my.home-assistant.io/badges/developer_events.svg)](https://my.home-assistant.io/redirect/developer_events/)
4. Restart HomeAssistant or reload the YAML.
[![Open your Home Assistant instance and show your server controls.](https://my.home-assistant.io/badges/server_controls.svg)](https://my.home-assistant.io/redirect/server_controls/)
## Adding a sample Home Assistant UI widget
A gauge for battery level with a chargin icon making use of [mushroom cards](https://github.com/piitaya/lovelace-mushroom), [card_mod](https://github.com/thomasloven/lovelace-card-mod) and [stack-in-card](https://github.com/custom-cards/stack-in-card):
<img src="images/Battery_Guage_Screenshot.png" width="120" title="Battery Guage"/>
```yaml
type: custom:stack-in-card
direction: vertical
cards:
- type: custom:mushroom-chips-card
card_mod:
style: |
ha-card {
height: 0.25rem;
}
chips:
- type: conditional
conditions:
- condition: state
entity: binary_sensor.<device>_is_charging
state: 'on'
chip:
type: entity
icon_color: yellow
entity: sensor.<device>_battery_level
content_info: none
use_entity_picture: false
card_mod:
style: |
ha-card {
border: none !important;
}
- type: conditional
conditions:
- condition: state
entity: binary_sensor.<device>_is_charging
state: 'off'
chip:
type: entity
entity: sensor.<device>_battery_level
content_info: none
use_entity_picture: false
card_mod:
style: |
ha-card {
border: none !important;
}
- type: gauge
entity: sensor.<device>_battery_level
unit: '%'
name: Watch
needle: false
severity:
green: 50
yellow: 20
red: 0
card_mod:
style: |
ha-card {
border: none !important;
}
```

View File

@ -2,10 +2,6 @@
"folders": [
{
"path": "."
},
{
"name": "abc",
"path": "../blah/abc"
}
],
"settings": {}

155
README.md
View File

@ -6,11 +6,21 @@ A Garmin application to provide a "dashboard" to control your devices via [Home
The application is designed around a simple scrollable menu where menu items have been extended to interface with the [Home Assistant API](https://developers.home-assistant.io/docs/api/rest/), e.g. to get the status of switches or lights for display on the toggle menu item. It is possible to nest menus, so there is a menu item to open a sub-menu. This can be arbitrarily deep and nested in the format of a tree of items, although you need to consider if reaching for your phone becomes quicker to select the device what you want to control.
It is important to note that your Home Assistant instance will need to be accessible via HTTPS with public SSL or all requests from the Garmin will not work. This cannot be a self-signed certificate, it must be a public certificate (You can get one for free from [Let's Encrypt](https://letsencrypt.org/) or you can pay for [Home Assistant cloud](https://www.nabucasa.com/)).
It is important to note that your Home Assistant instance will need to be accessible via HTTPS with public SSL or all requests from the Garmin will not work. This cannot be a self-signed certificate, it must be a public certificate. You can get one for free from [Let's Encrypt](https://letsencrypt.org/) or you can pay for [Home Assistant cloud](https://www.nabucasa.com/).
## Application Installation
**If you are struggling with getting the application to work, please consult the [trouble shooting](Troubleshooting.md#menu-configuration-url) guide first.**
Head over to the [GarminHomeAssistant](https://apps.garmin.com/en-US/apps/61c91d28-ec5e-438d-9f83-39e9f45b199d) application page on the [Connect IQ application store](https://apps.garmin.com/en-US/) to download the application.
## Widget or Application?
As of version 2.0, there are now two installable versions. For older devices before applications supported 'glances', there is a now widget version. These two version must be downloaded separately due to the way the Connect IQ App Store requires them to have separate application IDs. Therefore you need to choose which you want up front. Here how they compare.
| Version | Explanation |
|------------------------|-------------|
| Application (original) | For newer devices that allow glance views in their applications (e.g. Venu2), the GarminHomeAssistant application can be started either from a glance (with only the application name presently, no status) or from the list of applications and activities. Head over to the [GarminHomeAssistant](https://apps.garmin.com/en-US/apps/61c91d28-ec5e-438d-9f83-39e9f45b199d) application page on the [Connect IQ application store](https://apps.garmin.com/en-US/) to download the application. The application can be started two different ways, either from the glance in the carousel, or as an application from the list of applications & activities. With the latter, it is worth marking the application as a favourite.<hr><br/><img src="images/Venu2_app_start.png" width="200" title="Venu 2" style="margin:5px"/><img src="images/Vivoactive3_app_start.jpg" width="200" title="Venu 2" style="margin:5px"/><br/>If you place the application on your list of favourites, and rearrange it to appear near the top, then the item is just one button press away from the watch face. This second picture here shows the application menu on a Vivoactive 3 watch.<br/><img src="images/Venu2_glance_start.png" width="200" title="Venu 2" style="margin:5px"/><br/>On newer watches, you can also start the application from the glance carousel. The glance view here typically displays some trackable status, so ours provides some early indication of availability. Older watches will still allow you to start this application from the list of applications and activities. |
| Widget | For older devices that use widgets (e.g. Venu1) as opposed to applications with "glances", the GarminHomeAssistant application can instead be started from the widget carousel. This is a separate item in the Connect IQ AppStore and with this installation, the application will no longer appear in the list of applications and activities. Head over to the [GarminHomeAssistant](https://apps.garmin.com/en-US/apps/) widget page on the [Connect IQ application store](https://apps.garmin.com/en-US/) to download the widget.<hr><br/><img src="images/Venu_Widget_sim.png" width="200" title="Venu 2" style="margin:5px"/><br/>Typically the widget view implements something similar to the glance view, e.g. status, and exists in a widget carousel to allow you to select an application to launch. |
As the source code base for both is the same, the version numbers of each will be kept in step. that means that the widget version starts version numbering at 2.0 too.
## Dashboard Definition
@ -34,7 +44,11 @@ Example schema as shown in the images:
{
"entity": "script.food_on_table",
"name": "Food is Ready!",
"type": "tap"
"type": "tap",
"tap_action": {
"service": "script.turn_on",
"confirm": true
}
},
{
"entity": "light.bedside_light_switch",
@ -79,11 +93,21 @@ Example schema as shown in the images:
"name": "Garage Door Check",
"type": "toggle"
},
{
"entity": "automation.turn_off_usb_chargers",
"name": "Turn off USBs",
"type": "tap",
"tap_action": {
"service": "automation.trigger"
}
},
{
"entity": "scene.tv_light",
"name": "TV Lights Scene",
"type": "tap",
"service": "scene.turn_on"
"tap_action": {
"service": "scene.turn_on"
}
}
]
}
@ -99,28 +123,108 @@ The example above illustrates how to configure:
* Service invocation, e.g. Scene setting, (tap)
* A sub-menu to open (tap)
The example JSON shows an example usage of each of these Home Assistance entity types. Presently, an automation is the only one that can be either a 'tap' or a 'toggle'.
| HA Type | Tap | Toggle |
|------------|:---:|:------:|
| Switch | ❌ | ✅ |
| Light | ❌ | ✅ |
| Automation | ✅ | ✅ |
| Script | ✅ | ❌ |
| Scene | ✅ | ❌ |
NB. All 'tap' items must specify a 'service' tag.
Possible future extensions might include specifying the alternative texts to use instead of "On" and "Off", e.g. "Locked" and "Unlocked" (but wouldn't having locks operated from your watch be a security concern ;-))
The [schema](https://raw.githubusercontent.com/house-of-abbey/GarminHomeAssistant/main/config.schema.json) is checked by using a URL directly back to this GitHub source repository, so you do not need to install that file. You can just copy & paste your entity names from the YAML configuration files used to configure Home Assistant. With a submenu, there's a difference between "title" and "name". The "name" goes on the menu item, and the "title" at the head of the submenu. If your dashboard definition fails to meet the schema, the application will simply drop items with the wrong field names without warning.
### Old deprecated format
Version 1.5 brought in a change to the JSON schema so the follow old format remains useable but is no longer favoured. The schema now marks it as 'deprecated' to nudge people over.
```json
{
"entity": "scene.tv_light",
"name": "TV Lights Scene",
"type": "tap",
"service": "scene.turn_on"
}
```
The above should be replaced by the following:
```json
{
"entity": "scene.tv_light",
"name": "TV Lights Scene",
"type": "tap",
"tap_action": {
"service": "scene.turn_on"
}
}
```
This allows the `confirm` field to be accommodated in the `tap_action` along side the `service` tag, and follows the Home Assistant YAML format more closely.
## Editing the JSON file
You have options. The first is what we use.
1. **Best!** Use the [Studio Code Server](https://community.home-assistant.io/t/home-assistant-community-add-on-visual-studio-code/107863) addon for Home Assistant. You can then edit your JSON file in place.
2. Locally installed VSCode, or if not installed,
3. try the on-line version at https://vscode.dev/.
Paste in your JSON (and change the file type to JSON if not saving), it will then verify your file format and schema for you, highlighting any errors for you to fix.
A failure to get the file format right tends to mean that the response to the application errors with `INVALID_HTTP_BODY_IN_NETWORK_RESPONSE` (code of -400). This means the response did not contain JSON, it was probably an error message in plain text that could not be parsed by the Connect IQ API call. See [Toybox.Communications](https://developer.garmin.com/connect-iq/api-docs/Toybox/Communications.html) for the list of error code you might be present with on your device.
Make sure you can browse to the URL of your JSON file in a standard web browser to make sure it is accessible.
## API Key Creation
Having created your JSON definition for your dashboard, you need to create an API key for your personal account on Home Assistant.
Having created your JSON definition for your dashboard, you need to create an API key for your personal account on Home Assistant. You will need a [Long-Lived Access Token](https://developers.home-assistant.io/docs/auth_api/#long-lived-access-token). This is not obvious and is bound to your own Home Assistant account.
Follow the menu sequence: `HA -> user profile -> Long-lived access tokens`. Make sure you save the generated token before dismissing it. You may like to perform this task on your phone so that you can copy and paste it (and message yourself a copy too ;-).
![Long-Lived Access Token](images/Long_Lived_Access_Tokens.png)
Having created that token, before you dismiss the dialogue box with the value you will never see again, copy it somewhere safe. You need to paste this into the Garmin Application's settings.
## API URL
If you are using Nabu Casa then your Cloud API URL can be found by looking up your URL via `HA -> Settings -> Home Assistant Cloud -> Remote Control -> Nabu Casa URL` and don't forget to add `/api` to the end of the copied string.
![Nabu Casa Remote Control](images/Nabu_Casa_Remote_Control.png)
If you have built your own infrastructure, you really don't need any assistance with the API URL!
## Settings
Unfortunately the Settings dialogue box in the Garmin IQ application times out in Android when you go to a different screen (browser for example). When you go back to the Connect IQ application (select the view again) the settings dialogue box is broken and you have to open the Settings again, so you will need to save the settings every time before you switch applications to avoid losing the information you just put in.
You can instead use an application like [Microsoft's "Phone Link"](https://apps.microsoft.com/detail/9NMPJ99VJBWV?hl=en-gb&gl=US) that allows you to copy and paste between your PC and your phone.
**Please, please, please!** Copy and paste your API key and all URLs, do not retype as it will be wrong.
<img src="images/GarminHomeAssistantSettings.png" width="400" title="Application Settings"/>
1. Paste your API key you've just created into the top field.
1. Copy and paste your API key you've just created into the top field.
2. Add the URL for your Home Assistant API, e.g. `https://<homeassistant>/api`. (No trailing slash `/`` character as one gets appended when creating the URL and you do not want two.)
3. Add the URL of your JSON file, e.g. `https://<homeassistant>/local/garmin/<something>.json`.
You should now have a working application on your watch and be able to operate your Home Assistant devices for as long as your watch is within Bluetooth range of your phone.
The first toggle option selects between two menu presentations as follows:
| Menu Type | Image | Description |
|-----------------|------------------------------------------------------------------------|-------------|
| Icons (default) | <img src="images/Venu2_LeanUI.png" width="200" title="Venu 2"/> | "Lean User Interface" version removing the second row of text in favour of icons. Tap icons are blue with a pointing finger, menu items has three dots as favours by many graphical user interfaces. |
| Labels | <img src="images/Venu2_Original.png" width="200" title="Venu 2"/> | Initial version that had a second row of text. This extra text has yet to add much value. Menu and Tap actions are distinguished by text, and the toggle status is duplicated by text. A future version could possibly offer the means to customise the toggle menu item text, hence this option has not been deprecated yet. |
The second toggle setting is for "text alignment" and provides finer adjustment for right-to-left languages. Perhaps this could be made automatic based on device language.
The third toggle setting is for the Widget version of the application only. It allows the user to select a non-standard user interface behaviour. As soon as the menu is retrieved the widget view is replaced by the menu without waiting for a user selection. This has been included as requested by a user, but defaults to off which retains the expected user interactions.
## Tap Item Response
Its obvious that a toggle menu item has been triggered as the visible switch changes position and colour. Less obvious is that you have successfully triggered a tap operation.
@ -133,7 +237,7 @@ The application will display a 'toast' showing Home Assistant's friendly name of
Home Assistant will inevitably change the state of devices you are also controlling via your Garmin. The Garmin application does not maintain a web socket to listen for changes. Instead it must poll the Home Assistant API with your key. Therefore the application is not that responsive to changes. Instead there will be a delay of multiples of 100 ms per item whose status needs to be checked and amended.
The per toggle item delay is caused by a queue of responses to web requests filling up a queue and giving a [Communications](https://developer.garmin.com/connect-iq/api-docs/Toybox/Communications.html).`BLE_QUEUE_FULL` response code. For a Venu 2 Garmin watch an API call delay of 600 ms was found to be sustainable (500 ms was still too fast). The code now chains a sequence of updates, so as one finishes it invokes the next item's update. The more items requiring a status update that you pack into your dashboard, the slower each individual item will be updated!
The per toggle item delay is caused by a queue of responses to web requests filling up a queue and giving a [`Communications.BLE_QUEUE_FULL`](https://developer.garmin.com/connect-iq/api-docs/Toybox/Communications.html). response code. For a Venu 2 Garmin watch an API call delay of 600 ms was found to be sustainable (500 ms was still too fast). The code now chains a sequence of updates, so as one finishes it invokes the next item's update. The more items requiring a status update that you pack into your dashboard, the slower each individual item will be updated!
The thinking here is that the watch application will only ever be open briefly not persistently, so the delay in picking up state changes won't be observed often for any race condition between two controllers.
@ -143,6 +247,30 @@ As a consequence of this update mechanism, if you request changes too quickly yo
When you change the JSON file defining your dashboard, you must exit the application and the reopen it. It only takes a matter of a few seconds to pick up the new definition, but it is not automatic.
## Submitting Corrections for Translations
Initially all text has been created in English, and a [Python script](https://github.com/house-of-abbey/GarminHomeAssistant/blob/main/translate.py) (Google Translate under the hood) has been used to create the first version of all translations. We have been pleased to accept better translations from native language speakers, **thank you**. If you would like to submit improved translations, our preference is you do so via a Git pull request. If you are not comfortable doing this, then just raise an issue and someone will eventually pick the request up.
In order to submit a language correction please create an XML file called `corrections.xml` in the same directory as your language containing the corrected text. The format of the XML file follows that of `strings.xml`. As an example here are some corrected French translations found in directory [`resources-fre/strings/corrections.xml`](https://github.com/house-of-abbey/GarminHomeAssistant/tree/main/resources-fre/strings/corrections.xml):
```xml
<strings>
<string id="MenuItemOn">Activé</string>
<string id="MenuItemTap">Clic</string>
<string id="ApiFlood">Appels API trop rapide. Veuillez signaler cette erreur avec les détails de l'appareil.</string>
</strings>
```
The `id` attribute values are taken from the same names used in [`strings.xml`](https://github.com/house-of-abbey/GarminHomeAssistant/blob/main/resources-fre/strings/strings.xml). Not all `id` values need to be specified as missing `id`s will then use automatic translations. If the existing convention is followed then:
* The Python script will use the corrections in preference to translating, and
* Your pull request will be honoured without comment as we will take your corrections on trust.
## Battery Level Reporting
The application and widget both now include a background service to report your watch's battery level and charging status. This requires [significant setup](BatteryReporting.md) via YAML in Home Assistant to work. This is not for the feint hearted! We are keen to received improvements, but are reluctant to provide much in the way of support. The Home Assistant community, in particular the posts on the forum at [Bluetooth Battery Levels (Android)](https://community.home-assistant.io/t/bluetooth-battery-levels-android/661525), are your best source of support for this feature. We do however offer this [trouble shooting](Troubleshooting.md#watch-battery-level-reporting) guide.
## Version History
| Version | Comment |
@ -150,3 +278,14 @@ When you change the JSON file defining your dashboard, you must exit the applica
| 1.0 | Initial release for 26 devices. |
| 1.1 | Updated for 54 more devices, 80 in total. Scene support. Added vibrate acknowledgement for tap-based menu items. Falls back to a custom visual confirmation in the absence of 'toast' and vibrate support. Bug fix for large menus needing status updates. |
| 1.2 | Do not crash on zero items to update. Report unreachable URLs. Verify API URL does not have a trailing slash '/'. Increased HTTP response diagnosis. Reduced minimum API Level required from 3.3.0 to 3.1.0 to allow more device "part numbers" to be satisfied. |
| 1.3 | Tap for scripts was working in emulation but not on some phones. Decision is to make the 'service' field in the JSON compulsory for 'tap' menu items. This is a breaking change, but for many might be a fix for something not working correctly. Improve language support, we can now accept language corrections and prevent the automated translation of strings from clobbering manually refined entries. Thank you to two new contributors. |
| 1.4 | New lean user Interface with thanks to [Someone0nEarth](https://github.com/Someone0nEarth) for their contribution which is now the default. If you prefer the old style you can still select it in the settings. The provision of a 'service' tag is now not just heavily suggested by the JSON schema, it is enforced in code. With apologies to anyone suffering a breakage as a result. |
| 1.5 | <img src="images/confirmation_view.png" width="200" title="Confirmation View"/><br/>Added an optional confirmation dialogue view to prevent accidental execution of actions on mistaken tap. This also brings a change in the JSON schema to allow an optional field to specify that the confirmation should be used for a menu item. As we are now maturing and adding features we have decided to mitigate breaking changes to the JSON schema by being more careful to adopt the Home Assistant schema (noting there is a 1:1 mapping between YAML and JSON). This change does deprecate the top level `service` tag in favour of `tag_action` containing multiple fields including `service` & `confirm`. Users should migrate to the new format for the new functionality, but the timescale for actual deprecation are long and undecided. |
| 1.6 | Added a user configurable 'timeout' in seconds so that when no action is taken the application automatically closes, stopping the continuous polling for changes of status and hence saving the drain on the battery. This can be disabled with timeout=0. |
| 1.7 | Added timeout to confirmation views so that when used for security devices it does not linger when left unconfirmed. Thanks to [Jan Schneider](https://github.com/j-a-n) for the contribution. Known bug for devices not supporting [`WatchUi.getCurrentView()`](https://developer.garmin.com/connect-iq/api-docs/Toybox/WatchUi.html#getCurrentView-instance_function) API call which is only available on API Level 3.4.0, e.g. Vivoactive 4S. |
| 2.0 | A significant code base change to enable both a 'widget' version for older devices, e.g. Venu (1), and an application with a glance, e.g. Venu2. These two versions must now be distributed under separate application IDs, but they have the same code base. A further 20 more devices are now supported, the settings have been internationalised, and there's a bug fix for older devices when trying to display a helpful error message but instead the application crashed. This version has come from a significant collaboration with [Someone0nEarth](https://github.com/Someone0nEarth). |
| 2.1 | Deployment of an idea to provide Home Assistant with access to the watch battery level. Using this requires [significant setup](BatteryReporting.md) on the Home Assistant configuration and hence is detailed separately. Due to this, the default state for this battery option is _off_. Changed the application settings user interface to be more intuitive, and hence amended the way settings are managed in the background. |
## Known Issues
1. On some (old) devices (e.g. Vivoactive 3, Fexix 5s & Edge 520+), the menu does not update correctly to reflect changes in state effected by an external Home Assistant control. E.g. when the phone application changes the toggle status of a switch, the Garmin application does not reflect that change until the menu is touched or scrolled a little. This is a [known issue](https://forums.garmin.com/developer/connect-iq/i/bug-reports/menu2-doesn-t-allow-live-updates) already reported without a suggested software fix.

243
Troubleshooting.md Normal file
View File

@ -0,0 +1,243 @@
# Troubleshooting Guides
## Watch Menu and API
With either of the following setups, there are inevitably some problems along the way. GarminHomeAssistant is careful to rely only on having working URLs. Getting them working is the user's responsibility. However, we have developed some fault finding tools.
### Nabu Casa Setup
You can purchase cloud-based access to your Home Assistant from [Nabu Casa](https://www.nabucasa.com/), and then your setup will look something like this.
![Nabu Casa Setup](images/nabu_casa_setup.png)
* Your API URL would be of the format `https://<id>.ui.nabu.casa/api`
* Your Garmin Watch Menu would be of the format Menu: `https://<id>.ui.nabu.casa/local/garmin/menu.json`
Where `<id>` is your personal Nabu Casa account ID.
### Do It Yourself Setup
Before Nabu Casa, or if you wanted to manage your own infrastructure, you might have something like the following:
![Do It Yourself Setup](images/do_it_yourself_setup.png)
Now you have to manage:
* Dynamic DNS
* Public access via router port forwarding
* Security via HTTPS and URL forwarding
* Certificates for HTTPS via say [Let's Encrypt](https://letsencrypt.org/) (Nginx web server helps here)
* Proxy allow list in `configuration.yaml` as follows:
```yaml
http:
use_x_forwarded_for: true
trusted_proxies:
- 127.0.0.1
- 192.168.xx.xx # Server IP - AMEND THIS
- 172.30.32.0/23 # Docker IPs for NGINX
- 172.30.33.0/24 # SSL proxy server
- 172.16.0.0/12 #
```
### Menu Configuration URL
This URL is very simple, you should be able to read the contents returned in a standard web browser.
![Browser Address Bar URL](images/menu_url.png)
(Other browsers are available...)
The browser page should then display the JSON string you saved to the file on the web server. The point is this is a simple HTTP GET request with no bells and whistles.
The menu configuration can be hosted anywhere, it does not have to be on the Home Assistant web server. Just as long as it is reachable from your phone from which you Bluetooth connect to your watch, or you watch if it has direct Internet access.
### Home Assistant API URL
This is slightly trickier owning to the need to supply the API key. Here are three ways you can test your API URL is correctly configured. If successful, each of these should produce a JSON string output looking like:
```json
{"message":"API running."}
```
#### API: Linux, MacOS, UNIX, Cygwin etc
Save the following as a file called `api_test.sh`, edit to include your personal values for the variables, `chmod +x api_test.sh` and then execute with `./api_test.sh`.
```shell
#!/bin/bash
API_KEY="<Your API key>"
URL="https://<Your Domain>/api"
curl -s -X GET \
-H "Authorization: Bearer ${API_KEY}" \
-H "Content-Type: application/json" \
${URL}/
```
#### API: MS Windows
Save the following as a file called `api_test.cmd`, edit to include your personal values for the variables and then double click.
```cmd
@echo off
set API_KEY=<Your API key>
set URL=https://<Your Domain>/api
curl -s -X GET ^
-H "Authorization: Bearer %API_KEY%" ^
-H "Content-Type: application/json" ^
%URL%/
echo.
pause
```
![API Test MS-DOS Output](images/api_test_dos_output.png)
#### API: On-line
There's an online way of testing the API URL too, thanks to [REQBIN](https://reqbin.com/post-online). This has less setup and it can be saved if you log into the web site.
![API Test REQBIN](images/api_test_online.png)
### Top Problems
1. Failure to copy & paste keys and URLs leading to minor and hard to see errors in strings, even with protestations they are the same! (No they weren't...)
2. Accessibility of URLs, hence the above help guide.
## Watch Battery Level Reporting
For this you will need to have already got the main application or widget working with a menu in order to prove that the API calls are successful. We have proven this works with both our home brew infrastructure as well as Nabu Casa. Now with a script similar to one of the following two, you should be able to fake the watch API call and verify receipt by Home Assistant in the Event logging as shown in '[Listening for the `device_id`](BatteryReporting.md#listening-for-the-device_id)'.
#### Battery: Linux, MacOS, UNIX, Cygwin etc
Assume a file called: `send_battery.bash`
```shell
#!/bin/bash
#
# battery% charging {0|1}
# ./send_battery.bash 19 0
#
API_KEY="<Your API key>"
URL="https://<Your Domain>/api"
level=${1:-50}
is_charging=${2:-0}
echo "Battery Level = ${level}"
if [ ${is_charging} -eq 1 ]; then
is_charging=true
else
is_charging=false
fi
echo "Battery Charging? = ${is_charging}"
echo ""
curl -s -X POST \
-H "Authorization: Bearer ${API_KEY}" \
-H "Content-Type: application/json" \
-d '{"level": '${level}', "is_charging": '${is_charging}', "device_id": "Bash Script"}' \
${URL}/events/garmin.battery_level
```
Execute:
```
$ ./send_battery.bash 45 1
```
The output looks like this:
```
Battery Level = 45
Battery Charging? = true
{"message":"Event garmin.battery_level fired."}
```
NB. The device ID can be any string for the purposes of this testing. Your Garmin device will choose this ID for you when it submits the readings.
#### Battery: MS Windows
Assume a file called: `home_assistant_battery_level.cmd`
```cmd
@echo off
rem battery% charging {0|1}
rem ./home_assistant_battery_level 19 0
rem
set API_KEY=<Your API key>FEt_fGzW_lV0xitvJPkaQHSLhGm90ADovgMbJxdHH2I
set URL=https://<Your Domain>/api
if [%1] == [] (
set level=50
) else (
set level=%1
)
if [%1] == [] (
set is_charging=0
) else (
set is_charging=%2
)
echo "Battery Level = %level%"
if "%is_charging%"=="1" (
set is_charging=true
) else (
set is_charging=false
)
echo "Battery Charging? = %is_charging%"
echo.
curl -s -X POST ^
-H "Authorization: Bearer %API_KEY%" ^
-H "Content-Type: application/json" ^
-d "{\"level\": %level%, \"is_charging\": %is_charging%, \"device_id\": \"Batch File\"}" ^
%URL%/events/garmin.battery_level
echo.
pause
```
Execute:
```
> home_assistant_battery_level.cmd 41 1
```
The output looks like this:
```
"Battery Level = 41"
"Battery Charging? = true"
{"message":"Event garmin.battery_level fired."}
Press any key to continue . . .
```
NB. The device ID can be any string for the purposes of this testing. Your Garmin device will choose this ID for you when it submits the readings.
#### Battery: On-line
There's an online way of testing the API URL too, thanks to [REQBIN](https://reqbin.com/post-online). This has less setup and it can be saved if you log into the web site.
URL for copy & paste:
```
https://<Your Domain>/api/events/garmin.battery_level
```
![API Test REQBIN](images/api_test_online_battery1.png)
JSON for copy & paste:
```json
{"level": 19, "is_charging": true, "device_id": "REQBIN"}
```
![API Test REQBIN](images/api_test_online_battery2.png)

110
compile_sim.cmd Normal file
View File

@ -0,0 +1,110 @@
@echo off
rem -----------------------------------------------------------------------------------
rem
rem Distributed under MIT Licence
rem See https://github.com/house-of-abbey/GarminHomeAssistant/blob/main/LICENSE.
rem
rem -----------------------------------------------------------------------------------
rem
rem GarminHomeAssistant is a Garmin IQ application written in Monkey C and routinely
rem tested on a Venu 2 device. The source code is provided at:
rem https://github.com/house-of-abbey/GarminHomeAssistant.
rem
rem J D Abbey & P A Abbey, 28 December 2022
rem
rem For use when VS Code is misbehaving and failing to recompile before starting a simulation.
rem
rem Reference:
rem * Using Monkey C from the Command Line
rem https://developer.garmin.com/connect-iq/reference-guides/monkey-c-command-line-setup/
rem
rem -----------------------------------------------------------------------------------
rem Check this path is correct for your Java installation
set JAVA_PATH=C:\Program Files (x86)\Common Files\Oracle\Java\javapath
rem SDK_PATH should work for all users
set /p SDK_PATH=<"%USERPROFILE%\AppData\Roaming\Garmin\ConnectIQ\current-sdk.cfg"
set SDK_PATH=%SDK_PATH:~0,-1%\bin
rem Assume we can create and use this directory
set DEST=export
rem Device for simulation
set DEVICE=venu2
rem C:\>java -jar %SDK_PATH%\monkeybrains.jar -h
rem usage: monkeyc [-a <arg>] [-b <arg>] [--build-stats <arg>] [-c <arg>] [-d <arg>]
rem [--debug-log-level <arg>] [--debug-log-output <arg>] [-e]
rem [--Eno-invalid-symbol] [-f <arg>] [-g] [-h] [-i <arg>] [-k] [-l <arg>]
rem [-m <arg>] [--no-gen-styles] [-o <arg>] [-O <arg>] [-p <arg>] [-r] [-s
rem <arg>] [-t] [-u <arg>] [-v] [-w] [-x <arg>] [-y <arg>] [-z <arg>]
rem -a,--apidb <arg> API import file
rem -b,--apimir <arg> API MIR file
rem --build-stats <arg> Print build stats [0=basic]
rem -c,--api-level <arg> API Level to target
rem -d,--device <arg> Target device
rem --debug-log-level <arg> Debug logging verbosity [0=errors, 1=basic,
rem 2=intermediate, 3=verbose]
rem --debug-log-output <arg>Output log zip file
rem -e,--package-app Create an application package.
rem --Eno-invalid-symbol Do not error when a symbol is found to be invalid
rem -f,--jungles <arg> Jungle files
rem -g,--debug Print debug output
rem -h,--help Prints help information
rem -i,--import-dbg <arg> Import api.debug.xml
rem -k,--profile Enable profiling support
rem -l,--typecheck <arg> Type check [0=off, 1=gradual, 2=informative,
rem 3=strict]
rem -m,--manifest <arg> Manifest file (deprecated)
rem --no-gen-styles Do not generate Rez.Styles module
rem -o,--output <arg> Output file to create
rem -O,--optimization <arg> Optimization level [0=none, 1=basic, 2=fast
rem optimizations, 3=slow optimizations] [p=optimize
rem performance, z=optimize code space]
rem -p,--project-info <arg> projectInfo.xml file to use when compiling
rem -r,--release Strip debug information
rem -s,--sdk-version <arg> SDK version to target (deprecated, use -c
rem -t,--unit-test Enables compilation of unit tests
rem -u,--devices <arg> devices.xml file to use when compiling (deprecated)
rem -v,--version Prints the compiler version
rem -w,--warn Show compiler warnings
rem -x,--excludes <arg> Add annotations to the exclude list (deprecated)
rem -y,--private-key <arg> Private key to sign builds with
rem -z,--rez <arg> Resource files (deprecated)
rem Batch file's directory where the source code is
set SRC=%~dp0
rem drop last character '\'
set SRC=%SRC:~0,-1%
if not exist %DEST% (
md %DEST%
)
if exist %SRC%\export\HomeAssistant*.iq (
del /f /q %SRC%\export\HomeAssistant*.iq
)
echo.
echo Starting compilation for simulation on %DEVICE%.
echo.
rem call %SDK_PATH%\connectiq.bat
start "Simulator" "%SDK_PATH%\simulator.exe"
rem Compile PRG for a single device for side loading
"%JAVA_PATH%\java.exe" ^
-Xms1g ^
-Dfile.encoding=UTF-8 ^
-Dapple.awt.UIElement=true ^
-jar %SDK_PATH%\monkeybrains.jar ^
--output %SRC%\bin\HomeAssistant.prg ^
--jungles %SRC%\monkey.jungle ^
--private-key %SRC%\..\developer_key ^
--device %DEVICE%_sim ^
--warn
if %ERRORLEVEL% equ 0 (
%SDK_PATH%\monkeydo.bat %SRC%\bin\HomeAssistant.prg %DEVICE%
) else (
rem Wait to see errors
pause
)

View File

@ -12,8 +12,12 @@
"type": "object",
"properties": {
"entity": { "$ref": "#/$defs/entity" },
"name": { "type": "string" },
"type": { "const": "toggle" }
"name": { "title": "Your familiar name", "type": "string" },
"type": {
"title": "Menu item type",
"description": "One of 'tap, 'toggle' or 'group'.",
"const": "toggle"
}
},
"required": ["entity", "name", "type"],
"additionalProperties": false
@ -22,20 +26,37 @@
"type": "object",
"properties": {
"entity": { "$ref": "#/$defs/entity" },
"name": { "type": "string" },
"type": { "const": "tap" },
"service": { "$ref": "#/$defs/entity" }
"name": { "title": "Your familiar name", "type": "string" },
"type": {
"title": "Menu item type",
"description": "One of 'tap, 'toggle' or 'group'.",
"const": "tap"
},
"service": {
"$ref": "#/$defs/entity",
"deprecated": true,
"title": "Schema change:",
"description": "Use 'tap_action' instead to mirror Home Assistant."
},
"tap_action": { "$ref": "#/$defs/action" }
},
"required": ["entity", "name", "type"],
"oneOf": [
{ "required": ["entity", "name", "type", "service"] },
{ "required": ["entity", "name", "type", "tap_action"] }
],
"additionalProperties": false
},
"menu": {
"type": "object",
"properties": {
"entity": { "$ref": "#/$defs/entity" },
"name": { "type": "string" },
"name": { "title": "Your familiar name", "type": "string" },
"title": { "type": "string" },
"type": { "const": "group" },
"type": {
"title": "Menu item type",
"description": "One of 'tap, 'toggle' or 'group'.",
"const": "group"
},
"items": { "$ref": "#/$defs/items" }
},
"required": ["entity", "name", "title", "type", "items"],
@ -52,8 +73,23 @@
}
},
"entity": {
"title": "Home Assistant entity name",
"type": "string",
"pattern": "^[^.]+\\.[^.]+$"
},
"action": {
"title": "Action",
"description": "'confirm' field is optional.",
"type": "object",
"properties": {
"service": { "$ref": "#/$defs/entity" },
"confirm": {
"type": "boolean",
"default": false,
"description": "Confirm the action before execution as a precaution."
}
},
"required": ["service"]
}
}
}

122
export.cmd Normal file
View File

@ -0,0 +1,122 @@
@echo off
rem -----------------------------------------------------------------------------------
rem
rem Distributed under MIT Licence
rem See https://github.com/house-of-abbey/GarminHomeAssistant/blob/main/LICENSE.
rem
rem -----------------------------------------------------------------------------------
rem
rem GarminHomeAssistant is a Garmin IQ application written in Monkey C and routinely
rem tested on a Venu 2 device. The source code is provided at:
rem https://github.com/house-of-abbey/GarminHomeAssistant.
rem
rem J D Abbey & P A Abbey, 28 December 2022
rem
rem Export both the Application and the Widget IQ files for upload to Garmin's App Store.
rem
rem Reference:
rem * Using Monkey C from the Command Line
rem https://developer.garmin.com/connect-iq/reference-guides/monkey-c-command-line-setup/
rem
rem -----------------------------------------------------------------------------------
rem Check this path is correct for your Java installation
set JAVA_PATH=C:\Program Files (x86)\Common Files\Oracle\Java\javapath
rem SDK_PATH should work for all users
set /p SDK_PATH=<"%USERPROFILE%\AppData\Roaming\Garmin\ConnectIQ\current-sdk.cfg"
set SDK_PATH=%SDK_PATH:~0,-1%\bin
rem Assume we can create and use this directory
set DEST=export
rem C:\>java -jar %SDK_PATH%\monkeybrains.jar -h
rem usage: monkeyc [-a <arg>] [-b <arg>] [--build-stats <arg>] [-c <arg>] [-d <arg>]
rem [--debug-log-level <arg>] [--debug-log-output <arg>] [-e]
rem [--Eno-invalid-symbol] [-f <arg>] [-g] [-h] [-i <arg>] [-k] [-l <arg>]
rem [-m <arg>] [--no-gen-styles] [-o <arg>] [-O <arg>] [-p <arg>] [-r] [-s
rem <arg>] [-t] [-u <arg>] [-v] [-w] [-x <arg>] [-y <arg>] [-z <arg>]
rem -a,--apidb <arg> API import file
rem -b,--apimir <arg> API MIR file
rem --build-stats <arg> Print build stats [0=basic]
rem -c,--api-level <arg> API Level to target
rem -d,--device <arg> Target device
rem --debug-log-level <arg> Debug logging verbosity [0=errors, 1=basic,
rem 2=intermediate, 3=verbose]
rem --debug-log-output <arg>Output log zip file
rem -e,--package-app Create an application package.
rem --Eno-invalid-symbol Do not error when a symbol is found to be invalid
rem -f,--jungles <arg> Jungle files
rem -g,--debug Print debug output
rem -h,--help Prints help information
rem -i,--import-dbg <arg> Import api.debug.xml
rem -k,--profile Enable profiling support
rem -l,--typecheck <arg> Type check [0=off, 1=gradual, 2=informative,
rem 3=strict]
rem -m,--manifest <arg> Manifest file (deprecated)
rem --no-gen-styles Do not generate Rez.Styles module
rem -o,--output <arg> Output file to create
rem -O,--optimization <arg> Optimization level [0=none, 1=basic, 2=fast
rem optimizations, 3=slow optimizations] [p=optimize
rem performance, z=optimize code space]
rem -p,--project-info <arg> projectInfo.xml file to use when compiling
rem -r,--release Strip debug information
rem -s,--sdk-version <arg> SDK version to target (deprecated, use -c
rem -t,--unit-test Enables compilation of unit tests
rem -u,--devices <arg> devices.xml file to use when compiling (deprecated)
rem -v,--version Prints the compiler version
rem -w,--warn Show compiler warnings
rem -x,--excludes <arg> Add annotations to the exclude list (deprecated)
rem -y,--private-key <arg> Private key to sign builds with
rem -z,--rez <arg> Resource files (deprecated)
rem Batch file's directory where the source code is
set SRC=%~dp0
rem drop last character '\'
set SRC=%SRC:~0,-1%
if not exist %DEST% (
md %DEST%
)
if exist %SRC%\export\HomeAssistant*.iq (
del /f /q %SRC%\export\HomeAssistant*.iq
)
echo.
echo Starting export of HomeAssistant Application
echo.
"%JAVA_PATH%\java.exe" ^
-Xms1g ^
-Dfile.encoding=UTF-8 ^
-Dapple.awt.UIElement=true ^
-jar %SDK_PATH%\monkeybrains.jar ^
--api-level 3.1.0 ^
--output %SRC%\export\HomeAssistant-app.iq ^
--jungles %SRC%\monkey.jungle ^
--private-key %SRC%\..\developer_key ^
--package-app ^
--release
rem --warn
echo.
echo Starting export of HomeAssistant Widget
echo.
"%JAVA_PATH%\java.exe" ^
-Xms1g ^
-Dfile.encoding=UTF-8 ^
-Dapple.awt.UIElement=true ^
-jar %SDK_PATH%\monkeybrains.jar ^
--api-level 3.1.0 ^
--output %SRC%\export\HomeAssistant-widget.iq ^
--jungles %SRC%\monkey-widget.jungle ^
--private-key %SRC%\..\developer_key ^
--package-app ^
--release
rem --warn
echo.
echo Finished exporting HomeAssistant
dir %SRC%\export\HomeAssistant*.iq
pause

Binary file not shown.

Before

Width:  |  Height:  |  Size: 441 KiB

After

Width:  |  Height:  |  Size: 435 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 217 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 76 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 123 KiB

After

Width:  |  Height:  |  Size: 219 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 100 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 179 KiB

After

Width:  |  Height:  |  Size: 678 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 93 KiB

After

Width:  |  Height:  |  Size: 93 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 111 KiB

After

Width:  |  Height:  |  Size: 75 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 112 KiB

After

Width:  |  Height:  |  Size: 8.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 114 KiB

After

Width:  |  Height:  |  Size: 8.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 97 KiB

After

Width:  |  Height:  |  Size: 8.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 96 KiB

After

Width:  |  Height:  |  Size: 105 KiB

BIN
images/Venu2_LeanUI.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

BIN
images/Venu2_Original.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

BIN
images/Venu2_app_start.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.1 KiB

BIN
images/Venu_Widget_sim.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 71 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

BIN
images/api_test_online.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 812 KiB

BIN
images/menu_url.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

BIN
images/nabu_casa_setup.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 764 KiB

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 644 KiB

After

Width:  |  Height:  |  Size: 643 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 317 KiB

After

Width:  |  Height:  |  Size: 293 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 609 KiB

After

Width:  |  Height:  |  Size: 603 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 604 KiB

After

Width:  |  Height:  |  Size: 600 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 528 KiB

After

Width:  |  Height:  |  Size: 603 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 537 KiB

After

Width:  |  Height:  |  Size: 608 KiB

28
include/app/WidgetApp.mc Normal file
View File

@ -0,0 +1,28 @@
//-----------------------------------------------------------------------------------
//
// 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 & Someone0nEarth, 20 December 2023
//
//
// Description:
//
// A tedious diversion intended to make it possible to have the same source code for
// both a widget and an application. This file provides a single constant to
// determine which, and then the source file is conditionally included by the each
// .jungle file.
//
//-----------------------------------------------------------------------------------
using Toybox.Lang;
class WidgetApp {
static const isWidget = false;
}

View File

@ -0,0 +1,28 @@
//-----------------------------------------------------------------------------------
//
// 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 & Someone0nEarth, 20 December 2023
//
//
// Description:
//
// A tedious diversion intended to make it possible to have the same source code for
// both a widget and an application. This file provides a single constant to
// determine which, and then the source file is conditionally included by the each
// .jungle file.
//
//-----------------------------------------------------------------------------------
using Toybox.Lang;
class WidgetApp {
static const isWidget = true;
}

70
launcherIconResize.py Normal file
View File

@ -0,0 +1,70 @@
####################################################################################
#
# 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.
#
# J D Abbey & P A Abbey, 29 December 2023
#
#
# Description:
#
# Python script to automatically resize the application launcher icon from the
# original 70x70 pixel width to something more appropriate for different screen
# sizes.
#
# Python installation:
# pip install BeautifulSoup
# NB. For XML formatting:
# pip install lxml
#
# References:
# * https://www.crummy.com/software/BeautifulSoup/bs4/doc/
# * https://realpython.com/beautiful-soup-web-scraper-python/
# * https://www.crummy.com/software/BeautifulSoup/bs4/doc/#parsing-xml
# * https://www.crummy.com/software/BeautifulSoup/bs4/doc/#xml
#
####################################################################################
from bs4 import BeautifulSoup, Comment
import os
import shutil
output_dir_prefix = 'resources-launcher-'
# Original icons for 416x416 screen size with 70x70 icons
input_dir = output_dir_prefix + '70-70'
# Convert icons to different screen sizes by these parameters
lookup = [26, 30, 33, 35, 36, 40, 54, 60, 61, 62, 65, 80]
# Delete all but the original 48x48 icon directories
for entry in os.listdir("."):
if entry.startswith(output_dir_prefix) and entry != input_dir:
shutil.rmtree(entry)
# (Re-)Create the resized icon directories
for icon_size in lookup:
output_dir = output_dir_prefix + str(icon_size) + "-" + str(icon_size)
print("\nCreate directory:", output_dir)
if os.path.exists(output_dir) and os.path.isdir(output_dir):
shutil.rmtree(output_dir)
os.makedirs(output_dir)
for entry in os.listdir(input_dir):
if entry.endswith(".svg"):
print("Create file: ", entry.ljust(40) + " SVG - Change file")
with open(input_dir + "/" + entry, "r") as f:
soup = BeautifulSoup(f.read(), features="xml")
svg: BeautifulSoup = list(soup.children)[0]
h = int(svg.attrs["height"])
svg.attrs["width"] = icon_size
svg.attrs["height"] = icon_size
with open(output_dir + "/" + entry, "wb") as o:
o.write(svg.encode("utf-8"))
elif entry.endswith(".xml"):
print("Create file: ", entry.ljust(40) + " XML - Copy file")
shutil.copyfile(input_dir + "/" + entry, output_dir + "/" + entry)

195
manifest-widget.xml Normal file
View File

@ -0,0 +1,195 @@
<?xml version="1.0"?>
<!--
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 & Someone0nEarth, 31 October 2023
Device Information & References:
* https://developer.garmin.com/connect-iq/compatible-devices/
* https://developer.garmin.com/connect-iq/reference-guides/devices-reference/
Someone0nEarth's Test Widget id="bf69be91-5833-4d96-92ea-c5f1a9db5dcc" type="widget"
philipabbey's Test Widget id="4901cdfb-b4a2-4f33-96c7-f5be5992809e" type="widget"
Live Widget id="585af26f-6ff7-44e8-80dc-b3670e5b8648" type="widget"
-->
<iq:manifest version="3" xmlns:iq="http://www.garmin.com/xml/connectiq">
<!--
Use "Monkey C: Edit Application" from the Visual Studio Code command palette
to update the application attributes.
-->
<iq:application id="4901cdfb-b4a2-4f33-96c7-f5be5992809e" type="widget" name="@Strings.AppName" entry="HomeAssistantApp" launcherIcon="@Drawables.LauncherIcon" minApiLevel="3.1.0">
<!--
Use the following from the Visual Studio Code comand palette to edit
the build targets:
"Monkey C: Set Products by Product Category" - Lets you add all products
that belong to the same product category
"Monkey C: Edit Products" - Lets you add or remove any product
-->
<iq:products>
<iq:product id="approachs7042mm"/>
<iq:product id="approachs7047mm"/>
<iq:product id="d2air"/>
<iq:product id="d2airx10"/>
<iq:product id="d2delta"/>
<iq:product id="d2deltapx"/>
<iq:product id="d2deltas"/>
<iq:product id="d2mach1"/>
<iq:product id="descentg1"/>
<iq:product id="descentmk2"/>
<iq:product id="descentmk2s"/>
<iq:product id="edge1030"/>
<iq:product id="edge1030bontrager"/>
<iq:product id="edge1030plus"/>
<iq:product id="edge1040"/>
<iq:product id="edge520plus"/>
<iq:product id="edge530"/>
<iq:product id="edge820"/>
<iq:product id="edge830"/>
<iq:product id="edgeexplore"/>
<iq:product id="edgeexplore2"/>
<iq:product id="enduro"/>
<iq:product id="epix2"/>
<iq:product id="epix2pro42mm"/>
<iq:product id="epix2pro47mm"/>
<iq:product id="epix2pro51mm"/>
<iq:product id="fenix5"/>
<iq:product id="fenix5plus"/>
<iq:product id="fenix5s"/>
<iq:product id="fenix5splus"/>
<iq:product id="fenix5x"/>
<iq:product id="fenix5xplus"/>
<iq:product id="fenix6"/>
<iq:product id="fenix6pro"/>
<iq:product id="fenix6s"/>
<iq:product id="fenix6spro"/>
<iq:product id="fenix6xpro"/>
<iq:product id="fenix7"/>
<iq:product id="fenix7pro"/>
<iq:product id="fenix7pronowifi"/>
<iq:product id="fenix7s"/>
<iq:product id="fenix7spro"/>
<iq:product id="fenix7x"/>
<iq:product id="fenix7xpro"/>
<iq:product id="fenix7xpronowifi"/>
<iq:product id="fenixchronos"/>
<iq:product id="fr245"/>
<iq:product id="fr245m"/>
<iq:product id="fr255"/>
<iq:product id="fr255m"/>
<iq:product id="fr255s"/>
<iq:product id="fr255sm"/>
<iq:product id="fr265"/>
<iq:product id="fr265s"/>
<iq:product id="fr55"/>
<iq:product id="fr645"/>
<iq:product id="fr645m"/>
<iq:product id="fr745"/>
<iq:product id="fr935"/>
<iq:product id="fr945"/>
<iq:product id="fr945lte"/>
<iq:product id="fr955"/>
<iq:product id="fr965"/>
<iq:product id="gpsmap67"/>
<iq:product id="instinct2"/>
<iq:product id="instinct2s"/>
<iq:product id="instinct2x"/>
<iq:product id="instinctcrossover"/>
<iq:product id="legacyherocaptainmarvel"/>
<iq:product id="legacyherofirstavenger"/>
<iq:product id="legacysagadarthvader"/>
<iq:product id="legacysagarey"/>
<iq:product id="marq2"/>
<iq:product id="marq2aviator"/>
<iq:product id="marqadventurer"/>
<iq:product id="marqathlete"/>
<iq:product id="marqaviator"/>
<iq:product id="marqcaptain"/>
<iq:product id="marqcommander"/>
<iq:product id="marqdriver"/>
<iq:product id="marqexpedition"/>
<iq:product id="marqgolfer"/>
<iq:product id="montana7xx"/>
<iq:product id="venu"/>
<iq:product id="venu2"/>
<iq:product id="venu2plus"/>
<iq:product id="venu2s"/>
<iq:product id="venu3"/>
<iq:product id="venu3s"/>
<iq:product id="venud"/>
<iq:product id="venusq"/>
<iq:product id="venusq2"/>
<iq:product id="venusq2m"/>
<iq:product id="venusqm"/>
<iq:product id="vivoactive3"/>
<iq:product id="vivoactive3m"/>
<iq:product id="vivoactive3mlte"/>
<iq:product id="vivoactive4"/>
<iq:product id="vivoactive4s"/>
<iq:product id="vivoactive5"/>
</iq:products>
<!--
Use "Monkey C: Edit Permissions" from the Visual Studio Code command
palette to update permissions.
-->
<iq:permissions>
<iq:uses-permission id="Background"/>
<iq:uses-permission id="BluetoothLowEnergy"/>
<iq:uses-permission id="Communications"/>
</iq:permissions>
<!--
Use "Monkey C: Edit Languages" from the Visual Studio Code command
palette to edit your compatible language list.
-->
<iq:languages>
<iq:language>ara</iq:language>
<iq:language>bul</iq:language>
<iq:language>zhs</iq:language>
<iq:language>zht</iq:language>
<iq:language>hrv</iq:language>
<iq:language>ces</iq:language>
<iq:language>dan</iq:language>
<iq:language>dut</iq:language>
<iq:language>deu</iq:language>
<iq:language>gre</iq:language>
<iq:language>eng</iq:language>
<iq:language>est</iq:language>
<iq:language>fin</iq:language>
<iq:language>fre</iq:language>
<iq:language>heb</iq:language>
<iq:language>hun</iq:language>
<iq:language>ind</iq:language>
<iq:language>ita</iq:language>
<iq:language>jpn</iq:language>
<iq:language>kor</iq:language>
<iq:language>lav</iq:language>
<iq:language>lit</iq:language>
<iq:language>zsm</iq:language>
<iq:language>nob</iq:language>
<iq:language>pol</iq:language>
<iq:language>por</iq:language>
<iq:language>slo</iq:language>
<iq:language>ron</iq:language>
<!-- <iq:language>rus</iq:language> -->
<iq:language>slv</iq:language>
<iq:language>spa</iq:language>
<iq:language>swe</iq:language>
<iq:language>tha</iq:language>
<iq:language>tur</iq:language>
<iq:language>ukr</iq:language>
<iq:language>vie</iq:language>
</iq:languages>
<!--
Use "Monkey C: Configure Monkey Barrel" from the Visual Studio Code
command palette to edit the included barrels.
-->
<iq:barrels/>
</iq:application>
</iq:manifest>

View File

@ -9,19 +9,29 @@
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
P A Abbey & J D Abbey & Someone0nEarth, 31 October 2023
Test Application id="98c36259-498a-4458-9cef-74a273ad2bc3"
Live Application id="40131e87-31ff-454b-a8e2-92276ee399d6"
Device Information & References:
* https://developer.garmin.com/connect-iq/compatible-devices/
* https://developer.garmin.com/connect-iq/reference-guides/devices-reference/
philipabbey's Test App id="98c36259-498a-4458-9cef-74a273ad2bc3" type="watch-app"
Live Application id="40131e87-31ff-454b-a8e2-92276ee399d6" type="watch-app"
-->
<iq:manifest version="3" xmlns:iq="http://www.garmin.com/xml/connectiq">
<!--
Use "Monkey C: Edit Application" from the Visual Studio Code command palette
to update the application attributes.
-->
<iq:application id="40131e87-31ff-454b-a8e2-92276ee399d6" type="watch-app" name="@Strings.AppName" entry="HomeAssistantApp" launcherIcon="@Drawables.LauncherIcon" minApiLevel="3.1.0">
<!--
Testing in VSCode requires monkey.jungle, so for convenience, swap between
watch-app and widget by changing which of the next two lines are commented out
-->
<iq:application id="98c36259-498a-4458-9cef-74a273ad2bc3" type="watch-app" name="@Strings.AppName" entry="HomeAssistantApp" launcherIcon="@Drawables.LauncherIcon" minApiLevel="3.1.0">
<!--
<iq:application id="4901cdfb-b4a2-4f33-96c7-f5be5992809e" type="widget" name="@Strings.AppName" entry="HomeAssistantApp" launcherIcon="@Drawables.LauncherIcon" minApiLevel="3.1.0">
-->
<!--
Use the following from the Visual Studio Code comand palette to edit
the build targets:
@ -30,110 +40,80 @@
"Monkey C: Edit Products" - Lets you add or remove any product
-->
<iq:products>
<!--
Device Information & References:
* https://developer.garmin.com/connect-iq/compatible-devices/
* https://developer.garmin.com/connect-iq/reference-guides/devices-reference/
-->
<!-- Screen Size 390x390 launcher icon size 70x70 -->
<iq:product id="approachs7042mm"/>
<!-- Screen Size 454x454 launcher icon size 80x80 -->
<iq:product id="approachs7047mm"/>
<!-- Screen Size 176x176 launcher icon size 62x62 -->
<iq:product id="descentg1"/>
<!-- Screen Size 280x280 launcher icon size 40x40 -->
<iq:product id="descentmk2"/>
<!-- Screen Size 240x240 launcher icon size 40x40 -->
<iq:product id="descentmk2s"/>
<!-- Screen Size 416x416 launcher icon size 70x70 -->
<iq:product id="d2air"/>
<iq:product id="d2airx10"/>
<!-- Screen Size 416x416 launcher icon size 60x60 -->
<iq:product id="d2delta"/>
<iq:product id="d2deltapx"/>
<iq:product id="d2deltas"/>
<iq:product id="d2mach1"/>
<!-- Screen Size 282x470 launcher icon size 36x36 -->
<iq:product id="descentg1"/>
<iq:product id="descentmk2"/>
<iq:product id="descentmk2s"/>
<iq:product id="edge1030"/>
<iq:product id="edge1030bontrager"/>
<iq:product id="edge1030plus"/>
<!-- Screen Size 282x470 launcher icon size 40x40 -->
<iq:product id="edge1040"/>
<!-- Screen Size 246x322 launcher icon size 35x35 -->
<iq:product id="edge520plus"/>
<iq:product id="edge530"/>
<iq:product id="edge820"/>
<iq:product id="edge830"/>
<!-- Screen Size 240x400 launcher icon size 36x36 -->
<iq:product id="edgeexplore"/>
<iq:product id="edgeexplore2"/>
<!-- Screen Size 280x280 launcher icon size 40x40 -->
<iq:product id="enduro"/>
<!-- Screen Size 416x416 launcher icon size 60x60 -->
<iq:product id="epix2"/>
<!-- Screen Size 390x390 launcher icon size 60x60 -->
<iq:product id="epix2pro42mm"/>
<iq:product id="epix2pro47mm"/>
<!-- Screen Size 454x454 launcher icon size 60x60 -->
<iq:product id="epix2pro51mm"/>
<!-- Screen Size 240x240 launcher icon size 40x40 -->
<iq:product id="fenix5"/>
<iq:product id="fenix5plus"/>
<iq:product id="fenix5s"/>
<iq:product id="fenix5splus"/>
<iq:product id="fenix5x"/>
<iq:product id="fenix5xplus"/>
<!-- Screen Size 260x260 launcher icon size 40x40 -->
<iq:product id="fenix6"/>
<iq:product id="fenix6pro"/>
<!-- Screen Size 240x240 launcher icon size 40x40 -->
<iq:product id="fenix6s"/>
<iq:product id="fenix6spro"/>
<!-- Screen Size 280x280 launcher icon size 40x40 -->
<iq:product id="fenix6xpro"/>
<!-- Screen Size 260x260 launcher icon size 40x40 -->
<iq:product id="fenix7"/>
<!-- Screen Size 260x260 launcher icon size 40x40 -->
<iq:product id="fenix7pro"/>
<iq:product id="fenix7pronowifi"/>
<!-- Screen Size 240x240 launcher icon size 40x40 -->
<iq:product id="fenix7s"/>
<!-- Screen Size 240x240 launcher icon size 40x40 -->
<iq:product id="fenix7spro"/>
<!-- Screen Size 280x280 launcher icon size 40x40 -->
<iq:product id="fenix7x"/>
<!-- Screen Size 280x280 launcher icon size 40x40 -->
<iq:product id="fenix7xpro"/>
<iq:product id="fenix7xpronowifi"/>
<!-- Screen Size 240x240 launcher icon size 40x40 -->
<iq:product id="fenixchronos"/>
<iq:product id="fr245"/>
<iq:product id="fr245m"/>
<!-- Screen Size 260x260 launcher icon size 40x40 -->
<iq:product id="fr255"/>
<iq:product id="fr255m"/>
<!-- Screen Size 218x218 launcher icon size 40x40 -->
<iq:product id="fr255s"/>
<iq:product id="fr255sm"/>
<!-- Screen Size 416x416 launcher icon size 60x60 -->
<iq:product id="fr265"/>
<iq:product id="fr265s"/>
<!-- Screen Size 208x208 launcher icon size 35x35 -->
<iq:product id="fr55"/>
<!-- Screen Size 240x240 launcher icon size 40x40 -->
<iq:product id="fr645"/>
<iq:product id="fr645m"/>
<iq:product id="fr745"/>
<iq:product id="fr935"/>
<iq:product id="fr945"/>
<iq:product id="fr945lte"/>
<!-- Screen Size 260x260 launcher icon size 40x40 -->
<iq:product id="fr955"/>
<!-- Screen Size 454x454 launcher icon size 65x65 -->
<iq:product id="fr965"/>
<!-- Screen Size 176x176 launcher icon size 62x62 -->
<iq:product id="gpsmap67"/>
<iq:product id="instinct2"/>
<!-- Screen Size 163x156 launcher icon size 54x54 -->
<iq:product id="instinct2s"/>
<!-- Screen Size 176x176 launcher icon size 62x62 -->
<iq:product id="instinct2x"/>
<!-- Screen Size 176x176 launcher icon size 26x26 -->
<iq:product id="instinctcrossover"/>
<!-- Screen Size 218x218 launcher icon size 30x30 -->
<iq:product id="legacyherocaptainmarvel"/>
<!-- Screen Size 260x260 launcher icon size 35x35 -->
<iq:product id="legacyherofirstavenger"/>
<iq:product id="legacysagadarthvader"/>
<!-- Screen Size 218x218 launcher icon size 30x30 -->
<iq:product id="legacysagarey"/>
<!-- Screen Size 240x240 launcher icon size 40x40 -->
<iq:product id="marq2"/>
<iq:product id="marq2aviator"/>
<iq:product id="marqadventurer"/>
<iq:product id="marqathlete"/>
<iq:product id="marqaviator"/>
@ -142,31 +122,23 @@
<iq:product id="marqdriver"/>
<iq:product id="marqexpedition"/>
<iq:product id="marqgolfer"/>
<!-- Screen Size 390x390 launcher icon size 60x60 -->
<iq:product id="marq2"/>
<iq:product id="marq2aviator"/>
<!-- Screen Size 390x390 launcher icon size 60x60 -->
<iq:product id="montana7xx"/>
<iq:product id="venu"/>
<!-- Screen Size 416x416 launcher icon size 70x70 -->
<iq:product id="venu2"/>
<iq:product id="venu2plus"/>
<!-- Screen Size 360x360 launcher icon size 61x61 -->
<iq:product id="venu2s"/>
<!-- Screen Size 240x240 launcher icon size 36x36 -->
<iq:product id="venu3"/>
<iq:product id="venu3s"/>
<iq:product id="venud"/>
<iq:product id="venusq"/>
<iq:product id="venusqm"/>
<!-- Screen Size 320x360 launcher icon size 40x40 -->
<iq:product id="venusq2"/>
<iq:product id="venusq2m"/>
<!-- Screen Size 454x454 launcher icon size 70x70 -->
<iq:product id="venu3"/>
<!-- Screen Size 390x390 launcher icon size 70x70 -->
<iq:product id="venu3s"/>
<!-- Screen Size 260x260 launcher icon size 35x35 -->
<iq:product id="venusqm"/>
<iq:product id="vivoactive3"/>
<iq:product id="vivoactive3m"/>
<iq:product id="vivoactive3mlte"/>
<iq:product id="vivoactive4"/>
<!-- Screen Size 218x218 launcher icon size 30x30 -->
<iq:product id="vivoactive4s"/>
<!-- Screen Size 390x390 launcher icon size 70x70 -->
<iq:product id="vivoactive5"/>
</iq:products>
<!--
@ -174,8 +146,9 @@
palette to update permissions.
-->
<iq:permissions>
<iq:uses-permission id="Communications"/>
<iq:uses-permission id="Background"/>
<iq:uses-permission id="BluetoothLowEnergy"/>
<iq:uses-permission id="Communications"/>
</iq:permissions>
<!--
Use "Monkey C: Edit Languages" from the Visual Studio Code command

205
monkey-widget.jungle Normal file
View File

@ -0,0 +1,205 @@
#-----------------------------------------------------------------------------------
#
# 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.
#
# J D Abbey & P A Abbey, 28 December 2022
#
# Reference:
# * https://developer.garmin.com/connect-iq/reference-guides/jungle-reference/
#
#-----------------------------------------------------------------------------------
project.manifest = manifest-widget.xml
base.sourcePath = source;include/widget
# Device References
# * https://developer.garmin.com/connect-iq/compatible-devices/
# * https://developer.garmin.com/connect-iq/reference-guides/devices-reference/
#
# Widget launcher icon, multiple resolutions
# https://forums.garmin.com/developer/connect-iq/f/discussion/255433/widget-launcher-icon-multiple-resolutions/1563305
#
# Use the online SVG converter to write out PNGs from "resources\drawables\launcher.svg" by changing
# the 'width' and 'height' attributes of the SVG.
# https://svgtopng.com/
#
# The icons need to scale as a ratio of screen size 48:416 pixels
#
# Icon 53 48 46 42 37 32 30 28 26 24 21 18
# Screen 454 416 390 360 320 280 260 240 218 208 176 156
# Screen Size 390x390 launcher icon size 70x70
approachs7042mm.resourcePath = $(approachs7042mm.resourcePath);resources-launcher-70-70;resources-icons-46
# Screen Size 454x454 launcher icon size 80x80
approachs7047mm.resourcePath = $(approachs7047mm.resourcePath);resources-launcher-80-80;resources-icons-53
# Screen Size 390x390 launcher icon size 60x60
d2air.resourcePath = $(d2air.resourcePath);resources-launcher-60-60;resources-icons-46
# Screen Size 416x416 launcher icon size 70x70
d2airx10.resourcePath = $(d2airx10.resourcePath);resources-launcher-70-70;resources-icons-48
# Screen Size 240x240 launcher icon size 40x40
d2delta.resourcePath = $(d2delta.resourcePath);resources-launcher-40-40;resources-icons-28
d2deltapx.resourcePath = $(d2deltapx.resourcePath);resources-launcher-40-40;resources-icons-28
d2deltas.resourcePath = $(d2deltas.resourcePath);resources-launcher-40-40;resources-icons-28
# Screen Size 416x416 launcher icon size 60x60
d2mach1.resourcePath = $(d2mach1.resourcePath);resources-launcher-60-60;resources-icons-48
# Screen Size 176x176 launcher icon size 62x62
descentg1.resourcePath = $(descentg1.resourcePath);resources-launcher-62-62;resources-icons-21
# Screen Size 280x280 launcher icon size 40x40
descentmk2.resourcePath = $(descentmk2.resourcePath);resources-launcher-40-40;resources-icons-32
# Screen Size 240x240 launcher icon size 40x40
descentmk2s.resourcePath = $(descentmk2s.resourcePath);resources-launcher-40-40;resources-icons-28
# Screen Size 282x470 launcher icon size 36x36
edge1030.resourcePath = $(descentmk2s.resourcePath);resources-launcher-36-36;resources-icons-32
edge1030bontrager.resourcePath = $(edge1030bontrager.resourcePath);resources-launcher-36-36;resources-icons-32
edge1030plus.resourcePath = $(edge1030plus.resourcePath);resources-launcher-36-36;resources-icons-32
# Screen Size 282x470 launcher icon size 40x40
edge1040.resourcePath = $(edge1040.resourcePath);resources-launcher-40-40;resources-icons-32
# Screen Size 200x265 launcher icon size 35x35
edge520plus.resourcePath = $(edge520plus.resourcePath);resources-launcher-35-35;resources-icons-24
# Screen Size 246x322 launcher icon size 35x35
edge530.resourcePath = $(edge530.resourcePath);resources-launcher-35-35;resources-icons-28
# Screen Size 200x265 launcher icon size 35x35
edge820.resourcePath = $(edge820.resourcePath);resources-launcher-35-35;resources-icons-24
# Screen Size 246x322 launcher icon size 35x35
edge830.resourcePath = $(edge830.resourcePath);resources-launcher-35-35;resources-icons-28
# Screen Size 240x400 launcher icon size 36x36
edgeexplore.resourcePath = $(edgeexplore.resourcePath);resources-launcher-36-36;resources-icons-28
edgeexplore2.resourcePath = $(edgeexplore2.resourcePath);resources-launcher-36-36;resources-icons-28
# Screen Size 280x280 launcher icon size 40x40
enduro.resourcePath = $(enduro.resourcePath);resources-launcher-40-40;resources-icons-32
# Screen Size 416x416 launcher icon size 60x60
epix2.resourcePath = $(epix2.resourcePath);resources-launcher-60-60;resources-icons-48
# Screen Size 390x390 launcher icon size 60x60
epix2pro42mm.resourcePath = $(epix2pro42mm.resourcePath);resources-launcher-60-60;resources-icons-46
epix2pro47mm.resourcePath = $(epix2pro47mm.resourcePath);resources-launcher-60-60;resources-icons-46
# Screen Size 454x454 launcher icon size 60x60
epix2pro51mm.resourcePath = $(epix2pro51mm.resourcePath);resources-launcher-60-60;resources-icons-53
# Screen Size 240x240 launcher icon size 40x40
fenix5.resourcePath = $(fenix5.resourcePath);resources-launcher-40-40;resources-icons-28
fenix5plus.resourcePath = $(fenix5plus.resourcePath);resources-launcher-40-40;resources-icons-28
# Screen Size 218x218 launcher icon size 36x36
fenix5s.resourcePath = $(fenix5s.resourcePath);resources-launcher-36-36;resources-icons-26
# Screen Size 240x240 launcher icon size 40x40
fenix5splus.resourcePath = $(fenix5splus.resourcePath);resources-launcher-40-40;resources-icons-28
fenix5x.resourcePath = $(fenix5x.resourcePath);resources-launcher-40-40;resources-icons-28
fenix5xplus.resourcePath = $(fenix5xplus.resourcePath);resources-launcher-40-40;resources-icons-28
# Screen Size 260x260 launcher icon size 40x40
fenix6.resourcePath = $(fenix6.resourcePath);resources-launcher-40-40;resources-icons-30
fenix6pro.resourcePath = $(fenix6pro.resourcePath);resources-launcher-40-40;resources-icons-30
# Screen Size 240x240 launcher icon size 40x40
fenix6s.resourcePath = $(fenix6s.resourcePath);resources-launcher-40-40;resources-icons-28
fenix6spro.resourcePath = $(fenix6spro.resourcePath);resources-launcher-40-40;resources-icons-28
# Screen Size 280x280 launcher icon size 40x40
fenix6xpro.resourcePath = $(fenix6xpro.resourcePath);resources-launcher-40-40;resources-icons-32
# Screen Size 260x260 launcher icon size 40x40
fenix7.resourcePath = $(fenix7.resourcePath);resources-launcher-40-40;resources-icons-30
# Screen Size 260x260 launcher icon size 40x40
fenix7pro.resourcePath = $(fenix7pro.resourcePath);resources-launcher-40-40;resources-icons-30
fenix7pronowifi.resourcePath = $(fenix7pronowifi.resourcePath);resources-launcher-40-40;resources-icons-30
# Screen Size 218x218 launcher icon size 36x36
fenixchronos.resourcePath = $(fenixchronos.resourcePath);resources-launcher-36-36;resources-icons-26
# Screen Size 240x240 launcher icon size 40x40
fenix7s.resourcePath = $(fenix7s.resourcePath);resources-launcher-40-40;resources-icons-28
# Screen Size 240x240 launcher icon size 40x40
fenix7spro.resourcePath = $(fenix7spro.resourcePath);resources-launcher-40-40;resources-icons-28
# Screen Size 280x280 launcher icon size 40x40
fenix7x.resourcePath = $(fenix7x.resourcePath);resources-launcher-40-40;resources-icons-32
# Screen Size 280x280 launcher icon size 40x40
fenix7xpro.resourcePath = $(fenix7xpro.resourcePath);resources-launcher-40-40;resources-icons-32
fenix7xpronowifi.resourcePath = $(fenix7xpronowifi.resourcePath);resources-launcher-40-40;resources-icons-32
# Screen Size 240x240 launcher icon size 40x40
fr245.resourcePath = $(fr245.resourcePath);resources-launcher-40-40;resources-icons-28
fr245m.resourcePath = $(fr245m.resourcePath);resources-launcher-40-40;resources-icons-28
# Screen Size 260x260 launcher icon size 40x40
fr255.resourcePath = $(fr255.resourcePath);resources-launcher-40-40;resources-icons-30
fr255m.resourcePath = $(fr255m.resourcePath);resources-launcher-40-40;resources-icons-30
# Screen Size 218x218 launcher icon size 40x40
fr255s.resourcePath = $(fr255s.resourcePath);resources-launcher-40-40;resources-icons-26
fr255sm.resourcePath = $(fr255sm.resourcePath);resources-launcher-40-40;resources-icons-26
# Screen Size 416x416 launcher icon size 60x60
fr265.resourcePath = $(fr265.resourcePath);resources-launcher-60-60;resources-icons-48
fr265s.resourcePath = $(fr265s.resourcePath);resources-launcher-60-60;resources-icons-48
# Screen Size 208x208 launcher icon size 35x35
fr55.resourcePath = $(fr55.resourcePath);resources-launcher-35-35;resources-icons-24
# Screen Size 240x240 launcher icon size 40x40
fr645.resourcePath = $(fr645.resourcePath);resources-launcher-40-40;resources-icons-28
fr645m.resourcePath = $(fr645m.resourcePath);resources-launcher-40-40;resources-icons-28
# Screen Size 240x240 launcher icon size 40x40
fr745.resourcePath = $(fr745.resourcePath);resources-launcher-40-40;resources-icons-28
fr935.resourcePath = $(fr935.resourcePath);resources-launcher-40-40;resources-icons-28
fr945.resourcePath = $(fr945.resourcePath);resources-launcher-40-40;resources-icons-28
fr945lte.resourcePath = $(fr945lte.resourcePath);resources-launcher-40-40;resources-icons-28
# Screen Size 260x260 launcher icon size 40x40
fr955.resourcePath = $(fr955.resourcePath);resources-launcher-40-40;resources-icons-30
# Screen Size 454x454 launcher icon size 65x65
fr965.resourcePath = $(fr965.resourcePath);resources-launcher-65-65;resources-icons-53
# Screen Size 240x400 launcher icon size 38x33
gpsmap67.resourcePath = $(gpsmap67.resourcePath);resources-launcher-33-33;resources-icons-28
# Screen Size 176x176 launcher icon size 62x62
instinct2.resourcePath = $(instinct2.resourcePath);resources-launcher-62-62;resources-icons-21
# Screen Size 163x156 launcher icon size 54x54
instinct2s.resourcePath = $(instinct2s.resourcePath);resources-launcher-54-54;resources-icons-18
# Screen Size 176x176 launcher icon size 62x62
instinct2x.resourcePath = $(instinct2x.resourcePath);resources-launcher-62-62;resources-icons-21
# Screen Size 176x176 launcher icon size 26x26
instinctcrossover.resourcePath = $(instinctcrossover.resourcePath);resources-launcher-26-26;resources-icons-21
# Screen Size 218x218 launcher icon size 30x30
legacyherocaptainmarvel.resourcePath = $(legacyherocaptainmarvel.resourcePath);resources-launcher-30-30;resources-icons-26
# Screen Size 260x260 launcher icon size 35x35
legacyherofirstavenger.resourcePath = $(legacyherofirstavenger.resourcePath);resources-launcher-35-35;resources-icons-30
legacysagadarthvader.resourcePath = $(legacysagadarthvader.resourcePath);resources-launcher-35-35;resources-icons-30
# Screen Size 218x218 launcher icon size 30x30
legacysagarey.resourcePath = $(legacysagarey.resourcePath);resources-launcher-30-30;resources-icons-26
# Screen Size 390x390 launcher icon size 60x60
marq2.resourcePath = $(marq2.resourcePath);resources-launcher-60-60;resources-icons-46
marq2aviator.resourcePath = $(marq2aviator.resourcePath);resources-launcher-60-60;resources-icons-46
# Screen Size 240x240 launcher icon size 40x40
marqadventurer.resourcePath = $(marqadventurer.resourcePath);resources-launcher-40-40;resources-icons-28
marqathlete.resourcePath = $(marqathlete.resourcePath);resources-launcher-40-40;resources-icons-28
marqaviator.resourcePath = $(marqaviator.resourcePath);resources-launcher-40-40;resources-icons-28
marqcaptain.resourcePath = $(marqcaptain.resourcePath);resources-launcher-40-40;resources-icons-28
marqcommander.resourcePath = $(marqcommander.resourcePath);resources-launcher-40-40;resources-icons-28
marqdriver.resourcePath = $(marqdriver.resourcePath);resources-launcher-40-40;resources-icons-28
marqexpedition.resourcePath = $(marqexpedition.resourcePath);resources-launcher-40-40;resources-icons-28
marqgolfer.resourcePath = $(marqgolfer.resourcePath);resources-launcher-40-40;resources-icons-28
# Screen Size 480x800 launcher icon size 60x60
montana7xx.resourcePath = $(montana7xx.resourcePath);resources-launcher-60-60;resources-icons-53
# Screen Size 390x390 launcher icon size 60x60
venu.resourcePath = $(venu.resourcePath);resources-launcher-60-60;resources-icons-46
# Screen Size 416x416 launcher icon size 70x70
venu2.resourcePath = $(venu2.resourcePath);resources-launcher-70-70;resources-icons-48
venu2plus.resourcePath = $(venu2plus.resourcePath);resources-launcher-70-70;resources-icons-48
# Screen Size 360x360 launcher icon size 61x61
venu2s.resourcePath = $(venu2s.resourcePath);resources-launcher-61-61;resources-icons-42
# Screen Size 454x454 launcher icon size 70x70
venu3.resourcePath = $(venu3.resourcePath);resources-launcher-70-70;resources-icons-53
# Screen Size 390x390 launcher icon size 70x70
venu3s.resourcePath = $(venu3s.resourcePath);resources-launcher-70-70;resources-icons-46
# Screen Size 390x390 launcher icon size 60x60
venud.resourcePath = $(venud.resourcePath);resources-launcher-60-60;resources-icons-46
# Screen Size 240x240 launcher icon size 36x36
venusq.resourcePath = $(venusq.resourcePath);resources-launcher-36-36;resources-icons-28
# Screen Size 320x360 launcher icon size 40x40
venusq2.resourcePath = $(venusq2.resourcePath);resources-launcher-40-40;resources-icons-38
# Screen Size 320x360 launcher icon size 40x40
venusq2m.resourcePath = $(venusq2m.resourcePath);resources-launcher-40-40;resources-icons-38
# Screen Size 240x240 launcher icon size 36x36
venusqm.resourcePath = $(venusqm.resourcePath);resources-launcher-36-36;resources-icons-28
# Screen Size 240x240 launcher icon size 40x33
vivoactive3.resourcePath = $(vivoactive3.resourcePath);resources-launcher-33-33;resources-icons-28
vivoactive3m.resourcePath = $(vivoactive3m.resourcePath);resources-launcher-33-33;resources-icons-28
vivoactive3mlte.resourcePath = $(vivoactive3mlte.resourcePath);resources-launcher-33-33;resources-icons-28
# Screen Size 260x260 launcher icon size 35x35
vivoactive4.resourcePath = $(vivoactive4.resourcePath);resources-launcher-35-35;resources-icons-30
# Screen Size 218x218 launcher icon size 30x30
vivoactive4s.resourcePath = $(vivoactive4s.resourcePath);resources-launcher-30-30;resources-icons-26
# Screen Size 390x390 launcher icon size 70x70
vivoactive5.resourcePath = $(vivoactive5.resourcePath);resources-launcher-70-70;resources-icons-46

View File

@ -18,6 +18,11 @@
project.manifest = manifest.xml
# Testing in VSCode requires monkey.jungle, so for convenience, swap between
# watch-app and widget by changing which of the next two lines are commented out
base.sourcePath = source;include/app
#base.sourcePath = source;include/widget
# Device References
# * https://developer.garmin.com/connect-iq/compatible-devices/
# * https://developer.garmin.com/connect-iq/reference-guides/devices-reference/
@ -38,6 +43,16 @@ project.manifest = manifest.xml
approachs7042mm.resourcePath = $(approachs7042mm.resourcePath);resources-launcher-70-70;resources-icons-46
# Screen Size 454x454 launcher icon size 80x80
approachs7047mm.resourcePath = $(approachs7047mm.resourcePath);resources-launcher-80-80;resources-icons-53
# Screen Size 390x390 launcher icon size 60x60
d2air.resourcePath = $(d2air.resourcePath);resources-launcher-60-60;resources-icons-46
# Screen Size 416x416 launcher icon size 70x70
d2airx10.resourcePath = $(d2airx10.resourcePath);resources-launcher-70-70;resources-icons-48
# Screen Size 240x240 launcher icon size 40x40
d2delta.resourcePath = $(d2delta.resourcePath);resources-launcher-40-40;resources-icons-28
d2deltapx.resourcePath = $(d2deltapx.resourcePath);resources-launcher-40-40;resources-icons-28
d2deltas.resourcePath = $(d2deltas.resourcePath);resources-launcher-40-40;resources-icons-28
# Screen Size 416x416 launcher icon size 60x60
d2mach1.resourcePath = $(d2mach1.resourcePath);resources-launcher-60-60;resources-icons-48
# Screen Size 176x176 launcher icon size 62x62
descentg1.resourcePath = $(descentg1.resourcePath);resources-launcher-62-62;resources-icons-21
# Screen Size 280x280 launcher icon size 40x40
@ -50,17 +65,19 @@ edge1030bontrager.resourcePath = $(edge1030bontrager.resourcePath);resources-lau
edge1030plus.resourcePath = $(edge1030plus.resourcePath);resources-launcher-36-36;resources-icons-32
# Screen Size 282x470 launcher icon size 40x40
edge1040.resourcePath = $(edge1040.resourcePath);resources-launcher-40-40;resources-icons-32
# Screen Size 200x265 launcher icon size 35x35
edge520plus.resourcePath = $(edge520plus.resourcePath);resources-launcher-35-35;resources-icons-24
# Screen Size 246x322 launcher icon size 35x35
edge530.resourcePath = $(edge530.resourcePath);resources-launcher-35-35;resources-icons-28
# Screen Size 200x265 launcher icon size 35x35
edge820.resourcePath = $(edge820.resourcePath);resources-launcher-35-35;resources-icons-24
# Screen Size 246x322 launcher icon size 35x35
edge830.resourcePath = $(edge830.resourcePath);resources-launcher-35-35;resources-icons-28
# Screen Size 240x400 launcher icon size 36x36
edgeexplore.resourcePath = $(edgeexplore.resourcePath);resources-launcher-36-36;resources-icons-28
edgeexplore2.resourcePath = $(edgeexplore2.resourcePath);resources-launcher-36-36;resources-icons-28
# Screen Size 280x280 launcher icon size 40x40
enduro.resourcePath = $(enduro.resourcePath);resources-launcher-40-40;resources-icons-32
# Screen Size 416x416 launcher icon size 70x70
d2airx10.resourcePath = $(d2airx10.resourcePath);resources-launcher-70-70;resources-icons-48
# Screen Size 416x416 launcher icon size 60x60
d2mach1.resourcePath = $(d2mach1.resourcePath);resources-launcher-60-60;resources-icons-48
# Screen Size 416x416 launcher icon size 60x60
epix2.resourcePath = $(epix2.resourcePath);resources-launcher-60-60;resources-icons-48
# Screen Size 390x390 launcher icon size 60x60
@ -69,8 +86,13 @@ epix2pro47mm.resourcePath = $(epix2pro47mm.resourcePath);resources-launcher-60-6
# Screen Size 454x454 launcher icon size 60x60
epix2pro51mm.resourcePath = $(epix2pro51mm.resourcePath);resources-launcher-60-60;resources-icons-53
# Screen Size 240x240 launcher icon size 40x40
fenix5.resourcePath = $(fenix5.resourcePath);resources-launcher-40-40;resources-icons-28
fenix5plus.resourcePath = $(fenix5plus.resourcePath);resources-launcher-40-40;resources-icons-28
# Screen Size 218x218 launcher icon size 36x36
fenix5s.resourcePath = $(fenix5s.resourcePath);resources-launcher-36-36;resources-icons-26
# Screen Size 240x240 launcher icon size 40x40
fenix5splus.resourcePath = $(fenix5splus.resourcePath);resources-launcher-40-40;resources-icons-28
fenix5x.resourcePath = $(fenix5x.resourcePath);resources-launcher-40-40;resources-icons-28
fenix5xplus.resourcePath = $(fenix5xplus.resourcePath);resources-launcher-40-40;resources-icons-28
# Screen Size 260x260 launcher icon size 40x40
fenix6.resourcePath = $(fenix6.resourcePath);resources-launcher-40-40;resources-icons-30
@ -85,6 +107,8 @@ fenix7.resourcePath = $(fenix7.resourcePath);resources-launcher-40-40;resources-
# Screen Size 260x260 launcher icon size 40x40
fenix7pro.resourcePath = $(fenix7pro.resourcePath);resources-launcher-40-40;resources-icons-30
fenix7pronowifi.resourcePath = $(fenix7pronowifi.resourcePath);resources-launcher-40-40;resources-icons-30
# Screen Size 218x218 launcher icon size 36x36
fenixchronos.resourcePath = $(fenixchronos.resourcePath);resources-launcher-36-36;resources-icons-26
# Screen Size 240x240 launcher icon size 40x40
fenix7s.resourcePath = $(fenix7s.resourcePath);resources-launcher-40-40;resources-icons-28
# Screen Size 240x240 launcher icon size 40x40
@ -109,13 +133,19 @@ fr265s.resourcePath = $(fr265s.resourcePath);resources-launcher-60-60;resources-
# Screen Size 208x208 launcher icon size 35x35
fr55.resourcePath = $(fr55.resourcePath);resources-launcher-35-35;resources-icons-24
# Screen Size 240x240 launcher icon size 40x40
fr645.resourcePath = $(fr645.resourcePath);resources-launcher-40-40;resources-icons-28
fr645m.resourcePath = $(fr645m.resourcePath);resources-launcher-40-40;resources-icons-28
# Screen Size 240x240 launcher icon size 40x40
fr745.resourcePath = $(fr745.resourcePath);resources-launcher-40-40;resources-icons-28
fr935.resourcePath = $(fr935.resourcePath);resources-launcher-40-40;resources-icons-28
fr945.resourcePath = $(fr945.resourcePath);resources-launcher-40-40;resources-icons-28
fr945lte.resourcePath = $(fr945lte.resourcePath);resources-launcher-40-40;resources-icons-28
# Screen Size 260x260 launcher icon size 40x40
fr955.resourcePath = $(fr955.resourcePath);resources-launcher-40-40;resources-icons-30
# Screen Size 454x454 launcher icon size 65x65
fr965.resourcePath = $(fr965.resourcePath);resources-launcher-65-65;resources-icons-53
# Screen Size 240x400 launcher icon size 38x33
gpsmap67.resourcePath = $(gpsmap67.resourcePath);resources-launcher-33-33;resources-icons-28
# Screen Size 176x176 launcher icon size 62x62
instinct2.resourcePath = $(instinct2.resourcePath);resources-launcher-62-62;resources-icons-21
# Screen Size 163x156 launcher icon size 54x54
@ -131,6 +161,9 @@ legacyherofirstavenger.resourcePath = $(legacyherofirstavenger.resourcePath);res
legacysagadarthvader.resourcePath = $(legacysagadarthvader.resourcePath);resources-launcher-35-35;resources-icons-30
# Screen Size 218x218 launcher icon size 30x30
legacysagarey.resourcePath = $(legacysagarey.resourcePath);resources-launcher-30-30;resources-icons-26
# Screen Size 390x390 launcher icon size 60x60
marq2.resourcePath = $(marq2.resourcePath);resources-launcher-60-60;resources-icons-46
marq2aviator.resourcePath = $(marq2aviator.resourcePath);resources-launcher-60-60;resources-icons-46
# Screen Size 240x240 launcher icon size 40x40
marqadventurer.resourcePath = $(marqadventurer.resourcePath);resources-launcher-40-40;resources-icons-28
marqathlete.resourcePath = $(marqathlete.resourcePath);resources-launcher-40-40;resources-icons-28
@ -140,9 +173,8 @@ marqcommander.resourcePath = $(marqcommander.resourcePath);resources-launcher-40
marqdriver.resourcePath = $(marqdriver.resourcePath);resources-launcher-40-40;resources-icons-28
marqexpedition.resourcePath = $(marqexpedition.resourcePath);resources-launcher-40-40;resources-icons-28
marqgolfer.resourcePath = $(marqgolfer.resourcePath);resources-launcher-40-40;resources-icons-28
# Screen Size 390x390 launcher icon size 60x60
marq2.resourcePath = $(marq2.resourcePath);resources-launcher-60-60;resources-icons-46
marq2aviator.resourcePath = $(marq2aviator.resourcePath);resources-launcher-60-60;resources-icons-46
# Screen Size 480x800 launcher icon size 60x60
montana7xx.resourcePath = $(montana7xx.resourcePath);resources-launcher-60-60;resources-icons-53
# Screen Size 390x390 launcher icon size 60x60
venu.resourcePath = $(venu.resourcePath);resources-launcher-60-60;resources-icons-46
# Screen Size 416x416 launcher icon size 70x70
@ -150,16 +182,24 @@ venu2.resourcePath = $(venu2.resourcePath);resources-launcher-70-70;resources-ic
venu2plus.resourcePath = $(venu2plus.resourcePath);resources-launcher-70-70;resources-icons-48
# Screen Size 360x360 launcher icon size 61x61
venu2s.resourcePath = $(venu2s.resourcePath);resources-launcher-61-61;resources-icons-42
# Screen Size 240x240 launcher icon size 36x36
venusq.resourcePath = $(venusq.resourcePath);resources-launcher-36-36;resources-icons-28
venusqm.resourcePath = $(venusqm.resourcePath);resources-launcher-36-36;resources-icons-28
# Screen Size 320x360 launcher icon size 40x40
venusq2.resourcePath = $(venusq2.resourcePath);resources-launcher-40-40;resources-icons-38
venusq2m.resourcePath = $(venusq2m.resourcePath);resources-launcher-40-40;resources-icons-38
# Screen Size 454x454 launcher icon size 70x70
venu3.resourcePath = $(venu3.resourcePath);resources-launcher-70-70;resources-icons-53
# Screen Size 390x390 launcher icon size 70x70
venu3s.resourcePath = $(venu3s.resourcePath);resources-launcher-70-70;resources-icons-46
# Screen Size 390x390 launcher icon size 60x60
venud.resourcePath = $(venud.resourcePath);resources-launcher-60-60;resources-icons-46
# Screen Size 240x240 launcher icon size 36x36
venusq.resourcePath = $(venusq.resourcePath);resources-launcher-36-36;resources-icons-28
# Screen Size 320x360 launcher icon size 40x40
venusq2.resourcePath = $(venusq2.resourcePath);resources-launcher-40-40;resources-icons-38
# Screen Size 320x360 launcher icon size 40x40
venusq2m.resourcePath = $(venusq2m.resourcePath);resources-launcher-40-40;resources-icons-38
# Screen Size 240x240 launcher icon size 36x36
venusqm.resourcePath = $(venusqm.resourcePath);resources-launcher-36-36;resources-icons-28
# Screen Size 240x240 launcher icon size 40x33
vivoactive3.resourcePath = $(vivoactive3.resourcePath);resources-launcher-33-33;resources-icons-28
vivoactive3m.resourcePath = $(vivoactive3m.resourcePath);resources-launcher-33-33;resources-icons-28
vivoactive3mlte.resourcePath = $(vivoactive3mlte.resourcePath);resources-launcher-33-33;resources-icons-28
# Screen Size 260x260 launcher icon size 35x35
vivoactive4.resourcePath = $(vivoactive4.resourcePath);resources-launcher-35-35;resources-icons-30
# Screen Size 218x218 launcher icon size 30x30

View File

@ -9,7 +9,7 @@
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
P A Abbey & J D Abbey & Someone0nEarth, 31 October 2023
-->
@ -19,19 +19,48 @@
-->
<strings>
<string id="AppName">HomeAssistant</string>
<string id="AppName" scope="glance">HomeAssistant</string>
<string id="MenuItemOn">على</string>
<string id="MenuItemOff">عن</string>
<string id="MenuItemTap">مقبض</string>
<string id="MenuItemMenu">قائمة طعام</string>
<string id="Confirm">بالتأكيد؟</string>
<string id="Executed" scope="glance">أعدم</string>
<string id="NoPhone" scope="glance">لا يوجد اتصال الهاتف</string>
<string id="NoInternet">لا يوجد اتصال بالإنترنت</string>
<string id="NoMenu">خطأ في إحضار القائمة</string>
<string id="NoAPIKey">لا يوجد مفتاح API في إعدادات التطبيق</string>
<string id="NoApiUrl">لا يوجد عنوان URL لواجهة برمجة التطبيقات في إعدادات التطبيق</string>
<string id="NoConfigUrl">لا يوجد عنوان URL للتكوين في إعدادات التطبيق</string>
<string id="NoResponse">لا توجد استجابة، تحقق من الاتصال بالإنترنت</string>
<string id="NoAPIKey" scope="glance">لا يوجد مفتاح API في إعدادات التطبيق</string>
<string id="NoApiUrl" scope="glance">لا يوجد عنوان URL لواجهة برمجة التطبيقات في إعدادات التطبيق</string>
<string id="NoConfigUrl" scope="glance">لا يوجد عنوان URL للتكوين في إعدادات التطبيق</string>
<string id="ApiFlood">مكالمات API سريعة جدًا. يرجى إبطاء طلباتك.</string>
<string id="ApiUrlNotFound">لم يتم العثور على عنوان URL. خطأ محتمل في عنوان URL لواجهة برمجة التطبيقات في الإعدادات.</string>
<string id="ConfigUrlNotFound">لم يتم العثور على عنوان URL. خطأ محتمل في عنوان URL للتكوين في الإعدادات.</string>
<string id="NoJson">لم يتم إرجاع JSON من طلب HTTP.</string>
<string id="UnhandledHttpErr">قام طلب HTTP بإرجاع رمز الخطأ =</string>
<string id="TrailingSlashErr">يجب ألا يحتوي عنوان URL لواجهة برمجة التطبيقات على شرطة مائلة لاحقة '/'</string>
</strings>
<string id="Available" scope="glance">متاح</string>
<string id="Checking" scope="glance">تدقيق...</string>
<string id="Unavailable" scope="glance">غير متوفره</string>
<string id="Unconfigured" scope="glance">غير مهيأ</string>
<string id="Cached" scope="glance">مخبأة</string>
<string id="GlanceMenu" scope="glance">قائمة طعام</string>
<!-- لإعدادات واجهة المستخدم الرسومية -->
<string id="SettingsSelect">يختار...</string>
<string id="SettingsApiKey">مفتاح API لـ HomeAssistant.</string>
<string id="SettingsApiKeyPrompt">رمز الوصول طويل الأمد.</string>
<string id="SettingsApiUrl">عنوان URL لواجهة برمجة تطبيقات HomeAssistant.</string>
<string id="SettingsConfigUrl">عنوان URL لتكوين القائمة (JSON).</string>
<string id="SettingsCacheConfig">هل يجب على التطبيق تخزين تكوين القائمة مؤقتًا؟</string>
<string id="SettingsClearCache">هل يجب على التطبيق مسح ذاكرة التخزين المؤقت الموجودة في المرة القادمة التي يتم فيها تشغيله؟</string>
<string id="SettingsAppTimeout">المهلة بالثواني. قم بالخروج من التطبيق بعد هذه الفترة من عدم النشاط لحفظ بطارية الجهاز.</string>
<string id="SettingsConfirmTimeout">بعد هذا الوقت (بالثواني)، يتم إغلاق مربع حوار تأكيد الإجراء تلقائيًا ويتم إلغاء الإجراء. اضبط على 0 لتعطيل المهلة.</string>
<string id="SettingsMenuItemStyle">نمط عنصر القائمة.</string>
<string id="SettingsMenuItemStyleIcons">أيقونات</string>
<string id="SettingsMenuItemStyleText">نص إضافي</string>
<string id="SettingsTextAlign">محاذاة القائمة لليسار (إيقاف) أو لليمين (تشغيل).</string>
<string id="LeftToRight">من اليسار إلى اليمين</string>
<string id="RightToLeft">من اليمين الى اليسار</string>
<string id="SettingsWidgetStart">(القطعة فقط) قم بتشغيل التطبيق تلقائيًا من الأداة دون انتظار نقرة واحدة.</string>
<string id="SettingsEnableBatteryLevel">قم بتمكين خدمة الخلفية لإرسال مستوى بطارية الساعة إلى Home Assistant.</string>
<string id="SettingsBatteryLevelRefreshRate">معدل التحديث (بالدقائق) الذي يجب أن تكرر عنده خدمة الخلفية إرسال مستوى البطارية.</string>
</strings>

View File

@ -9,7 +9,7 @@
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
P A Abbey & J D Abbey & Someone0nEarth, 31 October 2023
-->
@ -19,19 +19,48 @@
-->
<strings>
<string id="AppName">HomeAssistant</string>
<string id="AppName" scope="glance">HomeAssistant</string>
<string id="MenuItemOn">На</string>
<string id="MenuItemOff">Изкл</string>
<string id="MenuItemTap">Докоснете</string>
<string id="MenuItemMenu">Меню</string>
<string id="Confirm">Сигурен?</string>
<string id="Executed" scope="glance">Изпълнен</string>
<string id="NoPhone" scope="glance">Няма телефонна връзка</string>
<string id="NoInternet">Няма интернет връзка</string>
<string id="NoMenu">Грешка при извличане на менюто</string>
<string id="NoAPIKey">Няма API ключ в настройките на приложението</string>
<string id="NoApiUrl">Няма URL адрес на API в настройките на приложението</string>
<string id="NoConfigUrl">Няма конфигурационен URL адрес в настройките на приложението</string>
<string id="NoResponse">Няма отговор, проверете интернет връзката</string>
<string id="NoAPIKey" scope="glance">Няма API ключ в настройките на приложението</string>
<string id="NoApiUrl" scope="glance">Няма URL адрес на API в настройките на приложението</string>
<string id="NoConfigUrl" scope="glance">Няма конфигурационен URL адрес в настройките на приложението</string>
<string id="ApiFlood">Извикванията на API са твърде бързи. Моля, забавете вашите заявки.</string>
<string id="ApiUrlNotFound">URL не е намерен. Потенциална грешка в URL адреса на API в настройките.</string>
<string id="ConfigUrlNotFound">URL не е намерен. Потенциална грешка в URL адреса на конфигурацията в настройките.</string>
<string id="NoJson">Няма върнат JSON от HTTP заявка.</string>
<string id="UnhandledHttpErr">HTTP заявката върна код на грешка =</string>
<string id="TrailingSlashErr">URL адресът на API не трябва да има наклонена черта '/' в края</string>
</strings>
<string id="Available" scope="glance">На разположение</string>
<string id="Checking" scope="glance">Проверка...</string>
<string id="Unavailable" scope="glance">Недостъпен</string>
<string id="Unconfigured" scope="glance">Неконфигуриран</string>
<string id="Cached" scope="glance">Кеширано</string>
<string id="GlanceMenu" scope="glance">Меню</string>
<!-- За GUI за настройки -->
<string id="SettingsSelect">Изберете...</string>
<string id="SettingsApiKey">API ключ за HomeAssistant.</string>
<string id="SettingsApiKeyPrompt">Токен за дълготраен достъп.</string>
<string id="SettingsApiUrl">URL адрес за API на HomeAssistant.</string>
<string id="SettingsConfigUrl">URL за конфигурация на менюто (JSON).</string>
<string id="SettingsCacheConfig">Трябва ли приложението да кешира конфигурацията на менюто?</string>
<string id="SettingsClearCache">Трябва ли приложението да изчисти съществуващия кеш при следващото стартиране?</string>
<string id="SettingsAppTimeout">Изчакване в секунди. Излезте от приложението след този период на неактивност, за да запазите батерията на устройството.</string>
<string id="SettingsConfirmTimeout">След това време (в секунди) диалоговият прозорец за потвърждение за действие се затваря автоматично и действието се отменя. Задайте 0, за да деактивирате изчакването.</string>
<string id="SettingsMenuItemStyle">Стил на елемент от менюто.</string>
<string id="SettingsMenuItemStyleIcons">Икони</string>
<string id="SettingsMenuItemStyleText">Допълнителен текст</string>
<string id="SettingsTextAlign">Ляво (изключено) или дясно (включено) подравняване на менюто.</string>
<string id="LeftToRight">Отляво надясно</string>
<string id="RightToLeft">От дясно на ляво</string>
<string id="SettingsWidgetStart">(Само за джаджа) Автоматично стартирайте приложението от джаджата, без да чакате докосване.</string>
<string id="SettingsEnableBatteryLevel">Активирайте фоновата услуга, за да изпратите нивото на батерията на часовника до Home Assistant.</string>
<string id="SettingsBatteryLevelRefreshRate">Честотата на опресняване (в минути), с която фоновата услуга трябва да повтори изпращането на нивото на батерията.</string>
</strings>

View File

@ -9,7 +9,7 @@
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
P A Abbey & J D Abbey & Someone0nEarth, 31 October 2023
-->
@ -19,19 +19,48 @@
-->
<strings>
<string id="AppName">HomeAssistant</string>
<string id="AppName" scope="glance">HomeAssistant</string>
<string id="MenuItemOn">Na</string>
<string id="MenuItemOff">Vypnuto</string>
<string id="MenuItemTap">Klepněte</string>
<string id="MenuItemMenu">Jídelní lístek</string>
<string id="Confirm">Tak určitě?</string>
<string id="Executed" scope="glance">Popraven</string>
<string id="NoPhone" scope="glance">Žádné telefonní spojení</string>
<string id="NoInternet">Žádné internetové připojení</string>
<string id="NoMenu">Chyba načítání nabídky</string>
<string id="NoAPIKey">V nastavení aplikace není žádný klíč API</string>
<string id="NoApiUrl">V nastavení aplikace není žádná adresa URL API</string>
<string id="NoConfigUrl">V nastavení aplikace není žádná konfigurační URL</string>
<string id="NoResponse">Žádná odpověď, zkontrolujte připojení k internetu</string>
<string id="NoAPIKey" scope="glance">V nastavení aplikace není žádný klíč API</string>
<string id="NoApiUrl" scope="glance">V nastavení aplikace není žádná adresa URL API</string>
<string id="NoConfigUrl" scope="glance">V nastavení aplikace není žádná konfigurační URL</string>
<string id="ApiFlood">Příliš rychlá volání API. Zpomalte prosím své požadavky.</string>
<string id="ApiUrlNotFound">Adresa URL nenalezena. Potenciální chyba adresy URL rozhraní API v nastavení.</string>
<string id="ConfigUrlNotFound">Adresa URL nenalezena. Potenciální chyba konfigurační adresy URL v nastavení.</string>
<string id="NoJson">Z požadavku HTTP se nevrátil žádný JSON.</string>
<string id="UnhandledHttpErr">Požadavek HTTP vrátil kód chyby =</string>
<string id="TrailingSlashErr">Adresa URL rozhraní API nesmí mít koncové lomítko „/“</string>
</strings>
<string id="Available" scope="glance">Dostupný</string>
<string id="Checking" scope="glance">Kontrola...</string>
<string id="Unavailable" scope="glance">Není k dispozici</string>
<string id="Unconfigured" scope="glance">Nenakonfigurováno</string>
<string id="Cached" scope="glance">Uloženo do mezipaměti</string>
<string id="GlanceMenu" scope="glance">Jídelní lístek</string>
<!-- Pro nastavení GUI -->
<string id="SettingsSelect">Vybrat...</string>
<string id="SettingsApiKey">Klíč API pro HomeAssistant.</string>
<string id="SettingsApiKeyPrompt">Přístupový token s dlouhou životností.</string>
<string id="SettingsApiUrl">URL pro HomeAssistant API.</string>
<string id="SettingsConfigUrl">Adresa URL pro konfiguraci nabídky (JSON).</string>
<string id="SettingsCacheConfig">Má aplikace uložit konfiguraci nabídky do mezipaměti?</string>
<string id="SettingsClearCache">Měla by aplikace při příštím spuštění vymazat stávající mezipaměť?</string>
<string id="SettingsAppTimeout">Časový limit v sekundách. Po této době nečinnosti aplikaci ukončete, abyste šetřili baterii zařízení.</string>
<string id="SettingsConfirmTimeout">Po uplynutí této doby (v sekundách) se dialog pro potvrzení akce automaticky zavře a akce se zruší. Nastavením na 0 deaktivujete časový limit.</string>
<string id="SettingsMenuItemStyle">Styl položky menu.</string>
<string id="SettingsMenuItemStyleIcons">ikony</string>
<string id="SettingsMenuItemStyleText">Doplňkový text</string>
<string id="SettingsTextAlign">Zarovnání nabídky vlevo (vypnuto) nebo vpravo (zapnuto).</string>
<string id="LeftToRight">Zleva do prava</string>
<string id="RightToLeft">Zprava doleva</string>
<string id="SettingsWidgetStart">(Pouze widget) Automaticky spusťte aplikaci z widgetu bez čekání na klepnutí.</string>
<string id="SettingsEnableBatteryLevel">Povolte službu na pozadí, aby odeslala stav baterie hodin do Home Assistant.</string>
<string id="SettingsBatteryLevelRefreshRate">Obnovovací frekvence (v minutách), při které by služba na pozadí měla opakovat odesílání úrovně baterie.</string>
</strings>

View File

@ -9,7 +9,7 @@
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
P A Abbey & J D Abbey & Someone0nEarth, 31 October 2023
-->
@ -19,19 +19,48 @@
-->
<strings>
<string id="AppName">HomeAssistant</string>
<string id="AppName" scope="glance">HomeAssistant</string>
<string id="MenuItemOn"></string>
<string id="MenuItemOff">Af</string>
<string id="MenuItemTap">Tryk på</string>
<string id="MenuItemMenu">Menu</string>
<string id="Confirm">Jo da?</string>
<string id="Executed" scope="glance">Udført</string>
<string id="NoPhone" scope="glance">Ingen telefonforbindelse</string>
<string id="NoInternet">Ingen internetforbindelse</string>
<string id="NoMenu">Menuhentningsfejl</string>
<string id="NoAPIKey">Ingen API-nøgle i applikationsindstillingerne</string>
<string id="NoApiUrl">Ingen API-URL i applikationsindstillingerne</string>
<string id="NoConfigUrl">Ingen konfigurations-URL i applikationsindstillingerne</string>
<string id="NoResponse">Intet svar, tjek internetforbindelse</string>
<string id="NoAPIKey" scope="glance">Ingen API-nøgle i applikationsindstillingerne</string>
<string id="NoApiUrl" scope="glance">Ingen API-URL i applikationsindstillingerne</string>
<string id="NoConfigUrl" scope="glance">Ingen konfigurations-URL i applikationsindstillingerne</string>
<string id="ApiFlood">API-kald for hurtigt. Sænk venligst dine anmodninger.</string>
<string id="ApiUrlNotFound">URL ikke fundet. Potentiel API URL-fejl i indstillinger.</string>
<string id="ConfigUrlNotFound">URL ikke fundet. Potentiel konfigurations-URL-fejl i indstillinger.</string>
<string id="NoJson">Ingen JSON returneret fra HTTP-anmodning.</string>
<string id="UnhandledHttpErr">HTTP-anmodning returnerede fejlkode =</string>
<string id="TrailingSlashErr">API URL må ikke have en efterfølgende skråstreg '/'</string>
</strings>
<string id="Available" scope="glance">Ledig</string>
<string id="Checking" scope="glance">Tjekker...</string>
<string id="Unavailable" scope="glance">Ikke tilgængelig</string>
<string id="Unconfigured" scope="glance">Ukonfigureret</string>
<string id="Cached" scope="glance">Cachelagret</string>
<string id="GlanceMenu" scope="glance">Menu</string>
<!-- Til indstillingerne GUI -->
<string id="SettingsSelect">Vælg...</string>
<string id="SettingsApiKey">API-nøgle til HomeAssistant.</string>
<string id="SettingsApiKeyPrompt">Adgangstoken med lang levetid.</string>
<string id="SettingsApiUrl">URL til HomeAssistant API.</string>
<string id="SettingsConfigUrl">URL til menukonfiguration (JSON).</string>
<string id="SettingsCacheConfig">Skal applikationen cache menukonfigurationen?</string>
<string id="SettingsClearCache">Skal applikationen rydde den eksisterende cache næste gang den startes?</string>
<string id="SettingsAppTimeout">Timeout i sekunder. Afslut applikationen efter denne periode med inaktivitet for at spare på enhedens batteri.</string>
<string id="SettingsConfirmTimeout">Efter dette tidspunkt (i sekunder) lukkes en bekræftelsesdialog for en handling automatisk, og handlingen annulleres. Indstil til 0 for at deaktivere timeout.</string>
<string id="SettingsMenuItemStyle">Menupunkt stil.</string>
<string id="SettingsMenuItemStyleIcons">Ikoner</string>
<string id="SettingsMenuItemStyleText">Yderligere tekst</string>
<string id="SettingsTextAlign">Venstre (fra) eller Højre (til) menujustering.</string>
<string id="LeftToRight">Venstre til højre</string>
<string id="RightToLeft">Højre til venstre</string>
<string id="SettingsWidgetStart">(Kun widget) Start automatisk applikationen fra widgetten uden at vente på et tryk.</string>
<string id="SettingsEnableBatteryLevel">Aktiver baggrundstjenesten for at sende urets batteriniveau til Home Assistant.</string>
<string id="SettingsBatteryLevelRefreshRate">Opdateringshastigheden (i minutter), hvormed baggrundstjenesten skal gentage afsendelsen af batteriniveauet.</string>
</strings>

View File

@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
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 & Someone0nEarth, 14 November 2023
-->
<!--
Corrections for the German language
Korrekturen für die deutsche Sprache
-->
<strings>
<string id="MenuItemTap">Antippen</string>
<string id="MenuItemMenu">Menü</string>
<string id="UnhandledHttpErr">Die HTTP-Anfrage gab folgenden Fehlercode zurück = </string>
</strings>

View File

@ -9,7 +9,7 @@
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
P A Abbey & J D Abbey & Someone0nEarth, 31 October 2023
-->
@ -19,19 +19,48 @@
-->
<strings>
<string id="AppName">HomeAssistant</string>
<string id="AppName" scope="glance">HomeAssistant</string>
<string id="MenuItemOn">An</string>
<string id="MenuItemOff">Aus</string>
<string id="MenuItemTap">Klopfen</string>
<string id="MenuItemMenu">Speisekarte</string>
<string id="MenuItemTap">Antippen</string>
<string id="MenuItemMenu">Menü</string>
<string id="Confirm">Sicher?</string>
<string id="Executed" scope="glance">Hingerichtet</string>
<string id="NoPhone" scope="glance">Keine Telefonverbindung</string>
<string id="NoInternet">Keine Internetverbindung</string>
<string id="NoMenu">Fehler beim Abrufen des Menüs</string>
<string id="NoAPIKey">Kein API-Schlüssel in den Anwendungseinstellungen</string>
<string id="NoApiUrl">Keine API-URL in den Anwendungseinstellungen</string>
<string id="NoConfigUrl">Keine Konfigurations-URL in den Anwendungseinstellungen</string>
<string id="NoResponse">Keine Antwort, überprüfen Sie die Internetverbindung</string>
<string id="NoAPIKey" scope="glance">Kein API-Schlüssel in den Anwendungseinstellungen</string>
<string id="NoApiUrl" scope="glance">Keine API-URL in den Anwendungseinstellungen</string>
<string id="NoConfigUrl" scope="glance">Keine Konfigurations-URL in den Anwendungseinstellungen</string>
<string id="ApiFlood">API-Aufrufe zu schnell. Bitte verlangsamen Sie Ihre Anfragen.</string>
<string id="ApiUrlNotFound">URL nicht gefunden. Möglicher API-URL-Fehler in den Einstellungen.</string>
<string id="ConfigUrlNotFound">URL nicht gefunden. Möglicher Konfigurations-URL-Fehler in den Einstellungen.</string>
<string id="UnhandledHttpErr">Die HTTP-Anfrage hat den Fehlercode = zurückgegeben</string>
<string id="NoJson">Von der HTTP-Anfrage wurde kein JSON zurückgegeben.</string>
<string id="UnhandledHttpErr">Die HTTP-Anfrage gab folgenden Fehlercode zurück = </string>
<string id="TrailingSlashErr">Die API-URL darf keinen abschließenden Schrägstrich „/“ enthalten.</string>
</strings>
<string id="Available" scope="glance">Verfügbar</string>
<string id="Checking" scope="glance">Überprüfung...</string>
<string id="Unavailable" scope="glance">Nicht verfügbar</string>
<string id="Unconfigured" scope="glance">Unkonfiguriert</string>
<string id="Cached" scope="glance">Zwischengespeichert</string>
<string id="GlanceMenu" scope="glance">Speisekarte</string>
<!-- Für die Einstellungs-GUI -->
<string id="SettingsSelect">Wählen...</string>
<string id="SettingsApiKey">API-Schlüssel für HomeAssistant.</string>
<string id="SettingsApiKeyPrompt">Langlebiges Zugriffstoken.</string>
<string id="SettingsApiUrl">URL für die HomeAssistant-API.</string>
<string id="SettingsConfigUrl">URL zur Menükonfiguration (JSON).</string>
<string id="SettingsCacheConfig">Soll die Anwendung die Menükonfiguration zwischenspeichern?</string>
<string id="SettingsClearCache">Sollte die Anwendung beim nächsten Start den vorhandenen Cache leeren?</string>
<string id="SettingsAppTimeout">Timeout in Sekunden. Beenden Sie die Anwendung nach dieser Zeit der Inaktivität, um den Akku des Geräts zu schonen.</string>
<string id="SettingsConfirmTimeout">Nach dieser Zeit (in Sekunden) wird automatisch ein Bestätigungsdialog für eine Aktion geschlossen und die Aktion abgebrochen. Auf 0 setzen, um das Timeout zu deaktivieren.</string>
<string id="SettingsMenuItemStyle">Menüelementstil.</string>
<string id="SettingsMenuItemStyleIcons">Symbole</string>
<string id="SettingsMenuItemStyleText">Zusätzlicher Text</string>
<string id="SettingsTextAlign">Menüausrichtung links (aus) oder rechts (ein).</string>
<string id="LeftToRight">Links nach rechts</string>
<string id="RightToLeft">Rechts nach links</string>
<string id="SettingsWidgetStart">(Nur Widget) Starten Sie die Anwendung automatisch über das Widget, ohne auf einen Tipp warten zu müssen.</string>
<string id="SettingsEnableBatteryLevel">Aktivieren Sie den Hintergrunddienst, um den Batteriestand der Uhr an Home Assistant zu senden.</string>
<string id="SettingsBatteryLevelRefreshRate">Die Aktualisierungsrate (in Minuten), mit der der Hintergrunddienst das Senden des Akkustands wiederholen soll.</string>
</strings>

View File

@ -9,7 +9,7 @@
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
P A Abbey & J D Abbey & Someone0nEarth, 31 October 2023
-->
@ -19,19 +19,48 @@
-->
<strings>
<string id="AppName">HomeAssistant</string>
<string id="AppName" scope="glance">HomeAssistant</string>
<string id="MenuItemOn">Op</string>
<string id="MenuItemOff">Uit</string>
<string id="MenuItemTap">Kraan</string>
<string id="MenuItemMenu">Menu</string>
<string id="Confirm">Zeker?</string>
<string id="Executed" scope="glance">Uitgevoerd</string>
<string id="NoPhone" scope="glance">Geen telefoonverbinding</string>
<string id="NoInternet">Geen internet verbinding</string>
<string id="NoMenu">Fout bij ophalen van menu</string>
<string id="NoAPIKey">Geen API-sleutel in de applicatie-instellingen</string>
<string id="NoApiUrl">Geen API-URL in de applicatie-instellingen</string>
<string id="NoConfigUrl">Geen configuratie-URL in de applicatie-instellingen</string>
<string id="NoResponse">Geen reactie, controleer de internetverbinding</string>
<string id="NoAPIKey" scope="glance">Geen API-sleutel in de applicatie-instellingen</string>
<string id="NoApiUrl" scope="glance">Geen API-URL in de applicatie-instellingen</string>
<string id="NoConfigUrl" scope="glance">Geen configuratie-URL in de applicatie-instellingen</string>
<string id="ApiFlood">API-aanroepen te snel. Vertraag uw verzoeken.</string>
<string id="ApiUrlNotFound">URL niet gevonden. Mogelijke API-URL-fout in instellingen.</string>
<string id="ConfigUrlNotFound">URL niet gevonden. Mogelijke configuratie-URL-fout in de instellingen.</string>
<string id="NoJson">Er is geen JSON geretourneerd door een HTTP-verzoek.</string>
<string id="UnhandledHttpErr">HTTP-verzoek retourneerde foutcode =</string>
<string id="TrailingSlashErr">API-URL mag geen afsluitende slash '/' bevatten</string>
</strings>
<string id="Available" scope="glance">Beschikbaar</string>
<string id="Checking" scope="glance">Controleren...</string>
<string id="Unavailable" scope="glance">Niet beschikbaar</string>
<string id="Unconfigured" scope="glance">Niet geconfigureerd</string>
<string id="Cached" scope="glance">In cache opgeslagen</string>
<string id="GlanceMenu" scope="glance">Menu</string>
<!-- Voor de instellingen-GUI -->
<string id="SettingsSelect">Selecteer...</string>
<string id="SettingsApiKey">API-sleutel voor HomeAssistant.</string>
<string id="SettingsApiKeyPrompt">Toegangstoken met lange levensduur.</string>
<string id="SettingsApiUrl">URL voor HomeAssistant API.</string>
<string id="SettingsConfigUrl">URL voor menuconfiguratie (JSON).</string>
<string id="SettingsCacheConfig">Moet de applicatie de menuconfiguratie in de cache opslaan?</string>
<string id="SettingsClearCache">Moet de applicatie de volgende keer dat deze wordt gestart de bestaande cache wissen?</string>
<string id="SettingsAppTimeout">Time-out in seconden. Sluit de applicatie af na deze periode van inactiviteit om de batterij van het apparaat te sparen.</string>
<string id="SettingsConfirmTimeout">Na deze tijd (in seconden) wordt automatisch een bevestigingsvenster voor een actie gesloten en wordt de actie geannuleerd. Stel in op 0 om de time-out uit te schakelen.</string>
<string id="SettingsMenuItemStyle">Stijl van menu-items.</string>
<string id="SettingsMenuItemStyleIcons">Pictogrammen</string>
<string id="SettingsMenuItemStyleText">Aanvullende tekst</string>
<string id="SettingsTextAlign">Links (uit) of rechts (aan) Menu-uitlijning.</string>
<string id="LeftToRight">Van links naar rechts</string>
<string id="RightToLeft">Rechts naar links</string>
<string id="SettingsWidgetStart">(Alleen Widget) Start de applicatie automatisch vanuit de widget zonder te wachten op een tik.</string>
<string id="SettingsEnableBatteryLevel">Schakel de achtergrondservice in om het batterijniveau van de klok naar Home Assistant te sturen.</string>
<string id="SettingsBatteryLevelRefreshRate">De vernieuwingsfrequentie (in minuten) waarmee de achtergrondservice het batterijniveau opnieuw moet verzenden.</string>
</strings>

View File

@ -9,7 +9,7 @@
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
P A Abbey & J D Abbey & Someone0nEarth, 31 October 2023
-->
@ -19,19 +19,48 @@
-->
<strings>
<string id="AppName">HomeAssistant</string>
<string id="AppName" scope="glance">HomeAssistant</string>
<string id="MenuItemOn">Peal</string>
<string id="MenuItemOff">Väljas</string>
<string id="MenuItemTap">Puudutage</string>
<string id="MenuItemMenu">Menüü</string>
<string id="Confirm">Muidugi?</string>
<string id="Executed" scope="glance">Täidetud</string>
<string id="NoPhone" scope="glance">Telefoniühendus puudub</string>
<string id="NoInternet">Interneti-ühendus puudub</string>
<string id="NoMenu">Menüü toomise viga</string>
<string id="NoAPIKey">Rakenduse seadetes pole API-võtit</string>
<string id="NoApiUrl">Rakenduse seadetes pole API URL-i</string>
<string id="NoConfigUrl">Rakenduse seadetes pole konfiguratsiooni URL-i</string>
<string id="ApiFlood">API-kutsed liiga kiired. Palun aeglustage taotluste esitamist.</string>
<string id="NoResponse">Ei reageeri, kontrollige Interneti-ühendust</string>
<string id="NoAPIKey" scope="glance">Rakenduse seadetes pole API-võtit</string>
<string id="NoApiUrl" scope="glance">Rakenduse seadetes pole API URL-i</string>
<string id="NoConfigUrl" scope="glance">Rakenduse seadetes pole konfiguratsiooni URL-i</string>
<string id="ApiFlood">API-kõned liiga kiired. Palun aeglustage taotluste esitamist.</string>
<string id="ApiUrlNotFound">URL-i ei leitud. Võimalik API URL-i viga seadetes.</string>
<string id="ConfigUrlNotFound">URL-i ei leitud. Võimalik konfiguratsiooni URL-i viga seadetes.</string>
<string id="NoJson">HTTP-päringust ei tagastatud ühtegi JSON-i.</string>
<string id="UnhandledHttpErr">HTTP päring tagastas veakoodi =</string>
<string id="TrailingSlashErr">API URL-i lõpus ei tohi olla kaldkriipsu „/”</string>
</strings>
<string id="Available" scope="glance">Saadaval</string>
<string id="Checking" scope="glance">Kontrollimine...</string>
<string id="Unavailable" scope="glance">Pole saadaval</string>
<string id="Unconfigured" scope="glance">Konfigureerimata</string>
<string id="Cached" scope="glance">Vahemällu salvestatud</string>
<string id="GlanceMenu" scope="glance">Menüü</string>
<!-- Seadete GUI jaoks -->
<string id="SettingsSelect">Vali...</string>
<string id="SettingsApiKey">API-võti HomeAssistantile.</string>
<string id="SettingsApiKeyPrompt">Pikaealine juurdepääsuluba.</string>
<string id="SettingsApiUrl">HomeAssistant API URL.</string>
<string id="SettingsConfigUrl">URL menüü konfigureerimiseks (JSON).</string>
<string id="SettingsCacheConfig">Kas rakendus peaks menüü konfiguratsiooni vahemällu salvestama?</string>
<string id="SettingsClearCache">Kas rakendus peaks järgmisel käivitamisel olemasoleva vahemälu tühjendama?</string>
<string id="SettingsAppTimeout">Aegumine sekundites. Seadme aku säästmiseks sulgege rakendus pärast seda tegevusetusperioodi.</string>
<string id="SettingsConfirmTimeout">Pärast seda aega (sekundites) suletakse automaatselt toimingu kinnitusdialoog ja toiming tühistatakse. Ajalõpu keelamiseks määrake väärtusele 0.</string>
<string id="SettingsMenuItemStyle">Menüüelemendi stiil.</string>
<string id="SettingsMenuItemStyleIcons">Ikoonid</string>
<string id="SettingsMenuItemStyleText">Täiendav tekst</string>
<string id="SettingsTextAlign">Vasak (väljas) või parem (sees) menüü joondamine.</string>
<string id="LeftToRight">Vasakult paremale</string>
<string id="RightToLeft">Paremalt vasakule</string>
<string id="SettingsWidgetStart">(Ainult vidin) Käivitage rakendus automaatselt vidinast ilma puudutust ootamata.</string>
<string id="SettingsEnableBatteryLevel">Lubage taustteenus, et saata Home Assistantile kella aku tase.</string>
<string id="SettingsBatteryLevelRefreshRate">Värskendussagedus (minutites), mille juures taustateenus peaks aku taseme saatmist kordama.</string>
</strings>

View File

@ -9,7 +9,7 @@
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
P A Abbey & J D Abbey & Someone0nEarth, 31 October 2023
-->
@ -19,19 +19,48 @@
-->
<strings>
<string id="AppName">HomeAssistant</string>
<string id="AppName" scope="glance">HomeAssistant</string>
<string id="MenuItemOn">Päällä</string>
<string id="MenuItemOff">Vinossa</string>
<string id="MenuItemTap">Napauta</string>
<string id="MenuItemMenu">Valikko</string>
<string id="Confirm">Varma?</string>
<string id="Executed" scope="glance">Toteutettu</string>
<string id="NoPhone" scope="glance">Ei puhelinyhteyttä</string>
<string id="NoInternet">Ei Internet-yhteyttä</string>
<string id="NoMenu">Valikkohakuvirhe</string>
<string id="NoAPIKey">Sovellusasetuksissa ei ole API-avainta</string>
<string id="NoApiUrl">Sovellusasetuksissa ei ole API URL-osoitetta</string>
<string id="NoConfigUrl">Sovelluksen asetuksissa ei ole konfigurointi-URL-osoitetta</string>
<string id="NoResponse">Ei vastausta, tarkista Internet-yhteys</string>
<string id="NoAPIKey" scope="glance">Sovelluksen asetuksissa ei ole API-avainta</string>
<string id="NoApiUrl" scope="glance">Sovellusasetuksissa ei ole API URL-osoitetta</string>
<string id="NoConfigUrl" scope="glance">Sovelluksen asetuksissa ei ole konfigurointi-URL-osoitetta</string>
<string id="ApiFlood">API-kutsut liian nopeita. Hidasta pyyntöjäsi.</string>
<string id="ApiUrlNotFound">URL-osoitetta ei löydy. Mahdollinen API URL -virhe asetuksissa.</string>
<string id="ConfigUrlNotFound">URL-osoitetta ei löydy. Mahdollinen konfigurointi-URL-virhe asetuksissa.</string>
<string id="NoJson">HTTP-pyynnöstä ei palautettu JSON-tiedostoja.</string>
<string id="UnhandledHttpErr">HTTP-pyyntö palautti virhekoodin =</string>
<string id="TrailingSlashErr">API-URL-osoitteessa ei saa olla perässä olevaa kauttaviivaa '/'</string>
</strings>
<string id="Available" scope="glance">Saatavilla</string>
<string id="Checking" scope="glance">Tarkistetaan...</string>
<string id="Unavailable" scope="glance">Ei saatavilla</string>
<string id="Unconfigured" scope="glance">Määrittämätön</string>
<string id="Cached" scope="glance">Välimuistissa</string>
<string id="GlanceMenu" scope="glance">Valikko</string>
<!-- GUI-asetusten osalta -->
<string id="SettingsSelect">Valitse...</string>
<string id="SettingsApiKey">API-avain HomeAssistantille.</string>
<string id="SettingsApiKeyPrompt">Pitkäikäinen pääsytunnus.</string>
<string id="SettingsApiUrl">HomeAssistant API:n URL-osoite.</string>
<string id="SettingsConfigUrl">URL-osoite valikon määrityksiä varten (JSON).</string>
<string id="SettingsCacheConfig">Pitäisikö sovelluksen tallentaa valikon asetukset välimuistiin?</string>
<string id="SettingsClearCache">Pitäisikö sovelluksen tyhjentää olemassa oleva välimuisti, kun se käynnistetään seuraavan kerran?</string>
<string id="SettingsAppTimeout">Aikakatkaisu sekunneissa. Poistu sovelluksesta tämän käyttämättömyyden jälkeen säästääksesi laitteen akkua.</string>
<string id="SettingsConfirmTimeout">Tämän ajan kuluttua (sekunneissa) toiminnon vahvistusikkuna suljetaan automaattisesti ja toiminto peruutetaan. Aseta arvoksi 0, jos haluat poistaa aikakatkaisun käytöstä.</string>
<string id="SettingsMenuItemStyle">Valikkokohdan tyyli.</string>
<string id="SettingsMenuItemStyleIcons">Kuvakkeet</string>
<string id="SettingsMenuItemStyleText">Lisäteksti</string>
<string id="SettingsTextAlign">Vasen (pois) tai oikea (päällä) valikon kohdistus.</string>
<string id="LeftToRight">Vasemmalta oikealle</string>
<string id="RightToLeft">Oikealta vasemmalle</string>
<string id="SettingsWidgetStart">(Vain widget) Käynnistä sovellus automaattisesti widgetistä odottamatta napautusta.</string>
<string id="SettingsEnableBatteryLevel">Ota taustapalvelu käyttöön lähettääksesi kellon akun varaustason Home Assistantille.</string>
<string id="SettingsBatteryLevelRefreshRate">Virkistystaajuus (minuutteina), jolla taustapalvelun pitäisi toistaa akun varaustason lähettämistä.</string>
</strings>

View File

@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
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 & Someone0nEarth, 14 November 2023
-->
<!--
Corrections for the French language
Corrections pour la langue française
-->
<strings>
<string id="MenuItemOn">Activé</string>
<string id="MenuItemTap">Clic</string>
<string id="ApiFlood">Appels API trop rapide. Veuillez signaler cette erreur avec les détails de l'appareil.</string>
</strings>

View File

@ -9,7 +9,7 @@
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
P A Abbey & J D Abbey & Someone0nEarth, 31 October 2023
-->
@ -19,19 +19,48 @@
-->
<strings>
<string id="AppName">HomeAssistant</string>
<string id="MenuItemOn">Sur</string>
<string id="AppName" scope="glance">HomeAssistant</string>
<string id="MenuItemOn">Activé</string>
<string id="MenuItemOff">Désactivé</string>
<string id="MenuItemTap">Robinet</string>
<string id="MenuItemTap">Clic</string>
<string id="MenuItemMenu">Menu</string>
<string id="Confirm">Bien sûr?</string>
<string id="Executed" scope="glance">Réalisé</string>
<string id="NoPhone" scope="glance">Pas de connexion téléphonique</string>
<string id="NoInternet">Pas de connexion Internet</string>
<string id="NoMenu">Erreur de récupération du menu</string>
<string id="NoAPIKey">Pas de clé API dans les paramètres de l'application</string>
<string id="NoApiUrl">Aucune URL API dans les paramètres de l'application</string>
<string id="NoConfigUrl">Aucune URL de configuration dans les paramètres de l'application</string>
<string id="ApiFlood">Appels API trop rapides. Veuillez ralentir vos demandes.</string>
<string id="NoResponse">Pas de réponse, vérifiez la connexion Internet</string>
<string id="NoAPIKey" scope="glance">Pas de clé API dans les paramètres de l'application</string>
<string id="NoApiUrl" scope="glance">Aucune URL API dans les paramètres de l'application</string>
<string id="NoConfigUrl" scope="glance">Aucune URL de configuration dans les paramètres de l'application</string>
<string id="ApiFlood">Appels API trop rapide. Veuillez signaler cette erreur avec les détails de l'appareil.</string>
<string id="ApiUrlNotFound">URL introuvable. Erreur potentielle d'URL d'API dans les paramètres.</string>
<string id="ConfigUrlNotFound">URL introuvable. Erreur potentielle d'URL de configuration dans les paramètres.</string>
<string id="NoJson">Aucun JSON renvoyé par la requête HTTP.</string>
<string id="UnhandledHttpErr">La requête HTTP a renvoyé un code d'erreur =</string>
<string id="TrailingSlashErr">L'URL de l'API ne doit pas comporter de barre oblique finale '/'</string>
</strings>
<string id="Available" scope="glance">Disponible</string>
<string id="Checking" scope="glance">Vérification...</string>
<string id="Unavailable" scope="glance">Indisponible</string>
<string id="Unconfigured" scope="glance">Non configuré</string>
<string id="Cached" scope="glance">En cache</string>
<string id="GlanceMenu" scope="glance">Menu</string>
<!-- Pour l'interface graphique des paramètres -->
<string id="SettingsSelect">Sélectionner...</string>
<string id="SettingsApiKey">Clé API pour HomeAssistant.</string>
<string id="SettingsApiKeyPrompt">Jeton d'accès de longue durée.</string>
<string id="SettingsApiUrl">URL de lAPI HomeAssistant.</string>
<string id="SettingsConfigUrl">URL de configuration des menus (JSON).</string>
<string id="SettingsCacheConfig">L'application doit-elle mettre en cache la configuration du menu ?</string>
<string id="SettingsClearCache">L'application doit-elle vider le cache existant au prochain démarrage ?</string>
<string id="SettingsAppTimeout">Délai d'expiration en secondes. Quittez l'application après cette période d'inactivité pour économiser la batterie de l'appareil.</string>
<string id="SettingsConfirmTimeout">Passé ce délai (en secondes), une boîte de dialogue de confirmation d'une action se ferme automatiquement et l'action est annulée. Réglez sur 0 pour désactiver le délai d'attente.</string>
<string id="SettingsMenuItemStyle">Style des éléments de menu.</string>
<string id="SettingsMenuItemStyleIcons">Icônes</string>
<string id="SettingsMenuItemStyleText">Texte supplémentaire</string>
<string id="SettingsTextAlign">Alignement du menu à gauche (désactivé) ou à droite (activé).</string>
<string id="LeftToRight">De gauche à droite</string>
<string id="RightToLeft">De droite à gauche</string>
<string id="SettingsWidgetStart">(Widget uniquement) Démarrez automatiquement l'application à partir du widget sans attendre un clic.</string>
<string id="SettingsEnableBatteryLevel">Activez le service d'arrière-plan pour envoyer le niveau de batterie de l'horloge à Home Assistant.</string>
<string id="SettingsBatteryLevelRefreshRate">Fréquence de rafraîchissement (en minutes) à laquelle le service en arrière-plan doit répéter l'envoi du niveau de la batterie.</string>
</strings>

View File

@ -9,7 +9,7 @@
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
P A Abbey & J D Abbey & Someone0nEarth, 31 October 2023
-->
@ -19,19 +19,48 @@
-->
<strings>
<string id="AppName">HomeAssistant</string>
<string id="AppName" scope="glance">HomeAssistant</string>
<string id="MenuItemOn">Επί</string>
<string id="MenuItemOff">Μακριά από</string>
<string id="MenuItemTap">Παρακέντηση</string>
<string id="MenuItemMenu">Μενού</string>
<string id="Confirm">Σίγουρος?</string>
<string id="Executed" scope="glance">Εκτελέστηκε</string>
<string id="NoPhone" scope="glance">Δεν υπάρχει σύνδεση τηλεφώνου</string>
<string id="NoInternet">Δεν υπάρχει σύνδεση στο διαδίκτυο</string>
<string id="NoMenu">Σφάλμα ανάκτησης μενού</string>
<string id="NoAPIKey">Δεν υπάρχει κλειδί API στις ρυθμίσεις της εφαρμογής</string>
<string id="NoApiUrl">Δεν υπάρχει URL API στις ρυθμίσεις της εφαρμογής</string>
<string id="NoConfigUrl">Δεν υπάρχει διεύθυνση URL διαμόρφωσης στις ρυθμίσεις της εφαρμογής</string>
<string id="NoResponse">Καμία απάντηση, ελέγξτε τη σύνδεση στο Διαδίκτυο</string>
<string id="NoAPIKey" scope="glance">Δεν υπάρχει κλειδί API στις ρυθμίσεις της εφαρμογής</string>
<string id="NoApiUrl" scope="glance">Δεν υπάρχει URL API στις ρυθμίσεις της εφαρμογής</string>
<string id="NoConfigUrl" scope="glance">Δεν υπάρχει διεύθυνση URL διαμόρφωσης στις ρυθμίσεις της εφαρμογής</string>
<string id="ApiFlood">Κλήσεις API πολύ γρήγορες. Παρακαλώ επιβραδύνετε τα αιτήματά σας.</string>
<string id="ApiUrlNotFound">Η διεύθυνση URL δεν βρέθηκε. Πιθανό σφάλμα διεύθυνσης URL API στις ρυθμίσεις.</string>
<string id="ConfigUrlNotFound">Η διεύθυνση URL δεν βρέθηκε. Πιθανό σφάλμα διεύθυνσης URL διαμόρφωσης στις ρυθμίσεις.</string>
<string id="NoJson">Δεν επιστράφηκε JSON από αίτημα HTTP.</string>
<string id="UnhandledHttpErr">Το αίτημα HTTP επέστρεψε κωδικό σφάλματος =</string>
<string id="TrailingSlashErr">Η διεύθυνση URL του API δεν πρέπει να έχει τελική κάθετο "/"</string>
</strings>
<string id="Available" scope="glance">Διαθέσιμος</string>
<string id="Checking" scope="glance">Ελεγχος...</string>
<string id="Unavailable" scope="glance">Μη διαθέσιμο</string>
<string id="Unconfigured" scope="glance">Μη διαμορφωμένο</string>
<string id="Cached" scope="glance">Αποθηκευμένο στην κρυφή μνήμη</string>
<string id="GlanceMenu" scope="glance">Μενού</string>
<!-- Για τις ρυθμίσεις GUI -->
<string id="SettingsSelect">Επιλέγω...</string>
<string id="SettingsApiKey">Κλειδί API για το HomeAssistant.</string>
<string id="SettingsApiKeyPrompt">Διακριτικό πρόσβασης μακράς διαρκείας.</string>
<string id="SettingsApiUrl">URL για το HomeAssistant API.</string>
<string id="SettingsConfigUrl">URL για τη διαμόρφωση μενού (JSON).</string>
<string id="SettingsCacheConfig">Πρέπει η εφαρμογή να αποθηκεύσει προσωρινά τη διαμόρφωση του μενού;</string>
<string id="SettingsClearCache">Πρέπει η εφαρμογή να διαγράψει την υπάρχουσα προσωρινή μνήμη την επόμενη φορά που θα ξεκινήσει;</string>
<string id="SettingsAppTimeout">Timeout σε δευτερόλεπτα. Κλείστε την εφαρμογή μετά από αυτήν την περίοδο αδράνειας για να εξοικονομήσετε την μπαταρία της συσκευής.</string>
<string id="SettingsConfirmTimeout">Μετά από αυτό το χρονικό διάστημα (σε δευτερόλεπτα), ένα παράθυρο διαλόγου επιβεβαίωσης για μια ενέργεια κλείνει αυτόματα και η ενέργεια ακυρώνεται. Ορίστε στο 0 για να απενεργοποιήσετε το χρονικό όριο.</string>
<string id="SettingsMenuItemStyle">Στυλ στοιχείου μενού.</string>
<string id="SettingsMenuItemStyleIcons">εικονίδια</string>
<string id="SettingsMenuItemStyleText">Πρόσθετο Κείμενο</string>
<string id="SettingsTextAlign">Αριστερά (απενεργοποίηση) ή Δεξιά (ενεργό) Ευθυγράμμιση μενού.</string>
<string id="LeftToRight">Από αριστερά προς τα δεξιά</string>
<string id="RightToLeft">Δεξιά προς τα αριστερά</string>
<string id="SettingsWidgetStart">(Μόνο widget) Αυτόματη εκκίνηση της εφαρμογής από το widget χωρίς να περιμένετε ένα πάτημα.</string>
<string id="SettingsEnableBatteryLevel">Ενεργοποιήστε την υπηρεσία παρασκηνίου για αποστολή της στάθμης της μπαταρίας του ρολογιού στο Home Assistant.</string>
<string id="SettingsBatteryLevelRefreshRate">Ο ρυθμός ανανέωσης (σε λεπτά) με τον οποίο η υπηρεσία παρασκηνίου θα πρέπει να επαναλάβει στέλνοντας το επίπεδο της μπαταρίας.</string>
</strings>

View File

@ -9,7 +9,7 @@
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
P A Abbey & J D Abbey & Someone0nEarth, 31 October 2023
-->
@ -19,19 +19,48 @@
-->
<strings>
<string id="AppName">HomeAssistant</string>
<string id="AppName" scope="glance">HomeAssistant</string>
<string id="MenuItemOn">עַל</string>
<string id="MenuItemOff">כבוי</string>
<string id="MenuItemTap">בֶּרֶז</string>
<string id="MenuItemMenu">תַפרִיט</string>
<string id="Confirm">בטוח?</string>
<string id="Executed" scope="glance">יצא לפועל</string>
<string id="NoPhone" scope="glance">אין חיבור לטלפון</string>
<string id="NoInternet">אין חיבור אינטרנט</string>
<string id="NoMenu">שגיאת אחזור תפריט</string>
<string id="NoAPIKey">אין מפתח API בהגדרות האפליקציה</string>
<string id="NoApiUrl">אין כתובת API בהגדרות האפליקציה</string>
<string id="NoConfigUrl">אין כתובת אתר תצורה בהגדרות האפליקציה</string>
<string id="NoResponse">אין תגובה, בדוק חיבור לאינטרנט</string>
<string id="NoAPIKey" scope="glance">אין מפתח API בהגדרות האפליקציה</string>
<string id="NoApiUrl" scope="glance">אין כתובת API בהגדרות האפליקציה</string>
<string id="NoConfigUrl" scope="glance">אין כתובת URL לתצורה בהגדרות האפליקציה</string>
<string id="ApiFlood">קריאות API מהירות מדי. נא להאט את הבקשות שלך.</string>
<string id="ApiUrlNotFound">כתובת האתר לא נמצאה. שגיאה פוטנציאלית של כתובת ה-API בהגדרות.</string>
<string id="ConfigUrlNotFound">כתובת האתר לא נמצאה. שגיאת כתובת אתר פוטנציאלית של תצורה בהגדרות.</string>
<string id="NoJson">לא הוחזר JSON מבקשת HTTP.</string>
<string id="UnhandledHttpErr">בקשת HTTP החזירה קוד שגיאה =</string>
<string id="TrailingSlashErr">כתובת ה-API לא חייבת לכלול לוכסן אחורי '/'</string>
</strings>
<string id="Available" scope="glance">זמין</string>
<string id="Checking" scope="glance">בודק...</string>
<string id="Unavailable" scope="glance">אינו זמין</string>
<string id="Unconfigured" scope="glance">לא מוגדר</string>
<string id="Cached" scope="glance">שמור במטמון</string>
<string id="GlanceMenu" scope="glance">תַפרִיט</string>
<!-- עבור ה-GUI של ההגדרות -->
<string id="SettingsSelect">בחר...</string>
<string id="SettingsApiKey">מפתח API עבור HomeAssistant.</string>
<string id="SettingsApiKeyPrompt">אסימון גישה ארוך-חיים.</string>
<string id="SettingsApiUrl">כתובת URL עבור HomeAssistant API.</string>
<string id="SettingsConfigUrl">כתובת URL עבור תצורת תפריט (JSON).</string>
<string id="SettingsCacheConfig">האם האפליקציה צריכה לשמור את תצורת התפריט במטמון?</string>
<string id="SettingsClearCache">האם היישום צריך לנקות את המטמון הקיים בפעם הבאה שהוא יופעל?</string>
<string id="SettingsAppTimeout">פסק זמן בשניות. צא מהאפליקציה לאחר תקופה זו של חוסר פעילות כדי לחסוך בסוללת המכשיר.</string>
<string id="SettingsConfirmTimeout">לאחר זמן זה (בשניות), תיבת דו-שיח לאישור פעולה נסגרת אוטומטית והפעולה מבוטלת. הגדר ל-0 כדי להשבית את הזמן הקצוב.</string>
<string id="SettingsMenuItemStyle">סגנון פריט בתפריט.</string>
<string id="SettingsMenuItemStyleIcons">אייקונים</string>
<string id="SettingsMenuItemStyleText">טקסט נוסף</string>
<string id="SettingsTextAlign">יישור תפריט שמאלה (כבוי) או ימינה (מופעל).</string>
<string id="LeftToRight">משמאל לימין</string>
<string id="RightToLeft">מימין לשמאל</string>
<string id="SettingsWidgetStart">(יישומון בלבד) הפעל אוטומטית את האפליקציה מהווידג'ט מבלי לחכות להקשה.</string>
<string id="SettingsEnableBatteryLevel">אפשר את שירות הרקע כדי לשלוח את רמת הסוללה של השעון אל Home Assistant.</string>
<string id="SettingsBatteryLevelRefreshRate">קצב הרענון (בדקות) שבו שירות הרקע אמור לחזור על שליחת רמת הסוללה.</string>
</strings>

View File

@ -9,7 +9,7 @@
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
P A Abbey & J D Abbey & Someone0nEarth, 31 October 2023
-->
@ -19,19 +19,48 @@
-->
<strings>
<string id="AppName">HomeAssistant</string>
<string id="AppName" scope="glance">HomeAssistant</string>
<string id="MenuItemOn">Na</string>
<string id="MenuItemOff">Isključeno</string>
<string id="MenuItemTap">Dodirnite</string>
<string id="MenuItemMenu">Jelovnik</string>
<string id="Confirm">Naravno?</string>
<string id="Executed" scope="glance">Pogubljen</string>
<string id="NoPhone" scope="glance">Nema telefonske veze</string>
<string id="NoInternet">Nema internetske veze</string>
<string id="NoMenu">Pogreška dohvaćanja izbornika</string>
<string id="NoAPIKey">Nema API ključa u postavkama aplikacije</string>
<string id="NoApiUrl">Nema API URL-a u postavkama aplikacije</string>
<string id="NoConfigUrl">Nema konfiguracijskog URL-a u postavkama aplikacije</string>
<string id="NoResponse">Nema odgovora, provjerite internetsku vezu</string>
<string id="NoAPIKey" scope="glance">Nema API ključa u postavkama aplikacije</string>
<string id="NoApiUrl" scope="glance">Nema API URL-a u postavkama aplikacije</string>
<string id="NoConfigUrl" scope="glance">Nema konfiguracijskog URL-a u postavkama aplikacije</string>
<string id="ApiFlood">API pozivi su prebrzi. Molimo usporite svoje zahtjeve.</string>
<string id="ApiUrlNotFound">URL nije pronađen. Potencijalna pogreška API URL-a u postavkama.</string>
<string id="ConfigUrlNotFound">URL nije pronađen. Potencijalna pogreška URL-a konfiguracije u postavkama.</string>
<string id="NoJson">HTTP zahtjev nije vratio JSON.</string>
<string id="UnhandledHttpErr">HTTP zahtjev vratio je kod greške =</string>
<string id="TrailingSlashErr">API URL ne smije imati kosu crtu na kraju '/'</string>
</strings>
<string id="Available" scope="glance">Dostupno</string>
<string id="Checking" scope="glance">Provjera...</string>
<string id="Unavailable" scope="glance">Nedostupan</string>
<string id="Unconfigured" scope="glance">Nekonfigurirano</string>
<string id="Cached" scope="glance">Spremljeno u predmemoriju</string>
<string id="GlanceMenu" scope="glance">Jelovnik</string>
<!-- Za GUI postavki -->
<string id="SettingsSelect">Izaberi...</string>
<string id="SettingsApiKey">API ključ za HomeAssistant.</string>
<string id="SettingsApiKeyPrompt">Dugotrajni pristupni token.</string>
<string id="SettingsApiUrl">URL za HomeAssistant API.</string>
<string id="SettingsConfigUrl">URL za konfiguraciju izbornika (JSON).</string>
<string id="SettingsCacheConfig">Treba li aplikacija spremiti konfiguraciju izbornika u predmemoriju?</string>
<string id="SettingsClearCache">Treba li aplikacija prilikom sljedećeg pokretanja očistiti postojeću predmemoriju?</string>
<string id="SettingsAppTimeout">Istek u sekundama. Izađite iz aplikacije nakon ovog razdoblja neaktivnosti kako biste uštedjeli bateriju uređaja.</string>
<string id="SettingsConfirmTimeout">Nakon tog vremena (u sekundama), dijaloški okvir za potvrdu radnje automatski se zatvara i radnja se poništava. Postavite na 0 da onemogućite vremensko ograničenje.</string>
<string id="SettingsMenuItemStyle">Stil stavke izbornika.</string>
<string id="SettingsMenuItemStyleIcons">Ikone</string>
<string id="SettingsMenuItemStyleText">Dodatni tekst</string>
<string id="SettingsTextAlign">Lijevo (isključeno) ili desno (uključeno) poravnanje izbornika.</string>
<string id="LeftToRight">S lijeva nadesno</string>
<string id="RightToLeft">S desna na lijevo</string>
<string id="SettingsWidgetStart">(Samo widget) Automatski pokrenite aplikaciju iz widgeta bez čekanja na dodir.</string>
<string id="SettingsEnableBatteryLevel">Omogućite pozadinsku uslugu za slanje razine baterije sata kućnom pomoćniku.</string>
<string id="SettingsBatteryLevelRefreshRate">Brzina osvježavanja (u minutama) pri kojoj bi pozadinska usluga trebala ponavljati slanje razine baterije.</string>
</strings>

View File

@ -9,7 +9,7 @@
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
P A Abbey & J D Abbey & Someone0nEarth, 31 October 2023
-->
@ -19,19 +19,48 @@
-->
<strings>
<string id="AppName">HomeAssistant</string>
<string id="AppName" scope="glance">HomeAssistant</string>
<string id="MenuItemOn">Tovább</string>
<string id="MenuItemOff">Ki</string>
<string id="MenuItemTap">Koppintson a</string>
<string id="MenuItemMenu">Menü</string>
<string id="Confirm">Biztos?</string>
<string id="Executed" scope="glance">Végrehajtott</string>
<string id="NoPhone" scope="glance">Nincs telefonkapcsolat</string>
<string id="NoInternet">Nincs internetkapcsolat</string>
<string id="NoMenu">Menü Lekérési hiba</string>
<string id="NoAPIKey">Nincs API kulcs az alkalmazás beállításaiban</string>
<string id="NoApiUrl">Nincs API URL az alkalmazás beállításai között</string>
<string id="NoConfigUrl">Nincs konfigurációs URL az alkalmazás beállításai között</string>
<string id="NoResponse">Nincs válasz, ellenőrizze az internetkapcsolatot</string>
<string id="NoAPIKey" scope="glance">Nincs API kulcs az alkalmazás beállításaiban</string>
<string id="NoApiUrl" scope="glance">Nincs API URL az alkalmazás beállításai között</string>
<string id="NoConfigUrl" scope="glance">Nincs konfigurációs URL az alkalmazás beállításai között</string>
<string id="ApiFlood">Az API-hívások túl gyorsak. Kérjük, lassítsa a kérések teljesítését.</string>
<string id="ApiUrlNotFound">Az URL nem található. Lehetséges API URL hiba a beállításokban.</string>
<string id="ConfigUrlNotFound">Az URL nem található. Lehetséges konfigurációs URL hiba a beállításokban.</string>
<string id="NoJson">A HTTP-kérésből nem érkezett vissza JSON.</string>
<string id="UnhandledHttpErr">A HTTP-kérés = hibakódot adott vissza</string>
<string id="TrailingSlashErr">Az API URL-ben nem lehet perjel a „/”</string>
</strings>
<string id="Available" scope="glance">Elérhető</string>
<string id="Checking" scope="glance">Ellenőrzés...</string>
<string id="Unavailable" scope="glance">Nem érhető el</string>
<string id="Unconfigured" scope="glance">Nincs konfigurálva</string>
<string id="Cached" scope="glance">Gyorsítótárban</string>
<string id="GlanceMenu" scope="glance">Menü</string>
<!-- A beállítások GUI-hoz -->
<string id="SettingsSelect">Válassz...</string>
<string id="SettingsApiKey">API-kulcs a HomeAssistant számára.</string>
<string id="SettingsApiKeyPrompt">Hosszú életű hozzáférési token.</string>
<string id="SettingsApiUrl">A HomeAssistant API URL-je.</string>
<string id="SettingsConfigUrl">URL a menükonfigurációhoz (JSON).</string>
<string id="SettingsCacheConfig">Az alkalmazásnak gyorsítótárba kell helyeznie a menü konfigurációját?</string>
<string id="SettingsClearCache">Törölje az alkalmazásnak a meglévő gyorsítótárat a következő indításakor?</string>
<string id="SettingsAppTimeout">Időtúllépés másodpercben. Az eszköz akkumulátorának kímélése érdekében lépjen ki az alkalmazásból ezen inaktivitási időszak után.</string>
<string id="SettingsConfirmTimeout">Ezen idő elteltével (másodpercben) egy művelet megerősítő párbeszédpanele automatikusan bezárul, és a művelet megszakad. Állítsa 0-ra az időtúllépés letiltásához.</string>
<string id="SettingsMenuItemStyle">Menüelem stílusa.</string>
<string id="SettingsMenuItemStyleIcons">Ikonok</string>
<string id="SettingsMenuItemStyleText">Kiegészítő szöveg</string>
<string id="SettingsTextAlign">Balra (ki) vagy Jobbra (be) Menüigazítás.</string>
<string id="LeftToRight">Balról jobbra</string>
<string id="RightToLeft">Jobbról balra</string>
<string id="SettingsWidgetStart">(Csak Widget) Az alkalmazás automatikus indítása a widgetről anélkül, hogy egy érintésre várna.</string>
<string id="SettingsEnableBatteryLevel">Engedélyezze a háttérszolgáltatást, hogy elküldje az óra töltöttségi szintjét a Home Assistantnek.</string>
<string id="SettingsBatteryLevelRefreshRate">Az a frissítési gyakoriság (percben), amelynél a háttérszolgáltatásnak meg kell ismételnie az akkumulátor töltöttségi szintjének küldését.</string>
</strings>

View File

@ -17,4 +17,6 @@
<drawables>
<bitmap id="ErrorIcon" filename="error.svg"/>
</drawables>
<bitmap id="GroupTypeIcon" filename="group_type.svg"/>
<bitmap id="TapTypeIcon" filename="tap_type.svg"/>
</drawables>

View File

@ -0,0 +1,7 @@
<svg height="18" viewBox="0 0 200 500" width="18" xmlns="http://www.w3.org/2000/svg">
<g transform="matrix(1, 0, 0, 1, 0, 0)">
<rect fill="blue" height="100" rx="40" ry="40" width="200" x="0" y="0"/>
<rect fill="blue" height="100" rx="40" ry="40" width="200" x="0" y="200"/>
<rect fill="blue" height="100" rx="40" ry="40" width="200" x="0" y="400"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 361 B

View File

@ -0,0 +1 @@
<svg height="18" viewBox="0 -960 960 960" width="18" xmlns="http://www.w3.org/2000/svg"><path d="M445-80q-29 0-56-12t-45-35L127-403l21-23q14-15 34.5-18.5T221-438l99 53v-365q0-12.75 8.675-21.375 8.676-8.625 21.5-8.625 12.825 0 21.325 8.625T380-750v465l-144-77 156 198q10 12 23.76 18 13.76 6 29.24 6h205q38 0 64-26t26-64v-170q0-25.5-17.25-42.75T680-460H460v-60h219.646q50.148 0 85.251 35T800-400v170q0 63-43.5 106.5T650-80H445ZM203-665q-11.074-18.754-17.037-40.492Q180-727.229 180-750.246 180-821 229.725-870.5T350-920q70.55 0 120.275 49.738Q520-820.524 520-749.956q0 22.956-5.963 44.614Q508.074-683.685 497-665l-52-30q7-12 11-26t4-29.478Q460-796 427.882-828q-32.117-32-78-32Q304-860 272-827.917 240-795.833 240-750q0 15 4 29t11 26l-52 30Zm285 335Z" fill="blue" stroke="blue"/></svg>

After

Width:  |  Height:  |  Size: 781 B

View File

@ -17,4 +17,6 @@
<drawables>
<bitmap id="ErrorIcon" filename="error.svg"/>
</drawables>
<bitmap id="GroupTypeIcon" filename="group_type.svg"/>
<bitmap id="TapTypeIcon" filename="tap_type.svg"/>
</drawables>

View File

@ -0,0 +1,7 @@
<svg height="21" viewBox="0 0 200 500" width="21" xmlns="http://www.w3.org/2000/svg">
<g transform="matrix(1, 0, 0, 1, 0, 0)">
<rect fill="blue" height="100" rx="40" ry="40" width="200" x="0" y="0"/>
<rect fill="blue" height="100" rx="40" ry="40" width="200" x="0" y="200"/>
<rect fill="blue" height="100" rx="40" ry="40" width="200" x="0" y="400"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 361 B

View File

@ -0,0 +1 @@
<svg height="21" viewBox="0 -960 960 960" width="21" xmlns="http://www.w3.org/2000/svg"><path d="M445-80q-29 0-56-12t-45-35L127-403l21-23q14-15 34.5-18.5T221-438l99 53v-365q0-12.75 8.675-21.375 8.676-8.625 21.5-8.625 12.825 0 21.325 8.625T380-750v465l-144-77 156 198q10 12 23.76 18 13.76 6 29.24 6h205q38 0 64-26t26-64v-170q0-25.5-17.25-42.75T680-460H460v-60h219.646q50.148 0 85.251 35T800-400v170q0 63-43.5 106.5T650-80H445ZM203-665q-11.074-18.754-17.037-40.492Q180-727.229 180-750.246 180-821 229.725-870.5T350-920q70.55 0 120.275 49.738Q520-820.524 520-749.956q0 22.956-5.963 44.614Q508.074-683.685 497-665l-52-30q7-12 11-26t4-29.478Q460-796 427.882-828q-32.117-32-78-32Q304-860 272-827.917 240-795.833 240-750q0 15 4 29t11 26l-52 30Zm285 335Z" fill="blue" stroke="blue"/></svg>

After

Width:  |  Height:  |  Size: 781 B

View File

@ -17,4 +17,6 @@
<drawables>
<bitmap id="ErrorIcon" filename="error.svg"/>
</drawables>
<bitmap id="GroupTypeIcon" filename="group_type.svg"/>
<bitmap id="TapTypeIcon" filename="tap_type.svg"/>
</drawables>

View File

@ -0,0 +1,7 @@
<svg height="24" viewBox="0 0 200 500" width="24" xmlns="http://www.w3.org/2000/svg">
<g transform="matrix(1, 0, 0, 1, 0, 0)">
<rect fill="blue" height="100" rx="40" ry="40" width="200" x="0" y="0"/>
<rect fill="blue" height="100" rx="40" ry="40" width="200" x="0" y="200"/>
<rect fill="blue" height="100" rx="40" ry="40" width="200" x="0" y="400"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 361 B

View File

@ -0,0 +1 @@
<svg height="24" viewBox="0 -960 960 960" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M445-80q-29 0-56-12t-45-35L127-403l21-23q14-15 34.5-18.5T221-438l99 53v-365q0-12.75 8.675-21.375 8.676-8.625 21.5-8.625 12.825 0 21.325 8.625T380-750v465l-144-77 156 198q10 12 23.76 18 13.76 6 29.24 6h205q38 0 64-26t26-64v-170q0-25.5-17.25-42.75T680-460H460v-60h219.646q50.148 0 85.251 35T800-400v170q0 63-43.5 106.5T650-80H445ZM203-665q-11.074-18.754-17.037-40.492Q180-727.229 180-750.246 180-821 229.725-870.5T350-920q70.55 0 120.275 49.738Q520-820.524 520-749.956q0 22.956-5.963 44.614Q508.074-683.685 497-665l-52-30q7-12 11-26t4-29.478Q460-796 427.882-828q-32.117-32-78-32Q304-860 272-827.917 240-795.833 240-750q0 15 4 29t11 26l-52 30Zm285 335Z" fill="blue" stroke="blue"/></svg>

After

Width:  |  Height:  |  Size: 781 B

View File

@ -17,4 +17,6 @@
<drawables>
<bitmap id="ErrorIcon" filename="error.svg"/>
</drawables>
<bitmap id="GroupTypeIcon" filename="group_type.svg"/>
<bitmap id="TapTypeIcon" filename="tap_type.svg"/>
</drawables>

View File

@ -0,0 +1,7 @@
<svg height="26" viewBox="0 0 200 500" width="26" xmlns="http://www.w3.org/2000/svg">
<g transform="matrix(1, 0, 0, 1, 0, 0)">
<rect fill="blue" height="100" rx="40" ry="40" width="200" x="0" y="0"/>
<rect fill="blue" height="100" rx="40" ry="40" width="200" x="0" y="200"/>
<rect fill="blue" height="100" rx="40" ry="40" width="200" x="0" y="400"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 361 B

View File

@ -0,0 +1 @@
<svg height="26" viewBox="0 -960 960 960" width="26" xmlns="http://www.w3.org/2000/svg"><path d="M445-80q-29 0-56-12t-45-35L127-403l21-23q14-15 34.5-18.5T221-438l99 53v-365q0-12.75 8.675-21.375 8.676-8.625 21.5-8.625 12.825 0 21.325 8.625T380-750v465l-144-77 156 198q10 12 23.76 18 13.76 6 29.24 6h205q38 0 64-26t26-64v-170q0-25.5-17.25-42.75T680-460H460v-60h219.646q50.148 0 85.251 35T800-400v170q0 63-43.5 106.5T650-80H445ZM203-665q-11.074-18.754-17.037-40.492Q180-727.229 180-750.246 180-821 229.725-870.5T350-920q70.55 0 120.275 49.738Q520-820.524 520-749.956q0 22.956-5.963 44.614Q508.074-683.685 497-665l-52-30q7-12 11-26t4-29.478Q460-796 427.882-828q-32.117-32-78-32Q304-860 272-827.917 240-795.833 240-750q0 15 4 29t11 26l-52 30Zm285 335Z" fill="blue" stroke="blue"/></svg>

After

Width:  |  Height:  |  Size: 781 B

View File

@ -17,4 +17,6 @@
<drawables>
<bitmap id="ErrorIcon" filename="error.svg"/>
</drawables>
<bitmap id="GroupTypeIcon" filename="group_type.svg"/>
<bitmap id="TapTypeIcon" filename="tap_type.svg"/>
</drawables>

View File

@ -0,0 +1,7 @@
<svg height="28" viewBox="0 0 200 500" width="28" xmlns="http://www.w3.org/2000/svg">
<g transform="matrix(1, 0, 0, 1, 0, 0)">
<rect fill="blue" height="100" rx="40" ry="40" width="200" x="0" y="0"/>
<rect fill="blue" height="100" rx="40" ry="40" width="200" x="0" y="200"/>
<rect fill="blue" height="100" rx="40" ry="40" width="200" x="0" y="400"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 361 B

View File

@ -0,0 +1 @@
<svg height="28" viewBox="0 -960 960 960" width="28" xmlns="http://www.w3.org/2000/svg"><path d="M445-80q-29 0-56-12t-45-35L127-403l21-23q14-15 34.5-18.5T221-438l99 53v-365q0-12.75 8.675-21.375 8.676-8.625 21.5-8.625 12.825 0 21.325 8.625T380-750v465l-144-77 156 198q10 12 23.76 18 13.76 6 29.24 6h205q38 0 64-26t26-64v-170q0-25.5-17.25-42.75T680-460H460v-60h219.646q50.148 0 85.251 35T800-400v170q0 63-43.5 106.5T650-80H445ZM203-665q-11.074-18.754-17.037-40.492Q180-727.229 180-750.246 180-821 229.725-870.5T350-920q70.55 0 120.275 49.738Q520-820.524 520-749.956q0 22.956-5.963 44.614Q508.074-683.685 497-665l-52-30q7-12 11-26t4-29.478Q460-796 427.882-828q-32.117-32-78-32Q304-860 272-827.917 240-795.833 240-750q0 15 4 29t11 26l-52 30Zm285 335Z" fill="blue" stroke="blue"/></svg>

After

Width:  |  Height:  |  Size: 781 B

View File

@ -17,4 +17,6 @@
<drawables>
<bitmap id="ErrorIcon" filename="error.svg"/>
</drawables>
<bitmap id="GroupTypeIcon" filename="group_type.svg"/>
<bitmap id="TapTypeIcon" filename="tap_type.svg"/>
</drawables>

View File

@ -0,0 +1,7 @@
<svg height="30" viewBox="0 0 200 500" width="30" xmlns="http://www.w3.org/2000/svg">
<g transform="matrix(1, 0, 0, 1, 0, 0)">
<rect fill="blue" height="100" rx="40" ry="40" width="200" x="0" y="0"/>
<rect fill="blue" height="100" rx="40" ry="40" width="200" x="0" y="200"/>
<rect fill="blue" height="100" rx="40" ry="40" width="200" x="0" y="400"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 361 B

View File

@ -0,0 +1 @@
<svg height="30" viewBox="0 -960 960 960" width="30" xmlns="http://www.w3.org/2000/svg"><path d="M445-80q-29 0-56-12t-45-35L127-403l21-23q14-15 34.5-18.5T221-438l99 53v-365q0-12.75 8.675-21.375 8.676-8.625 21.5-8.625 12.825 0 21.325 8.625T380-750v465l-144-77 156 198q10 12 23.76 18 13.76 6 29.24 6h205q38 0 64-26t26-64v-170q0-25.5-17.25-42.75T680-460H460v-60h219.646q50.148 0 85.251 35T800-400v170q0 63-43.5 106.5T650-80H445ZM203-665q-11.074-18.754-17.037-40.492Q180-727.229 180-750.246 180-821 229.725-870.5T350-920q70.55 0 120.275 49.738Q520-820.524 520-749.956q0 22.956-5.963 44.614Q508.074-683.685 497-665l-52-30q7-12 11-26t4-29.478Q460-796 427.882-828q-32.117-32-78-32Q304-860 272-827.917 240-795.833 240-750q0 15 4 29t11 26l-52 30Zm285 335Z" fill="blue" stroke="blue"/></svg>

After

Width:  |  Height:  |  Size: 781 B

View File

@ -17,4 +17,6 @@
<drawables>
<bitmap id="ErrorIcon" filename="error.svg"/>
</drawables>
<bitmap id="GroupTypeIcon" filename="group_type.svg"/>
<bitmap id="TapTypeIcon" filename="tap_type.svg"/>
</drawables>

View File

@ -0,0 +1,7 @@
<svg height="32" viewBox="0 0 200 500" width="32" xmlns="http://www.w3.org/2000/svg">
<g transform="matrix(1, 0, 0, 1, 0, 0)">
<rect fill="blue" height="100" rx="40" ry="40" width="200" x="0" y="0"/>
<rect fill="blue" height="100" rx="40" ry="40" width="200" x="0" y="200"/>
<rect fill="blue" height="100" rx="40" ry="40" width="200" x="0" y="400"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 361 B

View File

@ -0,0 +1 @@
<svg height="32" viewBox="0 -960 960 960" width="32" xmlns="http://www.w3.org/2000/svg"><path d="M445-80q-29 0-56-12t-45-35L127-403l21-23q14-15 34.5-18.5T221-438l99 53v-365q0-12.75 8.675-21.375 8.676-8.625 21.5-8.625 12.825 0 21.325 8.625T380-750v465l-144-77 156 198q10 12 23.76 18 13.76 6 29.24 6h205q38 0 64-26t26-64v-170q0-25.5-17.25-42.75T680-460H460v-60h219.646q50.148 0 85.251 35T800-400v170q0 63-43.5 106.5T650-80H445ZM203-665q-11.074-18.754-17.037-40.492Q180-727.229 180-750.246 180-821 229.725-870.5T350-920q70.55 0 120.275 49.738Q520-820.524 520-749.956q0 22.956-5.963 44.614Q508.074-683.685 497-665l-52-30q7-12 11-26t4-29.478Q460-796 427.882-828q-32.117-32-78-32Q304-860 272-827.917 240-795.833 240-750q0 15 4 29t11 26l-52 30Zm285 335Z" fill="blue" stroke="blue"/></svg>

After

Width:  |  Height:  |  Size: 781 B

View File

@ -17,4 +17,6 @@
<drawables>
<bitmap id="ErrorIcon" filename="error.svg"/>
</drawables>
<bitmap id="GroupTypeIcon" filename="group_type.svg"/>
<bitmap id="TapTypeIcon" filename="tap_type.svg"/>
</drawables>

View File

@ -0,0 +1,7 @@
<svg height="38" viewBox="0 0 200 500" width="38" xmlns="http://www.w3.org/2000/svg">
<g transform="matrix(1, 0, 0, 1, 0, 0)">
<rect fill="blue" height="100" rx="40" ry="40" width="200" x="0" y="0"/>
<rect fill="blue" height="100" rx="40" ry="40" width="200" x="0" y="200"/>
<rect fill="blue" height="100" rx="40" ry="40" width="200" x="0" y="400"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 361 B

View File

@ -0,0 +1 @@
<svg height="38" viewBox="0 -960 960 960" width="38" xmlns="http://www.w3.org/2000/svg"><path d="M445-80q-29 0-56-12t-45-35L127-403l21-23q14-15 34.5-18.5T221-438l99 53v-365q0-12.75 8.675-21.375 8.676-8.625 21.5-8.625 12.825 0 21.325 8.625T380-750v465l-144-77 156 198q10 12 23.76 18 13.76 6 29.24 6h205q38 0 64-26t26-64v-170q0-25.5-17.25-42.75T680-460H460v-60h219.646q50.148 0 85.251 35T800-400v170q0 63-43.5 106.5T650-80H445ZM203-665q-11.074-18.754-17.037-40.492Q180-727.229 180-750.246 180-821 229.725-870.5T350-920q70.55 0 120.275 49.738Q520-820.524 520-749.956q0 22.956-5.963 44.614Q508.074-683.685 497-665l-52-30q7-12 11-26t4-29.478Q460-796 427.882-828q-32.117-32-78-32Q304-860 272-827.917 240-795.833 240-750q0 15 4 29t11 26l-52 30Zm285 335Z" fill="blue" stroke="blue"/></svg>

After

Width:  |  Height:  |  Size: 781 B

View File

@ -17,4 +17,6 @@
<drawables>
<bitmap id="ErrorIcon" filename="error.svg"/>
</drawables>
<bitmap id="GroupTypeIcon" filename="group_type.svg"/>
<bitmap id="TapTypeIcon" filename="tap_type.svg"/>
</drawables>

View File

@ -0,0 +1,7 @@
<svg height="42" viewBox="0 0 200 500" width="42" xmlns="http://www.w3.org/2000/svg">
<g transform="matrix(1, 0, 0, 1, 0, 0)">
<rect fill="blue" height="100" rx="40" ry="40" width="200" x="0" y="0"/>
<rect fill="blue" height="100" rx="40" ry="40" width="200" x="0" y="200"/>
<rect fill="blue" height="100" rx="40" ry="40" width="200" x="0" y="400"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 361 B

View File

@ -0,0 +1 @@
<svg height="42" viewBox="0 -960 960 960" width="42" xmlns="http://www.w3.org/2000/svg"><path d="M445-80q-29 0-56-12t-45-35L127-403l21-23q14-15 34.5-18.5T221-438l99 53v-365q0-12.75 8.675-21.375 8.676-8.625 21.5-8.625 12.825 0 21.325 8.625T380-750v465l-144-77 156 198q10 12 23.76 18 13.76 6 29.24 6h205q38 0 64-26t26-64v-170q0-25.5-17.25-42.75T680-460H460v-60h219.646q50.148 0 85.251 35T800-400v170q0 63-43.5 106.5T650-80H445ZM203-665q-11.074-18.754-17.037-40.492Q180-727.229 180-750.246 180-821 229.725-870.5T350-920q70.55 0 120.275 49.738Q520-820.524 520-749.956q0 22.956-5.963 44.614Q508.074-683.685 497-665l-52-30q7-12 11-26t4-29.478Q460-796 427.882-828q-32.117-32-78-32Q304-860 272-827.917 240-795.833 240-750q0 15 4 29t11 26l-52 30Zm285 335Z" fill="blue" stroke="blue"/></svg>

After

Width:  |  Height:  |  Size: 781 B

View File

@ -17,4 +17,6 @@
<drawables>
<bitmap id="ErrorIcon" filename="error.svg"/>
</drawables>
<bitmap id="GroupTypeIcon" filename="group_type.svg"/>
<bitmap id="TapTypeIcon" filename="tap_type.svg"/>
</drawables>

View File

@ -0,0 +1,7 @@
<svg height="46" viewBox="0 0 200 500" width="46" xmlns="http://www.w3.org/2000/svg">
<g transform="matrix(1, 0, 0, 1, 0, 0)">
<rect fill="blue" height="100" rx="40" ry="40" width="200" x="0" y="0"/>
<rect fill="blue" height="100" rx="40" ry="40" width="200" x="0" y="200"/>
<rect fill="blue" height="100" rx="40" ry="40" width="200" x="0" y="400"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 361 B

View File

@ -0,0 +1 @@
<svg height="46" viewBox="0 -960 960 960" width="46" xmlns="http://www.w3.org/2000/svg"><path d="M445-80q-29 0-56-12t-45-35L127-403l21-23q14-15 34.5-18.5T221-438l99 53v-365q0-12.75 8.675-21.375 8.676-8.625 21.5-8.625 12.825 0 21.325 8.625T380-750v465l-144-77 156 198q10 12 23.76 18 13.76 6 29.24 6h205q38 0 64-26t26-64v-170q0-25.5-17.25-42.75T680-460H460v-60h219.646q50.148 0 85.251 35T800-400v170q0 63-43.5 106.5T650-80H445ZM203-665q-11.074-18.754-17.037-40.492Q180-727.229 180-750.246 180-821 229.725-870.5T350-920q70.55 0 120.275 49.738Q520-820.524 520-749.956q0 22.956-5.963 44.614Q508.074-683.685 497-665l-52-30q7-12 11-26t4-29.478Q460-796 427.882-828q-32.117-32-78-32Q304-860 272-827.917 240-795.833 240-750q0 15 4 29t11 26l-52 30Zm285 335Z" fill="blue" stroke="blue"/></svg>

After

Width:  |  Height:  |  Size: 781 B

View File

@ -17,4 +17,6 @@
<drawables>
<bitmap id="ErrorIcon" filename="error.svg"/>
</drawables>
<bitmap id="GroupTypeIcon" filename="group_type.svg"/>
<bitmap id="TapTypeIcon" filename="tap_type.svg"/>
</drawables>

View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<svg viewBox="0 0 200 500" width="48" height="48" xmlns="http://www.w3.org/2000/svg">
<g transform="matrix(1, 0, 0, 1, 0, 0)">
<rect x="0" y="0" width="200" height="100" fill="blue" rx="40" ry="40"/>
<rect x="0" y="200" width="200" height="100" fill="blue" rx="40" ry="40"/>
<rect x="0" y="400" width="200" height="100" fill="blue" rx="40" ry="40"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 419 B

Some files were not shown because too many files have changed in this diff Show More