Compare commits

..

415 Commits

Author SHA1 Message Date
JosephAbbey
72b96c8f4d Apply automatic changes 2025-09-14 11:48:48 +00:00
__JosephAbbey
8956c0afb6 Update GitHub Action for translation with new script (#290) 2025-09-14 12:44:10 +01:00
Joseph Abbey
c1d4045890 Update pip install and env 2025-09-14 12:40:22 +01:00
Joseph Abbey
1dc2117eb2 Update the translation script to use Gemini instead of Google Translate (#287) 2025-09-14 12:35:01 +01:00
Philip Abbey
2729182420 Fix HomeAssistant in strings (#288) 2025-09-14 12:20:43 +01:00
Philip Abbey
9852ae39c3 Update HTTP_Headers.md
Missed some normalisation of 'HomeAssistant'.
2025-09-14 12:13:44 +01:00
Philip Abbey
acdd44564b 2025 09 bug fixes (#285)
Three bug fixes.

1. Fixed a bug where templates failed to display in toggle menu items
(at least on some devices).
2. Fixed a bug where a menu item requesting to exit on completion
appeared to indicate failure when using Wi-Fi or LTE. The fix uses a
delay in exiting the application modelled as sufficient for a Venu 2
device, so this might need tweaking for other devices. Closes #283.
3. Attempt to fixed an "Out of Memory" bug caused by v3.3 by making
automatic checking for menu updates both optional and automatically
turned off when insufficient memory is available. This last bug is
device dependent and may require another attempt. Closes #284.
2025-09-13 20:09:26 +01:00
Philip Abbey
8db9820ffa Cosmetic change to docs
"Home Assistant" -> "HomeAssistant"
2025-09-13 20:06:10 +01:00
Philip Abbey
ddc66baccb Re-translation of the HomeAssistant strings
I note that automatic translation has had some fun with the conversion of 'HomeAssistant', and not always desirable.
2025-09-13 20:02:06 +01:00
krzys-h
61afdc0566 Improve all existing translations
Using the newly introduced improve mode of translation script
2025-09-13 20:50:19 +02:00
krzys-h
e50d365e65 Add an option to limit the processed languages 2025-09-13 20:50:19 +02:00
krzys-h
d1f5abfc1f Implement improve mode
In improve mode, the AI is allowed to change any translation to correct
mistakes of the old Google Translate code.
2025-09-13 20:50:19 +02:00
krzys-h
0dd8bd72ff Update the translation script to use Gemini instead of Google Translate
This code itself was also AI generated.
2025-09-13 20:50:14 +02:00
__JosephAbbey
b2f1025a18 Fix HomeAssistant in strings 2025-09-13 19:28:48 +01:00
Philip Abbey
3566920114 Documentation update
New settings.
2025-09-13 12:05:49 +01:00
Philip Abbey
7ba0d76bf6 Added option to turn off automatic menu update checking
This is because it uses additional memory than can cause some older devices to crash unless they have smaller menus.
2025-09-13 11:06:29 +01:00
Philip Abbey
e284cd2d4a 2 Bug fixes
1. Fixed a bug where templates failed to display in toggle menu items (at least on some devices).
2. Fixed a bug where a menu item requesting to exit on completion appeared to indicate failure when using Wi-Fi or LTE. The fix uses a delay in exiting the application modelled as sufficient for a Venu 2 device, so this might need tweaking for other devices.
2025-09-12 14:34:16 +01:00
Philip Abbey
46e44ada30 Update README.md
Added link to Github issues.
2025-09-08 21:43:05 +01:00
Philip Abbey
960a069d99 Fixes (#282)
Fixes
2025-09-07 16:56:37 +01:00
Philip Abbey
c78ca4c318 Fixes 2025-09-07 14:43:18 +01:00
__JosephAbbey
0d28543156 278 add stale while revalidate to caching (#280)
Afetr startup and setting the meni item states, check to see if the
cache menu is out of date wrt the URL and then save the new version and
prompt the user to restart the application on the device. Initial
testing of the Beta version on my watch looks good.
2025-09-06 16:13:56 +01:00
__JosephAbbey
6e735ccd30 Handle null items and values, handle arrays directly under arrays 2025-09-06 16:12:43 +01:00
Philip Abbey
d534c60998 Update HISTORY.md
Added 3.3 version string.
2025-09-05 18:16:41 +01:00
Philip Abbey
4b206f4501 Update README.md
Amended for new cache validation code.
2025-09-05 16:40:57 +01:00
Philip Abbey
03ff4b570b Initial version 2025-09-05 15:43:01 +01:00
Philip Abbey
27dc66d005 Update HomeAssistantApp.mc
Cosmetic
2025-09-05 10:36:35 +01:00
Philip Abbey
9dbae5a64a Cosmetic
Code tidy
2025-09-05 10:01:24 +01:00
Philip Abbey
2923c8faec Documentation update for v3.2 2025-08-15 17:54:19 +01:00
Philip Abbey
a37b9842cb Update HISTORY.md
Amended v3.1 text. Added v3.2 text.
2025-08-15 17:26:32 +01:00
__JosephAbbey
ec2324a8d1 Only re-register sensors if the state has changed (#275) 2025-08-15 17:15:02 +01:00
Philip Abbey
7d77a79ad8 Fix for update before Webhook ID (re-)created. 2025-08-15 17:04:54 +01:00
Philip Abbey
756647d156 Added Setting option to clear the Webhook ID
Co-Authored-By: __JosephAbbey <me@josephabbey.dev>
2025-08-15 15:23:30 +01:00
Joseph Abbey
25cbcfe59a Rename variable 2025-08-15 13:56:46 +01:00
Philip Abbey
04dec1a8ba Merge branch 'main' into 273-only-reregister-sensors-if-the-setting-has-been-updated 2025-08-15 13:41:37 +01:00
Philip Abbey
46740fac76 Update HISTORY.md
Amended v3.1 test to include the bug fix.
2025-08-15 13:39:56 +01:00
Joseph Abbey
474bd552ad Only re-register sensors if the state has changed 2025-08-15 13:22:29 +01:00
Philip Abbey
649f0f250d 264 add custom https headers for eg cloudflare tunnels (#272)
Additional settings to provide a custom HTTP header so that the
application can work with Cloudflare's Web Application Firewall (WAF).
2025-08-15 13:09:27 +01:00
Philip Abbey
5a0bd98ddb Candidate bug fix for crash opening app from glance
Changed the function parameters on WebhookManager.onReturnRegisterWebhookSensor() to remove the last optional parameter that was causing the error message and this appears to keep the application happy on start up. Looks like an API request race between the glance's last call and the app first call.

Co-Authored-By: __JosephAbbey <me@josephabbey.dev>
2025-08-15 12:56:22 +01:00
Philip Abbey
ce81c6af0a Review comments
Co-Authored-By: Lars Pöpperl <45465820+tispokes@users.noreply.github.com>
2025-08-11 20:07:10 +01:00
Philip Abbey
3d7b588d2c small doc suggestions (#271)
Thank you!
2025-08-10 20:52:29 +01:00
Philip Abbey
166b5f4ec3 Found a path to a crash condition
Preventing a de-reference of null when the HA server is unreachable.
2025-08-10 20:50:12 +01:00
Philip Abbey
57128bf7a4 Update README.md
Amended path to create security tokens.
2025-08-10 19:09:52 +01:00
Philip Abbey
64bebded0a Update GarminHomeAssistantSettings.png 2025-08-10 18:42:48 +01:00
tispokes
b9db9af3bf small doc suggestions
small doc suggestions

small doc suggestions
2025-08-10 18:42:28 +02:00
Philip Abbey
ad7d278072 Amended documentation
No longer using groups for sub-menus.
2025-08-10 14:39:55 +01:00
Philip Abbey
dd484aa615 Fix for settings
HTTP-Headers settings no longer crash the application on the device. Group settings removed as they could be be changed a second time due to a bug in the SDK.
2025-08-10 14:08:52 +01:00
Philip Abbey
f224268554 Documentation 2025-08-09 16:36:46 +01:00
Philip Abbey
e9f6ccfd0d Updated translations from @tispokes
Amended translate.py and created a batch script to ease of running the translations.

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

The documentation now includes:

An explanation of the issue

How to identify the error

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

A security note advising against lowering TLS below 1.2

This helps users troubleshoot connectivity problems when using Wi-Fi or
LTE features on Garmin watches with Home Assistant.
2025-08-09 10:40:52 +01:00
Ali Alaei
50eccad4dc docs: clarify TLS 1.2 limitation for Garmin Wi-Fi/LTE connections
Signed-off-by: Ali Alaei <49282631+aalaei@users.noreply.github.com>
2025-08-09 11:33:51 +02:00
Ali Alaei
8b641f1ee9 docs: add TLS 1.2 compatibility note for Garmin Wi-Fi/LTE connections
Signed-off-by: Ali Alaei <49282631+aalaei@users.noreply.github.com>
2025-08-08 23:46:01 +02:00
Philip Abbey
c1cddc54e4 Initial attempt
Lacking an end to end test on this code presently.
2025-08-08 11:40:13 +01:00
Lars Pöpperl
fa8ec2ec4d Added all contributors
Signed-off-by: Lars Pöpperl <45465820+tispokes@users.noreply.github.com>
2025-08-08 11:33:51 +02:00
Lars Pöpperl
c2f99d71ad Updated German corrections
Signed-off-by: Lars Pöpperl <45465820+tispokes@users.noreply.github.com>
2025-08-08 11:28:32 +02:00
Philip Abbey
8a8d64bcab Update Wi-Fi.md
Videos only work when they are uploaded to https://github.com/user-attachments/assets/, so that means drag and drop the video into the markdown file rather than reference one already in your source tree.

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

Signed-off-by: Philip Abbey <philipabbey@users.noreply.github.com>
2025-07-25 12:32:27 +01:00
Philip Abbey
3396c6c47d Update manifest.xml
Careless previous commit with reduced device list, this reverts the file.
2025-07-25 12:00:52 +01:00
Philip Abbey
4cfd3ffb6b 260 documentation for wi fi enabled application (#261)
Proposed documentation for the Wi-Fi/LTE enabled Garmin Home Assistant App.
2025-07-25 11:52:08 +01:00
Philip Abbey
d8f944b02f Merge branch 'main' into 260-documentation-for-wi-fi-enabled-application 2025-07-25 11:48:24 +01:00
Philip Abbey
3e0de7ad6e 259 code tidy (#262)
Should be functionally equivalent.
2025-07-25 11:47:47 +01:00
Philip Abbey
6574cf5bac Update GarminHomeAssistantSettings.png
New Wi-Fi option in Setting screen capture.
2025-07-25 11:42:38 +01:00
__JosephAbbey
c0a99946f8 Merge branch 'main' into 259-code-tidy 2025-07-25 10:26:04 +01:00
philipabbey
e8f901167f Apply automatic changes 2025-07-25 09:17:03 +00:00
Philip Abbey
d110826392 Amended Globals.mc
Moved wifiPollDelayMs to Globals class.
2025-07-25 08:38:55 +01:00
Philip Abbey
d645adb3c9 Reuse translations (#263) 2025-07-25 08:23:02 +01:00
__JosephAbbey
9e7ac9de6d Update removeTranslations.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: __JosephAbbey <me@josephabbey.dev>
2025-07-24 23:46:25 +01:00
__JosephAbbey
d43c2d427f Update translate.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: __JosephAbbey <me@josephabbey.dev>
2025-07-24 23:46:15 +01:00
Joseph Abbey
c599b9fcf3 Reuse translations 2025-07-24 23:42:27 +01:00
Philip Abbey
0d73de494e Tidy 2025-07-24 20:56:08 +01:00
Philip Abbey
a686e1a104 Reordered settings 2025-07-24 19:49:44 +01:00
Philip Abbey
8868f2152c Comments & Dictionaries
Reformatted comments to work in VSCode and converted `dict.get(:key)` to `dict[:key]` syntax as its nicer.
2025-07-24 18:54:27 +01:00
Philip Abbey
f28a060bf5 Update Wi-Fi.md
Added final note.
2025-07-24 11:04:58 +01:00
Philip Abbey
5b58a0c1be Update Wi-Fi.md
Co-authored-by: Vincent <59287019+vincentezw@users.noreply.github.com>
Signed-off-by: Philip Abbey <philipabbey@users.noreply.github.com>
2025-07-24 11:01:52 +01:00
Philip Abbey
084e7144cc Update Wi-Fi.md
Co-authored-by: Vincent <59287019+vincentezw@users.noreply.github.com>
Signed-off-by: Philip Abbey <philipabbey@users.noreply.github.com>
2025-07-24 11:01:28 +01:00
Philip Abbey
1ad5cb3263 Update Wi-Fi.md
Co-authored-by: Vincent <59287019+vincentezw@users.noreply.github.com>
Signed-off-by: Philip Abbey <philipabbey@users.noreply.github.com>
2025-07-24 11:01:01 +01:00
Philip Abbey
af3820c7a8 Update README.md
Co-authored-by: Vincent <59287019+vincentezw@users.noreply.github.com>
Signed-off-by: Philip Abbey <philipabbey@users.noreply.github.com>
2025-07-24 11:00:48 +01:00
Philip Abbey
70f05e8912 Added missing code headers
And included vincentezw in headers for the code he touched.
2025-07-22 22:14:46 +01:00
Philip Abbey
7239bc85c0 Amended to include LTE
Previously overlooked.
2025-07-22 22:09:39 +01:00
Philip Abbey
c138fad6ca Update properties.xml
Moved Wi-Fi option up to be more prominent.
2025-07-22 22:05:04 +01:00
Philip Abbey
9641313492 Wifi -> Wi-Fi
Amended in presentational aspects only, not in the actual code. "Wi-Fi" is the proper noun and registered trademark.
2025-07-22 22:03:10 +01:00
Philip Abbey
6f5e591910 Initial Docs for review 2025-07-22 21:42:51 +01:00
Philip Abbey
e2722319a6 add Wifi LTE command execution (#255)
Firstly, thank you to all the maintainers for your work on this very
useful application.

This PR adds the ability to execute Home Assistant commands over Wi-Fi
or LTE, behind an opt-in setting. While not a full "Wi-Fi mode," this
feature allows the app to function in limited scenarios where the phone
is unavailable but the device still has a direct network connection
(e.g. Wi-Fi or LTE).

When enabled:
- The app can launch with a cached menu without phone connection.
- On command execution, the user is prompted to confirm.
- Upon confirmation, a bulk sync is triggered to send the request to
Home Assistant.

This enables basic control even without Bluetooth connectivity — so I
can switch off that pesky bathroom light late at night when I don't have
my phone nearby.

I’ve seen a few issues suggesting similar functionality, and I believe
this strikes a useful balance between functionality and simplicity. That
said, I understand if this doesn't align with the intended featureset —
feel free to close if so.

This PR also adds a few string resources without translations. I'm not
sure if those are autogenerated or user-provided — happy to adjust if
needed.
2025-07-22 20:52:07 +01:00
Vincent Elger Zwanenburg
0b84983eaf use fixed poll delay from const 2025-07-21 21:02:51 +01:00
Vincent Elger Zwanenburg
d32135af63 fix setting toggleItem, periodic pulling 2025-07-21 19:45:14 +01:00
Vincent Elger Zwanenburg
db3fbd9886 timers as statics, defensive popviews, no double confirmation, add pin
screen onBack, toggle state tweaks
2025-07-19 10:35:35 +01:00
Vincent Elger Zwanenburg
be7eed1ae1 early return from fetchApiStatus for in-app wifi, fix typo in docstrings 2025-07-19 10:35:35 +01:00
Vincent Elger Zwanenburg
576f8c4a64 HomeAssistantConfirmationDelegate and HomeAssistantPinConfirmationDelegate undo toggles on timeout and reject 2025-07-19 10:35:35 +01:00
Vincent Elger Zwanenburg
979d85fce5 show toast, not error, in updateMenuItems 2025-07-19 10:35:35 +01:00
Vincent Elger Zwanenburg
ac899ff784 simplify delegate, toggle switch for empty response body 2025-07-19 10:35:35 +01:00
Vincent Elger Zwanenburg
b45f02ef7b move popview up so it does not close wifi dialog 2025-07-19 10:35:35 +01:00
Vincent Elger Zwanenburg
62f0e711c9 make setting conditional by using group 2025-07-19 10:35:35 +01:00
Vincent Elger Zwanenburg
b2b8ffb332 separate syncdelegate class file, check for startsync2 2025-07-19 10:35:34 +01:00
Vincent Elger Zwanenburg
172d4ad1e4 add Wifi LTE command execution 2025-07-19 10:35:34 +01:00
Joseph Abbey
460f247728 Improve web: dim disabled, icons, pin 2025-07-19 07:37:05 +01:00
__JosephAbbey
a6b4925ff7 257 pin dialog does not popup when using is servicetap (#258)
Need this urgently as it affects the use of the PIN for tap menu items.
2025-07-18 20:51:10 +01:00
Philip Abbey
3672a598fb Update HISTORY.md
Added v2.32
2025-07-18 20:49:10 +01:00
Philip Abbey
f6d0916315 Update HomeAssistantTapMenuItem.mc
Requirement for use of the PIN was not being correctly extracted from the options. Goes to show why the security features should not be relied on! A recent compilation fix created this breaking change.
2025-07-18 20:46:49 +01:00
Philip Abbey
6db7b67536 Update HISTORY.md
Added v2.31 text
2025-07-11 09:43:30 +01:00
Philip Abbey
e5df010af8 253 compilation failed on fenix5s (#254)
This is the fix to an annoying problem I faced as I was about to compile
the final v2.31 release. Please approve, but **don't merge** just yet.
I'll do that once the full device list compilation succeeds, just to
check if there are any residual issues.

Thanks
2025-07-11 09:31:37 +01:00
Philip Abbey
ee964ce882 Update HomeAssistantMenuItemFactory.mc
Function documentation fix.
2025-07-11 01:11:00 +01:00
Philip Abbey
ee9da24592 Fix for too many arguments to a function call on some devices 2025-07-11 01:06:15 +01:00
Philip Abbey
906cdf7371 Code documentation comments were not updated 2025-07-10 23:54:05 +01:00
__JosephAbbey
7dd85937fa 243 option to close application after command (#252)
Also closes #250.
2025-07-10 22:02:12 +01:00
Philip Abbey
d141c03104 Review comment
Moved point of application exit for the menu item option.
2025-07-10 19:46:04 +01:00
Philip Abbey
842a31a1cc Review comment
enable => enabled
2025-07-10 18:24:30 +01:00
Philip Abbey
5639ff5c42 Amended heading levels in docs 2025-07-09 21:51:18 +01:00
Philip Abbey
8b3e86a00f Amended documentation for two new menu item options
The options are 'enable' and 'exit'.
2025-07-09 21:48:58 +01:00
Philip Abbey
6dbcea94cf Update HomeAssistantView.mc
Refined more precisely where the exit option can be used and enforced in the code.
2025-07-09 21:09:33 +01:00
Philip Abbey
b28daacafd Update config.schema.json
Removed exit from non-actionable menu items.
2025-07-09 20:54:28 +01:00
Philip Abbey
029a9f373e Update config.schema.json
Added to boolean options for disable and exit.
2025-07-09 19:57:11 +01:00
Philip Abbey
ec044c5408 Added two new options to menu items
1. The ability to disable a menu item without deleting it.
2. The option to quit the application on item selection.
2025-07-08 22:48:42 +01:00
Philip Abbey
659a060c76 Forgotten image used on App home page 2025-07-08 22:45:39 +01:00
__JosephAbbey
3acef26fea 247 improve the glance view (#249)
2s seems to be a good compromise between the status flickering and the
update delay. When the menu is cached there's no flickering.
2025-07-07 13:49:53 +01:00
__JosephAbbey
e898fc1fe5 Update config.schema.json
Signed-off-by: __JosephAbbey <me@josephabbey.dev>
2025-07-07 13:49:33 +01:00
Philip Abbey
4df1fd69bc Update Globals.mc
Increased the API back off time from 1s to 2s to remove the glance's status flickering. The assumption is that the GET requests are too fast for the Bluetooth stack.
2025-07-06 21:31:33 +01:00
Philip Abbey
fc19599586 Update export.cmd
Removed a commented out command line option no longer used and unlikely to be replaced.
2025-07-06 21:29:19 +01:00
Philip Abbey
13f70af45a Update Glance.md
Explained to turn on menu caching.
2025-07-06 21:28:40 +01:00
Philip Abbey
90ed1f4bea Update HomeAssistantGlanceView.mc
Improved layout.
2025-07-06 19:02:59 +01:00
Philip Abbey
2117b27210 Update HISTORY.md
Added two images.
2025-07-06 19:01:27 +01:00
Philip Abbey
df7874e825 Update HISTORY.md
Added link to Glance view for 2.30 text.
2025-07-06 17:32:12 +01:00
Philip Abbey
f3c5947b82 Merge branch 'main' into 247-improve-the-glance-view 2025-07-06 14:49:49 +01:00
Philip Abbey
47a930828a Revised glance view
Refreshed default view and new customisable view.
2025-07-06 14:44:53 +01:00
Philip Abbey
ef299bcaf6 Render correct icon in web editor for info types (#248) 2025-07-06 13:53:24 +01:00
__JosephAbbey
f0eb9c26b1 Render correct icon in web editor for info types 2025-07-06 13:07:04 +01:00
__JosephAbbey
f1c592179d Added correctly formatted code comments (#246)
The newer SDK support tooltips to show the function prototype and help
text, so best to make good use of it.

I'm not expecting this to be 100% on the first iteration.
2025-07-05 13:58:35 +01:00
__JosephAbbey
4ed81df60a Fix spelling of Bluetooth
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: __JosephAbbey <me@josephabbey.dev>
2025-07-05 13:57:35 +01:00
__JosephAbbey
b4f5f34760 Fix spelling of Webhook
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: __JosephAbbey <me@josephabbey.dev>
2025-07-05 13:57:02 +01:00
Philip Abbey
4cf5a0ae26 Update HomeAssistantApp.mc
Fix the 'fixed' comment string.
2025-07-04 17:26:33 +01:00
Philip Abbey
b44d4c6155 Update HomeAssistantApp.mc
Amended 4 comments
2025-07-04 17:20:48 +01:00
Philip Abbey
f2d65aa6e3 Added correctly formatted code comments
The newer SDK support tooltips to show the function prototype and help text, so best to make good use of it.
2025-07-04 16:57:25 +01:00
Philip Abbey
6b2aa3135a Added support for 3 new devices (#237) 2025-05-27 06:37:19 +01:00
Philip Abbey
907848b5fb Added support for 3 new devices 2025-05-24 15:53:19 +01:00
__JosephAbbey
5f34f870d9 Support for Vivoactive 6 device (#230)
This required an update to the SDK to version 8.1.0. The new SDK found
some new code warnings for unreachable code previously known to be
reached based on stricter type checking, so fixed in this commit too.
2025-04-25 07:59:58 +01:00
Philip Abbey
ada18f8323 Update export.cmd
'--api-level' command line switch removed from SDK 8.1.0
2025-04-24 22:38:10 +01:00
Philip Abbey
f74a3168de Update manifest.xml
The App ID should not have been changed from the test app.
2025-04-24 22:30:43 +01:00
Philip Abbey
7e58e5416d Support for Vivoactive 6 device
This required an update to the SDK to version 8.1.0. The new SDK found some new code warnings for unreachable code previously known to be reached based on stricter type checking, so fixed in this commit too.
2025-04-24 22:26:18 +01:00
Philip Abbey
1f7090092f 227 enhancement glance info cachingprevious results instead of unconfigured (#228)
Not as the issue requested, but instead pulling the settings from
persistent storage before checking the URL status, preventing
"Unconfigured" being initially displayed when it should be "Checking..."
as coded.
2025-04-21 15:31:30 +01:00
Philip Abbey
4ed132b9ca Update HISTORY.md
Added ver 2.27 text.
2025-04-21 13:59:13 +01:00
Philip Abbey
fd213cc210 Update HomeAssistantApp.mc
Update the Settings object from persistent storage before checking the URLs work and reporting the status to the Glance view.
2025-04-21 13:56:08 +01:00
Philip Abbey
7423e609d8 Update TroubleShooting.md
SSL Certificate Validation Issues

Signed-off-by: Philip Abbey <philipabbey@users.noreply.github.com>
2025-04-21 09:26:33 +01:00
Philip Abbey
9df43cdb01 Explaining HTTPS Certificate Problems
Partial and Full chain certificates.

Signed-off-by: Philip Abbey <philipabbey@users.noreply.github.com>
2025-04-21 09:15:55 +01:00
__JosephAbbey
5ee8a6cc6a Update index.html
Signed-off-by: __JosephAbbey <me@josephabbey.dev>
2025-03-30 15:25:54 +01:00
__JosephAbbey
5e35276628 Update main.js
Signed-off-by: __JosephAbbey <me@josephabbey.dev>
2025-03-30 15:22:49 +01:00
Philip Abbey
28f4ffc70b 223 code refactoring (#224)
Code refactoring and amended fix for responsive menu that was removed by
bug fix in v2.25.
2025-03-28 19:37:15 +00:00
Philip Abbey
e8f2c0d3bb Amended menu item class inheritance 2025-03-28 00:22:09 +00:00
Philip Abbey
71cba8c21c Code attribution for author of PIN entry.
Prior to sorting out inheritance.
2025-03-28 00:20:53 +00:00
Philip Abbey
236a4969d7 Menu item code tidy
Prior to sorting out inheritance.
2025-03-27 20:45:51 +00:00
Philip Abbey
e41f451fbc Update HomeAssistantApp.mc
Fix for lost speedup from v2.24 when fixing a bug in v2.25.
2025-03-27 20:45:02 +00:00
Philip Abbey
c13e898e59 Update HISTORY.md
v2.25
2025-03-27 07:35:44 +00:00
Philip Abbey
a77870c2eb Fix for 2 bugs in issue 221 (#222)
Template rendering and Webhook ID on initial start.

Please review and (hopefully) approve, but don't merge as I need to
deploy to the beta app.
2025-03-27 06:32:27 +00:00
Philip Abbey
155649f162 Fix for 2 bugs in issue 221
Template rendering and Webhook ID on initial start.
2025-03-26 22:37:33 +00:00
__JosephAbbey
1ae4085113 219 new garmin device keeps replacing previous device (#220) 2025-03-23 16:59:52 +00:00
Philip Abbey
7a14a65ba3 Update HISTORY.md
2.24 text
2025-03-23 16:54:52 +00:00
Philip Abbey
adf69d7dec Rearranging Web API Requests
Making sure the menu update API call is completed before the Webhook IDs are fetched in order to reduce latency to usefulness.
2025-03-23 16:54:13 +00:00
Philip Abbey
d105e69484 Update WebhookManager.mc
Removed Settings.unsetWebhookId() where it might be causing problems with replacement "Garmin Device" in Home Assistant.
2025-03-23 16:01:53 +00:00
Philip Abbey
184e2ac80e Add 4 new devices
approachs50, descentg2, descentmk1, and gpsmap66
2025-03-23 15:59:29 +00:00
__JosephAbbey
12c5766818 208 provide display only menu items with no actions (#210)
Please take some care with checking any documentation where `template`
has been amended to either `info` to `tap`. Some of the documentation
was out of date, hopefully this fixes it.
2025-01-19 20:37:11 +00:00
Philip Abbey
b82e63d191 Documentation update 2025-01-19 19:47:42 +00:00
Philip Abbey
ed4646511f Added 5 new Instinct devices
Small (imperfect) fix for 2 colour device icons.
2025-01-19 18:47:38 +00:00
Philip Abbey
fd58625640 Info only menu item 2025-01-19 13:44:53 +00:00
Philip Abbey
816f2e6399 Update Actions.md
Documentation for the `service` field after a recently uncovered issue with its value. See https://github.com/house-of-abbey/GarminHomeAssistant/issues/205.

Signed-off-by: Philip Abbey <philipabbey@users.noreply.github.com>
2024-12-31 18:02:03 +00:00
Philip Abbey
f171f913ac Update README.md (#202)
Documented a workaround to communicate with Home Assistant using HTTP.
2024-12-08 21:57:51 +00:00
Tomer
cca73a4069 Update README.md
Documented a workaround to communicate with Home Assistant using HTTP.

Signed-off-by: Tomer <55205856+TomerMir@users.noreply.github.com>
2024-12-03 18:47:06 +02:00
Philip Abbey
2a3514de64 Update HISTORY.md
Version number typo.

Signed-off-by: Philip Abbey <philipabbey@users.noreply.github.com>
2024-11-20 17:59:11 +00:00
__JosephAbbey
fbcf2d4c8d Changes as per issue. (#200)
Trivial one this.
2024-11-20 17:23:43 +00:00
Philip Abbey
b6719365b2 Changes as per issue. 2024-11-19 21:56:32 +00:00
__JosephAbbey
ad73971758 197 cosmetic changes (#198)
Just a bit of tidying, no major functionality changes.
2024-11-19 11:29:18 +00:00
philipabbey
2a7528ea86 Apply automatic changes 2024-11-18 19:57:22 +00:00
Philip Abbey
11ecf88ee2 An assortment of cosmetic changes
JSON schema fix to remove 'template' as a valid option, punctuation in strings, whitespace, and a new application history entry.
2024-11-18 19:39:13 +00:00
Philip Abbey
fb68ce2fba Feature: PIN confirmation dialog (#192)
## About this PR:
Being one of those incorrigible fools who want to open and unlock stuff
using my watch, I thought of a way to improve security when calling a
HomeAssistant service from the Garmin App.

This change adds a PIN confirmation dialog that is displayed whenever a
`pin` property has been set in the `tap_action`. Because of the size of
the screen, PINs consist of a sequence of abritrary length using the
digits 1-4.

![2024-10-16 11_16_09-CIQ Simulator - Venu® Sq 2 Music (5 0
0)](https://github.com/user-attachments/assets/f6e09c00-5dde-4972-b7dc-256d4d94e99e)

Due to public visibility of the dashboard config, a pin mask can be
configured in the app's settings to transcode the PIN on the watch for
additional security. Using a cipher for PIN encryption has been
discarded due to the complexity involved in generating the encrypted
PINs for the end user.

The PIN dialog is configured to allow up to 4 erraneous PIN inputs in 2
minutes, a 5th failure will lock the PIN dialog (for all actions) for 10
minutes. Entering a correct PIN will reset the failure count.

## Changes included in this PR:
- PIN confirmation screen
- called whenever a `pin` has been configured in a `tap_action`. This
overrides the `confirm` property. Users without a touchscreen will be
routed to the regular confirmation dialog.
- optional `pin_mask` configuration setting, which will be used to
transcode the digits of the PIN (see documentation change)
	- german translation of the `pin_mask` label
	- failed attemps and PIN lock are stored in application storage
- Addition of `pin` field to the JSON Schema
- Additions to the docs

Tested on a few devices in the simulator, tested and running as a beta
on a Venu 2 Sq Music.

## Disclaimer:
This is my first attempt at a Monkey C project.
I probably learned more from looking at the existing app than from the
sdk samples. Awesome work!

I added this mainly because I wanted a feature like that for myself,
thought it is a good thing to add and because I was interested in
developing for Garmin devices.
I would be glad if you like the idea and are open to review it and
include it in the app.

I have tried to use coding style and conventions from the existing
project as far as I could see them.
2024-11-18 19:00:05 +00:00
Matthias Oesterheld
796be5b960 add trailing period to be consistent with other messages 2024-11-18 17:43:10 +01:00
Matthias Oesterheld
b6acec0672 move pin validation error screen to initial view resolution 2024-11-18 17:38:30 +01:00
Matthias Oesterheld
e8e2e02086 move pin validation to settings 2024-11-17 11:21:26 +01:00
Matthias Oesterheld
f3e6879540 move PIN constants to Globals.mc 2024-11-17 11:00:45 +01:00
Matthias Oesterheld
666854c5c6 fix translation 2024-11-17 10:51:56 +01:00
Matthias Oesterheld
e0418a0ae6 improve docs 2024-11-17 10:49:58 +01:00
Matthias Oesterheld
f51197ff75 adjust docs 2024-11-14 21:32:38 +01:00
Matthias Oesterheld
97b5371a0e add "pin": true JSON config property, add default pin, add pin confirmation to toggle, adjust JSON schema 2024-11-13 21:30:36 +01:00
Matthias Oesterheld
51d4f68688 preliminary doc changes 2024-11-12 19:35:15 +01:00
Matthias Oesterheld
0ac8e11287 use full numpad, validate 4-digit pin, add visual feedback on click, show toast on error 2024-11-12 19:24:15 +01:00
Matthias Oesterheld
73219c6864 add class/method to debug messages 2024-11-11 21:06:38 +01:00
Matthias Oesterheld
f24d79e41a Merge branch 'main' into feature/pin-confirmation 2024-11-11 20:58:52 +01:00
Matthias Oesterheld
b13fb7e953 validate pin after full length of pin has been entered 2024-11-11 20:58:09 +01:00
Matthias Oesterheld
7947280bb6 internationalize pin lock message 2024-11-11 20:39:26 +01:00
Matthias Oesterheld
fb2bb7f566 remove transcoding, move pin to settings, remove pin from schema 2024-11-11 20:06:35 +01:00
Philip Abbey
2000a30276 Update README.md
Garmin Express known issue.
2024-11-07 20:01:56 +00:00
Matthias Oesterheld
cd5ed317c5 move pin mask translation to corrections 2024-10-16 16:45:55 +02:00
Matthias Oesterheld
86943aa664 add mini vibration feedback when tapping pin digits 2024-10-16 15:59:44 +02:00
Matthias Oesterheld
e21ab79d5d add PIN lock after exceeding failure count 2024-10-16 15:58:37 +02:00
Matthias Oesterheld
c592726bd4 add PIN transcoding 2024-10-15 20:27:52 +02:00
Matthias Oesterheld
b48102f9a6 add pin confirmation 2024-10-15 19:59:04 +02:00
Philip Abbey
04c61981ea Update Switches.md
Action from "Allow confirming switch toggle" https://github.com/house-of-abbey/GarminHomeAssistant/issues/190, make documentation clearer.

Signed-off-by: Philip Abbey <philipabbey@users.noreply.github.com>
2024-10-06 15:35:35 +01:00
Joseph Abbey
8caef29aba 2 fixes as required by issue 185 (#186)
Solution to a race condition with starting updates and amendment to
error message presentation on Webhook ID creation failure.
2024-09-10 15:16:54 +01:00
Philip Abbey
a48ab486ae 2 fixes as required by issue 185
Solution to a race condition with starting updates and amendment to error message presentation on Webhook ID creation failure.

Co-Authored-By: Joseph Abbey <me@josephabbey.dev>
2024-09-07 20:27:58 +01:00
Philip Abbey
060cd2729f Update README.md
Additional information on toasts with Forerunner 55 device.

Signed-off-by: Philip Abbey <philipabbey@users.noreply.github.com>
2024-09-07 11:06:11 +01:00
Philip Abbey
73a38e9b4e Update HISTORY.md
v2.21 amendment.
2024-09-06 17:32:50 +01:00
Joseph Abbey
b22f119eb3 182 add support for the latest devices released from garmin (#183)
7 new devices. 2 users waiting for this update for Fenix 8.
2024-09-06 17:30:24 +01:00
Philip Abbey
cd8f5d900e Restyle 182 add support for the latest devices released from garmin (#184)
Automated style fixes for #183, created by [Restyled][].

The following restylers [made
fixes](https://restyled.io/gh/house-of-abbey/repos/GarminHomeAssistant/jobs/4778343):

-
[whitespace](https://github.com/restyled-io/restyler-whitespace/blob/master/README.md)


To incorporate these changes, merge this Pull Request into the original.
We
recommend using the Squash or Rebase strategies.


**NOTE**: As work continues on the original Pull Request, this process
will
re-run and update (force-push) this Pull Request with updated style
fixes as
necessary. If the style is fixed manually at any point (i.e. this
process finds
no fixes to make), this Pull Request will be closed automatically.

Sorry if this was unexpected. To disable it, see our [documentation][].

[restyled]: https://restyled.io
[documentation]:
https://github.com/restyled-io/restyled.io/wiki/Disabling-Restyled
2024-09-05 22:59:01 +01:00
Restyled.io
ecb2e8bc96 Restyled by whitespace 2024-09-05 21:57:35 +00:00
Philip Abbey
881700d0ed Update HISTORY.md
v2.21 text
2024-09-05 21:28:33 +01:00
Philip Abbey
75ea23dfbd 7 New devices, mainly Fenix
SDK updated to 7.3.0 in order to get new devices to work in simulation. This means some function prototypes have had to be amended.
2024-09-05 21:23:49 +01:00
Philip Abbey
2e7216b6b2 v2.20 documentation update 2024-08-30 21:18:56 +01:00
Joseph Abbey
57a44d8946 Update WebhookManager.mc (#179)
Speculative fix to handle the callback data from webhook generation
perhaps not being Lang.Dict.
2024-08-30 19:48:47 +01:00
Philip Abbey
4432c7b9a0 Update WebhookManager.mc
Speculative fix to handle the callback data from webhook generation perhaps not being Lang.Dict.
2024-08-30 15:49:06 +01:00
Philip Abbey
15e2b19193 Deprecate template type (#177) 2024-08-30 14:32:22 +01:00
Joseph Abbey
1b40231360 Fix errors 2024-08-30 13:49:09 +01:00
Joseph Abbey
446c579660 Merge branch 'main' into 176-deprecate-template-items 2024-08-30 13:26:31 +01:00
Philip Abbey
da2e94caa3 Update TroubleShooting.md
Added instructions for how to send the debug log from the watch.
2024-08-30 13:25:41 +01:00
Joseph Abbey
1c182dd615 Deprecate template type 2024-08-30 13:25:16 +01:00
Philip Abbey
fb5c2193f1 Create debug_log_location.png
Need a picture to explain to users where to fetch the debug logs from. Only gives the error message, but not the location unfortunately.
2024-08-30 13:18:09 +01:00
Philip Abbey
df3be94bf9 Documentation for v2.19 2024-08-29 23:12:13 +01:00
Joseph Abbey
17162c14f2 174 tidy up two small issues (#175)
Heading & vibrate
2024-08-29 21:18:03 +01:00
Philip Abbey
b5140ce8b4 Added vibrate to confirm toggle items tapped 2024-08-29 21:13:55 +01:00
Philip Abbey
17a5d89998 Prevent negative heading values. 2024-08-29 21:00:50 +01:00
Philip Abbey
63bc127aec Perform all updates in one request (#173) 2024-08-29 20:55:40 +01:00
Joseph Abbey
af43fde963 Merge branch 'main' into one-update-request 2024-08-29 19:03:12 +01:00
Philip Abbey
bbd9119a07 Update HomeAssistantToggleMenuItem.mc
Prevent multiple toggles for initiating one action. Only set the state when the called service returns with the confirmed value.
2024-08-28 23:01:28 +01:00
Joseph Abbey
47a8a6e4e6 New poll delay property id 2024-08-28 08:52:41 +01:00
Joseph Abbey
b476da6667 Revert compile_sim.cmd
Signed-off-by: Joseph Abbey <me@josephabbey.dev>
2024-08-28 08:45:07 +01:00
Joseph Abbey
bd37d5f2a8 Allow toggles to work if template fails 2024-08-26 20:11:19 +01:00
Joseph Abbey
2a48790f9c Individual errors 2024-08-26 20:09:24 +01:00
Joseph Abbey
0feecde178 165 templating content for all types (#170)
Submitting as an initial draft in order to guage feedback on the style.
In particular the solution to adding the code to the `toggle` menu item,
which has incurred duplication of code as I can't inherit from two
classes.
2024-08-26 19:42:51 +01:00
Joseph Abbey
e9a0c5d137 Single request to update 2024-08-26 18:59:17 +01:00
Philip Abbey
d387152593 Restyle 165 templating content for all types (#171)
Automated style fixes for #170, created by [Restyled][].

The following restylers [made
fixes](https://restyled.io/gh/house-of-abbey/repos/GarminHomeAssistant/jobs/4738467):

- [jq](https://stedolan.github.io/jq/)
- [prettier-json](https://prettier.io/docs/en/options.html#parser)
-
[whitespace](https://github.com/restyled-io/restyler-whitespace/blob/master/README.md)


To incorporate these changes, merge this Pull Request into the original.
We
recommend using the Squash or Rebase strategies.


**NOTE**: As work continues on the original Pull Request, this process
will
re-run and update (force-push) this Pull Request with updated style
fixes as
necessary. If the style is fixed manually at any point (i.e. this
process finds
no fixes to make), this Pull Request will be closed automatically.

Sorry if this was unexpected. To disable it, see our [documentation][].

[restyled]: https://restyled.io
[documentation]:
https://github.com/restyled-io/restyled.io/wiki/Disabling-Restyled
2024-08-25 19:47:20 +01:00
Philip Abbey
2ea349bfda Merge branch 'main' into 165-templating-content-for-all-types 2024-08-25 19:44:58 +01:00
Restyled.io
a35798f9d3 Restyled by whitespace 2024-08-25 18:42:34 +00:00
Restyled.io
4707f1ea9e Restyled by prettier-json 2024-08-25 18:42:33 +00:00
Restyled.io
3424576027 Restyled by jq 2024-08-25 18:42:32 +00:00
Philip Abbey
1846d682f7 Update HISTORY.md
v2.18 text line amended.
2024-08-25 19:39:27 +01:00
Philip Abbey
685cda7924 Added template option to toggle menu items 2024-08-25 19:34:29 +01:00
Philip Abbey
72e825566c Update TemplateMenuItem.mc
Fixed System.println() calls.
2024-08-25 19:33:33 +01:00
Philip Abbey
1dc95eeac7 Added callback function to TemplateMenuItem 2024-08-25 18:53:32 +01:00
Philip Abbey
08829dac1f Update export.cmd
Trivial update to give the cmd.exe a title.
2024-08-25 16:50:08 +01:00
Philip Abbey
ca6e0733c5 Added null checking to activity stats (#169)
Position.getInfo().* might return null sometimes, so best check and
avoid a numerical error.

@KPWhiver My co-author is away presently, would you mind giving this
simple change the once over? Thanks!
2024-08-25 16:15:01 +01:00
Philip Abbey
01f073e67b Update BackgroundServiceDelegate.mc
Only submitting non-null values to HA, not fake zeros for null values.
2024-08-25 13:50:29 +01:00
Philip Abbey
64a9c5f274 Added null checking to activity stats
Position.getInfo().* might return null sometimes, so best check and avoid a numerical error.
2024-08-25 13:07:23 +01:00
Philip Abbey
ea32d71a2b Added templates to group items 2024-08-24 18:31:47 +01:00
Philip Abbey
f2fb7f65a0 Merge branch 'main' of https://github.com/house-of-abbey/GarminHomeAssistant 2024-08-24 14:30:44 +01:00
Philip Abbey
1e103069bc Update README.md
Feature differences between Application and Widget.
2024-08-24 14:30:23 +01:00
Philip Abbey
520309729d Bug fix for activity reporting (#167)
Added 'has' clauses around additional ActivityMonitor.Info fields that
are not present on all devices. I have also checked the other reporting
fields to ensure they are not device dependent.
2024-08-24 14:26:54 +01:00
Philip Abbey
d2aec16811 Update BackgroundServiceDelegate.mc
Failed to make commensurate changes to the background service code.
2024-08-24 14:21:02 +01:00
Philip Abbey
a424e35784 Update WebhookManager.mc
Returned internationalized string for unavailable to "unknown" as per review comments advice.
2024-08-24 13:58:47 +01:00
Philip Abbey
5558e25bda Bug fix for activity reporting
Added 'has' clauses around additional ActivityMonitor.Info fields that are not present on all devices.
2024-08-24 12:28:54 +01:00
Philip Abbey
769731bff2 Send heartrate, floor, and respiration rate values to Home Assistant (#162)
This change sends the heartrate, respiration rate, stepcount, and floors
climbed/descended to Home Assistant as mobile app entities. There are a
lot more sensors that could potentially be added.

I have only tested this on a Vivoactive 4s as that is the only device I
own.

Let me know what you think and if there are any changes you would like
to see.
2024-08-20 09:01:00 +01:00
Philip Abbey
2c56155593 Merge branch 'main' into more-mobile-app-sensors
Signed-off-by: Philip Abbey <philipabbey@users.noreply.github.com>
2024-08-19 12:36:33 +01:00
Philip Abbey
c38f91f456 Fixed merge conflict
Fixed a merge conflict made by more recent changes to fix a bug (https://github.com/house-of-abbey/GarminHomeAssistant/pull/164)
2024-08-19 12:33:23 +01:00
Joseph Abbey
94d806c4d3 163 application crashes when started out of bluetooth range (#164)
Test the phone is connected before attempting WebHook HTTP requests.
2024-08-18 14:15:52 +01:00
Philip Abbey
51081ee2e6 Update HISTORY.md
Added v2.16
2024-08-18 13:03:30 +01:00
Philip Abbey
7c7130367f Update Settings.mc
Rearranged 'else' clauses.
2024-08-18 12:26:45 +01:00
Philip Abbey
42d1a7233c Update Settings.mc
Test the phone is connected before attempting WebHook HTTP requests.
2024-08-18 12:04:34 +01:00
Klaas Winter
43378bfe8c Set icons for sent sensor values 2024-08-05 19:34:26 +02:00
Klaas Winter
700e7ca822 Send heartrate, floor, and respiration rate values to Home Assistant 2024-08-05 18:02:37 +02:00
Joseph Abbey
19642c6679 Update HomeAssistantTemplateMenuItem.mc (#158)
Template errors now displayed per item.
2024-07-26 18:37:27 +00:00
Philip Abbey
a213c6851e Largely cosmetic
Removed debug that escaped.
Belt & braces field to prevent the update chain being started twice.
2024-07-26 18:23:22 +01:00
Philip Abbey
9eed5affdc Update HomeAssistantApp.mc
Guard against dereferencing null. Belt & braces, as this has not been an issue.
2024-07-26 17:16:07 +01:00
Philip Abbey
98c9c42366 Update HomeAssistantApp.mc
Fixed debug printing where the method name was wrong. Changes in commented out debug code only.
2024-07-26 16:55:13 +01:00
philipabbey
97030dc1b8 Apply automatic changes 2024-07-26 08:16:05 +00:00
Philip Abbey
6a2a791146 Update strings.xml
Removed glance scope
2024-07-26 08:56:52 +01:00
Philip Abbey
1eb2fbed0e Added internationalisation of new strings 2024-07-26 08:50:10 +01:00
Philip Abbey
a86133fd87 Update HISTORY.md
v2.15 added
2024-07-25 23:36:11 +01:00
Philip Abbey
0ae39a029f Update HomeAssistantTemplateMenuItem.mc
Template errors now displayed per item.
2024-07-25 20:38:17 +01:00
Philip Abbey
3cebd106eb Update HISTORY.md
v2.14
2024-07-25 08:51:53 +01:00
Joseph Abbey
9471259181 Update BackgroundServiceDelegate.mc (#156)
Put check for methods with 'has' back in.
2024-07-24 09:19:15 +00:00
Philip Abbey
9030a00d7d Update BackgroundServiceDelegate.mc
Put check for methods with 'has' back in.
2024-07-22 22:18:27 +01:00
Joseph Abbey
7bd5e98a1a More responsive status when using a polling delay (#153)
When using a polling delay, an action will trigger an immediate round of
updates.
2024-07-21 16:00:21 +00:00
Philip Abbey
a49dd6554f More responsive status when using a polling delay
When using a polling delay, an action will trigger an immediate round of updates.
2024-07-20 19:16:42 +01:00
Joseph Abbey
d2fc64836a Update HomeAssistantApp.mc (#152)
When Settings.getPollDelay() > 0, do not wait for this time before the
initial batch of updates, so the app is more responsive on opening.
2024-07-20 17:09:23 +00:00
Philip Abbey
fc1a0eeb6d Update HomeAssistantApp.mc
When Settings.getPollDelay() > 0, do not wait for this time before the initial batch of updates, so the app is more responsive on opening.
2024-07-20 18:07:37 +01:00
Philip Abbey
61f6d69e64 Update HISTORY.md
Added a second feature to 2.13 in anticipation.
2024-07-20 17:39:59 +01:00
Joseph Abbey
7f31cecfb5 Added update to telemetry on completion of an activity (#151)
@Someone0nEarth Note we could also add this to the widget version as the
changes are small and probably have a limited effect on the memory
footprint.
2024-07-20 16:37:29 +00:00
Philip Abbey
98af5578f0 Added update to telemetry on completion of an activity 2024-07-20 17:28:57 +01:00
Philip Abbey
c18736e40d Update Templates.md
Examples now up to date with schema changes.
2024-07-20 17:23:00 +01:00
Joseph Abbey
822c6ccca6 Moved template status updates to webhooks (#150)
This seems to work for non-privileged users.
2024-07-20 15:49:04 +00:00
Philip Abbey
a139742265 Update HISTORY.md
Ver 2.13 text added in anticipation.
2024-07-19 17:05:19 +01:00
Philip Abbey
dfa4cdd9b8 Moved template status updates to webhooks
This seems to work for non-privileged users.
2024-07-19 15:15:32 +01:00
Philip Abbey
1c4add693d Update README.md
Amended advice based on a report at https://community.home-assistant.io/t/home-assistant-app-for-garmin/637348/280.

Signed-off-by: Philip Abbey <philipabbey@users.noreply.github.com>
2024-07-01 08:40:04 +01:00
Joseph Abbey
e6544b5b20 Update monkey.jungle top up 145 (#147)
Missed the Jungle file.
2024-06-15 11:32:35 +01:00
Philip Abbey
83914e8d8d Update monkey.jungle
Missed the Jungle file.
2024-06-15 11:13:10 +01:00
Joseph Abbey
bd4b6d68a8 Devices Edge 540 and Edge 840 re-enabled (#146)
@Petucky reports the application works well on an Edge 840 by
sideloading the code from an Edge 830 device.
2024-06-15 11:12:46 +01:00
Philip Abbey
f4ca55d741 Devices Edge 540 and Edge 840 re-enabled
@Petucky reports the application works well on an Edge 840 by sideloading the code from an Edge 830 device.
2024-06-15 11:00:58 +01:00
Philip Abbey
5d34db7b6a Update README.md
Typo
2024-05-04 14:29:54 +01:00
Philip Abbey
cfaa31d5ee Update README.md
Typo
2024-05-04 14:28:33 +01:00
Philip Abbey
52ee270788 Update README.md
Note about HTTP
2024-05-04 10:06:59 +01:00
Philip Abbey
dec38889a5 Update HISTORY.md
Added version 2.11
2024-04-17 14:06:34 +01:00
Philip Abbey
586d85e706 Update export.cmd
Commit directly to main as not application code.
2024-04-17 08:26:52 +01:00
Philip Abbey
30b55aec3e Merge branch 'main' of https://github.com/house-of-abbey/GarminHomeAssistant 2024-04-17 08:24:52 +01:00
philipabbey
93d672dd40 Apply automatic changes 2024-04-17 07:09:18 +00:00
Philip Abbey
9130bc7121 Merge pull request #139 from house-of-abbey/138-cached-menu-will-still-be-used-even-if-the-setting-is-deactivated
When the cache is deactivated is now also cleared.
2024-04-17 07:56:49 +01:00
Philip Abbey
a6e386c5e6 Removed scope="glance" from another language corrections.xml file 2024-04-17 07:52:28 +01:00
Philip Abbey
2ffd83ebf5 When the cache is deactivated is now also cleared. 2024-04-16 22:58:53 +01:00
philipabbey
48b7e7efe5 Apply automatic changes 2024-04-16 06:35:49 +00:00
Philip Abbey
7bb270aae8 Update corrections.xml
Changed `<string id="Menu">Menu</string>` to `<string id="GlanceMenu">Menu</string>`.

A trivial fix so bypassing reviews.
2024-04-16 07:01:38 +01:00
Philip Abbey
ac117952d0 Merge pull request #136 from house-of-abbey/135-string-change-request-czech-translation-inappropriate
Corrected Czech language strings as advised
2024-04-16 06:31:26 +01:00
Philip Abbey
8f685af8ca Missed two System.println() string corrections. 2024-04-15 21:12:08 +01:00
Philip Abbey
b17d12fe54 Corrected Czech language strings as advised
Also amended some trivial System.println() strings
2024-04-15 19:29:32 +01:00
Philip Abbey
d5c39fa7f0 Documentation: Screenshot for Unicode Characters 2024-03-31 16:45:31 +01:00
philipabbey
b4b113f4e1 Apply automatic changes 2024-03-30 20:26:40 +00:00
Philip Abbey
517e36cfb0 Update Templates.md
Amended wording.
2024-03-30 14:19:23 +00:00
Philip Abbey
7071362656 Update Templates.md
Examples with unicode characters.
2024-03-30 13:36:23 +00:00
Philip Abbey
e37b2a76aa Merge pull request #129 from jose1711/sk_translation
Corrected a few strings in Slovak.
2024-03-30 12:18:44 +00:00
Jose Riha
e3f8291299 Corrected a few strings in Slovak. 2024-03-27 10:01:00 +01:00
Philip Abbey
2f4c14d7d5 Merge pull request #126 from jose1711/typo
Fix typo
2024-03-22 20:04:03 +00:00
Jose Riha
5b9dd6d2eb Fix typo 2024-03-21 23:02:38 +01:00
Philip Abbey
6599c22664 Merge pull request #123 from house-of-abbey/103-possiblity-to-add-polling-interval-for-states-to-save-battery
103 possiblity to add polling interval for states to save battery
2024-03-21 19:34:55 +00:00
Philip Abbey
c66950cfb0 Update HISTORY.md 2024-03-21 19:32:59 +00:00
Philip Abbey
2a99069f48 Review comments 2024-03-21 19:29:52 +00:00
Philip Abbey
bb9c8b1088 Merge pull request #125 from house-of-abbey/124-add-4-more-devices
Added 4 new devices
2024-03-21 17:43:50 +00:00
Philip Abbey
34e56c5da0 Added 4 new devices
Devices are: descentmk343mm, descentmk351mm, fr165, fr165m.
2024-03-21 17:39:58 +00:00
Philip Abbey
0a93f4f9ba Additional documentation changes
Including settings screenshot.
2024-03-21 13:53:01 +00:00
philipabbey
eb0d0f5044 Apply automatic changes 2024-03-21 09:30:42 +00:00
Philip Abbey
a0fe746c1d Amended update method to entire rounds
A single larger delay is now inserted once between entire rounds of status updates,
2024-03-21 09:15:47 +00:00
philipabbey
00b071c132 Apply automatic changes 2024-03-20 23:46:54 +00:00
Philip Abbey
cacd9f856f Initial solution 2024-03-20 23:33:13 +00:00
Philip Abbey
eebf5c9dcd Update Templates.md
Removed a reference to a problem mostly associated with Widgets.
2024-03-18 21:20:56 +00:00
Philip Abbey
da645f17ad Update README.md
Removed an old reference to a known issue with Widgets.
2024-03-18 08:10:49 +00:00
Philip Abbey
dbd0a42d2e Merge pull request #120 from house-of-abbey/118-allow-turning-off-vibration
118 allow turning off vibration
2024-03-08 16:20:36 +00:00
Philip Abbey
aeeb1aa96e Documentation update 2024-03-08 09:18:48 +00:00
philipabbey
be66c282df Apply automatic changes 2024-03-07 22:31:32 +00:00
Philip Abbey
4dc31e3c65 Removed a widget only property
That should have been removed previously.
2024-03-07 22:14:25 +00:00
Philip Abbey
92d3fbee57 Initial fixes 2024-03-07 21:59:33 +00:00
Philip Abbey
181335bfd7 Update README.md
Added a new [!IMPORTANT] tag
2024-03-06 18:34:40 +00:00
Philip Abbey
b684c1172a Merge pull request #116 from house-of-abbey/113-splitting-widget-and-app-code
113 splitting widget and app code
2024-02-20 20:59:52 +00:00
Philip Abbey
0ee20de6c5 Update HISTORY.md 2024-02-18 15:04:32 +00:00
Philip Abbey
d5ed16e6d2 Amended export.cmd
And removed an old comment from HomeAssistantApp.mc
2024-02-18 15:00:36 +00:00
Philip Abbey
8e2a4333ca Reverted manifest to test app ID
Removed comments used for running the widget in simulation.
2024-02-11 19:37:43 +00:00
Philip Abbey
a65dcd6811 Removed widget specific code 2024-02-11 19:35:34 +00:00
Philip Abbey
7b6fc65bf2 Update TroubleShooting.md
Spelling.
2024-02-11 19:30:12 +00:00
Philip Abbey
b65d45c955 Update README.md
Added known issue with iPhone's Connect IQ App
2024-02-11 18:31:49 +00:00
Joseph Abbey
85b01eca91 Update issue templates 2024-02-08 21:05:53 +00:00
Joseph Abbey
3ffaa744e0 Update issue templates 2024-02-08 21:02:32 +00:00
Joseph Abbey
d488897fbd Update issue templates 2024-02-08 20:24:45 +00:00
Joseph Abbey
457dcca002 Fix spacing inconsistencies 2024-02-06 21:47:33 +00:00
Joseph Abbey
3a96f24f1d Merge pull request #110 from mymyke/patch-1
Fixed off-by-one error in Templates.md
2024-02-06 21:43:04 +00:00
Joseph Abbey
5971e7f852 Merge pull request #109 from house-of-abbey/108-bug-fixes-to-26
3 bug fixes as per the issue description
2024-02-06 21:17:10 +00:00
mymyke
f486a2c868 Update Templates.md
Round function added the brightness display part of content to correct off-by-one errors.
For example, setting brightnes to 30% would previously show 29% and now shows 30%
2024-02-05 22:44:27 +01:00
Philip Abbey
0dfcc65469 3 bug fixes as per the issue description 2024-02-05 19:09:26 +00:00
Philip Abbey
4d4a86f195 Update README.md
Added knwoon issue with Edge 540 and 840 devices.
2024-02-01 21:32:46 +00:00
Philip Abbey
9e1c5959ab Merge pull request #107 from house-of-abbey/100-help-text-for-web-based-configuration-editor
Documentation for web editor
2024-01-31 13:36:34 +00:00
Joseph Abbey
41bc27262d Add link to dashboard definition docs 2024-01-31 10:19:56 +00:00
Joseph Abbey
4119997ddd Documentation for web editor 2024-01-31 10:12:49 +00:00
philipabbey
6e842af372 Apply automatic changes 2024-01-30 20:19:10 +00:00
Joseph Abbey
9c5aad889d Merge pull request #96 from house-of-abbey/94-add-gps-reporting-to-the-background-service
GPS and current activity reporting
2024-01-30 18:09:26 +00:00
Philip Abbey
2ad0480bbf Merge branch 'main' into 94-add-gps-reporting-to-the-background-service 2024-01-29 20:41:55 +00:00
Philip Abbey
1d5ee735e8 Update corrections.xml 2024-01-29 20:41:09 +00:00
Philip Abbey
d694880969 Merge branch 'main' into 94-add-gps-reporting-to-the-background-service 2024-01-29 20:39:00 +00:00
Philip Abbey
763c9cc5e0 Merge branch 'main' into 94-add-gps-reporting-to-the-background-service 2024-01-29 20:37:56 +00:00
Philip Abbey
e332c7c466 Merge pull request #105 from tarekbecker/fix-german
Corrections for german
2024-01-29 20:37:36 +00:00
Tarek Becker
d0109fe0af Corrections for german 2024-01-29 21:27:20 +01:00
Restyled.io
28a03282a5 Restyled by whitespace 2024-01-29 21:24:44 +01:00
Tarek Becker
c148ef7080 Corrections for german 2024-01-29 21:22:17 +01:00
Philip Abbey
69ddb0f197 Amended "no activity" condition
Back to using elapsed time.
2024-01-29 19:06:58 +00:00
Philip Abbey
55423c4eb7 Using System.getDeviceSettings().activityTrackingOn
Instead of activity elapsed time. Also forgot to update the WebhookManager class code.
2024-01-28 19:52:20 +00:00
Philip Abbey
66193f080a Background service documentation 2024-01-28 18:55:33 +00:00
Philip Abbey
b31aff652f Update BackgroundServiceDelegate.mc
Amended detection of no activity reporting.
2024-01-28 18:54:47 +00:00
Philip Abbey
5e9673ba0e Merge branch '94-add-gps-reporting-to-the-background-service' of ssh://github.com/house-of-abbey/GarminHomeAssistant into 94-add-gps-reporting-to-the-background-service 2024-01-28 14:00:51 +00:00
Philip Abbey
da4f4401fe Update Templates.md
Jinja2 explained
2024-01-28 14:00:21 +00:00
Joseph Abbey
f531ad8004 Merge branch '94-add-gps-reporting-to-the-background-service' of https://github.com/house-of-abbey/GarminHomeAssistant into 94-add-gps-reporting-to-the-background-service 2024-01-28 13:59:17 +00:00
Joseph Abbey
930f1525b3 Best practices! 2024-01-28 13:59:07 +00:00
Philip Abbey
5de67382bc Update README.md
More explanation on the polling chain for status updates.
2024-01-28 13:37:54 +00:00
Philip Abbey
a45785cd88 Update Templates.md
Added template example with float number formatting.
2024-01-28 13:16:57 +00:00
Joseph Abbey
6fc639f17f Report -1 instead of null for no activity 2024-01-28 13:05:34 +00:00
Joseph Abbey
997e1c87e2 Merge pull request #101 from house-of-abbey/98-copy-button-and-fix-auto-complete-in-template 2024-01-28 12:37:27 +00:00
Joseph Abbey
2542d9e9a5 Fix scroll bars 2024-01-28 12:17:40 +00:00
Joseph Abbey
c2883f883e Merge pull request #99 from house-of-abbey/98-copy-button-and-fix-auto-complete-in-template 2024-01-28 12:03:37 +00:00
Joseph Abbey
d991f7f180 Fix autocomplete and copy button 2024-01-28 12:02:24 +00:00
Philip Abbey
9f759b1dad Documentation
Amended "BatteryReporting" to "BackgroundService". Augmented TroubleShooting.md to remind people how to verify their JSON schema. Amended wording of some of the settings.
2024-01-27 16:29:08 +00:00
Philip Abbey
bbb4d13eb2 Merge pull request #97 from house-of-abbey/restyled/94-add-gps-reporting-to-the-background-service
Restyle GPS and current activity reporting
2024-01-27 16:09:28 +00:00
Restyled.io
cf6552410e Restyled by whitespace 2024-01-27 15:39:45 +00:00
Joseph Abbey
6b3a17bea3 Add GPS accuracy to update_location webhook and changed activity reporting 2024-01-27 15:39:22 +00:00
Philip Abbey
8f372c03e3 Merge branch 'main' into 94-add-gps-reporting-to-the-background-service 2024-01-27 15:06:06 +00:00
Philip Abbey
f5f88ced4e Added web-based editor to documentation 2024-01-27 14:59:48 +00:00
Joseph Abbey
96abff9339 Fix spacing of arrows 2024-01-27 14:02:05 +00:00
Philip Abbey
4ff1509046 API level fix
Added 'has' test for Activity.getProfileInfo(). Reverted automatic changes to XML prettiness.

Co-Authored-By: Joseph Abbey <me@josephabbey.dev>
2024-01-27 13:57:21 +00:00
Joseph Abbey
1ec80a1704 Update restyled.yml 2024-01-27 13:39:44 +00:00
Joseph Abbey
e3288c9353 GPS and current activity in background service 2024-01-27 13:11:24 +00:00
Joseph Abbey
2ba102f8dd Merge pull request #92 from house-of-abbey/91-enhanced-web-editor 2024-01-25 19:56:40 +00:00
Joseph Abbey
3e0789e808 Update config.schema.json 2024-01-25 19:34:51 +00:00
Joseph Abbey
bd56c6b4e6 Titles for buttons 2024-01-25 15:19:39 +00:00
Joseph Abbey
6063ae8ba3 Titles for form elements 2024-01-25 14:56:28 +00:00
Joseph Abbey
f00bbdcb13 Merge pull request #93 from house-of-abbey/restyled/91-enhanced-web-editor 2024-01-25 14:30:59 +00:00
Restyled.io
2b98ed885e Restyled by whitespace 2024-01-25 14:28:38 +00:00
Restyled.io
4a8185a937 Restyled by prettier-json 2024-01-25 14:28:38 +00:00
Restyled.io
bb55ed4c69 Restyled by prettier 2024-01-25 14:28:36 +00:00
Restyled.io
4ddf8339b8 Restyled by jq 2024-01-25 14:28:34 +00:00
Restyled.io
7b227499c8 Restyled by clang-format 2024-01-25 14:28:32 +00:00
Joseph Abbey
0849524ea9 formatting 2024-01-25 14:28:03 +00:00
Joseph Abbey
b54b1d8cae Add autocomplete for entity names in templates 2024-01-25 13:40:02 +00:00
Joseph Abbey
17b1e38145 Merge branch 'main' into 91-enhanced-web-editor 2024-01-25 10:43:44 +00:00
Joseph Abbey
2afd0295b4 Error handling 2024-01-25 10:40:27 +00:00
Joseph Abbey
83f8b7bf26 Create _config.yml 2024-01-23 21:54:51 +00:00
Joseph Abbey
c4066e9fe3 Enhanced web editor 2024-01-23 21:19:07 +00:00
Philip Abbey
c062a6fcff Update HISTORY.md
Added V2.5 description.
2024-01-23 19:29:29 +00:00
Philip Abbey
7ab8246197 Merge pull request #88 from house-of-abbey/87-look-for-memory-usage-efficiencies
87 look for memory usage efficiencies
2024-01-23 07:13:22 +00:00
Philip Abbey
776134e842 Merge pull request #89 from house-of-abbey/restyled/87-look-for-memory-usage-efficiencies
Restyle 87 look for memory usage efficiencies
2024-01-22 22:25:46 +00:00
Restyled.io
a95736ebed Restyled by whitespace 2024-01-22 22:20:26 +00:00
Philip Abbey
9c001f3402 Cosmetic 2024-01-22 10:28:35 +00:00
Philip Abbey
7786efd883 Update HomeAssistantApp.mc
Removed memory metrics
2024-01-21 20:46:55 +00:00
Philip Abbey
0b80e4546d Corrected a previous incomplete commit
All now "WatchUi.loadResource($.Rez.Strings.WebhookFailed) as Lang.String"
2024-01-21 20:43:11 +00:00
Philip Abbey
6e67c4cf2a Removed RezStrings.mc
And in-lined the resource strings fetching.
2024-01-21 20:38:01 +00:00
Philip Abbey
b80227e484 Update Settings.mc
Cosmetic
2024-01-21 20:11:47 +00:00
Philip Abbey
d9b345e5b8 Update Settings.mc
Cosmetic
2024-01-21 20:04:12 +00:00
Philip Abbey
fc7302ad3b Update HomeAssistantView.mc
Removed empty else clause.
2024-01-21 20:00:52 +00:00
Philip Abbey
d9ecaf34ee Removed Debug
On some devices it looks like removing the System.println() statements from inside an 'if' clause whose condition is a constant (static constant Globals.scDebug) makes a memory saving. This would suggest the compiler does not propagate constants and prune unreachable code. However in the device of greatest interest debug removal has made no difference to the memory usage. Here the conditional clauses have been turned into comments that can be removed on a case-by-case basis otherwise the debug printing is too voluminous anyway.
2024-01-21 17:53:37 +00:00
Joseph Abbey
62b8f0fccf Add max size to menus 2024-01-21 13:06:44 +00:00
Philip Abbey
26954cbc60 Update RootView.mc
Memory usage decimal place was never used due to integer arithmetic. A single character changes fixed that.
2024-01-21 13:00:31 +00:00
Philip Abbey
a5b2af81bc Merge pull request #81 from house-of-abbey/80-examples
Added examples for templates and custom switches
2024-01-20 15:07:32 +00:00
Joseph Abbey
10c64c0fdc Merge pull request #86 from house-of-abbey/restyled/80-examples 2024-01-20 15:06:25 +00:00
Restyled.io
ed3dce8827 Restyled by prettier-json 2024-01-20 15:05:50 +00:00
Restyled.io
35a65ebdf4 Restyled by jq 2024-01-20 15:05:49 +00:00
Joseph Abbey
1448f6b0c2 Update config.schema.json 2024-01-20 12:10:17 +00:00
Joseph Abbey
5620ea6695 Update config.schema.json 2024-01-19 21:17:24 +00:00
148 changed files with 10685 additions and 4262 deletions

10
.github/ISSUE_TEMPLATE/blank-issue.md vendored Normal file
View File

@@ -0,0 +1,10 @@
---
name: Blank issue
about: Describe this issue template's purpose here.
title: ''
labels: ''
assignees: ''
---

47
.github/ISSUE_TEMPLATE/bug_report.md vendored Normal file
View File

@@ -0,0 +1,47 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: bug
assignees: ''
---
**Describe the bug**
A clear and concise description of what the bug is.
**IMPORTANT!**
I have:
- [ ] Used HTTPS to access HomeAssistant (with a public certificate)
- [ ] Checked that my JSON Syntax is correct ([options 2, 3, or 4](https://github.com/house-of-abbey/GarminHomeAssistant#editing-the-json-file) or otherwise)
- [ ] Checked that my JSON follows the schema ([options 2, 3, or 4](https://github.com/house-of-abbey/GarminHomeAssistant#editing-the-json-file))
- [ ] Used the online editor to check my JSON against HomeAssistant ([option 1](https://github.com/house-of-abbey/GarminHomeAssistant#editing-the-json-file))
- [ ] Checked the [Docs](https://github.com/house-of-abbey/GarminHomeAssistant)
- [ ] Checked the [Troubleshooting Guide](https://github.com/house-of-abbey/GarminHomeAssistant/blob/main/TroubleShooting.md)
**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
**Expected behavior**
A clear and concise description of what you expected to happen.
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Garmin Device (please complete the following information):**
- Model: [e.g. Venu 2]
**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
**Additional context**
Add any other context about the problem here.

View File

@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: enhancement
assignees: ''
---
**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
**Describe the solution you'd like**
A clear and concise description of what you want to happen.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
**Additional context**
Add any other context or screenshots about the feature request here.

View File

@@ -1,2 +1,5 @@
exclude: exclude:
- "**/*.md" - '**/*.md'
- '**/pnpm-lock.yaml'
- 'manifest.xml'
- 'manifest-widget.xml'

View File

@@ -23,11 +23,11 @@ jobs:
uses: actions/setup-python@v4.7.1 uses: actions/setup-python@v4.7.1
- run: | - run: |
pip install beautifulsoup4 pip install google-genai beautifulsoup4 lxml
pip install deep-translator
pip install lxml
- run: python translate.py - run: python translate.py
env:
GEMINI_API_KEY: ${{ secrets.GEMINI_API_KEY }}
# Commit all changed files back to the repository # Commit all changed files back to the repository
- uses: stefanzweifel/git-auto-commit-action@v5 - uses: stefanzweifel/git-auto-commit-action@v5

10
.prettierrc Normal file
View File

@@ -0,0 +1,10 @@
{
"tabWidth": 2,
"useTabs": false,
"singleQuote": true,
"bracketSameLine": true,
"arrowParens": "always",
"experimentalTernaries": true,
"semi": true,
"trailingComma": "es5"
}

View File

@@ -2,5 +2,10 @@
"cSpell.words": [ "cSpell.words": [
"usbs", "usbs",
"Venu" "Venu"
] ],
"files.exclude": {
"resources-*": true,
"bin": true,
"export": true
}
} }

View File

@@ -1,9 +1,54 @@
[Home](README.md) | [Switches](examples/Switches.md) | [Actions](examples/Actions.md) | [Templates](examples/Templates.md) | Battery Reporting | [Trouble Shooting](TroubleShooting.md) | [Version History](HISTORY.md) [Home](README.md) | [Switches](examples/Switches.md) | [Actions](examples/Actions.md) | [Templates](examples/Templates.md) | [Glance](examples/Glance.md) | [Background Service](BackgroundService.md) | [Wi-Fi](Wi-Fi.md) | [HTTP Headers](HTTP_Headers.md) | [Trouble Shooting](TroubleShooting.md) | [Version History](HISTORY.md)
# Battery Reporting # Background Service
The background service can report the following statuses from your device to your Home Assistant:
- Battery Level with charging status.
- Location and location accuracy.
- Activity information, but only if your device supports API level 3.2.0. If your device does not support this API level, this information is simply omitted. How do you know? Easiest way is to see if the data is reported.
If your device does not support the background service, the application will clear this setting after you have enabled it. This tells you that you are unable to take advantage of the background reporting service for the functions below.
## Limits
The values are merely samples of your device's current status. They are sent by a single background service at the repetition frequency you chose in the settings. The samples are sent at that one rate only, they _do not vary_ for example on in activity, on charge, time of day. You get one refresh interval and that is it. If you want to change the refresh interval, you change your settings. We do appreciate that may not be what you would ideally like to trigger actions on Home Assistant. Messing with the repeat interval of the background service requires more code, more settings and more complexity. That means older devices using widgets would have to be taken out of support to achieve it.
**Please do not ask for these to be made 'events'.** Garmin's [Connect IQ background service](https://developer.garmin.com/connect-iq/api-docs/Toybox/System/ServiceDelegate.html) is limited in that while it does provide an `onActivityCompleted()` method, it does not provide an `onActivityStarted()` method, so you would not have the complete activity life cycle anyway. So we're keeping this implementation simple, you just get a sampling at one refresh rate. This probably limits you to updating a status on a Home Assistant Dashboard only.
## 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. 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.
## Location Reporting
From version 2.6 the application includes reporting your location. The location data reported includes:
- Location (latitude and longitude)
- Location accuracy
- Speed
- Direction
- Altitude
You get whatever your device provides at the moment, i.e. at the accuracy the device currently provides. If your watch is not calibrated you get poor data. It might mean that you get more accurate location data when you are in a location tracking activity (i.e. not swimming pool lengths). The device [indicates an accuracy](https://developer.garmin.com/connect-iq/api-docs/Toybox/Position.html#Quality-module) in units of:
- `Position.QUALITY_NOT_AVAILABLE` - No update provided
- `Position.QUALITY_LAST_KNOWN` - No update provided
- `Position.QUALITY_POOR` - We translate that to 500 m arbitrarily
- `Position.QUALITY_USABLE` - We translate that to 100 m arbitrarily
- `Position.QUALITY_GOOD` - We translate that to 10 m arbitrarily
**You cannot rely on the radius of the circle of accuracy in any resulting maps as any meaningful indication of error.**
## Activity Reporting
From version 2.6 the application includes reporting your activity. The activity data includes:
- Activity - This is an integer as defined by [Toybox.Activity `SPORT`](https://developer.garmin.com/connect-iq/api-docs/Toybox/Activity.html#Sport-module)
- Sub-activity - This is an integer as defined by [Toybox.Activity `SUB_SPORT`](https://developer.garmin.com/connect-iq/api-docs/Toybox/Activity.html#SubSport-module)
The application only provides the integers without translation. When using the values in Home Assistant, you will need to provide you own mapping from the `Activity` enumerated type to the human readable text. As developers of the application we are pushing this translation to the server to keep the Garmin application code 'lean'. You will also need to add to both the list of activities (sports) and sub-activities (sub-sports) an interpretation of integer `-1` for no activity/sub-activity at present.
## Start Reporting ## 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. 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.

View File

@@ -1,4 +1,4 @@
[Home](README.md) | [Switches](examples/Switches.md) | [Actions](examples/Actions.md) | [Templates](examples/Templates.md) | [Battery Reporting](BatteryReporting.md) | [Trouble Shooting](TroubleShooting.md) | Version History [Home](README.md) | [Switches](examples/Switches.md) | [Actions](examples/Actions.md) | [Templates](examples/Templates.md) | [Glance](examples/Glance.md) | [Background Service](BackgroundService.md) | [Wi-Fi](Wi-Fi.md) | [HTTP Headers](HTTP_Headers.md) | [Trouble Shooting](TroubleShooting.md) | [Version History](HISTORY.md)
# Version History # Version History
@@ -9,11 +9,44 @@
| 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.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.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.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.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 HomeAssistant 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.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. | | 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.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. | | 2.1 | Deployment of an idea to provide HomeAssistant with access to the watch battery level. Using this requires [significant setup](BackgroundService.md) on the HomeAssistant 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. |
| 2.2 | Adds a feature to cache the menu configuration and save the time taken for an HTTP request to fetch it. You as the user are responsible for managing the cache by clearing it when you update your configuration. Improvement to widget root display updates. Bug fix for battery level reporting when in the glance carousel. Fixed an uninternationalised string, "Execute". Unfixed issue with battery level updates when the user is not an administrator. | | 2.2 | Adds a feature to cache the menu configuration and save the time taken for an HTTP request to fetch it. You as the user are responsible for managing the cache by clearing it when you update your configuration. Improvement to widget root display updates. Bug fix for battery level reporting when in the glance carousel. Fixed an uninternationalised string, "Execute". Unfixed issue with battery level updates when the user is not an administrator. |
| 2.3 | Fix for battery level updates where previously the function only worked for administrator accounts. The new solution is based on Webhooks and is simpler to implement on Home Assistant. Language support fix where an automatic translation produced an inappropriate word, possibly in more than one language. | | 2.3 | Fix for battery level updates where previously the function only worked for administrator accounts. The new solution is based on Webhooks and is simpler to implement on HomeAssistant. Language support fix where an automatic translation produced an inappropriate word, possibly in more than one language. |
| 2.4 | Sensor status reporting via Home Assistant 'templates'. This provides a generalised way of viewing the status of any entity as long as the result can be rendered as text, e.g. 'uncovered', 'open', '76%', '21 °C'. Removal of the menu style option. The original style was kept after the introduction of the icon style solely to keep the code for a possible re-use for sensor statuses. This version delivers that new feature, hence the style option has been removed. The new JSON configuration file format allows for the old style to be replicated if you are desperate! Added a feature to provide parameters to actions (`tap` or `template`). Added a feature to confirm `toggle` menu items. | | 2.4 | Sensor status reporting via HomeAssistant 'templates'. This provides a generalised way of viewing the status of any entity as long as the result can be rendered as text, e.g. 'uncovered', 'open', '76%', '21 °C'. Removal of the menu style option. The original style was kept after the introduction of the icon style solely to keep the code for a possible re-use for sensor statuses. This version delivers that new feature, hence the style option has been removed. The new JSON configuration file format allows for the old style to be replicated if you are desperate! Added a feature to provide parameters to actions (`tap` or `template`). Added a feature to confirm `toggle` menu items. |
| 2.5 | A small memory efficiency of about 1kB by removing `RezStrings.mc`. This will aid widgets on old watches that only have 60kB available to an application and are using about 45kB before the menu is fetched, hence 1kB is more significant to those devices. |
| 2.6 | Added more information reporting to the background service, in addition to the device battery level and charging status, we now include location, location accuracy, and (if supported by your device) the activity information. Note the updates are sent periodically and are not event driven. |
| 2.7 | Bug fix release: 1. Handling a settings change, 2. Avoid caching a bad menu, 3. Managing bad JSON in menu definitions. |
| 2.8 | Separation release. The application and widget are no longer joined and now have separate source code repositories. The widget version is now in "maintenance only mode" hence will not receive new features, whilst the application version can now take advantage of not being constrained by the widget's memory limitation, which should allow new features to be added in the future. |
| 2.9 | Added an option to enable confirmation vibration so it can be turned off by request of a user. Removed a redundant setting for the alternative Widget version that was not removed previously, and fixed a bug with dereferencing Null. |
| 2.10 | Added a user requested feature to slow down the rate of API calls in order to reduce battery wear for a situation where the application is kept open permanently on the device for convenience. Added 4 new devices. |
| 2.11 | Bug fix release for menu caching being turned off and language corrections (Czech & Slovenian). |
| 2.12 | Re-enabled Edge 540 and Edge 840 devices which we are unable to support due to simulator issues, but the Edge 840 device has been confirmed as working by a [Petucky](https://github.com/Petucky). |
| 2.13 | Moved the template status queries to Webhooks in order to fix the situation where an account is a non-privileged user. Added telemetry update on activity completion to make automations more timely at the end of an activity. When using a polling delay, there is no longer a startup delay for status updates and an action will trigger an immediate round of updates. |
| 2.14 | Cautionary bug fix for the background service code where refactorisation spoilt some API level guard clauses. |
| 2.15 | Better support for templates by isolating erroneous returns and marking the menu item. |
| 2.16 | Bug fix for lack of phone connection when starting the application. Includes new activity reporting features from [KPWhiver](https://github.com/KPWhiver) covering steps, heart rate, floors climbed and descended, and respiration rate. |
| 2.17 | Bug fix for reporting activity metrics that are not found on some devices. |
| 2.18 | Bug fix for reporting activity metrics that might be `null` sometimes. This is unsimulatable situation, so this version is a change based on an informed guess. |
| 2.19 | A template to evaluate is now optionally allowed on both `group` and `toggle` menu items. The template to evaluate is non-optional on a `template` menu item. All updates are performed in a single HTTP GET request for efficiency. Bug fix for negative heading values. Vibration now (optionally) confirms toggle menu items being tapped. |
| 2.20 | Simplified the code base now that templates have been requested in all menu items. This means the `template` menu item became a superset of `tap`. Therefore the `tap` code has been has been upgraded to include `template` and the latter deprecated. JSON menu definitions continue to support `template` items by instantiating a `tap` menu item, but the schema marks them as deprecated and users should migrate their menu definitions now. Use the [web editor](https://house-of-abbey.github.io/GarminHomeAssistant/web/) for assistance with changes. |
| 2.21 | Added 7 new devices (`edge1050`, `enduro3`, `fenix843mm`, `fenix847mm`, `fenix8solar47mm`, `fenix8solar51mm`, `fenixe`) and upgraded the SDK to 7.3.0. Fix for a bug on Edge devices introduced by v2.16 activity reporting improvements. |
| 2.22 | <img src="images/pin_view.png" width="200" title="PIN Entry View"/><br/>Major feature release adding an optional PIN to menu items. This significant new feature has been provided by [moesterheld](https://github.com/moesterheld). Please do not rely on this application for security. Use at your own risk! |
| 2.23 | Added "info" menu item for displaying information via a template without a tap or toggle. Essentially like the old 'template' type that was deprecated when all items were amended to display evaluated templates. That action removed the display only items too hastily. Added 5 new devices in the model range Instinct 3 and Instinct E. |
| 2.24 | Experiment to prevent new Webhook IDs being created unnecessarily. Reduced the latency for the first menu update. Added 4 new devices: approachs50, descentg2, descentmk1, and gpsmap66. |
| 2.25 | 2 Bug fixes. First time startup issues caused by v2.24 change and a fix for pure numbers in returned templates. |
| 2.26 | Retry responsive menu fix failed in v2.24. Cosmetic internal class changes. |
| 2.27 | Trivial bug fix for the glance view to prevent the "Unconfigured" result being erroneously displayed because the settings were not yet pulled from persistent storage. |
| 2.28 | Added support for Vivoactive 6 device which also required an SDK update to 8.1.0. |
| 2.29 | Added support for three new devices, Forerunners 570 42mm & 47mm and 970. |
| 2.30 | <img src="images/Venu2_glance_default.png" width="200" title="Default Glance"/><br/>Extensive re-work of the [Glance](examples/Glance.md) view, including the ability to customise it with a user supplied template. |
| 2.31 | Adding [two new options](./examples/Actions.md#exit-on-tap) to the menu items: 1) The ability to disable a menu item, e.g. temporarily for seasonal changes, 2) The option to exit after a menu item has been select. |
| 2.32 | Bug fix for a breaking change extracting options caused by the need to rearrange function parameters for an [annoying compiler error](https://github.com/house-of-abbey/GarminHomeAssistant/issues/253). |
| 3.0 | First version with the ability to use [Wi-Fi or LTE](Wi-Fi.md) instead of Bluetooth but with limited functionality, thanks to [@vincentezw](https://github.com/vincentezw). |
| 3.1 | Added the ability for users to provide [custom HTTP headers](HTTP_Headers.md) for their HomeAssistant server. Improved German language translations. Thanks to [@tispokes](https://github.com/tispokes) for assisting with both of those. Removed all groups in settings as the SDK is buggy. Fixed a bug with templates in glances causing application crash on startup. |
| 3.2 | Only enable or disable sensors on HomeAssistant when the background service options is changed, i.e. do not call the API to enable on start up every time. |
| 3.3 | Providing automatic detection for menu definition updates, but still requires an application restart. |
| 3.4 | Fixed a bug where templates failed to display in toggle menu items (at least on some devices). Fixed a bug where a menu item requesting to exit on completion appeared to indicate failure when using Wi-Fi or LTE. The fix uses a delay in exiting the application modelled as sufficient for a Venu 2 device, so this might need tweaking for other devices. Attempt to fixed an "Out of Memory" bug caused by v3.3 by making automatic checking for menu updates both optional and automatically turned off when insufficient memory is available. This last bug is device dependent and may require another attempt. |

37
HTTP_Headers.md Normal file
View File

@@ -0,0 +1,37 @@
[Home](README.md) | [Switches](examples/Switches.md) | [Actions](examples/Actions.md) | [Templates](examples/Templates.md) | [Glance](examples/Glance.md) | [Background Service](BackgroundService.md) | [Wi-Fi](Wi-Fi.md) | [HTTP Headers](HTTP_Headers.md) | [Trouble Shooting](TroubleShooting.md) | [Version History](HISTORY.md)
# User Specified Custom HTTP Headers
Principally for those who use HomeAssistant add-on [Cloudflared](https://github.com/brenner-tobias/addon-cloudflared) in order to provide additional security via Cloudflare's Web Application Firewall (WAF). But Garmin does not support certificates in requests. And the solution is generic enough for other use cases.
Please let us know if this solution is found to be useful for other situations.
## Setup
The settings contain two options for users to specify both the HTTP header name and the value as two free form strings.
<img src="images/http_header_settings.png" width="400" title="Application Settings"/>
If you don't know why you need these, leave them empty and ignore.
### Cloudflare WAF rule example
`(any(http.request.headers["your-header-name"][*] eq "your-header-key"))`
Make the key strong enough!
## Support
**None!**
The authors of the Garmin HomeAssistant application do not use, and hence do not know, the [Cloudflared](https://github.com/brenner-tobias/addon-cloudflared) add-on. While we have enabled the HTTP headers to support using this add-on, it does mean _you support yourself_. Please do not raise issues about this functionality unless you are supplying the answers for any required changes too!
## Credits
With thanks to Lars Pöpperl ([@tispokes](https://github.com/tispokes)) for contributing to this solution.
## References
* [Using Cloudflare ZeroTrust and mTLS to securely access HomeAssistant via the internet](https://kcore.org/2024/06/28/using-cloudflare-zerotrust-and-mtls-with-home-assistant-via-the-internet/)
* [HomeAssistant Add-on: Cloudflared](https://github.com/brenner-tobias/addon-cloudflared)

View File

@@ -4,5 +4,9 @@
"path": "." "path": "."
} }
], ],
"settings": {} "settings": {
"cSpell.words": [
"Initialiser"
]
}
} }

198
README.md
View File

@@ -1,19 +1,29 @@
Home | [Switches](examples/Switches.md) | [Actions](examples/Actions.md) | [Templates](examples/Templates.md) | [Battery Reporting](BatteryReporting.md) | [Trouble Shooting](TroubleShooting.md) | [Version History](HISTORY.md) [Home](README.md) | [Switches](examples/Switches.md) | [Actions](examples/Actions.md) | [Templates](examples/Templates.md) | [Glance](examples/Glance.md) | [Background Service](BackgroundService.md) | [Wi-Fi](Wi-Fi.md) | [HTTP Headers](HTTP_Headers.md) | [Trouble Shooting](TroubleShooting.md) | [Version History](HISTORY.md)
# GarminHomeAssistant # GarminHomeAssistant
<img src="images/Actual_Venu2_Theme.jpg" width="200" title="Venu 2"/> <img src="images/Actual_Venu2_Theme.jpg" width="200" title="Venu 2"/>
A Garmin application to provide a "dashboard" to control your devices via [Home Assistant](https://www.home-assistant.io/). The application will never be as fully fledged as a Home Assistant dashboard, so it is designed to be good enough for the simple and essential things. Those things that can be activated via an on/off toggle or a tap. That should cover lights, switches, and anything requiring a single press such as an automation. For anything more complicated, e.g. thermostat, it would always be quicker and simpler to reach for your phone or tablet... or the device's own remote control! A Garmin application to provide a "dashboard" to control your devices via [HomeAssistant](https://www.home-assistant.io/). The application will never be as fully fledged as a HomeAssistant dashboard, so it is designed to be good enough for the simple and essential things. Those things that can be activated via an on/off toggle or a tap. That should cover lights, switches, and anything requiring a single press such as an automation. For anything more complicated, e.g. thermostat, it would always be quicker and simpler to reach for your phone or tablet... or the device's own remote control!
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, or a text status for an entity (template 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. The application is designed around a simple scrollable menu where menu items have been extended to interface with the [HomeAssistant 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, or a text status for an entity (`info` 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.
**The intended audience for this application are those comfortable with configuring a Home Assistant** (e.g. editing the YAML configuration files) and debugging why URLs don't work. It does not require programming skills, but the menu is configured via JSON which feels like "coding". If you are not comfortable with this relatively low level of configuration, you may like to try other Garmin applications instead. **The intended audience for this application are those comfortable with configuring a HomeAssistant** (e.g. editing the YAML configuration files) and debugging why URLs don't work. It does not require programming skills, but the menu is configured via JSON which feels like "coding" (more like "describing"). If you are not comfortable with this relatively low level of configuration, you may like to try other Garmin applications instead.
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/). (You can install a local [Nginx proxy server](https://my.home-assistant.io/redirect/supervisor_addon/?addon=a0d7b954_nginxproxymanager) to manage Let's Encrypt certificates.) **If you are struggling with getting the application to work, please consult the [troubleshooting guide](TroubleShooting.md#menu-configuration-url) first.**
**If you are struggling with getting the application to work, please consult the [trouble shooting](TroubleShooting.md#menu-configuration-url) guide first.** ## No HTTPS?
> [!IMPORTANT]
> The Garmin SDK allows HTTP requests only to a limited number of domains specified in their app. Therefore, for your Garmin to communicate with your HomeAssistant instance, your HomeAssistant instance must be accessible via HTTPS (with a public certificate!) or through a local DNS server that overrides one of the whitelisted domains to communicate using HTTP.
>
>New with version 3.1, you can use [Cloudflared](https://github.com/brenner-tobias/addon-cloudflared) plug-in in combination with a [custom HTTP header](HTTP_Headers.md) and do not need a public certificate for HTTPS.
>
> To make your HomeAssistant instance accessible via HTTPS, you will need a public certificate. You can get one for free from [Let's Encrypt](https://letsencrypt.org/) or you can pay for [HomeAssistant cloud](https://www.nabucasa.com/). (You can install a local [Nginx proxy server](https://my.home-assistant.io/redirect/supervisor_addon/?addon=a0d7b954_nginxproxymanager) to manage Let's Encrypt certificates.)
>
> If you use a local DNS server (like [Pi-Hole](https://pi-hole.net/)), you can create a local DNS record for the domain `garmincdn.com` (which is allowed for HTTP in the Garmin SDK) and map it to your HomeAssistant instance's IP. "_[About Communication Between Garmin SDK and a Raspberry Pi](https://www.instructables.com/About-Communication-Between-Garmin-SDK-and-a-Raspb/)_" provides additional workarounds for HTTP request restrictions in the Garmin SDK.
>
> **No support is offered to those circumventing the HTTPS restriction of the Connect IQ SDK.** You are supporting yourself!
## Widget or Application? ## Widget or Application?
@@ -21,20 +31,41 @@ As of version 2.0, there are now two installable versions. For older devices bef
| Version | Explanation | | Version | Explanation |
|------------------------|-------------| |------------------------|-------------|
| Application (original) | For newer devices that allow glance views in their applications, e.g. Venu 2, the GarminHomeAssistant application can be started either from a glance 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.<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. | | Application (original) | For newer devices that allow glance views in their applications, e.g. Venu 2, the GarminHomeAssistant application can be started either from a glance 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.<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="Vivoactive 3" 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_default.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. Venu (1) 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.<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.<br>**Please note that memory in widgets is more limited than applications. This means a large menu definition can crash the widget without the code catching the error.** | | Widget | **"Maintenance only mode"** so no new features will be added to this version.<br>For older devices that use widgets, e.g. Venu (1) 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.<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.<br>**Please note that memory in widgets is more limited than applications. This means a large menu definition can crash the widget without the code catching the error.**<br> This version was born out of the application version and from Ver 2.0 shared the same source code repository until Ver 2.8 when they were [separated](https://github.com/house-of-abbey/GarminHomeAssistantWidget) to allow the application version to take advantage of its increase memory availability. |
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. ### Features
The following table lists the differences in functionality between the two. The Widget version is more limited due to memory constraints. As such new features are only being added to the Application.
| Feature | Application | Widget |
|---------|-------------|--------|
| Vibration | Optional setting | Always on |
| "Always on" support | Slow refresh option to reduce batter demand | No available |
| Metric reporting | Fuller, includes: activity, sub-activity, battery, charging, steps, heart rate, floors ascended and descended, respiration rate | Basic, includes: activity, sub-activity, battery only. |
### Source Code Repositories
* [Application](https://github.com/house-of-abbey/GarminHomeAssistant)
* [Widget](https://github.com/house-of-abbey/GarminHomeAssistantWidget)
### Connect IQ Store
* [Application](https://apps.garmin.com/en-US/apps/61c91d28-ec5e-438d-9f83-39e9f45b199d)
* [Widget](https://apps.garmin.com/en-US/apps/559f5174-177f-4f46-b170-f31c7e74dea3)
## Dashboard Definition ## Dashboard Definition
Setup for this menu is more complicated than the Connect IQ settings menu really allows you to specify. In order to make the dashboard easily configurable and easy to change, we have provided an external mechanism for specifying the menu layout, a JSON file you write, retrieved from a URL you specify. JSON was chosen over YAML because Garmin can parse JSON HTTP GET responses into its own internal dictionary, it cannot parse YAML, hence a choice of one really. Note that JSON and YAML are essentially a 1:1 format mapping except JSON does not have comments. We recommend you take advantage of [Home Assistant's own web server](https://www.home-assistant.io/integrations/http/#hosting-files) to provide the JSON definition. The advantages of this are: Setup for this menu is more complicated than the Connect IQ settings menu really allows you to specify. In order to make the dashboard easily configurable and easy to change, we have provided an external mechanism for specifying the menu layout, a JSON file you write, retrieved from a URL you specify. JSON was chosen over YAML because Garmin can parse JSON HTTP GET responses into its own internal dictionary, it cannot parse YAML, hence a choice of one really. Note that JSON and YAML are essentially a 1:1 format mapping except JSON does not have comments. We recommend you take advantage of [HomeAssistant's own web server](https://www.home-assistant.io/integrations/http/#hosting-files) to provide the JSON definition. The advantages of this are:
1. the file is as public as you make your Home Assistant, 1. the file is as public as you make your HomeAssistant,
2. the file is editable within Home Assistant via "[Studio Code Server](https://my.home-assistant.io/redirect/supervisor_addon/?addon=a0d7b954_vscode)", and 2. the file is editable within HomeAssistant via "[Studio Code Server](https://my.home-assistant.io/redirect/supervisor_addon/?addon=a0d7b954_vscode)", and
3. the schema is verifiable using [JSON Schema](https://json-schema.org/overview/what-is-jsonschema). 3. the schema is verifiable using [JSON Schema](https://json-schema.org/overview/what-is-jsonschema).
We have used `/config/www/garmin/<something>.json` on our Home Assistant's file system. That equates to a URL of `https://homeassistant.local/local/garmin/<something>.json`. We have used `/config/www/garmin/<something>.json` on our home brew HomeAssistant's file system. That equates to a URL of `https://homeassistant.local/local/garmin/<something>.json`.
> [!IMPORTANT]
> However [recent reports](https://community.home-assistant.io/t/www-folder-location-for-local-documents/24903/16) suggest this path may no longer work on [Nabu Casa](https://www.nabucasa.com/) and you should use `/homeassistant/www/` instead of `/config/www/`. We are unable to verify this since our free trial of Nabu Casa has expired.
Schema verification is a big part of this design choice. If the application cannot read your menu definition, there's a limited amount of debug it can reasonably provide on a small screen. That responsibility now falls to you and the schema checker for help. Schema verification is a big part of this design choice. If the application cannot read your menu definition, there's a limited amount of debug it can reasonably provide on a small screen. That responsibility now falls to you and the schema checker for help.
@@ -109,7 +140,8 @@ Example schema:
"name": "TV Lights Scene", "name": "TV Lights Scene",
"type": "tap", "type": "tap",
"tap_action": { "tap_action": {
"service": "scene.turn_on" "service": "scene.turn_on",
"pin": true
} }
} }
] ]
@@ -120,32 +152,33 @@ NB. Entity names are not real in case anyone's a hacker ;-).
The example above illustrates how to configure: The example above illustrates how to configure:
* Lights or switches (toggle), <img src="images/toggle_icon.png" height="20"> * Lights or switches (`toggle`), <img src="images/toggle_icon.png" height="20">
* Enables for automations (toggle), <img src="images/toggle_icon.png" height="20"> * Enables for automations (`toggle`), <img src="images/toggle_icon.png" height="20">
* Script invocation (tap) * Script invocation (`tap`)
* Service invocation, e.g. Scene setting, (tap) * Service invocation, e.g. Scene setting, (`tap`)
* A sub-menu to open (group) * A sub-menu to open (`group`)
* You can also display the status of devices (template) and add an optional 'tap' action. However that's a bit more involved and has its own [examples page](examples/Templates.md). Add those later! * You can also display the status of devices (`info`) which is essentially a `tap` with no action
* All menu items can display the results of evaluating [templates](examples/Templates.md).
The following table indicates how Home Assistant entity types can map to the Garmin applications menu types. Presently, an automation is the only one that can be either a 'tap' or a 'toggle'. The following table indicates how HomeAssistant entity types can map to the Garmin applications menu types. Presently, an automation is the only one that can be either a `tap` or a `toggle`.
| HA Entity Type | Tap | Toggle | Template (custom status text with optional tap action) | | HA Entity Type | Tap | Toggle | Info (status)|
|------------------|:---:|:------:|:------------------------------------------------------:| |------------------|:---:|:------:|:------------:|
| Switch | | ✅ | <br>Separate on and off, or anything in between | | Switch | ❌ | ✅ | |
| Light | | ✅ | <br>Separate on and off, or anything in between | | Light | ❌ | ✅ | |
| Automation | ✅ | ✅ | ✅ | | Automation | ✅ | ✅ | ❌ |
| Script | | ❌ | | | Script | ✅ | ❌ | |
| Scene | | ❌ | | | Scene | ✅ | ❌ | |
| Sensor | ❌ | ❌ | ✅ | | Sensor | ❌ | ❌ | ✅ |
| Binary Sensor | ❌ | ❌ | ✅ | | Binary Sensor | ❌ | ❌ | ✅ |
| Any other entity | ❌ | ❌ | ✅ | | Any other entity | ❌ | ❌ | ✅ |
| Any service | | ❌ | | | Any service | ✅ | ❌ | |
Templates need separate HTTP requests to update their status and send an action. Only the toggle items have the on/off <img src="images/toggle_icon.png" height="20"> icon. A Tap does not require a status update and hence does not require the associated HTTP GET request. NB. All 'tap' items must specify a 'service' tag. Multiple templates are evaluated in a single HTTP request to update their status. Only the toggle items have the on/off <img src="images/toggle_icon.png" height="20"> icon. NB. All `tap` items must specify a `service` tag in the `tap_action` object (see example below).
You can now specify alternative texts to use instead of "On" and "Off", e.g. "Locked" and "Unlocked" or "Open" and "Closed" through the use of a [template menu item](examples/Templates.md). But wouldn't having locks operated from your watch be a security concern ;-) ? You can now specify alternative texts to use instead of "On" and "Off", e.g. "Locked" and "Unlocked" or "Open" and "Closed" through the use of a [template menu item](examples/Templates.md). 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 to protect itself. 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 HomeAssistant. 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 to protect itself.
### Old deprecated format ### Old deprecated format
@@ -173,30 +206,33 @@ The above should be replaced by the following:
} }
``` ```
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. This allows the `confirm` and `pin` fields to be accommodated in the `tap_action` along side the `service` tag, and follows the HomeAssistant YAML format more closely.
### More Examples ### More Examples
- [Switches](examples/Switches.md) * [Switches](examples/Switches.md)
- [Actions](examples/Actions.md) * [Actions](examples/Actions.md)
- [Templates](examples/Templates.md) * [Templates](examples/Templates.md)
## Editing the JSON file ## Editing the JSON file
You have options. The first is what we use. 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. 1. **Best!** Use the GarminHomeAssistant [Web-based Editor](https://house-of-abbey.github.io/GarminHomeAssistant/web/) which includes `entity` and `service` name completion and validation by fetching data from your own HomeAssistant instance. _Pretty nifty eh?_ The other method listed below do not add this convenience and checking.
2. Locally installed VSCode, or if not installed, 2. Use the [Studio Code Server](https://community.home-assistant.io/t/home-assistant-community-add-on-visual-studio-code/107863) addon for HomeAssistant. You can then edit your JSON file in place.
3. try the on-line version at https://vscode.dev/, which works really well. 3. Locally installed VSCode, or if not installed, try
4. The on-line version at https://vscode.dev/, which works really well.
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. 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 presented with on your device. 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 presented with on your device.
There are some cases where the file format may be valid JSON, but invalid against the schema, and the failure to catch this error could cause the application to crash. Whilst we have taken care to manage many issues, there may still be cases that are uncaught.
Make sure you can browse to the URL of your JSON file in a standard web browser to make sure it is accessible. 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 ## 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. You will need a [Long-Lived Access Token](https://developers.home-assistant.io/docs/auth_api/#long-lived-access-token). This is not obvious to find 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. Having created your JSON definition for your dashboard, you need to create an API key for your personal account on HomeAssistant. You will need a [Long-Lived Access Token](https://developers.home-assistant.io/docs/auth_api/#long-lived-access-token). This is not obvious to find and is bound to your own HomeAssistant account. Follow the menu sequence: `HA -> User Profile -> "Security" tab -> Long-lived access tokens`. Make sure you save the generated token before dismissing it.
![Long-Lived Access Token](images/Long_Lived_Access_Tokens.png) ![Long-Lived Access Token](images/Long_Lived_Access_Tokens.png)
@@ -204,7 +240,7 @@ Having created that token, before you dismiss the dialogue box with the value yo
## API URL ## API URL
If you are using [Nabu Casa](https://www.nabucasa.com/) 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. If you are using [Nabu Casa](https://www.nabucasa.com/) then your Cloud API URL can be found by looking up your URL via `HA -> Settings -> HomeAssistant 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) ![Nabu Casa Remote Control](images/Nabu_Casa_Remote_Control.png)
@@ -219,20 +255,53 @@ Unfortunately the Settings dialogue box in the Garmin IQ application "times out"
<img src="images/GarminHomeAssistantSettings.png" width="400" title="Application Settings"/> <img src="images/GarminHomeAssistantSettings.png" width="400" title="Application Settings"/>
1. Copy and 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.) 2. Add the URL for your HomeAssistant 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`. 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. You should now have a working application on your watch and be able to operate your HomeAssistant devices for as long as your watch is within Bluetooth range of your phone.
You may choose to cache your menu definition on your device in order to reduce the delay in showing the menu (as it saves waiting for an HTTP GET request). If you use this option you are responsible for managing the cache when the menu is updated at source. The toggle option below the cache option allows you to choose to refresh the cache the next time the application starts. Once the cache has been cleared, the application will reset this toggle for you, so you do not need to return to the settings to amend it. ### Changes to the (JSON) Dashboard Definition & Caching
The application timeout prevents the app running on your watch when you have forgotten to close it. It prevents the refreshing of the menu statuses and therefore excessive wear on your battery level. There is a second timeout value for confirmation views. This is intended for use with more sensitive toggles so that the confirmation view is not left open and forgotten and then confirmed accidentally without you noticing. **We cannot advise you this is safe, be careful what you toggle with the watch application!** Without caching enabled, 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.
You may choose to cache your menu definition on your device in order to reduce the delay in showing the menu (as it saves waiting for an HTTP GET request). If you use this option you need to be aware of how updates to the menu are managed. You may either:
1. **Choose to have the cache cleared.** The toggle option below the cache option allows you to choose to refresh the cache the next time the application starts. Once the cache has been cleared, the application will reset this toggle for you, so you do not need to return to the settings to amend it.
2. **Let the application retrieve the menu after starting and setting up the switch states** (including evaluating [templates](examples/Templates.md)), and then verify you have the latest menu. If a newer menu is retrieved you will be notified via a 'toast' or blue screen for devices without a toast in their API. You will be prompted to restart the application in order to build the menu from this latest menu definition. **This method has proven tricky in older devices with less memory.** Hence it can be turned off to avoid "Out of Memory" crashes. The application tries to protect against crashes by detecting insufficient memory and disabling the option (but note that this may require some tuning). Hence this option is off by default in case it causes a crash and new users are unaware of the potential cause.
**Summary:** The two cache options are therefore distinct, the **first is a manual** forced refresh (the old way). The menu is refreshed on start up and no restart is required. The **second enables automatic checking** after starting and after presenting a usable menu with no extra delay but then any detected changes require a restart.
Whilst it would be a smoother experience, there are no plans to make the menu definition update dynamically recreate the rendered menu items without a restart because:
1. Re-rendering the menu could change the selected item just as you action it.
2. V3.3 proved that older devices are now reaching their memory limits. If you have an old device with limited memory to spare you will probably find the App disables the automatic method for you. If your device crashes with this option turned on, best turn it off manually and let me know via a [Github issue](https://github.com/house-of-abbey/GarminHomeAssistant/issues). This will allow us to fine tune the conditions for insufficient memory. We will then ask you to perform a [small task to retrieve the debug information](https://developer.garmin.com/connect-iq/core-topics/debugging/) we need about memory usage.
3. Restarting is simple for the user and simpler for the code.
### Vibration
The application uses vibration to confirm the action has been requested, which is different to the 'toast' that appears to show the action has been successfully executed. This is enabled by default but may be turned off if you do not desire this behaviour.
### Power Management
The application timeout prevents the HomeAssistant App running on your watch when you have forgotten to close it. It prevents the refreshing of the menu statuses and therefore excessive wear on your battery level. For those users who prefer to keep the application open all the time for continuous use, they can reduce the battery wear by increasing the "poll delay". This inserts a user configurable number of seconds between each round of item update checks, hence reducing the API access activity. This also reduces the responsive of the statuses displayed when HA devices are switched externally, i.e. by another HomeAssistant client, then the watch menu display will not update as quickly. Therefore if you only use the HomeAssistant App briefly now and then, keep this setting at the default 0 seconds. NB. To be clear, all items are updated then a configurable delay is inserted before the next round of all item updates. If your poll delay is greater than zero, then your application timeout should be set to zero, otherwise you will exit the application and negate the value of the poll delay function.
| Application Timeout | Poll Delay | Comment |
|:-------------------:|:----------:|:--------|
| 0 | 0 | Permanently open, poll as fast as possible. This is the simple default, but could drain your battery |
| > 0 | 0 | Temporarily open, poll as fast as possible, responsive and limits battery drain by closing. |
| 0 | > 0 | Permanently open, but poll more gently to save battery. |
| > 0 | > 0 | Temporarily open, poll more gently to save battery, but the application closes before the benefit is realised. Not recommended. |
There is a second timeout value for confirmation views. This is intended for use with more sensitive toggles so that the confirmation view is not left open and forgotten and then confirmed accidentally without you noticing. **We cannot advise you this is safe, be careful what you toggle with the watch application!** _The developers will not be held responsible for any insecurities resulting from using this feature, including any inadvertent code changes that cause the PIN feature to not work._
The confirmation timeout is also used for the maximum time between clicks in the PIN confirmation dialog. The PIN confirmation provides a more secure alternative for toggling security-sensitive actions.
### Text Alignment
There is a toggle setting for "text alignment" that provides finer adjustment for right-to-left languages. Perhaps this could be made automatic based on device language? There is a toggle setting for "text alignment" that provides finer adjustment for right-to-left languages. Perhaps this could be made automatic based on device language?
Another toggle setting for the **Widget version only** 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. ### Background Service
The application and widget both include a background service to report your watch's battery level and charging status. You may enable a background service to report the battery level to your Home Assistant. This is not available over your Bluetooth connection like with other Bluetooth devices as Garmin did not implement it. This no longer requires any setup, and we offer this [trouble shooting](TroubleShooting.md#watch-battery-level-reporting) guide. The last field here is readonly and allows the user to copy & paste the Webhook ID setup by the application when required for this trouble shooting guide. The application and widget both include a background service to report your watch's battery level and charging status. You may enable a background service to report the battery level to your HomeAssistant. This is not available over your Bluetooth connection like with other Bluetooth devices as Garmin did not implement it. This no longer requires any setup, and we offer this [trouble shooting](TroubleShooting.md#watch-battery-level-reporting) guide. The last field here is readonly and allows the user to copy & paste the Webhook ID setup by the application when required for this trouble shooting guide.
## Tap Item Response ## Tap Item Response
@@ -240,19 +309,17 @@ Its obvious that a toggle menu item has been triggered as the visible switch cha
<img src="images/SimTapResponse.png" width="400" title="Tap Triggered"/> <img src="images/SimTapResponse.png" width="400" title="Tap Triggered"/>
The application will display a 'toast' showing Home Assistant's friendly name of the triggered item. The toast will disappear after a short while if not dismissed by the user. The application will display a 'toast' showing HomeAssistant's friendly name of the triggered item. The toast will disappear after a short while if not dismissed by the user. N.B. There are reports that on the Forerunner 55 device, the toasts do not dissapear without manual intervention. On other devices like the Venu 2 the toast can take 15 seconds to dissappear if not dismissed. Unfortunately, there is no API call to change this behaviour.
## External Device Changes ## External Device Changes
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. HomeAssistant 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 HomeAssistant 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. The responses fill up a buffer and in early testing we observed [`Communications.BLE_QUEUE_FULL`](https://developer.garmin.com/connect-iq/api-docs/Toybox/Communications.html) response codes. 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. The responses fill up a buffer and in early testing we observed [`Communications.BLE_QUEUE_FULL`](https://developer.garmin.com/connect-iq/api-docs/Toybox/Communications.html) response codes. 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. As a consequence of this update mechanism, if you request changes too quickly you will be notified that your device cannot keep up with the rate of API responses and you will have to dismiss the error in order to continue. The is a _feature not a bug_! 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. As a consequence of this update mechanism, if you request changes too quickly you will be notified that your device cannot keep up with the rate of API responses and you will have to dismiss the error in order to continue. This is a _feature not a bug_! If the application reduces the rate of "round robin" status update requests it becomes less responsive to external changes.
## Changes to the (JSON) Dashboard Definition To prevent excessive battery usage, set the application timeout in the settings. This will prevent you from leaving the application open and forgotten when not being used, and the polling mechanism will then cease, saving battery life. Again, the thinking here is that the watch application will only ever be open briefly not persistently, and hence not be a constant source of battery usage unless the [background service](BackgroundService.md) for sending any watch status is used aggressively fast.
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. *Don't forget* you may need to choose to clear your cached menu.
## Submitting Corrections for Translations ## Submitting Corrections for Translations
@@ -275,13 +342,28 @@ The `id` attribute values are taken from the same names used in [`strings.xml`](
## Known Issues ## Known Issues
1. On some (old) devices (e.g. Vivoactive 3, Fenix 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. Check the latest unresolved [issues](https://github.com/house-of-abbey/GarminHomeAssistant/issues) on Github. Otherwise the following are persistent issues with no realistic resolution.
2. Widgets have less memory than applications. With the new template based sensor display, widgets are more likely to run out of memory. E.g. a Vivoactive 3 device has a memory limit of 60 kB runtime memory for widgets (compared with 124 kB for applications) and memory is likely to be ~90% used. This makes it very likely that a larger menu will crash the application. We cannot predict what will take the application "over the edge", but we can provide this feedback to users to raise awareness, hence the widget displays menu usage as a reminder. If the widget is crashing but the application variant is not, then your menu configuration is too big for the widget. **Please don't give the application a poor review for crashing on your excessive menu definition!** 1. There are some cases where the file format may be valid JSON, but invalid against the schema, and the failure to catch this error could cause the application to crash. Whilst we have taken care to manage many issues, there may still be cases that are uncaught. Please verify your JSON schema, see the [trouble shooting guide](TroubleShooting.md).
<img src="images/Venu_Widget_sim.png" width="200" title="Venu 2" style="margin:5px"/> 2. On some (old) devices (e.g. Vivoactive 3, Fenix 5s & Edge 520+), the menu does not update correctly to reflect changes in state effected by an external HomeAssistant 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.
<img src="images/app_crash.png" width="200" title="Venu 2" style="margin:5px;border: 2px solid black;"/>
3. Templates can require significant definition for highly customised text. Just remember, you have the ability to crash the application by creating an excessively long menu definition. Don't be silly. 3. The iPhone Connect IQ application has a bug in it we cannot be responsible for. Thanks to user [a_smart_hoome](https://community.home-assistant.io/u/a_smart_hoome) who worked the problem with the dropped Internet connection, see his explanation at https://community.home-assistant.io/t/home-assistant-app-for-garmin/637348/61 for details. Please complain to the Connect IQ application developers rather than us!
4. Parameters to tap menu items cannot have their parameter usage verified. If you get this wrong and crash the application, that's your fault not the application's. In this case, start by removing the parameters for the menu item causing the crash, and add them back one at a time until you find your fault. **Please don't give the application a poor review for your bad parameter definition!** 4. Templates can require significant definition for highly customised text. Just remember, you have the ability to crash the application by creating an excessively long menu definition. Don't be silly.
5. Parameters to tap menu items cannot have their parameter usage verified. If you get this wrong and crash the application, that's your fault not the application's. In this case, start by removing the parameters for the menu item causing the crash, and add them back one at a time until you find your fault. **Please don't give the application a poor review for your bad parameter definition!**
6. We are unable to support Edge 540, Edge 840 and Edge 1050 devices at this time. The simulation of these devices has two unexpected errors when toggling or executing taps. We get both `Communications.NETWORK_RESPONSE_OUT_OF_MEMORY` and `Communications.BLE_QUEUE_FULL` even though the memory usage is about 6% of the available RAM. Based on a lead from user @Petucky, both devices are being re-enabled as testing on a real Edge 840 device has proven successful, however we remain unable to support either devices until the simulator is fixed.
7. We are unable to support HTTP natively (without the workaround specified earlier). This is a limitation placed upon us by the Connect IQ API which for security reasons refuses to work with HTTP requests. There is nothing developers can do about this limitation. See the [Trouble Shooting](TroubleShooting.md#do-it-yourself-setup) guide for an example setup. We would appreciate it if users did not leave poor reviews for the lack of this feature which is beyond our control to fix.
8. There is a [bug in Garmin Express so that when you use that software to amend the application's settings](https://github.com/house-of-abbey/GarminHomeAssistant/issues/194), the page appears in a random language not of your choice. I would like to thank user [heviiguy](https://github.com/heviiguy) for his work researching the issue, leading to these references that indicate the authors of Garmin HomeAssistant cannot resolve this issue as its a bug in Garmin Express that Garmin are refusing to believe exists! See these pages for details:
- [Garmin Express - Wrong Language](https://forums.garmin.com/developer/connect-iq/i/bug-reports/garmin-express---wrong-language)
- [Incorrect language displayed for custom data fields](https://forums.garmin.com/developer/connect-iq/f/discussion/388137/incorrect-language-displayed-for-custom-data-fields)
9. When using Wi-Fi or LTE to toggle a light, the `toggle` will fail when the default or current state of the application's menu does not match the state of the light. The same applies to a cover or other thing that can be toggled. This is because the application is unable to initialise the menu with the current state without Bluetooth. Hence the Wi-Fi/LTE functionality is best used with `tap` items only.
# Authors & Contributors
For an up to date list of all authors and contributors, please check the [contributor's page](https://github.com/house-of-abbey/GarminHomeAssistant/graphs/contributors). Thank you all for improving this application.

View File

@@ -1,14 +1,29 @@
[Home](README.md) | [Switches](examples/Switches.md) | [Actions](examples/Actions.md) | [Templates](examples/Templates.md) | [Battery Reporting](BatteryReporting.md) | Trouble Shooting | [Version History](HISTORY.md) [Home](README.md) | [Switches](examples/Switches.md) | [Actions](examples/Actions.md) | [Templates](examples/Templates.md) | [Glance](examples/Glance.md) | [Background Service](BackgroundService.md) | [Wi-Fi](Wi-Fi.md) | [HTTP Headers](HTTP_Headers.md) | [Trouble Shooting](TroubleShooting.md) | [Version History](HISTORY.md)
# Troubleshooting Guides # Troubleshooting Guides
## Check your JSON Schema
Before [raising an issue](https://github.com/house-of-abbey/GarminHomeAssistant/issues) about a possible bug, _please, please_ check your JSON is compliant with both the JSON format and our schema. To do this you have options. The first is what we use.
1. **Best!** Use the GarminHomeAssistant [Web-based Editor](https://house-of-abbey.github.io/GarminHomeAssistant/web/) which includes `entity` and `service` name completion and validation by fetching data from your own HomeAssistant instance. _Pretty nifty eh?_ The other methods listed below do not add this convenience and checking.
2. Use the [Studio Code Server](https://community.home-assistant.io/t/home-assistant-community-add-on-visual-studio-code/107863) addon for HomeAssistant. You can then edit your JSON file in place.
3. Locally installed VSCode, or if not installed, try
4. The on-line version at https://vscode.dev/, which works really well. 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 presented with on your device.
There are some cases where the file format may be valid JSON, but invalid against the schema, and the failure to catch this error could cause the application to crash. Whilst we have taken care to manage many issues, there may still be cases that are uncaught.
Make sure you can browse to the URL of your JSON file in a standard web browser to make sure it is accessible.
## Watch Menu and API ## 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. 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 ### 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. You can purchase cloud-based access to your HomeAssistant from [Nabu Casa](https://www.nabucasa.com/), and then your setup will look something like this.
![Nabu Casa Setup](images/nabu_casa_setup.png) ![Nabu Casa Setup](images/nabu_casa_setup.png)
@@ -52,9 +67,9 @@ This URL is very simple, you should be able to read the contents returned in a s
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 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. The menu configuration can be hosted anywhere, it does not have to be on the HomeAssistant 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 ### HomeAssistant 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: 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:
@@ -105,6 +120,32 @@ There's an online way of testing the API URL too, thanks to [REQBIN](https://req
![API Test REQBIN](images/api_test_online.png) ![API Test REQBIN](images/api_test_online.png)
#### SSL Certificate Chain
With thanks to [@ziceva](https://github.com/ziceva) for solving this problem. The symptoms are:
1. Using an API URL with SSL (HTTPS), the [web-based editor](https://house-of-abbey.github.io/GarminHomeAssistant/web/) running in a browser on the same phone running Garmin Connect works well.
2. The exact same configuration is set in the Garmin HomeAssistant application.
3. The Garmin HomeAssistant application reports:
```
API: not available
Menu: not available
```
**Solution: Make sure you use a _full chain_ certificate in your HTTPS proxy as some watches might be unable to validate the site certificate alone.**
Most web browsers and OSes probably have the latest Certificate Authorities (CAs) trusted out-of-the-box and so they do not need the full chain to verify the certificates. Garmin watches may not have the latest CAs and that is why the Troubleshooting web page does not catch this problem. E.g. It turns out some Garmin watches do not have the LetsEncrypt CA marked as trusted.
To verify if you have this issue you can use a tool like [SSL Shoppers's SSL Checker](https://www.sslshopper.com/ssl-checker.html), which will catch this issue. The following two screen captures illustrate the difference between partial and full chain certificates respectively.
##### Partial Chain Certificate
![Partial Chain Certificate](images/HTTPS_partial_chain.png)
##### Full Chain Certificate
![Full Chain Certificate](images/HTTPS_full_chain.png)
### Top Problems ### 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...) 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...)
@@ -112,7 +153,7 @@ There's an online way of testing the API URL too, thanks to [REQBIN](https://req
## Watch Battery Level Reporting ## 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. 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 HomeAssistant.
#### Battery: Linux, MacOS, UNIX, Cygwin etc #### Battery: Linux, MacOS, UNIX, Cygwin etc
@@ -269,3 +310,41 @@ JSON for copy & paste:
] ]
} }
``` ```
# Failed API Calls
![No JSON](images/NoJson.png)
When the application persists in reporting "No JSON returned from HTTP request." this might be due to a mismatch between the Webhook ID and the device settings on the HomeAssistant server. We have discovered that the Webhook ID is required for HomeAssistant API calls with templates in order to work in a non-privileged account. The application options include the ability to clear the Webhook ID in the application forcing a new one to be set up. This should prevent the above error being shown on startup.
Look for this option in the application settings:
![Nabu Casa Setup](images/delete_webhook_id.png)
# Debug Logs
As a desperate measure to assist with debugging the HomeAssistant Application, you might be asked to send the authors a debug log.
![How to find the debug log file](images/debug_log_location.png)
The figure above shows how to find the file on Windows by attaching your watch by USB cable. Inside the `CIQ_LOG.YML` file there are often multiple entries, each looking like this:
```
Error: Unexpected Type Error
Details: 'Failed invoking <symbol>'
Time: 2024-08-30T12:00:25Z
Part-Number: 006-B3703-00
Firmware-Version: '19.05'
Language-Code: eng
ConnectIQ-Version: 4.2.4
Store-Id: 61c91d28-ec5e-438d-9f83-39e9f45b199d
Store-Version: 30
Filename: DCRL0437
Appname: HomeAssistant
Stack:
- pc: 0x10003b5e
```
The only useful information we can glean from this log is the first line, `Error: Unexpected Type Error`. There is no useful mapping to a line of code unless someone can explain to us how to use the `pc` line. Being able to send us the error type does serve as a clue.
More on [debugging Monkey C applications](https://developer.garmin.com/connect-iq/core-topics/debugging/#appcrashes). The filenames and line numbers must only be present for deployment of code instrumented for debug.

43
Wi-Fi.md Normal file
View File

@@ -0,0 +1,43 @@
[Home](README.md) | [Switches](examples/Switches.md) | [Actions](examples/Actions.md) | [Templates](examples/Templates.md) | [Glance](examples/Glance.md) | [Background Service](BackgroundService.md) | [Wi-Fi](Wi-Fi.md) | [HTTP Headers](HTTP_Headers.md) | [Trouble Shooting](TroubleShooting.md) | [Version History](HISTORY.md)
# Wi-Fi & LTE
Many watches now include the ability to synchronise data over Wi-Fi or event LTE in addition to Bluetooth. This gives users of this application the expectation that they should be able to operate HomeAssistant devices from their watch without Bluetooth and hence their phone (that they left out of contact distance). The whole point of Bluetooth after all is that it is [low power](https://en.wikipedia.org/wiki/Bluetooth#Uses). Using Wi-Fi and LTE are power hungry and therefore not something that can be left on continuously in a small device. The watch function that uses Wi-Fi & LTE is the ability to 'synchronise', e.g. activity data (FIT files) and application updates. This function then has a limited period of time for which radio is active. Neither Wi-Fi nor LTE are "always on" like Bluetooth.
With version 3.0 onwards the application now includes the ability to temporarily turn on Wi-Fi or LTE in order to perform a task on the watch. To do this, the "synchronise" function of the Connect IQ SDK has been cleverly hijacked. This appears to be a highly sought after solution from several users as **it allows the watch to operate when out of range of the associated phone**.
## Limits of Use
1. An API request issued over Wi-Fi requires the watch to open up an IP connection to your Wi-Fi access point. This means setting up a secure channel with WPA and being allocated an IP address. Establishing the communication channel takes a short while. _You will see that this adds a noticeable delay to usability._
2. **The Wi-Fi/LTE functionality can only be used when the menu is already cached.** _The watch will not perform an HTTPS GET request to retrieve the JSON menu file_. Therefore, to enable the Wifi/LTE functionality in the application settings, you must enable caching first.
3. The menu item statuses will not be set correctly. Instead you will be warned about the lack of connectivity by a 'toast', i.e. message partially occupying the top of the screen temporarily. Fetching the menu item statuses, including rendered templates, requires its own API call, hence this not performed.
4. Remember that you need to be within range of your watch's configured Wi-Fi access point to utilize this functionality. If supported by your device, LTE offers a longer range, but network charges may apply.
5. On some Garmin devices, the HTTPS handshake is performed using **TLS 1.2**. If your server or proxy enforces a higher minimum (e.g., TLS 1.3), you will encounter an SSL handshake error with the message:
```
HTTP request returned error code = 0
```
This limitation only affects **Wi-Fi/LTE connections**. When connected over **Bluetooth**, the watch routes requests through the paired phone, which handles the TLS handshake and supports newer TLS versions (such as 1.3) without issue.
To fix this, lower the minimum TLS setting to allow TLS 1.2. For example, if you are using **Cloudflare Tunneling**, go to:
`SSL/TLS → Edge Certificates → Minimum TLS Version`
and set it to **at most TLS 1.2**. _Reducing below TLS 1.2 is not recommended due to security risks._
## Video
This video using will hopefully make it obvious how slow it is to use the Wi-Fi option and illustrate the cautionary notes above.
https://github.com/user-attachments/assets/269981e9-12dc-44f2-a28f-b8e844b2b2f8
### Please Note
We emphasize that the Wi-Fi/LTE functionality should be viewed as a 'last resort' method for executing tasks when your phone is not available. It is not recommended as a continuous mode of operation.
## Credits
With thanks to Vincent, [@vincentezw](https://github.com/vincentezw) for contributing this solution, and to Ali Alaei, [@aalaei](https://github.com/aalaei) for the finer details on TLS.

3
_config.yml Normal file
View File

@@ -0,0 +1,3 @@
exclude:
- examples
- source

View File

@@ -21,38 +21,36 @@ rem
rem ----------------------------------------------------------------------------------- rem -----------------------------------------------------------------------------------
rem Check this path is correct for your Java installation rem Check this path is correct for your Java installation
set JAVA_PATH=C:\Program Files (x86)\Common Files\Oracle\Java\javapath set JAVA_PATH=C:\Program Files\Java\jdk-22\bin
rem SDK_PATH should work for all users rem SDK_PATH should work for all users
set /p SDK_PATH=<"%USERPROFILE%\AppData\Roaming\Garmin\ConnectIQ\current-sdk.cfg" set /p SDK_PATH=<"%USERPROFILE%\AppData\Roaming\Garmin\ConnectIQ\current-sdk.cfg"
set SDK_PATH=%SDK_PATH:~0,-1%\bin set SDK_PATH=%SDK_PATH:~0,-1%\bin
rem Assume we can create and use this directory rem Assume we can create and use this directory
set DEST=export set DEST=bin
rem Device for simulation rem Device for simulation
rem set DEVICE=venu2 set DEVICE=venu2
set DEVICE=vivoactive3 set JUNGLE=monkey.jungle
rem Application
rem set JUNGLE=monkey.jungle
rem Or Widget
set JUNGLE=monkey-widget.jungle
rem C:\>java -jar %SDK_PATH%\monkeybrains.jar -h rem C:\>java -jar %SDK_PATH%\monkeybrains.jar -h
rem usage: monkeyc [-a <arg>] [-b <arg>] [--build-stats <arg>] [-c <arg>] [-d <arg>] rem usage: monkeyc [-a <arg>] [-b <arg>] [--build-stats <arg>] [-d <arg>]
rem [--debug-log-level <arg>] [--debug-log-output <arg>] [-e] rem [--debug-log-level <arg>] [--debug-log-output <arg>]
rem [--disable-api-has-check-removal] [--disable-v2-opcodes] [-e]
rem [--Eno-invalid-symbol] [-f <arg>] [-g] [-h] [-i <arg>] [-k] [-l <arg>] 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 [-m <arg>] [--no-gen-styles] [-o <arg>] [-O <arg>] [-p <arg>] [-r] [-t]
rem <arg>] [-t] [-u <arg>] [-v] [-w] [-x <arg>] [-y <arg>] [-z <arg>] rem [-u <arg>] [-v] [-w] [-x <arg>] [-y <arg>] [-z <arg>]
rem -a,--apidb <arg> API import file rem -a,--apidb <arg> API import file
rem -b,--apimir <arg> API MIR file rem -b,--apimir <arg> API MIR file
rem --build-stats <arg> Print build stats [0=basic] 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 -d,--device <arg> Target device
rem --debug-log-level <arg> Debug logging verbosity [0=errors, 1=basic, rem --debug-log-level <arg> Debug logging verbosity [0=errors, 1=basic,
rem 2=intermediate, 3=verbose] rem 2=intermediate, 3=verbose]
rem --debug-log-output <arg>Output log zip file rem --debug-log-output <arg> Output log zip file
rem --disable-api-has-check-removalDo not optimize out API has checks
rem --disable-v2-opcodes Do not use the v2 opcodes
rem -e,--package-app Create an application package. rem -e,--package-app Create an application package.
rem --Eno-invalid-symbol Do not error when a symbol is found to be invalid rem --Eno-invalid-symbol Do not error when a symbol is found to be
rem invalid
rem -f,--jungles <arg> Jungle files rem -f,--jungles <arg> Jungle files
rem -g,--debug Print debug output rem -g,--debug Print debug output
rem -h,--help Prints help information rem -h,--help Prints help information
@@ -64,34 +62,38 @@ rem -m,--manifest <arg> Manifest file (deprecated)
rem --no-gen-styles Do not generate Rez.Styles module rem --no-gen-styles Do not generate Rez.Styles module
rem -o,--output <arg> Output file to create rem -o,--output <arg> Output file to create
rem -O,--optimization <arg> Optimization level [0=none, 1=basic, 2=fast rem -O,--optimization <arg> Optimization level [0=none, 1=basic, 2=fast
rem optimizations, 3=slow optimizations] [p=optimize rem optimizations, 3=slow optimizations]
rem performance, z=optimize code space] rem [p=optimize performance, z=optimize code
rem space]
rem -p,--project-info <arg> projectInfo.xml file to use when compiling rem -p,--project-info <arg> projectInfo.xml file to use when compiling
rem -r,--release Strip debug information 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 -t,--unit-test Enables compilation of unit tests
rem -u,--devices <arg> devices.xml file to use when compiling (deprecated) rem -u,--devices <arg> devices.xml file to use when compiling
rem (deprecated)
rem -v,--version Prints the compiler version rem -v,--version Prints the compiler version
rem -w,--warn Show compiler warnings rem -w,--warn Show compiler warnings
rem -x,--excludes <arg> Add annotations to the exclude list (deprecated) rem -x,--excludes <arg> Add annotations to the exclude list
rem (deprecated)
rem -y,--private-key <arg> Private key to sign builds with rem -y,--private-key <arg> Private key to sign builds with
rem -z,--rez <arg> Resource files (deprecated) rem -z,--rez <arg> Resource files (deprecated)
title Compiling for %DEVICE%
rem Batch file's directory where the source code is rem Batch file's directory where the source code is
set SRC=%~dp0 set SRC=%~dp0
rem drop last character '\' rem drop last character '\'
set SRC=%SRC:~0,-1% set SRC=%SRC:~0,-1%
if not exist %DEST% ( if exist %DEST% (
md %DEST% rmdir /s /q %DEST%
) )
rem The above may not successfully delete the directory if there are locked files
if exist %SRC%\export\HomeAssistant*.iq ( if not exist %DEST% (
del /f /q %SRC%\export\HomeAssistant*.iq mkdir %DEST%
) )
echo. echo.
echo Starting compilation for simulation on %DEVICE%. echo Starting compilation for simulation on '%DEVICE%'.
echo. echo.
rem call %SDK_PATH%\connectiq.bat rem call %SDK_PATH%\connectiq.bat
@@ -104,11 +106,12 @@ rem Compile PRG for a single device for side loading
-Dapple.awt.UIElement=true ^ -Dapple.awt.UIElement=true ^
-jar %SDK_PATH%\monkeybrains.jar ^ -jar %SDK_PATH%\monkeybrains.jar ^
--output %SRC%\bin\HomeAssistant.prg ^ --output %SRC%\bin\HomeAssistant.prg ^
--jungles %SRC%\monkey-widget.jungle ^ --jungles %SRC%\%JUNGLE% ^
--private-key %SRC%\..\developer_key ^ --private-key %SRC%\..\developer_key ^
--device %DEVICE%_sim ^ --device %DEVICE%_sim ^
--warn ^ --warn
--release
rem --release
if %ERRORLEVEL% equ 0 ( if %ERRORLEVEL% equ 0 (
%SDK_PATH%\monkeydo.bat %SRC%\bin\HomeAssistant.prg %DEVICE% %SDK_PATH%\monkeydo.bat %SRC%\bin\HomeAssistant.prg %DEVICE%

View File

@@ -2,20 +2,22 @@
"$schema": "https://json-schema.org/draft/2020-12/schema", "$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object", "type": "object",
"properties": { "properties": {
"$schema": {
"type": "string",
"description": "The schema will prevent JSON file errors."
},
"title": { "title": {
"type": "string" "type": "string",
"description": "Top level menu title"
},
"glance": {
"$ref": "#/$defs/glance"
}, },
"items": { "items": {
"$ref": "#/$defs/items" "$ref": "#/$defs/items"
},
"$schema": {
"type": "string"
} }
}, },
"required": [ "required": ["title", "items"],
"title",
"items"
],
"additionalProperties": false, "additionalProperties": false,
"$defs": { "$defs": {
"toggle": { "toggle": {
@@ -25,59 +27,120 @@
"$ref": "#/$defs/entity" "$ref": "#/$defs/entity"
}, },
"name": { "name": {
"title": "Your familiar name", "$ref": "#/$defs/name"
"type": "string"
}, },
"type": { "type": {
"title": "Menu item type", "$ref": "#/$defs/type",
"description": "One of 'tap', 'template', 'toggle' or 'group'.",
"const": "toggle" "const": "toggle"
}, },
"content": {
"$ref": "#/$defs/content"
},
"tap_action": { "tap_action": {
"type": "object", "type": "object",
"properties": { "properties": {
"confirm": { "confirm": {
"$ref": "#/$defs/confirm" "$ref": "#/$defs/confirm"
},
"pin": {
"$ref": "#/$defs/pin"
} }
}, },
"additionalProperties": false "additionalProperties": false
},
"enabled": {
"$ref": "#/$defs/enabled"
},
"exit": {
"$ref": "#/$defs/exit"
} }
}, },
"required": [ "required": ["entity", "name", "type"],
"entity",
"name",
"type"
],
"additionalProperties": false "additionalProperties": false
}, },
"template": { "template": {
"oneOf": [
{
"type": "object",
"properties": {
"entity": {
"$ref": "#/$defs/entity",
"deprecated": true,
"title": "Schema change:",
"description": "Use 'tap_action' instead to mirror Home Assistant."
},
"name": {
"$ref": "#/$defs/name"
},
"content": {
"$ref": "#/$defs/content"
},
"type": {
"$ref": "#/$defs/type",
"const": "template",
"deprecated": true,
"title": "Schema change:",
"description": "Use 'info' or 'tap' instead."
},
"enabled": {
"$ref": "#/$defs/enabled"
}
},
"required": ["name", "content", "type"],
"additionalProperties": false
},
{
"type": "object", "type": "object",
"properties": { "properties": {
"entity": { "entity": {
"$ref": "#/$defs/entity" "$ref": "#/$defs/entity"
}, },
"name": { "name": {
"title": "Your familiar name", "$ref": "#/$defs/name"
"type": "string"
}, },
"content": { "content": {
"title": "What to display (template)", "$ref": "#/$defs/content"
"type": "string"
}, },
"type": { "type": {
"title": "Menu item type", "$ref": "#/$defs/type",
"description": "One of 'tap', 'template', 'toggle' or 'group'.", "const": "template",
"const": "template" "deprecated": true,
"title": "Schema change:",
"description": "Use 'info' or 'tap' instead."
}, },
"tap_action": { "tap_action": {
"$ref": "#/$defs/tap_action" "$ref": "#/$defs/tap_action"
},
"enabled": {
"$ref": "#/$defs/enabled"
},
"exit": {
"$ref": "#/$defs/exit"
} }
}, },
"required": [ "required": ["name", "content", "type", "tap_action"],
"name", "additionalProperties": false
"content", }
"type" ]
], },
"info": {
"type": "object",
"properties": {
"name": {
"$ref": "#/$defs/name"
},
"content": {
"$ref": "#/$defs/content"
},
"type": {
"$ref": "#/$defs/type",
"const": "info"
},
"enabled": {
"$ref": "#/$defs/enabled"
}
},
"required": ["name", "content", "type"],
"additionalProperties": false "additionalProperties": false
}, },
"tap": { "tap": {
@@ -87,14 +150,15 @@
"$ref": "#/$defs/entity" "$ref": "#/$defs/entity"
}, },
"name": { "name": {
"title": "Your familiar name", "$ref": "#/$defs/name"
"type": "string"
}, },
"type": { "type": {
"title": "Menu item type", "$ref": "#/$defs/type",
"description": "One of 'tap', 'template', 'toggle' or 'group'.",
"const": "tap" "const": "tap"
}, },
"content": {
"$ref": "#/$defs/content"
},
"service": { "service": {
"$ref": "#/$defs/entity", "$ref": "#/$defs/entity",
"deprecated": true, "deprecated": true,
@@ -103,24 +167,15 @@
}, },
"tap_action": { "tap_action": {
"$ref": "#/$defs/tap_action" "$ref": "#/$defs/tap_action"
},
"enabled": {
"$ref": "#/$defs/enabled"
},
"exit": {
"$ref": "#/$defs/exit"
} }
}, },
"oneOf": [ "required": ["name", "type"],
{
"required": [
"name",
"type",
"service"
]
},
{
"required": [
"name",
"type",
"tap_action"
]
}
],
"additionalProperties": false "additionalProperties": false
}, },
"group": { "group": {
@@ -129,7 +184,6 @@
"entity": { "entity": {
"$ref": "#/$defs/entity", "$ref": "#/$defs/entity",
"type": "string", "type": "string",
"pattern": "^[^.]+\\.[^.]+$",
"deprecated": true, "deprecated": true,
"title": "Schema change:", "title": "Schema change:",
"description": "'entity' is no longer necessary and should now be removed." "description": "'entity' is no longer necessary and should now be removed."
@@ -143,22 +197,26 @@
"type": "string" "type": "string"
}, },
"type": { "type": {
"title": "Menu item type", "$ref": "#/$defs/type",
"description": "One of 'tap', 'template', 'toggle' or 'group'.",
"const": "group" "const": "group"
}, },
"content": {
"$ref": "#/$defs/content"
},
"items": { "items": {
"$ref": "#/$defs/items" "$ref": "#/$defs/items"
},
"enabled": {
"$ref": "#/$defs/enabled"
} }
}, },
"required": [ "required": ["name", "title", "type", "items"],
"name",
"title",
"type",
"items"
],
"additionalProperties": false "additionalProperties": false
}, },
"type": {
"title": "Menu item type",
"description": "One of 'info', 'tap', 'toggle' or 'group'."
},
"items": { "items": {
"type": "array", "type": "array",
"items": { "items": {
@@ -172,12 +230,19 @@
{ {
"$ref": "#/$defs/tap" "$ref": "#/$defs/tap"
}, },
{
"$ref": "#/$defs/info"
},
{ {
"$ref": "#/$defs/group" "$ref": "#/$defs/group"
} }
] ]
} }
}, },
"name": {
"title": "Your familiar name to display in the menu item",
"type": "string"
},
"entity": { "entity": {
"type": "string", "type": "string",
"title": "Home Assistant entity name", "title": "Home Assistant entity name",
@@ -199,21 +264,74 @@
"confirm": { "confirm": {
"$ref": "#/$defs/confirm" "$ref": "#/$defs/confirm"
}, },
"pin": {
"$ref": "#/$defs/pin"
},
"data": { "data": {
"type": "object", "type": "object",
"title": "Your services's parameters", "title": "Your services's parameters",
"description": "The object containing the parameters and their values to be passed to the entity. No schema checking can be done here, you are on your own! On application crash, remove the parameters." "description": "The object containing the parameters and their values to be passed to the entity. No schema checking can be done here, you are on your own! On application crash, remove the parameters."
} }
}, },
"required": [ "required": ["service"]
"service" },
] "content": {
"title": "Home Assistant Template",
"description": "Jinja2 template defining the text to display. Must be included in an 'info'. Optional in a 'toggle', 'tap' and 'group'. Special characters may not render in the glance context.",
"type": "string"
}, },
"confirm": { "confirm": {
"type": "boolean", "type": "boolean",
"default": false, "default": false,
"title": "Confirmation", "title": "Confirmation",
"description": "Optional confirmation of the action before execution as a precaution." "description": "Optional confirmation of the action before execution as a precaution."
},
"pin": {
"type": "boolean",
"default": false,
"title": "PIN Confirmation",
"description": "Optional PIN confirmation of the action before execution as a precaution. Has precedence over 'confirm': true if both are set."
},
"glance": {
"type": "object",
"title": "Glance customisation",
"oneOf": [
{
"properties": {
"type": {
"title": "Glance type",
"description": "One of 'info' or 'status'. 'info' renders the template specified in the 'content' field inside the glance view. 'status' reverts to the default glance view and ignores the 'content' field. This allows for disabling the template temporarily.",
"const": "info"
},
"content": {
"$ref": "#/$defs/content"
}
},
"required": ["type", "content"]
},
{
"properties": {
"type": {
"title": "Glance type",
"description": "One of 'info' or 'status'.",
"const": "status"
}
},
"required": ["type"]
}
]
},
"enabled": {
"type": "boolean",
"default": true,
"title": "Enable the menu item",
"description": "Typically used to temporarily disable a menu item, e.g. for seasonal variations. Enabled (true) by default."
},
"exit": {
"type": "boolean",
"default": false,
"title": "Exit on selection",
"description": "Choose to exit the application after this item has been selected. Disabled (false) by default. N.B. Only actionable menu items can have this field added."
} }
} }
} }

View File

@@ -1,8 +1,9 @@
[Home](../README.md) | [Switches](Switches.md) | Actions | [Templates](Templates.md) | [Battery Reporting](../BatteryReporting.md) | [Trouble Shooting](../TroubleShooting.md) | [Version History](../HISTORY.md) [Home](../README.md) | [Switches](Switches.md) | [Actions](Actions.md) | [Templates](Templates.md) | [Glance](Glance.md) | [Background Service](../BackgroundService.md) | [Wi-Fi](../Wi-Fi.md) | [HTTP Headers](../HTTP_Headers.md) | [Trouble Shooting](../TroubleShooting.md) | [Version History](../HISTORY.md)
# Actions # Actions
A simple example using a scene as a `tap`` menu item. A simple example using a scene as a `tap` menu item.
```json ```json
{ {
@@ -38,6 +39,22 @@ For example:
} }
``` ```
**The authors do not advise the use of this application for security sensitive devices. But we suspect users are taking that risk anyway, hence a PIN confirmation is provided that can be used for additional menu item security.**
This can be enabled by setting the `pin` field in the `tap_action`. The `pin` field overrides `confirm`. Explicitly setting `confirm` is not necessary.
The 4-digit PIN is set globally for all actions in the app settings in Connect IQ.
```json
"tap_action": {
"pin": true
}
```
When entering an invalid PIN for the fifth time within 2 minutes, the PIN dialog will be locked for all actions for the next 10 minutes. Entering a valid PIN will always reset the failure counter.
<img src="../images/pin_view.png" width="200" title="Confirmation View"/>
Note that for notify events, you _must_ not supply an `entity_id` or the API call will fail. There are other examples too. Note that for notify events, you _must_ not supply an `entity_id` or the API call will fail. There are other examples too.
```json ```json
@@ -54,3 +71,40 @@ Note that for notify events, you _must_ not supply an `entity_id` or the API cal
} }
} }
``` ```
> [!IMPORTANT]
> Be careful with the value of the `service` field.
Note that the `service` field will need to be a locally custom `script.<something>` as soon as any `data` fields are populated and not something more generic like `script.turn_on`. If the `service` field is wrong, the application will fail with a [`Communications.INVALID_HTTP_BODY_IN_NETWORK_RESPONSE`](https://developer.garmin.com/connect-iq/api-docs/Toybox/Communications.html) error in the response from your HomeAssistant and show the error message as _"No JSON returned from HTTP request"_ on your device. In the [web-based editor](https://house-of-abbey.github.io/GarminHomeAssistant/web/) you can use the standard developer tools to observe an `HTTP 400` error which the application does not see. Here we are limited by the [Garmin Connect IQ](https://developer.garmin.com/connect-iq/overview/) software development kit (SDK). We do not have enough information at the point of execution in the application to determine the cause of the error. Nor is there an immediately obvious way of identifying this issue using the JSON schema checks.
## Exit on Tap
You can choose individual items that will quit after they have completed their action.
```json
{
"entity": "automation.turn_off_stuff",
"name": "Turn off Stuff",
"type": "tap",
"tap_action": {
"service": "automation.trigger"
},
"exit": true
}
```
## Disable Menu Item
If you would like to temporarily disable an item in your menu, e.g. for seasonal reasons like not needing to turn on the heating in summer, then rather than swapping menu definition files or deleting a section of the menu you can mark the item as 'disabled'. This field applies to all menu items.
```json
{
"entity": "automation.turn_off_stuff",
"name": "Turn off Stuff",
"type": "tap",
"tap_action": {
"service": "automation.trigger"
},
"enabled": false
}
```

80
examples/Glance.md Normal file
View File

@@ -0,0 +1,80 @@
[Home](../README.md) | [Switches](Switches.md) | [Actions](Actions.md) | [Templates](Templates.md) | [Glance](Glance.md) | [Background Service](../BackgroundService.md) | [Wi-Fi](../Wi-Fi.md) | [HTTP Headers](../HTTP_Headers.md) | [Trouble Shooting](../TroubleShooting.md) | [Version History](../HISTORY.md)
# Glance
Since [version 2.30](../History.md), it is possible to ovverride the text displayed on the Glance view. This page explains how to customise the text.
## Default View
The default view has always been to display the status of the menu and API availability to indicate if there's a problem. This view has now been updated to be more colourful.
<img src="../images/Venu2_glance_default.png" width="200" title="Venu 2 Default Glance"/>
When either the API or the menu file is inaccessible, the fields will turn red.
## Customised View
In order to customise the Glance view you need to add a `glance` field to the top level of the JSON menu file as illustrated here:
```json
{
"$schema": "https://raw.githubusercontent.com/house-of-abbey/GarminHomeAssistant/main/config.schema.json",
"title": "Home",
"glance": {
"type": "info",
"content": "Text: {% .. %}"
},
"items": [...]
}
```
For example:
<img src="../images/Venu2_glance_custom.png" width="200" title="Venu 2 Customised Glance"/>
```json
{
"$schema": "https://raw.githubusercontent.com/house-of-abbey/GarminHomeAssistant/main/config.schema.json",
"glance": {
"type": "info",
"content": "Solar Battery: {{ states('sensor.battery_capacity_charge') }}%"
},
:
}
```
You may make this as complicated as you like! But you have limited space and only ASCII text characters. **It is best to turn on menu caching in order to speed up the display of the template**. The display is then nearly instantaneous.
The default view will persist showing until the errors are resolved. In order to extract the custom glance template both the menu and the API are required. So it is logical that the two tests must pass first. The exception here is if the menu is cached, in which case only the API needs to pass.
> [!IMPORTANT]
> Sadly what you cannot do is use special characters like: 🌞🔋⛅🪫. Whilst these do display in menu items, they do not seem to work on the Glance view. We really like them, so have tried but failed. Only ASCII text appears to be supported by the Garmin Connect IQ SDK's Glance View. This is not something we have any control over, please do not request this to be "fixed".
It is possible to revert to the default glance content without deleting the template by changing the `type` to `status`.
```json
{
"$schema": "https://raw.githubusercontent.com/house-of-abbey/GarminHomeAssistant/main/config.schema.json",
"title": "Home",
"glance": {
"type": "status",
"content": "Text: {% .. %}"
},
"items": [...]
}
```
So the glance view object has a `type` field with two possible values: `info` and `status`. When the type is `status` the `content` field is not required.
## Displayed Errors
The following shows the default glance when the menu file is not available at the specified URL.
<img src="../images/Venu2_glance_no_menu.png" width="200" title="Venu 2 Glance showing errors"/>
Once the custom glance template has been retrieved and evaluated the display will change. Should the connectivity to your Home Assistant then be lost, e.g. you move out of range of your phone, the glance reflects this in the colour of the residual two rectangles. The top one remains an indicator for the API, and the bottom rectangle remains an indicator for the menu availability, reflecting the original placement in the default glance view that has now been replaced.
<img src="../images/Venu2_glance_no_bt.png" width="200" title="Venu 2 Glance showing lost connectivity"/>

View File

@@ -1,4 +1,4 @@
[Home](../README.md) | Switches | [Actions](Actions.md) | [Templates](Templates.md) | [Battery Reporting](../BatteryReporting.md) | [Trouble Shooting](../TroubleShooting.md) | [Version History](../HISTORY.md) [Home](../README.md) | [Switches](Switches.md) | [Actions](Actions.md) | [Templates](Templates.md) | [Glance](Glance.md) | [Background Service](../BackgroundService.md) | [Wi-Fi](../Wi-Fi.md) | [HTTP Headers](../HTTP_Headers.md) | [Trouble Shooting](../TroubleShooting.md) | [Version History](../HISTORY.md)
# Switches # Switches
@@ -12,6 +12,32 @@ This is the simplest form:
}, },
``` ```
And with an optional confirmation:
```json
{
"entity": "light.exterior",
"name": "Exterior Lights",
"type": "toggle",
"tap_action": {
"confirm": true
}
}
```
or an optional PIN confirmation:
```json
{
"entity": "light.exterior",
"name": "Exterior Lights",
"type": "toggle",
"tap_action": {
"pin": true
}
}
```
To support a non-standard light, switch, or automation as a toggle menu item you may like to define a custom switch. In order to facilitate custom switches at this time, you must create a template switch in HomeAssistant. To support a non-standard light, switch, or automation as a toggle menu item you may like to define a custom switch. In order to facilitate custom switches at this time, you must create a template switch in HomeAssistant.
```yaml ```yaml
@@ -43,6 +69,17 @@ Then you can use the following in your config:
} }
``` ```
And you can optionally include a template to reflect some status. See [Templates](Templates.md) for details on hwo to use this JSON field.
```json
{
"entity": "switch.<switch-name>",
"name": "<name>",
"type": "toggle",
"content": "..."
}
```
## Example - Covers ## Example - Covers
```yaml ```yaml
@@ -71,3 +108,29 @@ Then you can use the following in your config:
"type": "toggle" "type": "toggle"
} }
``` ```
## Exit On Toggle
You can choose individual items that will quit after they have completed their action.
```json
{
"entity": "light.hall_light",
"name": "Hall Light & Quit",
"type": "toggle",
"exit": true
}
```
## Disable Menu Item
If you would like to temporarily disable an item in your menu, e.g. for seasonal reasons like not needing to turn on Christmas tree lights outside the festive season, then rather than swapping menu definition files or deleting a section of the menu you can mark the item as 'disabled'. This field applies to all menu items.
```json
{
"entity": "light.chrissmas_tree",
"name": "Christmas Lights",
"type": "toggle",
"enabled": false
}
```

View File

@@ -1,11 +1,17 @@
[Home](../README.md) | [Switches](Switches.md) | [Actions](Actions.md) | Templates | [Battery Reporting](../BatteryReporting.md) | [Trouble Shooting](../TroubleShooting.md) | [Version History](../HISTORY.md) [Home](../README.md) | [Switches](Switches.md) | [Actions](Actions.md) | [Templates](Templates.md) | [Glance](Glance.md) | [Background Service](../BackgroundService.md) | [Wi-Fi](../Wi-Fi.md) | [HTTP Headers](../HTTP_Headers.md) | [Trouble Shooting](../TroubleShooting.md) | [Version History](../HISTORY.md)
# Templates # Templates
In order to provide the most functionality possible the content of the menu item comes from a user-defined template (i.e. you generate your own text). This allows you to do some pretty cool things. It also makes the config a bit more complicated. This page will help you understand how to use templates. In order to provide the most functionality possible the content of the menu item comes from a user-defined template (i.e. you generate your own text). This allows you to do some pretty cool things. It also makes the configuration a bit more complicated. This page will help you understand how to use templates.
- In this file anything between `<` and `>` is a placeholder. Replace it with the appropriate value. - In this file anything between `<` and `>` is a placeholder. Replace it with the appropriate value.
- Anything between `{{` and `}}` is a template. Templates are used to dynamically insert values into the content. For more info see [the docs](https://www.home-assistant.io/docs/configuration/templating/). - [Jinja2](https://palletsprojects.com/p/jinja/) syntax is used by HomeAssistant [Templates](https://www.home-assistant.io/docs/configuration/templating/). Templates are used to dynamically insert values into the content. The syntax includes:
- `{%` ... `%}` for Statements
- `{{` ... `}}` for Expressions to print to the template output
- `{#` ... `#}` for Comments not included in the template output
> [!IMPORTANT]
> In order to avoid "Template Error" being displayed as the return value, make sure your Jinja2 template returns a `string`, not a number of some variety. _All numbers must be formatted to strings_ so the application does not need to distinguish an `integer` from a `float`.
## States ## States
@@ -13,9 +19,8 @@ In this example we get the battery level of the device and add the percent sign.
```json ```json
{ {
"entity": "sensor.<device>_battery_level",
"name": "Phone", "name": "Phone",
"type": "template", "type": "info",
"content": "{{ states('sensor.<device>_battery_level') }}%" "content": "{{ states('sensor.<device>_battery_level') }}%"
} }
``` ```
@@ -26,25 +31,49 @@ The first two keep to the simple proposal above. The last combines them into a s
```json ```json
{ {
"entity": "sensor.hallway_temperature",
"name": "Hall Temp", "name": "Hall Temp",
"type": "template", "type": "info",
"content": "{{ states('sensor.hallway_temperature') }}°C" "content": "{{ states('sensor.hallway_temperature') }}°C"
}, },
{ {
"entity": "sensor.hallway_humidity",
"name": "Hall Humidity", "name": "Hall Humidity",
"type": "template", "type": "info",
"content": "{{ states('sensor.hallway_humidity') }}%" "content": "{{ states('sensor.hallway_humidity') }}%"
}, },
{ {
"entity": "sensor.hallway_temperature",
"name": "Hallway", "name": "Hallway",
"type": "template", "type": "info",
"content": "{{ states('sensor.hallway_temperature') }}°C {{ states('sensor.hallway_humidity') }}%" "content": "{{ states('sensor.hallway_temperature') }}°C {{ states('sensor.hallway_humidity') }}%"
} }
``` ```
In order to keep the formatting of floating point numbers under control, you might also like to include a format string as follows. `states()` seems to return a `string` that needs converting to a `float` before the `format()` call can manage the conversion to the required number fo decimal places.
```json
{
"name": "Hallway",
"type": "info",
"content": "T:{{ '%.1f' | format(states('sensor.hallway_temperature') | float) }}°C, H:{{ '%.1f' | format(states('sensor.hallway_humidity') | float) }}%"
},
```
Where your device supports unicode characters these example may work.
```json
{
"name": "Charge",
"type": "info",
"content": "☎ {{ states('sensor.my_phone_battery_level') }}%{% if is_state('binary_sensor.my_phone_is_charging', 'on') %}⚡{% endif %}, ⏳ {{ '%.0f'|format(states('sensor.my_watch_battery_level') | float) }}%{% if is_state('binary_binary_sensor.my_watch_battery_is_charging', 'on') %}⚡{% endif %}"
},
{
"name": "Hallway",
"type": "info",
"content": "🌡{% if is_state('sensor.hallway_temperature', 'unavailable') %}-{% else %}{{ '%.1f'|format(states('sensor.hallway_temperature')|float) }}°C{% if is_state_attr('climate.hallway', 'hvac_action', 'heating') or is_state_attr('climate.hallway', 'hvac_action', 'preheating') -%}🔥{%- endif %}{% endif %}, 💧{% if is_state('sensor.hallway_humidity', 'unavailable') %}-{% else %}{{ '%.1f'|format(states('sensor.hallway_humidity')|float) }}%{% endif %}"
}
```
![Unicode Characters in a Template](../images/Unicode_Template.png)
## Conditionals ## Conditionals
Anything between `{%` and `%}` is a directive (`if`, `else`, `elif`, `endif`, etc.). Conditionals are used to dynamically change the content based on the state of the entity. Anything between `{%` and `%}` is a directive (`if`, `else`, `elif`, `endif`, etc.). Conditionals are used to dynamically change the content based on the state of the entity.
@@ -53,9 +82,8 @@ In this example we get the battery level of the device and add the percent sign.
```json ```json
{ {
"entity": "sensor.<device>_battery_level",
"name": "Phone", "name": "Phone",
"type": "template", "type": "info",
"content": "{{ states('sensor.<device>_battery_level') }}%{% if is_state('binary_sensor.<device>_is_charging', 'on') %}+{% endif %}" "content": "{{ states('sensor.<device>_battery_level') }}%{% if is_state('binary_sensor.<device>_is_charging', 'on') %}+{% endif %}"
} }
``` ```
@@ -64,13 +92,50 @@ Here we also use the else clause as well to give proper text instead of just `on
```json ```json
{ {
"entity": "binary_sensor.garage_doors",
"name": "Garage Doors", "name": "Garage Doors",
"type": "template", "type": "info",
"content": "{% if is_state('binary_sensor.<door-0>', 'on') %}Open{% else %}Closed{% endif %} {% if is_state('binary_sensor.<door-1>', 'on') %}Open{% else %}Closed{% endif %}" "content": "{% if is_state('binary_sensor.<door-0>', 'on') %}Open{% else %}Closed{% endif %} {% if is_state('binary_sensor.<door-1>', 'on') %}Open{% else %}Closed{% endif %}"
} }
``` ```
> [!IMPORTANT]
> We advise users against adding security devices.
However, for users doing this **against our advice**, we strongly recommend to secure confirmation of the action using our PIN confirmation dialog.
This an example of toggling a garage door open and closed with a PIN confirmation. *Do this at your own risk*.
The PIN confirmation is activated for actions with `"pin": true`. The PIN is configured globally in the application settings. The PIN needs to be a 4-digit number.
The user has 5 attempts to provide a valid PIN within 2 minutes. If too many failures have been detected during this time, the PIN dialog will be locked for 10 minutes.
Note: Only when you use the `tap_action` field do you also need to include the `entity` field. This is a change to a previous version of the application, hence the presence of the `entity` field will be ignored for backwards compatibility, and the schema will provide a warning only.
```json
{
"entity": "cover.garage_door",
"name": "Garage Door",
"type": "tap",
"content": "{% if is_state('binary_sensor.garage_connected', 'on') %}{{state_translated('cover.garage_door')}} - {{state_attr('cover.garage_door', 'current_position')}}%{%else%}Unconnected{% endif %}",
"tap_action": {
"service": "cover.toggle",
"pin": true
}
}
```
## Group and Toggle Menu Items
Both `group` and `toggle` menu items accept an optional `content` field as of v2.19. This allows the use of templates to present status information.
```json
{
"name": "Each Lounge Light",
"title": "Lounge",
"type": "group",
"content": "{{'On: %d, Off: %d'|format(expand(state_attr('light.living_room_lights', 'entity_id'))|selectattr('state','eq','on')|map(attribute='entity_id')|list|count, expand(state_attr('light.living_room_lights', 'entity_id'))|selectattr('state','eq','off')|map(attribute='entity_id')|list|count)}}",
"items": [..]
}
```
## Advanced ## Advanced
Here we generate a bar graph of the battery level. We use the following steps to do this: Here we generate a bar graph of the battery level. We use the following steps to do this:
@@ -84,9 +149,8 @@ Here we generate a bar graph of the battery level. We use the following steps to
```json ```json
{ {
"entity": "sensor.<device>_battery_level",
"name": "Phone", "name": "Phone",
"type": "template", "type": "info",
"content": "{{ states('sensor.<device>_battery_level') }}%{% if is_state('binary_sensor.<device>_is_charging', 'on') %}+{% endif %} {{ '#' * (((states('sensor.<device>_battery_level') | int) / 100 * <width>) | int) }}{{ '_' * (<width> - (((states('sensor.<device>_battery_level') | int) / 100 * <width>) | int)) }}" "content": "{{ states('sensor.<device>_battery_level') }}%{% if is_state('binary_sensor.<device>_is_charging', 'on') %}+{% endif %} {{ '#' * (((states('sensor.<device>_battery_level') | int) / 100 * <width>) | int) }}{{ '_' * (<width> - (((states('sensor.<device>_battery_level') | int) / 100 * <width>) | int)) }}"
} }
``` ```
@@ -95,20 +159,19 @@ An example of a dimmer light with 4 brightness settings 0..3. Here our light wor
```json ```json
{ {
"$schema": "./schema.json", "$schema": "https://raw.githubusercontent.com/house-of-abbey/GarminHomeAssistant/main/config.schema.json",
"title": "Home", "title": "Home",
"items": [ "items": [
{ {
"entity": "light.green_house",
"name": "LEDs", "name": "LEDs",
"type": "template", "type": "info",
"content": "{% if not (is_state('light.green_house', 'off') or is_state('light.green_house', 'unavailable')) %}{{ ((state_attr('light.green_house', 'brightness') | float) / 255 * 100) | int }}%{% else %}Off{% endif %}" "content": "{% if not (is_state('light.green_house', 'off') or is_state('light.green_house', 'unavailable')) %}{{ (((state_attr('light.green_house', 'brightness') | float) / 255 * 100) | round(0)) | int }}%{% else %}Off{% endif %}"
}, },
{ {
"entity": "light.green_house", "entity": "light.green_house",
"name": "LEDs 0", "name": "LEDs 0",
"type": "template", "type": "tap",
"content": "{% if not (is_state('light.green_house', 'off') or is_state('light.green_house', 'unavailable')) %}{{ ((state_attr('light.green_house', 'brightness') | float) / 255 * 100) | int }}%{% else %}Off{% endif %}", "content": "{% if not (is_state('light.green_house', 'off') or is_state('light.green_house', 'unavailable')) %}{{ (((state_attr('light.green_house', 'brightness') | float) / 255 * 100) | round(0)) | int }}%{% else %}Off{% endif %}",
"tap_action": { "tap_action": {
"service": "light.turn_on", "service": "light.turn_on",
"data": { "data": {
@@ -130,8 +193,8 @@ An example of a dimmer light with 4 brightness settings 0..3. Here our light wor
{ {
"entity": "light.green_house", "entity": "light.green_house",
"name": "LEDs 2", "name": "LEDs 2",
"type": "template", "type": "tap",
"content": "{% if not (is_state('light.green_house', 'off') or is_state('light.green_house', 'unavailable')) %}{{ ((state_attr('light.green_house', 'brightness') | float) / 255 * 100) | int }}%{% else %}Off{% endif %}", "content": "{% if not (is_state('light.green_house', 'off') or is_state('light.green_house', 'unavailable')) %}{{ (((state_attr('light.green_house', 'brightness') | float) / 255 * 100) | round(0)) | int }}%{% else %}Off{% endif %}",
"tap_action": { "tap_action": {
"service": "light.turn_on", "service": "light.turn_on",
"data": { "data": {
@@ -142,8 +205,8 @@ An example of a dimmer light with 4 brightness settings 0..3. Here our light wor
{ {
"entity": "light.green_house", "entity": "light.green_house",
"name": "LEDs 3", "name": "LEDs 3",
"type": "template", "type": "tap",
"content": "{% if not (is_state('light.green_house', 'off') or is_state('light.green_house', 'unavailable')) %}{{ ((state_attr('light.green_house', 'brightness') | float) / 255 * 100) | int }}%{% else %}Off{% endif %}", "content": "{% if not (is_state('light.green_house', 'off') or is_state('light.green_house', 'unavailable')) %}{{ (((state_attr('light.green_house', 'brightness') | float) / 255 * 100) | round(0))| int }}%{% else %}Off{% endif %}",
"tap_action": { "tap_action": {
"service": "light.turn_on", "service": "light.turn_on",
"data": { "data": {
@@ -155,9 +218,19 @@ An example of a dimmer light with 4 brightness settings 0..3. Here our light wor
} }
``` ```
## Disable Menu Item
If you would like to temporarily disable an item in your menu, then rather than swapping menu definition files or deleting a section of the menu you can mark the item as 'disabled'. This field applies to all menu items.
```json
{
"name": "Phone",
"type": "info",
"content": "{{ ... }}",
"enabled": false
}
```
## Warnings ## Warnings
Just remember, **you have the ability to crash the application by creating an excessive menu definition**. Older devices running as a widget can be limited in memory such that the JSON definition causes an "Out of Memory" error. Widgets have less memory than applications. Templates can require significant definition for highly customised text. Don't be silly. With the new template based sensor display, widgets are more likely to run out of memory. E.g. a Vivoactive 3 device has a memory limit of 60 kB runtime memory for widgets (compared with 124 kB for applications) and is likely to be ~90% used. This makes it very likely that a larger menu will crash the application. We cannot predict what will take the application "over the edge", but we can provide this feedback to users to raise awareness, hence the widget displays menu usage as a reminder. If the widget is crashing but the application variant is not, then your menu configuration is too big for the widget. Just remember, on older smaller memory devices **you have the ability to crash the application by creating an excessive menu definition**. Templates can require significant definition for highly customised text. Don't be silly.
<img src="../images/Venu_Widget_sim.png" width="200" title="Venu 2" style="margin:5px"/>
<img src="../images/app_crash.png" width="200" title="Venu 2" style="margin:5px;border: 2px solid black;"/>

View File

@@ -21,29 +21,32 @@ rem
rem ----------------------------------------------------------------------------------- rem -----------------------------------------------------------------------------------
rem Check this path is correct for your Java installation rem Check this path is correct for your Java installation
set JAVA_PATH=C:\Program Files (x86)\Common Files\Oracle\Java\javapath set JAVA_PATH=C:\Program Files\Java\jdk-22\bin
rem SDK_PATH should work for all users rem SDK_PATH should work for all users
set /p SDK_PATH=<"%USERPROFILE%\AppData\Roaming\Garmin\ConnectIQ\current-sdk.cfg" set /p SDK_PATH=<"%USERPROFILE%\AppData\Roaming\Garmin\ConnectIQ\current-sdk.cfg"
set SDK_PATH=%SDK_PATH:~0,-1%\bin set SDK_PATH=%SDK_PATH:~0,-1%\bin
rem Assume we can create and use this directory rem Assume we can create and use this directory
set DEST=export set DEST=export
set IQ=HomeAssistant-app.iq
rem C:\>java -jar %SDK_PATH%\monkeybrains.jar -h rem usage: monkeyc [-a <arg>] [-b <arg>] [--build-stats <arg>] [-d <arg>]
rem usage: monkeyc [-a <arg>] [-b <arg>] [--build-stats <arg>] [-c <arg>] [-d <arg>] rem [--debug-log-level <arg>] [--debug-log-output <arg>]
rem [--debug-log-level <arg>] [--debug-log-output <arg>] [-e] rem [--disable-api-has-check-removal] [--disable-v2-opcodes] [-e]
rem [--Eno-invalid-symbol] [-f <arg>] [-g] [-h] [-i <arg>] [-k] [-l <arg>] 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 [-m <arg>] [--no-gen-styles] [-o <arg>] [-O <arg>] [-p <arg>] [-r] [-t]
rem <arg>] [-t] [-u <arg>] [-v] [-w] [-x <arg>] [-y <arg>] [-z <arg>] rem [-u <arg>] [-v] [-w] [-x <arg>] [-y <arg>] [-z <arg>]
rem -a,--apidb <arg> API import file rem -a,--apidb <arg> API import file
rem -b,--apimir <arg> API MIR file rem -b,--apimir <arg> API MIR file
rem --build-stats <arg> Print build stats [0=basic] 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 -d,--device <arg> Target device
rem --debug-log-level <arg> Debug logging verbosity [0=errors, 1=basic, rem --debug-log-level <arg> Debug logging verbosity [0=errors, 1=basic,
rem 2=intermediate, 3=verbose] rem 2=intermediate, 3=verbose]
rem --debug-log-output <arg>Output log zip file rem --debug-log-output <arg> Output log zip file
rem --disable-api-has-check-removalDo not optimize out API has checks
rem --disable-v2-opcodes Do not use the v2 opcodes
rem -e,--package-app Create an application package. rem -e,--package-app Create an application package.
rem --Eno-invalid-symbol Do not error when a symbol is found to be invalid rem --Eno-invalid-symbol Do not error when a symbol is found to be
rem invalid
rem -f,--jungles <arg> Jungle files rem -f,--jungles <arg> Jungle files
rem -g,--debug Print debug output rem -g,--debug Print debug output
rem -h,--help Prints help information rem -h,--help Prints help information
@@ -55,34 +58,41 @@ rem -m,--manifest <arg> Manifest file (deprecated)
rem --no-gen-styles Do not generate Rez.Styles module rem --no-gen-styles Do not generate Rez.Styles module
rem -o,--output <arg> Output file to create rem -o,--output <arg> Output file to create
rem -O,--optimization <arg> Optimization level [0=none, 1=basic, 2=fast rem -O,--optimization <arg> Optimization level [0=none, 1=basic, 2=fast
rem optimizations, 3=slow optimizations] [p=optimize rem optimizations, 3=slow optimizations]
rem performance, z=optimize code space] rem [p=optimize performance, z=optimize code
rem space]
rem -p,--project-info <arg> projectInfo.xml file to use when compiling rem -p,--project-info <arg> projectInfo.xml file to use when compiling
rem -r,--release Strip debug information 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 -t,--unit-test Enables compilation of unit tests
rem -u,--devices <arg> devices.xml file to use when compiling (deprecated) rem -u,--devices <arg> devices.xml file to use when compiling
rem (deprecated)
rem -v,--version Prints the compiler version rem -v,--version Prints the compiler version
rem -w,--warn Show compiler warnings rem -w,--warn Show compiler warnings
rem -x,--excludes <arg> Add annotations to the exclude list (deprecated) rem -x,--excludes <arg> Add annotations to the exclude list
rem (deprecated)
rem -y,--private-key <arg> Private key to sign builds with rem -y,--private-key <arg> Private key to sign builds with
rem -z,--rez <arg> Resource files (deprecated) rem -z,--rez <arg> Resource files (deprecated)
title Exporting Garmin Home Assistant Application
rem Batch file's directory where the source code is rem Batch file's directory where the source code is
set SRC=%~dp0 set SRC=%~dp0
rem drop last character '\' rem drop last character '\'
set SRC=%SRC:~0,-1% set SRC=%SRC:~0,-1%
set DEST=%SRC%\%DEST%
set IQ=%DEST%\%IQ%
if not exist %DEST% ( if not exist %DEST% (
echo Creating %DEST%
md %DEST% md %DEST%
) )
if exist %SRC%\export\HomeAssistant*.iq ( if exist %IQ% (
del /f /q %SRC%\export\HomeAssistant*.iq echo Deleting old %IQ%
del /f /q %IQ%
) )
echo. echo Starting export of HomeAssistant Application to %IQ%
echo Starting export of HomeAssistant Application
echo. echo.
"%JAVA_PATH%\java.exe" ^ "%JAVA_PATH%\java.exe" ^
@@ -90,33 +100,14 @@ echo.
-Dfile.encoding=UTF-8 ^ -Dfile.encoding=UTF-8 ^
-Dapple.awt.UIElement=true ^ -Dapple.awt.UIElement=true ^
-jar %SDK_PATH%\monkeybrains.jar ^ -jar %SDK_PATH%\monkeybrains.jar ^
--api-level 3.1.0 ^ --output %IQ% ^
--output %SRC%\export\HomeAssistant-app.iq ^
--jungles %SRC%\monkey.jungle ^ --jungles %SRC%\monkey.jungle ^
--private-key %SRC%\..\developer_key ^ --private-key %SRC%\..\developer_key ^
--package-app ^ --package-app ^
--release --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.
echo Finished exporting HomeAssistant echo Finished exporting HomeAssistant
dir %SRC%\export\HomeAssistant*.iq dir %IQ%
pause pause

Binary file not shown.

Before

Width:  |  Height:  |  Size: 764 KiB

After

Width:  |  Height:  |  Size: 720 KiB

BIN
images/HTTPS_full_chain.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 65 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 72 KiB

BIN
images/NoJson.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

BIN
images/Unicode_Template.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

BIN
images/pin_view.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.2 KiB

BIN
images/wi-fi.mp4 Normal file

Binary file not shown.

View File

@@ -1,28 +0,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, 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

@@ -1,28 +0,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, 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;
}

View File

@@ -1,195 +0,0 @@
<?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

@@ -24,22 +24,16 @@
Use "Monkey C: Edit Application" from the Visual Studio Code command palette Use "Monkey C: Edit Application" from the Visual Studio Code command palette
to update the application attributes. to update the application attributes.
--> -->
<!--
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="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 command palette to edit
-->
<!--
Use the following from the Visual Studio Code comand palette to edit
the build targets: the build targets:
"Monkey C: Set Products by Product Category" - Lets you add all products "Monkey C: Set Products by Product Category" - Lets you add all products
that belong to the same product category that belong to the same product category
"Monkey C: Edit Products" - Lets you add or remove any product "Monkey C: Edit Products" - Lets you add or remove any product
--> -->
<iq:products> <iq:products>
<iq:product id="approachs50"/>
<iq:product id="approachs7042mm"/> <iq:product id="approachs7042mm"/>
<iq:product id="approachs7047mm"/> <iq:product id="approachs7047mm"/>
<iq:product id="d2air"/> <iq:product id="d2air"/>
@@ -49,19 +43,27 @@
<iq:product id="d2deltas"/> <iq:product id="d2deltas"/>
<iq:product id="d2mach1"/> <iq:product id="d2mach1"/>
<iq:product id="descentg1"/> <iq:product id="descentg1"/>
<iq:product id="descentg2"/>
<iq:product id="descentmk1"/>
<iq:product id="descentmk2"/> <iq:product id="descentmk2"/>
<iq:product id="descentmk2s"/> <iq:product id="descentmk2s"/>
<iq:product id="descentmk343mm"/>
<iq:product id="descentmk351mm"/>
<iq:product id="edge1030"/> <iq:product id="edge1030"/>
<iq:product id="edge1030bontrager"/> <iq:product id="edge1030bontrager"/>
<iq:product id="edge1030plus"/> <iq:product id="edge1030plus"/>
<iq:product id="edge1040"/> <iq:product id="edge1040"/>
<iq:product id="edge1050"/>
<iq:product id="edge520plus"/> <iq:product id="edge520plus"/>
<iq:product id="edge530"/> <iq:product id="edge530"/>
<iq:product id="edge540"/>
<iq:product id="edge820"/> <iq:product id="edge820"/>
<iq:product id="edge830"/> <iq:product id="edge830"/>
<iq:product id="edge840"/>
<iq:product id="edgeexplore"/> <iq:product id="edgeexplore"/>
<iq:product id="edgeexplore2"/> <iq:product id="edgeexplore2"/>
<iq:product id="enduro"/> <iq:product id="enduro"/>
<iq:product id="enduro3"/>
<iq:product id="epix2"/> <iq:product id="epix2"/>
<iq:product id="epix2pro42mm"/> <iq:product id="epix2pro42mm"/>
<iq:product id="epix2pro47mm"/> <iq:product id="epix2pro47mm"/>
@@ -85,7 +87,14 @@
<iq:product id="fenix7x"/> <iq:product id="fenix7x"/>
<iq:product id="fenix7xpro"/> <iq:product id="fenix7xpro"/>
<iq:product id="fenix7xpronowifi"/> <iq:product id="fenix7xpronowifi"/>
<iq:product id="fenix843mm"/>
<iq:product id="fenix847mm"/>
<iq:product id="fenix8solar47mm"/>
<iq:product id="fenix8solar51mm"/>
<iq:product id="fenixchronos"/> <iq:product id="fenixchronos"/>
<iq:product id="fenixe"/>
<iq:product id="fr165"/>
<iq:product id="fr165m"/>
<iq:product id="fr245"/> <iq:product id="fr245"/>
<iq:product id="fr245m"/> <iq:product id="fr245m"/>
<iq:product id="fr255"/> <iq:product id="fr255"/>
@@ -95,6 +104,8 @@
<iq:product id="fr265"/> <iq:product id="fr265"/>
<iq:product id="fr265s"/> <iq:product id="fr265s"/>
<iq:product id="fr55"/> <iq:product id="fr55"/>
<iq:product id="fr57042mm"/>
<iq:product id="fr57047mm"/>
<iq:product id="fr645"/> <iq:product id="fr645"/>
<iq:product id="fr645m"/> <iq:product id="fr645m"/>
<iq:product id="fr745"/> <iq:product id="fr745"/>
@@ -103,11 +114,18 @@
<iq:product id="fr945lte"/> <iq:product id="fr945lte"/>
<iq:product id="fr955"/> <iq:product id="fr955"/>
<iq:product id="fr965"/> <iq:product id="fr965"/>
<iq:product id="fr970"/>
<iq:product id="gpsmap66"/>
<iq:product id="gpsmap67"/> <iq:product id="gpsmap67"/>
<iq:product id="instinct2"/> <iq:product id="instinct2"/>
<iq:product id="instinct2s"/> <iq:product id="instinct2s"/>
<iq:product id="instinct2x"/> <iq:product id="instinct2x"/>
<iq:product id="instinct3amoled45mm"/>
<iq:product id="instinct3amoled50mm"/>
<iq:product id="instinct3solar45mm"/>
<iq:product id="instinctcrossover"/> <iq:product id="instinctcrossover"/>
<iq:product id="instincte40mm"/>
<iq:product id="instincte45mm"/>
<iq:product id="legacyherocaptainmarvel"/> <iq:product id="legacyherocaptainmarvel"/>
<iq:product id="legacyherofirstavenger"/> <iq:product id="legacyherofirstavenger"/>
<iq:product id="legacysagadarthvader"/> <iq:product id="legacysagadarthvader"/>
@@ -140,6 +158,7 @@
<iq:product id="vivoactive4"/> <iq:product id="vivoactive4"/>
<iq:product id="vivoactive4s"/> <iq:product id="vivoactive4s"/>
<iq:product id="vivoactive5"/> <iq:product id="vivoactive5"/>
<iq:product id="vivoactive6"/>
</iq:products> </iq:products>
<!-- <!--
Use "Monkey C: Edit Permissions" from the Visual Studio Code command Use "Monkey C: Edit Permissions" from the Visual Studio Code command
@@ -149,6 +168,7 @@
<iq:uses-permission id="Background"/> <iq:uses-permission id="Background"/>
<iq:uses-permission id="BluetoothLowEnergy"/> <iq:uses-permission id="BluetoothLowEnergy"/>
<iq:uses-permission id="Communications"/> <iq:uses-permission id="Communications"/>
<iq:uses-permission id="Positioning"/>
</iq:permissions> </iq:permissions>
<!-- <!--
Use "Monkey C: Edit Languages" from the Visual Studio Code command Use "Monkey C: Edit Languages" from the Visual Studio Code command
@@ -157,19 +177,17 @@
<iq:languages> <iq:languages>
<iq:language>ara</iq:language> <iq:language>ara</iq:language>
<iq:language>bul</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>ces</iq:language>
<iq:language>dan</iq:language> <iq:language>dan</iq:language>
<iq:language>dut</iq:language>
<iq:language>deu</iq:language> <iq:language>deu</iq:language>
<iq:language>gre</iq:language> <iq:language>dut</iq:language>
<iq:language>eng</iq:language> <iq:language>eng</iq:language>
<iq:language>est</iq:language> <iq:language>est</iq:language>
<iq:language>fin</iq:language> <iq:language>fin</iq:language>
<iq:language>fre</iq:language> <iq:language>fre</iq:language>
<iq:language>gre</iq:language>
<iq:language>heb</iq:language> <iq:language>heb</iq:language>
<iq:language>hrv</iq:language>
<iq:language>hun</iq:language> <iq:language>hun</iq:language>
<iq:language>ind</iq:language> <iq:language>ind</iq:language>
<iq:language>ita</iq:language> <iq:language>ita</iq:language>
@@ -177,13 +195,12 @@
<iq:language>kor</iq:language> <iq:language>kor</iq:language>
<iq:language>lav</iq:language> <iq:language>lav</iq:language>
<iq:language>lit</iq:language> <iq:language>lit</iq:language>
<iq:language>zsm</iq:language>
<iq:language>nob</iq:language> <iq:language>nob</iq:language>
<iq:language>pol</iq:language> <iq:language>pol</iq:language>
<iq:language>por</iq:language> <iq:language>por</iq:language>
<iq:language>slo</iq:language>
<iq:language>ron</iq:language> <iq:language>ron</iq:language>
<!-- <iq:language>rus</iq:language> --> <!-- <iq:language>rus</iq:language> -->
<iq:language>slo</iq:language>
<iq:language>slv</iq:language> <iq:language>slv</iq:language>
<iq:language>spa</iq:language> <iq:language>spa</iq:language>
<iq:language>swe</iq:language> <iq:language>swe</iq:language>
@@ -191,6 +208,9 @@
<iq:language>tur</iq:language> <iq:language>tur</iq:language>
<iq:language>ukr</iq:language> <iq:language>ukr</iq:language>
<iq:language>vie</iq:language> <iq:language>vie</iq:language>
<iq:language>zhs</iq:language>
<iq:language>zht</iq:language>
<iq:language>zsm</iq:language>
</iq:languages> </iq:languages>
<!-- <!--
Use "Monkey C: Configure Monkey Barrel" from the Visual Studio Code Use "Monkey C: Configure Monkey Barrel" from the Visual Studio Code

View File

@@ -1,205 +0,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.
#
# 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,11 +18,6 @@
project.manifest = manifest.xml 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 # Device References
# * https://developer.garmin.com/connect-iq/compatible-devices/ # * https://developer.garmin.com/connect-iq/compatible-devices/
# * https://developer.garmin.com/connect-iq/reference-guides/devices-reference/ # * https://developer.garmin.com/connect-iq/reference-guides/devices-reference/
@@ -36,9 +31,11 @@ base.sourcePath = source;include/app
# #
# The icons need to scale as a ratio of screen size 48:416 pixels # 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 # Icon 55 53 48 46 42 37 32 30 28 26 24 21 19 18
# Screen 454 416 390 360 320 280 260 240 218 208 176 156 # Screen 480 454 416 390 360 320 280 260 240 218 208 176 166 156
# Screen Size 390x390 launcher icon size 56x56
approachs50.resourcePath = $(approachs50.resourcePath);resources-launcher-56-56;resources-icons-46
# Screen Size 390x390 launcher icon size 70x70 # Screen Size 390x390 launcher icon size 70x70
approachs7042mm.resourcePath = $(approachs7042mm.resourcePath);resources-launcher-70-70;resources-icons-46 approachs7042mm.resourcePath = $(approachs7042mm.resourcePath);resources-launcher-70-70;resources-icons-46
# Screen Size 454x454 launcher icon size 80x80 # Screen Size 454x454 launcher icon size 80x80
@@ -55,29 +52,42 @@ d2deltas.resourcePath = $(d2deltas.resourcePath);resources-launcher-40-40;resour
d2mach1.resourcePath = $(d2mach1.resourcePath);resources-launcher-60-60;resources-icons-48 d2mach1.resourcePath = $(d2mach1.resourcePath);resources-launcher-60-60;resources-icons-48
# Screen Size 176x176 launcher icon size 62x62 # Screen Size 176x176 launcher icon size 62x62
descentg1.resourcePath = $(descentg1.resourcePath);resources-launcher-62-62;resources-icons-21 descentg1.resourcePath = $(descentg1.resourcePath);resources-launcher-62-62;resources-icons-21
# Screen Size 390x390 launcher icon size 60x60
descentg2.resourcePath = $(descentg2.resourcePath);resources-launcher-60-60;resources-icons-46
# Screen Size 240x240 launcher icon size 40x40
descentmk1.resourcePath = $(descentmk1.resourcePath);resources-launcher-40-40;resources-icons-28
# Screen Size 280x280 launcher icon size 40x40 # Screen Size 280x280 launcher icon size 40x40
descentmk2.resourcePath = $(descentmk2.resourcePath);resources-launcher-40-40;resources-icons-32 descentmk2.resourcePath = $(descentmk2.resourcePath);resources-launcher-40-40;resources-icons-32
# Screen Size 240x240 launcher icon size 40x40 # Screen Size 240x240 launcher icon size 40x40
descentmk2s.resourcePath = $(descentmk2s.resourcePath);resources-launcher-40-40;resources-icons-28 descentmk2s.resourcePath = $(descentmk2s.resourcePath);resources-launcher-40-40;resources-icons-28
# Screen Size 390 x 390 launcher icon size 60x60
descentmk343mm.resourcePath = $(descentmk2s.resourcePath);resources-launcher-60-60;resources-icons-46
# Screen Size 454 x 454 launcher icon size 60x60
descentmk351mm.resourcePath = $(descentmk2s.resourcePath);resources-launcher-60-60;resources-icons-53
# Screen Size 282x470 launcher icon size 36x36 # Screen Size 282x470 launcher icon size 36x36
edge1030.resourcePath = $(descentmk2s.resourcePath);resources-launcher-36-36;resources-icons-32 edge1030.resourcePath = $(descentmk2s.resourcePath);resources-launcher-36-36;resources-icons-32
edge1030bontrager.resourcePath = $(edge1030bontrager.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 edge1030plus.resourcePath = $(edge1030plus.resourcePath);resources-launcher-36-36;resources-icons-32
# Screen Size 282x470 launcher icon size 40x40 # Screen Size 282x470 launcher icon size 40x40
edge1040.resourcePath = $(edge1040.resourcePath);resources-launcher-40-40;resources-icons-32 edge1040.resourcePath = $(edge1040.resourcePath);resources-launcher-40-40;resources-icons-32
# Screen Size 480x800 launcher icon size 68x68
edge1050.resourcePath = $(edge1050.resourcePath);resources-launcher-68-68;resources-icons-55
# Screen Size 200x265 launcher icon size 35x35 # Screen Size 200x265 launcher icon size 35x35
edge520plus.resourcePath = $(edge520plus.resourcePath);resources-launcher-35-35;resources-icons-24 edge520plus.resourcePath = $(edge520plus.resourcePath);resources-launcher-35-35;resources-icons-24
# Screen Size 246x322 launcher icon size 35x35 # Screen Size 246x322 launcher icon size 35x35
edge530.resourcePath = $(edge530.resourcePath);resources-launcher-35-35;resources-icons-28 edge530.resourcePath = $(edge530.resourcePath);resources-launcher-35-35;resources-icons-28
edge540.resourcePath = $(edge540.resourcePath);resources-launcher-35-35;resources-icons-28
# Screen Size 200x265 launcher icon size 35x35 # Screen Size 200x265 launcher icon size 35x35
edge820.resourcePath = $(edge820.resourcePath);resources-launcher-35-35;resources-icons-24 edge820.resourcePath = $(edge820.resourcePath);resources-launcher-35-35;resources-icons-24
# Screen Size 246x322 launcher icon size 35x35 # Screen Size 246x322 launcher icon size 35x35
edge830.resourcePath = $(edge830.resourcePath);resources-launcher-35-35;resources-icons-28 edge830.resourcePath = $(edge830.resourcePath);resources-launcher-35-35;resources-icons-28
edge840.resourcePath = $(edge840.resourcePath);resources-launcher-35-35;resources-icons-28
# Screen Size 240x400 launcher icon size 36x36 # Screen Size 240x400 launcher icon size 36x36
edgeexplore.resourcePath = $(edgeexplore.resourcePath);resources-launcher-36-36;resources-icons-28 edgeexplore.resourcePath = $(edgeexplore.resourcePath);resources-launcher-36-36;resources-icons-28
edgeexplore2.resourcePath = $(edgeexplore2.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 # Screen Size 280x280 launcher icon size 40x40
enduro.resourcePath = $(enduro.resourcePath);resources-launcher-40-40;resources-icons-32 enduro.resourcePath = $(enduro.resourcePath);resources-launcher-40-40;resources-icons-32
enduro3.resourcePath = $(enduro3.resourcePath);resources-launcher-40-40;resources-icons-32
# Screen Size 416x416 launcher icon size 60x60 # Screen Size 416x416 launcher icon size 60x60
epix2.resourcePath = $(epix2.resourcePath);resources-launcher-60-60;resources-icons-48 epix2.resourcePath = $(epix2.resourcePath);resources-launcher-60-60;resources-icons-48
# Screen Size 390x390 launcher icon size 60x60 # Screen Size 390x390 launcher icon size 60x60
@@ -104,20 +114,31 @@ fenix6spro.resourcePath = $(fenix6spro.resourcePath);resources-launcher-40-40;re
fenix6xpro.resourcePath = $(fenix6xpro.resourcePath);resources-launcher-40-40;resources-icons-32 fenix6xpro.resourcePath = $(fenix6xpro.resourcePath);resources-launcher-40-40;resources-icons-32
# Screen Size 260x260 launcher icon size 40x40 # Screen Size 260x260 launcher icon size 40x40
fenix7.resourcePath = $(fenix7.resourcePath);resources-launcher-40-40;resources-icons-30 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 fenix7pro.resourcePath = $(fenix7pro.resourcePath);resources-launcher-40-40;resources-icons-30
fenix7pronowifi.resourcePath = $(fenix7pronowifi.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 # Screen Size 240x240 launcher icon size 40x40
fenix7s.resourcePath = $(fenix7s.resourcePath);resources-launcher-40-40;resources-icons-28 fenix7s.resourcePath = $(fenix7s.resourcePath);resources-launcher-40-40;resources-icons-28
# Screen Size 240x240 launcher icon size 40x40 # Screen Size 240x240 launcher icon size 40x40
fenix7spro.resourcePath = $(fenix7spro.resourcePath);resources-launcher-40-40;resources-icons-28 fenix7spro.resourcePath = $(fenix7spro.resourcePath);resources-launcher-40-40;resources-icons-28
# Screen Size 280x280 launcher icon size 40x40 # Screen Size 280x280 launcher icon size 40x40
fenix7x.resourcePath = $(fenix7x.resourcePath);resources-launcher-40-40;resources-icons-32 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 fenix7xpro.resourcePath = $(fenix7xpro.resourcePath);resources-launcher-40-40;resources-icons-32
fenix7xpronowifi.resourcePath = $(fenix7xpronowifi.resourcePath);resources-launcher-40-40;resources-icons-32 fenix7xpronowifi.resourcePath = $(fenix7xpronowifi.resourcePath);resources-launcher-40-40;resources-icons-32
# Screen Size 416x416 launcher icon size 60x60
fenix843mm.resourcePath = $(fenix843mm.resourcePath);resources-launcher-60-60;resources-icons-48
# Screen Size 454x454 launcher icon size 65x65
fenix847mm.resourcePath = $(fenix847mm.resourcePath);resources-launcher-65-65;resources-icons-53
# Screen Size 260x260 launcher icon size 40x40
fenix8solar47mm.resourcePath = $(fenix8solar47mm.resourcePath);resources-launcher-40-40;resources-icons-30
# Screen Size 280x280 launcher icon size 40x40
fenix8solar51mm.resourcePath = $(fenix8solar51mm.resourcePath);resources-launcher-40-40;resources-icons-32
# Screen Size 218x218 launcher icon size 36x36
fenixchronos.resourcePath = $(fenixchronos.resourcePath);resources-launcher-36-36;resources-icons-26
# Screen Size 416x416 launcher icon size 60x60
fenixe.resourcePath = $(fenixe.resourcePath);resources-launcher-60-60;resources-icons-48
# Screen Size 390 x 390 launcher icon size 54x54
fr165.resourcePath = $(descentmk2s.resourcePath);resources-launcher-54-54;resources-icons-46
fr165m.resourcePath = $(descentmk2s.resourcePath);resources-launcher-54-54;resources-icons-46
# Screen Size 240x240 launcher icon size 40x40 # Screen Size 240x240 launcher icon size 40x40
fr245.resourcePath = $(fr245.resourcePath);resources-launcher-40-40;resources-icons-28 fr245.resourcePath = $(fr245.resourcePath);resources-launcher-40-40;resources-icons-28
fr245m.resourcePath = $(fr245m.resourcePath);resources-launcher-40-40;resources-icons-28 fr245m.resourcePath = $(fr245m.resourcePath);resources-launcher-40-40;resources-icons-28
@@ -132,6 +153,10 @@ fr265.resourcePath = $(fr265.resourcePath);resources-launcher-60-60;resources-ic
fr265s.resourcePath = $(fr265s.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 # Screen Size 208x208 launcher icon size 35x35
fr55.resourcePath = $(fr55.resourcePath);resources-launcher-35-35;resources-icons-24 fr55.resourcePath = $(fr55.resourcePath);resources-launcher-35-35;resources-icons-24
# Screen Size 390x390 launcher icon size 54x54
fr57042mm.resourcePath = $(fr57042mm.resourcePath);resources-launcher-54-54;resources-icons-46
# Screen Size 454x454 launcher icon size 65x65
fr57047mm.resourcePath = $(fr57047mm.resourcePath);resources-launcher-65-65;resources-icons-53
# Screen Size 240x240 launcher icon size 40x40 # Screen Size 240x240 launcher icon size 40x40
fr645.resourcePath = $(fr645.resourcePath);resources-launcher-40-40;resources-icons-28 fr645.resourcePath = $(fr645.resourcePath);resources-launcher-40-40;resources-icons-28
fr645m.resourcePath = $(fr645m.resourcePath);resources-launcher-40-40;resources-icons-28 fr645m.resourcePath = $(fr645m.resourcePath);resources-launcher-40-40;resources-icons-28
@@ -144,16 +169,28 @@ fr945lte.resourcePath = $(fr945lte.resourcePath);resources-launcher-40-40;resour
fr955.resourcePath = $(fr955.resourcePath);resources-launcher-40-40;resources-icons-30 fr955.resourcePath = $(fr955.resourcePath);resources-launcher-40-40;resources-icons-30
# Screen Size 454x454 launcher icon size 65x65 # Screen Size 454x454 launcher icon size 65x65
fr965.resourcePath = $(fr965.resourcePath);resources-launcher-65-65;resources-icons-53 fr965.resourcePath = $(fr965.resourcePath);resources-launcher-65-65;resources-icons-53
fr970.resourcePath = $(fr970.resourcePath);resources-launcher-65-65;resources-icons-53
# Screen Size 240x400 launcher icon size 38x33 # Screen Size 240x400 launcher icon size 38x33
gpsmap66.resourcePath = $(gpsmap66.resourcePath);resources-launcher-33-33;resources-icons-28
gpsmap67.resourcePath = $(gpsmap67.resourcePath);resources-launcher-33-33;resources-icons-28 gpsmap67.resourcePath = $(gpsmap67.resourcePath);resources-launcher-33-33;resources-icons-28
# Screen Size 176x176 launcher icon size 62x62 # Screen Size 176x176 launcher icon size 62x62
instinct2.resourcePath = $(instinct2.resourcePath);resources-launcher-62-62;resources-icons-21 instinct2.resourcePath = $(instinct2.resourcePath);resources-launcher-62-62;resources-icons-21-w
# Screen Size 163x156 launcher icon size 54x54 # Screen Size 163x156 launcher icon size 54x54
instinct2s.resourcePath = $(instinct2s.resourcePath);resources-launcher-54-54;resources-icons-18 instinct2s.resourcePath = $(instinct2s.resourcePath);resources-launcher-54-54;resources-icons-18-w
# Screen Size 176x176 launcher icon size 62x62 # Screen Size 176x176 launcher icon size 62x62
instinct2x.resourcePath = $(instinct2x.resourcePath);resources-launcher-62-62;resources-icons-21 instinct2x.resourcePath = $(instinct2x.resourcePath);resources-launcher-62-62;resources-icons-21-w
# Screen Size 390x390 launcher icon size 60x60, but the icon size used here is reduced as the menu items were clipped.
instinct3amoled45mm.resourcePath = $(instinct3amoled45mm.resourcePath);resources-launcher-60-60;resources-icons-32
# Screen Size 416x416 launcher icon size 60x60, but the icon size used here is reduced as the menu items were clipped.
instinct3amoled50mm.resourcePath = $(instinct3amoled50mm.resourcePath);resources-launcher-60-60;resources-icons-34
# Screen Size 176x176 launcher icon size 62x62
instinct3solar45mm.resourcePath = $(instinct3solar45mm.resourcePath);resources-launcher-62-62;resources-icons-18-w
# Screen Size 176x176 launcher icon size 26x26 # Screen Size 176x176 launcher icon size 26x26
instinctcrossover.resourcePath = $(instinctcrossover.resourcePath);resources-launcher-26-26;resources-icons-21 instinctcrossover.resourcePath = $(instinctcrossover.resourcePath);resources-launcher-26-26;resources-icons-21-w
# Screen Size 166x166 launcher icon size 52x52, but the icon size used here is reduced as the menu items were clipped.
instincte40mm.resourcePath = $(instincte40mm.resourcePath);resources-launcher-52-52;resources-icons-18-w
# Screen Size 176x176 launcher icon size 62x62, but the icon size used here is reduced as the menu items were clipped.
instincte45mm.resourcePath = $(instincte45mm.resourcePath);resources-launcher-62-62;resources-icons-18-w
# Screen Size 218x218 launcher icon size 30x30 # Screen Size 218x218 launcher icon size 30x30
legacyherocaptainmarvel.resourcePath = $(legacyherocaptainmarvel.resourcePath);resources-launcher-30-30;resources-icons-26 legacyherocaptainmarvel.resourcePath = $(legacyherocaptainmarvel.resourcePath);resources-launcher-30-30;resources-icons-26
# Screen Size 260x260 launcher icon size 35x35 # Screen Size 260x260 launcher icon size 35x35
@@ -192,7 +229,6 @@ venud.resourcePath = $(venud.resourcePath);resources-launcher-60-60;resources-ic
venusq.resourcePath = $(venusq.resourcePath);resources-launcher-36-36;resources-icons-28 venusq.resourcePath = $(venusq.resourcePath);resources-launcher-36-36;resources-icons-28
# Screen Size 320x360 launcher icon size 40x40 # Screen Size 320x360 launcher icon size 40x40
venusq2.resourcePath = $(venusq2.resourcePath);resources-launcher-40-40;resources-icons-38 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 venusq2m.resourcePath = $(venusq2m.resourcePath);resources-launcher-40-40;resources-icons-38
# Screen Size 240x240 launcher icon size 36x36 # Screen Size 240x240 launcher icon size 36x36
venusqm.resourcePath = $(venusqm.resourcePath);resources-launcher-36-36;resources-icons-28 venusqm.resourcePath = $(venusqm.resourcePath);resources-launcher-36-36;resources-icons-28
@@ -204,5 +240,7 @@ vivoactive3mlte.resourcePath = $(vivoactive3mlte.resourcePath);resources-launche
vivoactive4.resourcePath = $(vivoactive4.resourcePath);resources-launcher-35-35;resources-icons-30 vivoactive4.resourcePath = $(vivoactive4.resourcePath);resources-launcher-35-35;resources-icons-30
# Screen Size 218x218 launcher icon size 30x30 # Screen Size 218x218 launcher icon size 30x30
vivoactive4s.resourcePath = $(vivoactive4s.resourcePath);resources-launcher-30-30;resources-icons-26 vivoactive4s.resourcePath = $(vivoactive4s.resourcePath);resources-launcher-30-30;resources-icons-26
# Screen Size 390x390 launcher icon size 70x70 # Screen Size 390x390 launcher icon size 56x56
vivoactive5.resourcePath = $(vivoactive5.resourcePath);resources-launcher-70-70;resources-icons-46 vivoactive5.resourcePath = $(vivoactive5.resourcePath);resources-launcher-56-56;resources-icons-46
# Screen Size 390x390 launcher icon size 54x54
vivoactive6.resourcePath = $(vivoactive6.resourcePath);resources-launcher-54-54;resources-icons-46

94
removeTranslations.py Normal file
View File

@@ -0,0 +1,94 @@
####################################################################################
#
# 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, 24 July 2025
#
#
# Description:
#
# Python script to remove all the translations of a specific id from the XML files.
#
# Usage:
# python removeTranslations.py <id>
#
# Python installation:
# pip install beautifulsoup4
# 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
#
####################################################################################
import sys
# from bs4 import BeautifulSoup
import os
def remove_translations(file_path: str, translation_id: str) -> None:
"""
Remove all translations of a specific id from the XML file.
:param file_path: Path to the XML file.
:param translation_id: The id of the translation to remove.
"""
# Breaks the formatting
# with open(file_path, "r", encoding="utf-8") as file:
# soup = BeautifulSoup(file, features="xml")
# # Find all string elements with the specified id
# strings_to_remove = soup.find_all("string", {"id": translation_id})
# for string in strings_to_remove:
# string.decompose() # Remove the string element
# # Write the modified XML back to the file
# with open(file_path, "wb") as file:
# file.write(soup.encode("utf-8") + b"\n")
# Use standard string replace instead
with open(file_path, "r", encoding="utf-8") as file:
content = file.read()
new = ""
for line in content.splitlines():
if not f'id="{translation_id}"' in line:
new += line + "\n"
with open(file_path, "w", encoding="utf-8") as file:
file.write(new)
def main(translation_id: str) -> None:
"""
Main function to process all XML files.
:param translation_id: The id of the translation to remove.
"""
xml_files = []
for directory in os.listdir("."):
if os.path.isdir(directory) and "resources-" in directory:
xml_file_path = os.path.join(directory, "strings", "strings.xml")
if os.path.exists(xml_file_path):
xml_files.append(xml_file_path)
for xml_file in xml_files:
print(f"Processing file: {xml_file}")
remove_translations(xml_file, translation_id)
if __name__ == "__main__":
if len(sys.argv) != 2:
print("Usage: python removeTranslations.py <id>")
sys.exit(1)
translation_id = sys.argv[1]
main(translation_id)

View File

@@ -9,62 +9,93 @@
tested on a Venu 2 device. The source code is provided at: tested on a Venu 2 device. The source code is provided at:
https://github.com/house-of-abbey/GarminHomeAssistant. https://github.com/house-of-abbey/GarminHomeAssistant.
P A Abbey & J D Abbey & Someone0nEarth, 31 October 2023 P A Abbey & J D Abbey & Someone0nEarth & vincentezw, 31 October 2023
--> -->
<!-- <!--
Generated by Google Translate: English to Arabic Generated by Google Translate and gemini-2.5-flash from English to Arabic
تم إنشاؤها بواسطة ترجمة جوجل من الإنجليزية تم الإنشاء بواسطة ترجمة جوجل و gemini-2.5-flash من الإنجليزية إلى العربية
--> -->
<strings> <strings>
<string id="ApiFlood">مكالمات API سريعة للغاية. يرجى إبطاء طلباتك.</string>
<string id="ApiUrlNotFound">لم يتم العثور على عنوان URL. قد يكون هناك خطأ في عنوان URL الخاص بـ
API في الإعدادات.</string>
<string id="AppName" scope="glance">HomeAssistant</string> <string id="AppName" scope="glance">HomeAssistant</string>
<string id="Confirm">بالتأكيد؟</string>
<string id="Executed" scope="glance">مؤكد</string>
<string id="NoPhone" scope="glance">لا يوجد اتصال الهاتف</string>
<string id="NoInternet">لا يوجد اتصال بالإنترنت</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>
<string id="WebhookFailed">فشل تسجيل Webhook</string>
<string id="TemplateError">فشل في تقديم القالب</string>
<string id="Available" scope="glance">متاح</string> <string id="Available" scope="glance">متاح</string>
<string id="Checking" scope="glance">تدقيق...</string> <string id="Cached" scope="glance">مخزّن مؤقتًا</string>
<string id="Unavailable" scope="glance">غير متوفره</string> <string id="Checking" scope="glance">التحقق ...</string>
<string id="Unconfigured" scope="glance">غير مهيأ</string> <string id="ConfigUrlNotFound">لم يتم العثور على عنوان URL. قد يكون هناك خطأ في عنوان URL الخاص
<string id="Cached" scope="glance">مخبأة</string> بالتكوين في الإعدادات.</string>
<string id="GlanceMenu" scope="glance">قائمة طعام</string> <string id="Confirm">بالتأكيد؟</string>
<string id="Empty">فارغ</string>
<string id="Executed" scope="glance">مؤكد</string>
<string id="GlanceMenu" scope="glance">قائمة</string>
<string id="Memory" scope="glance">ذاكرة</string> <string id="Memory" scope="glance">ذاكرة</string>
<!-- لإعدادات واجهة المستخدم الرسومية --> <string id="MenuUpdated">تم تحديث القائمة، أعد التشغيل.</string>
<string id="SettingsSelect">يختار...</string> <string id="MenuCheckDisabled">تم تعطيل تحديثات القائمة.</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="NoInternet">لا يوجد اتصال بالإنترنت.</string>
<string id="NoJson">لم يتم إرجاع أي JSON من طلب HTTP.</string>
<string id="NoPhone" scope="glance">لا يوجد اتصال هاتفي.</string>
<string id="NoPhoneNoCache" scope="glance">لا يوجد اتصال بالهاتف، لا توجد قائمة مخزنة مؤقتًا.</string>
<string id="NoResponse">لا توجد استجابة، تحقق من اتصال الإنترنت.</string>
<string id="TimedOut">انتهت مهلة الطلب</string>
<string id="PinInputLocked">إدخال رمز PIN مغلق لمدة</string>
<string id="PotentialError">خطأ محتمل</string>
<string id="Seconds">ثوان</string>
<string id="TemplateError">خطأ قالب</string>
<string id="TrailingSlashErr">يجب ألا يحتوي عنوان URL الخاص بـ API على شرطة مائلة في النهاية '/'.</string>
<string id="Unavailable" scope="glance">غير متاح</string>
<string id="Unconfigured" scope="glance">غير مهيأ</string>
<string id="UnhandledHttpErr">أرجع طلب HTTP رمز الخطأ =</string>
<string id="WebhookFailed">فشل في تسجيل Webhook</string>
<string id="WrongPin">رمز PIN خاطئ</string>
<string id="WifiLteNotAvailable">لا يتوفر Wi-Fi أو LTE</string>
<string id="WifiLtePrompt">التنفيذ عبر Wi-Fi/LTE؟</string>
<string id="WifiLteExecutionTitle">إرسال إلى Home Assistant.</string>
<string id="WifiLteExecutionDataError">لم يتم استلام البيانات.</string>
<!-- بالنسبة للإعدادات واجهة المستخدم الرسومية ، يجب أن تكون السلاسل بالترتيب المستخدمة. -->
<string id="SettingsSelect">تحديد...</string>
<string id="SettingsApiKey">مفتاح API لـ HomeAssistant.</string> <string id="SettingsApiKey">مفتاح API لـ HomeAssistant.</string>
<string id="SettingsApiKeyPrompt">رمز الوصول طويل الأمد.</string> <string id="SettingsApiKeyPrompt">رمز وصول طويل الأمد.</string>
<string id="SettingsApiUrl">عنوان URL لواجهة برمجة تطبيقات HomeAssistant.</string> <string id="SettingsApiUrl">عنوان URL لـ HomeAssistant API.</string>
<string id="SettingsConfigUrl">عنوان URL لتكوين القائمة (JSON).</string> <string id="SettingsConfigUrl">عنوان URL لتكوين القائمة (JSON).</string>
<string id="SettingsCacheConfig">هل يجب على التطبيق تخزين تكوين القائمة مؤقتًا؟</string> <string id="SettingsCacheConfig">هل يجب على التطبيق تخزين تكوين القائمة مؤقتًا؟</string>
<string id="SettingsClearCache">يجب أن يقوم التطبيق بمسح ذاكرة التخزين المؤقت الموجودة في المرة القادمة <string id="SettingsClearCache">هل يجب على التطبيق مسح ذاكرة التخزين المؤقت الموجودة في المرة
بدأت؟</string> القادمة التي يتم فيها بدء تشغيلها؟</string>
<string id="SettingsAppTimeout">المهلة بالثواني. الخروج من التطبيق بعد هذه الفترة <string id="SettingsEnableMenuUpdateCheck">التحقق من تحديثات القائمة عند بدء تشغيل التطبيق؟ ملاحظة: يجب تمكين تخزين القائمة مؤقتًا. قد يتسبب هذا الإعداد في تعطل الأجهزة القديمة ذات الذاكرة الأقل.</string>
عدم النشاط لحفظ بطارية الجهاز.</string> <string id="SettingsWifiLteExecutionEnable">تمكين تنفيذ الأوامر عبر Wi-Fi/LTE.</string>
<string id="SettingsConfirmTimeout">بعد هذا الوقت (بالثواني)، يظهر مربع حوار تأكيد لـ <string id="SettingsVibration">هل يجب أن يوفر التطبيق تغذية راجعة عبر الاهتزازات؟</string>
يتم إغلاق الإجراء تلقائيًا ويتم إلغاء الإجراء. اضبط على 0 لتعطيل المهلة.</string> <string id="SettingsAppTimeout">مهلة بالثواني. يتم الخروج من التطبيق بعد هذه الفترة من عدم النشاط
<string id="SettingsTextAlign">محاذاة القائمة لليسار (إيقاف) أو لليمين (تشغيل).</string> لحفظ بطارية الجهاز.</string>
<string id="LeftToRight">من اليسار إلى اليمين</string> <string id="SettingsPollDelay">تأخير استطلاع إضافي (بالثواني). يضيف تأخيرًا بين تحديث الحالة لجميع
<string id="RightToLeft">من اليمين الى اليسار</string> عناصر القائمة.</string>
<string id="SettingsWidgetStart">(القطعة فقط) ابدأ تشغيل التطبيق تلقائيًا من الأداة <string id="SettingsConfirmTimeout">بعد هذا الوقت (بالثواني)، يتم إغلاق مربع حوار تأكيد لإجراء ما
دون انتظار الصنبور.</string> تلقائيًا ويتم إلغاء الإجراء. اضبط على 0 لتعطيل المهلة.</string>
<string id="SettingsEnableBatteryLevel">تمكين خدمة الخلفية لإرسال بطارية الساعة <string id="SettingsPin">رمز PIN مكون من 4 أرقام لاستخدامه في جميع الإجراءات التي تتطلب ذلك
المستوى إلى مساعد المنزل.</string> (0000-9999).</string>
<string id="SettingsBatteryLevelRefreshRate">معدل التحديث (بالدقائق) الذي الخلفية <string id="SettingsPinError">يرجى تكوين رمز PIN رقمي مكون من 4 أرقام بين 0000 و 9999 في إعدادات
يجب أن تكرر الخدمة إرسال مستوى البطارية.</string> التطبيق.</string>
<string id="WebhookId">(للقراءة فقط) معرف Webhook الذي أنشأته الساعة لتحديثات مستوى البطارية. <string id="SettingsTextAlign">محاذاة القائمة: لليسار (إيقاف) أو لليمين (تشغيل).</string>
قد تحتاج إلى هذا لتصحيح الأخطاء.</string> <string id="SettingsLeftToRight">من اليسار إلى اليمين</string>
<string id="SettingsRightToLeft">من اليمين إلى اليسار</string>
<string id="SettingsWidgetStart">(عنصر واجهة المستخدم فقط) ابدأ التطبيق تلقائيًا من عنصر واجهة
المستخدم دون انتظار النقر.</string>
<string id="SettingsEnableBatteryLevel">تمكين خدمة الخلفية لإرسال مستوى بطارية الجهاز والموقع
وبيانات النشاط (إذا كانت مدعومة) إلى Home Assistant.</string>
<string id="SettingsBatteryLevelRefreshRate">معدل التحديث (بالدقائق) الذي يجب أن تكرر فيه خدمة
الخلفية إرسال البيانات.</string>
<string id="SettingsUserHttpHeader">رأس HTTP مقدم من المستخدم</string>
<string id="SettingsUserHttpHeaderDescription">تتطلب بعض عمليات تثبيت Home Assistant تحديد رأس
HTTP مخصص لكي تعمل.</string>
<string id="SettingsUserHttpHeaderName">رأس HTTP مقدم من المستخدم: الاسم</string>
<string id="SettingsUserHttpHeaderValue">رأس HTTP مقدم من المستخدم: القيمة</string>
<string id="SettingsClearWebhookId">أعد الاتصال بـ Home Assistant (مسح معرف Webhook، انظر دليل
استكشاف الأخطاء وإصلاحها).</string>
<string id="SettingsWebhookId">(للقراءة فقط) معرف Webhook الذي تم إنشاؤه بواسطة الجهاز لتحديثات
خدمة الخلفية. قد تحتاج هذا لتصحيح الأخطاء.</string>
</strings> </strings>

View File

@@ -9,62 +9,79 @@
tested on a Venu 2 device. The source code is provided at: tested on a Venu 2 device. The source code is provided at:
https://github.com/house-of-abbey/GarminHomeAssistant. https://github.com/house-of-abbey/GarminHomeAssistant.
P A Abbey & J D Abbey & Someone0nEarth, 31 October 2023 P A Abbey & J D Abbey & Someone0nEarth & vincentezw, 31 October 2023
--> -->
<!-- <!--
Generated by Google Translate: English to Bulgarian Generated by Google Translate and gemini-2.5-flash from English to Bulgarian
Генерирано от Google Translate от английски Генерирано от Google Translate и gemini-2.5-flash от английски на български
--> -->
<strings> <strings>
<string id="ApiFlood">API повикванията са твърде чести. Моля, забавете заявките си.</string>
<string id="ApiUrlNotFound">URL адрес не е намерен. Потенциална грешка в URL адреса на API в настройките.</string>
<string id="AppName" scope="glance">HomeAssistant</string> <string id="AppName" scope="glance">HomeAssistant</string>
<string id="Confirm">Сигурен?</string>
<string id="Executed" scope="glance">Потвърдено</string>
<string id="NoPhone" scope="glance">Няма телефонна връзка</string>
<string id="NoInternet">Няма интернет връзка</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>
<string id="WebhookFailed">Неуспешно регистриране на Webhook</string>
<string id="TemplateError">Неуспешно изобразяване на шаблон</string>
<string id="Available" scope="glance">На разположение</string> <string id="Available" scope="glance">На разположение</string>
<string id="Checking" scope="glance">Проверка...</string> <string id="Cached" scope="glance">Кеширан</string>
<string id="Unavailable" scope="glance">Недостъпен</string> <string id="Checking" scope="glance">Проверка ...</string>
<string id="Unconfigured" scope="glance">Неконфигуриран</string> <string id="ConfigUrlNotFound">URL адрес не е намерен. Възможна грешка в URL адреса за конфигурация в настройките.</string>
<string id="Cached" scope="glance">Кеширано</string> <string id="Confirm">Сигурно?</string>
<string id="Empty">Празен</string>
<string id="Executed" scope="glance">Потвърдено</string>
<string id="GlanceMenu" scope="glance">Меню</string> <string id="GlanceMenu" scope="glance">Меню</string>
<string id="Memory" scope="glance">памет</string> <string id="Memory" scope="glance">Памет</string>
<!-- За GUI за настройки --> <string id="MenuUpdated">Менюто е обновено, рестартирайте.</string>
<string id="SettingsSelect">Изберете...</string> <string id="MenuCheckDisabled">Актуализациите на менюто са деактивирани.</string>
<string id="SettingsApiKey">API ключ за HomeAssistant.</string> <string id="NoAPIKey" scope="glance">Няма ключ за API в настройките на приложението.</string>
<string id="SettingsApiKeyPrompt">Токен за дълготраен достъп.</string> <string id="NoApiUrl" scope="glance">Няма URL адрес на API в настройките на приложението.</string>
<string id="SettingsApiUrl">URL адрес за API на HomeAssistant.</string> <string id="NoConfigUrl" scope="glance">Няма URL адрес за конфигурация в настройките на приложението.</string>
<string id="SettingsConfigUrl">URL за конфигурация на менюто (JSON).</string> <string id="NoInternet">Няма интернет връзка.</string>
<string id="NoJson">Не е върнат JSON от HTTP заявка.</string>
<string id="NoPhone" scope="glance">Няма телефонна връзка.</string>
<string id="NoPhoneNoCache" scope="glance">Няма телефонна връзка, няма кеширано меню.</string>
<string id="NoResponse">Няма отговор, проверете интернет връзката.</string>
<string id="TimedOut">Заявка изтече</string>
<string id="PinInputLocked">Въвеждането на ПИН е заключено за</string>
<string id="PotentialError">Потенциална грешка</string>
<string id="Seconds">секунди</string>
<string id="TemplateError">Грешка в шаблона</string>
<string id="TrailingSlashErr">URL адресът на API не трябва да завършва с наклонена черта '/'.</string>
<string id="Unavailable" scope="glance">Недостъпни</string>
<string id="Unconfigured" scope="glance">Неконфигуриран</string>
<string id="UnhandledHttpErr">HTTP заявката върна код за грешка = </string>
<string id="WebhookFailed">Неуспешна регистрация на Webhook</string>
<string id="WrongPin">Грешен ПИН</string>
<string id="WifiLteNotAvailable">Няма налични Wi-Fi или LTE</string>
<string id="WifiLtePrompt">Изпълнете над Wi-Fi/LTE?</string>
<string id="WifiLteExecutionTitle">Изпращане до Home Assistant.</string>
<string id="WifiLteExecutionDataError">Няма получени данни.</string>
<!-- За GUI на настройките, низовете трябва да са в реда, в който се използват. -->
<string id="SettingsSelect">Изберете ...</string>
<string id="SettingsApiKey">API ключ за Home Assistant.</string>
<string id="SettingsApiKeyPrompt">Дълготраен маркер за достъп.</string>
<string id="SettingsApiUrl">URL за Home Assistant API.</string>
<string id="SettingsConfigUrl">URL за конфигуриране на менюто (JSON).</string>
<string id="SettingsCacheConfig">Трябва ли приложението да кешира конфигурацията на менюто?</string> <string id="SettingsCacheConfig">Трябва ли приложението да кешира конфигурацията на менюто?</string>
<string id="SettingsClearCache">Трябва ли приложението да изчисти съществуващия кеш следващия път, когато е <string id="SettingsClearCache">Трябва ли приложението да изчисти съществуващия кеш следващия път, когато бъде стартирано?</string>
започна?</string> <string id="SettingsEnableMenuUpdateCheck">Проверка за актуализации на менюто при стартиране на приложението? Забележка: Кеширането на менюто трябва да е активирано. Тази настройка може да доведе до срив на по-стари устройства с по-малко памет.</string>
<string id="SettingsAppTimeout">Изчакване в секунди. Излезте от приложението след този период от <string id="SettingsWifiLteExecutionEnable">Активиране на изпълнение на команди над Wi-Fi/LTE.</string>
бездействие, за да запазите батерията на устройството.</string> <string id="SettingsVibration">Трябва ли приложението да предоставя обратна връзка чрез вибрации?</string>
<string id="SettingsConfirmTimeout">След това време (в секунди) се появява диалогов прозорец за потвърждение за an <string id="SettingsAppTimeout">Време за изчакване в секунди. Излезте от приложението след този период на бездействие, за да запазите батерията на устройството.</string>
действието се затваря автоматично и действието се отменя. Задайте 0, за да деактивирате изчакването.</string> <string id="SettingsPollDelay">Допълнително забавяне на опресняването (в секунди). Добавя забавяне между актуализацията на състоянието на всички елементи от менюто.</string>
<string id="SettingsTextAlign">Ляво (изключено) или дясно (включено) подравняване на менюто.</string> <string id="SettingsConfirmTimeout">След това време (в секунди) диалоговият прозорец за потвърждение за действие автоматично се затваря и действието се отменя. Задайте на 0, за да деактивирате изчакването.</string>
<string id="LeftToRight">Отляво надясно</string> <string id="SettingsPin">4-цифрен ПИН, който ще се използва за всички действия, които го изискват (0000-9999).</string>
<string id="RightToLeft">От дясно на ляво</string> <string id="SettingsPinError">Моля, конфигурирайте валиден 4-цифрен цифров ПИН между 0000 и 9999 в настройките на приложението.</string>
<string id="SettingsWidgetStart">(Само за притурка) Автоматично стартиране на приложението от приспособлението <string id="SettingsTextAlign">Наляво (изключено) или вдясно (включено) изравняване на менюто.</string>
без да чакате кран.</string> <string id="SettingsLeftToRight">Отляво надясно</string>
<string id="SettingsEnableBatteryLevel">Активирайте фоновата услуга, за да изпратите батерията на часовника <string id="SettingsRightToLeft">Отдясно наляво</string>
ниво до домашен асистент.</string> <string id="SettingsWidgetStart">(Само при джаджа) Приложението се стартира автоматично от джаджата, без да се чака докосване.</string>
<string id="SettingsBatteryLevelRefreshRate">Честотата на опресняване (в минути), с която фонът <string id="SettingsEnableBatteryLevel">Активиране на фоновата услуга за изпращане на нивото на батерията на устройството, местоположението и (ако се поддържа) данни за активност към Home Assistant.</string>
услугата трябва да повтори изпращането на нивото на батерията.</string> <string id="SettingsBatteryLevelRefreshRate">Скоростта на опресняване (в минути), при която фоновата услуга трябва да повтаря изпращането на данни.</string>
<string id="WebhookId">(Само за четене) ID на Webhook, създаден от часовника за актуализации на нивото на батерията. <string id="SettingsUserHttpHeader">Потребителска HTTP заглавка</string>
Може да ви е необходимо това за отстраняване на грешки.</string> <string id="SettingsUserHttpHeaderDescription">Някои инсталации на Home Assistant изискват специфицирането на персонализирана HTTP заглавка, за да функционират.</string>
<string id="SettingsUserHttpHeaderName">Потребителска HTTP заглавка: Име</string>
<string id="SettingsUserHttpHeaderValue">Потребителска HTTP заглавка: Стойност</string>
<string id="SettingsClearWebhookId">Свържете се отново с Home Assistant (изчистване на Webhook ID, вижте ръководството за отстраняване на неизправности).</string>
<string id="SettingsWebhookId">(Само за четене) Webhook ID, създаден от устройството за актуализации на фоновите услуги. Може да ви е необходим за отстраняване на грешки.</string>
</strings> </strings>

View File

@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Distributed under MIT Licence
See https://github.com/house-of-abbey/GarminHomeAssistantWidget/blob/main/LICENSE.
GarminHomeAssistantWidget is a Garmin IQ widget written in Monkey C. The source code is provided at:
https://github.com/house-of-abbey/GarminHomeAssistantWidget.
P A Abbey & J D Abbey & Someone0nEarth, 15 April 2024
-->
<!--
Corrections for the Czech language
Opravy pro český jazyk
-->
<strings>
<string id="Confirm">Určitě?</string>
<string id="Available">Dostupné</string>
<string id="GlanceMenu">Menu</string>
</strings>

View File

@@ -9,62 +9,79 @@
tested on a Venu 2 device. The source code is provided at: tested on a Venu 2 device. The source code is provided at:
https://github.com/house-of-abbey/GarminHomeAssistant. https://github.com/house-of-abbey/GarminHomeAssistant.
P A Abbey & J D Abbey & Someone0nEarth, 31 October 2023 P A Abbey & J D Abbey & Someone0nEarth & vincentezw, 31 October 2023
--> -->
<!-- <!--
Generated by Google Translate: English to Czech Generated by Google Translate and gemini-2.5-flash from English to Czech
Generováno překladačem Google z angličtiny Vygenerováno pomocí Google Translate a gemini-2.5-flash z angličtiny do češtiny
--> -->
<strings> <strings>
<string id="ApiFlood">Volání API jsou příliš rychlá. Prosím, zpomalte své požadavky.</string>
<string id="ApiUrlNotFound">URL nebyla nalezena. Potenciální chyba URL API v nastavení.</string>
<string id="AppName" scope="glance">HomeAssistant</string> <string id="AppName" scope="glance">HomeAssistant</string>
<string id="Confirm">Tak určitě?</string> <string id="Available" scope="glance">Dostupné</string>
<string id="Cached" scope="glance">V mezipaměti</string>
<string id="Checking" scope="glance">Kontrola ...</string>
<string id="ConfigUrlNotFound">URL nebyla nalezena. Potenciální chyba URL konfigurace v nastavení.</string>
<string id="Confirm">Určitě?</string>
<string id="Empty">Prázdný</string>
<string id="Executed" scope="glance">Potvrzeno</string> <string id="Executed" scope="glance">Potvrzeno</string>
<string id="NoPhone" scope="glance">Žádné telefonní spojení</string> <string id="GlanceMenu" scope="glance">Menu</string>
<string id="NoInternet">Žádné internetové připojení</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>
<string id="WebhookFailed">Registrace Webhooku se nezdařila</string>
<string id="TemplateError">Vykreslení šablony se nezdařilo</string>
<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>
<string id="Memory" scope="glance">Paměť</string> <string id="Memory" scope="glance">Paměť</string>
<!-- Pro nastavení GUI --> <string id="MenuUpdated">Menu aktualizováno, restartujte.</string>
<string id="MenuCheckDisabled">Aktualizace menu zakázány.</string>
<string id="NoAPIKey" scope="glance">Žádný klíč API v nastavení aplikace.</string>
<string id="NoApiUrl" scope="glance">Žádná URL API v nastavení aplikace.</string>
<string id="NoConfigUrl" scope="glance">Žádná konfigurační URL v nastavení aplikace.</string>
<string id="NoInternet">Žádné připojení k internetu.</string>
<string id="NoJson">Žádný JSON se nevrátil z požadavku HTTP.</string>
<string id="NoPhone" scope="glance">Žádné telefonní připojení.</string>
<string id="NoPhoneNoCache" scope="glance">Žádné připojení telefonu, žádné menu v mezipaměti.</string>
<string id="NoResponse">Žádná odpověď, zkontrolujte připojení k internetu.</string>
<string id="TimedOut">Vypršel časový limit požadavku.</string>
<string id="PinInputLocked">Vstup PIN uzamčen na</string>
<string id="PotentialError">Potenciální chyba</string>
<string id="Seconds">sekundy</string>
<string id="TemplateError">Chyba šablony</string>
<string id="TrailingSlashErr">URL API nesmí mít koncové lomítko '/'.</string>
<string id="Unavailable" scope="glance">Nedostupné</string>
<string id="Unconfigured" scope="glance">Nekonfigurované</string>
<string id="UnhandledHttpErr">HTTP požadavek vrátil chybový kód =</string>
<string id="WebhookFailed">Nepodařilo se zaregistrovat Webhook</string>
<string id="WrongPin">Špatný PIN</string>
<string id="WifiLteNotAvailable">Není k dispozici žádné Wi-Fi nebo LTE</string>
<string id="WifiLtePrompt">Provést přes Wi-Fi/LTE?</string>
<string id="WifiLteExecutionTitle">Odesílám do Home Assistant.</string>
<string id="WifiLteExecutionDataError">Nebyla přijata žádná data.</string>
<!-- Pro GUI nastavení by měly být řetězce v pořadí, které jsou použity. -->
<string id="SettingsSelect">Vybrat...</string> <string id="SettingsSelect">Vybrat...</string>
<string id="SettingsApiKey">Klíč API pro HomeAssistant.</string> <string id="SettingsApiKey">Klíč API pro HomeAssistant.</string>
<string id="SettingsApiKeyPrompt">Přístupový token s dlouhou životností.</string> <string id="SettingsApiKeyPrompt">Dlouhodobý přístupový token.</string>
<string id="SettingsApiUrl">URL pro HomeAssistant API.</string> <string id="SettingsApiUrl">URL pro HomeAssistant API.</string>
<string id="SettingsConfigUrl">Adresa URL pro konfiguraci nabídky (JSON).</string> <string id="SettingsConfigUrl">URL pro konfiguraci nabídky (JSON).</string>
<string id="SettingsCacheConfig">Má aplikace uložit konfiguraci nabídky do mezipaměti?</string> <string id="SettingsCacheConfig">Měla by aplikace ukládat konfiguraci nabídky?</string>
<string id="SettingsClearCache">Měla by aplikace příště vymazat stávající mezipaměť <string id="SettingsClearCache">Měla by aplikace vymazat stávající mezipaměť při příštím spuštění?</string>
začal?</string> <string id="SettingsEnableMenuUpdateCheck">Kontrolovat aktualizace menu při spuštění aplikace? Poznámka: Ukládání menu do mezipaměti musí být povoleno. Toto nastavení může způsobit pád starších zařízení s menší pamětí.</string>
<string id="SettingsAppTimeout">Časový limit v sekundách. Po uplynutí této doby aplikaci ukončete <string id="SettingsWifiLteExecutionEnable">Povolit provádění příkazů přes Wi-Fi/LTE.</string>
nečinnosti, aby se šetřila baterie zařízení.</string> <string id="SettingsVibration">Měla by aplikace poskytovat zpětnou vazbu prostřednictvím vibrací?</string>
<string id="SettingsConfirmTimeout">Po uplynutí této doby (v sekundách) se zobrazí potvrzovací dialog pro <string id="SettingsAppTimeout">Časový limit v sekundách. Ukončete aplikaci po této době nečinnosti, abyste šetřili baterii zařízení.</string>
akce se automaticky zavře a akce se zruší. Nastavením na 0 deaktivujete časový limit.</string> <string id="SettingsPollDelay">Další zpoždění dotazování (v sekundách). Přidá zpoždění mezi aktualizací stavu všech položek nabídky.</string>
<string id="SettingsTextAlign">Zarovnání nabídky vlevo (vypnuto) nebo vpravo (zapnuto).</string> <string id="SettingsConfirmTimeout">Po této době (v sekundách) je potvrzovací dialog pro akci automaticky uzavřen a akce je zrušena. Nastavte na 0 pro deaktivaci časového limitu.</string>
<string id="LeftToRight">Zleva do prava</string> <string id="SettingsPin">4místný PIN, který se má použít pro všechny akce, které jej vyžadují (0000-9999).</string>
<string id="RightToLeft">Zprava doleva</string> <string id="SettingsPinError">Nakonfigurujte prosím platný čtyřmístný číselný PIN mezi 0000 a 9999 v nastavení aplikace.</string>
<string id="SettingsWidgetStart">(Pouze widget) Automaticky spustit aplikaci z widgetu <string id="SettingsTextAlign">Vlevo (vypnuto) nebo vpravo (zapnuto) zarovnání nabídky.</string>
bez čekání na klepnutí.</string> <string id="SettingsLeftToRight">Zleva doprava</string>
<string id="SettingsEnableBatteryLevel">Povolte službu na pozadí pro odeslání baterie hodin <string id="SettingsRightToLeft">Vpravo doleva</string>
úroveň na Home Assistant.</string> <string id="SettingsWidgetStart">(Pouze widget) Automatické spuštění aplikace z widgetu bez čekání na klepnutí.</string>
<string id="SettingsBatteryLevelRefreshRate">Obnovovací frekvence (v minutách), při které je pozadí <string id="SettingsEnableBatteryLevel">Povolit službě na pozadí odesílat úroveň baterie zařízení, jeho polohu a (pokud je podporováno) údaje o aktivitě do Home Assistant.</string>
servis by měl zopakovat odeslání stavu baterie.</string> <string id="SettingsBatteryLevelRefreshRate">Frekvence aktualizace (v minutách), s jakou má služba na pozadí opakova odesílat data.</string>
<string id="WebhookId">(Pouze pro čtení) ID webhooku vytvořené hodinkami pro aktualizace úrovně baterie. <string id="SettingsUserHttpHeader">Uživatelská hlavička HTTP</string>
Možná to budete potřebovat pro ladění.</string> <string id="SettingsUserHttpHeaderDescription">Některé instalace Home Assistant vyžadují specifikaci vlastní hlavičky HTTP pro správnou funkci.</string>
<string id="SettingsUserHttpHeaderName">Uživatelská hlavička HTTP: Název</string>
<string id="SettingsUserHttpHeaderValue">Uživatelská hlavička HTTP: Hodnota</string>
<string id="SettingsClearWebhookId">Znovu se připojte k Home Assistant (vymazat ID Webhooku, viz příručka pro odstraňování problémů).</string>
<string id="SettingsWebhookId">(Pouze pro čtení) ID Webhooku vytvořené zařízením pro aktualizace služby na pozadí. Možná to budete potřebovat pro ladění.</string>
</strings> </strings>

View File

@@ -9,62 +9,79 @@
tested on a Venu 2 device. The source code is provided at: tested on a Venu 2 device. The source code is provided at:
https://github.com/house-of-abbey/GarminHomeAssistant. https://github.com/house-of-abbey/GarminHomeAssistant.
P A Abbey & J D Abbey & Someone0nEarth, 31 October 2023 P A Abbey & J D Abbey & Someone0nEarth & vincentezw, 31 October 2023
--> -->
<!-- <!--
Generated by Google Translate: English to Danish Generated by Google Translate and gemini-2.5-flash from English to Danish
Genereret af Google Translate fra engelsk Genereret af Google Translate og gemini-2.5-flash fra engelsk til dansk
--> -->
<strings> <strings>
<string id="ApiFlood">API-kald er for hyppige. Sænk venligst dine anmodninger.</string>
<string id="ApiUrlNotFound">URL ikke fundet. Potentiel API-URL-fejl i indstillinger.</string>
<string id="AppName" scope="glance">HomeAssistant</string> <string id="AppName" scope="glance">HomeAssistant</string>
<string id="Confirm">Jo da?</string> <string id="Available" scope="glance">Tilgængelig</string>
<string id="Executed" scope="glance">Bekræftet</string>
<string id="NoPhone" scope="glance">Ingen telefonforbindelse</string>
<string id="NoInternet">Ingen internetforbindelse</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>
<string id="WebhookFailed">Kunne ikke registrere Webhook</string>
<string id="TemplateError">Skabelonen kunne ikke gengives</string>
<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="Cached" scope="glance">Cachelagret</string>
<string id="Checking" scope="glance">Kontrollerer...</string>
<string id="ConfigUrlNotFound">URL ikke fundet. Potentiel konfigurations-URL-fejl i indstillinger.</string>
<string id="Confirm">Sikker?</string>
<string id="Empty">Tom</string>
<string id="Executed" scope="glance">Bekræftet</string>
<string id="GlanceMenu" scope="glance">Menu</string> <string id="GlanceMenu" scope="glance">Menu</string>
<string id="Memory" scope="glance">Hukommelse</string> <string id="Memory" scope="glance">Hukommelse</string>
<!-- Til indstillingerne GUI --> <string id="MenuUpdated">Menu opdateret, genstart.</string>
<string id="MenuCheckDisabled">Menuopdateringer deaktiveret.</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="NoInternet">Ingen internetforbindelse.</string>
<string id="NoJson">Ingen JSON modtaget fra HTTP-anmodning.</string>
<string id="NoPhone" scope="glance">Ingen telefonforbindelse.</string>
<string id="NoPhoneNoCache" scope="glance">Ingen telefonforbindelse, ingen cachelagret menu.</string>
<string id="NoResponse">Intet svar, tjek internetforbindelsen.</string>
<string id="TimedOut">Anmodning udløb</string>
<string id="PinInputLocked">PIN-indtastning låst i</string>
<string id="PotentialError">Potentiel fejl</string>
<string id="Seconds">sekunder</string>
<string id="TemplateError">Skabelonfejl</string>
<string id="TrailingSlashErr">API-URL må ikke have en afsluttende skråstreg '/'.</string>
<string id="Unavailable" scope="glance">Utilgængelig</string>
<string id="Unconfigured" scope="glance">Ukonfigureret</string>
<string id="UnhandledHttpErr">HTTP-anmodning returnerede fejlkode = </string>
<string id="WebhookFailed">Kunne ikke registrere webhook</string>
<string id="WrongPin">Forkert PIN</string>
<string id="WifiLteNotAvailable">Ingen Wi-Fi eller LTE tilgængelig</string>
<string id="WifiLtePrompt">Udfør via Wi-Fi/LTE?</string>
<string id="WifiLteExecutionTitle">Sender til Home Assistant.</string>
<string id="WifiLteExecutionDataError">Ingen data modtaget.</string>
<!-- For indstillingerne GUI skal strenge være i den rækkefølge, de bruges. -->
<string id="SettingsSelect">Vælg...</string> <string id="SettingsSelect">Vælg...</string>
<string id="SettingsApiKey">API-nøgle til HomeAssistant.</string> <string id="SettingsApiKey">API-nøgle til Home Assistant.</string>
<string id="SettingsApiKeyPrompt">Adgangstoken med lang levetid.</string> <string id="SettingsApiKeyPrompt">Langvarig adgangstoken.</string>
<string id="SettingsApiUrl">URL til HomeAssistant API.</string> <string id="SettingsApiUrl">URL til Home Assistant API.</string>
<string id="SettingsConfigUrl">URL til menukonfiguration (JSON).</string> <string id="SettingsConfigUrl">URL til menukonfiguration (JSON).</string>
<string id="SettingsCacheConfig">Skal applikationen cache menukonfigurationen?</string> <string id="SettingsCacheConfig">Skal applikationen cachelagre menukonfigurationen?</string>
<string id="SettingsClearCache">Skal applikationen rydde den eksisterende cache næste gang <string id="SettingsClearCache">Bør applikationen rydde den eksisterende cache næste gang den startes?</string>
startede?</string> <string id="SettingsEnableMenuUpdateCheck">Kontroller for menuopdateringer på applikationsstart? Bemærk: Menu Cache skal være aktiveret. Denne indstilling kan forårsage, at ældre enheder med mindre hukommelse går ned.</string>
<string id="SettingsAppTimeout">Timeout i sekunder. Afslut ansøgningen efter denne periode på <string id="SettingsWifiLteExecutionEnable">Aktivér udførelse af kommandoer over Wi-Fi/LTE.</string>
inaktivitet for at spare enhedens batteri.</string> <string id="SettingsVibration">Bør applikationen give feedback via vibrationer?</string>
<string id="SettingsConfirmTimeout">Efter dette tidspunkt (i sekunder) vises en bekræftelsesdialog for en <string id="SettingsAppTimeout">Timeout i sekunder. Afslut applikationen efter denne periode med inaktivitet for at spare på enhedens batteri.</string>
handlingen lukkes automatisk, og handlingen annulleres. Indstil til 0 for at deaktivere timeout.</string> <string id="SettingsPollDelay">Yderligere afstemningsforsinkelse (i sekunder). Tilføjer en forsinkelse mellem statusopdateringen af alle menupunkter.</string>
<string id="SettingsTextAlign">Venstre (fra) eller Højre (til) menujustering.</string> <string id="SettingsConfirmTimeout">Efter denne tid (i sekunder) lukkes en bekræftelsesdialog for en handling automatisk, og handlingen annulleres. Indstil til 0 for at deaktivere timeout.</string>
<string id="LeftToRight">Venstre til højre</string> <string id="SettingsPin">4-cifret PIN, der skal bruges til alle handlinger, der kræver det (0000-9999).</string>
<string id="RightToLeft">Højre til venstre</string> <string id="SettingsPinError">Konfigurer venligst en gyldig 4-cifret numerisk PIN mellem 0000 og 9999 i applikationsindstillingerne.</string>
<string id="SettingsWidgetStart">(Kun widget) Start automatisk programmet fra widgetten <string id="SettingsTextAlign">Venstre (fra) eller højre (til) menujustering.</string>
uden at vente på et tryk.</string> <string id="SettingsLeftToRight">Venstre til højre</string>
<string id="SettingsEnableBatteryLevel">Aktiver baggrundstjenesten for at sende urets batteri <string id="SettingsRightToLeft">Højre til venstre</string>
niveau til Home Assistant.</string> <string id="SettingsWidgetStart">(Kun widget) Start automatisk applikationen fra widgetten uden at vente på et tryk.</string>
<string id="SettingsBatteryLevelRefreshRate">Opdateringshastigheden (i minutter), som baggrunden <string id="SettingsEnableBatteryLevel">Aktivér baggrundstjenesten til at sende enhedens batteriniveau, lokation og (hvis understøttet) aktivitetsdata til Home Assistant.</string>
tjenesten skal gentage afsendelsen af batteriniveauet.</string> <string id="SettingsBatteryLevelRefreshRate">Opdateringshastigheden (i minutter), hvormed baggrundstjenesten skal gentage afsendelse af data.</string>
<string id="WebhookId">(Skrivebeskyttet) Webhook-id'et oprettet af uret til opdateringer af batteriniveau. <string id="SettingsUserHttpHeader">Brugerdefineret HTTP-header</string>
Du kan kræve dette til fejlretning.</string> <string id="SettingsUserHttpHeaderDescription">Nogle Home Assistant-installationer kræver angivelse af en brugerdefineret HTTP-header for at fungere.</string>
<string id="SettingsUserHttpHeaderName">Brugerdefineret HTTP-header: Navn</string>
<string id="SettingsUserHttpHeaderValue">Brugerdefineret HTTP-header: Værdi</string>
<string id="SettingsClearWebhookId">Opret forbindelse igen til Home Assistant (ryd Webhook-ID, se fejlfindingsguide).</string>
<string id="SettingsWebhookId">(Kun læsning) Webhook-ID'et oprettet af enheden til opdateringer fra baggrundstjenesten. Du kan få brug for dette til fejlfinding.</string>
</strings> </strings>

View File

@@ -16,8 +16,65 @@
<!-- <!--
Corrections for the German language Corrections for the German language
Korrekturen für die deutsche Sprache Korrekturen für die deutsche Sprache
Contributors:
Someone0nEarth
tarekbecker
moesterheld
tispokes
--> -->
<strings> <strings>
<string id="ApiFlood">Zu viele API-Aufrufe in kurzer Zeit. Bitte verlangsame deine Anfragen.</string>
<string id="ApiUrlNotFound">URL nicht gefunden. Möglicher Fehler in der API-URL in den Einstellungen.</string>
<string id="Available" scope="glance">OK</string>
<string id="Cached" scope="glance">gecacht</string>
<string id="Checking" scope="glance">Prüfe...</string>
<string id="ConfigUrlNotFound">URL nicht gefunden. Möglicherweise falsche Konfigurations-URL in den Einstellungen.</string>
<string id="GlanceMenu" scope="glance">Menü</string>
<string id="Memory" scope="glance">Speicher</string>
<string id="NoAPIKey" scope="glance">Kein API-Schlüssel in den App-Einstellungen hinterlegt.</string>
<string id="NoApiUrl" scope="glance">Keine API-URL in den App-Einstellungen hinterlegt.</string>
<string id="NoConfigUrl" scope="glance">Keine Menükonfigurations-URL (JSON) in den App-Einstellungen hinterlegt.</string>
<string id="NoJson">Keine JSON-Datei aus der HTTP-Anfrage zurückbekommen.</string>
<string id="NoPhoneNoCache" scope="glance">Keine Telefonverbindung und kein gecachtes Menü.</string>
<string id="NoResponse">Keine Antwort, bitte Internetverbindung prüfen.</string>
<string id="TimedOut">Anfragezeit überschritten.</string>
<string id="PinInputLocked">PIN-Eingabe gesperrt für</string>
<string id="PotentialError">Möglicher Fehler</string>
<string id="TemplateError">Template konnte nicht gerendert werden</string>
<string id="TrailingSlashErr">API-URL darf nicht mit einem Schrägstrich '/' enden.</string>
<string id="UnhandledHttpErr">Die HTTP-Anfrage gab folgenden Fehlercode zurück = </string> <string id="UnhandledHttpErr">Die HTTP-Anfrage gab folgenden Fehlercode zurück = </string>
<string id="WebhookFailed">Webhook-Registrierung fehlgeschlagen.</string>
<string id="WrongPin">Falsche PIN.</string>
<string id="WifiLteNotAvailable">Kein WLAN oder LTE verfügbar.</string>
<string id="WifiLtePrompt">Über WLAN/LTE ausführen?</string>
<string id="WifiLteExecutionTitle">Sende an Home Assistant.</string>
<string id="WifiLteExecutionDataError">Keine Daten empfangen.</string>
<!-- Für die Einstellungs-GUI: Reihenfolge entspricht der Nutzung -->
<string id="SettingsSelect">Auswählen...</string>
<string id="SettingsApiKey">API-Schlüssel für HomeAssistant.</string>
<string id="SettingsApiKeyPrompt">Langzeit-Zugangstoken.</string>
<string id="SettingsApiUrl">URL der HomeAssistant-API.</string>
<string id="SettingsConfigUrl">URL für die Menükonfiguration (JSON).</string>
<string id="SettingsCacheConfig">Soll die App die Menükonfiguration cachen?</string>
<string id="SettingsClearCache">Soll die Anwendung beim nächsten Start den vorhandenen Cache löschen?</string>
<string id="SettingsWifiLteExecutionEnable">Befehlsausführung über WLAN/LTE aktivieren.</string>
<string id="SettingsVibration">Soll die App Rückmeldung per Vibration geben?</string>
<string id="SettingsAppTimeout">Timeout in Sekunden. Beendet die App nach dieser Inaktivitätszeit, um Akku zu sparen.</string>
<string id="SettingsPollDelay">Zusätzliche Abfrageverzögerung (in Sekunden). Fügt zwischen den Status-Updates der Menüeinträge eine Pause ein.</string>
<string id="SettingsConfirmTimeout">Nach dieser Zeit (in Sekunden) wird ein Bestätigungsdialog automatisch geschlossen und die Aktion abgebrochen. Mit 0 deaktivieren.</string>
<string id="SettingsPin">4-stellige PIN für alle Aktionen, die diese erfordern (0000-9999).</string>
<string id="SettingsPinError">Bitte eine gültige 4-stellige numerische PIN in den App Einstellungen eingeben (0000-9999).</string>
<string id="SettingsTextAlign">Menüausrichtung: Links (aus) oder Rechts (ein).</string>
<string id="SettingsRightToLeft">Von rechts nach links</string>
<string id="SettingsWidgetStart">(Nur Widget) App automatisch aus dem Widget starten, ohne auf Tippen zu warten.</string>
<string id="SettingsEnableBatteryLevel">Hintergrunddienst aktivieren, um Akkustand, Standort und (falls unterstützt) Aktivitätsdaten an Home Assistant zu senden.</string>
<string id="SettingsBatteryLevelRefreshRate">Intervall (in Minuten), in dem der Hintergrunddienst die Daten erneut senden soll.</string>
<string id="SettingsUserHttpHeader">Zusätzlicher HTTP-Header</string>
<string id="SettingsUserHttpHeaderDescription">Einige Home Assistant-Installationen erfordern die Angabe eines benutzerdefinierten HTTP-Headers, um zu funktionieren.</string>
<string id="SettingsUserHttpHeaderName">Zusätzlicher HTTP-Header: Name</string>
<string id="SettingsUserHttpHeaderValue">Zusätzlicher HTTP-Header: Value</string>
<string id="SettingsWebhookId">(Nur lesen) Die vom Gerät erstellte Webhook-ID für Hintergrund-Updates. Kann zum Debuggen benötigt werden.</string>
</strings> </strings>

View File

@@ -9,62 +9,79 @@
tested on a Venu 2 device. The source code is provided at: tested on a Venu 2 device. The source code is provided at:
https://github.com/house-of-abbey/GarminHomeAssistant. https://github.com/house-of-abbey/GarminHomeAssistant.
P A Abbey & J D Abbey & Someone0nEarth, 31 October 2023 P A Abbey & J D Abbey & Someone0nEarth & vincentezw, 31 October 2023
--> -->
<!-- <!--
Generated by Google Translate: English to German Generated by Google Translate and gemini-2.5-flash from English to German
Erstellt durch Google Translate aus dem Englischen Generiert von Google Translate und gemini-2.5-flash aus dem Englischen ins Deutsche
--> -->
<strings> <strings>
<string id="ApiFlood">Zu viele API-Aufrufe in kurzer Zeit. Bitte verlangsame deine Anfragen.</string>
<string id="ApiUrlNotFound">URL nicht gefunden. Möglicher Fehler in der API-URL in den Einstellungen.</string>
<string id="AppName" scope="glance">HomeAssistant</string> <string id="AppName" scope="glance">HomeAssistant</string>
<string id="Available" scope="glance">OK</string>
<string id="Cached" scope="glance">gecacht</string>
<string id="Checking" scope="glance">Prüfe...</string>
<string id="ConfigUrlNotFound">URL nicht gefunden. Möglicherweise falsche Konfigurations-URL in den Einstellungen.</string>
<string id="Confirm">Sicher?</string> <string id="Confirm">Sicher?</string>
<string id="Empty">Leer</string>
<string id="Executed" scope="glance">Bestätigt</string> <string id="Executed" scope="glance">Bestätigt</string>
<string id="NoPhone" scope="glance">Keine Telefonverbindung</string> <string id="GlanceMenu" scope="glance">Menü</string>
<string id="NoInternet">Keine Internetverbindung</string> <string id="Memory" scope="glance">Speicher</string>
<string id="NoResponse">Keine Antwort, überprüfen Sie die Internetverbindung</string> <string id="MenuUpdated">Menü aktualisiert, neu starten.</string>
<string id="NoAPIKey" scope="glance">Kein API-Schlüssel in den Anwendungseinstellungen</string> <string id="MenuCheckDisabled">Menü -Updates deaktiviert.</string>
<string id="NoApiUrl" scope="glance">Keine API-URL in den Anwendungseinstellungen</string> <string id="NoAPIKey" scope="glance">Kein API-Schlüssel in den App-Einstellungen hinterlegt.</string>
<string id="NoConfigUrl" scope="glance">Keine Konfigurations-URL in den Anwendungseinstellungen</string> <string id="NoApiUrl" scope="glance">Keine API-URL in den App-Einstellungen hinterlegt.</string>
<string id="ApiFlood">API-Aufrufe zu schnell. Bitte verlangsamen Sie Ihre Anfragen.</string> <string id="NoConfigUrl" scope="glance">Keine Menükonfigurations-URL (JSON) in den App-Einstellungen hinterlegt.</string>
<string id="ApiUrlNotFound">URL nicht gefunden. Möglicher API-URL-Fehler in den Einstellungen.</string> <string id="NoInternet">Keine Internetverbindung.</string>
<string id="ConfigUrlNotFound">URL nicht gefunden. Möglicher Konfigurations-URL-Fehler in den Einstellungen.</string> <string id="NoJson">Keine JSON-Datei aus der HTTP-Anfrage zurückbekommen.</string>
<string id="NoJson">Von der HTTP-Anfrage wurde kein JSON zurückgegeben.</string> <string id="NoPhone" scope="glance">Keine Telefonverbindung.</string>
<string id="UnhandledHttpErr">Die HTTP-Anfrage gab folgenden Fehlercode zurück = </string> <string id="NoPhoneNoCache" scope="glance">Keine Telefonverbindung und kein gecachtes Menü.</string>
<string id="TrailingSlashErr">Die API-URL darf keinen abschließenden Schrägstrich „/“ enthalten.</string> <string id="NoResponse">Keine Antwort, bitte Internetverbindung prüfen.</string>
<string id="WebhookFailed">Webhook konnte nicht registriert werden</string> <string id="TimedOut">Anfragezeit überschritten.</string>
<string id="TemplateError">Vorlage konnte nicht gerendert werden</string> <string id="PinInputLocked">PIN-Eingabe gesperrt für</string>
<string id="Available" scope="glance">Verfügbar</string> <string id="PotentialError">Möglicher Fehler</string>
<string id="Checking" scope="glance">Überprüfung...</string> <string id="Seconds">Sekunden</string>
<string id="TemplateError">Template konnte nicht gerendert werden</string>
<string id="TrailingSlashErr">API-URL darf nicht mit einem Schrägstrich '/' enden.</string>
<string id="Unavailable" scope="glance">Nicht verfügbar</string> <string id="Unavailable" scope="glance">Nicht verfügbar</string>
<string id="Unconfigured" scope="glance">Unkonfiguriert</string> <string id="Unconfigured" scope="glance">Nicht konfiguriert</string>
<string id="Cached" scope="glance">Zwischengespeichert</string> <string id="UnhandledHttpErr">Die HTTP-Anfrage gab folgenden Fehlercode zurück = </string>
<string id="GlanceMenu" scope="glance">Speisekarte</string> <string id="WebhookFailed">Webhook-Registrierung fehlgeschlagen.</string>
<string id="Memory" scope="glance">Erinnerung</string> <string id="WrongPin">Falsche PIN.</string>
<!-- Für die Einstellungs-GUI --> <string id="WifiLteNotAvailable">Kein WLAN oder LTE verfügbar.</string>
<string id="SettingsSelect">Wählen...</string> <string id="WifiLtePrompt">Über WLAN/LTE ausführen?</string>
<string id="WifiLteExecutionTitle">Sende an Home Assistant.</string>
<string id="WifiLteExecutionDataError">Keine Daten empfangen.</string>
<!-- Für die Einstellungs-Benutzeroberfläche sollten die Texte in der Reihenfolge ihrer Verwendung angeordnet sein. -->
<string id="SettingsSelect">Auswählen...</string>
<string id="SettingsApiKey">API-Schlüssel für HomeAssistant.</string> <string id="SettingsApiKey">API-Schlüssel für HomeAssistant.</string>
<string id="SettingsApiKeyPrompt">Langlebiges Zugriffstoken.</string> <string id="SettingsApiKeyPrompt">Langzeit-Zugangstoken.</string>
<string id="SettingsApiUrl">URL für die HomeAssistant-API.</string> <string id="SettingsApiUrl">URL der HomeAssistant-API.</string>
<string id="SettingsConfigUrl">URL zur Menükonfiguration (JSON).</string> <string id="SettingsConfigUrl">URL für die Menükonfiguration (JSON).</string>
<string id="SettingsCacheConfig">Soll die Anwendung die Menükonfiguration zwischenspeichern?</string> <string id="SettingsCacheConfig">Soll die App die Menükonfiguration cachen?</string>
<string id="SettingsClearCache">Sollte die Anwendung beim nächsten Mal den vorhandenen Cache löschen? <string id="SettingsClearCache">Soll die Anwendung beim nächsten Start den vorhandenen Cache löschen?</string>
gestartet?</string> <string id="SettingsEnableMenuUpdateCheck">Überprüfen Sie die Menü -Updates für Anwendungsstart? HINWEIS: Das Menü Caching muss aktiviert sein. Diese Einstellung kann dazu führen, dass ältere Geräte mit weniger Speicher abstürzen.</string>
<string id="SettingsAppTimeout">Timeout in Sekunden. Beenden Sie die Anwendung nach Ablauf dieser Frist <string id="SettingsWifiLteExecutionEnable">Befehlsausführung über WLAN/LTE aktivieren.</string>
Inaktivität, um den Akku des Geräts zu schonen.</string> <string id="SettingsVibration">Soll die App Rückmeldung per Vibration geben?</string>
<string id="SettingsConfirmTimeout">Nach dieser Zeit (in Sekunden) erscheint ein Bestätigungsdialog für eine <string id="SettingsAppTimeout">Timeout in Sekunden. Beendet die App nach dieser Inaktivitätszeit, um Akku zu sparen.</string>
Die Aktion wird automatisch geschlossen und die Aktion abgebrochen. Auf 0 setzen, um das Timeout zu deaktivieren.</string> <string id="SettingsPollDelay">Zusätzliche Abfrageverzögerung (in Sekunden). Fügt zwischen den Status-Updates der Menüeinträge eine Pause ein.</string>
<string id="SettingsTextAlign">Menüausrichtung links (aus) oder rechts (ein).</string> <string id="SettingsConfirmTimeout">Nach dieser Zeit (in Sekunden) wird ein Bestätigungsdialog automatisch geschlossen und die Aktion abgebrochen. Mit 0 deaktivieren.</string>
<string id="LeftToRight">Links nach rechts</string> <string id="SettingsPin">4-stellige PIN für alle Aktionen, die diese erfordern (0000-9999).</string>
<string id="RightToLeft">Rechts nach links</string> <string id="SettingsPinError">Bitte eine gültige 4-stellige numerische PIN in den App Einstellungen eingeben (0000-9999).</string>
<string id="SettingsWidgetStart">(Nur Widget) Starten Sie die Anwendung automatisch über das Widget <string id="SettingsTextAlign">Menüausrichtung: Links (aus) oder Rechts (ein).</string>
ohne auf einen Fingertipp warten zu müssen.</string> <string id="SettingsLeftToRight">Von links nach rechts</string>
<string id="SettingsEnableBatteryLevel">Aktivieren Sie den Hintergrunddienst, um die Uhrbatterie zu senden <string id="SettingsRightToLeft">Von rechts nach links</string>
Ebene zum Home Assistant.</string> <string id="SettingsWidgetStart">(Nur Widget) App automatisch aus dem Widget starten, ohne auf Tippen zu warten.</string>
<string id="SettingsBatteryLevelRefreshRate">Die Aktualisierungsrate (in Minuten), mit der der Hintergrund angezeigt wird <string id="SettingsEnableBatteryLevel">Hintergrunddienst aktivieren, um Akkustand, Standort und (falls unterstützt) Aktivitätsdaten an Home Assistant zu senden.</string>
Der Service sollte das Senden des Batteriestands wiederholen.</string> <string id="SettingsBatteryLevelRefreshRate">Intervall (in Minuten), in dem der Hintergrunddienst die Daten erneut senden soll.</string>
<string id="WebhookId">(Schreibgeschützt) Die von der Uhr erstellte Webhook-ID für Aktualisierungen des Batteriestands. <string id="SettingsUserHttpHeader">Zusätzlicher HTTP-Header</string>
Möglicherweise benötigen Sie dies zum Debuggen.</string> <string id="SettingsUserHttpHeaderDescription">Einige Home Assistant-Installationen erfordern die Angabe eines benutzerdefinierten HTTP-Headers, um zu funktionieren.</string>
<string id="SettingsUserHttpHeaderName">Zusätzlicher HTTP-Header: Name</string>
<string id="SettingsUserHttpHeaderValue">Zusätzlicher HTTP-Header: Value</string>
<string id="SettingsClearWebhookId">Neu mit Home Assistant verbinden (Webhook-ID löschen, siehe Fehlerbehebungshandbuch).</string>
<string id="SettingsWebhookId">(Nur lesen) Die vom Gerät erstellte Webhook-ID für Hintergrund-Updates. Kann zum Debuggen benötigt werden.</string>
</strings> </strings>

View File

@@ -9,62 +9,94 @@
tested on a Venu 2 device. The source code is provided at: tested on a Venu 2 device. The source code is provided at:
https://github.com/house-of-abbey/GarminHomeAssistant. https://github.com/house-of-abbey/GarminHomeAssistant.
P A Abbey & J D Abbey & Someone0nEarth, 31 October 2023 P A Abbey & J D Abbey & Someone0nEarth & vincentezw, 31 October 2023
--> -->
<!-- <!--
Generated by Google Translate: English to Dutch Generated by Google Translate and gemini-2.5-flash from English to Dutch
Gegenereerd door Google Translate uit het Engels Gegenereerd door Google Translate en gemini-2.5-flash van Engels naar Nederlands
--> -->
<strings> <strings>
<string id="AppName" scope="glance">HomeAssistant</string>
<string id="Confirm">Zeker?</string>
<string id="Executed" scope="glance">Bevestigd</string>
<string id="NoPhone" scope="glance">Geen telefoonverbinding</string>
<string id="NoInternet">Geen internet verbinding</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="ApiFlood">API-aanroepen te snel. Vertraag uw verzoeken.</string>
<string id="ApiUrlNotFound">URL niet gevonden. Mogelijke API-URL-fout in instellingen.</string> <string id="ApiUrlNotFound">URL niet gevonden. Potentiële API-URL-fout in instellingen.</string>
<string id="ConfigUrlNotFound">URL niet gevonden. Mogelijke configuratie-URL-fout in de instellingen.</string> <string id="AppName" scope="glance">HomeAssistant</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>
<string id="WebhookFailed">Registreren van Webhook is mislukt</string>
<string id="TemplateError">Kan de sjabloon niet weergeven</string>
<string id="Available" scope="glance">Beschikbaar</string> <string id="Available" scope="glance">Beschikbaar</string>
<string id="Checking" scope="glance">Controleren...</string> <string id="Cached" scope="glance">In cache</string>
<string id="Unavailable" scope="glance">Niet beschikbaar</string> <string id="Checking" scope="glance">Controleren ...</string>
<string id="Unconfigured" scope="glance">Niet geconfigureerd</string> <string id="ConfigUrlNotFound">URL niet gevonden. Potentiële configuratie-URL-fout in
<string id="Cached" scope="glance">In cache opgeslagen</string> instellingen.</string>
<string id="Confirm">Zeker?</string>
<string id="Empty">Leeg</string>
<string id="Executed" scope="glance">Bevestigd</string>
<string id="GlanceMenu" scope="glance">Menu</string> <string id="GlanceMenu" scope="glance">Menu</string>
<string id="Memory" scope="glance">Geheugen</string> <string id="Memory" scope="glance">Geheugen</string>
<!-- Voor de instellingen GUI --> <string id="MenuUpdated">Menu bijgewerkt, opnieuw opstarten.</string>
<string id="SettingsSelect">Selecteer...</string> <string id="MenuCheckDisabled">Menu-updates uitgeschakeld.</string>
<string id="SettingsApiKey">API-sleutel voor HomeAssistant.</string> <string id="NoAPIKey" scope="glance">Geen API-sleutel in de toepassingsinstellingen.</string>
<string id="SettingsApiKeyPrompt">Toegangstoken met lange levensduur.</string> <string id="NoApiUrl" scope="glance">Geen API-URL in de toepassingsinstellingen.</string>
<string id="SettingsApiUrl">URL voor HomeAssistant API.</string> <string id="NoConfigUrl" scope="glance">Geen configuratie-URL in de toepassingsinstellingen.</string>
<string id="NoInternet">Geen internetverbinding.</string>
<string id="NoJson">Geen JSON ontvangen van het HTTP-verzoek.</string>
<string id="NoPhone" scope="glance">Geen telefoonverbinding.</string>
<string id="NoPhoneNoCache" scope="glance">Geen telefoonverbinding, geen menu in de cache.</string>
<string id="NoResponse">Geen antwoord, controleer internetverbinding</string>
<string id="TimedOut">Verzoek is verlopen</string>
<string id="PinInputLocked">PIN-invoer vergrendeld voor</string>
<string id="PotentialError">Potentiële fout</string>
<string id="Seconds">seconden</string>
<string id="TemplateError">Sjabloonfout</string>
<string id="TrailingSlashErr">API-URL mag geen afsluitende schuine streep '/' hebben.</string>
<string id="Unavailable" scope="glance">Niet beschikbaar</string>
<string id="Unconfigured" scope="glance">Niet geconfigureerd</string>
<string id="UnhandledHttpErr">HTTP-verzoek retourneerde foutcode =</string>
<string id="WebhookFailed">Kon Webhook niet registreren</string>
<string id="WrongPin">Verkeerde PIN</string>
<string id="WifiLteNotAvailable">Geen Wi-Fi of LTE beschikbaar</string>
<string id="WifiLtePrompt">Uitvoeren via Wi-Fi/LTE?</string>
<string id="WifiLteExecutionTitle">Verzenden naar homeassistent.</string>
<string id="WifiLteExecutionDataError">Geen gegevens ontvangen.</string>
<!-- Voor de instellingen-GUI moeten strings in de volgorde staan waarin ze worden gebruikt. -->
<string id="SettingsSelect">Selecteer ...</string>
<string id="SettingsApiKey">API-sleutel voor Home Assistant.</string>
<string id="SettingsApiKeyPrompt">Langdurige Access Token.</string>
<string id="SettingsApiUrl">URL voor Home Assistant API.</string>
<string id="SettingsConfigUrl">URL voor menuconfiguratie (JSON).</string> <string id="SettingsConfigUrl">URL voor menuconfiguratie (JSON).</string>
<string id="SettingsCacheConfig">Moet de applicatie de menuconfiguratie in de cache opslaan?</string> <string id="SettingsCacheConfig">Moet de applicatie de menuconfiguratie cachen?</string>
<string id="SettingsClearCache">Moet de toepassing de volgende keer de bestaande cache wissen? <string id="SettingsClearCache">Moet de applicatie de bestaande cache wissen bij de volgende
begonnen?</string> start?</string>
<string id="SettingsAppTimeout">Time-out in seconden. Sluit de applicatie na deze periode af <string id="SettingsEnableMenuUpdateCheck">Controleren op menu-updates bij het starten van de applicatie? Let op: Menu-caching moet zijn ingeschakeld. Deze instelling kan ervoor zorgen dat oudere apparaten met minder geheugen crashen.</string>
<string id="SettingsWifiLteExecutionEnable">Schakel het uitvoeren van opdrachten via Wi-Fi/LTE in.</string>
<string id="SettingsVibration">Moet de applicatie feedback geven via trillingen?</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> inactiviteit om de batterij van het apparaat te sparen.</string>
<string id="SettingsConfirmTimeout">Na deze tijd (in seconden) verschijnt er een bevestigingsvenster voor een <string id="SettingsPollDelay">Extra pollingvertraging (in seconden). Voegt een vertraging toe
actie wordt automatisch gesloten en de actie wordt geannuleerd. Stel in op 0 om de time-out uit te schakelen.</string> tussen de statusupdate van alle menu-items.</string>
<string id="SettingsTextAlign">Links (uit) of rechts (aan) Menu-uitlijning.</string> <string id="SettingsConfirmTimeout">Na deze tijd (in seconden) wordt een
<string id="LeftToRight">Van links naar rechts</string> bevestigingsdialoogvenster voor een actie automatisch gesloten en wordt de actie geannuleerd.
<string id="RightToLeft">Rechts naar links</string> Stel in op 0 om de time-out uit te schakelen.</string>
<string id="SettingsWidgetStart">(Alleen Widget) Start de applicatie automatisch vanuit de widget <string id="SettingsPin">4-cijferige PIN die moet worden gebruikt voor alle acties die dit
zonder te wachten op een tikje.</string> vereisen (0000-9999).</string>
<string id="SettingsEnableBatteryLevel">Schakel de achtergrondservice in om de klokbatterij te verzenden <string id="SettingsPinError">Configureer een geldige 4-cijferige numerieke PIN tussen 0000 en
niveau naar Home Assistant.</string> 9999 in de toepassingsinstellingen.</string>
<string id="SettingsBatteryLevelRefreshRate">De vernieuwingsfrequentie (in minuten) waarmee de achtergrond wordt weergegeven <string id="SettingsTextAlign">Links (uit) of rechts (aan) menu-uitlijning.</string>
service moet het batterijniveau opnieuw verzenden.</string> <string id="SettingsLeftToRight">Van links naar rechts</string>
<string id="WebhookId">(Alleen-lezen) De Webhook-ID die door het horloge is aangemaakt voor updates van het batterijniveau. <string id="SettingsRightToLeft">Van rechts naar links</string>
Mogelijk hebt u dit nodig voor foutopsporing.</string> <string id="SettingsWidgetStart">(Alleen widget) Start de toepassing automatisch vanuit de widget
zonder te wachten op een tik.</string>
<string id="SettingsEnableBatteryLevel">Schakel de achtergrondservice in om het batterijniveau van
het apparaat, de locatie en (indien ondersteund) activiteitsgegevens naar Home Assistant te
verzenden.</string>
<string id="SettingsBatteryLevelRefreshRate">De verversingssnelheid (in minuten) waarbij de
achtergrondservice het verzenden van gegevens moet herhalen.</string>
<string id="SettingsUserHttpHeader">Door gebruiker opgegeven HTTP-header</string>
<string id="SettingsUserHttpHeaderDescription">Sommige Home Assistant-installaties vereisen de
specificatie van een aangepaste HTTP-header om te functioneren.</string>
<string id="SettingsUserHttpHeaderName">Door gebruiker opgegeven HTTP-header: Naam</string>
<string id="SettingsUserHttpHeaderValue">Door gebruiker opgegeven HTTP-header: Waarde</string>
<string id="SettingsClearWebhookId">Opnieuw verbinden met Home Assistant (Webhook-ID wissen, zie
Gids voor probleemoplossing).</string>
<string id="SettingsWebhookId">(Alleen lezen) De Webhook-ID die door het apparaat is gemaakt voor
updates van de achtergrondservice. Mogelijk heeft u dit nodig voor foutopsporing.</string>
</strings> </strings>

View File

@@ -9,62 +9,91 @@
tested on a Venu 2 device. The source code is provided at: tested on a Venu 2 device. The source code is provided at:
https://github.com/house-of-abbey/GarminHomeAssistant. https://github.com/house-of-abbey/GarminHomeAssistant.
P A Abbey & J D Abbey & Someone0nEarth, 31 October 2023 P A Abbey & J D Abbey & Someone0nEarth & vincentezw, 31 October 2023
--> -->
<!-- <!--
Generated by Google Translate: English to Estonian Generated by Google Translate and gemini-2.5-flash from English to Estonian
Inglise keelest loodud Google'i tõlke abil Genereeritud Google Translate'i ja gemini-2.5-flashi poolt inglise keelest eesti keelde
--> -->
<strings> <strings>
<string id="AppName" scope="glance">HomeAssistant</string> <string id="ApiFlood">API kõned on liiga kiired. Palun aeglustage oma päringuid.</string>
<string id="Confirm">Muidugi?</string>
<string id="Executed" scope="glance">Kinnitatud</string>
<string id="NoPhone" scope="glance">Telefoniühendus puudub</string>
<string id="NoInternet">Interneti-ühendus puudub</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-kutsed liiga kiired. Palun aeglustage oma taotlusi.</string>
<string id="ApiUrlNotFound">URL-i ei leitud. Võimalik API URL-i viga seadetes.</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="AppName" scope="glance">HomeAssistant</string>
<string id="NoJson">HTTP-päringust ei tagastatud ühtegi JSON-i.</string> <string id="Available" scope="glance">Saadav</string>
<string id="UnhandledHttpErr">HTTP päring tagastas veakoodi =</string>
<string id="TrailingSlashErr">API URL-i lõpus ei tohi olla kaldkriipsu „/”</string>
<string id="WebhookFailed">Webhaoki registreerimine ebaõnnestus</string>
<string id="TemplateError">Malli renderdamine ebaõnnestus</string>
<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="Cached" scope="glance">Vahemällu salvestatud</string>
<string id="Checking" scope="glance">Kontrollin...</string>
<string id="ConfigUrlNotFound">URL-i ei leitud. Võimalik konfiguratsiooni URL-i viga seadetes.</string>
<string id="Confirm">Kindel?</string>
<string id="Empty">Tühi</string>
<string id="Executed" scope="glance">Kinnitatud</string>
<string id="GlanceMenu" scope="glance">Menüü</string> <string id="GlanceMenu" scope="glance">Menüü</string>
<string id="Memory" scope="glance">Mälu</string> <string id="Memory" scope="glance">Mälu</string>
<!-- Seadete GUI jaoks --> <string id="MenuUpdated">Menüü värskendatud, taaskäivita.</string>
<string id="SettingsSelect">Vali...</string> <string id="MenuCheckDisabled">Menüü värskendused keelatud.</string>
<string id="SettingsApiKey">API-võti HomeAssistantile.</string> <string id="NoAPIKey" scope="glance">Rakenduse seadetes pole API võtit.</string>
<string id="SettingsApiKeyPrompt">Pikaealine juurdepääsuluba.</string> <string id="NoApiUrl" scope="glance">Rakenduse seadetes pole API URL-i.</string>
<string id="SettingsApiUrl">HomeAssistant API URL.</string> <string id="NoConfigUrl" scope="glance">Rakenduse seadetes pole konfiguratsiooni URL-i.</string>
<string id="SettingsConfigUrl">URL menüü konfigureerimiseks (JSON).</string> <string id="NoInternet">Interneti-ühendust pole.</string>
<string id="NoJson">HTTP päring ei tagastanud JSON-i.</string>
<string id="NoPhone" scope="glance">Telefoniühendust pole.</string>
<string id="NoPhoneNoCache" scope="glance">Pole telefoniühendust ega vahemällu salvestatud menüüd.</string>
<string id="NoResponse">Vastust pole, kontrollige Interneti-ühendust</string>
<string id="TimedOut">Päring aegus</string>
<string id="PinInputLocked">PIN-koodi sisestus lukustatud</string>
<string id="PotentialError">Potentsiaalne viga</string>
<string id="Seconds">sekundid</string>
<string id="TemplateError">Malli viga</string>
<string id="TrailingSlashErr">API URL-il ei tohi olla lõpus kaldkriipsu '/'.</string>
<string id="Unavailable" scope="glance">Kättesaamatu</string>
<string id="Unconfigured" scope="glance">Konfigureerimata</string>
<string id="UnhandledHttpErr">HTTP päring tagastas veakoodi = </string>
<string id="WebhookFailed">Webhooki registreerimine ebaõnnestus</string>
<string id="WrongPin">Vale PIN-kood</string>
<string id="WifiLteNotAvailable">Wi-Fi ega LTE pole saadaval</string>
<string id="WifiLtePrompt">Täita üle Wi-Fi/LTE?</string>
<string id="WifiLteExecutionTitle">Saadan Home Assistantile.</string>
<string id="WifiLteExecutionDataError">Andmeid pole laekunud.</string>
<!-- Seadete GUI jaoks peaksid stringid olema kasutamise järjekorras. -->
<string id="SettingsSelect">Valige...</string>
<string id="SettingsApiKey">API võti Home Assistantile.</string>
<string id="SettingsApiKeyPrompt">Pikaajaline juurdepääsuluba.</string>
<string id="SettingsApiUrl">URL Home Assistanti API jaoks.</string>
<string id="SettingsConfigUrl">URL menüü konfiguratsiooni jaoks (JSON).</string>
<string id="SettingsCacheConfig">Kas rakendus peaks menüü konfiguratsiooni vahemällu salvestama?</string> <string id="SettingsCacheConfig">Kas rakendus peaks menüü konfiguratsiooni vahemällu salvestama?</string>
<string id="SettingsClearCache">Kas rakendus peaks järgmisel korral olemasoleva vahemälu tühjendama <string id="SettingsClearCache">Kas rakendus peaks järgmisel käivitamisel olemasoleva vahemälu
algas?</string> tühjendama?</string>
<string id="SettingsAppTimeout">Aegumine sekundites. Väljuge rakendusest pärast seda perioodi <string id="SettingsEnableMenuUpdateCheck">Kontrolli menüü värskendusi rakenduse käivitamisel? Märkus: Menüü vahemällu salvestamine peab olema lubatud. See säte võib põhjustada vanemate, vähem mälu omavate seadmete kokkujooksmise.</string>
tegevusetus, et säästa seadme akut.</string> <string id="SettingsWifiLteExecutionEnable">Luba käskude täitmine Wi-Fi/LTE kaudu.</string>
<string id="SettingsConfirmTimeout">Pärast seda aega (sekundites) kuvatakse kinnitusdialoog an <string id="SettingsVibration">Kas rakendus peaks vibratsiooni kaudu tagasisidet andma?</string>
toiming suletakse automaatselt ja toiming tühistatakse. Ajalõpu keelamiseks määrake väärtusele 0.</string> <string id="SettingsAppTimeout">Aegumine sekundites. Väljuge rakendusest pärast seda tegevusetuse
<string id="SettingsTextAlign">Vasak (väljas) või parem (sees) menüü joondamine.</string> perioodi, et säästa seadme akut.</string>
<string id="LeftToRight">Vasakult paremale</string> <string id="SettingsPollDelay">Täiendav päringuviivitus (sekundites). Lisab viivituse kõigi
<string id="RightToLeft">Paremalt vasakule</string> menüüelementide olekuvärskenduste vahele.</string>
<string id="SettingsWidgetStart">(Ainult vidin) Käivitage rakendus automaatselt vidinast <string id="SettingsConfirmTimeout">Pärast seda aega (sekundites) suletakse toimingu
kinnitusdialoog automaatselt ja toiming tühistatakse. Määra 0, et aegumine keelata.</string>
<string id="SettingsPin">4-kohaline PIN-kood, mida kasutatakse kõigi seda nõudvate toimingute
jaoks (0000-9999).</string>
<string id="SettingsPinError">Palun konfigureerige rakenduse seadetes kehtiv 4-kohaline numbriline
PIN-kood vahemikus 0000 kuni 9999.</string>
<string id="SettingsTextAlign">Vasak (väljas) või parem (sees) menüü joondus.</string>
<string id="SettingsLeftToRight">Vasakult paremale</string>
<string id="SettingsRightToLeft">Paremale vasakule</string>
<string id="SettingsWidgetStart">(Ainult vidin) Käivitage rakendus vidinast automaatselt, ilma
puudutust ootamata.</string> puudutust ootamata.</string>
<string id="SettingsEnableBatteryLevel">Kella aku saatmiseks lubage taustteenus <string id="SettingsEnableBatteryLevel">Luba taustateenusel saata seadme aku tase, asukoht ja (kui
tasemel koduabilisele.</string> toetatud) tegevusandmed Home Assistantile.</string>
<string id="SettingsBatteryLevelRefreshRate">Värskendussagedus (minutites), mille juures taust <string id="SettingsBatteryLevelRefreshRate">Värskendussagedus (minutites), millega taustateenus
teenindus peaks aku taseme saatmist kordama.</string> peaks andmete saatmist kordama.</string>
<string id="WebhookId">(Ainult lugemiseks) Kella loodud veebihaagi ID aku taseme värskendamiseks. <string id="SettingsUserHttpHeader">Kasutaja määratud HTTP päis</string>
Võib-olla vajate seda silumiseks.</string> <string id="SettingsUserHttpHeaderDescription">Mõned Home Assistanti installatsioonid vajavad
toimimiseks kohandatud HTTP päise määramist.</string>
<string id="SettingsUserHttpHeaderName">Kasutaja määratud HTTP päis: Nimi</string>
<string id="SettingsUserHttpHeaderValue">Kasutaja määratud HTTP päis: Väärtus</string>
<string id="SettingsClearWebhookId">Ühenda uuesti Home Assistantiga (tühjenda Webhooki ID, vt
tõrkeotsingu juhendit).</string>
<string id="SettingsWebhookId">(Ainult lugemiseks) Seadme loodud Webhooki ID taustateenuse
värskenduste jaoks. Võite seda silumiseks vajada.</string>
</strings> </strings>

View File

@@ -9,62 +9,94 @@
tested on a Venu 2 device. The source code is provided at: tested on a Venu 2 device. The source code is provided at:
https://github.com/house-of-abbey/GarminHomeAssistant. https://github.com/house-of-abbey/GarminHomeAssistant.
P A Abbey & J D Abbey & Someone0nEarth, 31 October 2023 P A Abbey & J D Abbey & Someone0nEarth & vincentezw, 31 October 2023
--> -->
<!-- <!--
Generated by Google Translate: English to Finnish Generated by Google Translate and gemini-2.5-flash from English to Finnish
Luonut Google Translate englannista Generoinut Google Translate ja gemini-2.5-flash englannista suomeksi
--> -->
<strings> <strings>
<string id="ApiFlood">API-kutsut liian tiheitä. Hidasta pyyntöjäsi.</string>
<string id="ApiUrlNotFound">URL-osoitetta ei löydy. Mahdollinen API-URL-virhe asetuksissa.</string>
<string id="AppName" scope="glance">HomeAssistant</string> <string id="AppName" scope="glance">HomeAssistant</string>
<string id="Confirm">Varma?</string> <string id="Available" scope="glance">Käytettävissä</string>
<string id="Executed" scope="glance">Vahvistettu</string>
<string id="NoPhone" scope="glance">Ei puhelinyhteyttä</string>
<string id="NoInternet">Ei Internet-yhteyttä</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>
<string id="WebhookFailed">Webhookin rekisteröinti epäonnistui</string>
<string id="TemplateError">Mallin renderöinti epäonnistui</string>
<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="Cached" scope="glance">Välimuistissa</string>
<string id="Checking" scope="glance">Tarkistetaan...</string>
<string id="ConfigUrlNotFound">URL-osoitetta ei löydy. Mahdollinen määritys-URL-virhe asetuksissa.</string>
<string id="Confirm">Varma?</string>
<string id="Empty">Tyhjä</string>
<string id="Executed" scope="glance">Vahvistettu</string>
<string id="GlanceMenu" scope="glance">Valikko</string> <string id="GlanceMenu" scope="glance">Valikko</string>
<string id="Memory" scope="glance">Muisti</string> <string id="Memory" scope="glance">Muisti</string>
<!-- GUI-asetusten osalta --> <string id="MenuUpdated">Valikko päivitetty, käynnistä uudelleen.</string>
<string id="MenuCheckDisabled">Valikkopäivitykset poistettu käytöstä.</string>
<string id="NoAPIKey" scope="glance">Ei API-avainta sovellusasetuksissa.</string>
<string id="NoApiUrl" scope="glance">Ei API-URL-osoitetta sovellusasetuksissa.</string>
<string id="NoConfigUrl" scope="glance">Ei määritys-URL-osoitetta sovellusasetuksissa.</string>
<string id="NoInternet">Ei Internet-yhteyttä.</string>
<string id="NoJson">HTTP-pyynnöstä ei palautettu JSONia.</string>
<string id="NoPhone" scope="glance">Ei puhelinyhteyttä.</string>
<string id="NoPhoneNoCache" scope="glance">Ei puhelinyhteyttä, ei välimuistissa olevaa valikkoa.</string>
<string id="NoResponse">Ei vastausta, tarkista Internet-yhteys</string>
<string id="TimedOut">Pyyntö aikakatkaistu</string>
<string id="PinInputLocked">PIN-syöttö lukittu ajaksi</string>
<string id="PotentialError">Mahdollinen virhe</string>
<string id="Seconds">sekuntia</string>
<string id="TemplateError">Mallivirhe</string>
<string id="TrailingSlashErr">API-URL-osoitteessa ei saa olla loppukauttaviivaa '/'.</string>
<string id="Unavailable" scope="glance">Ei käytettävissä</string>
<string id="Unconfigured" scope="glance">Määrittelemätön</string>
<string id="UnhandledHttpErr">HTTP-pyyntö palautti virhekoodin =</string>
<string id="WebhookFailed">Webhookin rekisteröinti epäonnistui</string>
<string id="WrongPin">Väärä PIN-koodi</string>
<string id="WifiLteNotAvailable">Ei Wi-Fiä tai LTE:tä käytettävissä.</string>
<string id="WifiLtePrompt">Suoritetaanko Wi-Fi/LTE-yhteyden kautta?</string>
<string id="WifiLteExecutionTitle">Lähetetään Home Assistantille.</string>
<string id="WifiLteExecutionDataError">Tietoja ei vastaanotettu.</string>
<!-- Asetusten käyttöliittymän osalta merkkijonojen tulisi olla siinä järjestyksessä, jossa niitä
käytetään. -->
<string id="SettingsSelect">Valitse...</string> <string id="SettingsSelect">Valitse...</string>
<string id="SettingsApiKey">API-avain HomeAssistantille.</string> <string id="SettingsApiKey">API-avain HomeAssistantille.</string>
<string id="SettingsApiKeyPrompt">Pitkäikäinen pääsytunnus.</string> <string id="SettingsApiKeyPrompt">Pitkäikäinen käyttöoikeustunnus.</string>
<string id="SettingsApiUrl">HomeAssistant API:n URL-osoite.</string> <string id="SettingsApiUrl">URL-osoite HomeAssistantin API:lle.</string>
<string id="SettingsConfigUrl">URL-osoite valikon määrityksiä varten (JSON).</string> <string id="SettingsConfigUrl">Valikon määrityksen URL-osoite (JSON).</string>
<string id="SettingsCacheConfig">Pitäisikö sovelluksen tallentaa valikon asetukset välimuistiin?</string> <string id="SettingsCacheConfig">Pitäisikö sovelluksen tallentaa valikon kokoonpano välimuistiin?</string>
<string id="SettingsClearCache">Pitäisikö sovelluksen tyhjentää olemassa oleva välimuisti seuraavan kerran <string id="SettingsClearCache">Pitäisikö sovelluksen tyhjentää olemassa oleva välimuisti
alkanut?</string> seuraavalla käynnistyksellä?</string>
<string id="SettingsAppTimeout">Aikakatkaisu sekunneissa. Poistu sovelluksesta tämän ajanjakson jälkeen <string id="SettingsEnableMenuUpdateCheck">Tarkistetaanko valikkopäivitykset sovelluksen käynnistyksen yhteydessä? Huomaa: Valikon välimuistiin tallennus on oltava käytössä. Tämä asetus voi aiheuttaa vanhempien, vähemmän muistia omaavien laitteiden kaatumisen.</string>
käyttämättömyys säästääksesi laitteen akkua.</string> <string id="SettingsWifiLteExecutionEnable">Ota komentojen suorittaminen käyttöön
<string id="SettingsConfirmTimeout">Tämän ajan kuluttua (sekunneissa) vahvistusikkuna an Wi-Fi/LTE-yhteyden kautta.</string>
toiminto suljetaan automaattisesti ja toiminto peruutetaan. Aseta arvoksi 0, jos haluat poistaa aikakatkaisun käytöstä.</string> <string id="SettingsVibration">Pitäisikö sovelluksen antaa palautetta värähtelyjen kautta?</string>
<string id="SettingsTextAlign">Vasen (pois) tai oikea (päällä) valikon kohdistus.</string> <string id="SettingsAppTimeout">Aikakatkaisu sekunneissa. Poistu sovelluksesta tämän
<string id="LeftToRight">Vasemmalta oikealle</string> toimettomuuden jälkeen säästääksesi laitteen akkua.</string>
<string id="RightToLeft">Oikealta vasemmalle</string> <string id="SettingsPollDelay">Lisäkyselyviive (sekunneissa). Lisää viive kaikkien
valikkokohteiden tilapäivityksen välillä.</string>
<string id="SettingsConfirmTimeout">Tämän ajan jälkeen (sekunneissa) toiminnan
vahvistusvalintaikkuna suljetaan automaattisesti ja toiminto peruutetaan. Aseta arvoon 0
poistamaan aikakatkaisu käytöstä.</string>
<string id="SettingsPin">4-numeroinen PIN-koodi, jota käytetään kaikkiin sitä vaativiin toimiin
(0000-9999).</string>
<string id="SettingsPinError">Määritä kelvollinen 4-numeroinen numeerinen PIN-koodi välillä
0000-9999 sovellusasetuksissa.</string>
<string id="SettingsTextAlign">Vasen (pois päältä) tai oikea (on) valikon kohdistus.</string>
<string id="SettingsLeftToRight">Vasemmalta oikealle</string>
<string id="SettingsRightToLeft">Oikealta vasemmalle</string>
<string id="SettingsWidgetStart">(Vain widget) Käynnistä sovellus automaattisesti widgetistä <string id="SettingsWidgetStart">(Vain widget) Käynnistä sovellus automaattisesti widgetistä
odottamatta napausta.</string> odottamatta napautusta.</string>
<string id="SettingsEnableBatteryLevel">Ota taustapalvelu käyttöön kellon akun lähettämiseksi <string id="SettingsEnableBatteryLevel">Ota taustapalvelu käyttöön laitteen akkutason, sijainnin
tasolle Home Assistant.</string> ja (jos tuettu) aktiivisuustietojen lähettämiseksi Home Assistantille.</string>
<string id="SettingsBatteryLevelRefreshRate">Päivitystaajuus (minuutteina), jolla tausta <string id="SettingsBatteryLevelRefreshRate">Päivitysnopeus (minuuteissa), jolla taustapalvelun
palvelun pitäisi toistaa akun varaustason lähettäminen.</string> tulisi toistaa tietojen lähettäminen.</string>
<string id="WebhookId">(Vain luku) Kellon luoma Webhook-tunnus akun varaustason päivityksiä varten. <string id="SettingsUserHttpHeader">Käyttäjän määrittämä HTTP-otsake</string>
Saatat tarvita tätä virheenkorjaukseen.</string> <string id="SettingsUserHttpHeaderDescription">Jotkut Home Assistant -asennukset vaativat
mukautetun HTTP-otsakkeen määrittelyn toimiakseen.</string>
<string id="SettingsUserHttpHeaderName">Käyttäjän määrittämä HTTP-otsake: Nimi</string>
<string id="SettingsUserHttpHeaderValue">Käyttäjän määrittämä HTTP-otsake: Arvo</string>
<string id="SettingsClearWebhookId">Yhdistä uudelleen Home Assistantiin (tyhjennä Webhook ID,
katso vianetsintäopas).</string>
<string id="SettingsWebhookId">(Vain luku) Laitteen luoma Webhook ID taustapalvelun päivityksiä
varten. Saatat tarvita tätä virheenkorjaukseen.</string>
</strings> </strings>

View File

@@ -9,62 +9,98 @@
tested on a Venu 2 device. The source code is provided at: tested on a Venu 2 device. The source code is provided at:
https://github.com/house-of-abbey/GarminHomeAssistant. https://github.com/house-of-abbey/GarminHomeAssistant.
P A Abbey & J D Abbey & Someone0nEarth, 31 October 2023 P A Abbey & J D Abbey & Someone0nEarth & vincentezw, 31 October 2023
--> -->
<!-- <!--
Generated by Google Translate: English to French Generated by Google Translate and gemini-2.5-flash from English to French
Généré par Google Translate de l'anglais Généré par Google Translate et gemini-2.5-flash de l'anglais au français
--> -->
<strings> <strings>
<string id="AppName" scope="glance">HomeAssistant</string>
<string id="Confirm">Bien sûr?</string>
<string id="Executed" scope="glance">Confirmé</string>
<string id="NoPhone" scope="glance">Pas de connexion téléphonique</string>
<string id="NoInternet">Pas de connexion Internet</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="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="ApiUrlNotFound">URL introuvable. L'URL de l'API est potentiellement erronée dans les
<string id="ConfigUrlNotFound">URL introuvable. Erreur potentielle d'URL de configuration dans les paramètres.</string> paramètres.</string>
<string id="NoJson">Aucun JSON renvoyé par la requête HTTP.</string> <string id="AppName" scope="glance">HomeAssistant</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>
<string id="WebhookFailed">Échec de l'enregistrement du Webhook</string>
<string id="TemplateError">Échec du rendu du modèle</string>
<string id="Available" scope="glance">Disponible</string> <string id="Available" scope="glance">Disponible</string>
<string id="Cached" scope="glance">Mis en cache</string>
<string id="Checking" scope="glance">Vérification...</string> <string id="Checking" scope="glance">Vérification...</string>
<string id="Unavailable" scope="glance">Indisponible</string> <string id="ConfigUrlNotFound">URL introuvable. L'URL de configuration est potentiellement erronée
<string id="Unconfigured" scope="glance">Non configuré</string> dans les paramètres.</string>
<string id="Cached" scope="glance">En cache</string> <string id="Confirm">Confirmer ?</string>
<string id="Empty">Vide</string>
<string id="Executed" scope="glance">Exécuté</string>
<string id="GlanceMenu" scope="glance">Menu</string> <string id="GlanceMenu" scope="glance">Menu</string>
<string id="Memory" scope="glance">Mémoire</string> <string id="Memory" scope="glance">Mémoire</string>
<!-- Pour l'interface graphique des paramètres --> <string id="MenuUpdated">Menu mis à jour, redémarrez.</string>
<string id="MenuCheckDisabled">Mises à jour du menu désactivées.</string>
<string id="NoAPIKey" scope="glance">Aucune clé API dans les paramètres de l'application.</string>
<string id="NoApiUrl" scope="glance">Aucune URL de l'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="NoInternet">Pas de connexion Internet.</string>
<string id="NoJson">Aucun JSON n'est retourné par la requête HTTP.</string>
<string id="NoPhone" scope="glance">Aucune connexion téléphonique.</string>
<string id="NoPhoneNoCache" scope="glance">Pas de connexion téléphonique, pas de menu en cache.</string>
<string id="NoResponse">Aucune réponse, vérifiez la connexion Internet</string>
<string id="TimedOut">Délai d'attente dépassé</string>
<string id="PinInputLocked">Saisie du code PIN verrouillée pour</string>
<string id="PotentialError">Erreur potentielle</string>
<string id="Seconds">secondes</string>
<string id="TemplateError">Erreur de modèle</string>
<string id="TrailingSlashErr">L'URL de l'API ne doit pas se terminer par une barre oblique '/'.</string>
<string id="Unavailable" scope="glance">Indisponible</string>
<string id="Unconfigured" scope="glance">Non configuré</string>
<string id="UnhandledHttpErr">La requête HTTP a renvoyé le code d'erreur =</string>
<string id="WebhookFailed">Échec de l'enregistrement du Webhook</string>
<string id="WrongPin">Code PIN incorrect</string>
<string id="WifiLteNotAvailable">Pas de Wi-Fi ou de LTE disponible</string>
<string id="WifiLtePrompt">Exécuter sur Wi-Fi / LTE ?</string>
<string id="WifiLteExecutionTitle">Envoi à Home Assistant.</string>
<string id="WifiLteExecutionDataError">Aucune donnée reçue.</string>
<!-- Pour l'interface graphique des paramètres, les chaînes doivent être dans l'ordre où elles
sont utilisées. -->
<string id="SettingsSelect">Sélectionner...</string> <string id="SettingsSelect">Sélectionner...</string>
<string id="SettingsApiKey">Clé API pour HomeAssistant.</string> <string id="SettingsApiKey">Clé API pour HomeAssistant.</string>
<string id="SettingsApiKeyPrompt">Jeton d'accès de longue durée.</string> <string id="SettingsApiKeyPrompt">Jeton d'accès de longue durée.</string>
<string id="SettingsApiUrl">URL de lAPI HomeAssistant.</string> <string id="SettingsApiUrl">URL pour l'API HomeAssistant.</string>
<string id="SettingsConfigUrl">URL de configuration des menus (JSON).</string> <string id="SettingsConfigUrl">URL pour la configuration du menu (JSON).</string>
<string id="SettingsCacheConfig">L'application doit-elle mettre en cache la configuration du menu ?</string> <string id="SettingsCacheConfig">L'application devrait-elle mettre en cache la configuration du
<string id="SettingsClearCache">L'application devrait-elle vider le cache existant la prochaine fois menu ?</string>
commencé?</string> <string id="SettingsClearCache">L'application devrait-elle effacer le cache existant la prochaine
<string id="SettingsAppTimeout">Délai d'attente en secondes. Quittez l'application après cette période de fois qu'elle sera démarrée ?</string>
inactivité pour économiser la batterie de l'appareil.</string> <string id="SettingsEnableMenuUpdateCheck">Vérifier les mises à jour du menu au démarrage de l'application ? Remarque : la mise en cache du menu doit être activée. Ce paramètre peut entraîner le plantage des appareils plus anciens avec moins de mémoire.</string>
<string id="SettingsConfirmTimeout">Passé ce délai (en secondes), une boîte de dialogue de confirmation pour un <string id="SettingsWifiLteExecutionEnable">Activer l'exécution des commandes sur Wi-Fi / LTE.</string>
l'action est automatiquement clôturée et l'action est annulée. Réglez sur 0 pour désactiver le délai d'attente.</string> <string id="SettingsVibration">L'application devrait-elle fournir un retour par vibrations ?</string>
<string id="SettingsTextAlign">Alignement du menu à gauche (désactivé) ou à droite (activé).</string> <string id="SettingsAppTimeout">Délai d'expiration en secondes. L'application se fermera après
<string id="LeftToRight">De gauche à droite</string> cette période d'inactivité pour économiser la batterie de l'appareil.</string>
<string id="RightToLeft">De droite à gauche</string> <string id="SettingsPollDelay">Délai d'interrogation supplémentaire (en secondes). Ajoute un délai
<string id="SettingsWidgetStart">(Widget uniquement) Démarrez automatiquement l'application à partir du widget entre la mise à jour de l'état de tous les éléments de menu.</string>
sans attendre un robinet.</string> <string id="SettingsConfirmTimeout">Après ce délai (en secondes), une boîte de dialogue de
<string id="SettingsEnableBatteryLevel">Activer le service d'arrière-plan pour envoyer la batterie de l'horloge confirmation pour une action est automatiquement fermée et l'action est annulée. Définir à 0
niveau à Home Assistant.</string> pour désactiver le délai d'attente.</string>
<string id="SettingsBatteryLevelRefreshRate">Le taux de rafraîchissement (en minutes) auquel l'arrière-plan <string id="SettingsPin">Code PIN à 4 chiffres à utiliser pour toutes les actions qui l'exigent
Le service doit répéter l'envoi du niveau de la batterie.</string> (0000-9999).</string>
<string id="WebhookId">(Lecture seule) L'ID Webhook créé par la montre pour les mises à jour du niveau de batterie. <string id="SettingsPinError">Veuillez configurer un code PIN numérique à 4 chiffres valide entre
Vous pourriez en avoir besoin pour le débogage.</string> 0000 et 9999 dans les paramètres de l'application.</string>
<string id="SettingsTextAlign">Alignement du menu : Gauche (désactivé) ou Droit (activé).</string>
<string id="SettingsLeftToRight">De gauche à droite</string>
<string id="SettingsRightToLeft">De droite à gauche</string>
<string id="SettingsWidgetStart">(Widget uniquement) Démarre automatiquement l'application depuis
le widget sans attendre une pression.</string>
<string id="SettingsEnableBatteryLevel">Activer le service d'arrière-plan pour envoyer le niveau
de la batterie de l'appareil, l'emplacement et (le cas échéant) les données d'activité à Home
Assistant.</string>
<string id="SettingsBatteryLevelRefreshRate">Le taux de rafraîchissement (en minutes) auquel le
service d'arrière-plan doit répéter l'envoi de données.</string>
<string id="SettingsUserHttpHeader">En-tête HTTP fourni par l'utilisateur</string>
<string id="SettingsUserHttpHeaderDescription">Certaines installations Home Assistant nécessitent
la spécification d'un en-tête HTTP personnalisé pour fonctionner.</string>
<string id="SettingsUserHttpHeaderName">En-tête HTTP fourni par l'utilisateur : Nom</string>
<string id="SettingsUserHttpHeaderValue">En-tête HTTP fourni par l'utilisateur : Valeur</string>
<string id="SettingsClearWebhookId">Se reconnecter à Home Assistant (effacer l'ID du Webhook, voir
le guide de dépannage).</string>
<string id="SettingsWebhookId">(Lecture seule) L'ID Webhook créé par l'appareil pour les mises à
jour du service d'arrière-plan. Vous pourriez en avoir besoin pour le débogage.</string>
</strings> </strings>

View File

@@ -9,62 +9,96 @@
tested on a Venu 2 device. The source code is provided at: tested on a Venu 2 device. The source code is provided at:
https://github.com/house-of-abbey/GarminHomeAssistant. https://github.com/house-of-abbey/GarminHomeAssistant.
P A Abbey & J D Abbey & Someone0nEarth, 31 October 2023 P A Abbey & J D Abbey & Someone0nEarth & vincentezw, 31 October 2023
--> -->
<!-- <!--
Generated by Google Translate: English to Greek Generated by Google Translate and gemini-2.5-flash from English to Greek
Δημιουργήθηκε από τη Μετάφραση Google από τα Αγγλικά Δημιουργήθηκε από το Google Translate και το gemini-2.5-flash από Αγγλικά σε Ελληνικά
--> -->
<strings> <strings>
<string id="ApiFlood">Οι κλήσεις API είναι πολύ συχνές. Παρακαλούμε επιβραδύνετε τα αιτήματά σας.</string>
<string id="ApiUrlNotFound">Η διεύθυνση URL δεν βρέθηκε. Πιθανό σφάλμα URL API στις ρυθμίσεις.</string>
<string id="AppName" scope="glance">HomeAssistant</string> <string id="AppName" scope="glance">HomeAssistant</string>
<string id="Confirm">Σίγουρος?</string> <string id="Available" scope="glance">Διαθέσιμο</string>
<string id="Executed" scope="glance">Επιβεβαιωμένος</string> <string id="Cached" scope="glance">Αποθηκευμένο</string>
<string id="NoPhone" scope="glance">Δεν υπάρχει σύνδεση τηλεφώνου</string> <string id="Checking" scope="glance">Έλεγχος...</string>
<string id="NoInternet">Δεν υπάρχει σύνδεση στο διαδίκτυο</string> <string id="ConfigUrlNotFound">Η διεύθυνση URL δεν βρέθηκε. Πιθανό σφάλμα URL διαμόρφωσης στις
<string id="NoResponse">Καμία απάντηση, ελέγξτε τη σύνδεση στο Διαδίκτυο</string> ρυθμίσεις.</string>
<string id="NoAPIKey" scope="glance">Δεν υπάρχει κλειδί API στις ρυθμίσεις της εφαρμογής</string> <string id="Confirm">Σίγουρα;</string>
<string id="NoApiUrl" scope="glance">Δεν υπάρχει URL API στις ρυθμίσεις της εφαρμογής</string> <string id="Empty">Κενό</string>
<string id="NoConfigUrl" scope="glance">Δεν υπάρχει διεύθυνση URL διαμόρφωσης στις ρυθμίσεις της εφαρμογής</string> <string id="Executed" scope="glance">Επιβεβαιωμένο</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>
<string id="WebhookFailed">Η εγγραφή του Webhook απέτυχε</string>
<string id="TemplateError">Απέτυχε η απόδοση του προτύπου</string>
<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="GlanceMenu" scope="glance">Μενού</string>
<string id="Memory" scope="glance">Μνήμη</string> <string id="Memory" scope="glance">Μνήμη</string>
<!-- Για τις ρυθμίσεις GUI --> <string id="MenuUpdated">Ενημερώθηκε το μενού, επανεκκίνηση.</string>
<string id="SettingsSelect">Επιλέγω...</string> <string id="MenuCheckDisabled">Οι ενημερώσεις μενού απενεργοποιήθηκαν.</string>
<string id="SettingsApiKey">Κλειδί API για το HomeAssistant.</string> <string id="NoAPIKey" scope="glance">Δεν υπάρχει κλειδί API στις ρυθμίσεις εφαρμογής.</string>
<string id="SettingsApiKeyPrompt">Διακριτικό πρόσβασης μακράς διαρκείας.</string> <string id="NoApiUrl" scope="glance">Δεν υπάρχει διεύθυνση URL API στις ρυθμίσεις εφαρμογής.</string>
<string id="SettingsApiUrl">URL για το HomeAssistant API.</string> <string id="NoConfigUrl" scope="glance">Δεν υπάρχει διεύθυνση URL διαμόρφωσης στις ρυθμίσεις
<string id="SettingsConfigUrl">URL για τη διαμόρφωση μενού (JSON).</string> εφαρμογής.</string>
<string id="SettingsCacheConfig">Πρέπει η εφαρμογή να αποθηκεύσει προσωρινά τη διαμόρφωση του μενού;</string> <string id="NoInternet">Χωρίς σύνδεση στο Διαδίκτυο.</string>
<string id="SettingsClearCache">Εάν η εφαρμογή εκκαθαρίσει την υπάρχουσα κρυφή μνήμη την επόμενη φορά <string id="NoJson">Κανένα JSON δεν επεστράφη από το αίτημα HTTP.</string>
ξεκίνησε;</string> <string id="NoPhone" scope="glance">Χωρίς σύνδεση τηλεφώνου.</string>
<string id="SettingsAppTimeout">Timeout σε δευτερόλεπτα. Έξοδος από την εφαρμογή μετά από αυτήν την περίοδο του <string id="NoPhoneNoCache" scope="glance">Δεν υπάρχει σύνδεση τηλεφώνου, δεν υπάρχει αποθηκευμένο
αδράνεια για εξοικονόμηση μπαταρίας της συσκευής.</string> μενού.</string>
<string id="SettingsConfirmTimeout">Μετά από αυτό το διάστημα (σε δευτερόλεπτα), ένα παράθυρο διαλόγου επιβεβαίωσης για ένα <string id="NoResponse">Χωρίς απάντηση, ελέγξτε τη σύνδεση στο Διαδίκτυο</string>
η ενέργεια κλείνει αυτόματα και η ενέργεια ακυρώνεται. Ορίστε στο 0 για να απενεργοποιήσετε το χρονικό όριο.</string> <string id="TimedOut">Το αίτημα έληξε</string>
<string id="SettingsTextAlign">Αριστερά (απενεργοποίηση) ή Δεξιά (ενεργό) Ευθυγράμμιση μενού.</string> <string id="PinInputLocked">Είσοδος PIN κλειδωμένη για</string>
<string id="LeftToRight">Από αριστερά προς τα δεξιά</string> <string id="PotentialError">Πιθανό σφάλμα</string>
<string id="RightToLeft">Δεξιά προς τα αριστερά</string> <string id="Seconds">δευτερόλεπτα</string>
<string id="SettingsWidgetStart">(Μόνο γραφικό στοιχείο) Αυτόματη εκκίνηση της εφαρμογής από το γραφικό στοιχείο <string id="TemplateError">Σφάλμα προτύπου</string>
χωρίς να περιμένεις ένα πάτημα.</string> <string id="TrailingSlashErr">Η διεύθυνση URL του API δεν πρέπει να έχει τελική κάθετο '/'.</string>
<string id="SettingsEnableBatteryLevel">Ενεργοποιήστε την υπηρεσία παρασκηνίου για αποστολή της μπαταρίας του ρολογιού <string id="Unavailable" scope="glance">Μη διαθέσιμο</string>
επίπεδο στο Home Assistant.</string> <string id="Unconfigured" scope="glance">Μη διαμορφωμένο</string>
<string id="SettingsBatteryLevelRefreshRate">Ο ρυθμός ανανέωσης (σε λεπτά) με τον οποίο το φόντο <string id="UnhandledHttpErr">Η αίτηση HTTP επέστρεψε κωδικό σφάλματος =</string>
Το σέρβις θα πρέπει να επαναλάβει την αποστολή της στάθμης της μπαταρίας.</string> <string id="WebhookFailed">Αποτυχία εγγραφής webhook</string>
<string id="WebhookId">(Μόνο για ανάγνωση) Το αναγνωριστικό Webhook που δημιουργήθηκε από το ρολόι για ενημερώσεις επιπέδου μπαταρίας. <string id="WrongPin">Λάθος PIN</string>
Μπορεί να το χρειάζεστε για τον εντοπισμό σφαλμάτων.</string> <string id="WifiLteNotAvailable">Χωρίς Wi-Fi ή LTE διαθέσιμο</string>
<string id="WifiLtePrompt">Εκτέλεση μέσω Wi-Fi/LTE;</string>
<string id="WifiLteExecutionTitle">Αποστολή στο Home Assistant.</string>
<string id="WifiLteExecutionDataError">Δεν λαμβάνονται δεδομένα.</string>
<!-- Για το GUI ρυθμίσεων, οι συμβολοσειρές πρέπει να είναι με τη σειρά που χρησιμοποιούνται. -->
<string id="SettingsSelect">Επιλογή...</string>
<string id="SettingsApiKey">Κλειδί API για το Home Assistant.</string>
<string id="SettingsApiKeyPrompt">Διακριτικό πρόσβασης μακράς διάρκειας.</string>
<string id="SettingsApiUrl">URL για το API του Home Assistant.</string>
<string id="SettingsConfigUrl">URL για διαμόρφωση μενού (JSON).</string>
<string id="SettingsCacheConfig">Να αποθηκεύει προσωρινά η εφαρμογή τη διαμόρφωση του μενού;</string>
<string id="SettingsClearCache">Πρέπει η εφαρμογή να διαγράψει την υπάρχουσα μνήμη cache την
επόμενη φορά που θα ξεκινήσει;</string>
<string id="SettingsEnableMenuUpdateCheck">Έλεγχος για ενημερώσεις μενού κατά την εκκίνηση της εφαρμογής; Σημείωση: Η προσωρινή αποθήκευση μενού πρέπει να είναι ενεργοποιημένη. Αυτή η ρύθμιση μπορεί να προκαλέσει σφάλματα σε παλαιότερες συσκευές με λιγότερη μνήμη.</string>
<string id="SettingsWifiLteExecutionEnable">Ενεργοποιήστε την εκτέλεση εντολών μέσω Wi-Fi/LTE.</string>
<string id="SettingsVibration">Πρέπει η εφαρμογή να παρέχει ανατροφοδότηση μέσω δονήσεων;</string>
<string id="SettingsAppTimeout">Χρονικό όριο σε δευτερόλεπτα. Η εφαρμογή θα κλείσει μετά από αυτήν
την περίοδο αδράνειας για εξοικονόμηση μπαταρίας της συσκευής.</string>
<string id="SettingsPollDelay">Πρόσθετη καθυστέρηση ανανέωσης (σε δευτερόλεπτα). Προσθέτει μια
καθυστέρηση μεταξύ της ενημέρωσης κατάστασης όλων των στοιχείων μενού.</string>
<string id="SettingsConfirmTimeout">Μετά από αυτό το χρονικό διάστημα (σε δευτερόλεπτα), ένα
παράθυρο διαλόγου επιβεβαίωσης για μια ενέργεια κλείνει αυτόματα και η ενέργεια ακυρώνεται.
Ρυθμίστε στο 0 για να απενεργοποιήσετε το χρονικό όριο.</string>
<string id="SettingsPin">4-ψήφιο PIN που χρησιμοποιείται για όλες τις ενέργειες που το απαιτούν
(0000-9999).</string>
<string id="SettingsPinError">Παρακαλούμε διαμορφώστε ένα έγκυρο 4-ψήφιο αριθμητικό PIN μεταξύ
0000 και 9999 στις ρυθμίσεις της εφαρμογής.</string>
<string id="SettingsTextAlign">Ευθυγράμμιση μενού: Αριστερά (απενεργοποιημένο) ή Δεξιά (ενεργό).</string>
<string id="SettingsLeftToRight">Από αριστερά προς τα δεξιά</string>
<string id="SettingsRightToLeft">Δεξιά προς τα αριστερά</string>
<string id="SettingsWidgetStart">(Μόνο widget) Αυτόματη εκκίνηση της εφαρμογής από το widget χωρίς
να περιμένετε άγγιγμα.</string>
<string id="SettingsEnableBatteryLevel">Ενεργοποιήστε την υπηρεσία παρασκηνίου για την αποστολή
της στάθμης μπαταρίας της συσκευής, της τοποθεσίας και (αν υποστηρίζονται) δεδομένων
δραστηριότητας στο Home Assistant.</string>
<string id="SettingsBatteryLevelRefreshRate">Ο ρυθμός ανανέωσης (σε λεπτά) με τον οποίο η υπηρεσία
παρασκηνίου θα πρέπει να επαναλαμβάνει την αποστολή δεδομένων.</string>
<string id="SettingsUserHttpHeader">Κεφαλίδα HTTP που παρέχεται από τον χρήστη</string>
<string id="SettingsUserHttpHeaderDescription">Ορισμένες εγκαταστάσεις Home Assistant απαιτούν την
προδιαγραφή μιας προσαρμοσμένης κεφαλίδας HTTP για να λειτουργήσουν.</string>
<string id="SettingsUserHttpHeaderName">Κεφαλίδα HTTP που παρέχεται από τον χρήστη: Όνομα</string>
<string id="SettingsUserHttpHeaderValue">Κεφαλίδα HTTP που παρέχεται από τον χρήστη: Τιμή</string>
<string id="SettingsClearWebhookId">Επανασύνδεση στο Home Assistant (εκκαθάριση Webhook ID, δείτε
τον οδηγό αντιμετώπισης προβλημάτων).</string>
<string id="SettingsWebhookId">(Μόνο για ανάγνωση) Το Webhook ID που δημιουργήθηκε από τη συσκευή
για ενημερώσεις υπηρεσιών παρασκηνίου. Μπορεί να το χρειαστείτε για εντοπισμό σφαλμάτων.</string>
</strings> </strings>

View File

@@ -9,62 +9,88 @@
tested on a Venu 2 device. The source code is provided at: tested on a Venu 2 device. The source code is provided at:
https://github.com/house-of-abbey/GarminHomeAssistant. https://github.com/house-of-abbey/GarminHomeAssistant.
P A Abbey & J D Abbey & Someone0nEarth, 31 October 2023 P A Abbey & J D Abbey & Someone0nEarth & vincentezw, 31 October 2023
--> -->
<!-- <!--
Generated by Google Translate: English to Hebrew Generated by Google Translate and gemini-2.5-flash from English to Hebrew
נוצר על ידי Google Translate מאנגלית נוצר על ידי Google Translate ו-gemini-2.5-flash מאנגלית לעברית
--> -->
<strings> <strings>
<string id="ApiFlood">קריאות API מהירות מדי. אנא האט את בקשותיך.</string>
<string id="ApiUrlNotFound">כתובת URL לא נמצאה. שגיאת כתובת URL פוטנציאלית בהגדרות.</string>
<string id="AppName" scope="glance">HomeAssistant</string> <string id="AppName" scope="glance">HomeAssistant</string>
<string id="Confirm">בטוח?</string>
<string id="Executed" scope="glance">מְאוּשָׁר</string>
<string id="NoPhone" scope="glance">אין חיבור לטלפון</string>
<string id="NoInternet">אין חיבור אינטרנט</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>
<string id="WebhookFailed">רישום Webhook נכשל</string>
<string id="TemplateError">עיבוד התבנית נכשל</string>
<string id="Available" scope="glance">זמין</string> <string id="Available" scope="glance">זמין</string>
<string id="Cached" scope="glance">במטמון</string>
<string id="Checking" scope="glance">בודק...</string> <string id="Checking" scope="glance">בודק...</string>
<string id="Unavailable" scope="glance">אינו זמין</string> <string id="ConfigUrlNotFound">כתובת URL לא נמצאה. שגיאת כתובת URL פוטנציאלית של התצורה בהגדרות.</string>
<string id="Unconfigured" scope="glance">לא מוגדר</string> <string id="Confirm">בטוח?</string>
<string id="Cached" scope="glance">שמור במטמון</string> <string id="Empty">ריק</string>
<string id="GlanceMenu" scope="glance">תַפרִיט</string> <string id="Executed" scope="glance">בוצע</string>
<string id="GlanceMenu" scope="glance">תפריט</string>
<string id="Memory" scope="glance">זיכרון</string> <string id="Memory" scope="glance">זיכרון</string>
<!-- עבור ה-GUI של ההגדרות --> <string id="MenuUpdated">התפריט עודכן, הפעל מחדש.</string>
<string id="MenuCheckDisabled">עדכוני תפריט מושבתים.</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="NoInternet">אין חיבור לאינטרנט.</string>
<string id="NoJson">לא התקבל JSON מבקשת HTTP.</string>
<string id="NoPhone" scope="glance">אין חיבור לטלפון.</string>
<string id="NoPhoneNoCache" scope="glance">אין חיבור לטלפון, אין תפריט במטמון.</string>
<string id="NoResponse">אין תגובה, בדוק את חיבור האינטרנט.</string>
<string id="TimedOut">פסק זמן לבקשה</string>
<string id="PinInputLocked">קלט PIN נעול עבור</string>
<string id="PotentialError">שגיאה פוטנציאלית</string>
<string id="Seconds">שניות</string>
<string id="TemplateError">שגיאת תבנית</string>
<string id="TrailingSlashErr">כתובת ה-URL של ה-API אסור שתכלול קו נטוי בסוף '/'.</string>
<string id="Unavailable" scope="glance">לא זמין</string>
<string id="Unconfigured" scope="glance">לא מוגדר</string>
<string id="UnhandledHttpErr">בקשת HTTP החזירה קוד שגיאה = </string>
<string id="WebhookFailed">נכשל רישום Webhook</string>
<string id="WrongPin">PIN שגוי</string>
<string id="WifiLteNotAvailable">אין Wi-Fi או LTE זמינים</string>
<string id="WifiLtePrompt">לבצע דרך Wi-Fi/LTE?</string>
<string id="WifiLteExecutionTitle">שולח אל Home Assistant.</string>
<string id="WifiLteExecutionDataError">לא התקבלו נתונים.</string>
<!-- עבור ה- GUI של הגדרות, המיתרים צריכים להיות בסדר שהם משתמשים בהם. -->
<string id="SettingsSelect">בחר...</string> <string id="SettingsSelect">בחר...</string>
<string id="SettingsApiKey">מפתח API עבור HomeAssistant.</string> <string id="SettingsApiKey">מפתח API עבור HomeAssistant.</string>
<string id="SettingsApiKeyPrompt">אסימון גישה ארוך-חיים.</string> <string id="SettingsApiKeyPrompt">אסימון גישה ארוך טווח.</string>
<string id="SettingsApiUrl">כתובת URL עבור HomeAssistant API.</string> <string id="SettingsApiUrl">כתובת URL עבור ה-API של HomeAssistant.</string>
<string id="SettingsConfigUrl">כתובת URL עבור תצורת תפריט (JSON).</string> <string id="SettingsConfigUrl">כתובת URL לתצורת תפריט (JSON).</string>
<string id="SettingsCacheConfig">האם האפליקציה צריכה לשמור את תצורת התפריט במטמון?</string> <string id="SettingsCacheConfig">האם היישום צריך לשמור את תצורת התפריט במטמון?</string>
<string id="SettingsClearCache">האם היישום צריך לנקות את המטמון הקיים בפעם הבאה שהוא <string id="SettingsClearCache">האם היישום צריך לנקות את המטמון הקיים בהפעלה הבאה?</string>
התחיל?</string> <string id="SettingsEnableMenuUpdateCheck">בדוק עדכוני תפריט בהפעלת היישום? הערה: שמירת תפריט במטמון חייבת להיות מופעלת. הגדרה זו עלולה לגרום למכשירים ישנים יותר עם פחות זיכרון לקרוס.</string>
<string id="SettingsAppTimeout">פסק זמן בשניות. צא מהאפליקציה לאחר תקופה זו של <string id="SettingsWifiLteExecutionEnable">אפשר לבצע פקודות דרך Wi-Fi/LTE.</string>
חוסר פעילות כדי לחסוך בסוללת המכשיר.</string> <string id="SettingsVibration">האם היישום צריך לספק משוב באמצעות רעידות?</string>
<string id="SettingsConfirmTimeout">לאחר זמן זה (בשניות), תיבת דו-שיח אישור עבור <string id="SettingsAppTimeout">פסק זמן בשניות. היישום ייצא לאחר תקופת חוסר פעילות זו כדי לחסוך
הפעולה נסגרת אוטומטית והפעולה מבוטלת. הגדר ל-0 כדי לבטל את הזמן הקצוב.</string> בסוללת המכשיר.</string>
<string id="SettingsTextAlign">יישור תפריט שמאלה (כבוי) או ימינה (מופעל).</string> <string id="SettingsPollDelay">עיכוב סקר נוסף (בשניות). מוסיף עיכוב בין עדכוני הסטטוס של כל פריטי
<string id="LeftToRight">משמאל לימין</string> התפריט.</string>
<string id="RightToLeft">מימין לשמאל</string> <string id="SettingsConfirmTimeout">לאחר זמן זה (בשניות), תיבת דו-שיח לאישור פעולה נסגרת אוטומטית
<string id="SettingsWidgetStart">(יישומון בלבד) הפעל אוטומטית את האפליקציה מהווידג'ט והפעולה מבוטלת. הגדר ל-0 כדי להשבית את פסק הזמן.</string>
בלי לחכות לברז.</string> <string id="SettingsPin">PIN בן 4 ספרות שישמש לכל הפעולות הדורשות אותו (0000-9999).</string>
<string id="SettingsEnableBatteryLevel">אפשר את שירות הרקע כדי לשלוח את סוללת השעון <string id="SettingsPinError">אנא הגדר PIN מספרי תקין בן 4 ספרות בין 0000 ל-9999 בהגדרות היישום.</string>
רמה ל-Home Assistant.</string> <string id="SettingsTextAlign">יישור תפריט: שמאל (כבוי) או ימין (מופעל).</string>
<string id="SettingsBatteryLevelRefreshRate">קצב הרענון (בדקות) שבו הרקע <string id="SettingsLeftToRight">משמאל לימין</string>
השירות צריך לחזור על שליחת רמת הסוללה.</string> <string id="SettingsRightToLeft">מימין לשמאל</string>
<string id="WebhookId">(לקריאה בלבד) מזהה ה-Webhook שנוצר על ידי השעון עבור עדכוני רמת הסוללה. <string id="SettingsWidgetStart">(ווידג'ט בלבד) הפעל אוטומטית את היישום מהווידג'ט מבלי לחכות
ייתכן שתדרוש את זה בשביל איתור באגים.</string> להקשה.</string>
<string id="SettingsEnableBatteryLevel">אפשר לשירות הרקע לשלוח את רמת סוללת המכשיר, מיקום ו(אם
נתמך) נתוני פעילות אל Home Assistant.</string>
<string id="SettingsBatteryLevelRefreshRate">קצב הרענון (בדקות) שבו שירות הרקע ישלח נתונים באופן
חוזר.</string>
<string id="SettingsUserHttpHeader">כותרת HTTP שסופקה על ידי המשתמש</string>
<string id="SettingsUserHttpHeaderDescription">חלק מהתקנות Home Assistant דורשות הגדרה של כותרת
HTTP מותאמת אישית כדי לתפקד.</string>
<string id="SettingsUserHttpHeaderName">כותרת HTTP שסופקה על ידי המשתמש: שם</string>
<string id="SettingsUserHttpHeaderValue">כותרת HTTP שסופקה על ידי המשתמש: ערך</string>
<string id="SettingsClearWebhookId">התחבר מחדש אל Home Assistant (נקה מזהה Webhook, ראה מדריך
לפתרון בעיות).</string>
<string id="SettingsWebhookId">(קריאה בלבד) מזהה Webhook שנוצר על ידי המכשיר לעדכוני שירות רקע.
ייתכן שתזדקק לכך לצורך ניפוי באגים.</string>
</strings> </strings>

View File

@@ -9,62 +9,93 @@
tested on a Venu 2 device. The source code is provided at: tested on a Venu 2 device. The source code is provided at:
https://github.com/house-of-abbey/GarminHomeAssistant. https://github.com/house-of-abbey/GarminHomeAssistant.
P A Abbey & J D Abbey & Someone0nEarth, 31 October 2023 P A Abbey & J D Abbey & Someone0nEarth & vincentezw, 31 October 2023
--> -->
<!-- <!--
Generated by Google Translate: English to Croatian Generated by Google Translate and gemini-2.5-flash from English to Croatian
Generirano Google prevoditeljem s engleskog Generirano putem Google Prevoditelja i gemini-2.5-flash s engleskog na hrvatski
--> -->
<strings> <strings>
<string id="AppName" scope="glance">HomeAssistant</string> <string id="ApiFlood">API pozivi prebrzi. Usporite svoje zahtjeve.</string>
<string id="Confirm">Naravno?</string>
<string id="Executed" scope="glance">Potvrđeno</string>
<string id="NoPhone" scope="glance">Nema telefonske veze</string>
<string id="NoInternet">Nema internetske veze</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="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="AppName" scope="glance">HomeAssistant</string>
<string id="NoJson">HTTP zahtjev nije vratio JSON.</string> <string id="Available" scope="glance">Dostupan</string>
<string id="UnhandledHttpErr">HTTP zahtjev vratio je kod greške =</string> <string id="Cached" scope="glance">Predmemorirano</string>
<string id="TrailingSlashErr">API URL ne smije imati kosu crtu na kraju '/'</string>
<string id="WebhookFailed">Registracija Webhooka nije uspjela</string>
<string id="TemplateError">Nije uspjelo generiranje predloška</string>
<string id="Available" scope="glance">Dostupno</string>
<string id="Checking" scope="glance">Provjera...</string> <string id="Checking" scope="glance">Provjera...</string>
<string id="Unavailable" scope="glance">Nedostupan</string> <string id="ConfigUrlNotFound">URL nije pronađen. Potencijalna pogreška URL-a konfiguracije u
<string id="Unconfigured" scope="glance">Nekonfigurirano</string> postavkama.</string>
<string id="Cached" scope="glance">Spremljeno u predmemoriju</string> <string id="Confirm">Potvrdi?</string>
<string id="GlanceMenu" scope="glance">Jelovnik</string> <string id="Empty">Prazan</string>
<string id="Executed" scope="glance">Potvrđen</string>
<string id="GlanceMenu" scope="glance">Izbornik</string>
<string id="Memory" scope="glance">Memorija</string> <string id="Memory" scope="glance">Memorija</string>
<!-- Za GUI postavki --> <string id="MenuUpdated">Izbornik ažuriran, ponovno pokrenite.</string>
<string id="SettingsSelect">Izaberi...</string> <string id="MenuCheckDisabled">Ažuriranja izbornika onemogućena.</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 URL-a konfiguracije u postavkama aplikacije.</string>
<string id="NoInternet">Nema internetske veze.</string>
<string id="NoJson">Nije primljen JSON odgovor na HTTP zahtjev.</string>
<string id="NoPhone" scope="glance">Nema telefonske veze.</string>
<string id="NoPhoneNoCache" scope="glance">Nema telefonske veze, nema predmemoriranog izbornika.</string>
<string id="NoResponse">Nema odgovora, provjerite internetsku vezu</string>
<string id="TimedOut">Zahtjev je istekao</string>
<string id="PinInputLocked">Unos PIN-a zaključan na</string>
<string id="PotentialError">Potencijalna pogreška</string>
<string id="Seconds">sekundi</string>
<string id="TemplateError">Pogreška predloška</string>
<string id="TrailingSlashErr">API URL ne smije sadržavati kosu crtu '/' na kraju.</string>
<string id="Unavailable" scope="glance">Nedostupan</string>
<string id="Unconfigured" scope="glance">Nekonfiguriran</string>
<string id="UnhandledHttpErr">HTTP zahtjev vratio je kod pogreške = </string>
<string id="WebhookFailed">Registracija Webhooka nije uspjela</string>
<string id="WrongPin">Pogrešan PIN</string>
<string id="WifiLteNotAvailable">Wi-Fi ili LTE nije dostupno</string>
<string id="WifiLtePrompt">Izvršiti putem Wi-Fi/LTE?</string>
<string id="WifiLteExecutionTitle">Slanje u Home Assistant.</string>
<string id="WifiLteExecutionDataError">Nema primljenih podataka.</string>
<!-- Za GUI postavki, nizovi znakova trebaju biti poredani redoslijedom kojim se koriste. -->
<string id="SettingsSelect">Odaberite...</string>
<string id="SettingsApiKey">API ključ za HomeAssistant.</string> <string id="SettingsApiKey">API ključ za HomeAssistant.</string>
<string id="SettingsApiKeyPrompt">Dugotrajni pristupni token.</string> <string id="SettingsApiKeyPrompt">Dugotrajni pristupni token.</string>
<string id="SettingsApiUrl">URL za HomeAssistant API.</string> <string id="SettingsApiUrl">URL za HomeAssistant API.</string>
<string id="SettingsConfigUrl">URL za konfiguraciju izbornika (JSON).</string> <string id="SettingsConfigUrl">URL za konfiguraciju izbornika (JSON).</string>
<string id="SettingsCacheConfig">Treba li aplikacija spremiti konfiguraciju izbornika u predmemoriju?</string> <string id="SettingsCacheConfig">Treba li aplikacija predmemorirati konfiguraciju izbornika?</string>
<string id="SettingsClearCache">Treba li aplikacija sljedeći put izbrisati postojeću predmemoriju <string id="SettingsClearCache">Treba li aplikacija očistiti postojeću predmemoriju sljedeći put
počeo?</string> kad se pokrene?</string>
<string id="SettingsAppTimeout">Istek u sekundama. Izađite iz aplikacije nakon tog razdoblja od <string id="SettingsEnableMenuUpdateCheck">Provjeriti ažuriranja izbornika pri pokretanju aplikacije? Napomena: Predmemoriranje izbornika mora biti omogućeno. Ova postavka može uzrokovati rušenje starijih uređaja s manje memorije.</string>
neaktivnosti radi uštede baterije uređaja.</string> <string id="SettingsWifiLteExecutionEnable">Omogući izvršavanje naredbi putem Wi-Fi/LTE.</string>
<string id="SettingsConfirmTimeout">Nakon tog vremena (u sekundama), dijaloški okvir potvrde za an <string id="SettingsVibration">Treba li aplikacija davati povratne informacije putem vibracija?</string>
radnja se automatski zatvara i akcija se poništava. Postavite na 0 da onemogućite vremensko ograničenje.</string> <string id="SettingsAppTimeout">Istek vremena u sekundama. Izađite iz aplikacije nakon ovog
<string id="SettingsTextAlign">Lijevo (isključeno) ili desno (uključeno) poravnanje izbornika.</string> razdoblja neaktivnosti radi uštede baterije uređaja.</string>
<string id="LeftToRight">S lijeva nadesno</string> <string id="SettingsPollDelay">Dodatno kašnjenje provjere (u sekundama). Dodaje kašnjenje između
<string id="RightToLeft">S desna na lijevo</string> ažuriranja statusa svih stavki izbornika.</string>
<string id="SettingsWidgetStart">(Samo widget) Automatski pokrenite aplikaciju iz widgeta <string id="SettingsConfirmTimeout">Nakon tog vremena (u sekundama), dijaloški okvir za potvrdu
bez čekanja na slavinu.</string> radnje automatski se zatvara i radnja se otkazuje. Postavite na 0 za onemogućavanje isteka
<string id="SettingsEnableBatteryLevel">Omogućite pozadinsku uslugu za slanje baterije sata vremena.</string>
razinu do kućnog pomoćnika.</string> <string id="SettingsPin">Četveroznamenkasti PIN koji se koristi za sve radnje koje ga zahtijevaju
<string id="SettingsBatteryLevelRefreshRate">Brzina osvježavanja (u minutama) pri kojoj pozadina (0000-9999).</string>
servis bi trebao ponoviti slanje razine baterije.</string> <string id="SettingsPinError">Molimo konfigurirajte valjani četveroznamenkasti numerički PIN
<string id="WebhookId">(Samo za čitanje) Webhook ID koji je kreirao sat za ažuriranje razine baterije. između 0000 i 9999 u postavkama aplikacije.</string>
Ovo vam može trebati za otklanjanje pogrešaka.</string> <string id="SettingsTextAlign">Poravnanje izbornika: lijevo (isključeno) ili desno (uključeno).</string>
<string id="SettingsLeftToRight">Slijeva na desno</string>
<string id="SettingsRightToLeft">Zdesna nalijevo</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
uređaja, lokacije i (ako je podržano) podataka o aktivnosti u Home Assistant.</string>
<string id="SettingsBatteryLevelRefreshRate">Brzina osvježavanja (u minutama) u kojoj bi
pozadinska usluga trebala ponoviti slanje podataka.</string>
<string id="SettingsUserHttpHeader">Korisnički HTTP zaglavlje</string>
<string id="SettingsUserHttpHeaderDescription">Neke instalacije Home Assistanta zahtijevaju
specifikaciju prilagođenog HTTP zaglavlja za funkcioniranje.</string>
<string id="SettingsUserHttpHeaderName">Korisnički HTTP zaglavlje: Naziv</string>
<string id="SettingsUserHttpHeaderValue">Korisnički HTTP zaglavlje: Vrijednost</string>
<string id="SettingsClearWebhookId">Ponovno se povežite s Home Assistantom (očisti ID Webhooka,
pogledajte vodič za rješavanje problema).</string>
<string id="SettingsWebhookId">(Samo za čitanje) ID Webhooka koji je uređaj stvorio za ažuriranja
pozadinske usluge. Možda će vam ovo trebati za otklanjanje pogrešaka.</string>
</strings> </strings>

View File

@@ -9,62 +9,95 @@
tested on a Venu 2 device. The source code is provided at: tested on a Venu 2 device. The source code is provided at:
https://github.com/house-of-abbey/GarminHomeAssistant. https://github.com/house-of-abbey/GarminHomeAssistant.
P A Abbey & J D Abbey & Someone0nEarth, 31 October 2023 P A Abbey & J D Abbey & Someone0nEarth & vincentezw, 31 October 2023
--> -->
<!-- <!--
Generated by Google Translate: English to Hungarian Generated by Google Translate and gemini-2.5-flash from English to Hungarian
A Google Fordító generálta angolból Fordította: Google Translate és gemini-2.5-flash angolról magyarra
--> -->
<strings> <strings>
<string id="ApiFlood">Az API hívások túl gyorsak. Kérjük, lassítsa a kéréseit.</string>
<string id="ApiUrlNotFound">URL nem található. Lehetséges API URL hiba a beállításokban.</string>
<string id="AppName" scope="glance">HomeAssistant</string> <string id="AppName" scope="glance">HomeAssistant</string>
<string id="Confirm">Biztos?</string>
<string id="Executed" scope="glance">Megerősített</string>
<string id="NoPhone" scope="glance">Nincs telefonkapcsolat</string>
<string id="NoInternet">Nincs internetkapcsolat</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>
<string id="WebhookFailed">Nem sikerült regisztrálni a Webhook-ot</string>
<string id="TemplateError">Nem sikerült megjeleníteni a sablont</string>
<string id="Available" scope="glance">Elérhető</string> <string id="Available" scope="glance">Elérhető</string>
<string id="Checking" scope="glance">Ellenőrzés...</string> <string id="Cached" scope="glance">Gyorsítótárazott</string>
<string id="Unavailable" scope="glance">Nem érhető el</string> <string id="Checking" scope="glance">Ellenőrzés ...</string>
<string id="Unconfigured" scope="glance">Nincs konfigurálva</string> <string id="ConfigUrlNotFound">URL nem található. Lehetséges konfigurációs URL hiba a
<string id="Cached" scope="glance">Gyorsítótárban</string> beállításokban.</string>
<string id="Confirm">Biztos?</string>
<string id="Empty">Üres</string>
<string id="Executed" scope="glance">Megerősített</string>
<string id="GlanceMenu" scope="glance">Menü</string> <string id="GlanceMenu" scope="glance">Menü</string>
<string id="Memory" scope="glance">memória</string> <string id="Memory" scope="glance">Memória</string>
<!-- A beállítások GUI-hoz --> <string id="MenuUpdated">Menü frissítve, indítsa újra.</string>
<string id="MenuCheckDisabled">Menüfrissítések letiltva.</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ásaiban.</string>
<string id="NoConfigUrl" scope="glance">Nincs konfigurációs URL az alkalmazás beállításaiban.</string>
<string id="NoInternet">Nincs internetkapcsolat.</string>
<string id="NoJson">A HTTP kérés nem adott vissza JSON-t.</string>
<string id="NoPhone" scope="glance">Nincs telefonkapcsolat.</string>
<string id="NoPhoneNoCache" scope="glance">Nincs telefonkapcsolat, nincs gyorsítótárazott menü.</string>
<string id="NoResponse">Nincs válasz, ellenőrizze az internetkapcsolatot</string>
<string id="TimedOut">A kérés időtúllépés</string>
<string id="PinInputLocked">PIN bevitel zárolva</string>
<string id="PotentialError">Lehetséges hiba</string>
<string id="Seconds">másodperc</string>
<string id="TemplateError">Sablonhiba</string>
<string id="TrailingSlashErr">Az API URL nem tartalmazhat záró perjelet '/'.</string>
<string id="Unavailable" scope="glance">Nem érhető el</string>
<string id="Unconfigured" scope="glance">Konfigurálatlan</string>
<string id="UnhandledHttpErr">HTTP kérés hibakóddal tért vissza: </string>
<string id="WebhookFailed">Nem sikerült regisztrálni a webhookot</string>
<string id="WrongPin">Hibás PIN</string>
<string id="WifiLteNotAvailable">Nincs elérhető Wi-Fi vagy LTE</string>
<string id="WifiLtePrompt">Végrehajtás a Wi-Fi/LTE-n keresztül?</string>
<string id="WifiLteExecutionTitle">Küldés a Home Assistantnek.</string>
<string id="WifiLteExecutionDataError">Nem érkezett adat.</string>
<!-- A beállítások GUI -jához a karakterláncoknak a használt sorrendben kell lenniük. -->
<string id="SettingsSelect">Válasszon...</string> <string id="SettingsSelect">Válasszon...</string>
<string id="SettingsApiKey">API-kulcs a HomeAssistant számára.</string> <string id="SettingsApiKey">API kulcs a Home Assistanthez.</string>
<string id="SettingsApiKeyPrompt">Hosszú életű hozzáférési token.</string> <string id="SettingsApiKeyPrompt">Hosszú élettartamú hozzáférési token.</string>
<string id="SettingsApiUrl">A HomeAssistant API URL-je.</string> <string id="SettingsApiUrl">URL a Home Assistant API-hoz.</string>
<string id="SettingsConfigUrl">URL a menükonfigurációhoz (JSON).</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ót?</string> <string id="SettingsCacheConfig">Gyorsítótárazza az alkalmazás a menükonfigurációt?</string>
<string id="SettingsClearCache">Ha az alkalmazás legközelebb törli a meglévő gyorsítótárat <string id="SettingsClearCache">Törölje az alkalmazás a meglévő gyorsítótárat a következő
elkezdődött?</string> indításkor?</string>
<string id="SettingsAppTimeout">Időtúllépés másodpercben. Lépjen ki az alkalmazásból ezen időszak után <string id="SettingsEnableMenuUpdateCheck">Menüfrissítések ellenőrzése az alkalmazás indításakor? Megjegyzés: A menü gyorsítótárazásának engedélyezve kell lennie. Ez a beállítás régebbi, kevesebb memóriával rendelkező eszközök összeomlását okozhatja.</string>
tétlenség, hogy kímélje a készülék akkumulátorát.</string> <string id="SettingsWifiLteExecutionEnable">Parancsok végrehajtásának engedélyezése Wi-Fi/LTE-n
<string id="SettingsConfirmTimeout">Ezen idő letelte után (másodpercben) megjelenik egy megerősítő párbeszédpanel az an keresztül.</string>
A művelet automatikusan lezárul, és a művelet megszakad. Állítsa 0-ra az időtúllépés letiltásához.</string> <string id="SettingsVibration">Adjon visszajelzést az alkalmazás rezgésekkel?</string>
<string id="SettingsTextAlign">Balra (ki) vagy Jobbra (be) Menüigazítás.</string> <string id="SettingsAppTimeout">Időtúllépés másodpercben. Az eszköz akkumulátorának kímélése
<string id="LeftToRight">Balról jobbra</string> érdekében az alkalmazás kilép ennyi inaktivitás után.</string>
<string id="RightToLeft">Jobbról balra</string> <string id="SettingsPollDelay">További lekérdezési késleltetés (másodpercben). Késleltetést ad az
<string id="SettingsWidgetStart">(Csak widget) Az alkalmazás automatikus indítása a widgetről összes menüelem állapotfrissítése közé.</string>
csapásra várva.</string> <string id="SettingsConfirmTimeout">Ezen idő (másodpercben) elteltével egy művelet megerősítő
<string id="SettingsEnableBatteryLevel">Engedélyezze a háttérszolgáltatást az óra akkumulátorának küldéséhez párbeszédablaka automatikusan bezáródik, és a művelet megszakad. Állítsa 0-ra az időtúllépés
szinten az Otthoni asszisztensre.</string> kikapcsolásához.</string>
<string id="SettingsBatteryLevelRefreshRate">Az a frissítési gyakoriság (percben), amelynél a háttér <string id="SettingsPin">4 számjegyű PIN-kód, amelyet minden szükséges művelethez használni kell
a szerviznek meg kell ismételnie az akkumulátor töltöttségi szintjének küldését.</string> (0000-9999).</string>
<string id="WebhookId">(Csak olvasható) Az óra által az akkumulátor töltöttségi szintjének frissítéséhez létrehozott Webhook azonosító. <string id="SettingsPinError">Kérjük, konfiguráljon egy érvényes 4 számjegyű numerikus PIN-kódot
Erre szükség lehet a hibakereséshez.</string> 0000 és 9999 között az alkalmazás beállításaiban.</string>
<string id="SettingsTextAlign">Menü igazítása: Balra (ki) vagy Jobbra (be).</string>
<string id="SettingsLeftToRight">Balról jobbra</string>
<string id="SettingsRightToLeft">Jobbról balra</string>
<string id="SettingsWidgetStart">(Csak widget) Az alkalmazás automatikus indítása a widgetről,
érintés nélkül.</string>
<string id="SettingsEnableBatteryLevel">Engedélyezze a háttérszolgáltatásnak, hogy elküldje az
eszköz akkumulátorának töltöttségi szintjét, helyét és (ha támogatott) tevékenységi adatait a
Home Assistantnek.</string>
<string id="SettingsBatteryLevelRefreshRate">Az adatküldés ismétlési gyakorisága (percekben),
amellyel a háttérszolgáltatásnak adatokat kell küldenie.</string>
<string id="SettingsUserHttpHeader">Felhasználó által megadott HTTP fejléc</string>
<string id="SettingsUserHttpHeaderDescription">Néhány Home Assistant telepítéshez egyéni HTTP
fejléc megadása szükséges a működéshez.</string>
<string id="SettingsUserHttpHeaderName">Felhasználó által megadott HTTP-fejléc: Név</string>
<string id="SettingsUserHttpHeaderValue">Felhasználó által megadott HTTP-fejléc: Érték</string>
<string id="SettingsClearWebhookId">Csatlakozás újra a Home Assistanthez (webhook azonosító
törlése, lásd a hibaelhárítási útmutatót).</string>
<string id="SettingsWebhookId">(Csak olvasható) Az eszköz által létrehozott webhook azonosító a
háttérszolgáltatás frissítéseihez. Szüksége lehet rá a hibakereséshez.</string>
</strings> </strings>

View File

@@ -0,0 +1,23 @@
<!--
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
References:
* https://fonts.google.com/icons
-->
<drawables>
<bitmap id="ErrorIcon" filename="error.svg"/>
<bitmap id="GroupTypeIcon" filename="group_type.svg"/>
<bitmap id="TapTypeIcon" filename="tap_type.svg"/>
<bitmap id="InfoTypeIcon" filename="info_type.svg"/>
</drawables>

View File

@@ -0,0 +1 @@
<svg height="18" viewBox="0 0 48 48" width="18" xmlns="http://www.w3.org/2000/svg"><path d="M24 34q.7 0 1.175-.475.475-.475.475-1.175 0-.7-.475-1.175Q24.7 30.7 24 30.7q-.7 0-1.175.475-.475.475-.475 1.175 0 .7.475 1.175Q23.3 34 24 34Zm-1.35-7.65h3V13.7h-3ZM24 44q-4.1 0-7.75-1.575-3.65-1.575-6.375-4.3-2.725-2.725-4.3-6.375Q4 28.1 4 23.95q0-4.1 1.575-7.75 1.575-3.65 4.3-6.35 2.725-2.7 6.375-4.275Q19.9 4 24.05 4q4.1 0 7.75 1.575 3.65 1.575 6.35 4.275 2.7 2.7 4.275 6.35Q44 19.85 44 24q0 4.1-1.575 7.75-1.575 3.65-4.275 6.375t-6.35 4.3Q28.15 44 24 44Zm.05-3q7.05 0 12-4.975T41 23.95q0-7.05-4.95-12T24 7q-7.05 0-12.025 4.95Q7 16.9 7 24q0 7.05 4.975 12.025Q16.95 41 24.05 41ZM24 24Z" fill="white" stroke="white"/></svg>

After

Width:  |  Height:  |  Size: 716 B

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="white" height="100" rx="40" ry="40" width="200" x="0" y="0"/>
<rect fill="white" height="100" rx="40" ry="40" width="200" x="0" y="200"/>
<rect fill="white" height="100" rx="40" ry="40" width="200" x="0" y="400"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 364 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="M440-280h80v-240h-80v240Zm40-320q17 0 28.5-11.5T520-640q0-17-11.5-28.5T480-680q-17 0-28.5 11.5T440-640q0 17 11.5 28.5T480-600Zm0 520q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Z" fill="white" stroke="white"/></svg>

After

Width:  |  Height:  |  Size: 545 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="white" stroke="white"/></svg>

After

Width:  |  Height:  |  Size: 783 B

View File

@@ -0,0 +1,23 @@
<!--
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
References:
* https://fonts.google.com/icons
-->
<drawables>
<bitmap id="ErrorIcon" filename="error.svg"/>
<bitmap id="GroupTypeIcon" filename="group_type.svg"/>
<bitmap id="TapTypeIcon" filename="tap_type.svg"/>
<bitmap id="InfoTypeIcon" filename="info_type.svg"/>
</drawables>

View File

@@ -0,0 +1 @@
<svg height="21" viewBox="0 0 48 48" width="21" xmlns="http://www.w3.org/2000/svg"><path d="M24 34q.7 0 1.175-.475.475-.475.475-1.175 0-.7-.475-1.175Q24.7 30.7 24 30.7q-.7 0-1.175.475-.475.475-.475 1.175 0 .7.475 1.175Q23.3 34 24 34Zm-1.35-7.65h3V13.7h-3ZM24 44q-4.1 0-7.75-1.575-3.65-1.575-6.375-4.3-2.725-2.725-4.3-6.375Q4 28.1 4 23.95q0-4.1 1.575-7.75 1.575-3.65 4.3-6.35 2.725-2.7 6.375-4.275Q19.9 4 24.05 4q4.1 0 7.75 1.575 3.65 1.575 6.35 4.275 2.7 2.7 4.275 6.35Q44 19.85 44 24q0 4.1-1.575 7.75-1.575 3.65-4.275 6.375t-6.35 4.3Q28.15 44 24 44Zm.05-3q7.05 0 12-4.975T41 23.95q0-7.05-4.95-12T24 7q-7.05 0-12.025 4.95Q7 16.9 7 24q0 7.05 4.975 12.025Q16.95 41 24.05 41ZM24 24Z" fill="white" stroke="white"/></svg>

After

Width:  |  Height:  |  Size: 716 B

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="white" height="100" rx="40" ry="40" width="200" x="0" y="0"/>
<rect fill="white" height="100" rx="40" ry="40" width="200" x="0" y="200"/>
<rect fill="white" height="100" rx="40" ry="40" width="200" x="0" y="400"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 364 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="M440-280h80v-240h-80v240Zm40-320q17 0 28.5-11.5T520-640q0-17-11.5-28.5T480-680q-17 0-28.5 11.5T440-640q0 17 11.5 28.5T480-600Zm0 520q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Z" fill="white" stroke="white"/></svg>

After

Width:  |  Height:  |  Size: 545 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="white" stroke="white"/></svg>

After

Width:  |  Height:  |  Size: 783 B

View File

@@ -0,0 +1,23 @@
<!--
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
References:
* https://fonts.google.com/icons
-->
<drawables>
<bitmap id="ErrorIcon" filename="error.svg"/>
<bitmap id="GroupTypeIcon" filename="group_type.svg"/>
<bitmap id="TapTypeIcon" filename="tap_type.svg"/>
<bitmap id="InfoTypeIcon" filename="info_type.svg"/>
</drawables>

View File

@@ -0,0 +1 @@
<svg height="34" viewBox="0 0 48 48" width="34" xmlns="http://www.w3.org/2000/svg"><path d="M24 34q.7 0 1.175-.475.475-.475.475-1.175 0-.7-.475-1.175Q24.7 30.7 24 30.7q-.7 0-1.175.475-.475.475-.475 1.175 0 .7.475 1.175Q23.3 34 24 34Zm-1.35-7.65h3V13.7h-3ZM24 44q-4.1 0-7.75-1.575-3.65-1.575-6.375-4.3-2.725-2.725-4.3-6.375Q4 28.1 4 23.95q0-4.1 1.575-7.75 1.575-3.65 4.3-6.35 2.725-2.7 6.375-4.275Q19.9 4 24.05 4q4.1 0 7.75 1.575 3.65 1.575 6.35 4.275 2.7 2.7 4.275 6.35Q44 19.85 44 24q0 4.1-1.575 7.75-1.575 3.65-4.275 6.375t-6.35 4.3Q28.15 44 24 44Zm.05-3q7.05 0 12-4.975T41 23.95q0-7.05-4.95-12T24 7q-7.05 0-12.025 4.95Q7 16.9 7 24q0 7.05 4.975 12.025Q16.95 41 24.05 41ZM24 24Z" fill="red" stroke="red"/></svg>

After

Width:  |  Height:  |  Size: 712 B

View File

@@ -0,0 +1,7 @@
<svg height="34" viewBox="0 0 200 500" width="34" 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="34" viewBox="0 -960 960 960" width="34" xmlns="http://www.w3.org/2000/svg"><path d="M440-280h80v-240h-80v240Zm40-320q17 0 28.5-11.5T520-640q0-17-11.5-28.5T480-680q-17 0-28.5 11.5T440-640q0 17 11.5 28.5T480-600Zm0 520q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Z" fill="blue" stroke="blue"/></svg>

After

Width:  |  Height:  |  Size: 543 B

View File

@@ -0,0 +1 @@
<svg height="34" viewBox="0 -960 960 960" width="34" 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

@@ -1,4 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<svg viewBox="0 0 200 500" width="48" height="48" xmlns="http://www.w3.org/2000/svg"> <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)"> <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="0" width="200" height="100" fill="blue" rx="40" ry="40"/>

Before

Width:  |  Height:  |  Size: 419 B

After

Width:  |  Height:  |  Size: 380 B

View File

@@ -0,0 +1,23 @@
<!--
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
References:
* https://fonts.google.com/icons
-->
<drawables>
<bitmap id="ErrorIcon" filename="error.svg"/>
<bitmap id="GroupTypeIcon" filename="group_type.svg"/>
<bitmap id="TapTypeIcon" filename="tap_type.svg"/>
<bitmap id="InfoTypeIcon" filename="info_type.svg"/>
</drawables>

View File

@@ -0,0 +1 @@
<svg height="55" viewBox="0 0 48 48" width="55" xmlns="http://www.w3.org/2000/svg"><path d="M24 34q.7 0 1.175-.475.475-.475.475-1.175 0-.7-.475-1.175Q24.7 30.7 24 30.7q-.7 0-1.175.475-.475.475-.475 1.175 0 .7.475 1.175Q23.3 34 24 34Zm-1.35-7.65h3V13.7h-3ZM24 44q-4.1 0-7.75-1.575-3.65-1.575-6.375-4.3-2.725-2.725-4.3-6.375Q4 28.1 4 23.95q0-4.1 1.575-7.75 1.575-3.65 4.3-6.35 2.725-2.7 6.375-4.275Q19.9 4 24.05 4q4.1 0 7.75 1.575 3.65 1.575 6.35 4.275 2.7 2.7 4.275 6.35Q44 19.85 44 24q0 4.1-1.575 7.75-1.575 3.65-4.275 6.375t-6.35 4.3Q28.15 44 24 44Zm.05-3q7.05 0 12-4.975T41 23.95q0-7.05-4.95-12T24 7q-7.05 0-12.025 4.95Q7 16.9 7 24q0 7.05 4.975 12.025Q16.95 41 24.05 41ZM24 24Z" fill="red" stroke="red"/></svg>

After

Width:  |  Height:  |  Size: 713 B

View File

@@ -0,0 +1,7 @@
<svg height="55" viewBox="0 0 200 500" width="55" 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: 362 B

View File

@@ -0,0 +1 @@
<svg height="55" viewBox="0 -960 960 960" width="55" xmlns="http://www.w3.org/2000/svg"><path d="M440-280h80v-240h-80v240Zm40-320q17 0 28.5-11.5T520-640q0-17-11.5-28.5T480-680q-17 0-28.5 11.5T440-640q0 17 11.5 28.5T480-600Zm0 520q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Z" fill="blue" stroke="blue"/></svg>

After

Width:  |  Height:  |  Size: 543 B

View File

@@ -0,0 +1 @@
<svg height="55" viewBox="0 -960 960 960" width="55" 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: 782 B

View File

@@ -9,62 +9,94 @@
tested on a Venu 2 device. The source code is provided at: tested on a Venu 2 device. The source code is provided at:
https://github.com/house-of-abbey/GarminHomeAssistant. https://github.com/house-of-abbey/GarminHomeAssistant.
P A Abbey & J D Abbey & Someone0nEarth, 31 October 2023 P A Abbey & J D Abbey & Someone0nEarth & vincentezw, 31 October 2023
--> -->
<!-- <!--
Generated by Google Translate: English to Indonesian Generated by Google Translate and gemini-2.5-flash from English to Indonesian
Dihasilkan oleh Google Terjemahan dari bahasa Inggris Dihasilkan oleh Google Translate dan gemini-2.5-flash dari bahasa Inggris ke bahasa Indonesia
--> -->
<strings> <strings>
<string id="ApiFlood">Panggilan API terlalu cepat. Harap perlambat permintaan Anda.</string>
<string id="ApiUrlNotFound">URL tidak ditemukan. Kemungkinan kesalahan URL API di pengaturan.</string>
<string id="AppName" scope="glance">HomeAssistant</string> <string id="AppName" scope="glance">HomeAssistant</string>
<string id="Confirm">Tentu?</string>
<string id="Executed" scope="glance">Dikonfirmasi</string>
<string id="NoPhone" scope="glance">Tidak ada koneksi Telepon</string>
<string id="NoInternet">Tidak ada koneksi internet</string>
<string id="NoResponse">Tidak Ada Respon, periksa koneksi Internet</string>
<string id="NoAPIKey" scope="glance">Tidak ada kunci API di pengaturan aplikasi</string>
<string id="NoApiUrl" scope="glance">Tidak ada URL API di pengaturan aplikasi</string>
<string id="NoConfigUrl" scope="glance">Tidak ada URL konfigurasi dalam pengaturan aplikasi</string>
<string id="ApiFlood">Panggilan API terlalu cepat. Harap memperlambat permintaan Anda.</string>
<string id="ApiUrlNotFound">URL tidak ditemukan. Potensi kesalahan URL API dalam pengaturan.</string>
<string id="ConfigUrlNotFound">URL tidak ditemukan. Potensi kesalahan URL Konfigurasi dalam pengaturan.</string>
<string id="NoJson">Tidak ada JSON yang dikembalikan dari permintaan HTTP.</string>
<string id="UnhandledHttpErr">Permintaan HTTP mengembalikan kode kesalahan =</string>
<string id="TrailingSlashErr">URL API tidak boleh memiliki garis miring '/'</string>
<string id="WebhookFailed">Gagal mendaftarkan Webhook</string>
<string id="TemplateError">Gagal merender template</string>
<string id="Available" scope="glance">Tersedia</string> <string id="Available" scope="glance">Tersedia</string>
<string id="Checking" scope="glance">Memeriksa...</string>
<string id="Unavailable" scope="glance">Tidak tersedia</string>
<string id="Unconfigured" scope="glance">Tidak dikonfigurasi</string>
<string id="Cached" scope="glance">Di-cache</string> <string id="Cached" scope="glance">Di-cache</string>
<string id="Checking" scope="glance">Memeriksa...</string>
<string id="ConfigUrlNotFound">URL tidak ditemukan. Kemungkinan kesalahan URL Konfigurasi di
pengaturan.</string>
<string id="Confirm">Yakin?</string>
<string id="Empty">Kosong</string>
<string id="Executed" scope="glance">Dikonfirmasi</string>
<string id="GlanceMenu" scope="glance">Menu</string> <string id="GlanceMenu" scope="glance">Menu</string>
<string id="Memory" scope="glance">Penyimpanan</string> <string id="Memory" scope="glance">Memori</string>
<!-- Untuk pengaturan GUI --> <string id="MenuUpdated">Menu diperbarui, mulai ulang.</string>
<string id="MenuCheckDisabled">Pembaruan menu dinonaktifkan.</string>
<string id="NoAPIKey" scope="glance">Tidak ada kunci API di pengaturan aplikasi.</string>
<string id="NoApiUrl" scope="glance">Tidak ada URL API di pengaturan aplikasi.</string>
<string id="NoConfigUrl" scope="glance">Tidak ada URL konfigurasi di pengaturan aplikasi.</string>
<string id="NoInternet">Tidak ada koneksi internet.</string>
<string id="NoJson">Tidak ada JSON yang diterima dari permintaan HTTP.</string>
<string id="NoPhone" scope="glance">Tidak ada koneksi telepon.</string>
<string id="NoPhoneNoCache" scope="glance">Tidak ada koneksi telepon, tidak ada menu yang
di-cache.</string>
<string id="NoResponse">Tidak ada tanggapan, periksa koneksi internet</string>
<string id="TimedOut">Permintaan habis waktu</string>
<string id="PinInputLocked">Input PIN terkunci selama</string>
<string id="PotentialError">Kesalahan potensial</string>
<string id="Seconds">detik</string>
<string id="TemplateError">Kesalahan template</string>
<string id="TrailingSlashErr">URL API tidak boleh memiliki garis miring di akhir '/'.</string>
<string id="Unavailable" scope="glance">Tidak tersedia</string>
<string id="Unconfigured" scope="glance">Tidak dikonfigurasikan</string>
<string id="UnhandledHttpErr">Permintaan HTTP mengembalikan kode kesalahan =</string>
<string id="WebhookFailed">Gagal mendaftar Webhook</string>
<string id="WrongPin">PIN yang salah</string>
<string id="WifiLteNotAvailable">Tidak ada Wi-Fi atau LTE yang tersedia</string>
<string id="WifiLtePrompt">Jalankan melalui Wi-Fi/LTE?</string>
<string id="WifiLteExecutionTitle">Mengirim ke Home Assistant.</string>
<string id="WifiLteExecutionDataError">Tidak ada data yang diterima.</string>
<!-- Untuk pengaturan GUI, string harus sesuai urutan yang digunakan. -->
<string id="SettingsSelect">Pilih...</string> <string id="SettingsSelect">Pilih...</string>
<string id="SettingsApiKey">Kunci API untuk HomeAssistant.</string> <string id="SettingsApiKey">Kunci API untuk HomeAssistant.</string>
<string id="SettingsApiKeyPrompt">Token Akses Berumur Panjang.</string> <string id="SettingsApiKeyPrompt">Token akses berumur panjang.</string>
<string id="SettingsApiUrl">URL untuk API HomeAssistant.</string> <string id="SettingsApiUrl">URL untuk API HomeAssistant.</string>
<string id="SettingsConfigUrl">URL untuk konfigurasi menu (JSON).</string> <string id="SettingsConfigUrl">URL untuk konfigurasi menu (JSON).</string>
<string id="SettingsCacheConfig">Haruskah aplikasi menyimpan konfigurasi menu dalam cache?</string> <string id="SettingsCacheConfig">Haruskah aplikasi meng-cache konfigurasi menu?</string>
<string id="SettingsClearCache">Sebaiknya aplikasi menghapus cache yang ada di lain waktu <string id="SettingsClearCache">Haruskah aplikasi menghapus cache yang ada saat dimulai
dimulai?</string> berikutnya?</string>
<string id="SettingsAppTimeout">Batas waktu dalam hitungan detik. Keluar dari aplikasi setelah periode ini <string id="SettingsEnableMenuUpdateCheck">Periksa pembaruan menu saat aplikasi dimulai? Catatan: Cache menu harus diaktifkan. Pengaturan ini dapat menyebabkan perangkat lama dengan memori lebih sedikit mengalami crash.</string>
ketidakaktifan untuk menghemat baterai perangkat.</string> <string id="SettingsWifiLteExecutionEnable">Aktifkan eksekusi perintah melalui Wi-Fi/LTE.</string>
<string id="SettingsConfirmTimeout">Setelah waktu ini (dalam detik), dialog konfirmasi untuk <string id="SettingsVibration">Haruskah aplikasi memberikan umpan balik melalui getaran?</string>
tindakan secara otomatis ditutup dan tindakan dibatalkan. Setel ke 0 untuk menonaktifkan batas waktu.</string> <string id="SettingsAppTimeout">Batas waktu dalam detik. Keluar dari aplikasi setelah periode
<string id="SettingsTextAlign">Penyelarasan Menu Kiri (mati) atau Kanan (hidup).</string> tidak aktif ini untuk menghemat baterai perangkat.</string>
<string id="LeftToRight">Kiri ke kanan</string> <string id="SettingsPollDelay">Penundaan polling tambahan (dalam detik). Menambahkan penundaan
<string id="RightToLeft">Kanan ke kiri</string> antara pembaruan status semua item menu.</string>
<string id="SettingsWidgetStart">(Khusus widget) Secara otomatis memulai aplikasi dari widget <string id="SettingsConfirmTimeout">Setelah waktu ini (dalam detik), dialog konfirmasi untuk suatu
tanpa menunggu ketukan.</string> tindakan ditutup secara otomatis dan tindakan dibatalkan. Atur ke 0 untuk menonaktifkan batas
<string id="SettingsEnableBatteryLevel">Aktifkan layanan latar belakang untuk mengirim baterai jam waktu.</string>
tingkat ke Asisten Rumah.</string> <string id="SettingsPin">PIN 4 digit untuk digunakan untuk semua tindakan yang memerlukannya
<string id="SettingsBatteryLevelRefreshRate">Kecepatan refresh (dalam menit) pada latar belakang (0000-9999).</string>
layanan harus mengulangi pengiriman level baterai.</string> <string id="SettingsPinError">Harap konfigurasikan PIN numerik 4 digit yang valid antara 0000 dan
<string id="WebhookId">(Hanya baca) ID Webhook yang dibuat oleh jam tangan untuk pembaruan level baterai. 9999 di pengaturan aplikasi.</string>
Anda mungkin memerlukan ini untuk debugging.</string> <string id="SettingsTextAlign">Penjajaran Menu Kiri (mati) atau Kanan (hidup).</string>
<string id="SettingsLeftToRight">Kiri ke kanan</string>
<string id="SettingsRightToLeft">Kanan ke kiri</string>
<string id="SettingsWidgetStart">(Hanya widget) Secara otomatis memulai aplikasi dari widget tanpa
menunggu ketukan.</string>
<string id="SettingsEnableBatteryLevel">Aktifkan layanan latar belakang untuk mengirim tingkat
baterai perangkat, lokasi, dan (jika didukung) data aktivitas ke Home Assistant.</string>
<string id="SettingsBatteryLevelRefreshRate">Tingkat refresh (dalam menit) di mana layanan latar
belakang harus mengulang pengiriman data.</string>
<string id="SettingsUserHttpHeader">Header HTTP yang disediakan pengguna</string>
<string id="SettingsUserHttpHeaderDescription">Beberapa instalasi Home Assistant memerlukan
spesifikasi header HTTP kustom agar berfungsi.</string>
<string id="SettingsUserHttpHeaderName">Header HTTP yang disediakan pengguna: Nama</string>
<string id="SettingsUserHttpHeaderValue">Header HTTP yang disediakan pengguna: Nilai</string>
<string id="SettingsClearWebhookId">Sambungkan kembali ke Home Assistant (hapus ID Webhook, lihat
Panduan Pemecahan Masalah).</string>
<string id="SettingsWebhookId">(Baca saja) ID Webhook yang dibuat oleh perangkat untuk pembaruan
layanan latar belakang. Anda mungkin memerlukan ini untuk debugging.</string>
</strings> </strings>

View File

@@ -9,62 +9,100 @@
tested on a Venu 2 device. The source code is provided at: tested on a Venu 2 device. The source code is provided at:
https://github.com/house-of-abbey/GarminHomeAssistant. https://github.com/house-of-abbey/GarminHomeAssistant.
P A Abbey & J D Abbey & Someone0nEarth, 31 October 2023 P A Abbey & J D Abbey & Someone0nEarth & vincentezw, 31 October 2023
--> -->
<!-- <!--
Generated by Google Translate: English to Italian Generated by Google Translate and gemini-2.5-flash from English to Italian
Generato da Google Translate dall'inglese Generato da Google Translate e gemini-2.5-flash dall'inglese all'italiano
--> -->
<strings> <strings>
<string id="AppName" scope="glance">HomeAssistant</string> <string id="ApiFlood">Chiamate API troppo rapide. Rallentare le richieste.</string>
<string id="Confirm">Sicuro?</string>
<string id="Executed" scope="glance">Confermato</string>
<string id="NoPhone" scope="glance">Nessuna connessione telefonica</string>
<string id="NoInternet">Nessuna connessione internet</string>
<string id="NoResponse">Nessuna risposta, controlla la connessione Internet</string>
<string id="NoAPIKey" scope="glance">Nessuna chiave API nelle impostazioni dell'applicazione</string>
<string id="NoApiUrl" scope="glance">Nessun URL API nelle impostazioni dell'applicazione</string>
<string id="NoConfigUrl" scope="glance">Nessun URL di configurazione nelle impostazioni dell'applicazione</string>
<string id="ApiFlood">Chiamate API troppo rapide. Per favore rallenta le tue richieste.</string>
<string id="ApiUrlNotFound">URL non trovato. Potenziale errore URL API nelle impostazioni.</string> <string id="ApiUrlNotFound">URL non trovato. Potenziale errore URL API nelle impostazioni.</string>
<string id="ConfigUrlNotFound">URL non trovato. Potenziale errore dell'URL di configurazione nelle impostazioni.</string> <string id="AppName" scope="glance">HomeAssistant</string>
<string id="NoJson">Nessun JSON restituito dalla richiesta HTTP.</string>
<string id="UnhandledHttpErr">La richiesta HTTP ha restituito il codice di errore =</string>
<string id="TrailingSlashErr">L'URL dell'API non deve avere una barra finale "/"</string>
<string id="WebhookFailed">Impossibile registrare il Webhook</string>
<string id="TemplateError">Impossibile eseguire il rendering del modello</string>
<string id="Available" scope="glance">Disponibile</string> <string id="Available" scope="glance">Disponibile</string>
<string id="Checking" scope="glance">Controllo...</string> <string id="Cached" scope="glance">In cache</string>
<string id="Checking" scope="glance">Controllo ...</string>
<string id="ConfigUrlNotFound">URL non trovato. Potenziale errore URL di configurazione nelle
impostazioni.</string>
<string id="Confirm">Sicuro?</string>
<string id="Empty">Vuoto</string>
<string id="Executed" scope="glance">Confermato</string>
<string id="GlanceMenu" scope="glance">Menu</string>
<string id="Memory" scope="glance">Memoria</string>
<string id="MenuUpdated">Menu aggiornato, riavvio.</string>
<string id="MenuCheckDisabled">Aggiornamenti di menu disabilitati.</string>
<string id="NoAPIKey" scope="glance">Nessuna chiave API nelle impostazioni dell'applicazione.</string>
<string id="NoApiUrl" scope="glance">Nessun URL API nelle impostazioni dell'applicazione.</string>
<string id="NoConfigUrl" scope="glance">Nessun URL di configurazione nelle impostazioni
dell'applicazione.</string>
<string id="NoInternet">Nessuna connessione Internet.</string>
<string id="NoJson">Nessun JSON ricevuto dalla richiesta HTTP.</string>
<string id="NoPhone" scope="glance">Nessuna connessione telefonica.</string>
<string id="NoPhoneNoCache" scope="glance">Nessuna connessione telefonica, nessun menu memorizzato
nella cache.</string>
<string id="NoResponse">Nessuna risposta, controlla la connessione Internet</string>
<string id="TimedOut">Richiesta scaduta</string>
<string id="PinInputLocked">Inserimento PIN bloccato per</string>
<string id="PotentialError">Potenziale errore</string>
<string id="Seconds">Secondi</string>
<string id="TemplateError">Errore modello</string>
<string id="TrailingSlashErr">L'URL API non deve contenere una barra finale '/'.</string>
<string id="Unavailable" scope="glance">Non disponibile</string> <string id="Unavailable" scope="glance">Non disponibile</string>
<string id="Unconfigured" scope="glance">Non configurato</string> <string id="Unconfigured" scope="glance">Non configurato</string>
<string id="Cached" scope="glance">Memorizzato nella cache</string> <string id="UnhandledHttpErr">La richiesta HTTP ha restituito il codice di errore = </string>
<string id="GlanceMenu" scope="glance">Menù</string> <string id="WebhookFailed">Impossibile registrare Webhook</string>
<string id="Memory" scope="glance">Memoria</string> <string id="WrongPin">PIN sbagliato</string>
<!-- Per la GUI delle impostazioni --> <string id="WifiLteNotAvailable">Nessun Wi-Fi o LTE disponibile</string>
<string id="WifiLtePrompt">Eseguire su Wi-Fi/LTE?</string>
<string id="WifiLteExecutionTitle">Invio a Home Assistant.</string>
<string id="WifiLteExecutionDataError">Nessun dato ricevuto.</string>
<!-- Per le impostazioni della GUI, le stringhe dovrebbero essere nell'ordine in cui vengono
utilizzate. -->
<string id="SettingsSelect">Selezionare...</string> <string id="SettingsSelect">Selezionare...</string>
<string id="SettingsApiKey">Chiave API per HomeAssistant.</string> <string id="SettingsApiKey">Chiave API per HomeAssistant.</string>
<string id="SettingsApiKeyPrompt">Token di accesso di lunga durata.</string> <string id="SettingsApiKeyPrompt">Token di accesso di lunga durata.</string>
<string id="SettingsApiUrl">URL per l'API HomeAssistant.</string> <string id="SettingsApiUrl">URL per API HomeAssistant.</string>
<string id="SettingsConfigUrl">URL per la configurazione del menu (JSON).</string> <string id="SettingsConfigUrl">URL per la configurazione del menu (JSON).</string>
<string id="SettingsCacheConfig">L'applicazione dovrebbe memorizzare nella cache la configurazione del menu?</string> <string id="SettingsCacheConfig">L'applicazione dovrebbe memorizzare nella cache la configurazione
<string id="SettingsClearCache">L'applicazione dovrebbe cancellare la cache esistente la prossima volta del menu?</string>
iniziato?</string> <string id="SettingsClearCache">L'applicazione dovrebbe cancellare la cache esistente la prossima
<string id="SettingsAppTimeout">Timeout in secondi. Uscire dall'applicazione dopo questo periodo di volta che viene avviata?</string>
inattività per risparmiare la batteria del dispositivo.</string> <string id="SettingsEnableMenuUpdateCheck">Controllare gli aggiornamenti del menu all'inizio
<string id="SettingsConfirmTimeout">Trascorso questo tempo (in secondi), verrà visualizzata una finestra di dialogo di conferma per un dell'applicazione? NOTA: la memorizzazione della memorizzazione nella cache dei menu deve essere
l'azione viene chiusa automaticamente e annullata. Impostare su 0 per disabilitare il timeout.</string> abilitata. Questa impostazione può causare crash di dispositivi più vecchi con meno memoria.</string>
<string id="SettingsTextAlign">Allineamento del menu a sinistra (spento) o a destra (acceso).</string> <string id="SettingsWifiLteExecutionEnable">Abilita l'esecuzione dei comandi su Wi-Fi/LTE.</string>
<string id="LeftToRight">Da sinistra a destra</string> <string id="SettingsVibration">L'applicazione dovrebbe fornire feedback tramite vibrazioni?</string>
<string id="RightToLeft">Da destra a sinistra</string> <string id="SettingsAppTimeout">Timeout in secondi. Esci dall'applicazione dopo questo periodo di
inattività per salvare la batteria del dispositivo.</string>
<string id="SettingsPollDelay">Ritardo di polling aggiuntivo (in secondi). Aggiunge un ritardo tra
l'aggiornamento dello stato di tutte le voci di menu.</string>
<string id="SettingsConfirmTimeout">Dopo questo tempo (in secondi), una finestra di dialogo di
conferma per un'azione viene automaticamente chiusa e l'azione viene annullata. Impostare su 0
per disabilitare il timeout.</string>
<string id="SettingsPin">PIN a 4 cifre da utilizzare per tutte le azioni che lo richiedono
(0000-9999).</string>
<string id="SettingsPinError">Configura un PIN numerico a 4 cifre valido tra 0000 e 9999 nelle
impostazioni dell'applicazione.</string>
<string id="SettingsTextAlign">Allineamento del menu a sinistra (OFF) o a destra (ON).</string>
<string id="SettingsLeftToRight">Da sinistra a destra</string>
<string id="SettingsRightToLeft">Da destra a sinistra</string>
<string id="SettingsWidgetStart">(Solo widget) Avvia automaticamente l'applicazione dal widget <string id="SettingsWidgetStart">(Solo widget) Avvia automaticamente l'applicazione dal widget
senza aspettare un tocco.</string> senza attendere un tocco.</string>
<string id="SettingsEnableBatteryLevel">Abilita il servizio in background per inviare la batteria dell'orologio <string id="SettingsEnableBatteryLevel">Abilita il servizio in background per inviare il livello
livello su Home Assistant.</string> della batteria del dispositivo, la posizione e (se supportati) i dati di attività a Home
<string id="SettingsBatteryLevelRefreshRate">La frequenza di aggiornamento (in minuti) alla quale viene visualizzato lo sfondo Assistant.</string>
il servizio dovrebbe ripetere l'invio del livello della batteria.</string> <string id="SettingsBatteryLevelRefreshRate">La frequenza di aggiornamento (in minuti) con cui il
<string id="WebhookId">(Sola lettura) L'ID webhook creato dall'orologio per gli aggiornamenti del livello della batteria. servizio in background dovrebbe ripetere l'invio dei dati.</string>
Potrebbe essere necessario per il debug.</string> <string id="SettingsUserHttpHeader">Intestazione HTTP fornita dall'utente</string>
<string id="SettingsUserHttpHeaderDescription">Alcune installazioni di Home Assistant richiedono
la specifica di un'intestazione HTTP personalizzata per funzionare.</string>
<string id="SettingsUserHttpHeaderName">Intestazione HTTP fornita dall'utente: Nome</string>
<string id="SettingsUserHttpHeaderValue">Intestazione HTTP fornita dall'utente: Valore</string>
<string id="SettingsClearWebhookId">Riconnettiti a Home Assistant (cancella ID Webhook, vedi Guida
alla risoluzione dei problemi).</string>
<string id="SettingsWebhookId">(Solo lettura) L'ID WebHook creato dal dispositivo per gli
aggiornamenti del servizio in background. Potresti richiederlo per il debug.</string>
</strings> </strings>

View File

@@ -9,62 +9,83 @@
tested on a Venu 2 device. The source code is provided at: tested on a Venu 2 device. The source code is provided at:
https://github.com/house-of-abbey/GarminHomeAssistant. https://github.com/house-of-abbey/GarminHomeAssistant.
P A Abbey & J D Abbey & Someone0nEarth, 31 October 2023 P A Abbey & J D Abbey & Someone0nEarth & vincentezw, 31 October 2023
--> -->
<!-- <!--
Generated by Google Translate: English to Japanese Generated by Google Translate and gemini-2.5-flash from English to Japanese
英語から Google 翻訳によって生成 Google翻訳とgemini-2.5-flashによって英語から日本語に生成されました
--> -->
<strings> <strings>
<string id="ApiFlood">API呼び出しが頻繁すぎます。リクエストの頻度を下げてください。</string>
<string id="ApiUrlNotFound">URLが見つかりません。設定のAPI URLに誤りがある可能性があります。</string>
<string id="AppName" scope="glance">HomeAssistant</string> <string id="AppName" scope="glance">HomeAssistant</string>
<string id="Confirm">もちろん?</string>
<string id="Executed" scope="glance">確認済み</string>
<string id="NoPhone" scope="glance">電話が接続されていません</string>
<string id="NoInternet">インターネット接続なし</string>
<string id="NoResponse">応答がありません。インターネット接続を確認してください</string>
<string id="NoAPIKey" scope="glance">アプリケーション設定に API キーがありません</string>
<string id="NoApiUrl" scope="glance">アプリケーション設定に API URL がありません</string>
<string id="NoConfigUrl" scope="glance">アプリケーション設定に構成 URL がありません</string>
<string id="ApiFlood">API 呼び出しが速すぎます。リクエストは遅くしてください。</string>
<string id="ApiUrlNotFound">URLが見つかりません。設定における API URL エラーの可能性があります。</string>
<string id="ConfigUrlNotFound">URLが見つかりません。設定内の構成 URL エラーの可能性があります。</string>
<string id="NoJson">HTTP リクエストから JSON が返されませんでした。</string>
<string id="UnhandledHttpErr">HTTP リクエストがエラー コードを返しました =</string>
<string id="TrailingSlashErr">API URL の末尾にスラッシュ「/」を含めることはできません</string>
<string id="WebhookFailed">Webhookの登録に失敗しました</string>
<string id="TemplateError">テンプレートのレンダリングに失敗しました</string>
<string id="Available" scope="glance">利用可能</string> <string id="Available" scope="glance">利用可能</string>
<string id="Cached" scope="glance">キャッシュ済</string>
<string id="Checking" scope="glance">チェック中...</string> <string id="Checking" scope="glance">チェック中...</string>
<string id="Unavailable" scope="glance">利用不可</string> <string id="ConfigUrlNotFound">URLが見つかりません。設定の構成URLに誤りがある可能性があります。</string>
<string id="Unconfigured" scope="glance">未構成</string> <string id="Confirm">確認</string>
<string id="Cached" scope="glance">キャッシュされた</string> <string id="Empty"></string>
<string id="Executed" scope="glance">実行済み</string>
<string id="GlanceMenu" scope="glance">メニュー</string> <string id="GlanceMenu" scope="glance">メニュー</string>
<string id="Memory" scope="glance">メモリ</string> <string id="Memory" scope="glance">メモリ</string>
<!-- 設定GUIの場合 --> <string id="MenuUpdated">メニュー更新済み、再起動。</string>
<string id="SettingsSelect">選択する...</string> <string id="MenuCheckDisabled">メニューの更新は無効です。</string>
<string id="SettingsApiKey">ホームアシスタントの API キー。</string> <string id="NoAPIKey" scope="glance">アプリケーション設定にAPIキーはありません</string>
<string id="SettingsApiKeyPrompt">有効期間の長いアクセス トークン</string> <string id="NoApiUrl" scope="glance">アプリケーション設定にAPI URLはありません</string>
<string id="SettingsApiUrl">ホームアシスタント API の URL</string> <string id="NoConfigUrl" scope="glance">アプリケーション設定に構成URLはありません</string>
<string id="SettingsConfigUrl">メニュー構成の URL (JSON)</string> <string id="NoInternet">インターネット接続はありません</string>
<string id="SettingsCacheConfig">アプリケーションはメニュー構成をキャッシュする必要がありますか?</string> <string id="NoJson">JSONはHTTPリクエストから返されませんでした。</string>
<string id="SettingsClearCache">次回アプリケーションが既存のキャッシュをクリアする必要があるかどうか <string id="NoPhone" scope="glance">電話接続はありません。</string>
始めましたか?</string> <string id="NoPhoneNoCache" scope="glance">電話接続なし、キャッシュ済みメニューなし。</string>
<string id="SettingsAppTimeout">秒単位のタイムアウト。この期間が経過したらアプリケーションを終了してください <string id="NoResponse">応答なし、インターネット接続を確認してください</string>
デバイスのバッテリーを節約するために非アクティブにします。</string> <string id="TimedOut">リクエストがタイムアウトしました</string>
<string id="SettingsConfirmTimeout">この時間 (秒単位) が経過すると、確認ダイアログが表示されます。 <string id="PinInputLocked">PIN入力はロックされています</string>
アクションは自動的に閉じられ、アクションはキャンセルされます。タイムアウトを無効にするには、0 に設定します。</string> <string id="PotentialError">潜在的なエラー</string>
<string id="SettingsTextAlign">左 (オフ) または右 (オン) メニューの配置。</string> <string id="Seconds"></string>
<string id="LeftToRight">左から右へ</string> <string id="TemplateError">テンプレートエラー</string>
<string id="RightToLeft">右から左に</string> <string id="TrailingSlashErr">API URLの末尾にスラッシュ '/' を含めないでください。</string>
<string id="SettingsWidgetStart">(ウィジェットのみ) ウィジェットからアプリを自動起動します <string id="Unavailable" scope="glance">利用できません</string>
タップを待たずに。</string> <string id="Unconfigured" scope="glance">未設定</string>
<string id="SettingsEnableBatteryLevel">時計のバッテリーを送信するバックグラウンド サービスを有効にする <string id="UnhandledHttpErr">HTTPリクエストがエラーコードを返しました = </string>
ホームアシスタントレベル。</string> <string id="WebhookFailed">Webhookの登録に失敗しました</string>
<string id="SettingsBatteryLevelRefreshRate">バックグラウンドのリフレッシュ レート (分単位)。 <string id="WrongPin">間違ったピン</string>
サービスはバッテリー残量の送信を繰り返す必要があります。</string> <string id="WifiLteNotAvailable">Wi-FiまたはLTEは利用できません</string>
<string id="WebhookId">(読み取り専用) バッテリー レベルの更新のためにウォッチによって作成された Webhook ID。 <string id="WifiLtePrompt">Wi-Fi/LTE経由で実行しますか</string>
デバッグのためにこれが必要になる場合があります</string> <string id="WifiLteExecutionTitle">Home Assistantに送信中</string>
<string id="WifiLteExecutionDataError">受信したデータはありません。</string>
<!-- 設定GUIの場合、文字列は使用される順序である必要があります。 -->
<string id="SettingsSelect">選択...</string>
<string id="SettingsApiKey">Home AssistantのAPIキー。</string>
<string id="SettingsApiKeyPrompt">長寿命のアクセストークン。</string>
<string id="SettingsApiUrl">Home Assistant APIのURL。</string>
<string id="SettingsConfigUrl">メニュー構成用のURLJSON</string>
<string id="SettingsCacheConfig">メニュー構成をキャッシュしますか?</string>
<string id="SettingsClearCache">次回起動時に既存のキャッシュをクリアしますか?</string>
<string id="SettingsEnableMenuUpdateCheck">アプリケーション起動時にメニューの更新を確認しますか?注: メニューのキャッシュが有効になっている必要があります。この設定は、メモリの少ない古いデバイスでクラッシュを引き起こす可能性があります。</string>
<string id="SettingsWifiLteExecutionEnable">Wi-Fi/LTE経由でのコマンド実行を有効にする。</string>
<string id="SettingsVibration">振動フィードバックを有効にする</string>
<string id="SettingsAppTimeout">タイムアウト(秒)。デバイスのバッテリーを節約するため、この非アクティブ期間の後にアプリを終了します。</string>
<string id="SettingsPollDelay">追加ポーリング遅延(秒)。すべてのメニュー項目のステータス更新間隔に遅延を追加します。</string>
<string id="SettingsConfirmTimeout">
この時間が経過すると、アクションの確認ダイアログは自動的に閉じられ、アクションはキャンセルされます。タイムアウトを無効にするには0に設定してください。</string>
<string id="SettingsPin">必要なすべてのアクションに使用する4桁のPIN0000-9999</string>
<string id="SettingsPinError">アプリケーション設定で、0000から9999までの有効な4桁の数値PINを設定してください。</string>
<string id="SettingsTextAlign">メニューの配置:左(オフ)または右(オン)。</string>
<string id="SettingsLeftToRight">左から右</string>
<string id="SettingsRightToLeft">右から左</string>
<string id="SettingsWidgetStart">(ウィジェットのみ)タップを待たずにウィジェットからアプリケーションを自動起動します。</string>
<string id="SettingsEnableBatteryLevel">バックグラウンドサービスによるデバイスのバッテリーレベル、位置情報、およびサポートされている場合アクティビティデータのHome
Assistantへの送信を有効にする。</string>
<string id="SettingsBatteryLevelRefreshRate">バックグラウンドサービスがデータを送信するリフレッシュレート(分)。</string>
<string id="SettingsUserHttpHeader">ユーザーが提供したHTTPヘッダー</string>
<string id="SettingsUserHttpHeaderDescription">一部のHome
Assistantのインストールでは、機能するためにカスタムHTTPヘッダーの指定が必要です。</string>
<string id="SettingsUserHttpHeaderName">ユーザーが提供したHTTPヘッダー名前</string>
<string id="SettingsUserHttpHeaderValue">ユーザーが提供したHTTPヘッダー</string>
<string id="SettingsClearWebhookId">Home Assistantに再接続Webhook IDをクリア、トラブルシューティングガイドを参照</string>
<string id="SettingsWebhookId">読み取り専用バックグラウンドサービスの更新のためにデバイスによって作成されたWebhook
ID。デバッグにこれが必要になる場合があります。</string>
</strings> </strings>

View File

@@ -9,62 +9,82 @@
tested on a Venu 2 device. The source code is provided at: tested on a Venu 2 device. The source code is provided at:
https://github.com/house-of-abbey/GarminHomeAssistant. https://github.com/house-of-abbey/GarminHomeAssistant.
P A Abbey & J D Abbey & Someone0nEarth, 31 October 2023 P A Abbey & J D Abbey & Someone0nEarth & vincentezw, 31 October 2023
--> -->
<!-- <!--
Generated by Google Translate: English to Korean Generated by Google Translate and gemini-2.5-flash from English to Korean
영어에서 Google 번역로 생성됨 Google 번역 및 gemini-2.5-flash에 의해 영어에서 한국어로 생성됨
--> -->
<strings> <strings>
<string id="ApiFlood">API 호출이 너무 빠릅니다. 요청 속도를 늦춰주세요.</string>
<string id="ApiUrlNotFound">URL을 찾을 수 없습니다. 설정에 API URL 오류가 있을 수 있습니다.</string>
<string id="AppName" scope="glance">HomeAssistant</string> <string id="AppName" scope="glance">HomeAssistant</string>
<string id="Confirm">확신하는?</string>
<string id="Executed" scope="glance">확인됨</string>
<string id="NoPhone" scope="glance">전화 연결 없음</string>
<string id="NoInternet">인터넷에 연결되지 않음</string>
<string id="NoResponse">응답이 없습니다. 인터넷 연결을 확인하세요.</string>
<string id="NoAPIKey" scope="glance">애플리케이션 설정에 API 키가 없습니다.</string>
<string id="NoApiUrl" scope="glance">애플리케이션 설정에 API URL이 없습니다.</string>
<string id="NoConfigUrl" scope="glance">애플리케이션 설정에 구성 URL이 없습니다.</string>
<string id="ApiFlood">API 호출이 너무 빠릅니다. 요청 속도를 늦추시기 바랍니다.</string>
<string id="ApiUrlNotFound">URL을 찾을 수 없습니다. 설정에 잠재적인 API URL 오류가 있습니다.</string>
<string id="ConfigUrlNotFound">URL을 찾을 수 없습니다. 설정에 잠재적인 구성 URL 오류가 있습니다.</string>
<string id="NoJson">HTTP 요청에서 JSON이 반환되지 않았습니다.</string>
<string id="UnhandledHttpErr">HTTP 요청이 오류 코드를 반환했습니다 =</string>
<string id="TrailingSlashErr">API URL에는 후행 슬래시 '/'가 있어서는 안 됩니다.</string>
<string id="WebhookFailed">웹훅 등록 실패</string>
<string id="TemplateError">템플릿을 렌더링하지 못했습니다.</string>
<string id="Available" scope="glance">사용 가능</string> <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="Cached" scope="glance">캐시됨</string>
<string id="Checking" scope="glance">확인 중...</string>
<string id="ConfigUrlNotFound">URL을 찾을 수 없습니다. 설정에 구성 URL 오류가 있을 수 있습니다.</string>
<string id="Confirm">확인?</string>
<string id="Empty">비어 있음</string>
<string id="Executed" scope="glance">실행됨</string>
<string id="GlanceMenu" scope="glance">메뉴</string> <string id="GlanceMenu" scope="glance">메뉴</string>
<string id="Memory" scope="glance">메모리</string> <string id="Memory" scope="glance">메모리</string>
<!-- 설정 GUI의 경우 --> <string id="MenuUpdated">메뉴 업데이트됨, 재시작.</string>
<string id="SettingsSelect">선택하다...</string> <string id="MenuCheckDisabled">메뉴 업데이트 비활성화됨.</string>
<string id="NoAPIKey" scope="glance">앱 설정에 API 키가 없습니다.</string>
<string id="NoApiUrl" scope="glance">앱 설정에 API URL이 없습니다.</string>
<string id="NoConfigUrl" scope="glance">앱 설정에 구성 URL이 없습니다.</string>
<string id="NoInternet">인터넷 연결 없음.</string>
<string id="NoJson">HTTP 요청에서 JSON이 반환되지 않았습니다.</string>
<string id="NoPhone" scope="glance">휴대폰 연결 없음.</string>
<string id="NoPhoneNoCache" scope="glance">휴대폰 연결 없음, 캐시된 메뉴 없음.</string>
<string id="NoResponse">응답 없음, 인터넷 연결 확인.</string>
<string id="TimedOut">요청 시간 초과</string>
<string id="PinInputLocked">PIN 입력 잠김 기간:</string>
<string id="PotentialError">잠재적 오류</string>
<string id="Seconds"></string>
<string id="TemplateError">템플릿 오류</string>
<string id="TrailingSlashErr">API URL에 후행 슬래시 '/'가 없어야 합니다.</string>
<string id="Unavailable" scope="glance">사용 불가</string>
<string id="Unconfigured" scope="glance">구성되지 않음</string>
<string id="UnhandledHttpErr">HTTP 요청 오류 코드 반환 = </string>
<string id="WebhookFailed">Webhook 등록 실패</string>
<string id="WrongPin">잘못된 PIN</string>
<string id="WifiLteNotAvailable">Wi-Fi 또는 LTE 사용 불가</string>
<string id="WifiLtePrompt">Wi-Fi/LTE를 통해 실행하시겠습니까?</string>
<string id="WifiLteExecutionTitle">Home Assistant로 전송 중.</string>
<string id="WifiLteExecutionDataError">수신된 데이터 없음.</string>
<!-- 설정 GUI의 경우 문자열이 사용되는 순서대로해야합니다. -->
<string id="SettingsSelect">선택...</string>
<string id="SettingsApiKey">HomeAssistant용 API 키.</string> <string id="SettingsApiKey">HomeAssistant용 API 키.</string>
<string id="SettingsApiKeyPrompt">장기 액세스 토큰.</string> <string id="SettingsApiKeyPrompt">장기 액세스 토큰.</string>
<string id="SettingsApiUrl">HomeAssistant API URL입니다.</string> <string id="SettingsApiUrl">Home Assistant API URL.</string>
<string id="SettingsConfigUrl">메뉴 구성을 위한 URL(JSON)입니다.</string> <string id="SettingsConfigUrl">메뉴 구성 (JSON) URL.</string>
<string id="SettingsCacheConfig">애플리케이션이 메뉴 구성을 캐시해야 합니까?</string> <string id="SettingsCacheConfig">앱에서 메뉴 구성을 캐시하시겠습니까?</string>
<string id="SettingsClearCache">다음 번에 애플리케이션이 기존 캐시를 지워야 할까요? <string id="SettingsClearCache">앱 시작 시 기존 캐시를 지우시겠습니까?</string>
시작됐나요?</string> <string id="SettingsEnableMenuUpdateCheck">앱 시작 시 메뉴 업데이트를 확인하시겠습니까? 참고: 메뉴 캐싱이 활성화되어 있어야 합니다. 이 설정은 메모리가 부족한 구형 기기에서 충돌을 일으킬 수 있습니다.</string>
<string id="SettingsAppTimeout">시간 초과(초)입니다. 이 기간이 지나면 응용 프로그램을 종료하십시오. <string id="SettingsWifiLteExecutionEnable">Wi-Fi/LTE를 통한 명령 실행 활성화.</string>
장치 배터리를 절약하기 위해 활동하지 않습니다.</string> <string id="SettingsVibration">앱에서 진동으로 피드백을 제공하시겠습니까?</string>
<string id="SettingsConfirmTimeout">이 시간(초)이 지나면 확인 대화나타납니다. <string id="SettingsAppTimeout">시간 초과(초). 기기 배터리 절약을 위해 비활성되면 앱이 종료됩니다.</string>
작업이 자동으로 닫히고 작업이 취소됩니다. 시간 초과를 비활성화하려면 0으로 설정합니다.</string> <string id="SettingsPollDelay">추가 폴링 지연(초). 모든 메뉴 항목의 상태 업데이트 사이에 지연을 추가합니다.</string>
<string id="SettingsTextAlign">왼쪽(끄기) 또는 오른쪽(켜기) 메뉴 정렬.</string> <string id="SettingsConfirmTimeout">이 시간(초)이 지나면 작업 확인 대화상자가 자동으로 닫히고 작업이 취소됩니다. 시간 초과를 비활성화하려면
<string id="LeftToRight">왼쪽에서 오른쪽으로</string> 0으로 설정하세요.</string>
<string id="RightToLeft">오른쪽에서 왼쪽으로</string> <string id="SettingsPin">필요한 모든 작업에 사용될 4자리 PIN (0000-9999).</string>
<string id="SettingsWidgetStart">(위젯만 해당) 위젯에서 자동으로 애플리케이션 시작 <string id="SettingsPinError">앱 설정에서 0000에서 9999 사이의 유효한 4자리 숫자 PIN을 설정해주세요.</string>
탭을 기다리지 않고.</string> <string id="SettingsTextAlign">왼쪽(꺼짐) 또는 오른쪽(켜짐) 메뉴 정렬.</string>
<string id="SettingsEnableBatteryLevel">시계 배터리를 보내려면 백그라운드 서비스를 활성화하세요. <string id="SettingsLeftToRight">왼쪽에서 오른쪽</string>
홈어시스턴트 수준.</string> <string id="SettingsRightToLeft">오른쪽에서 왼쪽</string>
<string id="SettingsBatteryLevelRefreshRate">배경이 재생되는 새로 고침 빈도(분)입니다. <string id="SettingsWidgetStart">(위젯 전용) 탭을 기다리지 않고 위젯에서 앱을 자동으로 시작합니다.</string>
서비스는 배터리 잔량 전송을 반복해야 합니다.</string> <string id="SettingsEnableBatteryLevel">백그라운드 서비스가 기기 배터리 잔량, 위치 및 (지원되는 경우) 활동 데이터를 Home
<string id="WebhookId">(읽기 전용) 배터리 잔량 업데이트를 위해 시계에서 생성된 웹훅 ID입니다. Assistant로 전송하도록 활성화합니다.</string>
디버깅을 위해 이 정보가 필요할 수 있습니다.</string> <string id="SettingsBatteryLevelRefreshRate">백그라운드 서비스가 데이터를 반복 전송할 새로 고침 빈도(분).</string>
<string id="SettingsUserHttpHeader">사용자 제공 HTTP 헤더</string>
<string id="SettingsUserHttpHeaderDescription">일부 Home Assistant 설치에서는 작동을 위해 사용자 지정 HTTP 헤더를 지정해야
합니다.</string>
<string id="SettingsUserHttpHeaderName">사용자 제공 HTTP 헤더: 이름</string>
<string id="SettingsUserHttpHeaderValue">사용자 제공 HTTP 헤더: 값</string>
<string id="SettingsClearWebhookId">Home Assistant에 다시 연결 (Webhook ID 지우기, 문제 해결 가이드 참조).</string>
<string id="SettingsWebhookId">(읽기 전용) 백그라운드 서비스 업데이트를 위해 기기에서 생성한 Webhook ID. 디버깅에 필요할 수 있습니다.</string>
</strings> </strings>

View File

@@ -0,0 +1,17 @@
<!--
Distributed under MIT Licence
See https://github.com/house-of-abbey/GarminHomeAssistant/blob/main/LICENSE.
GarminHomeAssistant is a Garmin IQ application written in Monkey C and routinely
tested on a Venu 2 device. The source code is provided at:
https://github.com/house-of-abbey/GarminHomeAssistant.
P A Abbey & J D Abbey & Someone0nEarth, 31 October 2023
-->
<drawables>
<bitmap id="LauncherIcon" filename="launcher.svg" />
</drawables>

View File

@@ -0,0 +1,4 @@
<svg fill="none" height="52" viewBox="0 0 400 400" width="52" xmlns="http://www.w3.org/2000/svg">
<path d="M320 301.762C320 310.012 313.25 316.762 305 316.762H95C86.75 316.762 80 310.012 80 301.762V211.762C80 203.512 84.77 191.993 90.61 186.153L189.39 87.3725C195.22 81.5425 204.77 81.5425 210.6 87.3725L309.39 186.162C315.22 191.992 320 203.522 320 211.772V301.772V301.762Z" fill="#F2F4F9"/>
<path d="M309.39 186.153L210.61 87.3725C204.78 81.5425 195.23 81.5425 189.4 87.3725L90.61 186.153C84.78 191.983 80 203.512 80 211.762V301.762C80 310.012 86.75 316.762 95 316.762H187.27L146.64 276.132C144.55 276.852 142.32 277.262 140 277.262C128.7 277.262 119.5 268.062 119.5 256.762C119.5 245.462 128.7 236.262 140 236.262C151.3 236.262 160.5 245.462 160.5 256.762C160.5 259.092 160.09 261.322 159.37 263.412L191 295.042V179.162C184.2 175.822 179.5 168.842 179.5 160.772C179.5 149.472 188.7 140.272 200 140.272C211.3 140.272 220.5 149.472 220.5 160.772C220.5 168.842 215.8 175.822 209 179.162V260.432L240.46 228.972C239.84 227.012 239.5 224.932 239.5 222.772C239.5 211.472 248.7 202.272 260 202.272C271.3 202.272 280.5 211.472 280.5 222.772C280.5 234.072 271.3 243.272 260 243.272C257.5 243.272 255.12 242.802 252.91 241.982L209 285.892V316.772H305C313.25 316.772 320 310.022 320 301.772V211.772C320 203.522 315.23 192.002 309.39 186.162V186.153Z" fill="#18BCF2"/>
</svg>

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

@@ -0,0 +1,17 @@
<!--
Distributed under MIT Licence
See https://github.com/house-of-abbey/GarminHomeAssistant/blob/main/LICENSE.
GarminHomeAssistant is a Garmin IQ application written in Monkey C and routinely
tested on a Venu 2 device. The source code is provided at:
https://github.com/house-of-abbey/GarminHomeAssistant.
P A Abbey & J D Abbey & Someone0nEarth, 31 October 2023
-->
<drawables>
<bitmap id="LauncherIcon" filename="launcher.svg" />
</drawables>

View File

@@ -0,0 +1,4 @@
<svg fill="none" height="56" viewBox="0 0 400 400" width="56" xmlns="http://www.w3.org/2000/svg">
<path d="M320 301.762C320 310.012 313.25 316.762 305 316.762H95C86.75 316.762 80 310.012 80 301.762V211.762C80 203.512 84.77 191.993 90.61 186.153L189.39 87.3725C195.22 81.5425 204.77 81.5425 210.6 87.3725L309.39 186.162C315.22 191.992 320 203.522 320 211.772V301.772V301.762Z" fill="#F2F4F9"/>
<path d="M309.39 186.153L210.61 87.3725C204.78 81.5425 195.23 81.5425 189.4 87.3725L90.61 186.153C84.78 191.983 80 203.512 80 211.762V301.762C80 310.012 86.75 316.762 95 316.762H187.27L146.64 276.132C144.55 276.852 142.32 277.262 140 277.262C128.7 277.262 119.5 268.062 119.5 256.762C119.5 245.462 128.7 236.262 140 236.262C151.3 236.262 160.5 245.462 160.5 256.762C160.5 259.092 160.09 261.322 159.37 263.412L191 295.042V179.162C184.2 175.822 179.5 168.842 179.5 160.772C179.5 149.472 188.7 140.272 200 140.272C211.3 140.272 220.5 149.472 220.5 160.772C220.5 168.842 215.8 175.822 209 179.162V260.432L240.46 228.972C239.84 227.012 239.5 224.932 239.5 222.772C239.5 211.472 248.7 202.272 260 202.272C271.3 202.272 280.5 211.472 280.5 222.772C280.5 234.072 271.3 243.272 260 243.272C257.5 243.272 255.12 242.802 252.91 241.982L209 285.892V316.772H305C313.25 316.772 320 310.022 320 301.772V211.772C320 203.522 315.23 192.002 309.39 186.162V186.153Z" fill="#18BCF2"/>
</svg>

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

@@ -0,0 +1,17 @@
<!--
Distributed under MIT Licence
See https://github.com/house-of-abbey/GarminHomeAssistant/blob/main/LICENSE.
GarminHomeAssistant is a Garmin IQ application written in Monkey C and routinely
tested on a Venu 2 device. The source code is provided at:
https://github.com/house-of-abbey/GarminHomeAssistant.
P A Abbey & J D Abbey & Someone0nEarth, 31 October 2023
-->
<drawables>
<bitmap id="LauncherIcon" filename="launcher.svg" />
</drawables>

View File

@@ -0,0 +1,4 @@
<svg width="68" height="68" viewBox="0 0 400 400" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M320 301.762C320 310.012 313.25 316.762 305 316.762H95C86.75 316.762 80 310.012 80 301.762V211.762C80 203.512 84.77 191.993 90.61 186.153L189.39 87.3725C195.22 81.5425 204.77 81.5425 210.6 87.3725L309.39 186.162C315.22 191.992 320 203.522 320 211.772V301.772V301.762Z" fill="#F2F4F9"/>
<path d="M309.39 186.153L210.61 87.3725C204.78 81.5425 195.23 81.5425 189.4 87.3725L90.61 186.153C84.78 191.983 80 203.512 80 211.762V301.762C80 310.012 86.75 316.762 95 316.762H187.27L146.64 276.132C144.55 276.852 142.32 277.262 140 277.262C128.7 277.262 119.5 268.062 119.5 256.762C119.5 245.462 128.7 236.262 140 236.262C151.3 236.262 160.5 245.462 160.5 256.762C160.5 259.092 160.09 261.322 159.37 263.412L191 295.042V179.162C184.2 175.822 179.5 168.842 179.5 160.772C179.5 149.472 188.7 140.272 200 140.272C211.3 140.272 220.5 149.472 220.5 160.772C220.5 168.842 215.8 175.822 209 179.162V260.432L240.46 228.972C239.84 227.012 239.5 224.932 239.5 222.772C239.5 211.472 248.7 202.272 260 202.272C271.3 202.272 280.5 211.472 280.5 222.772C280.5 234.072 271.3 243.272 260 243.272C257.5 243.272 255.12 242.802 252.91 241.982L209 285.892V316.772H305C313.25 316.772 320 310.022 320 301.772V211.772C320 203.522 315.23 192.002 309.39 186.162V186.153Z" fill="#18BCF2"/>
</svg>

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

@@ -9,62 +9,93 @@
tested on a Venu 2 device. The source code is provided at: tested on a Venu 2 device. The source code is provided at:
https://github.com/house-of-abbey/GarminHomeAssistant. https://github.com/house-of-abbey/GarminHomeAssistant.
P A Abbey & J D Abbey & Someone0nEarth, 31 October 2023 P A Abbey & J D Abbey & Someone0nEarth & vincentezw, 31 October 2023
--> -->
<!-- <!--
Generated by Google Translate: English to Latvian Generated by Google Translate and gemini-2.5-flash from English to Latvian
Ģenerēja Google tulkotājs no angļu valodas Tulkojis Google Translate un gemini-2.5-flash no angļu valodas uz latviešu valodu
--> -->
<strings> <strings>
<string id="ApiFlood">API izsaukumi ir pārāk bieži. Lūdzu, palēniniet pieprasījumus.</string>
<string id="ApiUrlNotFound">URL nav atrasts. Iespējama API URL kļūda iestatījumos.</string>
<string id="AppName" scope="glance">HomeAssistant</string> <string id="AppName" scope="glance">HomeAssistant</string>
<string id="Confirm">Protams?</string>
<string id="Executed" scope="glance">Apstiprināts</string>
<string id="NoPhone" scope="glance">Nav tālruņa savienojuma</string>
<string id="NoInternet">Nav interneta savienojuma</string>
<string id="NoResponse">Nav atbildes, pārbaudiet interneta savienojumu</string>
<string id="NoAPIKey" scope="glance">Lietojumprogrammas iestatījumos nav API atslēgas</string>
<string id="NoApiUrl" scope="glance">Lietojumprogrammas iestatījumos nav API URL</string>
<string id="NoConfigUrl" scope="glance">Lietojumprogrammas iestatījumos nav konfigurācijas URL</string>
<string id="ApiFlood">API izsaukumi ir pārāk ātri. Lūdzu, palēniniet pieprasījumu izpildi.</string>
<string id="ApiUrlNotFound">URL nav atrasts. Iespējama API URL kļūda iestatījumos.</string>
<string id="ConfigUrlNotFound">URL nav atrasts. Iespējama konfigurācijas URL kļūda iestatījumos.</string>
<string id="NoJson">No HTTP pieprasījuma netika atgriezts neviens JSON fails.</string>
<string id="UnhandledHttpErr">HTTP pieprasījums atgrieza kļūdas kodu =</string>
<string id="TrailingSlashErr">API URL beigās nedrīkst būt slīpsvītra “/”</string>
<string id="WebhookFailed">Neizdevās reģistrēt Web aizķeri</string>
<string id="TemplateError">Neizdevās renderēt veidni</string>
<string id="Available" scope="glance">Pieejams</string> <string id="Available" scope="glance">Pieejams</string>
<string id="Checking" scope="glance">Notiek pārbaude...</string> <string id="Cached" scope="glance">Kešots</string>
<string id="Unavailable" scope="glance">Nav pieejams</string> <string id="Checking" scope="glance">Pārbaude...</string>
<string id="Unconfigured" scope="glance">Nav konfigurēts</string> <string id="ConfigUrlNotFound">URL nav atrasts. Iespējama konfigurācijas URL kļūda iestatījumos.</string>
<string id="Cached" scope="glance">Kešatmiņā saglabāts</string> <string id="Confirm">Apstiprināt?</string>
<string id="Empty">Tukšs</string>
<string id="Executed" scope="glance">Apstiprināts</string>
<string id="GlanceMenu" scope="glance">Izvēlne</string> <string id="GlanceMenu" scope="glance">Izvēlne</string>
<string id="Memory" scope="glance">Atmiņa</string> <string id="Memory" scope="glance">Atmiņa</string>
<!-- Iestatījumu GUI --> <string id="MenuUpdated">Izvēlne atjaunināta, restartējiet.</string>
<string id="SettingsSelect">Izvēlieties...</string> <string id="MenuCheckDisabled">Izvēlnes atjauninājumi atspējoti.</string>
<string id="NoAPIKey" scope="glance">Lietojumprogrammas iestatījumos nav API atslēgas.</string>
<string id="NoApiUrl" scope="glance">Lietojumprogrammas iestatījumos nav API URL.</string>
<string id="NoConfigUrl" scope="glance">Lietojumprogrammas iestatījumos nav konfigurācijas URL.</string>
<string id="NoInternet">Nav interneta savienojuma.</string>
<string id="NoJson">HTTP pieprasījums neatgrieza JSON.</string>
<string id="NoPhone" scope="glance">Nav tālruņa savienojuma.</string>
<string id="NoPhoneNoCache" scope="glance">Nav tālruņa savienojuma, nav kešotas izvēlnes.</string>
<string id="NoResponse">Nav atbildes, pārbaudiet interneta savienojumu</string>
<string id="TimedOut">Pieprasījums beidzās</string>
<string id="PinInputLocked">PIN ievade bloķēta uz</string>
<string id="PotentialError">Iespējamā kļūda</string>
<string id="Seconds">sekundes</string>
<string id="TemplateError">Veidnes kļūda</string>
<string id="TrailingSlashErr">API URL nedrīkst beigties ar slīpsvītru '/'.</string>
<string id="Unavailable" scope="glance">Nepieejams</string>
<string id="Unconfigured" scope="glance">Nekonfigurēts</string>
<string id="UnhandledHttpErr">HTTP pieprasījums atgrieza kļūdas kodu = </string>
<string id="WebhookFailed">Neizdevās reģistrēt Webhook</string>
<string id="WrongPin">Nepareizs PIN</string>
<string id="WifiLteNotAvailable">Nav pieejams Wi-Fi vai LTE</string>
<string id="WifiLtePrompt">Izpildīt, izmantojot Wi-Fi/LTE?</string>
<string id="WifiLteExecutionTitle">Sūta uz Home Assistant.</string>
<string id="WifiLteExecutionDataError">Dati nav saņemti.</string>
<!-- Iestatījumu GUI virknēm jābūt tādā secībā, kādā tās tiek izmantotas. -->
<string id="SettingsSelect">Atlasiet...</string>
<string id="SettingsApiKey">API atslēga Home Assistant.</string> <string id="SettingsApiKey">API atslēga Home Assistant.</string>
<string id="SettingsApiKeyPrompt">Ilgmūžīgs piekļuves marķieris.</string> <string id="SettingsApiKeyPrompt">Ilgstošs piekļuves marķieris.</string>
<string id="SettingsApiUrl">HomeAssistant API URL.</string> <string id="SettingsApiUrl">URL Home Assistant API.</string>
<string id="SettingsConfigUrl">URL izvēlnes konfigurācijai (JSON).</string> <string id="SettingsConfigUrl">URL izvēlnes konfigurācijai (JSON).</string>
<string id="SettingsCacheConfig">Vai lietojumprogrammai vajadzētu saglabāt izvēlnes konfigurāciju kešatmiņā?</string> <string id="SettingsCacheConfig">Vai lietojumprogrammai vajadzētu kešot izvēlnes konfigurāciju?</string>
<string id="SettingsClearCache">Ja lietojumprogramma nākamreiz notīra esošo kešatmiņu <string id="SettingsClearCache">Vai lietojumprogrammai vajadzētu notīrīt esošo kešatmiņu nākamajā
sākās?</string> startēšanas reizē?</string>
<string id="SettingsAppTimeout">Taimauts sekundēs. Izejiet no lietojumprogrammas pēc šī perioda <string id="SettingsEnableMenuUpdateCheck">Pārbaudīt izvēlnes atjauninājumus, startējot lietojumprogrammu? Piezīme: Izvēlnes kešatmiņai jābūt iespējotai. Šis iestatījums var izraisīt vecāku ierīču ar mazāku atmiņu avāriju.</string>
neaktivitāte, lai taupītu ierīces akumulatoru.</string> <string id="SettingsWifiLteExecutionEnable">Iespējot komandu izpildi, izmantojot Wi-Fi/LTE.</string>
<string id="SettingsConfirmTimeout">Pēc šī laika (sekundēs) tiek parādīts apstiprinājuma dialoglodziņš <string id="SettingsVibration">Vai lietojumprogrammai vajadzētu sniegt atgriezenisko saiti,
darbība tiek automātiski aizvērta un darbība tiek atcelta. Iestatiet uz 0, lai atspējotu taimautu.</string> izmantojot vibrācijas?</string>
<string id="SettingsAppTimeout">Noildze sekundēs. Lietojumprogramma tiks aizvērta pēc šī
bezdarbības perioda, lai taupītu ierīces akumulatoru.</string>
<string id="SettingsPollDelay">Papildu aptaujas aizkave (sekundēs). Pievieno aizkavi starp visu
izvēlnes vienumu statusa atjauninājumiem.</string>
<string id="SettingsConfirmTimeout">Pēc šī laika (sekundēs) apstiprinājuma dialogs darbības
veikšanai tiek automātiski aizvērts un darbība tiek atcelta. Iestatiet uz 0, lai atspējotu
noildzi.</string>
<string id="SettingsPin">4 ciparu PIN, kas jāizmanto visām darbībām, kurām tas ir nepieciešams
(0000-9999).</string>
<string id="SettingsPinError">Lūdzu, lietojumprogrammas iestatījumos konfigurējiet derīgu
četrciparu skaitlisku PIN kodu no 0000 līdz 9999.</string>
<string id="SettingsTextAlign">Kreisā (izslēgta) vai labā (ieslēgta) izvēlnes izlīdzināšana.</string> <string id="SettingsTextAlign">Kreisā (izslēgta) vai labā (ieslēgta) izvēlnes izlīdzināšana.</string>
<string id="LeftToRight">No kreisās uz labo</string> <string id="SettingsLeftToRight">No kreisās uz labo pusi</string>
<string id="RightToLeft">No labās uz kreiso</string> <string id="SettingsRightToLeft">No labās uz kreiso pusi</string>
<string id="SettingsWidgetStart">(tikai logrīkam) Automātiski startējiet lietojumprogrammu no logrīka <string id="SettingsWidgetStart">(Tikai logrīks) Automātiski startēt lietojumprogrammu no logrīka,
negaidot pieskārienu.</string> negaidot pieskārienu.</string>
<string id="SettingsEnableBatteryLevel">Iespējojiet fona pakalpojumu, lai nosūtītu pulksteņa akumulatoru <string id="SettingsEnableBatteryLevel">Iespējojiet fona pakalpojumu, lai nosūtītu ierīces
Mājas palīga līmenī.</string> akumulatora līmeni, atrašanās vietu un (ja tiek atbalstīti) aktivitātes datus uz Home Assistant.</string>
<string id="SettingsBatteryLevelRefreshRate">Atsvaidzes intensitāte (minūtēs), ar kādu fons <string id="SettingsBatteryLevelRefreshRate">Atsvaidzināšanas ātrums (minūtēs), kurā fona
pakalpojumam ir jāatkārto akumulatora līmeņa nosūtīšana.</string> pakalpojumam jāatkārto datu nosūtīšana.</string>
<string id="WebhookId">(Tikai lasāms) Web aizķeres ID, ko pulkstenis izveidojis akumulatora uzlādes līmeņa atjauninājumiem. <string id="SettingsUserHttpHeader">Lietotāja norādītā HTTP galvene</string>
Tas var būt nepieciešams atkļūdošanai.</string> <string id="SettingsUserHttpHeaderDescription">Dažām Home Assistant instalācijām ir nepieciešama
pielāgotas HTTP galvenes norādīšana, lai tās darbotos.</string>
<string id="SettingsUserHttpHeaderName">Lietotāja norādītā HTTP galvene: Nosaukums</string>
<string id="SettingsUserHttpHeaderValue">Lietotāja norādītā HTTP galvene: Vērtība</string>
<string id="SettingsClearWebhookId">Atkārtoti savienoties ar Home Assistant (notīrīt Webhook ID,
skatīt problēmu novēršanas ceļvedi).</string>
<string id="SettingsWebhookId">(Tikai lasīšanai) Webhook ID, ko ierīce izveidoja fona pakalpojumu
atjauninājumiem. Tas var būt nepieciešams atkļūdošanai.</string>
</strings> </strings>

View File

@@ -9,62 +9,91 @@
tested on a Venu 2 device. The source code is provided at: tested on a Venu 2 device. The source code is provided at:
https://github.com/house-of-abbey/GarminHomeAssistant. https://github.com/house-of-abbey/GarminHomeAssistant.
P A Abbey & J D Abbey & Someone0nEarth, 31 October 2023 P A Abbey & J D Abbey & Someone0nEarth & vincentezw, 31 October 2023
--> -->
<!-- <!--
Generated by Google Translate: English to Lithuanian Generated by Google Translate and gemini-2.5-flash from English to Lithuanian
Sukurta Google Translate iš anglų kalbos Sugeneruota naudojant „Google Translate“ ir „gemini-2.5-flash“ iš anglų į lietuvių kalbą
--> -->
<strings> <strings>
<string id="ApiFlood">API užklausos per dažnos. Prašome sulėtinti užklausas.</string>
<string id="ApiUrlNotFound">URL nerastas. Potenciali API URL klaida nustatymuose.</string>
<string id="AppName" scope="glance">HomeAssistant</string> <string id="AppName" scope="glance">HomeAssistant</string>
<string id="Confirm">Žinoma?</string> <string id="Available" scope="glance">Galimas</string>
<string id="Executed" scope="glance">Patvirtinta</string>
<string id="NoPhone" scope="glance">Nėra telefono ryšio</string>
<string id="NoInternet">Nėra interneto ryšio</string>
<string id="NoResponse">Neatsako, patikrinkite interneto ryšį</string>
<string id="NoAPIKey" scope="glance">Programos nustatymuose nėra API rakto</string>
<string id="NoApiUrl" scope="glance">Programos nustatymuose nėra API URL</string>
<string id="NoConfigUrl" scope="glance">Programos nustatymuose nėra konfigūracijos URL</string>
<string id="ApiFlood">API skambučiai per greiti. Sulėtinkite prašymų vykdymą.</string>
<string id="ApiUrlNotFound">URL nerastas. Galima API URL klaida nustatymuose.</string>
<string id="ConfigUrlNotFound">URL nerastas. Galima konfigūracijos URL klaida nustatymuose.</string>
<string id="NoJson">Joks JSON negrąžintas iš HTTP užklausos.</string>
<string id="UnhandledHttpErr">HTTP užklausa grąžino klaidos kodą =</string>
<string id="TrailingSlashErr">API URL pabaigoje negali būti pasvirojo brūkšnio „/“</string>
<string id="WebhookFailed">Nepavyko užregistruoti Webhook</string>
<string id="TemplateError">Nepavyko pateikti šablono</string>
<string id="Available" scope="glance">Yra</string>
<string id="Checking" scope="glance">Tikrinama...</string>
<string id="Unavailable" scope="glance">Nepasiekiamas</string>
<string id="Unconfigured" scope="glance">Nesukonfigūruotas</string>
<string id="Cached" scope="glance">Talpykloje</string> <string id="Cached" scope="glance">Talpykloje</string>
<string id="Checking" scope="glance">Tikrinimas ...</string>
<string id="ConfigUrlNotFound">URL nerastas. Potenciali konfigūracijos URL klaida nustatymuose.</string>
<string id="Confirm">Patvirtinti?</string>
<string id="Empty">Tuščias</string>
<string id="Executed" scope="glance">Patvirtinta</string>
<string id="GlanceMenu" scope="glance">Meniu</string> <string id="GlanceMenu" scope="glance">Meniu</string>
<string id="Memory" scope="glance">Atmintis</string> <string id="Memory" scope="glance">Atmintis</string>
<!-- Dėl nustatymų GUI --> <string id="MenuUpdated">Meniu atnaujintas, paleiskite iš naujo.</string>
<string id="SettingsSelect">Pasirinkite...</string> <string id="MenuCheckDisabled">Meniu atnaujinimai išjungti.</string>
<string id="SettingsApiKey">API raktas, skirtas „HomeAssistant“.</string> <string id="NoAPIKey" scope="glance">Nėra API rakto programos nustatymuose.</string>
<string id="NoApiUrl" scope="glance">Nėra API URL programos nustatymuose.</string>
<string id="NoConfigUrl" scope="glance">Nėra konfigūracijos URL programos nustatymuose.</string>
<string id="NoInternet">Nėra interneto ryšio.</string>
<string id="NoJson">HTTP užklausa negrąžino JSON.</string>
<string id="NoPhone" scope="glance">Nėra telefono ryšio.</string>
<string id="NoPhoneNoCache" scope="glance">Nėra telefono ryšio, nėra meniu talpykloje.</string>
<string id="NoResponse">Jokio atsakymo, patikrinkite interneto ryšį</string>
<string id="TimedOut">Užklausos laikas baigėsi</string>
<string id="PinInputLocked">PIN įvestis užrakinta</string>
<string id="PotentialError">Galima klaida</string>
<string id="Seconds">sekundės</string>
<string id="TemplateError">Šablono klaida</string>
<string id="TrailingSlashErr">API URL negali turėti pasvirojo brūkšnio '/' gale.</string>
<string id="Unavailable" scope="glance">Nepasiekiamas</string>
<string id="Unconfigured" scope="glance">Nekonfigūruotas</string>
<string id="UnhandledHttpErr">HTTP užklausa grąžino klaidos kodą = </string>
<string id="WebhookFailed">Nepavyko užregistruoti „Webhook“</string>
<string id="WrongPin">Neteisingas PIN</string>
<string id="WifiLteNotAvailable">„Wi-Fi“ arba LTE nepasiekiamas.</string>
<string id="WifiLtePrompt">Vykdyti per „Wi-Fi/LTE“?</string>
<string id="WifiLteExecutionTitle">Siunčiama į Home Assistant.</string>
<string id="WifiLteExecutionDataError">Duomenys negauti.</string>
<!--Nustatymų
GUI eilutės turėtų būti pateikiamos tokia tvarka, kokia jos naudojamos.-->
<string id="SettingsSelect">Pasirinkite ...</string>
<string id="SettingsApiKey">API raktas, skirtas Home Assistant.</string>
<string id="SettingsApiKeyPrompt">Ilgalaikis prieigos raktas.</string> <string id="SettingsApiKeyPrompt">Ilgalaikis prieigos raktas.</string>
<string id="SettingsApiUrl">HomeAssistant API URL.</string> <string id="SettingsApiUrl">Home Assistant API URL.</string>
<string id="SettingsConfigUrl">Meniu konfigūravimo URL (JSON).</string> <string id="SettingsConfigUrl">URL meniu konfigūracijai (JSON).</string>
<string id="SettingsCacheConfig">Ar programa turėtų talpykloje išsaugoti meniu konfigūraciją?</string> <string id="SettingsCacheConfig">Ar programa turėtų talpinti meniu konfigūraciją?</string>
<string id="SettingsClearCache">Ar programa kitą kartą išvalys esamą talpyklą <string id="SettingsClearCache">Ar programa turėtų išvalyti esamą talpyklą kitą kartą paleidus?</string>
prasidėjo?</string> <string id="SettingsEnableMenuUpdateCheck">Tikrinti, ar yra meniu atnaujinimų paleidus programą? Pastaba: Meniu talpinimas turi būti įjungtas. Šis nustatymas gali sukelti programos strigimą senesniuose įrenginiuose, turinčiuose mažiau atminties.</string>
<string id="SettingsAppTimeout">Skirtasis laikas sekundėmis. Išeikite iš programos pasibaigus šiam laikotarpiui <string id="SettingsWifiLteExecutionEnable">Įgalinti komandų vykdymą per „Wi-Fi“/LTE.</string>
neaktyvumas, kad taupytų įrenginio akumuliatorių.</string> <string id="SettingsVibration">Ar programa turėtų pateikti grįžtamąjį ryšį per vibracijas?</string>
<string id="SettingsConfirmTimeout">Po šio laiko (sekundėmis) atsiras patvirtinimo dialogo langas <string id="SettingsAppTimeout">Išjungimo laikas (sekundėmis). Programa išjungiama po šio
veiksmas automatiškai uždaromas ir veiksmas atšaukiamas. Nustatykite 0, kad išjungtumėte skirtąjį laiką.</string> neveiklumo laikotarpio, siekiant taupyti įrenginio bateriją.</string>
<string id="SettingsTextAlign">Kairysis (išjungtas) arba dešinysis (įjungtas) meniu lygiavimas.</string> <string id="SettingsPollDelay">Papildomas atnaujinimo vėlavimas (sekundėmis). Prideda vėlavimą
<string id="LeftToRight">Iš kairės į dešinę</string> tarp visų meniu elementų būsenos atnaujinimų.</string>
<string id="RightToLeft">Iš dešinės į kairę</string> <string id="SettingsConfirmTimeout">Po šio laiko (sekundėmis) veiksmo patvirtinimo dialogas
<string id="SettingsWidgetStart">(Tik valdiklis) Automatiškai paleiskite programą iš valdiklio automatiškai uždaromas ir veiksmas atšaukiamas. Nustatykite 0, kad išjungtumėte šį laiko limitą.</string>
nelaukdamas bakstelėjimo.</string> <string id="SettingsPin">4 skaitmenų PIN kodas, naudojamas visiems veiksmams, kuriems jo reikia
<string id="SettingsEnableBatteryLevel">Įgalinkite foninę paslaugą, kad išsiųstumėte laikrodžio bateriją (00009999).</string>
lygiu iki namų asistento.</string> <string id="SettingsPinError">Programos nustatymuose prašome sukonfigūruoti galiojantį 4 skaitmenų
<string id="SettingsBatteryLevelRefreshRate">Fono atnaujinimo dažnis (minutėmis). PIN kodą (nuo 0000 iki 9999).</string>
paslauga turėtų pakartoti baterijos lygio siuntimą.</string> <string id="SettingsTextAlign">Meniu lygiavimas: kairė (išjungta) arba dešinė (įjungta).</string>
<string id="WebhookId">(Tik skaitoma) Laikrodžio sukurtas „Webhook“ ID, kad būtų galima atnaujinti akumuliatoriaus lygį. <string id="SettingsLeftToRight">Iš kairės į dešinę</string>
Jums gali prireikti derinimo.</string> <string id="SettingsRightToLeft"> dešinės į kairę</string>
<string id="SettingsWidgetStart">(Tik valdiklis) Automatiškai paleiskite programą iš valdiklio,
nelaukiant palietimo.</string>
<string id="SettingsEnableBatteryLevel">Įgalinti fono paslaugą siųsti įrenginio baterijos lygį,
vietą ir (jei palaikoma) veiklos duomenis į Home Assistant.</string>
<string id="SettingsBatteryLevelRefreshRate">Atnaujinimo dažnis (minutėmis), kuriuo fono paslauga
turėtų pakartotinai siųsti duomenis.</string>
<string id="SettingsUserHttpHeader">Vartotojo pateikta HTTP antraštė</string>
<string id="SettingsUserHttpHeaderDescription">Kai kuriems Home Assistant diegimams reikia
nurodyti pasirinktinę HTTP antraštę, kad jie veiktų.</string>
<string id="SettingsUserHttpHeaderName">Vartotojo pateikta HTTP antraštė: Pavadinimas</string>
<string id="SettingsUserHttpHeaderValue">Vartotojo pateikta HTTP antraštė: Reikšmė</string>
<string id="SettingsClearWebhookId">Prisijungti iš naujo prie Home Assistant (išvalyti Webhook ID,
žr. Trikčių šalinimo vadovą).</string>
<string id="SettingsWebhookId">(Tik skaitymui) Webhook ID, kurį įrenginys sukūrė fono paslaugų
atnaujinimams. Jo gali prireikti derinant.</string>
</strings> </strings>

View File

@@ -9,62 +9,93 @@
tested on a Venu 2 device. The source code is provided at: tested on a Venu 2 device. The source code is provided at:
https://github.com/house-of-abbey/GarminHomeAssistant. https://github.com/house-of-abbey/GarminHomeAssistant.
P A Abbey & J D Abbey & Someone0nEarth, 31 October 2023 P A Abbey & J D Abbey & Someone0nEarth & vincentezw, 31 October 2023
--> -->
<!-- <!--
Generated by Google Translate: English to Norwegian Generated by Google Translate and gemini-2.5-flash from English to Norwegian
Generert av Google Translate fra engelsk Generert av Google Translate og gemini-2.5-flash fra engelsk til norsk
--> -->
<strings> <strings>
<string id="ApiFlood">API-kall er for hyppige. Vennligst reduser antall forespørsler.</string>
<string id="ApiUrlNotFound">URL ikke funnet. Potensiell feil med API-URL i innstillingene.</string>
<string id="AppName" scope="glance">HomeAssistant</string> <string id="AppName" scope="glance">HomeAssistant</string>
<string id="Confirm">Sikker?</string>
<string id="Executed" scope="glance">Bekreftet</string>
<string id="NoPhone" scope="glance">Ingen telefonforbindelse</string>
<string id="NoInternet">Ingen Internett-tilkobling</string>
<string id="NoResponse">Ingen svar, sjekk Internett-tilkoblingen</string>
<string id="NoAPIKey" scope="glance">Ingen API-nøkkel i applikasjonsinnstillingene</string>
<string id="NoApiUrl" scope="glance">Ingen API-URL i applikasjonsinnstillingene</string>
<string id="NoConfigUrl" scope="glance">Ingen konfigurasjons-URL i applikasjonsinnstillingene</string>
<string id="ApiFlood">API-kall for raske. Vennligst senke forespørslene dine.</string>
<string id="ApiUrlNotFound">Finner ikke URL. Potensiell API URL-feil i innstillingene.</string>
<string id="ConfigUrlNotFound">Finner ikke URL. Potensiell konfigurasjons-URL-feil i innstillingene.</string>
<string id="NoJson">Ingen JSON returnert fra HTTP-forespørsel.</string>
<string id="UnhandledHttpErr">HTTP-forespørsel returnerte feilkode =</string>
<string id="TrailingSlashErr">API URL må ikke ha en etterfølgende skråstrek '/'</string>
<string id="WebhookFailed">Kunne ikke registrere Webhook</string>
<string id="TemplateError">Kunne ikke gjengi malen</string>
<string id="Available" scope="glance">Tilgjengelig</string> <string id="Available" scope="glance">Tilgjengelig</string>
<string id="Cached" scope="glance">Hurtigbufret</string>
<string id="Checking" scope="glance">Sjekker...</string> <string id="Checking" scope="glance">Sjekker...</string>
<string id="Unavailable" scope="glance">Utilgjengelig</string> <string id="ConfigUrlNotFound">URL ikke funnet. Potensiell feil med konfigurasjons-URL i
<string id="Unconfigured" scope="glance">Ukonfigurert</string> innstillingene.</string>
<string id="Cached" scope="glance">Bufret</string> <string id="Confirm">Sikker?</string>
<string id="Empty">Tom</string>
<string id="Executed" scope="glance">Bekreftet</string>
<string id="GlanceMenu" scope="glance">Meny</string> <string id="GlanceMenu" scope="glance">Meny</string>
<string id="Memory" scope="glance">Hukommelse</string> <string id="Memory" scope="glance">Hukommelse</string>
<!-- For innstillingene GUI --> <string id="MenuUpdated">Meny oppdatert, start på nytt.</string>
<string id="SettingsSelect">Plukke ut...</string> <string id="MenuCheckDisabled">Menyoppdateringer deaktivert.</string>
<string id="NoAPIKey" scope="glance">Ingen API-nøkkel i applikasjonsinnstillingene.</string>
<string id="NoApiUrl" scope="glance">Ingen API-URL i applikasjonsinnstillingene.</string>
<string id="NoConfigUrl" scope="glance">Ingen konfigurasjons-URL i applikasjonsinnstillingene.</string>
<string id="NoInternet">Ingen internettforbindelse.</string>
<string id="NoJson">Ingen JSON returnert fra HTTP-forespørsel.</string>
<string id="NoPhone" scope="glance">Ingen telefonforbindelse.</string>
<string id="NoPhoneNoCache" scope="glance">Ingen telefonforbindelse, ingen hurtigbufret meny.</string>
<string id="NoResponse">Ingen svar, sjekk internettforbindelsen.</string>
<string id="TimedOut">Forespørselen utløp</string>
<string id="PinInputLocked">PIN-inndata låst for</string>
<string id="PotentialError">Potensiell feil</string>
<string id="Seconds">sekunder</string>
<string id="TemplateError">Malfeil</string>
<string id="TrailingSlashErr">API-URL må ikke ha en etterfølgende skråstrek '/'.</string>
<string id="Unavailable" scope="glance">Utilgjengelig</string>
<string id="Unconfigured" scope="glance">Ukonfigurert</string>
<string id="UnhandledHttpErr">HTTP-forespørsel returnerte feilkode =</string>
<string id="WebhookFailed">Kunne ikke registrere webhook</string>
<string id="WrongPin">Feil pinne</string>
<string id="WifiLteNotAvailable">Ingen Wi-Fi eller LTE tilgjengelig</string>
<string id="WifiLtePrompt">Utføre via Wi-Fi/LTE?</string>
<string id="WifiLteExecutionTitle">Sender til Home Assistant.</string>
<string id="WifiLteExecutionDataError">Ingen data mottatt.</string>
<!-- For innstillinger GUI skal strengene være i den rekkefølgen de brukes. -->
<string id="SettingsSelect">Velg...</string>
<string id="SettingsApiKey">API-nøkkel for HomeAssistant.</string> <string id="SettingsApiKey">API-nøkkel for HomeAssistant.</string>
<string id="SettingsApiKeyPrompt">Langlevd tilgangstoken.</string> <string id="SettingsApiKeyPrompt">Langvarig tilgangstoken.</string>
<string id="SettingsApiUrl">URL for HomeAssistant API.</string> <string id="SettingsApiUrl">URL for HomeAssistant API.</string>
<string id="SettingsConfigUrl">URL for menykonfigurasjon (JSON).</string> <string id="SettingsConfigUrl">URL for menykonfigurasjon (JSON).</string>
<string id="SettingsCacheConfig">Skal applikasjonen bufre menykonfigurasjonen?</string> <string id="SettingsCacheConfig">Bør applikasjonen bufre menykonfigurasjonen?</string>
<string id="SettingsClearCache">Skal applikasjonen tømme den eksisterende cachen neste gang den er det <string id="SettingsClearCache">Bør applikasjonen fjerne den eksisterende cachen neste gang den
startet?</string> startes?</string>
<string id="SettingsAppTimeout">Tidsavbrudd i sekunder. Avslutt søknaden etter denne perioden på <string id="SettingsEnableMenuUpdateCheck">Sjekk etter menyoppdateringer ved applikasjonsstart? Merk: Menybufring må være aktivert. Denne innstillingen kan føre til at eldre enheter med mindre minne krasjer.</string>
inaktivitet for å spare enhetens batteri.</string> <string id="SettingsWifiLteExecutionEnable">Aktiver utføring av kommandoer via Wi-Fi/LTE.</string>
<string id="SettingsConfirmTimeout">Etter denne tiden (i sekunder), vises en bekreftelsesdialog for en <string id="SettingsVibration">Bør applikasjonen gi tilbakemelding via vibrasjoner?</string>
handlingen lukkes automatisk og handlingen avbrytes. Sett til 0 for å deaktivere tidsavbruddet.</string> <string id="SettingsAppTimeout">Tidsavbrudd i sekunder. Avslutt applikasjonen etter denne perioden
<string id="SettingsTextAlign">Venstre (av) eller Høyre (på) Menyjustering.</string> med inaktivitet for å spare enhetens batteri.</string>
<string id="LeftToRight">Venstre til høyre</string> <string id="SettingsPollDelay">Ytterligere forsinkelse for avstemming (i sekunder). Legger til en
<string id="RightToLeft">Høyre til venstre</string> forsinkelse mellom statusoppdateringene for alle menyelementer.</string>
<string id="SettingsWidgetStart">(Kun widget) Start applikasjonen automatisk fra widgeten <string id="SettingsConfirmTimeout">Etter denne tiden (i sekunder) blir en bekreftelsesdialog for
uten å vente på et trykk.</string> en handling automatisk lukket og handlingen blir kansellert. Sett til 0 for å deaktivere
<string id="SettingsEnableBatteryLevel">Aktiver bakgrunnstjenesten for å sende klokkebatteriet tidsavbruddet.</string>
nivå til Home Assistant.</string> <string id="SettingsPin">4-sifret PIN-kode som skal brukes for alle handlinger som krever det
<string id="SettingsBatteryLevelRefreshRate">Oppdateringshastigheten (i minutter) som bakgrunnen (0000-9999).</string>
tjenesten skal gjenta sendingen av batterinivået.</string> <string id="SettingsPinError">Konfigurer en gyldig 4-sifret numerisk PIN-kode mellom 0000 og 9999
<string id="WebhookId">(Skrivebeskyttet) Webhook-IDen opprettet av klokken for oppdateringer av batterinivå. i applikasjonsinnstillingene.</string>
Du kan kreve dette for feilsøking.</string> <string id="SettingsTextAlign">Venstre (av) eller høyre (på) menyjustering.</string>
<string id="SettingsLeftToRight">Fra venstre til høyre</string>
<string id="SettingsRightToLeft">Høyre til venstre</string>
<string id="SettingsWidgetStart">(Bare widget) Start automatisk applikasjonen fra widgeten uten å
vente på et trykk.</string>
<string id="SettingsEnableBatteryLevel">Aktiver bakgrunnstjenesten til å sende enhetens
batterinivå, posisjon og (hvis støttet) aktivitetsdata til Home Assistant.</string>
<string id="SettingsBatteryLevelRefreshRate">Oppdateringsfrekvensen (i minutter) som
bakgrunnstjenesten skal gjenta sending av data.</string>
<string id="SettingsUserHttpHeader">Brukerdefinert HTTP-header</string>
<string id="SettingsUserHttpHeaderDescription">Noen Home Assistant-installasjoner krever
spesifikasjon av en tilpasset HTTP-header for å fungere.</string>
<string id="SettingsUserHttpHeaderName">Brukerdefinert HTTP-header: Navn</string>
<string id="SettingsUserHttpHeaderValue">Brukerdefinert HTTP-header: Verdi</string>
<string id="SettingsClearWebhookId">Koble til Home Assistant på nytt (tøm Webhook-ID, se
feilsøkingsveiledningen).</string>
<string id="SettingsWebhookId">(Bare les) Webhook-ID-en som er opprettet av enheten for
oppdateringer av bakgrunnstjenester. Du kan trenge dette for feilsøking.</string>
</strings> </strings>

View File

@@ -9,62 +9,96 @@
tested on a Venu 2 device. The source code is provided at: tested on a Venu 2 device. The source code is provided at:
https://github.com/house-of-abbey/GarminHomeAssistant. https://github.com/house-of-abbey/GarminHomeAssistant.
P A Abbey & J D Abbey & Someone0nEarth, 31 October 2023 P A Abbey & J D Abbey & Someone0nEarth & vincentezw, 31 October 2023
--> -->
<!-- <!--
Generated by Google Translate: English to Polish Generated by Google Translate and gemini-2.5-flash from English to Polish
Wygenerowane przez Tłumacz Google z języka angielskiego Wygenerowano przez Tłumacza Google i gemini-2.5-flash z języka angielskiego na polski
--> -->
<strings> <strings>
<string id="ApiFlood">Zbyt szybkie wywołania API. Proszę spowolnić żądania.</string>
<string id="ApiUrlNotFound">Nie znaleziono adresu URL. Potencjalny błąd adresu URL API w
ustawieniach.</string>
<string id="AppName" scope="glance">HomeAssistant</string> <string id="AppName" scope="glance">HomeAssistant</string>
<string id="Confirm">Jasne?</string>
<string id="Executed" scope="glance">Potwierdzony</string>
<string id="NoPhone" scope="glance">Brak połączenia telefonicznego</string>
<string id="NoInternet">Brak połączenia z internetem</string>
<string id="NoResponse">Brak odpowiedzi, sprawdź połączenie internetowe</string>
<string id="NoAPIKey" scope="glance">Brak klucza API w ustawieniach aplikacji</string>
<string id="NoApiUrl" scope="glance">Brak adresu API w ustawieniach aplikacji</string>
<string id="NoConfigUrl" scope="glance">Brak adresu URL konfiguracji w ustawieniach aplikacji</string>
<string id="ApiFlood">Wywołania API są zbyt szybkie. Proszę spowolnić swoje żądania.</string>
<string id="ApiUrlNotFound">Nie znaleziono adresu URL. Potencjalny błąd adresu URL interfejsu API w ustawieniach.</string>
<string id="ConfigUrlNotFound">Nie znaleziono adresu URL. Potencjalny błąd adresu URL konfiguracji w ustawieniach.</string>
<string id="NoJson">Z żądania HTTP nie zwrócono żadnego kodu JSON.</string>
<string id="UnhandledHttpErr">Żądanie HTTP zwróciło kod błędu =</string>
<string id="TrailingSlashErr">Adres URL interfejsu API nie może zawierać końcowego ukośnika „/”</string>
<string id="WebhookFailed">Nie udało się zarejestrować webhooka</string>
<string id="TemplateError">Nie udało się wyrenderować szablonu</string>
<string id="Available" scope="glance">Dostępny</string> <string id="Available" scope="glance">Dostępny</string>
<string id="Checking" scope="glance">Kontrola...</string> <string id="Cached" scope="glance">Buforowany</string>
<string id="Unavailable" scope="glance">Niedostępne</string> <string id="Checking" scope="glance">Sprawdzanie...</string>
<string id="Unconfigured" scope="glance">Nieskonfigurowane</string> <string id="ConfigUrlNotFound">Nie znaleziono adresu URL. Potencjalny błąd adresu URL konfiguracji
<string id="Cached" scope="glance">Buforowane</string> w ustawieniach.</string>
<string id="Confirm">Na pewno?</string>
<string id="Empty">Pusty</string>
<string id="Executed" scope="glance">Potwierdzony</string>
<string id="GlanceMenu" scope="glance">Menu</string> <string id="GlanceMenu" scope="glance">Menu</string>
<string id="Memory" scope="glance">Pamięć</string> <string id="Memory" scope="glance">Pamięć</string>
<!-- Dla ustawień GUI --> <string id="MenuUpdated">Zaktualizowano menu, uruchom ponownie.</string>
<string id="SettingsSelect">Wybierać...</string> <string id="MenuCheckDisabled">Zakładania menu wyłączone.</string>
<string id="SettingsApiKey">Klucz API dla HomeAssistant.</string> <string id="NoAPIKey" scope="glance">Brak klucza API w ustawieniach aplikacji.</string>
<string id="SettingsApiKeyPrompt">Długowieczny token dostępu.</string> <string id="NoApiUrl" scope="glance">Brak adresu URL API w ustawieniach aplikacji.</string>
<string id="SettingsApiUrl">Adres URL interfejsu API HomeAssistant.</string> <string id="NoConfigUrl" scope="glance">Brak adresu URL konfiguracji w ustawieniach aplikacji.</string>
<string id="NoInternet">Brak połączenia internetowego.</string>
<string id="NoJson">Żądanie HTTP nie zwróciło danych JSON.</string>
<string id="NoPhone" scope="glance">Brak połączenia telefonicznego.</string>
<string id="NoPhoneNoCache" scope="glance">Brak połączenia telefonicznego, brak buforowanego menu.</string>
<string id="NoResponse">Brak odpowiedzi, sprawdź połączenie internetowe</string>
<string id="TimedOut">Żądanie przekroczyło limit czasu</string>
<string id="PinInputLocked">Wprowadzanie PIN-u zablokowane na</string>
<string id="PotentialError">Potencjalny błąd</string>
<string id="Seconds">sekund</string>
<string id="TemplateError">Błąd szablonu</string>
<string id="TrailingSlashErr">Adres URL API nie może zawierać końcowego ukośnika '/'.</string>
<string id="Unavailable" scope="glance">Niedostępny</string>
<string id="Unconfigured" scope="glance">Niekonfigurowany</string>
<string id="UnhandledHttpErr">Żądanie HTTP zwróciło kod błędu = </string>
<string id="WebhookFailed">Nie udało się zarejestrować webhooka</string>
<string id="WrongPin">Nieprawidłowy PIN</string>
<string id="WifiLteNotAvailable">Brak dostępnego Wi-Fi lub LTE</string>
<string id="WifiLtePrompt">Wykonać przez Wi-Fi/LTE?</string>
<string id="WifiLteExecutionTitle">Wysyłanie do Home Assistant.</string>
<string id="WifiLteExecutionDataError">Brak danych.</string>
<!-- W przypadku ustawień GUI, teksty powinny być w kolejności ich użycia. -->
<string id="SettingsSelect">Wybierz...</string>
<string id="SettingsApiKey">Klucz API dla Home Assistant.</string>
<string id="SettingsApiKeyPrompt">Długoterminowy token dostępu.</string>
<string id="SettingsApiUrl">Adres URL API dla Home Assistant.</string>
<string id="SettingsConfigUrl">Adres URL konfiguracji menu (JSON).</string> <string id="SettingsConfigUrl">Adres URL konfiguracji menu (JSON).</string>
<string id="SettingsCacheConfig">Czy aplikacja powinna buforować konfigurację menu?</string> <string id="SettingsCacheConfig">Czy aplikacja powinna buforować konfigurację menu?</string>
<string id="SettingsClearCache">Czy następnym razem aplikacja powinna wyczyścić istniejącą pamięć podręczną <string id="SettingsClearCache">Czy aplikacja powinna wyczyścić istniejącą pamięć podręczną
Rozpoczęty?</string> następnym razem, gdy zostanie uruchomiona?</string>
<string id="SettingsAppTimeout">Limit czasu w sekundach. Wyjdź z aplikacji po upływie tego okresu <string id="SettingsEnableMenuUpdateCheck">Sprawdź aktualizacje menu na temat uruchomienia
bezczynności, aby oszczędzać baterię urządzenia.</string> aplikacji? Uwaga: Buforowanie menu musi być włączone. To ustawienie może spowodować awarię
<string id="SettingsConfirmTimeout">Po tym czasie (w sekundach) pojawi się okno dialogowe z potwierdzeniem starszych urządzeń o mniejszej pamięci.</string>
akcja zostaje automatycznie zamknięta, a akcja anulowana. Ustaw na 0, aby wyłączyć limit czasu.</string> <string id="SettingsWifiLteExecutionEnable">Włącz wykonywanie poleceń przez Wi-Fi/LTE.</string>
<string id="SettingsTextAlign">Wyrównanie menu do lewej (wyłączone) lub do prawej (włączone).</string> <string id="SettingsVibration">Czy aplikacja powinna przekazywać informacje zwrotne za
<string id="LeftToRight">Od lewej do prawej</string> pośrednictwem wibracji?</string>
<string id="RightToLeft">Od prawej do lewej</string> <string id="SettingsAppTimeout">Limit czasu w sekundach. Wyjdź z aplikacji po tym okresie
<string id="SettingsWidgetStart">(Tylko widget) Automatycznie uruchamiaj aplikację z poziomu widgetu bezczynności, aby oszczędzić baterię urządzenia.</string>
bez czekania na dotknięcie.</string> <string id="SettingsPollDelay">Dodatkowe opóźnienie odpytywania (w sekundach). Dodaje opóźnienie
<string id="SettingsEnableBatteryLevel">Włącz usługę w tle, aby wysłać baterię zegara między aktualizacją statusu wszystkich elementów menu.</string>
poziom do Asystenta Domowego.</string> <string id="SettingsConfirmTimeout">Po tym czasie (w sekundach) okno dialogowe potwierdzenia akcji
<string id="SettingsBatteryLevelRefreshRate">Częstotliwość odświeżania (w minutach), z jaką tło jest automatycznie zamknięte, a akcja jest anulowana. Ustaw na 0, aby wyłączyć limit czasu.</string>
serwis powinien powtórzyć wysyłanie poziomu naładowania baterii.</string> <string id="SettingsPin">4-cyfrowy kod PIN używany do wszystkich działań, które go wymagają
<string id="WebhookId">(Tylko do odczytu) Identyfikator webhooka utworzony przez zegarek w celu aktualizacji poziomu baterii. (0000-9999).</string>
Możesz tego potrzebować do debugowania.</string> <string id="SettingsPinError">W ustawieniach aplikacji skonfiguruj prawidłowy 4-cyfrowy kod PIN w
zakresie od 0000 do 9999.</string>
<string id="SettingsTextAlign">Wyrównanie menu: lewe (wył.) lub prawe (wł.).</string>
<string id="SettingsLeftToRight">Od lewej do prawej</string>
<string id="SettingsRightToLeft">Od prawej do lewej</string>
<string id="SettingsWidgetStart">(Tylko widżet) Automatyczne uruchamianie aplikacji z widżetu bez
oczekiwania na dotknięcie.</string>
<string id="SettingsEnableBatteryLevel">Włącz usługę w tle, aby wysyłać poziom baterii urządzenia,
lokalizację i (jeśli obsługiwane) dane o aktywności do Home Assistant.</string>
<string id="SettingsBatteryLevelRefreshRate">Częstotliwość odświeżania (w minutach), z jaką usługa
w tle powinna wysyłać dane.</string>
<string id="SettingsUserHttpHeader">Dostarczony przez użytkownika nagłówek HTTP</string>
<string id="SettingsUserHttpHeaderDescription">Niektóre instalacje Home Assistant wymagają
określenia niestandardowego nagłówka HTTP w celu prawidłowego działania.</string>
<string id="SettingsUserHttpHeaderName">Dostarczony przez użytkownika nagłówek HTTP: Nazwa</string>
<string id="SettingsUserHttpHeaderValue">Dostarczony przez użytkownika nagłówek HTTP: Wartość</string>
<string id="SettingsClearWebhookId">Połącz ponownie z Home Assistant (wyczyść ID webhooka, patrz
przewodnik rozwiązywania problemów).</string>
<string id="SettingsWebhookId">(Tylko do odczytu) Identyfikator webhooka utworzony przez
urządzenie dla aktualizacji usługi w tle. Może być potrzebny do debugowania.</string>
</strings> </strings>

View File

@@ -9,62 +9,95 @@
tested on a Venu 2 device. The source code is provided at: tested on a Venu 2 device. The source code is provided at:
https://github.com/house-of-abbey/GarminHomeAssistant. https://github.com/house-of-abbey/GarminHomeAssistant.
P A Abbey & J D Abbey & Someone0nEarth, 31 October 2023 P A Abbey & J D Abbey & Someone0nEarth & vincentezw, 31 October 2023
--> -->
<!-- <!--
Generated by Google Translate: English to Portuguese Generated by Google Translate and gemini-2.5-flash from English to Portuguese
Gerado pelo Google Translate do inglês Gerado por Google Translate e gemini-2.5-flash do inglês para o português
--> -->
<strings> <strings>
<string id="AppName" scope="glance">HomeAssistant</string> <string id="ApiFlood">Chamadas de API muito rápidas. Por favor, diminua a frequência das suas
<string id="Confirm">Claro?</string> solicitações.</string>
<string id="Executed" scope="glance">Confirmado</string>
<string id="NoPhone" scope="glance">Sem conexão telefônica</string>
<string id="NoInternet">Sem conexão com a Internet</string>
<string id="NoResponse">Sem resposta, verifique a conexão com a Internet</string>
<string id="NoAPIKey" scope="glance">Nenhuma chave de API nas configurações do aplicativo</string>
<string id="NoApiUrl" scope="glance">Nenhum URL de API nas configurações do aplicativo</string>
<string id="NoConfigUrl" scope="glance">Nenhum URL de configuração nas configurações do aplicativo</string>
<string id="ApiFlood">Chamadas de API muito rápidas. Por favor, diminua a velocidade de seus pedidos.</string>
<string id="ApiUrlNotFound">URL não encontrado. Possível erro de URL da API nas configurações.</string> <string id="ApiUrlNotFound">URL não encontrado. Possível erro de URL da API nas configurações.</string>
<string id="ConfigUrlNotFound">URL não encontrado. Possível erro de URL de configuração nas configurações.</string> <string id="AppName" scope="glance">HomeAssistant</string>
<string id="NoJson">Nenhum JSON foi retornado da solicitação HTTP.</string>
<string id="UnhandledHttpErr">Solicitação HTTP retornou código de erro =</string>
<string id="TrailingSlashErr">O URL da API não deve ter uma barra final '/'</string>
<string id="WebhookFailed">Falha ao registrar o Webhook</string>
<string id="TemplateError">Falha ao renderizar o modelo</string>
<string id="Available" scope="glance">Disponível</string> <string id="Available" scope="glance">Disponível</string>
<string id="Cached" scope="glance">Em cache</string>
<string id="Checking" scope="glance">Verificando...</string> <string id="Checking" scope="glance">Verificando...</string>
<string id="ConfigUrlNotFound">URL não encontrado. Possível erro de URL de configuração nas
configurações.</string>
<string id="Confirm">Confirmar?</string>
<string id="Empty">Vazio</string>
<string id="Executed" scope="glance">Executado</string>
<string id="GlanceMenu" scope="glance">Menu</string>
<string id="Memory" scope="glance">Memória</string>
<string id="MenuUpdated">Menu atualizado, reinicie.</string>
<string id="MenuCheckDisabled">Atualizações de menu desativadas.</string>
<string id="NoAPIKey" scope="glance">Nenhuma chave da API nas configurações do aplicativo.</string>
<string id="NoApiUrl" scope="glance">Nenhum URL da API nas configurações do aplicativo.</string>
<string id="NoConfigUrl" scope="glance">Nenhum URL de configuração nas configurações do
aplicativo.</string>
<string id="NoInternet">Sem conexão com a Internet.</string>
<string id="NoJson">Nenhum JSON retornado da solicitação HTTP.</string>
<string id="NoPhone" scope="glance">Sem conexão telefônica.</string>
<string id="NoPhoneNoCache" scope="glance">Sem conexão com o telefone, sem menu em cache.</string>
<string id="NoResponse">Sem resposta, verifique a conexão com a Internet</string>
<string id="TimedOut">Solicitação excedeu o tempo limite</string>
<string id="PinInputLocked">Entrada de PIN bloqueada para</string>
<string id="PotentialError">Erro potencial</string>
<string id="Seconds">segundos</string>
<string id="TemplateError">Erro de modelo</string>
<string id="TrailingSlashErr">O URL da API não deve ter uma barra à direita '/'.</string>
<string id="Unavailable" scope="glance">Indisponível</string> <string id="Unavailable" scope="glance">Indisponível</string>
<string id="Unconfigured" scope="glance">Não configurado</string> <string id="Unconfigured" scope="glance">Não configurado</string>
<string id="Cached" scope="glance">Em cache</string> <string id="UnhandledHttpErr">Solicitação HTTP retornou código de erro = </string>
<string id="GlanceMenu" scope="glance">Cardápio</string> <string id="WebhookFailed">Falha ao registrar Webhook</string>
<string id="Memory" scope="glance">Memória</string> <string id="WrongPin">PIN errado</string>
<!-- Para a GUI de configurações --> <string id="WifiLteNotAvailable">Sem Wi-Fi ou LTE disponível</string>
<string id="WifiLtePrompt">Executar sobre Wi-Fi/LTE?</string>
<string id="WifiLteExecutionTitle">Enviando para Home Assistant.</string>
<string id="WifiLteExecutionDataError">Nenhum dado recebido.</string>
<!-- Para a GUI das configurações, as strings devem estar na ordem em que são usadas. -->
<string id="SettingsSelect">Selecione...</string> <string id="SettingsSelect">Selecione...</string>
<string id="SettingsApiKey">Chave de API para HomeAssistant.</string> <string id="SettingsApiKey">Chave da API para HomeAssistant.</string>
<string id="SettingsApiKeyPrompt">Token de acesso de longa duração.</string> <string id="SettingsApiKeyPrompt">Token de acesso de longa duração.</string>
<string id="SettingsApiUrl">URL para API HomeAssistant.</string> <string id="SettingsApiUrl">URL para API HomeAssistant.</string>
<string id="SettingsConfigUrl">URL para configuração do menu (JSON).</string> <string id="SettingsConfigUrl">URL para configuração de menu (JSON).</string>
<string id="SettingsCacheConfig">O aplicativo deve armazenar em cache a configuração do menu?</string> <string id="SettingsCacheConfig">O aplicativo deve armazenar em cache a configuração do menu?</string>
<string id="SettingsClearCache">O aplicativo deve limpar o cache existente na próxima vez que for <string id="SettingsClearCache">O aplicativo deve limpar o cache existente na próxima vez que for
iniciado?</string> iniciado?</string>
<string id="SettingsEnableMenuUpdateCheck">Verificar atualizações do menu ao iniciar o aplicativo? Nota: O cache do menu deve estar ativado. Esta configuração pode fazer com que dispositivos mais antigos com menos memória travem.</string>
<string id="SettingsWifiLteExecutionEnable">Ativar execução de comandos via Wi-Fi/LTE.</string>
<string id="SettingsVibration">O aplicativo deve fornecer feedback por meio de vibrações?</string>
<string id="SettingsAppTimeout">Tempo limite em segundos. Saia do aplicativo após esse período de <string id="SettingsAppTimeout">Tempo limite em segundos. Saia do aplicativo após esse período de
inatividade para economizar bateria do dispositivo.</string> inatividade para economizar a bateria do dispositivo.</string>
<string id="SettingsConfirmTimeout">Após este tempo (em segundos), uma caixa de diálogo de confirmação para um <string id="SettingsPollDelay">Atraso adicional da pesquisa (em segundos). Adiciona um atraso
a ação é automaticamente fechada e a ação é cancelada. Defina como 0 para desativar o tempo limite.</string> entre a atualização de status de todos os itens do menu.</string>
<string id="SettingsTextAlign">Alinhamento do menu à esquerda (desligado) ou à direita (ligado).</string> <string id="SettingsConfirmTimeout">Após esse período (em segundos), uma caixa de diálogo de
<string id="LeftToRight">Da esquerda para direita</string> confirmação para uma ação é fechada automaticamente e a ação é cancelada. Defina como 0 para
<string id="RightToLeft">Direita para esquerda</string> desativar o tempo limite.</string>
<string id="SettingsWidgetStart">(Somente widget) Iniciar automaticamente o aplicativo a partir do widget <string id="SettingsPin">PIN de 4 dígitos a ser usado para todas as ações que o exigem
(0000-9999).</string>
<string id="SettingsPinError">Configure um PIN numérico de 4 dígitos válido entre 0000 e 9999 nas
configurações do aplicativo.</string>
<string id="SettingsTextAlign">Alinhamento do menu: Esquerda (desativado) ou Direita (ativado).</string>
<string id="SettingsLeftToRight">Da esquerda para a direita</string>
<string id="SettingsRightToLeft">Direita para a esquerda</string>
<string id="SettingsWidgetStart">(Somente widget) Inicie automaticamente o aplicativo do widget
sem esperar por um toque.</string> sem esperar por um toque.</string>
<string id="SettingsEnableBatteryLevel">Habilite o serviço em segundo plano para enviar a bateria do relógio <string id="SettingsEnableBatteryLevel">Ativar o serviço em segundo plano para enviar o nível da
nível para Home Assistant.</string> bateria do dispositivo, localização e (se suportado) dados de atividade para Home Assistant.</string>
<string id="SettingsBatteryLevelRefreshRate">A taxa de atualização (em minutos) na qual o plano de fundo <string id="SettingsBatteryLevelRefreshRate">A taxa de atualização (em minutos) na qual o serviço
o serviço deve repetir o envio do nível da bateria.</string> em segundo plano deve repetir o envio de dados.</string>
<string id="WebhookId">(Somente leitura) O ID do Webhook criado pelo relógio para atualizações do nível da bateria. <string id="SettingsUserHttpHeader">Cabeçalho HTTP fornecido pelo usuário</string>
Você pode precisar disso para depuração.</string> <string id="SettingsUserHttpHeaderDescription">Algumas instalações do Home Assistant exigem a
especificação de um cabeçalho HTTP personalizado para funcionar.</string>
<string id="SettingsUserHttpHeaderName">Cabeçalho HTTP fornecido pelo usuário: Nome</string>
<string id="SettingsUserHttpHeaderValue">Cabeçalho HTTP fornecido pelo usuário: Valor</string>
<string id="SettingsClearWebhookId">Reconectar ao Home Assistant (limpar ID do Webhook, consulte o
Guia de Solução de Problemas).</string>
<string id="SettingsWebhookId">(Somente leitura) O ID do Webhook criado pelo dispositivo para
atualizações do serviço em segundo plano. Pode ser necessário para depuração.</string>
</strings> </strings>

View File

@@ -9,62 +9,94 @@
tested on a Venu 2 device. The source code is provided at: tested on a Venu 2 device. The source code is provided at:
https://github.com/house-of-abbey/GarminHomeAssistant. https://github.com/house-of-abbey/GarminHomeAssistant.
P A Abbey & J D Abbey & Someone0nEarth, 31 October 2023 P A Abbey & J D Abbey & Someone0nEarth & vincentezw, 31 October 2023
--> -->
<!-- <!--
Generated by Google Translate: English to Romanian Generated by Google Translate and gemini-2.5-flash from English to Romanian
Generat de Google Translate din engleză Generat de Google Translate și gemini-2.5-flash din engleză în română
--> -->
<strings> <strings>
<string id="ApiFlood">Apeluri API prea rapide. Vă rugăm să încetiniți cererile.</string>
<string id="ApiUrlNotFound">URL-ul nu a fost găsit. Eroare potențială a URL-ului API în setări.</string>
<string id="AppName" scope="glance">HomeAssistant</string> <string id="AppName" scope="glance">HomeAssistant</string>
<string id="Confirm">Sigur?</string>
<string id="Executed" scope="glance">Confirmat</string>
<string id="NoPhone" scope="glance">Fără conexiune telefonică</string>
<string id="NoInternet">Fără conexiune internet</string>
<string id="NoResponse">Niciun răspuns, verificați conexiunea la internet</string>
<string id="NoAPIKey" scope="glance">Nicio cheie API în setările aplicației</string>
<string id="NoApiUrl" scope="glance">Nicio adresă URL API în setările aplicației</string>
<string id="NoConfigUrl" scope="glance">Nicio adresă URL de configurare în setările aplicației</string>
<string id="ApiFlood">Apeluri API prea rapide. Vă rugăm să încetiniți cererile dvs.</string>
<string id="ApiUrlNotFound">Adresa URL nu a fost găsită. Potențială eroare URL API în setări.</string>
<string id="ConfigUrlNotFound">Adresa URL nu a fost găsită. Potențială eroare URL de configurare în setări.</string>
<string id="NoJson">Niciun JSON nu a fost returnat de la solicitarea HTTP.</string>
<string id="UnhandledHttpErr">Solicitarea HTTP a returnat codul de eroare =</string>
<string id="TrailingSlashErr">Adresa URL API nu trebuie să aibă o bară oblică „/”</string>
<string id="WebhookFailed">Nu s-a putut înregistra Webhook</string>
<string id="TemplateError">Șablonul a eșuat</string>
<string id="Available" scope="glance">Disponibil</string> <string id="Available" scope="glance">Disponibil</string>
<string id="Checking" scope="glance">Control...</string> <string id="Cached" scope="glance">În cache</string>
<string id="Checking" scope="glance">Se verifică...</string>
<string id="ConfigUrlNotFound">URL-ul nu a fost găsit. Eroare potențială a URL-ului de configurare
în setări.</string>
<string id="Confirm">Sigur?</string>
<string id="Empty">Gol</string>
<string id="Executed" scope="glance">Confirmat</string>
<string id="GlanceMenu" scope="glance">Meniu</string>
<string id="Memory" scope="glance">Memorie</string>
<string id="MenuUpdated">Meniu actualizat, reporniți.</string>
<string id="MenuCheckDisabled">Actualizări meniu dezactivate.</string>
<string id="NoAPIKey" scope="glance">Nicio cheie API în setările aplicației.</string>
<string id="NoApiUrl" scope="glance">Niciun URL API în setările aplicației.</string>
<string id="NoConfigUrl" scope="glance">Niciun URL de configurare în setările aplicației.</string>
<string id="NoInternet">Nicio conexiune la internet.</string>
<string id="NoJson">Niciun JSON nu a fost returnat de la cererea HTTP.</string>
<string id="NoPhone" scope="glance">Nicio conexiune telefonică.</string>
<string id="NoPhoneNoCache" scope="glance">Nicio conexiune la telefon, niciun meniu în cache.</string>
<string id="NoResponse">Niciun răspuns, verificați conexiunea la internet.</string>
<string id="TimedOut">Cererea a expirat.</string>
<string id="PinInputLocked">Introducerea PIN-ului blocată pentru</string>
<string id="PotentialError">Eroare potențială</string>
<string id="Seconds">secunde</string>
<string id="TemplateError">Eroare de șablon</string>
<string id="TrailingSlashErr">URL-ul API nu trebuie să conțină un slash final '/'.</string>
<string id="Unavailable" scope="glance">Indisponibil</string> <string id="Unavailable" scope="glance">Indisponibil</string>
<string id="Unconfigured" scope="glance">Neconfigurat</string> <string id="Unconfigured" scope="glance">Neconfigurat</string>
<string id="Cached" scope="glance">În cache</string> <string id="UnhandledHttpErr">Cererea HTTP a returnat codul de eroare = </string>
<string id="GlanceMenu" scope="glance">Meniul</string> <string id="WebhookFailed">Înregistrarea Webhook a eșuat.</string>
<string id="Memory" scope="glance">Memorie</string> <string id="WrongPin">PIN greșit</string>
<!-- Pentru GUI de setări --> <string id="WifiLteNotAvailable">Nu sunt disponibile Wi-Fi sau LTE.</string>
<string id="WifiLtePrompt">Executați prin Wi-Fi/LTE?</string>
<string id="WifiLteExecutionTitle">Se trimite către Home Assistant.</string>
<string id="WifiLteExecutionDataError">Nu au fost primite date.</string>
<!-- Pentru GUI de setări, șirurile ar trebui să fie în ordinea în care sunt utilizate. -->
<string id="SettingsSelect">Selectați...</string> <string id="SettingsSelect">Selectați...</string>
<string id="SettingsApiKey">Cheie API pentru HomeAssistant.</string> <string id="SettingsApiKey">Cheie API pentru Home Assistant.</string>
<string id="SettingsApiKeyPrompt">Token de acces cu viață lungă.</string> <string id="SettingsApiKeyPrompt">Token de acces de lungă durată.</string>
<string id="SettingsApiUrl">Adresa URL pentru API-ul HomeAssistant.</string> <string id="SettingsApiUrl">URL pentru API-ul Home Assistant.</string>
<string id="SettingsConfigUrl">URL pentru configurarea meniului (JSON).</string> <string id="SettingsConfigUrl">URL pentru configurația meniului (JSON).</string>
<string id="SettingsCacheConfig">Ar trebui aplicația să memoreze în cache configurația meniului?</string> <string id="SettingsCacheConfig">Aplicația ar trebui să memoreze în cache configurația meniului?</string>
<string id="SettingsClearCache">Dacă aplicația șterge memoria cache existentă data viitoare <string id="SettingsClearCache">Aplicația ar trebui să șteargă memoria cache existentă la
început?</string> următoarea pornire?</string>
<string id="SettingsAppTimeout">Timeout în secunde. Ieșiți din aplicație după această perioadă de <string id="SettingsEnableMenuUpdateCheck">Verificați actualizările meniului la pornirea aplicației? Notă: Memorarea în cache a meniului trebuie să fie activată. Această setare poate cauza blocarea dispozitivelor mai vechi cu mai puțină memorie.</string>
inactivitate pentru a economisi bateria dispozitivului.</string> <string id="SettingsWifiLteExecutionEnable">Activați executarea comenzilor prin Wi-Fi/LTE.</string>
<string id="SettingsConfirmTimeout">După acest timp (în secunde), un dialog de confirmare pentru un <string id="SettingsVibration">Aplicația ar trebui să ofere feedback prin vibrații?</string>
acțiunea este închisă automat și acțiunea este anulată. Setați la 0 pentru a dezactiva timeout-ul.</string> <string id="SettingsAppTimeout">Timp de expirare în secunde. Ieșiți din aplicație după această
<string id="SettingsTextAlign">Alinierea meniului la stânga (dezactivată) sau la dreapta (activată).</string> perioadă de inactivitate pentru a economisi bateria dispozitivului.</string>
<string id="LeftToRight">De la stânga la dreapta</string> <string id="SettingsPollDelay">Întârziere suplimentară de interogare (în secunde). Adaugă o
<string id="RightToLeft">De la dreapta la stanga</string> întârziere între actualizarea stării tuturor elementelor din meniu.</string>
<string id="SettingsWidgetStart">(Numai widget) Porniți automat aplicația din widget <string id="SettingsConfirmTimeout">După acest timp (în secunde), un dialog de confirmare pentru o
fără să aștepte o atingere.</string> acțiune este închis automat și acțiunea este anulată. Setați la 0 pentru a dezactiva timpul de
<string id="SettingsEnableBatteryLevel">Activați serviciul de fundal pentru a trimite bateria ceasului expirare.</string>
nivel la Home Assistant.</string> <string id="SettingsPin">PIN-ul din 4 cifre care va fi utilizat pentru toate acțiunile care îl
<string id="SettingsBatteryLevelRefreshRate">Rata de reîmprospătare (în minute) la care fundalul necesită (0000-9999).</string>
serviciul ar trebui să repete trimiterea nivelului bateriei.</string> <string id="SettingsPinError">Vă rugăm să configurați un PIN numeric valid din 4 cifre, între 0000
<string id="WebhookId">(Numai citire) ID-ul Webhook creat de ceas pentru actualizările nivelului bateriei. și 9999, în setările aplicației.</string>
Este posibil să aveți nevoie de acest lucru pentru depanare.</string> <string id="SettingsTextAlign">Alinierea meniului: Stânga (dezactivat) sau Dreapta (activat).</string>
<string id="SettingsLeftToRight">De la stânga la dreapta</string>
<string id="SettingsRightToLeft">De la dreapta la stânga</string>
<string id="SettingsWidgetStart">(Doar widget) Porniți automat aplicația din widget fără a aștepta
o atingere.</string>
<string id="SettingsEnableBatteryLevel">Activați serviciul de fundal pentru a trimite nivelul
bateriei dispozitivului, locația și (dacă este acceptat) datele de activitate către Home
Assistant.</string>
<string id="SettingsBatteryLevelRefreshRate">Rata de reîmprospătare (în minute) la care serviciul
de fundal ar trebui să repete trimiterea datelor.</string>
<string id="SettingsUserHttpHeader">Antetul HTTP furnizat de utilizator</string>
<string id="SettingsUserHttpHeaderDescription">Unele instalații Home Assistant necesită
specificarea unui antet HTTP personalizat pentru a funcționa.</string>
<string id="SettingsUserHttpHeaderName">Antet HTTP furnizat de utilizator: Nume</string>
<string id="SettingsUserHttpHeaderValue">Antet HTTP furnizat de utilizator: Valoare</string>
<string id="SettingsClearWebhookId">Reconectați-vă la Home Assistant (ștergeți ID-ul Webhook,
consultați ghidul de depanare).</string>
<string id="SettingsWebhookId">(Doar citire) ID-ul Webhook creat de dispozitiv pentru actualizări
ale serviciului de fundal. S-ar putea să aveți nevoie de acesta pentru depanare.</string>
</strings> </strings>

View File

@@ -20,5 +20,11 @@
<strings> <strings>
<string id="Confirm">Potvrďte</string> <string id="Confirm">Potvrďte</string>
<string id="Executed" scope="glance">Spustený</string> <string id="Executed">Spustený</string>
<string id="NoAPIKey">V nastaveniach aplikácie chýba kľúč API</string>
<string id="NoApiUrl">V nastaveniach aplikácie chýba adresa URL rozhrania API</string>
<string id="NoConfigUrl">V nastaveniach aplikácie chýba konfiguračná adresa URL</string>
<string id="Unavailable">Nedostupné</string>
<string id="SettingsRightToLeft">Sprava doľava</string>
<string id="SettingsEnableBatteryLevel">Povoľte službu na pozadí, ktorá bude do Home Assistenta odosielať údaje o stave batérie zariadenia, polohe a (ak je podporované) o aktivite.</string>
</strings> </strings>

View File

@@ -9,62 +9,90 @@
tested on a Venu 2 device. The source code is provided at: tested on a Venu 2 device. The source code is provided at:
https://github.com/house-of-abbey/GarminHomeAssistant. https://github.com/house-of-abbey/GarminHomeAssistant.
P A Abbey & J D Abbey & Someone0nEarth, 31 October 2023 P A Abbey & J D Abbey & Someone0nEarth & vincentezw, 31 October 2023
--> -->
<!-- <!--
Generated by Google Translate: English to Slovak Generated by Google Translate and gemini-2.5-flash from English to Slovak
Vygenerované službou Google Translate z angličtiny Vygenerované službou Google Translate a gemini-2.5-flash z angličtiny do slovenčiny
--> -->
<strings> <strings>
<string id="ApiFlood">Volania API sú príliš rýchle. Spomaľte prosím svoje požiadavky.</string>
<string id="ApiUrlNotFound">URL sa nenašla. Potenciálna chyba API URL v nastaveniach.</string>
<string id="AppName" scope="glance">HomeAssistant</string> <string id="AppName" scope="glance">HomeAssistant</string>
<string id="Confirm">Potvrďte</string>
<string id="Executed" scope="glance">Spustený</string>
<string id="NoPhone" scope="glance">Žiadne telefónne spojenie</string>
<string id="NoInternet">Žiadne internetové pripojenie</string>
<string id="NoResponse">Žiadna odpoveď, skontrolujte internetové pripojenie</string>
<string id="NoAPIKey" scope="glance">V nastaveniach aplikácie nie je žiadny kľúč API</string>
<string id="NoApiUrl" scope="glance">V nastaveniach aplikácie nie je žiadna adresa URL rozhrania API</string>
<string id="NoConfigUrl" scope="glance">V nastaveniach aplikácie nie je žiadna konfiguračná URL</string>
<string id="ApiFlood">Volania API sú príliš rýchle. Spomaľte svoje požiadavky.</string>
<string id="ApiUrlNotFound">Adresa URL sa nenašla. Potenciálna chyba webovej adresy rozhrania API v nastaveniach.</string>
<string id="ConfigUrlNotFound">Adresa URL sa nenašla. Potenciálna chyba konfiguračnej adresy URL v nastaveniach.</string>
<string id="NoJson">Z požiadavky HTTP sa nevrátil žiadny JSON.</string>
<string id="UnhandledHttpErr">Požiadavka HTTP vrátila kód chyby =</string>
<string id="TrailingSlashErr">Adresa URL rozhrania API nesmie obsahovať koncovú lomku „/“</string>
<string id="WebhookFailed">Registrácia Webhooku zlyhala</string>
<string id="TemplateError">Vykreslenie šablóny zlyhalo</string>
<string id="Available" scope="glance">Dostupné</string> <string id="Available" scope="glance">Dostupné</string>
<string id="Checking" scope="glance">Prebieha kontrola...</string> <string id="Cached" scope="glance">Uložené</string>
<string id="Unavailable" scope="glance">nedostupné</string> <string id="Checking" scope="glance">Kontrola ...</string>
<string id="Unconfigured" scope="glance">Nekonfigurované</string> <string id="ConfigUrlNotFound">URL sa nenašla. Potenciálna chyba URL konfigurácie v nastaveniach.</string>
<string id="Cached" scope="glance">Vo vyrovnávacej pamäti</string> <string id="Confirm">Potvrďte</string>
<string id="Empty">Prázdne</string>
<string id="Executed" scope="glance">Spustený</string>
<string id="GlanceMenu" scope="glance">Ponuka</string> <string id="GlanceMenu" scope="glance">Ponuka</string>
<string id="Memory" scope="glance">Pamäť</string> <string id="Memory" scope="glance">Pamäť</string>
<!-- Pre nastavenia GUI --> <string id="MenuUpdated">Menu aktualizované, reštartujte.</string>
<string id="SettingsSelect">Vybrať...</string> <string id="MenuCheckDisabled">Aktualizácie ponuky sú zakázané.</string>
<string id="SettingsApiKey">Kľúč API pre HomeAssistant.</string> <string id="NoAPIKey" scope="glance">V nastaveniach aplikácie chýba kľúč API</string>
<string id="SettingsApiKeyPrompt">Dlhotrvajúci prístupový token.</string> <string id="NoApiUrl" scope="glance">V nastaveniach aplikácie chýba adresa URL rozhrania API</string>
<string id="SettingsApiUrl">URL pre HomeAssistant API.</string> <string id="NoConfigUrl" scope="glance">V nastaveniach aplikácie chýba konfiguračná adresa URL</string>
<string id="SettingsConfigUrl">Webová adresa pre konfiguráciu ponuky (JSON).</string> <string id="NoInternet">Žiadne pripojenie na internet.</string>
<string id="SettingsCacheConfig">Má aplikácia uložiť do vyrovnávacej pamäte konfiguráciu ponuky?</string> <string id="NoJson">Z požiadavky HTTP sa nevrátil žiadny JSON.</string>
<string id="SettingsClearCache">Mala by aplikácia nabudúce vymazať existujúcu vyrovnávaciu pamäť <string id="NoPhone" scope="glance">Žiadne telefónne pripojenie.</string>
začal?</string> <string id="NoPhoneNoCache" scope="glance">Žiadne telefónne pripojenie, žiadne uložené menu.</string>
<string id="SettingsAppTimeout">Časový limit v sekundách. Po uplynutí tejto doby aplikáciu ukončite <string id="NoResponse">Žiadna odpoveď, skontrolujte pripojenie na internet</string>
nečinnosti, aby sa šetrila batéria zariadenia.</string> <string id="TimedOut">Časový limit vypršal</string>
<string id="SettingsConfirmTimeout">Po uplynutí tejto doby (v sekundách) sa zobrazí dialógové okno s potvrdením <string id="PinInputLocked">Zadanie PIN uzamknuté na</string>
akcia sa automaticky uzavrie a akcia sa zruší. Ak chcete časový limit deaktivovať, nastavte na 0.</string> <string id="PotentialError">Potenciálna chyba</string>
<string id="SettingsTextAlign">Zarovnanie ponuky vľavo (vypnuté) alebo vpravo (zapnuté).</string> <string id="Seconds">sekundy</string>
<string id="LeftToRight">Zľava doprava</string> <string id="TemplateError">Chyba šablóny</string>
<string id="RightToLeft">Zprava doľava</string> <string id="TrailingSlashErr">URL API nesmie mať koncové lomítko '/'.</string>
<string id="SettingsWidgetStart">(Len miniaplikácia) Automaticky spustiť aplikáciu z miniaplikácie <string id="Unavailable" scope="glance">Nedostupné</string>
bez čakania na klepnutie.</string> <string id="Unconfigured" scope="glance">Nenakonfigurované</string>
<string id="SettingsEnableBatteryLevel">Povoľte službu na pozadí na odoslanie batérie hodín <string id="UnhandledHttpErr">Požiadavka HTTP vrátila chybový kód =</string>
úroveň na Home Assistant.</string> <string id="WebhookFailed">Nepodarilo sa zaregistrovať webhook</string>
<string id="SettingsBatteryLevelRefreshRate">Obnovovacia frekvencia (v minútach), pri ktorej je pozadie <string id="WrongPin">Nesprávny PIN</string>
servis by mal zopakovať odoslanie úrovne batérie.</string> <string id="WifiLteNotAvailable">Wi-Fi alebo LTE nie je k dispozícii</string>
<string id="WebhookId">(Iba na čítanie) Webhook ID vytvorený hodinkami na aktualizáciu úrovne batérie. <string id="WifiLtePrompt">Spustiť cez Wi-Fi/LTE?</string>
Možno to budete potrebovať na ladenie.</string> <string id="WifiLteExecutionTitle">Odosielanie do Home Assistant.</string>
<string id="WifiLteExecutionDataError">Žiadne prijaté údaje.</string>
<!-- V prípade nastavení GUI by mali byť reťazce v poradí, v akom sa používajú. -->
<string id="SettingsSelect">Vyberte ...</string>
<string id="SettingsApiKey">Kľúč API pre Home Assistant.</string>
<string id="SettingsApiKeyPrompt">Prístupový token s dlhou životnosťou.</string>
<string id="SettingsApiUrl">URL pre API Home Assistant.</string>
<string id="SettingsConfigUrl">URL pre konfiguráciu ponuky (JSON).</string>
<string id="SettingsCacheConfig">Má aplikácia ukladať konfiguráciu menu do vyrovnávacej pamäte?</string>
<string id="SettingsClearCache">Má aplikácia vymazať existujúcu vyrovnávaciu pamäť pri ďalšom
spustení?</string>
<string id="SettingsEnableMenuUpdateCheck">Kontrolovať aktualizácie ponuky pri spustení aplikácie? Poznámka: Ukladanie ponuky do vyrovnávacej pamäte musí byť povolené. Toto nastavenie môže spôsobiť pád starších zariadení s menšou pamäťou.</string>
<string id="SettingsWifiLteExecutionEnable">Povoliť vykonávanie príkazov cez Wi-Fi/LTE.</string>
<string id="SettingsVibration">Mala by aplikácia poskytovať spätnú väzbu prostredníctvom vibrácií?</string>
<string id="SettingsAppTimeout">Časový limit v sekundách. Ukončenie aplikácie po tomto období
nečinnosti šetrí batériu zariadenia.</string>
<string id="SettingsPollDelay">Dodatočné oneskorenie dotazovania (v sekundách). Pridáva
oneskorenie medzi aktualizáciou stavu všetkých položiek menu.</string>
<string id="SettingsConfirmTimeout">Po tomto čase (v sekundách) sa potvrdzovací dialóg pre akciu
automaticky zatvorí a akcia sa zruší. Nastavte na 0 pre vypnutie časového limitu.</string>
<string id="SettingsPin">4-ciferný PIN, ktorý sa má použiť pre všetky akcie, ktoré ho vyžadujú
(0000-9999).</string>
<string id="SettingsPinError">V nastaveniach aplikácie nakonfigurujte platný štvorciferný číselný
PIN medzi 0000 a 9999.</string>
<string id="SettingsTextAlign">Zarovnanie menu vľavo (vypnuté) alebo vpravo (zapnuté).</string>
<string id="SettingsLeftToRight">Zľava doprava</string>
<string id="SettingsRightToLeft">Sprava doľava</string>
<string id="SettingsWidgetStart">(Iba widget) Automaticky spustí aplikáciu z miniaplikácie bez
čakania na ťuknutie.</string>
<string id="SettingsEnableBatteryLevel">Povoľte službu na pozadí, ktorá bude do Home Assistenta odosielať údaje o stave batérie zariadenia, polohe a (ak je podporované) o aktivite.</string>
<string id="SettingsBatteryLevelRefreshRate">Frekvencia obnovenia (v minútach), pri ktorej by
služba na pozadí mala opakovať odosielanie údajov.</string>
<string id="SettingsUserHttpHeader">Hlavička HTTP dodaná používateľom</string>
<string id="SettingsUserHttpHeaderDescription">Niektoré inštalácie Home Assistant vyžadujú
špecifikáciu vlastnej hlavičky HTTP pre správne fungovanie.</string>
<string id="SettingsUserHttpHeaderName">Používateľom dodaná HTTP hlavička: Názov</string>
<string id="SettingsUserHttpHeaderValue">Používateľom dodaná HTTP hlavička: Hodnota</string>
<string id="SettingsClearWebhookId">Znova sa pripojiť k Home Assistant (vymazať ID Webhooku, pozri
Sprievodcu riešením problémov).</string>
<string id="SettingsWebhookId">(Iba na čítanie) ID Webhooku vytvorené zariadením pre aktualizácie
služby na pozadí. Môžete ho potrebovať na ladenie.</string>
</strings> </strings>

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