Compare commits
170 Commits
v2.0
...
restyled/9
Author | SHA1 | Date | |
---|---|---|---|
2b98ed885e | |||
4a8185a937 | |||
bb55ed4c69 | |||
4ddf8339b8 | |||
7b227499c8 | |||
0849524ea9 | |||
b54b1d8cae | |||
17b1e38145 | |||
2afd0295b4 | |||
83f8b7bf26 | |||
c4066e9fe3 | |||
c062a6fcff | |||
7ab8246197 | |||
776134e842 | |||
a95736ebed | |||
9c001f3402 | |||
7786efd883 | |||
0b80e4546d | |||
6e67c4cf2a | |||
b80227e484 | |||
d9b345e5b8 | |||
fc7302ad3b | |||
d9ecaf34ee | |||
62b8f0fccf | |||
26954cbc60 | |||
a5b2af81bc | |||
10c64c0fdc | |||
ed3dce8827 | |||
35a65ebdf4 | |||
b46c4d2eb4 | |||
2b21c840c6 | |||
1448f6b0c2 | |||
ce2f4d38d0 | |||
13d3ffd1ec | |||
5620ea6695 | |||
7243917103 | |||
49fb42cc0f | |||
39fc04fc5c | |||
3c5e970892 | |||
bd32d94ac7 | |||
b7c48db604 | |||
018d2d9611 | |||
44ec2e2eb1 | |||
1325f8c382 | |||
2be255bb71 | |||
67a5f0a14e | |||
52d9a0ec3d | |||
6632ba6c41 | |||
a48c6a38fe | |||
4e96036d66 | |||
f0b84856ad | |||
7ffbd84785 | |||
3bc65ecc6e | |||
a00ed58cf4 | |||
1132bdf57b | |||
53bd8d3c50 | |||
81762fbf7d | |||
84aaa44995 | |||
2cf087ed23 | |||
d35c6be074 | |||
099b4db3b9 | |||
4b5c9ba8ba | |||
31fb4a5569 | |||
3ee585d20f | |||
52d12fdca6 | |||
1f075a8c0f | |||
cf2237958d | |||
3504264f56 | |||
94bc49afe2 | |||
a8e1bd6247 | |||
86be286c2b | |||
8712d68a3c | |||
31b30788b1 | |||
4447c35761 | |||
cec10bb89a | |||
398dc86cbf | |||
4665d144c5 | |||
32ce1d2a74 | |||
cd416bc81b | |||
f2316dc0f6 | |||
7f8814d587 | |||
81ac2b9705 | |||
59dbd0aa0a | |||
1e49de4094 | |||
9df93c0c23 | |||
ba40f5b3d1 | |||
e9ce5a5c97 | |||
825e863a68 | |||
827d0dbeec | |||
bc13fba3c0 | |||
bd242fe06c | |||
1f626f0fdb | |||
d4588f02b9 | |||
22bb84e13b | |||
67731708b3 | |||
6a28cd8136 | |||
ec2debd814 | |||
714da2d538 | |||
331fd2471e | |||
cc56606105 | |||
307b1e0453 | |||
65c275ae19 | |||
58b5c7d0c4 | |||
59e3ae1441 | |||
82d69483d6 | |||
5848cd4e17 | |||
139e4e0a96 | |||
805a7aa075 | |||
807a4bb461 | |||
de19fc94a7 | |||
a211565810 | |||
f155ab0925 | |||
52967e87d4 | |||
9f0ec9a2f8 | |||
4b450065c8 | |||
d0ec4aa4d8 | |||
7074940579 | |||
8133b434b7 | |||
ac5f43af54 | |||
e77e1a76b8 | |||
96ae4b231a | |||
9e0b8e5145 | |||
5f794388e6 | |||
ab071fd96d | |||
4190ce2362 | |||
42e0a1b543 | |||
4e6f8bcefc | |||
70e0bc3ff1 | |||
b51e2aa2a4 | |||
e9de9e5890 | |||
376c72d7ba | |||
1db885e10f | |||
40377e6887 | |||
3b0b3fac32 | |||
c1103d9325 | |||
864a832e69 | |||
9858ebbe73 | |||
9724430168 | |||
0a2d257421 | |||
92e6917589 | |||
7c1082849d | |||
c78cd574b1 | |||
bbaee49825 | |||
874ced99c2 | |||
97273155e1 | |||
0b35c24e65 | |||
6ae96cfd7c | |||
c0787733b7 | |||
24ebc72080 | |||
3b10bb9272 | |||
e8242490fd | |||
a8c9085dc4 | |||
1fa15c58a0 | |||
25205e715e | |||
5288e97b4f | |||
ff7cbee1ce | |||
14949d061a | |||
1f19341675 | |||
e07d9ddb9d | |||
af542d92d8 | |||
6b074cb3c9 | |||
bcaea763c5 | |||
f112a333e7 | |||
9a268eaf02 | |||
b039dfbc3b | |||
f22dc469fb | |||
5c593cc66a | |||
ae72313f5e | |||
56155f5f5c | |||
b2461a09e6 |
3
.github/restyled.yml
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
exclude:
|
||||
- '**/*.md'
|
||||
- '**/pnpm-lock.yaml'
|
3
.gitignore
vendored
@ -2,3 +2,6 @@ bin/
|
||||
export/
|
||||
**/Thumbs.db
|
||||
settings.txt
|
||||
Thumbs.db
|
||||
# This file contain credentials, instead provide the empty file ClientId.mc.unpopulated
|
||||
source/ClientId.mc
|
||||
|
10
.prettierrc
Normal file
@ -0,0 +1,10 @@
|
||||
{
|
||||
"tabWidth": 2,
|
||||
"useTabs": false,
|
||||
"singleQuote": true,
|
||||
"bracketSameLine": true,
|
||||
"arrowParens": "always",
|
||||
"experimentalTernaries": true,
|
||||
"semi": true,
|
||||
"trailingComma": "es5"
|
||||
}
|
127
BatteryReporting.md
Normal file
@ -0,0 +1,127 @@
|
||||
[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)
|
||||
|
||||
# Battery Reporting
|
||||
|
||||
From version 2.1 the application includes a background service to report the current device battery level and charging status back to Home Assistant. This is a feature that Garmin omitted to include with the Bluetooth connection.
|
||||
|
||||
## Start Reporting
|
||||
|
||||
The main drawback of this solution is that the Garmin application must be run once with the feature enabled in the settings before reporting will start. Reporting continues after you have exited the application. This is a limit we cannot code around.
|
||||
|
||||
It should be as simple as starting the application (or widget). There should be a new device in the mobile app integration called `Garmin Watch` with the battery level and charging status.
|
||||
|
||||
[](https://my.home-assistant.io/redirect/integration/?domain=mobile_app)
|
||||
|
||||
If this is not the case, head over to the [troubleshooting page](Troubleshooting.md#watch-battery-level-reporting).
|
||||
|
||||
## Stop Reporting
|
||||
|
||||
To stop the reporting, the option must be turned off in the settings and then the application run once. Running the application then removes the background service. Both the enable and repeat time settings can be changed whilst the application is running (i.e. live) and the background service will be amended.
|
||||
|
||||
## Renaming the device
|
||||
|
||||
When the device is first created, it will be called `Garmin Watch`. This can be changed in the mobile app integration settings (button below).
|
||||
|
||||
[](https://my.home-assistant.io/redirect/integration/?domain=mobile_app)
|
||||
|
||||
Select the device called `Garmin Watch` and then click on the edit icon in the top right corner. You can then change the name of the device to whatever you like, then press `UPDATE` and then `RENAME`.
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
## Fixing the icon
|
||||
|
||||
In `configuration.yaml`:
|
||||
|
||||
```yaml
|
||||
template:
|
||||
- sensor:
|
||||
- name: "<device-name> Battery Level"
|
||||
unique_id: "<unique-id>"
|
||||
device_class: "battery"
|
||||
unit_of_measurement: "%"
|
||||
state_class: "measurement"
|
||||
state: "{{ states('sensor.<device>_battery_level') }}"
|
||||
icon: "mdi:battery{% if is_state('binary_sensor.<device>_battery_is_charging', 'on') %}-charging{% endif %}{% if 0 < (states('sensor.<device>_battery_level') | float / 10 ) | round(0) * 10 < 100 %}-{{ (states('sensor.<device>_battery_level') | float / 10 ) | round(0) * 10 }}{% else %}{% if (states('sensor.<device>_battery_level') | float / 10 ) | round(0) * 10 == 0 %}-outline{% else %}{% if is_state('binary_sensor.<device>_battery_is_charging', 'on') %}-100{% endif %}{% endif %}{% endif %}"
|
||||
```
|
||||
|
||||
## Adding a sample Home Assistant UI widget
|
||||
|
||||
A gauge for battery level with a charging icon making use of [mushroom cards](https://github.com/piitaya/lovelace-mushroom), [card_mod](https://github.com/thomasloven/lovelace-card-mod) and [stack-in-card](https://github.com/custom-cards/stack-in-card):
|
||||
|
||||
<img src="images/Battery_Guage_Screenshot.png" width="120" title="Battery Gauge"/>
|
||||
|
||||
In lovelace:
|
||||
|
||||
```yaml
|
||||
type: custom:stack-in-card
|
||||
direction: vertical
|
||||
cards:
|
||||
- type: custom:mushroom-chips-card
|
||||
card_mod:
|
||||
style: |
|
||||
ha-card {
|
||||
height: 0.25rem;
|
||||
}
|
||||
chips:
|
||||
- type: conditional
|
||||
conditions:
|
||||
- condition: state
|
||||
entity: binary_sensor.<device>_battery_is_charging
|
||||
state: "on"
|
||||
chip:
|
||||
type: entity
|
||||
icon_color: yellow
|
||||
entity: sensor.<device>_battery_level
|
||||
content_info: none
|
||||
use_entity_picture: false
|
||||
card_mod:
|
||||
style: |
|
||||
ha-card {
|
||||
border: none !important;
|
||||
}
|
||||
- type: conditional
|
||||
conditions:
|
||||
- condition: state
|
||||
entity: binary_sensor.<device>_battery_is_charging
|
||||
state: "off"
|
||||
chip:
|
||||
type: entity
|
||||
entity: sensor.<device>_battery_level
|
||||
content_info: none
|
||||
use_entity_picture: false
|
||||
card_mod:
|
||||
style: |
|
||||
ha-card {
|
||||
border: none !important;
|
||||
}
|
||||
- type: gauge
|
||||
entity: sensor.<device>_battery_level
|
||||
unit: "%"
|
||||
name: Watch
|
||||
needle: false
|
||||
severity:
|
||||
green: 50
|
||||
yellow: 20
|
||||
red: 0
|
||||
card_mod:
|
||||
style: |
|
||||
ha-card {
|
||||
border: none !important;
|
||||
}
|
||||
```
|
||||
|
||||
N.B. `sensor.<device>_battery_level` will likely need to be changed to `sensor.<device>_battery_level_2` if you have fixed the icon as above.
|
||||
|
||||
## Migrating
|
||||
|
||||
You should remove your old template sensors before migrating to the new integration. You can do this by removing the `sensor.<device>_battery_level` and `binary_sensor.<device>_battery_is_charging` entities from `configuration.yaml` and then restarting Home Assistant or reloading the YAML.
|
||||
|
||||
[Here is the old configuration method for reference.](https://github.com/house-of-abbey/GarminHomeAssistant/blob/b51e2aa2a4afbc58ad466f3b81667d1cd252d091/BatteryReporting.md)
|
||||
|
||||
## Deletion
|
||||
|
||||
While all of the entries have the same name, you can identify which to delete by clicking through to its device which should have a changed name from when it was set up.
|
||||
|
||||

|
20
HISTORY.md
Normal file
@ -0,0 +1,20 @@
|
||||
[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
|
||||
|
||||
# Version History
|
||||
|
||||
| Version | Comment |
|
||||
|:-------:|---------|
|
||||
| 1.0 | Initial release for 26 devices. |
|
||||
| 1.1 | Updated for 54 more devices, 80 in total. Scene support. Added vibrate acknowledgement for tap-based menu items. Falls back to a custom visual confirmation in the absence of 'toast' and vibrate support. Bug fix for large menus needing status updates. |
|
||||
| 1.2 | Do not crash on zero items to update. Report unreachable URLs. Verify API URL does not have a trailing slash '/'. Increased HTTP response diagnosis. Reduced minimum API Level required from 3.3.0 to 3.1.0 to allow more device "part numbers" to be satisfied. |
|
||||
| 1.3 | Tap for scripts was working in emulation but not on some phones. Decision is to make the 'service' field in the JSON compulsory for 'tap' menu items. This is a breaking change, but for many might be a fix for something not working correctly. Improve language support, we can now accept language corrections and prevent the automated translation of strings from clobbering manually refined entries. Thank you to two new contributors. |
|
||||
| 1.4 | New lean user Interface with thanks to [Someone0nEarth](https://github.com/Someone0nEarth) for their contribution which is now the default. If you prefer the old style you can still select it in the settings. The provision of a 'service' tag is now not just heavily suggested by the JSON schema, it is enforced in code. With apologies to anyone suffering a breakage as a result. |
|
||||
| 1.5 | <img src="images/confirmation_view.png" width="200" title="Confirmation View"/><br/>Added an optional confirmation dialogue view to prevent accidental execution of actions on mistaken tap. This also brings a change in the JSON schema to allow an optional field to specify that the confirmation should be used for a menu item. As we are now maturing and adding features we have decided to mitigate breaking changes to the JSON schema by being more careful to adopt the Home Assistant schema (noting there is a 1:1 mapping between YAML and JSON). This change does deprecate the top level `service` tag in favour of `tag_action` containing multiple fields including `service` & `confirm`. Users should migrate to the new format for the new functionality, but the timescale for actual deprecation are long and undecided. |
|
||||
| 1.6 | Added a user configurable 'timeout' in seconds so that when no action is taken the application automatically closes, stopping the continuous polling for changes of status and hence saving the drain on the battery. This can be disabled with timeout=0. |
|
||||
| 1.7 | Added timeout to confirmation views so that when used for security devices it does not linger when left unconfirmed. Thanks to [Jan Schneider](https://github.com/j-a-n) for the contribution. Known bug for devices not supporting [`WatchUi.getCurrentView()`](https://developer.garmin.com/connect-iq/api-docs/Toybox/WatchUi.html#getCurrentView-instance_function) API call which is only available on API Level 3.4.0, e.g. Vivoactive 4S. |
|
||||
| 2.0 | A significant code base change to enable both a 'widget' version for older devices, e.g. Venu (1), and an application with a glance, e.g. Venu2. These two versions must now be distributed under separate application IDs, but they have the same code base. A further 20 more devices are now supported, the settings have been internationalised, and there's a bug fix for older devices when trying to display a helpful error message but instead the application crashed. This version has come from a significant collaboration with [Someone0nEarth](https://github.com/Someone0nEarth). |
|
||||
| 2.1 | Deployment of an idea to provide Home Assistant with access to the watch battery level. Using this requires [significant setup](BatteryReporting.md) on the Home Assistant configuration and hence is detailed separately. Due to this, the default state for this battery option is _off_. Changed the application settings user interface to be more intuitive, and hence amended the way settings are managed in the background. |
|
||||
| 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.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.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. |
|
143
README.md
@ -1,39 +1,44 @@
|
||||
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)
|
||||
|
||||
# GarminHomeAssistant
|
||||
|
||||
<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!
|
||||
|
||||
The application is designed around a simple scrollable menu where menu items have been extended to interface with the [Home Assistant API](https://developers.home-assistant.io/docs/api/rest/), e.g. to get the status of switches or lights for display on the toggle menu item. It is possible to nest menus, so there is a menu item to open a sub-menu. This can be arbitrarily deep and nested in the format of a tree of items, although you need to consider if reaching for your phone becomes quicker to select the device what you want to control.
|
||||
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.
|
||||
|
||||
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/).
|
||||
**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.
|
||||
|
||||
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 [trouble shooting](TroubleShooting.md#menu-configuration-url) guide first.**
|
||||
|
||||
**If you are struggling with getting the application to work, please consult the [trouble shooting](Troubleshooting.md) guide first.**
|
||||
|
||||
## Widget or Application?
|
||||
|
||||
As of version 2.0, there are now two installable versions. For older devices before applications supported 'glances', there is a now widget version. These two version must be downloaded separately due to the way the Connect IQ App Store requires them to have separate application IDs. Therefore you need to choose which you want up front. Here how they compare.
|
||||
As of version 2.0, there are now two installable versions. For older devices before applications supported 'glances', there is a now widget version. These two version must be downloaded separately due to the way the Connect IQ App Store requires them to have separate application IDs. Therefore you need to choose which you want up front. Here's how they compare.
|
||||
|
||||
| Version | Explanation |
|
||||
|------------------------|-------------|
|
||||
| Application (original) | For newer devices that allow glance views in their applications (e.g. Venu2), the GarminHomeAssistant application can be started either from a glance (with only the application name presently, no status) or from the list of applications and activities. Head over to the [GarminHomeAssistant](https://apps.garmin.com/en-US/apps/61c91d28-ec5e-438d-9f83-39e9f45b199d) application page on the [Connect IQ application store](https://apps.garmin.com/en-US/) to download the application. The application can be started two different ways, either from the glance in the carousel, or as an application from the list of applications & activities. With the latter, it is worth marking the application as a favourite.<hr><br/><img src="images/Venu2_app_start.png" width="200" title="Venu 2" style="margin:5px"/><img src="images/Vivoactive3_app_start.jpg" width="200" title="Venu 2" style="margin:5px"/><br/>If you place the application on your list of favourites, and rearrange it to appear near the top, then the item is just one button press away from the watch face. This second picture here shows the application menu on a Vivoactive 3 watch.<br/><img src="images/Venu2_glance_start.png" width="200" title="Venu 2" style="margin:5px"/><br/>On newer watches, you can also start the application from the glance carousel. The glance view here typically displays some trackable status, so ours provides some early indication of availability. Older watches will still allow you to start this application from the list of applications and activities. |
|
||||
| Widget | For older devices that use widgets (e.g. Venu1) as opposed to applications with "glances", the GarminHomeAssistant application can instead be started from the widget carousel. This is a separate item in the Connect IQ AppStore and with this installation, the application will no longer appear in the list of applications and activities. Head over to the [GarminHomeAssistant](https://apps.garmin.com/en-US/apps/) widget page on the [Connect IQ application store](https://apps.garmin.com/en-US/) to download the widget.<hr><br/><img src="images/Venu_Widget_sim.png" width="200" title="Venu 2" style="margin:5px"/><br/>Typically the widget view implements something similar to the glance view, e.g. status, and exists in a widget carousel to allow you to select an application to launch. |
|
||||
| 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. |
|
||||
| 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.** |
|
||||
|
||||
As the source code base for both is the same, the version numbers of each will be kept in step. that means that the widget version starts version numbering at 2.0 too.
|
||||
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.
|
||||
|
||||
## 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 advantage here 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 [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:
|
||||
|
||||
1. the file is as public as you make your Home Assistant,
|
||||
2. the file is editable within Home Assistant via "Studio Code Server", and
|
||||
2. the file is editable within Home Assistant 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).
|
||||
|
||||
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`.
|
||||
|
||||
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 reasonable 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.
|
||||
|
||||
Example schema as shown in the images:
|
||||
Example schema:
|
||||
|
||||
```json
|
||||
{
|
||||
@ -60,7 +65,6 @@ Example schema as shown in the images:
|
||||
"type": "toggle"
|
||||
},
|
||||
{
|
||||
"entity": "menu.each_lounge_light",
|
||||
"name": "Each Lounge Light",
|
||||
"title": "Lounge",
|
||||
"type": "group",
|
||||
@ -112,35 +116,40 @@ Example schema as shown in the images:
|
||||
}
|
||||
```
|
||||
|
||||
NB. Entity names are not real in case anyone's a hacker.
|
||||
NB. Entity names are not real in case anyone's a hacker ;-).
|
||||
|
||||
The example above illustrates how to configure:
|
||||
|
||||
* Light or switch toggles
|
||||
* Automation enable toggles
|
||||
* Lights or switches (toggle), <img src="images/toggle_icon.png" height="20">
|
||||
* Enables for automations (toggle), <img src="images/toggle_icon.png" height="20">
|
||||
* Script invocation (tap)
|
||||
* Service invocation, e.g. Scene setting, (tap)
|
||||
* A sub-menu to open (tap)
|
||||
* 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!
|
||||
|
||||
The example JSON shows an example usage of each of these Home Assistance entity types. Presently, an automation is the only one that can be either a 'tap' or a 'toggle'.
|
||||
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'.
|
||||
|
||||
| HA Type | Tap | Toggle |
|
||||
|------------|:---:|:------:|
|
||||
| Switch | ❌ | ✅ |
|
||||
| Light | ❌ | ✅ |
|
||||
| Automation | ✅ | ✅ |
|
||||
| Script | ✅ | ❌ |
|
||||
| Scene | ✅ | ❌ |
|
||||
| HA Entity Type | Tap | Toggle | Template (custom status text with optional tap action) |
|
||||
|------------------|:---:|:------:|:------------------------------------------------------:|
|
||||
| Switch | ❌ | ✅ | ✅<br>Separate on and off, or anything in between |
|
||||
| Light | ❌ | ✅ | ✅<br>Separate on and off, or anything in between |
|
||||
| Automation | ✅ | ✅ | ✅ |
|
||||
| Script | ✅ | ❌ | ✅ |
|
||||
| Scene | ✅ | ❌ | ✅ |
|
||||
| Sensor | ❌ | ❌ | ✅ |
|
||||
| Binary Sensor | ❌ | ❌ | ✅ |
|
||||
| Any other entity | ❌ | ❌ | ✅ |
|
||||
| Any service | ✅ | ❌ | ✅ |
|
||||
|
||||
NB. All 'tap' items must specify a 'service' tag.
|
||||
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.
|
||||
|
||||
Possible future extensions might include specifying the alternative texts to use instead of "On" and "Off", e.g. "Locked" and "Unlocked" (but wouldn't having locks operated from your watch be a security concern ;-))
|
||||
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.
|
||||
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.
|
||||
|
||||
### Old depricated format
|
||||
### Old deprecated format
|
||||
|
||||
Version 1.5 brought in a change to the JSON schema so the follow old format remains useable but is no longer favoured. The schema now marks it as 'depracated' to nudge people over.
|
||||
Version 1.5 brought in a change to the JSON schema so the following old format remains useable but is no longer favoured. The schema now marks it as 'deprecated' to nudge people over.
|
||||
|
||||
```json
|
||||
{
|
||||
@ -166,31 +175,47 @@ 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.
|
||||
|
||||
### More Examples
|
||||
|
||||
- [Switches](examples/Switches.md)
|
||||
- [Actions](examples/Actions.md)
|
||||
- [Templates](examples/Templates.md)
|
||||
|
||||
## Editing the JSON file
|
||||
|
||||
You have options. The first is what we use.
|
||||
1. **Best!** Use the [Studio Code Server](https://community.home-assistant.io/t/home-assistant-community-add-on-visual-studio-code/107863) addon for Home Assistant. You can then edit your JSON file in place.
|
||||
2. Locally installed VSCode, or if not installed,
|
||||
3. try the on-line version at https://vscode.dev/.
|
||||
3. try 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 present 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.
|
||||
|
||||
Make sure you can browse to the URL of your JSON file in a standard web browser to make sure it is accessible.
|
||||
|
||||
## API Key Creation
|
||||
|
||||
Having created your JSON definition for your dashboard, you need to create an API key for your personal account on Home Assistant.
|
||||
Having created your JSON definition for your dashboard, you need to create an API key for your personal account on Home Assistant. You will need a [Long-Lived Access Token](https://developers.home-assistant.io/docs/auth_api/#long-lived-access-token). This is not obvious 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 that token, before you dismiss the dialogue box with the value you will never see again, copy it somewhere safe. You need to paste this into the Garmin Application's settings.
|
||||
Having created that token, before you dismiss the dialogue box with the value you will never see again, copy it somewhere safe. You need to paste this into the Garmin Application's settings. You may like to perform this task on your phone so that you can copy and paste it (and message yourself a copy too ;-)).
|
||||
|
||||
**Please, please, please!** Copy and paste this API key, do not retype as it will be wrong.
|
||||
## 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 have built your own infrastructure, you really don't need any assistance with the API URL!
|
||||
|
||||
## Settings
|
||||
|
||||
Unfortunately the Settings dialogue box in the Garmin IQ application "times out" in Android when you go to a different screen (a browser for example). When you go back to the Connect IQ application (select the view again) the settings dialogue box is broken and you have to open the Settings again, so you will need to save the settings every time before you switch applications to avoid losing the information you just put in. We recommend you can use an application like [Microsoft's "Phone Link"](https://apps.microsoft.com/detail/9NMPJ99VJBWV?hl=en-gb&gl=US) that allows you to *copy and paste* between your PC and your phone.
|
||||
|
||||
**Please, please, please!** *Copy and paste* your API key and all URLs, do not retype them as they will be wrong.
|
||||
|
||||
<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.
|
||||
@ -199,16 +224,15 @@ Having created that token, before you dismiss the dialogue box with the value yo
|
||||
|
||||
You should now have a working application on your watch and be able to operate your Home Assistant devices for as long as your watch is within Bluetooth range of your phone.
|
||||
|
||||
The first toggle option selects between two menu presentations as follows:
|
||||
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.
|
||||
|
||||
| Menu Type | Image | Description |
|
||||
|-----------------|------------------------------------------------------------------------|-------------|
|
||||
| Icons (default) | <img src="images/Venu2_LeanUI.png" width="200" title="Venu 2"/> | "Lean User Interface" version removing the second row of text in favour of icons. Tap icons are blue with a pointing finger, menu items has three dots as favours by many graphical user interfaces. |
|
||||
| Labels | <img src="images/Venu2_Original.png" width="200" title="Venu 2"/> | Initial version that had a second row of text. This extra text has yet to add much value. Menu and Tap actions are distinguished by text, and the toggle status is duplicated by text. A future version could possibly offer the means to customise the toggle menu item text, hence this option has not been deprecated yet. |
|
||||
The 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!**
|
||||
|
||||
The second toggle setting is for "text alignment" and provides finer adjustment for right-to-left languages. Perhaps this could be made automatic based on device language.
|
||||
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?
|
||||
|
||||
The third toggle setting is for the Widget version of the application only. It allows the user to select a non-standard user interface behaviour. As soon as the menu is retrieved the widget view is replaced by the menu without waiting for a user selection. This has been included as requested by a user, but defaults to off which retains the expected user interactions.
|
||||
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.
|
||||
|
||||
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.
|
||||
|
||||
## Tap Item Response
|
||||
|
||||
@ -222,19 +246,17 @@ The application will display a 'toast' showing Home Assistant's friendly name of
|
||||
|
||||
Home Assistant will inevitably change the state of devices you are also controlling via your Garmin. The Garmin application does not maintain a web socket to listen for changes. Instead it must poll the Home Assistant API with your key. Therefore the application is not that responsive to changes. Instead there will be a delay of multiples of 100 ms per item whose status needs to be checked and amended.
|
||||
|
||||
The per toggle item delay is caused by a queue of responses to web requests filling up a queue and giving a [`Communications.BLE_QUEUE_FULL`](https://developer.garmin.com/connect-iq/api-docs/Toybox/Communications.html). response code. For a Venu 2 Garmin watch an API call delay of 600 ms was found to be sustainable (500 ms was still too fast). The code now chains a sequence of updates, so as one finishes it invokes the next item's update. The more items requiring a status update that you pack into your dashboard, the slower each individual item will be updated!
|
||||
The 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. The is a _feature not a bug_!
|
||||
|
||||
## Changes to the (JSON) Dashboard Definition
|
||||
|
||||
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.
|
||||
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
|
||||
|
||||
Initially all text has been created in English, and a [Python script](https://github.com/house-of-abbey/GarminHomeAssistant/blob/main/translate.py) (Google Translate under the hood) has been used to create the first version of all translations. We have been pleased to accept better translations from native language speakers, **thank you**. If you would like to submit improved translations, our preference is you do so via a Git pull request. If you are not comfortable doing this, then just raise an issue and someone will eventually pick the request up.
|
||||
Initially all text has been created in English, and a [Python script](https://github.com/house-of-abbey/GarminHomeAssistant/blob/main/translate.py) (Google Translate under the hood) has been used to create the first version of all translations. We have been pleased to accept better translations from native language speakers, *thank you*. If you would like to submit improved translations, our preference is you do so via a [Git pull request](https://github.com/house-of-abbey/GarminHomeAssistant/pulls). If you are not comfortable doing this, then just raise an issue and someone will eventually pick the request up.
|
||||
|
||||
In order to submit a language correction please create an XML file called `corrections.xml` in the same directory as your language containing the corrected text. The format of the XML file follows that of `strings.xml`. As an example here are some corrected French translations found in directory [`resources-fre/strings/corrections.xml`](https://github.com/house-of-abbey/GarminHomeAssistant/tree/main/resources-fre/strings/corrections.xml):
|
||||
|
||||
@ -246,25 +268,20 @@ In order to submit a language correction please create an XML file called `corre
|
||||
</strings>
|
||||
```
|
||||
|
||||
The `id` attribute values are taken from the same names used in [`strings.xml`](https://github.com/house-of-abbey/GarminHomeAssistant/blob/main/resources-fre/strings/strings.xml). Not all `id` values need to be specified as missing `id`s will then use automatic translations. If the existing convention is followed then:
|
||||
The `id` attribute values are taken from the same names used in [`strings.xml`](https://github.com/house-of-abbey/GarminHomeAssistant/blob/main/resources-fre/strings/strings.xml). **Not all `id` values need to be specified as missing `id`s will then use automatic translations.** If the existing convention is followed then:
|
||||
|
||||
* The Python script will use the corrections in preference to translating, and
|
||||
* Your pull request will be honoured without comment as we will take your corrections on trust.
|
||||
|
||||
## Version History
|
||||
|
||||
| Version | Comment |
|
||||
|:-------:|---------|
|
||||
| 1.0 | Initial release for 26 devices. |
|
||||
| 1.1 | Updated for 54 more devices, 80 in total. Scene support. Added vibrate acknowledgement for tap-based menu items. Falls back to a custom visual confirmation in the absence of 'toast' and vibrate support. Bug fix for large menus needing status updates. |
|
||||
| 1.2 | Do not crash on zero items to update. Report unreachable URLs. Verify API URL does not have a trailing slash '/'. Increased HTTP response diagnosis. Reduced minimum API Level required from 3.3.0 to 3.1.0 to allow more device "part numbers" to be satisfied. |
|
||||
| 1.3 | Tap for scripts was working in emulation but not on some phones. Decision is to make the 'service' field in the JSON compulsory for 'tap' menu items. This is a breaking change, but for many might be a fix for something not working correctly. Improve language support, we can now accept language corrections and prevent the automated translation of strings from clobbering manually refined entries. Thank you to two new contributors. |
|
||||
| 1.4 | New lean user Interface with thanks to [Someone0nEarth](https://github.com/Someone0nEarth) for their contribution which is now the default. If you prefer the old style you can still select it in the settings. The provision of a 'service' tag is now not just heavily suggested by the JSON schema, it is enforced in code. With apologies to anyone suffering a breakage as a result. |
|
||||
| 1.5 | <img src="images/confirmation_view.jpg" width="200" title="Confirmation View"/><br/>Added an optional confirmation dialogue view to prevent accidental execution of actions on mistaken tap. This also brings a change in the JSON schema to allow an optional field to specify that the confirmation should be used for a menu item. As we are now maturing and adding features we have decided to mitigate breaking changes to the JSON schema by being more careful to adopt the Home Assistant schema (noting there is a 1:1 mapping between YAML and JSON). This change does deprecate the top level `service` tag in favour of `tag_action` containing multiple fields including `service` & `confirm`. Users should migrate to the new format for the new functionality, but the timescale for actual deprecation are long and undecided. |
|
||||
| 1.6 | Added a user configurable 'timeout' in seconds so that when no action is taken the application automatically closes, stopping the continuous polling for changes of status and hence saving the drain on the battery. This can be disabled with timeout=0. |
|
||||
| 1.7 | Added timeout to confirmation views so that when used for security devices it does not linger when left unconfirmed. Thanks to [Jan Schneider](https://github.com/j-a-n) for the contribution. Known bug for devices not supporting [`WatchUi.getCurrentView()`](https://developer.garmin.com/connect-iq/api-docs/Toybox/WatchUi.html#getCurrentView-instance_function) API call which is only available on API Level 3.4.0, e.g. Vivoactive 4S. |
|
||||
| 2.0 | A significant code base change to enable both a 'widget' version for older devices, e.g. Venu (1), and an application with a glance, e.g. Venu2. These two versions must now be distributed under separate application IDs, but they have the same code base. A further 20 more devices are now supported, the settings have been internationalised, and there's a bug fix for older devices when trying to display a helpful error message but instead the application crashed. This version has come from a significant collaboration with [Someone0nEarth](https://github.com/Someone0nEarth). |
|
||||
|
||||
## Known Issues
|
||||
|
||||
1. On some (old) devices (e.g. Vivoactive 3, Fexix 5s & Edge 520+), the menu does not update correctly to reflect changes in state effected by an external Home Assistant control. E.g. when the phone application changes the toggle status of a switch, the Garmin application does not reflect that change until the menu is touched or scrolled a little. This is a [known issue](https://forums.garmin.com/developer/connect-iq/i/bug-reports/menu2-doesn-t-allow-live-updates) already reported without a suggested software fix.
|
||||
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.
|
||||
|
||||
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!**
|
||||
|
||||
<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;"/>
|
||||
|
||||
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.
|
||||
|
||||
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!**
|
||||
|
271
TroubleShooting.md
Normal file
@ -0,0 +1,271 @@
|
||||
[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)
|
||||
|
||||
# Troubleshooting Guides
|
||||
|
||||
## Watch Menu and API
|
||||
|
||||
With either of the following setups, there are inevitably some problems along the way. GarminHomeAssistant is careful to rely only on having working URLs. Getting them working is the user's responsibility. However, we have developed some fault finding tools.
|
||||
|
||||
### Nabu Casa Setup
|
||||
|
||||
You can purchase cloud-based access to your Home Assistant from [Nabu Casa](https://www.nabucasa.com/), and then your setup will look something like this.
|
||||
|
||||

|
||||
|
||||
- Your API URL would be of the format `https://<id>.ui.nabu.casa/api`
|
||||
- Your Garmin Watch Menu would be of the format Menu: `https://<id>.ui.nabu.casa/local/garmin/menu.json`
|
||||
|
||||
Where `<id>` is your personal Nabu Casa account ID.
|
||||
|
||||
### Do It Yourself Setup
|
||||
|
||||
Before Nabu Casa, or if you wanted to manage your own infrastructure, you might have something like the following:
|
||||
|
||||

|
||||
|
||||
Now you have to manage:
|
||||
|
||||
- Dynamic DNS
|
||||
- Public access via router port forwarding
|
||||
- Security via HTTPS and URL forwarding
|
||||
- Certificates for HTTPS via say [Let's Encrypt](https://letsencrypt.org/) (an Nginx proxy web server helps here)
|
||||
- Proxy allow list in `configuration.yaml` as follows:
|
||||
|
||||
```yaml
|
||||
http:
|
||||
use_x_forwarded_for: true
|
||||
trusted_proxies:
|
||||
- 127.0.0.1
|
||||
- 192.168.xx.xx # Server IP - AMEND THIS
|
||||
- 172.30.32.0/23 # Docker IPs for NGINX
|
||||
- 172.30.33.0/24 # SSL proxy server
|
||||
- 172.16.0.0/12 #
|
||||
```
|
||||
|
||||
### Menu Configuration URL
|
||||
|
||||
This URL is very simple, you should be able to read the contents returned in a standard web browser.
|
||||
|
||||

|
||||
|
||||
(Other browsers are available...)
|
||||
|
||||
The browser page should then display the JSON string you saved to the file on the web server. The point is this is a simple HTTP GET request with no bells and whistles.
|
||||
|
||||
The menu configuration can be hosted anywhere, it does not have to be on the Home Assistant web server. Just as long as it is reachable from your phone from which you Bluetooth connect to your watch, or you watch if it has direct Internet access.
|
||||
|
||||
### Home Assistant API URL
|
||||
|
||||
This is slightly trickier owning to the need to supply the API key. Here are three ways you can test your API URL is correctly configured. If successful, each of these should produce a JSON string output looking like:
|
||||
|
||||
```json
|
||||
{ "message": "API running." }
|
||||
```
|
||||
|
||||
#### API: Linux, MacOS, UNIX, Cygwin etc
|
||||
|
||||
Save the following as a file called `api_test.sh`, edit to include your personal values for the variables, `chmod +x api_test.sh` and then execute with `./api_test.sh`.
|
||||
|
||||
```shell
|
||||
#!/bin/bash
|
||||
|
||||
API_KEY="<Your API key>"
|
||||
URL="https://<Your Domain>/api"
|
||||
|
||||
curl -s -X GET \
|
||||
-H "Authorization: Bearer ${API_KEY}" \
|
||||
-H "Content-Type: application/json" \
|
||||
${URL}/
|
||||
```
|
||||
|
||||
#### API: MS Windows
|
||||
|
||||
Save the following as a file called `api_test.cmd`, edit to include your personal values for the variables and then double click.
|
||||
|
||||
```cmd
|
||||
@echo off
|
||||
|
||||
set API_KEY=<Your API key>
|
||||
set URL=https://<Your Domain>/api
|
||||
|
||||
curl -s -X GET ^
|
||||
-H "Authorization: Bearer %API_KEY%" ^
|
||||
-H "Content-Type: application/json" ^
|
||||
%URL%/
|
||||
|
||||
echo.
|
||||
pause
|
||||
```
|
||||
|
||||

|
||||
|
||||
#### API: On-line
|
||||
|
||||
There's an online way of testing the API URL too, thanks to [REQBIN](https://reqbin.com/post-online). This has less setup and it can be saved if you log into the web site.
|
||||
|
||||

|
||||
|
||||
### Top Problems
|
||||
|
||||
1. Failure to copy & paste keys and URLs leading to minor and hard to see errors in strings, even with protestations they are the same! (No they weren't...)
|
||||
2. Accessibility of URLs, hence the above help guide.
|
||||
|
||||
## Watch Battery Level Reporting
|
||||
|
||||
For this you will need to have already got the main application or widget working with a menu in order to prove that the API calls are successful. We have proven this works with both our home brew infrastructure as well as Nabu Casa. Now with a script similar to one of the following two, you should be able to fake the watch API call and verify receipt by Home Assistant.
|
||||
|
||||
#### Battery: Linux, MacOS, UNIX, Cygwin etc
|
||||
|
||||
Assume a file called: `send_battery.bash`
|
||||
|
||||
```shell
|
||||
#!/bin/bash
|
||||
#
|
||||
# battery% charging {0|1}
|
||||
# ./send_battery.bash 19 0
|
||||
#
|
||||
|
||||
WEBHOOK_ID="<Your Webhook ID>"
|
||||
URL="https://<Your Domain>/api"
|
||||
|
||||
level=${1:-50}
|
||||
is_charging=${2:-0}
|
||||
echo "Battery Level = ${level}"
|
||||
if [ ${is_charging} -eq 1 ]; then
|
||||
is_charging=true
|
||||
else
|
||||
is_charging=false
|
||||
fi
|
||||
echo "Battery Charging? = ${is_charging}"
|
||||
echo ""
|
||||
|
||||
curl -s -X POST \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{ "type": "update_sensor_states", "data": [ {"state": '${level}',"type": "sensor","unique_id": "battery_level"}, {"state": '${is_charging}',"type": "binary_sensor","unique_id": "battery_is_charging"} ] }' \
|
||||
${URL}/webhook/${WEBHOOK_ID}
|
||||
```
|
||||
|
||||
Execute:
|
||||
|
||||
```
|
||||
$ ./send_battery.bash 45 1
|
||||
```
|
||||
|
||||
The output looks like this:
|
||||
|
||||
```
|
||||
Battery Level = 45
|
||||
Battery Charging? = true
|
||||
|
||||
{
|
||||
"battery_level": {
|
||||
"success": true
|
||||
},
|
||||
"battery_is_charging": {
|
||||
"success": true
|
||||
}
|
||||
}
|
||||
|
||||
```
|
||||
|
||||
NB. The device ID can be any string for the purposes of this testing. Your Garmin device will choose this ID for you when it submits the readings.
|
||||
|
||||
#### Battery: MS Windows
|
||||
|
||||
Assume a file called: `home_assistant_battery_level.cmd`
|
||||
|
||||
```cmd
|
||||
@echo off
|
||||
rem battery% charging {0|1}
|
||||
rem ./home_assistant_battery_level 19 0
|
||||
rem
|
||||
|
||||
set WEBHOOK_ID=<Your Webhook ID>
|
||||
set URL=https://<Your Domain>/api
|
||||
|
||||
if [%1] == [] (
|
||||
set level=50
|
||||
) else (
|
||||
set level=%1
|
||||
)
|
||||
|
||||
if [%1] == [] (
|
||||
set is_charging=0
|
||||
) else (
|
||||
set is_charging=%2
|
||||
)
|
||||
echo "Battery Level = %level%"
|
||||
if "%is_charging%"=="1" (
|
||||
set is_charging=true
|
||||
) else (
|
||||
set is_charging=false
|
||||
)
|
||||
echo "Battery Charging? = %is_charging%"
|
||||
echo.
|
||||
|
||||
curl -s -X POST ^
|
||||
-H "Content-Type: application/json" ^
|
||||
-d "{ \"type\": \"update_sensor_states\", \"data\": [ {\"state\": %level%,\"type\": \"sensor\",\"unique_id\": \"battery_level\"}, {\"state\": %is_charging%,\"type\": \"binary_sensor\",\"unique_id\": \"battery_is_charging\"} ] }" ^
|
||||
%URL%/webhook/%WEBHOOK_ID%
|
||||
|
||||
echo.
|
||||
pause
|
||||
```
|
||||
|
||||
Execute:
|
||||
|
||||
```
|
||||
> home_assistant_battery_level.cmd 41 1
|
||||
```
|
||||
|
||||
The output looks like this:
|
||||
|
||||
```
|
||||
"Battery Level = 41"
|
||||
"Battery Charging? = true"
|
||||
|
||||
{
|
||||
"battery_level": {
|
||||
"success": true
|
||||
},
|
||||
"battery_is_charging": {
|
||||
"success": true
|
||||
}
|
||||
}
|
||||
|
||||
Press any key to continue . . .
|
||||
```
|
||||
|
||||
NB. The device ID can be any string for the purposes of this testing. Your Garmin device will choose this ID for you when it submits the readings.
|
||||
|
||||
#### Battery: On-line
|
||||
|
||||
There's an online way of testing the API URL too, thanks to [REQBIN](https://reqbin.com/post-online). This has less setup and it can be saved if you log into the web site.
|
||||
|
||||
URL for copy & paste:
|
||||
|
||||
```
|
||||
https://<Your Domain>/api/webhook/<Your Webhook ID>
|
||||
```
|
||||
|
||||

|
||||
|
||||
JSON for copy & paste:
|
||||
|
||||
```json
|
||||
{
|
||||
"type": "update_sensor_states",
|
||||
"data": [
|
||||
{
|
||||
"state": 40,
|
||||
"type": "sensor",
|
||||
"unique_id": "battery_level"
|
||||
},
|
||||
{
|
||||
"state": true,
|
||||
"type": "binary_sensor",
|
||||
"unique_id": "battery_is_charging"
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
@ -1,107 +0,0 @@
|
||||
# Troubleshooting Guide
|
||||
|
||||
With either of the following setups, there are inevitably some problems along the way. GarminHomeAssistant is careful to rely only on having working URLs. Getting them working is the user's responsibility. However, we have developed some fault finding tools.
|
||||
|
||||
## Nabu Casa Setup
|
||||
|
||||
You can purchase cloud-based access to your Home Assistant from [Nabu Casa](https://www.nabucasa.com/), and then your setup will look something like this.
|
||||
|
||||

|
||||
|
||||
* Your API URL would be of the format `https://<id>.ui.nabu.casa/api`
|
||||
* Your Garmin Watch Menu would be of the format Menu: `https://<id>.ui.nabu.casa/local/garmin/menu.json`
|
||||
|
||||
Where `<id>` is your personal Nabu Casa account ID.
|
||||
|
||||
## Do It Yourself Setup
|
||||
|
||||
Before Nabu Casa, or if you wanted to manage your own infrastructure, you might have something like the following:
|
||||
|
||||

|
||||
|
||||
Now you have to manage:
|
||||
|
||||
* Dynamic DNS
|
||||
* Public access via router port forwarding
|
||||
* Security via HTTPS and URL forwarding
|
||||
* Certificates for HTTPS via say [Let's Encrypt](https://letsencrypt.org/) (Nginx web server helps here)
|
||||
* Proxy allow list in `configuration.yaml` as follows:
|
||||
|
||||
```yaml
|
||||
http:
|
||||
use_x_forwarded_for: true
|
||||
trusted_proxies:
|
||||
- 127.0.0.1
|
||||
- 192.168.xx.xx # Server IP - AMEND THIS
|
||||
- 172.30.32.0/23 # Docker IPs for NGINX
|
||||
- 172.30.33.0/24 # SSL proxy server
|
||||
- 172.16.0.0/12 #
|
||||
```
|
||||
|
||||
## Menu Configuration URL
|
||||
|
||||
This URL is very simple, you should be able to read the contents returned in a standard web browser.
|
||||
|
||||

|
||||
|
||||
(Other browsers are available...)
|
||||
|
||||
The browser page should then display the JSON string you saved to the file on the web server. The point is this is a simple HTTP GET request with no bells and whistles.
|
||||
|
||||
The menu configuration can be hosted anywhere, it does not have to be on the Home Assistant web server. Just as long as it is reachable from your phone from which you Bluetooth connect to your watch, or you watch if it has direct Internet access.
|
||||
|
||||
## Home Assistant API URL
|
||||
|
||||
This is slightly trickier owning to the need to supply the API key. Here are three ways you can test your API URL is correctly configured. If successful, each of these should produce a JSON string output looking like:
|
||||
|
||||
```json
|
||||
{"message":"API running."}
|
||||
```
|
||||
|
||||
### Linux, MacOS, UNIX, Cygwin etc
|
||||
|
||||
Save the following as a file called `api_test.sh`, edit to include your personal values for the variables, `chmod +x api_test.sh` and then execute with `./api_test.sh`.
|
||||
|
||||
```shell
|
||||
#!/bin/bash
|
||||
|
||||
API_KEY="<Your API key>"
|
||||
URL="https://<Your Domain>/api"
|
||||
|
||||
curl -s -X GET \
|
||||
-H "Authorization: Bearer ${API_KEY}" \
|
||||
-H "Content-Type: application/json" \
|
||||
${URL}/
|
||||
```
|
||||
|
||||
### MS Windows
|
||||
|
||||
Save the following as a file called `api_test.cmd`, edit to include your personal values for the variables and then double click.
|
||||
|
||||
```shell
|
||||
@echo off
|
||||
|
||||
set API_KEY=<Your API key>
|
||||
set URL=https://<Your Domain>/api
|
||||
|
||||
curl -s -X GET ^
|
||||
-H "Authorization: Bearer %API_KEY%" ^
|
||||
-H "Content-Type: application/json" ^
|
||||
%URL%/
|
||||
|
||||
echo.
|
||||
pause
|
||||
```
|
||||
|
||||

|
||||
|
||||
### On-line
|
||||
|
||||
There's an online way of testing the API URL too, thanks to [REQBIN](https://reqbin.com/post-online). This has less setup and it can be saved if you log into the web site.
|
||||
|
||||

|
||||
|
||||
## Top Problems
|
||||
|
||||
1. Failure to copy & paste keys and URLs leading to minor and hard to see errors in strings, even with protestations they are the same! (No they weren't...)
|
||||
2. Accessibility of URLs, hence the above help guide.
|
3
_config.yml
Normal file
@ -0,0 +1,3 @@
|
||||
exclude:
|
||||
- examples
|
||||
- source
|
118
compile_sim.cmd
Normal file
@ -0,0 +1,118 @@
|
||||
@echo off
|
||||
rem -----------------------------------------------------------------------------------
|
||||
rem
|
||||
rem Distributed under MIT Licence
|
||||
rem See https://github.com/house-of-abbey/GarminHomeAssistant/blob/main/LICENSE.
|
||||
rem
|
||||
rem -----------------------------------------------------------------------------------
|
||||
rem
|
||||
rem GarminHomeAssistant is a Garmin IQ application written in Monkey C and routinely
|
||||
rem tested on a Venu 2 device. The source code is provided at:
|
||||
rem https://github.com/house-of-abbey/GarminHomeAssistant.
|
||||
rem
|
||||
rem J D Abbey & P A Abbey, 28 December 2022
|
||||
rem
|
||||
rem For use when VS Code is misbehaving and failing to recompile before starting a simulation.
|
||||
rem
|
||||
rem Reference:
|
||||
rem * Using Monkey C from the Command Line
|
||||
rem https://developer.garmin.com/connect-iq/reference-guides/monkey-c-command-line-setup/
|
||||
rem
|
||||
rem -----------------------------------------------------------------------------------
|
||||
|
||||
rem Check this path is correct for your Java installation
|
||||
set JAVA_PATH=C:\Program Files (x86)\Common Files\Oracle\Java\javapath
|
||||
rem SDK_PATH should work for all users
|
||||
set /p SDK_PATH=<"%USERPROFILE%\AppData\Roaming\Garmin\ConnectIQ\current-sdk.cfg"
|
||||
set SDK_PATH=%SDK_PATH:~0,-1%\bin
|
||||
rem Assume we can create and use this directory
|
||||
set DEST=export
|
||||
|
||||
rem Device for simulation
|
||||
rem set DEVICE=venu2
|
||||
set DEVICE=vivoactive3
|
||||
|
||||
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 usage: monkeyc [-a <arg>] [-b <arg>] [--build-stats <arg>] [-c <arg>] [-d <arg>]
|
||||
rem [--debug-log-level <arg>] [--debug-log-output <arg>] [-e]
|
||||
rem [--Eno-invalid-symbol] [-f <arg>] [-g] [-h] [-i <arg>] [-k] [-l <arg>]
|
||||
rem [-m <arg>] [--no-gen-styles] [-o <arg>] [-O <arg>] [-p <arg>] [-r] [-s
|
||||
rem <arg>] [-t] [-u <arg>] [-v] [-w] [-x <arg>] [-y <arg>] [-z <arg>]
|
||||
rem -a,--apidb <arg> API import file
|
||||
rem -b,--apimir <arg> API MIR file
|
||||
rem --build-stats <arg> Print build stats [0=basic]
|
||||
rem -c,--api-level <arg> API Level to target
|
||||
rem -d,--device <arg> Target device
|
||||
rem --debug-log-level <arg> Debug logging verbosity [0=errors, 1=basic,
|
||||
rem 2=intermediate, 3=verbose]
|
||||
rem --debug-log-output <arg>Output log zip file
|
||||
rem -e,--package-app Create an application package.
|
||||
rem --Eno-invalid-symbol Do not error when a symbol is found to be invalid
|
||||
rem -f,--jungles <arg> Jungle files
|
||||
rem -g,--debug Print debug output
|
||||
rem -h,--help Prints help information
|
||||
rem -i,--import-dbg <arg> Import api.debug.xml
|
||||
rem -k,--profile Enable profiling support
|
||||
rem -l,--typecheck <arg> Type check [0=off, 1=gradual, 2=informative,
|
||||
rem 3=strict]
|
||||
rem -m,--manifest <arg> Manifest file (deprecated)
|
||||
rem --no-gen-styles Do not generate Rez.Styles module
|
||||
rem -o,--output <arg> Output file to create
|
||||
rem -O,--optimization <arg> Optimization level [0=none, 1=basic, 2=fast
|
||||
rem optimizations, 3=slow optimizations] [p=optimize
|
||||
rem performance, z=optimize code space]
|
||||
rem -p,--project-info <arg> projectInfo.xml file to use when compiling
|
||||
rem -r,--release Strip debug information
|
||||
rem -s,--sdk-version <arg> SDK version to target (deprecated, use -c
|
||||
rem -t,--unit-test Enables compilation of unit tests
|
||||
rem -u,--devices <arg> devices.xml file to use when compiling (deprecated)
|
||||
rem -v,--version Prints the compiler version
|
||||
rem -w,--warn Show compiler warnings
|
||||
rem -x,--excludes <arg> Add annotations to the exclude list (deprecated)
|
||||
rem -y,--private-key <arg> Private key to sign builds with
|
||||
rem -z,--rez <arg> Resource files (deprecated)
|
||||
|
||||
rem Batch file's directory where the source code is
|
||||
set SRC=%~dp0
|
||||
rem drop last character '\'
|
||||
set SRC=%SRC:~0,-1%
|
||||
|
||||
if not exist %DEST% (
|
||||
md %DEST%
|
||||
)
|
||||
|
||||
if exist %SRC%\export\HomeAssistant*.iq (
|
||||
del /f /q %SRC%\export\HomeAssistant*.iq
|
||||
)
|
||||
|
||||
echo.
|
||||
echo Starting compilation for simulation on %DEVICE%.
|
||||
echo.
|
||||
|
||||
rem call %SDK_PATH%\connectiq.bat
|
||||
start "Simulator" "%SDK_PATH%\simulator.exe"
|
||||
|
||||
rem Compile PRG for a single device for side loading
|
||||
"%JAVA_PATH%\java.exe" ^
|
||||
-Xms1g ^
|
||||
-Dfile.encoding=UTF-8 ^
|
||||
-Dapple.awt.UIElement=true ^
|
||||
-jar %SDK_PATH%\monkeybrains.jar ^
|
||||
--output %SRC%\bin\HomeAssistant.prg ^
|
||||
--jungles %SRC%\monkey-widget.jungle ^
|
||||
--private-key %SRC%\..\developer_key ^
|
||||
--device %DEVICE%_sim ^
|
||||
--warn ^
|
||||
--release
|
||||
|
||||
if %ERRORLEVEL% equ 0 (
|
||||
%SDK_PATH%\monkeydo.bat %SRC%\bin\HomeAssistant.prg %DEVICE%
|
||||
) else (
|
||||
rem Wait to see errors
|
||||
pause
|
||||
)
|
@ -2,34 +2,86 @@
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"title": { "type": "string" },
|
||||
"items": { "$ref": "#/$defs/items" },
|
||||
"required": ["title", "items"],
|
||||
"additionalProperties": false
|
||||
"title": {
|
||||
"type": "string"
|
||||
},
|
||||
"items": {
|
||||
"$ref": "#/$defs/items"
|
||||
},
|
||||
"$schema": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": ["title", "items"],
|
||||
"additionalProperties": false,
|
||||
"$defs": {
|
||||
"toggle": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"entity": { "$ref": "#/$defs/entity" },
|
||||
"name": { "title": "Your familiar name", "type": "string" },
|
||||
"entity": {
|
||||
"$ref": "#/$defs/entity"
|
||||
},
|
||||
"name": {
|
||||
"title": "Your familiar name",
|
||||
"type": "string"
|
||||
},
|
||||
"type": {
|
||||
"title": "Menu item type",
|
||||
"description": "One of 'tap, 'toggle' or 'group'.",
|
||||
"description": "One of 'tap', 'template', 'toggle' or 'group'.",
|
||||
"const": "toggle"
|
||||
},
|
||||
"tap_action": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"confirm": {
|
||||
"$ref": "#/$defs/confirm"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"required": ["entity", "name", "type"],
|
||||
"additionalProperties": false
|
||||
},
|
||||
"template": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"entity": {
|
||||
"$ref": "#/$defs/entity"
|
||||
},
|
||||
"name": {
|
||||
"title": "Your familiar name",
|
||||
"type": "string"
|
||||
},
|
||||
"content": {
|
||||
"title": "What to display (template)",
|
||||
"type": "string"
|
||||
},
|
||||
"type": {
|
||||
"title": "Menu item type",
|
||||
"description": "One of 'tap', 'template', 'toggle' or 'group'.",
|
||||
"const": "template"
|
||||
},
|
||||
"tap_action": {
|
||||
"$ref": "#/$defs/tap_action"
|
||||
}
|
||||
},
|
||||
"required": ["name", "content", "type"],
|
||||
"additionalProperties": false
|
||||
},
|
||||
"tap": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"entity": { "$ref": "#/$defs/entity" },
|
||||
"name": { "title": "Your familiar name", "type": "string" },
|
||||
"entity": {
|
||||
"$ref": "#/$defs/entity"
|
||||
},
|
||||
"name": {
|
||||
"title": "Your familiar name",
|
||||
"type": "string"
|
||||
},
|
||||
"type": {
|
||||
"title": "Menu item type",
|
||||
"description": "One of 'tap, 'toggle' or 'group'.",
|
||||
"description": "One of 'tap', 'template', 'toggle' or 'group'.",
|
||||
"const": "tap"
|
||||
},
|
||||
"service": {
|
||||
@ -38,58 +90,105 @@
|
||||
"title": "Schema change:",
|
||||
"description": "Use 'tap_action' instead to mirror Home Assistant."
|
||||
},
|
||||
"tap_action": { "$ref": "#/$defs/action" }
|
||||
"tap_action": {
|
||||
"$ref": "#/$defs/tap_action"
|
||||
}
|
||||
},
|
||||
"oneOf": [
|
||||
{ "required": ["entity", "name", "type", "service"] },
|
||||
{ "required": ["entity", "name", "type", "tap_action"] }
|
||||
{
|
||||
"required": ["name", "type", "service"]
|
||||
},
|
||||
{
|
||||
"required": ["name", "type", "tap_action"]
|
||||
}
|
||||
],
|
||||
"additionalProperties": false
|
||||
},
|
||||
"menu": {
|
||||
"group": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"entity": { "$ref": "#/$defs/entity" },
|
||||
"name": { "title": "Your familiar name", "type": "string" },
|
||||
"title": { "type": "string" },
|
||||
"entity": {
|
||||
"$ref": "#/$defs/entity",
|
||||
"type": "string",
|
||||
"pattern": "^[^.]+\\.[^.]+$",
|
||||
"deprecated": true,
|
||||
"title": "Schema change:",
|
||||
"description": "'entity' is no longer necessary and should now be removed."
|
||||
},
|
||||
"name": {
|
||||
"title": "Menu item's familiar name.",
|
||||
"type": "string"
|
||||
},
|
||||
"title": {
|
||||
"title": "Sub menu's title once displayed.",
|
||||
"type": "string"
|
||||
},
|
||||
"type": {
|
||||
"title": "Menu item type",
|
||||
"description": "One of 'tap, 'toggle' or 'group'.",
|
||||
"description": "One of 'tap', 'template', 'toggle' or 'group'.",
|
||||
"const": "group"
|
||||
},
|
||||
"items": { "$ref": "#/$defs/items" }
|
||||
"items": {
|
||||
"$ref": "#/$defs/items"
|
||||
}
|
||||
},
|
||||
"required": ["entity", "name", "title", "type", "items"],
|
||||
"required": ["name", "title", "type", "items"],
|
||||
"additionalProperties": false
|
||||
},
|
||||
"items": {
|
||||
"type": "array",
|
||||
"maxItems": 16,
|
||||
"items": {
|
||||
"oneOf": [
|
||||
{ "$ref": "#/$defs/toggle" },
|
||||
{ "$ref": "#/$defs/tap" },
|
||||
{ "$ref": "#/$defs/menu" }
|
||||
{
|
||||
"$ref": "#/$defs/toggle"
|
||||
},
|
||||
{
|
||||
"$ref": "#/$defs/template"
|
||||
},
|
||||
{
|
||||
"$ref": "#/$defs/tap"
|
||||
},
|
||||
{
|
||||
"$ref": "#/$defs/group"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"entity": {
|
||||
"title": "Home Assistant entity name",
|
||||
"type": "string",
|
||||
"title": "Home Assistant entity name",
|
||||
"pattern": "^[^.]+\\.[^.]+$"
|
||||
},
|
||||
"action": {
|
||||
"service": {
|
||||
"type": "string",
|
||||
"title": "Home Assistant service name",
|
||||
"pattern": "^[^.]+\\.[^.]+$"
|
||||
},
|
||||
"tap_action": {
|
||||
"type": "object",
|
||||
"title": "Action",
|
||||
"description": "'confirm' field is optional.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"service": { "$ref": "#/$defs/entity" },
|
||||
"service": {
|
||||
"$ref": "#/$defs/service"
|
||||
},
|
||||
"confirm": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "Confirm the action before execution as a precaution."
|
||||
"$ref": "#/$defs/confirm"
|
||||
},
|
||||
"data": {
|
||||
"type": "object",
|
||||
"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."
|
||||
}
|
||||
},
|
||||
"required": ["service"]
|
||||
},
|
||||
"confirm": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"title": "Confirmation",
|
||||
"description": "Optional confirmation of the action before execution as a precaution."
|
||||
}
|
||||
}
|
||||
}
|
||||
|
56
examples/Actions.md
Normal file
@ -0,0 +1,56 @@
|
||||
[Home](../README.md) | [Switches](Switches.md) | Actions | [Templates](Templates.md) | [Battery Reporting](../BatteryReporting.md) | [Trouble Shooting](../TroubleShooting.md) | [Version History](../HISTORY.md)
|
||||
|
||||
# Actions
|
||||
|
||||
A simple example using a scene as a `tap`` menu item.
|
||||
|
||||
```json
|
||||
{
|
||||
"entity": "scene.telly_watching",
|
||||
"name": "Telly Scene",
|
||||
"type": "tap",
|
||||
"tap_action": {
|
||||
"service": "scene.turn_on"
|
||||
}
|
||||
},
|
||||
```
|
||||
|
||||
Any menu item with an action (`tap`, `template`, or `toggle`), may have a confirmation view added. For consistency this is always done via the `tap_action` JSON object, even though for a `toggle` menu item there will only ever be a single field inside. For the `toggle` menu item, the confirmation is presented on both `on` and `off` directions. There is no option for asymmetry, i.e. only in one direction.
|
||||
|
||||
```json
|
||||
"tap_action": {
|
||||
"confirm": true
|
||||
}
|
||||
```
|
||||
|
||||
<img src="../images/confirmation_view.png" width="200" title="Confirmation View"/>
|
||||
|
||||
For example:
|
||||
|
||||
```json
|
||||
{
|
||||
"entity": "switch.garage_door",
|
||||
"name": "Garage Door",
|
||||
"type": "toggle",
|
||||
"tap_action": {
|
||||
"confirm": true
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
Note that for notify events, you _must_ not supply an `entity_id` or the API call will fail. There are other examples too.
|
||||
|
||||
```json
|
||||
{
|
||||
"name": "Message",
|
||||
"type": "tap",
|
||||
"tap_action": {
|
||||
"service": "notify.mobile_app_on_phone",
|
||||
"data": {
|
||||
"title": "This is a title",
|
||||
"message": "This is the message"
|
||||
},
|
||||
"confirm": true
|
||||
}
|
||||
}
|
||||
```
|
73
examples/Switches.md
Normal file
@ -0,0 +1,73 @@
|
||||
[Home](../README.md) | Switches | [Actions](Actions.md) | [Templates](Templates.md) | [Battery Reporting](../BatteryReporting.md) | [Trouble Shooting](../TroubleShooting.md) | [Version History](../HISTORY.md)
|
||||
|
||||
# Switches
|
||||
|
||||
This is the simplest form:
|
||||
|
||||
```json
|
||||
{
|
||||
"entity": "light.bedside_light_switch",
|
||||
"name": "Bedroom Light",
|
||||
"type": "toggle"
|
||||
},
|
||||
```
|
||||
|
||||
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
|
||||
switch:
|
||||
- platform: template
|
||||
switches:
|
||||
<switch-name>:
|
||||
friendly_name: <name>
|
||||
value_template: <value>
|
||||
turn_on:
|
||||
service: <service>
|
||||
data:
|
||||
entity_id: <entity>
|
||||
<attribute>: <value>
|
||||
turn_off:
|
||||
service: <service>
|
||||
data:
|
||||
entity_id: <entity>
|
||||
<attribute>: <value>
|
||||
```
|
||||
|
||||
Then you can use the following in your config:
|
||||
|
||||
```json
|
||||
{
|
||||
"entity": "switch.<switch-name>",
|
||||
"name": "<name>",
|
||||
"type": "toggle"
|
||||
}
|
||||
```
|
||||
|
||||
## Example - Covers
|
||||
|
||||
```yaml
|
||||
switch:
|
||||
- platform: template
|
||||
switches:
|
||||
cover:
|
||||
friendly_name: Cover
|
||||
value_template: "{{ is_state('cover.cover', 'open') }}"
|
||||
turn_on:
|
||||
service: cover.open_cover
|
||||
data:
|
||||
entity_id: cover.cover
|
||||
turn_off:
|
||||
service: cover.close_cover
|
||||
data:
|
||||
entity_id: cover.cover
|
||||
```
|
||||
|
||||
Then you can use the following in your config:
|
||||
|
||||
```json
|
||||
{
|
||||
"entity": "switch.cover",
|
||||
"name": "Cover",
|
||||
"type": "toggle"
|
||||
}
|
||||
```
|
163
examples/Templates.md
Normal file
@ -0,0 +1,163 @@
|
||||
[Home](../README.md) | [Switches](Switches.md) | [Actions](Actions.md) | Templates | [Battery Reporting](../BatteryReporting.md) | [Trouble Shooting](../TroubleShooting.md) | [Version History](../HISTORY.md)
|
||||
|
||||
# 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 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/).
|
||||
|
||||
## States
|
||||
|
||||
In this example we get the battery level of the device and add the percent sign. *Very simple*
|
||||
|
||||
```json
|
||||
{
|
||||
"entity": "sensor.<device>_battery_level",
|
||||
"name": "Phone",
|
||||
"type": "template",
|
||||
"content": "{{ states('sensor.<device>_battery_level') }}%"
|
||||
}
|
||||
```
|
||||
|
||||
### Examples
|
||||
|
||||
The first two keep to the simple proposal above. The last combines them into a single menu item. Now you can start to see the utility of this menu item, composing your own formatted text.
|
||||
|
||||
```json
|
||||
{
|
||||
"entity": "sensor.hallway_temperature",
|
||||
"name": "Hall Temp",
|
||||
"type": "template",
|
||||
"content": "{{ states('sensor.hallway_temperature') }}°C"
|
||||
},
|
||||
{
|
||||
"entity": "sensor.hallway_humidity",
|
||||
"name": "Hall Humidity",
|
||||
"type": "template",
|
||||
"content": "{{ states('sensor.hallway_humidity') }}%"
|
||||
},
|
||||
{
|
||||
"entity": "sensor.hallway_temperature",
|
||||
"name": "Hallway",
|
||||
"type": "template",
|
||||
"content": "{{ states('sensor.hallway_temperature') }}°C {{ states('sensor.hallway_humidity') }}%"
|
||||
}
|
||||
```
|
||||
|
||||
## 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.
|
||||
|
||||
In this example we get the battery level of the device and add the percent sign. If the device is charging we add a plus sign.
|
||||
|
||||
```json
|
||||
{
|
||||
"entity": "sensor.<device>_battery_level",
|
||||
"name": "Phone",
|
||||
"type": "template",
|
||||
"content": "{{ states('sensor.<device>_battery_level') }}%{% if is_state('binary_sensor.<device>_is_charging', 'on') %}+{% endif %}"
|
||||
}
|
||||
```
|
||||
|
||||
Here we also use the else clause as well to give proper text instead of just `on` or `off`.
|
||||
|
||||
```json
|
||||
{
|
||||
"entity": "binary_sensor.garage_doors",
|
||||
"name": "Garage Doors",
|
||||
"type": "template",
|
||||
"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 %}"
|
||||
}
|
||||
```
|
||||
|
||||
## Advanced
|
||||
|
||||
Here we generate a bar graph of the battery level. We use the following steps to do this:
|
||||
|
||||
- Convert the state to a number.
|
||||
- Divide by 100 to get a fraction.
|
||||
- Multiply by the width to get the number of `#`s.
|
||||
- Multiply by the `#` char to make a string.
|
||||
- Subtract the width from the number of `#`s to get the number of `_`s.
|
||||
- Multiply by the `_` char to make a string.
|
||||
|
||||
```json
|
||||
{
|
||||
"entity": "sensor.<device>_battery_level",
|
||||
"name": "Phone",
|
||||
"type": "template",
|
||||
"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)) }}"
|
||||
}
|
||||
```
|
||||
|
||||
An example of a dimmer light with 4 brightness settings 0..3. Here our light worked on a percentage, so that had to be converted to the range 0..3.
|
||||
|
||||
```json
|
||||
{
|
||||
"$schema": "./schema.json",
|
||||
"title": "Home",
|
||||
"items": [
|
||||
{
|
||||
"entity": "light.green_house",
|
||||
"name": "LEDs",
|
||||
"type": "template",
|
||||
"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 %}"
|
||||
},
|
||||
{
|
||||
"entity": "light.green_house",
|
||||
"name": "LEDs 0",
|
||||
"type": "template",
|
||||
"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 %}",
|
||||
"tap_action": {
|
||||
"service": "light.turn_on",
|
||||
"data": {
|
||||
"brightness_pct": 12
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"entity": "light.green_house",
|
||||
"name": "LEDs 1",
|
||||
"type": "tap",
|
||||
"tap_action": {
|
||||
"service": "light.turn_on",
|
||||
"data": {
|
||||
"brightness_pct": 37
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"entity": "light.green_house",
|
||||
"name": "LEDs 2",
|
||||
"type": "template",
|
||||
"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 %}",
|
||||
"tap_action": {
|
||||
"service": "light.turn_on",
|
||||
"data": {
|
||||
"brightness_pct": 62
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"entity": "light.green_house",
|
||||
"name": "LEDs 3",
|
||||
"type": "template",
|
||||
"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 %}",
|
||||
"tap_action": {
|
||||
"service": "light.turn_on",
|
||||
"data": {
|
||||
"brightness_pct": 87
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
## 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.
|
||||
|
||||
<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;"/>
|
29
export.cmd
@ -1,21 +1,23 @@
|
||||
@echo off
|
||||
rem -----------------------------------------------------------------------------------
|
||||
rem
|
||||
rem
|
||||
rem Distributed under MIT Licence
|
||||
rem See https://github.com/house-of-abbey/GarminHomeAssistant/blob/main/LICENSE.
|
||||
rem
|
||||
rem
|
||||
rem -----------------------------------------------------------------------------------
|
||||
rem
|
||||
rem
|
||||
rem GarminHomeAssistant is a Garmin IQ application written in Monkey C and routinely
|
||||
rem tested on a Venu 2 device. The source code is provided at:
|
||||
rem https://github.com/house-of-abbey/GarminHomeAssistant.
|
||||
rem
|
||||
rem
|
||||
rem J D Abbey & P A Abbey, 28 December 2022
|
||||
rem
|
||||
rem
|
||||
rem Export both the Application and the Widget IQ files for upload to Garmin's App Store.
|
||||
rem
|
||||
rem Reference:
|
||||
rem * Using Monkey C from the Command Line
|
||||
rem * https://developer.garmin.com/connect-iq/reference-guides/monkey-c-command-line-setup/
|
||||
rem
|
||||
rem https://developer.garmin.com/connect-iq/reference-guides/monkey-c-command-line-setup/
|
||||
rem
|
||||
rem -----------------------------------------------------------------------------------
|
||||
|
||||
rem Check this path is correct for your Java installation
|
||||
@ -118,16 +120,3 @@ echo Finished exporting HomeAssistant
|
||||
dir %SRC%\export\HomeAssistant*.iq
|
||||
|
||||
pause
|
||||
exit /b
|
||||
|
||||
rem Compile PRG for a single device for side loading
|
||||
"%JAVA_PATH%\java.exe" ^
|
||||
-Xms1g ^
|
||||
-Dfile.encoding=UTF-8 ^
|
||||
-Dapple.awt.UIElement=true ^
|
||||
-jar %SDK_PATH%\monkeybrains.jar ^
|
||||
--output %SRC%\bin\HomeAssistant.prg ^
|
||||
--jungles %SRC%\monkey.jungle ^
|
||||
--private-key %SRC%\..\developer_key ^
|
||||
--device venu2_sim ^
|
||||
--warn
|
||||
|
@ -91,7 +91,7 @@ for screen_size, icon_sizes in lookup.items():
|
||||
svg.attrs["width"] = lookup[screen_size][Half]
|
||||
svg.attrs["height"] = lookup[screen_size][Half]
|
||||
with open(output_dir + "/" + entry, "wb") as o:
|
||||
o.write(svg.encode("utf-8"))
|
||||
o.write(svg.encode("utf-8") + b"\n")
|
||||
elif entry.endswith(".xml"):
|
||||
print("Create file: ", entry.ljust(40) + " XML - Copy file")
|
||||
shutil.copyfile(input_dir + "/" + entry, output_dir + "/" + entry)
|
||||
|
BIN
images/Battery_Device_Deletion.png
Normal file
After Width: | Height: | Size: 115 KiB |
BIN
images/Battery_Guage_Screenshot.png
Normal file
After Width: | Height: | Size: 9.6 KiB |
Before Width: | Height: | Size: 407 KiB After Width: | Height: | Size: 764 KiB |
BIN
images/Nabu_Casa_Remote_Control.png
Normal file
After Width: | Height: | Size: 33 KiB |
Before Width: | Height: | Size: 35 KiB After Width: | Height: | Size: 9.1 KiB |
Before Width: | Height: | Size: 5.2 KiB After Width: | Height: | Size: 2.7 KiB |
BIN
images/api_test_online_battery.png
Normal file
After Width: | Height: | Size: 112 KiB |
BIN
images/app_crash.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 42 KiB |
BIN
images/confirmation_view.png
Normal file
After Width: | Height: | Size: 10 KiB |
BIN
images/rename_device.png
Normal file
After Width: | Height: | Size: 56 KiB |
BIN
images/rename_device_2.png
Normal file
After Width: | Height: | Size: 80 KiB |
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 4.1 KiB |
70
launcherIconResize.py
Normal file
@ -0,0 +1,70 @@
|
||||
####################################################################################
|
||||
#
|
||||
# Distributed under MIT Licence
|
||||
# See https://github.com/house-of-abbey/GarminHomeAssistant/blob/main/LICENSE.
|
||||
#
|
||||
####################################################################################
|
||||
#
|
||||
# GarminHomeAssistant is a Garmin IQ application written in Monkey C and routinely
|
||||
# tested on a Venu 2 device. The source code is provided at:
|
||||
# https://github.com/house-of-abbey/GarminHomeAssistant.
|
||||
#
|
||||
# J D Abbey & P A Abbey, 29 December 2023
|
||||
#
|
||||
#
|
||||
# Description:
|
||||
#
|
||||
# Python script to automatically resize the application launcher icon from the
|
||||
# original 70x70 pixel width to something more appropriate for different screen
|
||||
# sizes.
|
||||
#
|
||||
# Python installation:
|
||||
# pip install BeautifulSoup
|
||||
# NB. For XML formatting:
|
||||
# pip install lxml
|
||||
#
|
||||
# References:
|
||||
# * https://www.crummy.com/software/BeautifulSoup/bs4/doc/
|
||||
# * https://realpython.com/beautiful-soup-web-scraper-python/
|
||||
# * https://www.crummy.com/software/BeautifulSoup/bs4/doc/#parsing-xml
|
||||
# * https://www.crummy.com/software/BeautifulSoup/bs4/doc/#xml
|
||||
#
|
||||
####################################################################################
|
||||
|
||||
from bs4 import BeautifulSoup, Comment
|
||||
import os
|
||||
import shutil
|
||||
|
||||
output_dir_prefix = 'resources-launcher-'
|
||||
# Original icons for 416x416 screen size with 70x70 icons
|
||||
input_dir = output_dir_prefix + '70-70'
|
||||
|
||||
# Convert icons to different screen sizes by these parameters
|
||||
lookup = [26, 30, 33, 35, 36, 40, 54, 60, 61, 62, 65, 80]
|
||||
|
||||
# Delete all but the original 48x48 icon directories
|
||||
for entry in os.listdir("."):
|
||||
if entry.startswith(output_dir_prefix) and entry != input_dir:
|
||||
shutil.rmtree(entry)
|
||||
|
||||
# (Re-)Create the resized icon directories
|
||||
for icon_size in lookup:
|
||||
output_dir = output_dir_prefix + str(icon_size) + "-" + str(icon_size)
|
||||
print("\nCreate directory:", output_dir)
|
||||
if os.path.exists(output_dir) and os.path.isdir(output_dir):
|
||||
shutil.rmtree(output_dir)
|
||||
os.makedirs(output_dir)
|
||||
for entry in os.listdir(input_dir):
|
||||
if entry.endswith(".svg"):
|
||||
print("Create file: ", entry.ljust(40) + " SVG - Change file")
|
||||
with open(input_dir + "/" + entry, "r") as f:
|
||||
soup = BeautifulSoup(f.read(), features="xml")
|
||||
svg: BeautifulSoup = list(soup.children)[0]
|
||||
h = int(svg.attrs["height"])
|
||||
svg.attrs["width"] = icon_size
|
||||
svg.attrs["height"] = icon_size
|
||||
with open(output_dir + "/" + entry, "wb") as o:
|
||||
o.write(svg.encode("utf-8"))
|
||||
elif entry.endswith(".xml"):
|
||||
print("Create file: ", entry.ljust(40) + " XML - Copy file")
|
||||
shutil.copyfile(input_dir + "/" + entry, output_dir + "/" + entry)
|
@ -17,7 +17,7 @@
|
||||
|
||||
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="" type="widget"
|
||||
Live Widget id="585af26f-6ff7-44e8-80dc-b3670e5b8648" type="widget"
|
||||
|
||||
-->
|
||||
<iq:manifest version="3" xmlns:iq="http://www.garmin.com/xml/connectiq">
|
||||
@ -140,8 +140,9 @@
|
||||
palette to update permissions.
|
||||
-->
|
||||
<iq:permissions>
|
||||
<iq:uses-permission id="Communications"/>
|
||||
<iq:uses-permission id="Background"/>
|
||||
<iq:uses-permission id="BluetoothLowEnergy"/>
|
||||
<iq:uses-permission id="Communications"/>
|
||||
</iq:permissions>
|
||||
<!--
|
||||
Use "Monkey C: Edit Languages" from the Visual Studio Code command
|
||||
|
@ -146,8 +146,9 @@
|
||||
palette to update permissions.
|
||||
-->
|
||||
<iq:permissions>
|
||||
<iq:uses-permission id="Communications"/>
|
||||
<iq:uses-permission id="Background"/>
|
||||
<iq:uses-permission id="BluetoothLowEnergy"/>
|
||||
<iq:uses-permission id="Communications"/>
|
||||
</iq:permissions>
|
||||
<!--
|
||||
Use "Monkey C: Edit Languages" from the Visual Studio Code command
|
||||
|
@ -20,11 +20,8 @@
|
||||
|
||||
<strings>
|
||||
<string id="AppName" scope="glance">HomeAssistant</string>
|
||||
<string id="MenuItemOn">على</string>
|
||||
<string id="MenuItemOff">عن</string>
|
||||
<string id="MenuItemTap">مقبض</string>
|
||||
<string id="MenuItemMenu">قائمة طعام</string>
|
||||
<string id="Confirm">بالتأكيد؟</string>
|
||||
<string id="Executed" scope="glance">مؤكد</string>
|
||||
<string id="NoPhone" scope="glance">لا يوجد اتصال الهاتف</string>
|
||||
<string id="NoInternet">لا يوجد اتصال بالإنترنت</string>
|
||||
<string id="NoResponse">لا توجد استجابة، تحقق من الاتصال بالإنترنت</string>
|
||||
@ -37,19 +34,37 @@
|
||||
<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="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="Memory" scope="glance">ذاكرة</string>
|
||||
<!-- لإعدادات واجهة المستخدم الرسومية -->
|
||||
<string id="SettingsSelect">يختار...</string>
|
||||
<string id="SettingsApiKey">مفتاح API لـ HomeAssistant.</string>
|
||||
<string id="SettingsApiKeyPrompt">رمز الوصول طويل الأمد.</string>
|
||||
<string id="SettingsApiUrl">عنوان URL لواجهة برمجة تطبيقات HomeAssistant.</string>
|
||||
<string id="SettingsConfigUrl">عنوان URL لتكوين القائمة (JSON).</string>
|
||||
<string id="SettingsAppTimeout">المهلة بالثواني. قم بالخروج من التطبيق بعد هذه الفترة من عدم النشاط لحفظ بطارية الجهاز.</string>
|
||||
<string id="SettingsConfirmTimeout">بعد هذا الوقت (بالثواني)، يتم إغلاق مربع حوار تأكيد الإجراء تلقائيًا ويتم إلغاء الإجراء. اضبط على 0 لتعطيل المهلة.</string>
|
||||
<string id="SettingsUi">تمثيل الأنواع بأيقونات (إيقاف) أو بالتسميات (تشغيل).</string>
|
||||
<string id="SettingsCacheConfig">هل يجب على التطبيق تخزين تكوين القائمة مؤقتًا؟</string>
|
||||
<string id="SettingsClearCache">يجب أن يقوم التطبيق بمسح ذاكرة التخزين المؤقت الموجودة في المرة القادمة
|
||||
بدأت؟</string>
|
||||
<string id="SettingsAppTimeout">المهلة بالثواني. الخروج من التطبيق بعد هذه الفترة
|
||||
عدم النشاط لحفظ بطارية الجهاز.</string>
|
||||
<string id="SettingsConfirmTimeout">بعد هذا الوقت (بالثواني)، يظهر مربع حوار تأكيد لـ
|
||||
يتم إغلاق الإجراء تلقائيًا ويتم إلغاء الإجراء. اضبط على 0 لتعطيل المهلة.</string>
|
||||
<string id="SettingsTextAlign">محاذاة القائمة لليسار (إيقاف) أو لليمين (تشغيل).</string>
|
||||
<string id="SettingsWidgetStart">(القطعة فقط) قم بتشغيل التطبيق تلقائيًا من الأداة دون انتظار نقرة واحدة.</string>
|
||||
</strings>
|
||||
<string id="LeftToRight">من اليسار إلى اليمين</string>
|
||||
<string id="RightToLeft">من اليمين الى اليسار</string>
|
||||
<string id="SettingsWidgetStart">(القطعة فقط) ابدأ تشغيل التطبيق تلقائيًا من الأداة
|
||||
دون انتظار الصنبور.</string>
|
||||
<string id="SettingsEnableBatteryLevel">تمكين خدمة الخلفية لإرسال بطارية الساعة
|
||||
المستوى إلى مساعد المنزل.</string>
|
||||
<string id="SettingsBatteryLevelRefreshRate">معدل التحديث (بالدقائق) الذي الخلفية
|
||||
يجب أن تكرر الخدمة إرسال مستوى البطارية.</string>
|
||||
<string id="WebhookId">(للقراءة فقط) معرف Webhook الذي أنشأته الساعة لتحديثات مستوى البطارية.
|
||||
قد تحتاج إلى هذا لتصحيح الأخطاء.</string>
|
||||
</strings>
|
||||
|
@ -20,11 +20,8 @@
|
||||
|
||||
<strings>
|
||||
<string id="AppName" scope="glance">HomeAssistant</string>
|
||||
<string id="MenuItemOn">На</string>
|
||||
<string id="MenuItemOff">Изкл</string>
|
||||
<string id="MenuItemTap">Докоснете</string>
|
||||
<string id="MenuItemMenu">Меню</string>
|
||||
<string id="Confirm">Сигурен?</string>
|
||||
<string id="Executed" scope="glance">Потвърдено</string>
|
||||
<string id="NoPhone" scope="glance">Няма телефонна връзка</string>
|
||||
<string id="NoInternet">Няма интернет връзка</string>
|
||||
<string id="NoResponse">Няма отговор, проверете интернет връзката</string>
|
||||
@ -37,19 +34,37 @@
|
||||
<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="Memory" scope="glance">памет</string>
|
||||
<!-- За GUI за настройки -->
|
||||
<string id="SettingsSelect">Изберете...</string>
|
||||
<string id="SettingsApiKey">API ключ за HomeAssistant.</string>
|
||||
<string id="SettingsApiKeyPrompt">Токен за дълготраен достъп.</string>
|
||||
<string id="SettingsApiUrl">URL адрес за API на HomeAssistant.</string>
|
||||
<string id="SettingsConfigUrl">URL за конфигурация на менюто (JSON).</string>
|
||||
<string id="SettingsAppTimeout">Изчакване в секунди. Излезте от приложението след този период на неактивност, за да запазите батерията на устройството.</string>
|
||||
<string id="SettingsConfirmTimeout">След това време (в секунди) диалоговият прозорец за потвърждение за действие се затваря автоматично и действието се отменя. Задайте 0, за да деактивирате изчакването.</string>
|
||||
<string id="SettingsUi">Представяне на типове с икони (изключено) или с етикети (включено).</string>
|
||||
<string id="SettingsCacheConfig">Трябва ли приложението да кешира конфигурацията на менюто?</string>
|
||||
<string id="SettingsClearCache">Трябва ли приложението да изчисти съществуващия кеш следващия път, когато е
|
||||
започна?</string>
|
||||
<string id="SettingsAppTimeout">Изчакване в секунди. Излезте от приложението след този период от
|
||||
бездействие, за да запазите батерията на устройството.</string>
|
||||
<string id="SettingsConfirmTimeout">След това време (в секунди) се появява диалогов прозорец за потвърждение за an
|
||||
действието се затваря автоматично и действието се отменя. Задайте 0, за да деактивирате изчакването.</string>
|
||||
<string id="SettingsTextAlign">Ляво (изключено) или дясно (включено) подравняване на менюто.</string>
|
||||
<string id="SettingsWidgetStart">(Само за джаджа) Автоматично стартирайте приложението от джаджата, без да чакате докосване.</string>
|
||||
</strings>
|
||||
<string id="LeftToRight">Отляво надясно</string>
|
||||
<string id="RightToLeft">От дясно на ляво</string>
|
||||
<string id="SettingsWidgetStart">(Само за притурка) Автоматично стартиране на приложението от приспособлението
|
||||
без да чакате кран.</string>
|
||||
<string id="SettingsEnableBatteryLevel">Активирайте фоновата услуга, за да изпратите батерията на часовника
|
||||
ниво до домашен асистент.</string>
|
||||
<string id="SettingsBatteryLevelRefreshRate">Честотата на опресняване (в минути), с която фонът
|
||||
услугата трябва да повтори изпращането на нивото на батерията.</string>
|
||||
<string id="WebhookId">(Само за четене) ID на Webhook, създаден от часовника за актуализации на нивото на батерията.
|
||||
Може да ви е необходимо това за отстраняване на грешки.</string>
|
||||
</strings>
|
||||
|
@ -20,11 +20,8 @@
|
||||
|
||||
<strings>
|
||||
<string id="AppName" scope="glance">HomeAssistant</string>
|
||||
<string id="MenuItemOn">Na</string>
|
||||
<string id="MenuItemOff">Vypnuto</string>
|
||||
<string id="MenuItemTap">Klepněte</string>
|
||||
<string id="MenuItemMenu">Jídelní lístek</string>
|
||||
<string id="Confirm">Tak určitě?</string>
|
||||
<string id="Executed" scope="glance">Potvrzeno</string>
|
||||
<string id="NoPhone" scope="glance">Žádné telefonní spojení</string>
|
||||
<string id="NoInternet">Žádné internetové připojení</string>
|
||||
<string id="NoResponse">Žádná odpověď, zkontrolujte připojení k internetu</string>
|
||||
@ -32,24 +29,42 @@
|
||||
<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 URL API v nastavení.</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>
|
||||
<!-- Pro nastavení GUI -->
|
||||
<string id="SettingsSelect">Vybrat...</string>
|
||||
<string id="SettingsApiKey">Klíč API pro HomeAssistant.</string>
|
||||
<string id="SettingsApiKeyPrompt">Přístupový token s dlouhou životností.</string>
|
||||
<string id="SettingsApiUrl">URL pro HomeAssistant API.</string>
|
||||
<string id="SettingsConfigUrl">Adresa URL pro konfiguraci nabídky (JSON).</string>
|
||||
<string id="SettingsAppTimeout">Časový limit v sekundách. Po této době nečinnosti aplikaci ukončete, abyste šetřili baterii zařízení.</string>
|
||||
<string id="SettingsConfirmTimeout">Po uplynutí této doby (v sekundách) se dialog pro potvrzení akce automaticky zavře a akce se zruší. Nastavením na 0 deaktivujete časový limit.</string>
|
||||
<string id="SettingsUi">Znázornění typů pomocí ikon (vypnuto) nebo pomocí štítků (zapnuto).</string>
|
||||
<string id="SettingsCacheConfig">Má aplikace uložit konfiguraci nabídky do mezipaměti?</string>
|
||||
<string id="SettingsClearCache">Měla by aplikace příště vymazat stávající mezipaměť
|
||||
začal?</string>
|
||||
<string id="SettingsAppTimeout">Časový limit v sekundách. Po uplynutí této doby aplikaci ukončete
|
||||
nečinnosti, aby se šetřila baterie zařízení.</string>
|
||||
<string id="SettingsConfirmTimeout">Po uplynutí této doby (v sekundách) se zobrazí potvrzovací dialog pro
|
||||
akce se automaticky zavře a akce se zruší. Nastavením na 0 deaktivujete časový limit.</string>
|
||||
<string id="SettingsTextAlign">Zarovnání nabídky vlevo (vypnuto) nebo vpravo (zapnuto).</string>
|
||||
<string id="SettingsWidgetStart">(Pouze widget) Automaticky spusťte aplikaci z widgetu bez čekání na klepnutí.</string>
|
||||
</strings>
|
||||
<string id="LeftToRight">Zleva do prava</string>
|
||||
<string id="RightToLeft">Zprava doleva</string>
|
||||
<string id="SettingsWidgetStart">(Pouze widget) Automaticky spustit aplikaci z widgetu
|
||||
bez čekání na klepnutí.</string>
|
||||
<string id="SettingsEnableBatteryLevel">Povolte službu na pozadí pro odeslání baterie hodin
|
||||
úroveň na Home Assistant.</string>
|
||||
<string id="SettingsBatteryLevelRefreshRate">Obnovovací frekvence (v minutách), při které je pozadí
|
||||
servis by měl zopakovat odeslání stavu baterie.</string>
|
||||
<string id="WebhookId">(Pouze pro čtení) ID webhooku vytvořené hodinkami pro aktualizace úrovně baterie.
|
||||
Možná to budete potřebovat pro ladění.</string>
|
||||
</strings>
|
||||
|
@ -20,11 +20,8 @@
|
||||
|
||||
<strings>
|
||||
<string id="AppName" scope="glance">HomeAssistant</string>
|
||||
<string id="MenuItemOn">På</string>
|
||||
<string id="MenuItemOff">Af</string>
|
||||
<string id="MenuItemTap">Tryk på</string>
|
||||
<string id="MenuItemMenu">Menu</string>
|
||||
<string id="Confirm">Jo da?</string>
|
||||
<string id="Executed" scope="glance">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>
|
||||
@ -37,19 +34,37 @@
|
||||
<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="GlanceMenu" scope="glance">Menu</string>
|
||||
<string id="Memory" scope="glance">Hukommelse</string>
|
||||
<!-- Til indstillingerne GUI -->
|
||||
<string id="SettingsSelect">Vælg...</string>
|
||||
<string id="SettingsApiKey">API-nøgle til HomeAssistant.</string>
|
||||
<string id="SettingsApiKeyPrompt">Adgangstoken med lang levetid.</string>
|
||||
<string id="SettingsApiUrl">URL til HomeAssistant API.</string>
|
||||
<string id="SettingsConfigUrl">URL til menukonfiguration (JSON).</string>
|
||||
<string id="SettingsAppTimeout">Timeout i sekunder. Afslut applikationen efter denne periode med inaktivitet for at spare på enhedens batteri.</string>
|
||||
<string id="SettingsConfirmTimeout">Efter dette tidspunkt (i sekunder) lukkes en bekræftelsesdialog for en handling automatisk, og handlingen annulleres. Indstil til 0 for at deaktivere timeout.</string>
|
||||
<string id="SettingsUi">Repræsenterer typer med ikoner (fra) eller med etiketter (til).</string>
|
||||
<string id="SettingsCacheConfig">Skal applikationen cache menukonfigurationen?</string>
|
||||
<string id="SettingsClearCache">Skal applikationen rydde den eksisterende cache næste gang
|
||||
startede?</string>
|
||||
<string id="SettingsAppTimeout">Timeout i sekunder. Afslut ansøgningen efter denne periode på
|
||||
inaktivitet for at spare enhedens batteri.</string>
|
||||
<string id="SettingsConfirmTimeout">Efter dette tidspunkt (i sekunder) vises en bekræftelsesdialog for en
|
||||
handlingen lukkes automatisk, og handlingen annulleres. Indstil til 0 for at deaktivere timeout.</string>
|
||||
<string id="SettingsTextAlign">Venstre (fra) eller Højre (til) menujustering.</string>
|
||||
<string id="SettingsWidgetStart">(Kun widget) Start automatisk applikationen fra widgetten uden at vente på et tryk.</string>
|
||||
</strings>
|
||||
<string id="LeftToRight">Venstre til højre</string>
|
||||
<string id="RightToLeft">Højre til venstre</string>
|
||||
<string id="SettingsWidgetStart">(Kun widget) Start automatisk programmet fra widgetten
|
||||
uden at vente på et tryk.</string>
|
||||
<string id="SettingsEnableBatteryLevel">Aktiver baggrundstjenesten for at sende urets batteri
|
||||
niveau til Home Assistant.</string>
|
||||
<string id="SettingsBatteryLevelRefreshRate">Opdateringshastigheden (i minutter), som baggrunden
|
||||
tjenesten skal gentage afsendelsen af batteriniveauet.</string>
|
||||
<string id="WebhookId">(Skrivebeskyttet) Webhook-id'et oprettet af uret til opdateringer af batteriniveau.
|
||||
Du kan kræve dette til fejlretning.</string>
|
||||
</strings>
|
||||
|
@ -19,7 +19,5 @@
|
||||
-->
|
||||
|
||||
<strings>
|
||||
<string id="MenuItemTap">Antippen</string>
|
||||
<string id="MenuItemMenu">Menü</string>
|
||||
<string id="UnhandledHttpErr">Die HTTP-Anfrage gab folgenden Fehlercode zurück = </string>
|
||||
</strings>
|
||||
|
@ -20,11 +20,8 @@
|
||||
|
||||
<strings>
|
||||
<string id="AppName" scope="glance">HomeAssistant</string>
|
||||
<string id="MenuItemOn">An</string>
|
||||
<string id="MenuItemOff">Aus</string>
|
||||
<string id="MenuItemTap">Antippen</string>
|
||||
<string id="MenuItemMenu">Menü</string>
|
||||
<string id="Confirm">Sicher?</string>
|
||||
<string id="Executed" scope="glance">Bestätigt</string>
|
||||
<string id="NoPhone" scope="glance">Keine Telefonverbindung</string>
|
||||
<string id="NoInternet">Keine Internetverbindung</string>
|
||||
<string id="NoResponse">Keine Antwort, überprüfen Sie die Internetverbindung</string>
|
||||
@ -37,19 +34,37 @@
|
||||
<string id="NoJson">Von der HTTP-Anfrage wurde kein JSON zurückgegeben.</string>
|
||||
<string id="UnhandledHttpErr">Die HTTP-Anfrage gab folgenden Fehlercode zurück = </string>
|
||||
<string id="TrailingSlashErr">Die API-URL darf keinen abschließenden Schrägstrich „/“ enthalten.</string>
|
||||
<string id="WebhookFailed">Webhook konnte nicht registriert werden</string>
|
||||
<string id="TemplateError">Vorlage konnte nicht gerendert werden</string>
|
||||
<string id="Available" scope="glance">Verfügbar</string>
|
||||
<string id="Checking" scope="glance">Überprüfung...</string>
|
||||
<string id="Unavailable" scope="glance">Nicht verfügbar</string>
|
||||
<string id="Unconfigured" scope="glance">Unkonfiguriert</string>
|
||||
<string id="Cached" scope="glance">Zwischengespeichert</string>
|
||||
<string id="GlanceMenu" scope="glance">Speisekarte</string>
|
||||
<string id="Memory" scope="glance">Erinnerung</string>
|
||||
<!-- Für die Einstellungs-GUI -->
|
||||
<string id="SettingsSelect">Wählen...</string>
|
||||
<string id="SettingsApiKey">API-Schlüssel für HomeAssistant.</string>
|
||||
<string id="SettingsApiKeyPrompt">Langlebiges Zugriffstoken.</string>
|
||||
<string id="SettingsApiUrl">URL für die HomeAssistant-API.</string>
|
||||
<string id="SettingsConfigUrl">URL zur Menükonfiguration (JSON).</string>
|
||||
<string id="SettingsAppTimeout">Timeout in Sekunden. Beenden Sie die Anwendung nach dieser Zeit der Inaktivität, um den Akku des Geräts zu schonen.</string>
|
||||
<string id="SettingsConfirmTimeout">Nach dieser Zeit (in Sekunden) wird automatisch ein Bestätigungsdialog für eine Aktion geschlossen und die Aktion abgebrochen. Auf 0 setzen, um das Timeout zu deaktivieren.</string>
|
||||
<string id="SettingsUi">Darstellen von Typen mit Symbolen (aus) oder mit Beschriftungen (ein).</string>
|
||||
<string id="SettingsCacheConfig">Soll die Anwendung die Menükonfiguration zwischenspeichern?</string>
|
||||
<string id="SettingsClearCache">Sollte die Anwendung beim nächsten Mal den vorhandenen Cache löschen?
|
||||
gestartet?</string>
|
||||
<string id="SettingsAppTimeout">Timeout in Sekunden. Beenden Sie die Anwendung nach Ablauf dieser Frist
|
||||
Inaktivität, um den Akku des Geräts zu schonen.</string>
|
||||
<string id="SettingsConfirmTimeout">Nach dieser Zeit (in Sekunden) erscheint ein Bestätigungsdialog für eine
|
||||
Die Aktion wird automatisch geschlossen und die Aktion abgebrochen. Auf 0 setzen, um das Timeout zu deaktivieren.</string>
|
||||
<string id="SettingsTextAlign">Menüausrichtung links (aus) oder rechts (ein).</string>
|
||||
<string id="SettingsWidgetStart">(Nur Widget) Starten Sie die Anwendung automatisch über das Widget, ohne auf einen Tipp warten zu müssen.</string>
|
||||
</strings>
|
||||
<string id="LeftToRight">Links nach rechts</string>
|
||||
<string id="RightToLeft">Rechts nach links</string>
|
||||
<string id="SettingsWidgetStart">(Nur Widget) Starten Sie die Anwendung automatisch über das Widget
|
||||
ohne auf einen Fingertipp warten zu müssen.</string>
|
||||
<string id="SettingsEnableBatteryLevel">Aktivieren Sie den Hintergrunddienst, um die Uhrbatterie zu senden
|
||||
Ebene zum Home Assistant.</string>
|
||||
<string id="SettingsBatteryLevelRefreshRate">Die Aktualisierungsrate (in Minuten), mit der der Hintergrund angezeigt wird
|
||||
Der Service sollte das Senden des Batteriestands wiederholen.</string>
|
||||
<string id="WebhookId">(Schreibgeschützt) Die von der Uhr erstellte Webhook-ID für Aktualisierungen des Batteriestands.
|
||||
Möglicherweise benötigen Sie dies zum Debuggen.</string>
|
||||
</strings>
|
||||
|
@ -20,11 +20,8 @@
|
||||
|
||||
<strings>
|
||||
<string id="AppName" scope="glance">HomeAssistant</string>
|
||||
<string id="MenuItemOn">Op</string>
|
||||
<string id="MenuItemOff">Uit</string>
|
||||
<string id="MenuItemTap">Kraan</string>
|
||||
<string id="MenuItemMenu">Menu</string>
|
||||
<string id="Confirm">Zeker?</string>
|
||||
<string id="Executed" scope="glance">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>
|
||||
@ -37,19 +34,37 @@
|
||||
<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="Checking" scope="glance">Controleren...</string>
|
||||
<string id="Unavailable" scope="glance">Niet beschikbaar</string>
|
||||
<string id="Unconfigured" scope="glance">Niet geconfigureerd</string>
|
||||
<string id="Cached" scope="glance">In cache opgeslagen</string>
|
||||
<string id="GlanceMenu" scope="glance">Menu</string>
|
||||
<!-- Voor de instellingen-GUI -->
|
||||
<string id="Memory" scope="glance">Geheugen</string>
|
||||
<!-- Voor de instellingen GUI -->
|
||||
<string id="SettingsSelect">Selecteer...</string>
|
||||
<string id="SettingsApiKey">API-sleutel voor HomeAssistant.</string>
|
||||
<string id="SettingsApiKeyPrompt">Toegangstoken met lange levensduur.</string>
|
||||
<string id="SettingsApiUrl">URL voor HomeAssistant API.</string>
|
||||
<string id="SettingsConfigUrl">URL voor menuconfiguratie (JSON).</string>
|
||||
<string id="SettingsAppTimeout">Time-out in seconden. Sluit de applicatie af na deze periode van inactiviteit om de batterij van het apparaat te sparen.</string>
|
||||
<string id="SettingsConfirmTimeout">Na deze tijd (in seconden) wordt automatisch een bevestigingsvenster voor een actie gesloten en wordt de actie geannuleerd. Stel in op 0 om de time-out uit te schakelen.</string>
|
||||
<string id="SettingsUi">Typen weergeven met pictogrammen (uit) of met labels (aan).</string>
|
||||
<string id="SettingsCacheConfig">Moet de applicatie de menuconfiguratie in de cache opslaan?</string>
|
||||
<string id="SettingsClearCache">Moet de toepassing de volgende keer de bestaande cache wissen?
|
||||
begonnen?</string>
|
||||
<string id="SettingsAppTimeout">Time-out in seconden. Sluit de applicatie na deze periode af
|
||||
inactiviteit om de batterij van het apparaat te sparen.</string>
|
||||
<string id="SettingsConfirmTimeout">Na deze tijd (in seconden) verschijnt er een bevestigingsvenster voor een
|
||||
actie wordt automatisch gesloten en de actie wordt geannuleerd. Stel in op 0 om de time-out uit te schakelen.</string>
|
||||
<string id="SettingsTextAlign">Links (uit) of rechts (aan) Menu-uitlijning.</string>
|
||||
<string id="SettingsWidgetStart">(Alleen Widget) Start de applicatie automatisch vanuit de widget zonder te wachten op een tik.</string>
|
||||
</strings>
|
||||
<string id="LeftToRight">Van links naar rechts</string>
|
||||
<string id="RightToLeft">Rechts naar links</string>
|
||||
<string id="SettingsWidgetStart">(Alleen Widget) Start de applicatie automatisch vanuit de widget
|
||||
zonder te wachten op een tikje.</string>
|
||||
<string id="SettingsEnableBatteryLevel">Schakel de achtergrondservice in om de klokbatterij te verzenden
|
||||
niveau naar Home Assistant.</string>
|
||||
<string id="SettingsBatteryLevelRefreshRate">De vernieuwingsfrequentie (in minuten) waarmee de achtergrond wordt weergegeven
|
||||
service moet het batterijniveau opnieuw verzenden.</string>
|
||||
<string id="WebhookId">(Alleen-lezen) De Webhook-ID die door het horloge is aangemaakt voor updates van het batterijniveau.
|
||||
Mogelijk hebt u dit nodig voor foutopsporing.</string>
|
||||
</strings>
|
||||
|
@ -15,41 +15,56 @@
|
||||
|
||||
<!--
|
||||
Generated by Google Translate: English to Estonian
|
||||
Loodud Google'i tõlke abil inglise keelest
|
||||
Inglise keelest loodud Google'i tõlke abil
|
||||
-->
|
||||
|
||||
<strings>
|
||||
<string id="AppName" scope="glance">HomeAssistant</string>
|
||||
<string id="MenuItemOn">Peal</string>
|
||||
<string id="MenuItemOff">Väljas</string>
|
||||
<string id="MenuItemTap">Puudutage</string>
|
||||
<string id="MenuItemMenu">Menüü</string>
|
||||
<string id="Confirm">Muidugi?</string>
|
||||
<string id="Executed" scope="glance">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-kõned liiga kiired. Palun aeglustage oma taotlusi.</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="ConfigUrlNotFound">URL-i ei leitud. Võimalik konfiguratsiooni URL-i viga seadetes.</string>
|
||||
<string id="NoJson">HTTP päringust ei tagastatud ühtegi JSON-i.</string>
|
||||
<string id="NoJson">HTTP-päringust ei tagastatud ühtegi JSON-i.</string>
|
||||
<string id="UnhandledHttpErr">HTTP päring tagastas veakoodi =</string>
|
||||
<string id="TrailingSlashErr">API URL-i lõpus ei tohi olla kaldkriipsu „/”</string>
|
||||
<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="GlanceMenu" scope="glance">Menüü</string>
|
||||
<string id="Memory" scope="glance">Mälu</string>
|
||||
<!-- Seadete GUI jaoks -->
|
||||
<string id="SettingsSelect">Vali...</string>
|
||||
<string id="SettingsApiKey">API-võti HomeAssistantile.</string>
|
||||
<string id="SettingsApiKeyPrompt">Pikaealine juurdepääsuluba.</string>
|
||||
<string id="SettingsApiUrl">HomeAssistant API URL.</string>
|
||||
<string id="SettingsConfigUrl">URL menüü konfigureerimiseks (JSON).</string>
|
||||
<string id="SettingsAppTimeout">Aegumine sekundites. Seadme aku säästmiseks sulgege rakendus pärast seda tegevusetusperioodi.</string>
|
||||
<string id="SettingsConfirmTimeout">Pärast seda aega (sekundites) suletakse automaatselt toimingu kinnitusdialoog ja toiming tühistatakse. Ajalõpu keelamiseks määrake väärtusele 0.</string>
|
||||
<string id="SettingsUi">Tüüpide tähistamine ikoonidega (väljas) või siltidega (sees).</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
|
||||
algas?</string>
|
||||
<string id="SettingsAppTimeout">Aegumine sekundites. Väljuge rakendusest pärast seda perioodi
|
||||
tegevusetus, et säästa seadme akut.</string>
|
||||
<string id="SettingsConfirmTimeout">Pärast seda aega (sekundites) kuvatakse kinnitusdialoog an
|
||||
toiming suletakse automaatselt ja toiming tühistatakse. Ajalõpu keelamiseks määrake väärtusele 0.</string>
|
||||
<string id="SettingsTextAlign">Vasak (väljas) või parem (sees) menüü joondamine.</string>
|
||||
<string id="SettingsWidgetStart">(Ainult vidin) Käivitage rakendus automaatselt vidinast ilma puudutust ootamata.</string>
|
||||
</strings>
|
||||
<string id="LeftToRight">Vasakult paremale</string>
|
||||
<string id="RightToLeft">Paremalt vasakule</string>
|
||||
<string id="SettingsWidgetStart">(Ainult vidin) Käivitage rakendus automaatselt vidinast
|
||||
puudutust ootamata.</string>
|
||||
<string id="SettingsEnableBatteryLevel">Kella aku saatmiseks lubage taustteenus
|
||||
tasemel koduabilisele.</string>
|
||||
<string id="SettingsBatteryLevelRefreshRate">Värskendussagedus (minutites), mille juures taust
|
||||
teenindus peaks aku taseme saatmist kordama.</string>
|
||||
<string id="WebhookId">(Ainult lugemiseks) Kella loodud veebihaagi ID aku taseme värskendamiseks.
|
||||
Võib-olla vajate seda silumiseks.</string>
|
||||
</strings>
|
||||
|
@ -20,15 +20,12 @@
|
||||
|
||||
<strings>
|
||||
<string id="AppName" scope="glance">HomeAssistant</string>
|
||||
<string id="MenuItemOn">Päällä</string>
|
||||
<string id="MenuItemOff">Vinossa</string>
|
||||
<string id="MenuItemTap">Napauta</string>
|
||||
<string id="MenuItemMenu">Valikko</string>
|
||||
<string id="Confirm">Varma?</string>
|
||||
<string id="Executed" scope="glance">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">Sovellusasetuksissa ei ole API-avainta</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>
|
||||
@ -37,19 +34,37 @@
|
||||
<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="GlanceMenu" scope="glance">Valikko</string>
|
||||
<string id="Memory" scope="glance">Muisti</string>
|
||||
<!-- GUI-asetusten osalta -->
|
||||
<string id="SettingsSelect">Valitse...</string>
|
||||
<string id="SettingsApiKey">API-avain HomeAssistantille.</string>
|
||||
<string id="SettingsApiKeyPrompt">Pitkäikäinen pääsytunnus.</string>
|
||||
<string id="SettingsApiUrl">HomeAssistant API:n URL-osoite.</string>
|
||||
<string id="SettingsConfigUrl">URL-osoite valikon määrityksiä varten (JSON).</string>
|
||||
<string id="SettingsAppTimeout">Aikakatkaisu sekunneissa. Poistu sovelluksesta tämän käyttämättömyyden jälkeen säästääksesi laitteen akkua.</string>
|
||||
<string id="SettingsConfirmTimeout">Tämän ajan kuluttua (sekunneissa) toiminnon vahvistusikkuna suljetaan automaattisesti ja toiminto peruutetaan. Aseta arvoksi 0 poistaaksesi aikakatkaisun käytöstä.</string>
|
||||
<string id="SettingsUi">Esittää tyyppejä kuvakkeilla (pois päältä) tai tarroilla (päällä).</string>
|
||||
<string id="SettingsCacheConfig">Pitäisikö sovelluksen tallentaa valikon asetukset välimuistiin?</string>
|
||||
<string id="SettingsClearCache">Pitäisikö sovelluksen tyhjentää olemassa oleva välimuisti seuraavan kerran
|
||||
alkanut?</string>
|
||||
<string id="SettingsAppTimeout">Aikakatkaisu sekunneissa. Poistu sovelluksesta tämän ajanjakson jälkeen
|
||||
käyttämättömyys säästääksesi laitteen akkua.</string>
|
||||
<string id="SettingsConfirmTimeout">Tämän ajan kuluttua (sekunneissa) vahvistusikkuna an
|
||||
toiminto suljetaan automaattisesti ja toiminto peruutetaan. Aseta arvoksi 0, jos haluat poistaa aikakatkaisun käytöstä.</string>
|
||||
<string id="SettingsTextAlign">Vasen (pois) tai oikea (päällä) valikon kohdistus.</string>
|
||||
<string id="SettingsWidgetStart">(Vain widget) Käynnistä sovellus automaattisesti widgetistä odottamatta napautusta.</string>
|
||||
</strings>
|
||||
<string id="LeftToRight">Vasemmalta oikealle</string>
|
||||
<string id="RightToLeft">Oikealta vasemmalle</string>
|
||||
<string id="SettingsWidgetStart">(Vain widget) Käynnistä sovellus automaattisesti widgetistä
|
||||
odottamatta napausta.</string>
|
||||
<string id="SettingsEnableBatteryLevel">Ota taustapalvelu käyttöön kellon akun lähettämiseksi
|
||||
tasolle Home Assistant.</string>
|
||||
<string id="SettingsBatteryLevelRefreshRate">Päivitystaajuus (minuutteina), jolla tausta
|
||||
palvelun pitäisi toistaa akun varaustason lähettäminen.</string>
|
||||
<string id="WebhookId">(Vain luku) Kellon luoma Webhook-tunnus akun varaustason päivityksiä varten.
|
||||
Saatat tarvita tätä virheenkorjaukseen.</string>
|
||||
</strings>
|
||||
|
@ -19,7 +19,5 @@
|
||||
-->
|
||||
|
||||
<strings>
|
||||
<string id="MenuItemOn">Activé</string>
|
||||
<string id="MenuItemTap">Clic</string>
|
||||
<string id="ApiFlood">Appels API trop rapide. Veuillez signaler cette erreur avec les détails de l'appareil.</string>
|
||||
</strings>
|
||||
|
@ -20,11 +20,8 @@
|
||||
|
||||
<strings>
|
||||
<string id="AppName" scope="glance">HomeAssistant</string>
|
||||
<string id="MenuItemOn">Activé</string>
|
||||
<string id="MenuItemOff">Désactivé</string>
|
||||
<string id="MenuItemTap">Clic</string>
|
||||
<string id="MenuItemMenu">Menu</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>
|
||||
@ -37,19 +34,37 @@
|
||||
<string id="NoJson">Aucun JSON renvoyé par la requête HTTP.</string>
|
||||
<string id="UnhandledHttpErr">La requête HTTP a renvoyé un code d'erreur =</string>
|
||||
<string id="TrailingSlashErr">L'URL de l'API ne doit pas comporter de barre oblique finale '/'</string>
|
||||
<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="Checking" scope="glance">Vérification...</string>
|
||||
<string id="Unavailable" scope="glance">Indisponible</string>
|
||||
<string id="Unconfigured" scope="glance">Non configuré</string>
|
||||
<string id="Cached" scope="glance">En cache</string>
|
||||
<string id="GlanceMenu" scope="glance">Menu</string>
|
||||
<string id="Memory" scope="glance">Mémoire</string>
|
||||
<!-- Pour l'interface graphique des paramètres -->
|
||||
<string id="SettingsSelect">Sélectionner...</string>
|
||||
<string id="SettingsApiKey">Clé API pour HomeAssistant.</string>
|
||||
<string id="SettingsApiKeyPrompt">Jeton d'accès de longue durée.</string>
|
||||
<string id="SettingsApiUrl">URL de l’API HomeAssistant.</string>
|
||||
<string id="SettingsConfigUrl">URL de configuration des menus (JSON).</string>
|
||||
<string id="SettingsAppTimeout">Délai d'expiration en secondes. Quittez l'application après cette période d'inactivité pour économiser la batterie de l'appareil.</string>
|
||||
<string id="SettingsConfirmTimeout">Passé ce délai (en secondes), une boîte de dialogue de confirmation d'une action se ferme automatiquement et l'action est annulée. Réglez sur 0 pour désactiver le délai d'attente.</string>
|
||||
<string id="SettingsUi">Représentation des types avec des icônes (off) ou avec des étiquettes (on).</string>
|
||||
<string id="SettingsCacheConfig">L'application doit-elle mettre en cache la configuration du menu ?</string>
|
||||
<string id="SettingsClearCache">L'application devrait-elle vider le cache existant la prochaine fois
|
||||
commencé?</string>
|
||||
<string id="SettingsAppTimeout">Délai d'attente en secondes. Quittez l'application après cette période de
|
||||
inactivité pour économiser la batterie de l'appareil.</string>
|
||||
<string id="SettingsConfirmTimeout">Passé ce délai (en secondes), une boîte de dialogue de confirmation pour un
|
||||
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="SettingsTextAlign">Alignement du menu à gauche (désactivé) ou à droite (activé).</string>
|
||||
<string id="SettingsWidgetStart">(Widget uniquement) Démarrez automatiquement l'application à partir du widget sans attendre un clic.</string>
|
||||
</strings>
|
||||
<string id="LeftToRight">De gauche à droite</string>
|
||||
<string id="RightToLeft">De droite à gauche</string>
|
||||
<string id="SettingsWidgetStart">(Widget uniquement) Démarrez automatiquement l'application à partir du widget
|
||||
sans attendre un robinet.</string>
|
||||
<string id="SettingsEnableBatteryLevel">Activer le service d'arrière-plan pour envoyer la batterie de l'horloge
|
||||
niveau à Home Assistant.</string>
|
||||
<string id="SettingsBatteryLevelRefreshRate">Le taux de rafraîchissement (en minutes) auquel l'arrière-plan
|
||||
Le service doit répéter l'envoi du niveau de la batterie.</string>
|
||||
<string id="WebhookId">(Lecture seule) L'ID Webhook créé par la montre pour les mises à jour du niveau de batterie.
|
||||
Vous pourriez en avoir besoin pour le débogage.</string>
|
||||
</strings>
|
||||
|
@ -20,11 +20,8 @@
|
||||
|
||||
<strings>
|
||||
<string id="AppName" scope="glance">HomeAssistant</string>
|
||||
<string id="MenuItemOn">Επί</string>
|
||||
<string id="MenuItemOff">Μακριά από</string>
|
||||
<string id="MenuItemTap">Παρακέντηση</string>
|
||||
<string id="MenuItemMenu">Μενού</string>
|
||||
<string id="Confirm">Σίγουρος?</string>
|
||||
<string id="Executed" scope="glance">Επιβεβαιωμένος</string>
|
||||
<string id="NoPhone" scope="glance">Δεν υπάρχει σύνδεση τηλεφώνου</string>
|
||||
<string id="NoInternet">Δεν υπάρχει σύνδεση στο διαδίκτυο</string>
|
||||
<string id="NoResponse">Καμία απάντηση, ελέγξτε τη σύνδεση στο Διαδίκτυο</string>
|
||||
@ -37,19 +34,37 @@
|
||||
<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="Memory" scope="glance">Μνήμη</string>
|
||||
<!-- Για τις ρυθμίσεις GUI -->
|
||||
<string id="SettingsSelect">Επιλέγω...</string>
|
||||
<string id="SettingsApiKey">Κλειδί API για το HomeAssistant.</string>
|
||||
<string id="SettingsApiKeyPrompt">Διακριτικό πρόσβασης μακράς διαρκείας.</string>
|
||||
<string id="SettingsApiUrl">URL για το HomeAssistant API.</string>
|
||||
<string id="SettingsConfigUrl">URL για τη διαμόρφωση μενού (JSON).</string>
|
||||
<string id="SettingsAppTimeout">Timeout σε δευτερόλεπτα. Κλείστε την εφαρμογή μετά από αυτήν την περίοδο αδράνειας για να εξοικονομήσετε την μπαταρία της συσκευής.</string>
|
||||
<string id="SettingsConfirmTimeout">Μετά από αυτό το χρονικό διάστημα (σε δευτερόλεπτα), ένα παράθυρο διαλόγου επιβεβαίωσης για μια ενέργεια κλείνει αυτόματα και η ενέργεια ακυρώνεται. Ορίστε στο 0 για να απενεργοποιήσετε το χρονικό όριο.</string>
|
||||
<string id="SettingsUi">Αναπαράσταση τύπων με εικονίδια (απενεργοποίηση) ή με ετικέτες (ενεργό).</string>
|
||||
<string id="SettingsCacheConfig">Πρέπει η εφαρμογή να αποθηκεύσει προσωρινά τη διαμόρφωση του μενού;</string>
|
||||
<string id="SettingsClearCache">Εάν η εφαρμογή εκκαθαρίσει την υπάρχουσα κρυφή μνήμη την επόμενη φορά
|
||||
ξεκίνησε;</string>
|
||||
<string id="SettingsAppTimeout">Timeout σε δευτερόλεπτα. Έξοδος από την εφαρμογή μετά από αυτήν την περίοδο του
|
||||
αδράνεια για εξοικονόμηση μπαταρίας της συσκευής.</string>
|
||||
<string id="SettingsConfirmTimeout">Μετά από αυτό το διάστημα (σε δευτερόλεπτα), ένα παράθυρο διαλόγου επιβεβαίωσης για ένα
|
||||
η ενέργεια κλείνει αυτόματα και η ενέργεια ακυρώνεται. Ορίστε στο 0 για να απενεργοποιήσετε το χρονικό όριο.</string>
|
||||
<string id="SettingsTextAlign">Αριστερά (απενεργοποίηση) ή Δεξιά (ενεργό) Ευθυγράμμιση μενού.</string>
|
||||
<string id="SettingsWidgetStart">(Μόνο widget) Αυτόματη εκκίνηση της εφαρμογής από το widget χωρίς να περιμένετε ένα πάτημα.</string>
|
||||
</strings>
|
||||
<string id="LeftToRight">Από αριστερά προς τα δεξιά</string>
|
||||
<string id="RightToLeft">Δεξιά προς τα αριστερά</string>
|
||||
<string id="SettingsWidgetStart">(Μόνο γραφικό στοιχείο) Αυτόματη εκκίνηση της εφαρμογής από το γραφικό στοιχείο
|
||||
χωρίς να περιμένεις ένα πάτημα.</string>
|
||||
<string id="SettingsEnableBatteryLevel">Ενεργοποιήστε την υπηρεσία παρασκηνίου για αποστολή της μπαταρίας του ρολογιού
|
||||
επίπεδο στο Home Assistant.</string>
|
||||
<string id="SettingsBatteryLevelRefreshRate">Ο ρυθμός ανανέωσης (σε λεπτά) με τον οποίο το φόντο
|
||||
Το σέρβις θα πρέπει να επαναλάβει την αποστολή της στάθμης της μπαταρίας.</string>
|
||||
<string id="WebhookId">(Μόνο για ανάγνωση) Το αναγνωριστικό Webhook που δημιουργήθηκε από το ρολόι για ενημερώσεις επιπέδου μπαταρίας.
|
||||
Μπορεί να το χρειάζεστε για τον εντοπισμό σφαλμάτων.</string>
|
||||
</strings>
|
||||
|
@ -20,36 +20,51 @@
|
||||
|
||||
<strings>
|
||||
<string id="AppName" scope="glance">HomeAssistant</string>
|
||||
<string id="MenuItemOn">עַל</string>
|
||||
<string id="MenuItemOff">כבוי</string>
|
||||
<string id="MenuItemTap">בֶּרֶז</string>
|
||||
<string id="MenuItemMenu">תַפרִיט</string>
|
||||
<string id="Confirm">בטוח?</string>
|
||||
<string id="Executed" scope="glance">מְאוּשָׁר</string>
|
||||
<string id="NoPhone" scope="glance">אין חיבור לטלפון</string>
|
||||
<string id="NoInternet">אין חיבור אינטרנט</string>
|
||||
<string id="NoResponse">אין תגובה, בדוק חיבור לאינטרנט</string>
|
||||
<string id="NoAPIKey" scope="glance">אין מפתח API בהגדרות האפליקציה</string>
|
||||
<string id="NoApiUrl" scope="glance">אין כתובת API בהגדרות האפליקציה</string>
|
||||
<string id="NoConfigUrl" scope="glance">אין כתובת אתר תצורה בהגדרות האפליקציה</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="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="Memory" scope="glance">זיכרון</string>
|
||||
<!-- עבור ה-GUI של ההגדרות -->
|
||||
<string id="SettingsSelect">בחר...</string>
|
||||
<string id="SettingsApiKey">מפתח API עבור HomeAssistant.</string>
|
||||
<string id="SettingsApiKeyPrompt">אסימון גישה ארוך-חיים.</string>
|
||||
<string id="SettingsApiUrl">כתובת URL עבור HomeAssistant API.</string>
|
||||
<string id="SettingsConfigUrl">כתובת URL לתצורת תפריט (JSON).</string>
|
||||
<string id="SettingsAppTimeout">פסק זמן בשניות. צא מהאפליקציה לאחר תקופה זו של חוסר פעילות כדי לחסוך בסוללת המכשיר.</string>
|
||||
<string id="SettingsConfirmTimeout">לאחר זמן זה (בשניות), תיבת דו-שיח לאישור פעולה נסגרת אוטומטית והפעולה מבוטלת. הגדר ל-0 כדי לבטל את הזמן הקצוב.</string>
|
||||
<string id="SettingsUi">ייצוג סוגים עם סמלים (כבוי) או עם תוויות (מופעל).</string>
|
||||
<string id="SettingsConfigUrl">כתובת URL עבור תצורת תפריט (JSON).</string>
|
||||
<string id="SettingsCacheConfig">האם האפליקציה צריכה לשמור את תצורת התפריט במטמון?</string>
|
||||
<string id="SettingsClearCache">האם היישום צריך לנקות את המטמון הקיים בפעם הבאה שהוא
|
||||
התחיל?</string>
|
||||
<string id="SettingsAppTimeout">פסק זמן בשניות. צא מהאפליקציה לאחר תקופה זו של
|
||||
חוסר פעילות כדי לחסוך בסוללת המכשיר.</string>
|
||||
<string id="SettingsConfirmTimeout">לאחר זמן זה (בשניות), תיבת דו-שיח אישור עבור
|
||||
הפעולה נסגרת אוטומטית והפעולה מבוטלת. הגדר ל-0 כדי לבטל את הזמן הקצוב.</string>
|
||||
<string id="SettingsTextAlign">יישור תפריט שמאלה (כבוי) או ימינה (מופעל).</string>
|
||||
<string id="SettingsWidgetStart">(יישומון בלבד) הפעל אוטומטית את האפליקציה מהווידג'ט מבלי לחכות להקשה.</string>
|
||||
</strings>
|
||||
<string id="LeftToRight">משמאל לימין</string>
|
||||
<string id="RightToLeft">מימין לשמאל</string>
|
||||
<string id="SettingsWidgetStart">(יישומון בלבד) הפעל אוטומטית את האפליקציה מהווידג'ט
|
||||
בלי לחכות לברז.</string>
|
||||
<string id="SettingsEnableBatteryLevel">אפשר את שירות הרקע כדי לשלוח את סוללת השעון
|
||||
רמה ל-Home Assistant.</string>
|
||||
<string id="SettingsBatteryLevelRefreshRate">קצב הרענון (בדקות) שבו הרקע
|
||||
השירות צריך לחזור על שליחת רמת הסוללה.</string>
|
||||
<string id="WebhookId">(לקריאה בלבד) מזהה ה-Webhook שנוצר על ידי השעון עבור עדכוני רמת הסוללה.
|
||||
ייתכן שתדרוש את זה בשביל איתור באגים.</string>
|
||||
</strings>
|
||||
|
@ -20,11 +20,8 @@
|
||||
|
||||
<strings>
|
||||
<string id="AppName" scope="glance">HomeAssistant</string>
|
||||
<string id="MenuItemOn">Na</string>
|
||||
<string id="MenuItemOff">Isključeno</string>
|
||||
<string id="MenuItemTap">Dodirnite</string>
|
||||
<string id="MenuItemMenu">Jelovnik</string>
|
||||
<string id="Confirm">Naravno?</string>
|
||||
<string id="Executed" scope="glance">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>
|
||||
@ -37,19 +34,37 @@
|
||||
<string id="NoJson">HTTP zahtjev nije vratio JSON.</string>
|
||||
<string id="UnhandledHttpErr">HTTP zahtjev vratio je kod greške =</string>
|
||||
<string id="TrailingSlashErr">API URL ne smije imati kosu crtu na kraju '/'</string>
|
||||
<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="Unavailable" scope="glance">Nedostupan</string>
|
||||
<string id="Unconfigured" scope="glance">Nekonfigurirano</string>
|
||||
<string id="Cached" scope="glance">Spremljeno u predmemoriju</string>
|
||||
<string id="GlanceMenu" scope="glance">Jelovnik</string>
|
||||
<string id="Memory" scope="glance">Memorija</string>
|
||||
<!-- Za GUI postavki -->
|
||||
<string id="SettingsSelect">Izaberi...</string>
|
||||
<string id="SettingsApiKey">API ključ za HomeAssistant.</string>
|
||||
<string id="SettingsApiKeyPrompt">Dugotrajni pristupni token.</string>
|
||||
<string id="SettingsApiUrl">URL za HomeAssistant API.</string>
|
||||
<string id="SettingsConfigUrl">URL za konfiguraciju izbornika (JSON).</string>
|
||||
<string id="SettingsAppTimeout">Istek u sekundama. Izađite iz aplikacije nakon ovog razdoblja neaktivnosti kako biste uštedjeli bateriju uređaja.</string>
|
||||
<string id="SettingsConfirmTimeout">Nakon tog vremena (u sekundama), dijaloški okvir za potvrdu radnje automatski se zatvara i radnja se poništava. Postavite na 0 da onemogućite vremensko ograničenje.</string>
|
||||
<string id="SettingsUi">Predstavljanje tipova ikonama (isključeno) ili oznakama (uključeno).</string>
|
||||
<string id="SettingsCacheConfig">Treba li aplikacija spremiti konfiguraciju izbornika u predmemoriju?</string>
|
||||
<string id="SettingsClearCache">Treba li aplikacija sljedeći put izbrisati postojeću predmemoriju
|
||||
počeo?</string>
|
||||
<string id="SettingsAppTimeout">Istek u sekundama. Izađite iz aplikacije nakon tog razdoblja od
|
||||
neaktivnosti radi uštede baterije uređaja.</string>
|
||||
<string id="SettingsConfirmTimeout">Nakon tog vremena (u sekundama), dijaloški okvir potvrde za an
|
||||
radnja se automatski zatvara i akcija se poništava. Postavite na 0 da onemogućite vremensko ograničenje.</string>
|
||||
<string id="SettingsTextAlign">Lijevo (isključeno) ili desno (uključeno) poravnanje izbornika.</string>
|
||||
<string id="SettingsWidgetStart">(Samo widget) Automatski pokrenite aplikaciju iz widgeta bez čekanja na dodir.</string>
|
||||
</strings>
|
||||
<string id="LeftToRight">S lijeva nadesno</string>
|
||||
<string id="RightToLeft">S desna na lijevo</string>
|
||||
<string id="SettingsWidgetStart">(Samo widget) Automatski pokrenite aplikaciju iz widgeta
|
||||
bez čekanja na slavinu.</string>
|
||||
<string id="SettingsEnableBatteryLevel">Omogućite pozadinsku uslugu za slanje baterije sata
|
||||
razinu do kućnog pomoćnika.</string>
|
||||
<string id="SettingsBatteryLevelRefreshRate">Brzina osvježavanja (u minutama) pri kojoj pozadina
|
||||
servis bi trebao ponoviti slanje razine baterije.</string>
|
||||
<string id="WebhookId">(Samo za čitanje) Webhook ID koji je kreirao sat za ažuriranje razine baterije.
|
||||
Ovo vam može trebati za otklanjanje pogrešaka.</string>
|
||||
</strings>
|
||||
|
@ -20,11 +20,8 @@
|
||||
|
||||
<strings>
|
||||
<string id="AppName" scope="glance">HomeAssistant</string>
|
||||
<string id="MenuItemOn">Tovább</string>
|
||||
<string id="MenuItemOff">Ki</string>
|
||||
<string id="MenuItemTap">Koppintson a</string>
|
||||
<string id="MenuItemMenu">Menü</string>
|
||||
<string id="Confirm">Biztos?</string>
|
||||
<string id="Executed" scope="glance">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>
|
||||
@ -37,19 +34,37 @@
|
||||
<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="Checking" scope="glance">Ellenőrzés...</string>
|
||||
<string id="Unavailable" scope="glance">Nem érhető el</string>
|
||||
<string id="Unconfigured" scope="glance">Nincs konfigurálva</string>
|
||||
<string id="Cached" scope="glance">Gyorsítótárban</string>
|
||||
<string id="GlanceMenu" scope="glance">Menü</string>
|
||||
<string id="Memory" scope="glance">memória</string>
|
||||
<!-- A beállítások GUI-hoz -->
|
||||
<string id="SettingsSelect">Válasszon...</string>
|
||||
<string id="SettingsApiKey">API-kulcs a HomeAssistant számára.</string>
|
||||
<string id="SettingsApiKeyPrompt">Hosszú életű hozzáférési token.</string>
|
||||
<string id="SettingsApiUrl">A HomeAssistant API URL-je.</string>
|
||||
<string id="SettingsConfigUrl">URL a menükonfigurációhoz (JSON).</string>
|
||||
<string id="SettingsAppTimeout">Időtúllépés másodpercben. Az eszköz akkumulátorának kímélése érdekében lépjen ki az alkalmazásból ezen inaktivitási időszak után.</string>
|
||||
<string id="SettingsConfirmTimeout">Ezen idő letelte után (másodpercben) a művelet megerősítő párbeszédablakja automatikusan bezárul, és a művelet megszakad. Állítsa 0-ra az időtúllépés letiltásához.</string>
|
||||
<string id="SettingsUi">A típusokat ikonokkal (kikapcsolva) vagy címkékkel (bekapcsolva) ábrázolja.</string>
|
||||
<string id="SettingsCacheConfig">Az alkalmazásnak gyorsítótárba kell helyeznie a menü konfigurációját?</string>
|
||||
<string id="SettingsClearCache">Ha az alkalmazás legközelebb törli a meglévő gyorsítótárat
|
||||
elkezdődött?</string>
|
||||
<string id="SettingsAppTimeout">Időtúllépés másodpercben. Lépjen ki az alkalmazásból ezen időszak után
|
||||
tétlenség, hogy kímélje a készülék akkumulátorát.</string>
|
||||
<string id="SettingsConfirmTimeout">Ezen idő letelte után (másodpercben) megjelenik egy megerősítő párbeszédpanel az an
|
||||
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="SettingsTextAlign">Balra (ki) vagy Jobbra (be) Menüigazítás.</string>
|
||||
<string id="SettingsWidgetStart">(Csak widget) Az alkalmazás automatikus indítása a widgetről anélkül, hogy egy érintésre várna.</string>
|
||||
</strings>
|
||||
<string id="LeftToRight">Balról jobbra</string>
|
||||
<string id="RightToLeft">Jobbról balra</string>
|
||||
<string id="SettingsWidgetStart">(Csak widget) Az alkalmazás automatikus indítása a widgetről
|
||||
csapásra várva.</string>
|
||||
<string id="SettingsEnableBatteryLevel">Engedélyezze a háttérszolgáltatást az óra akkumulátorának küldéséhez
|
||||
szinten az Otthoni asszisztensre.</string>
|
||||
<string id="SettingsBatteryLevelRefreshRate">Az a frissítési gyakoriság (percben), amelynél a háttér
|
||||
a szerviznek meg kell ismételnie az akkumulátor töltöttségi szintjének küldését.</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ó.
|
||||
Erre szükség lehet a hibakereséshez.</string>
|
||||
</strings>
|
||||
|
@ -19,4 +19,5 @@
|
||||
<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>
|
||||
|
1
resources-icons-18/info_type.svg
Normal 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="blue" stroke="blue"/></svg>
|
After Width: | Height: | Size: 543 B |
@ -19,4 +19,5 @@
|
||||
<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>
|
||||
|
1
resources-icons-21/info_type.svg
Normal 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="blue" stroke="blue"/></svg>
|
After Width: | Height: | Size: 543 B |
@ -19,4 +19,5 @@
|
||||
<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>
|
||||
|
1
resources-icons-24/info_type.svg
Normal file
@ -0,0 +1 @@
|
||||
<svg height="24" viewBox="0 -960 960 960" width="24" 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 |
@ -19,4 +19,5 @@
|
||||
<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>
|
||||
|
1
resources-icons-26/info_type.svg
Normal file
@ -0,0 +1 @@
|
||||
<svg height="26" viewBox="0 -960 960 960" width="26" 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 |
@ -19,4 +19,5 @@
|
||||
<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>
|
||||
|
1
resources-icons-28/info_type.svg
Normal file
@ -0,0 +1 @@
|
||||
<svg height="28" viewBox="0 -960 960 960" width="28" 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 |
@ -19,4 +19,5 @@
|
||||
<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>
|
||||
|
1
resources-icons-30/info_type.svg
Normal file
@ -0,0 +1 @@
|
||||
<svg height="30" viewBox="0 -960 960 960" width="30" 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 |
@ -19,4 +19,5 @@
|
||||
<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>
|
||||
|
1
resources-icons-32/info_type.svg
Normal file
@ -0,0 +1 @@
|
||||
<svg height="32" viewBox="0 -960 960 960" width="32" 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 |
@ -19,4 +19,5 @@
|
||||
<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>
|
||||
|
1
resources-icons-38/info_type.svg
Normal file
@ -0,0 +1 @@
|
||||
<svg height="38" viewBox="0 -960 960 960" width="38" 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 |
@ -19,4 +19,5 @@
|
||||
<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>
|
||||
|
1
resources-icons-42/info_type.svg
Normal file
@ -0,0 +1 @@
|
||||
<svg height="42" viewBox="0 -960 960 960" width="42" 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 |
@ -19,4 +19,5 @@
|
||||
<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>
|
||||
|
1
resources-icons-46/info_type.svg
Normal file
@ -0,0 +1 @@
|
||||
<svg height="46" viewBox="0 -960 960 960" width="46" 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 |
@ -19,4 +19,5 @@
|
||||
<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>
|
||||
|
1
resources-icons-48/info_type.svg
Normal file
@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" height="48" viewBox="0 -960 960 960" width="48"><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 |
@ -19,4 +19,5 @@
|
||||
<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>
|
||||
|
1
resources-icons-53/info_type.svg
Normal file
@ -0,0 +1 @@
|
||||
<svg height="53" viewBox="0 -960 960 960" width="53" 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 |
@ -20,36 +20,51 @@
|
||||
|
||||
<strings>
|
||||
<string id="AppName" scope="glance">HomeAssistant</string>
|
||||
<string id="MenuItemOn">Pada</string>
|
||||
<string id="MenuItemOff">Mati</string>
|
||||
<string id="MenuItemTap">Mengetuk</string>
|
||||
<string id="MenuItemMenu">Menu</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 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="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="GlanceMenu" scope="glance">Menu</string>
|
||||
<string id="Memory" scope="glance">Penyimpanan</string>
|
||||
<!-- Untuk pengaturan GUI -->
|
||||
<string id="SettingsSelect">Pilih...</string>
|
||||
<string id="SettingsApiKey">Kunci API untuk HomeAssistant.</string>
|
||||
<string id="SettingsApiKeyPrompt">Token Akses Berumur Panjang.</string>
|
||||
<string id="SettingsApiUrl">URL untuk API HomeAssistant.</string>
|
||||
<string id="SettingsConfigUrl">URL untuk konfigurasi menu (JSON).</string>
|
||||
<string id="SettingsAppTimeout">Batas waktu dalam hitungan detik. Keluar dari aplikasi setelah periode tidak aktif ini untuk menghemat baterai perangkat.</string>
|
||||
<string id="SettingsConfirmTimeout">Setelah waktu ini (dalam detik), dialog konfirmasi untuk suatu tindakan secara otomatis ditutup dan tindakan tersebut dibatalkan. Setel ke 0 untuk menonaktifkan batas waktu.</string>
|
||||
<string id="SettingsUi">Mewakili tipe dengan ikon (mati) atau dengan label (aktif).</string>
|
||||
<string id="SettingsCacheConfig">Haruskah aplikasi menyimpan konfigurasi menu dalam cache?</string>
|
||||
<string id="SettingsClearCache">Sebaiknya aplikasi menghapus cache yang ada di lain waktu
|
||||
dimulai?</string>
|
||||
<string id="SettingsAppTimeout">Batas waktu dalam hitungan detik. Keluar dari aplikasi setelah periode ini
|
||||
ketidakaktifan untuk menghemat baterai perangkat.</string>
|
||||
<string id="SettingsConfirmTimeout">Setelah waktu ini (dalam detik), dialog konfirmasi untuk
|
||||
tindakan secara otomatis ditutup dan tindakan dibatalkan. Setel ke 0 untuk menonaktifkan batas waktu.</string>
|
||||
<string id="SettingsTextAlign">Penyelarasan Menu Kiri (mati) atau Kanan (hidup).</string>
|
||||
<string id="SettingsWidgetStart">(Khusus widget) Secara otomatis memulai aplikasi dari widget tanpa menunggu ketukan.</string>
|
||||
</strings>
|
||||
<string id="LeftToRight">Kiri ke kanan</string>
|
||||
<string id="RightToLeft">Kanan ke kiri</string>
|
||||
<string id="SettingsWidgetStart">(Khusus widget) Secara otomatis memulai aplikasi dari widget
|
||||
tanpa menunggu ketukan.</string>
|
||||
<string id="SettingsEnableBatteryLevel">Aktifkan layanan latar belakang untuk mengirim baterai jam
|
||||
tingkat ke Asisten Rumah.</string>
|
||||
<string id="SettingsBatteryLevelRefreshRate">Kecepatan refresh (dalam menit) pada latar belakang
|
||||
layanan harus mengulangi pengiriman level baterai.</string>
|
||||
<string id="WebhookId">(Hanya baca) ID Webhook yang dibuat oleh jam tangan untuk pembaruan level baterai.
|
||||
Anda mungkin memerlukan ini untuk debugging.</string>
|
||||
</strings>
|
||||
|
@ -20,11 +20,8 @@
|
||||
|
||||
<strings>
|
||||
<string id="AppName" scope="glance">HomeAssistant</string>
|
||||
<string id="MenuItemOn">SU</string>
|
||||
<string id="MenuItemOff">Spento</string>
|
||||
<string id="MenuItemTap">Rubinetto</string>
|
||||
<string id="MenuItemMenu">Menù</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>
|
||||
@ -37,19 +34,37 @@
|
||||
<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="Checking" scope="glance">Controllo...</string>
|
||||
<string id="Unavailable" scope="glance">Non disponibile</string>
|
||||
<string id="Unconfigured" scope="glance">Non configurato</string>
|
||||
<string id="Cached" scope="glance">Memorizzato nella cache</string>
|
||||
<string id="GlanceMenu" scope="glance">Menù</string>
|
||||
<string id="Memory" scope="glance">Memoria</string>
|
||||
<!-- Per la GUI delle impostazioni -->
|
||||
<string id="SettingsSelect">Selezionare...</string>
|
||||
<string id="SettingsApiKey">Chiave API per HomeAssistant.</string>
|
||||
<string id="SettingsApiKeyPrompt">Token di accesso di lunga durata.</string>
|
||||
<string id="SettingsApiUrl">URL per l'API HomeAssistant.</string>
|
||||
<string id="SettingsConfigUrl">URL per la configurazione del menu (JSON).</string>
|
||||
<string id="SettingsAppTimeout">Timeout in secondi. Uscire dall'applicazione dopo questo periodo di inattività per risparmiare la batteria del dispositivo.</string>
|
||||
<string id="SettingsConfirmTimeout">Trascorso questo tempo (in secondi), una finestra di dialogo di conferma per un'azione viene chiusa automaticamente e l'azione viene annullata. Impostare su 0 per disabilitare il timeout.</string>
|
||||
<string id="SettingsUi">Rappresentazione dei tipi con icone (disattivata) o con etichette (attivata).</string>
|
||||
<string id="SettingsCacheConfig">L'applicazione dovrebbe memorizzare nella cache la configurazione del menu?</string>
|
||||
<string id="SettingsClearCache">L'applicazione dovrebbe cancellare la cache esistente la prossima volta
|
||||
iniziato?</string>
|
||||
<string id="SettingsAppTimeout">Timeout in secondi. Uscire dall'applicazione dopo questo periodo di
|
||||
inattività per risparmiare la batteria del dispositivo.</string>
|
||||
<string id="SettingsConfirmTimeout">Trascorso questo tempo (in secondi), verrà visualizzata una finestra di dialogo di conferma per un
|
||||
l'azione viene chiusa automaticamente e annullata. Impostare su 0 per disabilitare il timeout.</string>
|
||||
<string id="SettingsTextAlign">Allineamento del menu a sinistra (spento) o a destra (acceso).</string>
|
||||
<string id="SettingsWidgetStart">(Solo widget) Avvia automaticamente l'applicazione dal widget senza attendere un tocco.</string>
|
||||
</strings>
|
||||
<string id="LeftToRight">Da sinistra a destra</string>
|
||||
<string id="RightToLeft">Da destra a sinistra</string>
|
||||
<string id="SettingsWidgetStart">(Solo widget) Avvia automaticamente l'applicazione dal widget
|
||||
senza aspettare un tocco.</string>
|
||||
<string id="SettingsEnableBatteryLevel">Abilita il servizio in background per inviare la batteria dell'orologio
|
||||
livello su Home Assistant.</string>
|
||||
<string id="SettingsBatteryLevelRefreshRate">La frequenza di aggiornamento (in minuti) alla quale viene visualizzato lo sfondo
|
||||
il servizio dovrebbe ripetere l'invio del livello della batteria.</string>
|
||||
<string id="WebhookId">(Sola lettura) L'ID webhook creato dall'orologio per gli aggiornamenti del livello della batteria.
|
||||
Potrebbe essere necessario per il debug.</string>
|
||||
</strings>
|
||||
|
@ -20,11 +20,8 @@
|
||||
|
||||
<strings>
|
||||
<string id="AppName" scope="glance">HomeAssistant</string>
|
||||
<string id="MenuItemOn">の上</string>
|
||||
<string id="MenuItemOff">オフ</string>
|
||||
<string id="MenuItemTap">タップ</string>
|
||||
<string id="MenuItemMenu">メニュー</string>
|
||||
<string id="Confirm">もちろん?</string>
|
||||
<string id="Executed" scope="glance">確認済み</string>
|
||||
<string id="NoPhone" scope="glance">電話が接続されていません</string>
|
||||
<string id="NoInternet">インターネット接続なし</string>
|
||||
<string id="NoResponse">応答がありません。インターネット接続を確認してください</string>
|
||||
@ -37,19 +34,37 @@
|
||||
<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="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="Memory" scope="glance">メモリ</string>
|
||||
<!-- 設定GUIの場合 -->
|
||||
<string id="SettingsSelect">選択する...</string>
|
||||
<string id="SettingsApiKey">ホームアシスタントの API キー。</string>
|
||||
<string id="SettingsApiKeyPrompt">有効期間の長いアクセス トークン。</string>
|
||||
<string id="SettingsApiUrl">ホームアシスタント API の URL。</string>
|
||||
<string id="SettingsConfigUrl">メニュー構成の URL (JSON)。</string>
|
||||
<string id="SettingsAppTimeout">秒単位のタイムアウト。デバイスのバッテリーを節約するために、この期間非アクティブになった後はアプリケーションを終了してください。</string>
|
||||
<string id="SettingsConfirmTimeout">この時間 (秒単位) が経過すると、アクションの確認ダイアログが自動的に閉じられ、アクションがキャンセルされます。タイムアウトを無効にするには、0 に設定します。</string>
|
||||
<string id="SettingsUi">タイプをアイコン (オフ) またはラベル (オン) で表します。</string>
|
||||
<string id="SettingsCacheConfig">アプリケーションはメニュー構成をキャッシュする必要がありますか?</string>
|
||||
<string id="SettingsClearCache">次回アプリケーションが既存のキャッシュをクリアする必要があるかどうか
|
||||
始めましたか?</string>
|
||||
<string id="SettingsAppTimeout">秒単位のタイムアウト。この期間が経過したらアプリケーションを終了してください
|
||||
デバイスのバッテリーを節約するために非アクティブにします。</string>
|
||||
<string id="SettingsConfirmTimeout">この時間 (秒単位) が経過すると、確認ダイアログが表示されます。
|
||||
アクションは自動的に閉じられ、アクションはキャンセルされます。タイムアウトを無効にするには、0 に設定します。</string>
|
||||
<string id="SettingsTextAlign">左 (オフ) または右 (オン) メニューの配置。</string>
|
||||
<string id="SettingsWidgetStart">(ウィジェットのみ)タップを待たずにウィジェットからアプリを自動起動します。</string>
|
||||
</strings>
|
||||
<string id="LeftToRight">左から右へ</string>
|
||||
<string id="RightToLeft">右から左に</string>
|
||||
<string id="SettingsWidgetStart">(ウィジェットのみ) ウィジェットからアプリを自動起動します
|
||||
タップを待たずに。</string>
|
||||
<string id="SettingsEnableBatteryLevel">時計のバッテリーを送信するバックグラウンド サービスを有効にする
|
||||
ホームアシスタントレベル。</string>
|
||||
<string id="SettingsBatteryLevelRefreshRate">バックグラウンドのリフレッシュ レート (分単位)。
|
||||
サービスはバッテリー残量の送信を繰り返す必要があります。</string>
|
||||
<string id="WebhookId">(読み取り専用) バッテリー レベルの更新のためにウォッチによって作成された Webhook ID。
|
||||
デバッグのためにこれが必要になる場合があります。</string>
|
||||
</strings>
|
||||
|
@ -20,11 +20,8 @@
|
||||
|
||||
<strings>
|
||||
<string id="AppName" scope="glance">HomeAssistant</string>
|
||||
<string id="MenuItemOn">~에</string>
|
||||
<string id="MenuItemOff">끄다</string>
|
||||
<string id="MenuItemTap">수도꼭지</string>
|
||||
<string id="MenuItemMenu">메뉴</string>
|
||||
<string id="Confirm">확신하는?</string>
|
||||
<string id="Executed" scope="glance">확인됨</string>
|
||||
<string id="NoPhone" scope="glance">전화 연결 없음</string>
|
||||
<string id="NoInternet">인터넷에 연결되지 않음</string>
|
||||
<string id="NoResponse">응답이 없습니다. 인터넷 연결을 확인하세요.</string>
|
||||
@ -36,20 +33,38 @@
|
||||
<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="TrailingSlashErr">API URL에는 후행 슬래시 '/'가 있어서는 안 됩니다.</string>
|
||||
<string id="WebhookFailed">웹훅 등록 실패</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="Memory" scope="glance">메모리</string>
|
||||
<!-- 설정 GUI의 경우 -->
|
||||
<string id="SettingsSelect">선택하다...</string>
|
||||
<string id="SettingsApiKey">HomeAssistant용 API 키.</string>
|
||||
<string id="SettingsApiKeyPrompt">장기 액세스 토큰.</string>
|
||||
<string id="SettingsApiUrl">HomeAssistant API의 URL입니다.</string>
|
||||
<string id="SettingsConfigUrl">메뉴 구성을 위한 URL(JSON)입니다.</string>
|
||||
<string id="SettingsAppTimeout">시간 초과(초)입니다. 장치 배터리를 절약하려면 이 비활성 기간 후에 애플리케이션을 종료하십시오.</string>
|
||||
<string id="SettingsConfirmTimeout">이 시간(초)이 지나면 작업에 대한 확인 대화 상자가 자동으로 닫히고 작업이 취소됩니다. 시간 초과를 비활성화하려면 0으로 설정합니다.</string>
|
||||
<string id="SettingsUi">아이콘(끄기) 또는 레이블(켜기)로 유형을 나타냅니다.</string>
|
||||
<string id="SettingsCacheConfig">애플리케이션이 메뉴 구성을 캐시해야 합니까?</string>
|
||||
<string id="SettingsClearCache">다음 번에 애플리케이션이 기존 캐시를 지워야 할까요?
|
||||
시작됐나요?</string>
|
||||
<string id="SettingsAppTimeout">시간 초과(초)입니다. 이 기간이 지나면 응용 프로그램을 종료하십시오.
|
||||
장치 배터리를 절약하기 위해 활동하지 않습니다.</string>
|
||||
<string id="SettingsConfirmTimeout">이 시간(초)이 지나면 확인 대화 상자가 나타납니다.
|
||||
작업이 자동으로 닫히고 작업이 취소됩니다. 시간 초과를 비활성화하려면 0으로 설정합니다.</string>
|
||||
<string id="SettingsTextAlign">왼쪽(끄기) 또는 오른쪽(켜기) 메뉴 정렬.</string>
|
||||
<string id="SettingsWidgetStart">(위젯만 해당) 탭을 기다리지 않고 위젯에서 애플리케이션을 자동으로 시작합니다.</string>
|
||||
</strings>
|
||||
<string id="LeftToRight">왼쪽에서 오른쪽으로</string>
|
||||
<string id="RightToLeft">오른쪽에서 왼쪽으로</string>
|
||||
<string id="SettingsWidgetStart">(위젯만 해당) 위젯에서 자동으로 애플리케이션 시작
|
||||
탭을 기다리지 않고.</string>
|
||||
<string id="SettingsEnableBatteryLevel">시계 배터리를 보내려면 백그라운드 서비스를 활성화하세요.
|
||||
홈어시스턴트 수준.</string>
|
||||
<string id="SettingsBatteryLevelRefreshRate">배경이 재생되는 새로 고침 빈도(분)입니다.
|
||||
서비스는 배터리 잔량 전송을 반복해야 합니다.</string>
|
||||
<string id="WebhookId">(읽기 전용) 배터리 잔량 업데이트를 위해 시계에서 생성된 웹훅 ID입니다.
|
||||
디버깅을 위해 이 정보가 필요할 수 있습니다.</string>
|
||||
</strings>
|
||||
|
@ -13,5 +13,5 @@
|
||||
-->
|
||||
|
||||
<drawables>
|
||||
<bitmap id="LauncherIcon" filename="launcher.png" />
|
||||
<bitmap id="LauncherIcon" filename="launcher.svg" />
|
||||
</drawables>
|
||||
|
4
resources-launcher-26-26/launcher.svg
Normal file
@ -0,0 +1,4 @@
|
||||
<svg fill="none" height="26" viewBox="0 0 400 400" width="26" 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 |
@ -13,5 +13,5 @@
|
||||
-->
|
||||
|
||||
<drawables>
|
||||
<bitmap id="LauncherIcon" filename="launcher.png" />
|
||||
<bitmap id="LauncherIcon" filename="launcher.svg" />
|
||||
</drawables>
|
||||
|
Before Width: | Height: | Size: 4.0 KiB |
4
resources-launcher-30-30/launcher.svg
Normal file
@ -0,0 +1,4 @@
|
||||
<svg fill="none" height="30" viewBox="0 0 400 400" width="30" 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 |
@ -13,5 +13,5 @@
|
||||
-->
|
||||
|
||||
<drawables>
|
||||
<bitmap id="LauncherIcon" filename="launcher.png" />
|
||||
<bitmap id="LauncherIcon" filename="launcher.svg" />
|
||||
</drawables>
|
||||
|
Before Width: | Height: | Size: 4.2 KiB |
4
resources-launcher-33-33/launcher.svg
Normal file
@ -0,0 +1,4 @@
|
||||
<svg fill="none" height="33" viewBox="0 0 400 400" width="33" 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 |
@ -13,5 +13,5 @@
|
||||
-->
|
||||
|
||||
<drawables>
|
||||
<bitmap id="LauncherIcon" filename="launcher.png" />
|
||||
<bitmap id="LauncherIcon" filename="launcher.svg" />
|
||||
</drawables>
|
||||
|
Before Width: | Height: | Size: 4.2 KiB |
4
resources-launcher-35-35/launcher.svg
Normal file
@ -0,0 +1,4 @@
|
||||
<svg fill="none" height="35" viewBox="0 0 400 400" width="35" 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 |
@ -13,5 +13,5 @@
|
||||
-->
|
||||
|
||||
<drawables>
|
||||
<bitmap id="LauncherIcon" filename="launcher.png" />
|
||||
<bitmap id="LauncherIcon" filename="launcher.svg" />
|
||||
</drawables>
|
||||
|
Before Width: | Height: | Size: 4.2 KiB |
4
resources-launcher-36-36/launcher.svg
Normal file
@ -0,0 +1,4 @@
|
||||
<svg fill="none" height="36" viewBox="0 0 400 400" width="36" 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 |
@ -13,5 +13,5 @@
|
||||
-->
|
||||
|
||||
<drawables>
|
||||
<bitmap id="LauncherIcon" filename="launcher.png" />
|
||||
<bitmap id="LauncherIcon" filename="launcher.svg" />
|
||||
</drawables>
|
||||
|
Before Width: | Height: | Size: 4.3 KiB |
4
resources-launcher-40-40/launcher.svg
Normal file
@ -0,0 +1,4 @@
|
||||
<svg fill="none" height="40" viewBox="0 0 400 400" width="40" 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 |
@ -13,5 +13,5 @@
|
||||
-->
|
||||
|
||||
<drawables>
|
||||
<bitmap id="LauncherIcon" filename="launcher.png" />
|
||||
<bitmap id="LauncherIcon" filename="launcher.svg" />
|
||||
</drawables>
|
||||
|
Before Width: | Height: | Size: 4.8 KiB |
4
resources-launcher-54-54/launcher.svg
Normal file
@ -0,0 +1,4 @@
|
||||
<svg fill="none" height="54" viewBox="0 0 400 400" width="54" 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 |
@ -13,5 +13,5 @@
|
||||
-->
|
||||
|
||||
<drawables>
|
||||
<bitmap id="LauncherIcon" filename="launcher.png" />
|
||||
<bitmap id="LauncherIcon" filename="launcher.svg" />
|
||||
</drawables>
|
||||
|
Before Width: | Height: | Size: 5.1 KiB |
4
resources-launcher-60-60/launcher.svg
Normal file
@ -0,0 +1,4 @@
|
||||
<svg fill="none" height="60" viewBox="0 0 400 400" width="60" 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 |
@ -13,5 +13,5 @@
|
||||
-->
|
||||
|
||||
<drawables>
|
||||
<bitmap id="LauncherIcon" filename="launcher.png" />
|
||||
<bitmap id="LauncherIcon" filename="launcher.svg" />
|
||||
</drawables>
|
||||
|
Before Width: | Height: | Size: 5.1 KiB |