From 3bd5361ad247b01eca7b23ba48a52695f16fd37b Mon Sep 17 00:00:00 2001 From: Philip Abbey Date: Sun, 12 Nov 2023 17:36:19 +0000 Subject: [PATCH] API Level reduced MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reduced minimum API Level required from 3.3.0 to 3.1.0 to allow more device “part numbers” to be satisfied. Fixed an issue with one device's icon size. --- .vscode/settings.json | 6 ++++++ README.md | 4 ++-- manifest.xml | 5 +++-- monkey.jungle | 8 +++++--- .../drawables.xml | 0 .../launcher.png | Bin 3840 -> 3909 bytes 6 files changed, 16 insertions(+), 7 deletions(-) create mode 100644 .vscode/settings.json rename {resources-launcher-25-25 - DELETE => resources-launcher-26-26}/drawables.xml (100%) rename {resources-launcher-25-25 - DELETE => resources-launcher-26-26}/launcher.png (68%) diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..9c38135 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,6 @@ +{ + "cSpell.words": [ + "usbs", + "Venu" + ] +} \ No newline at end of file diff --git a/README.md b/README.md index 8efdd90..a7463dc 100644 --- a/README.md +++ b/README.md @@ -4,8 +4,7 @@ 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. 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/)). @@ -150,3 +149,4 @@ When you change the JSON file defining your dashboard, you must exit the applica |:-------:|---------| | 1.0 | Initial release for 26 devices. | | 1.1 | Updated for 54 more devices, 80 in total. Scene support. Added vibrate acknowledgement for tap-based menu items. Falls back to a custom visual confirmation in the absence of 'toast' and vibrate support. Bug fix for large menus needing status updates. | +| 1.2 | Do not crash on zero items to update. Report unreachable URLs. Verify API URL does not have a trailing slash '/'. Increased HTTP response diagnosis. Reduced minimum API Level required from 3.3.0 to 3.1.0 to allow more device "part numbers" to be satisfied. | diff --git a/manifest.xml b/manifest.xml index 1c5790f..3f2a12b 100644 --- a/manifest.xml +++ b/manifest.xml @@ -21,7 +21,7 @@ Use "Monkey C: Edit Application" from the Visual Studio Code command palette to update the application attributes. --> - + @@ -124,6 +124,7 @@ + diff --git a/monkey.jungle b/monkey.jungle index cf3cf5b..cd12c66 100644 --- a/monkey.jungle +++ b/monkey.jungle @@ -18,8 +18,9 @@ project.manifest = manifest.xml -# Device Reference -# https://developer.garmin.com/connect-iq/reference-guides/devices-reference/ +# Device References +# * https://developer.garmin.com/connect-iq/compatible-devices/ +# * https://developer.garmin.com/connect-iq/reference-guides/devices-reference/ # # Widget launcher icon, multiple resolutions # https://forums.garmin.com/developer/connect-iq/f/discussion/255433/widget-launcher-icon-multiple-resolutions/1563305 @@ -121,7 +122,8 @@ instinct2.resourcePath = $(instinct2.resourcePath);resources-launcher-62-62;reso instinct2s.resourcePath = $(instinct2s.resourcePath);resources-launcher-54-54;resources-icons-18 # Screen Size 176x176 launcher icon size 62x62 instinct2x.resourcePath = $(instinct2x.resourcePath);resources-launcher-62-62;resources-icons-21 -instinctcrossover.resourcePath = $(instinctcrossover.resourcePath);resources-launcher-62-62;resources-icons-21 +# Screen Size 176x176 launcher icon size 26x26 +instinctcrossover.resourcePath = $(instinctcrossover.resourcePath);resources-launcher-26-26;resources-icons-21 # Screen Size 218x218 launcher icon size 30x30 legacyherocaptainmarvel.resourcePath = $(legacyherocaptainmarvel.resourcePath);resources-launcher-30-30;resources-icons-26 # Screen Size 260x260 launcher icon size 35x35 diff --git a/resources-launcher-25-25 - DELETE/drawables.xml b/resources-launcher-26-26/drawables.xml similarity index 100% rename from resources-launcher-25-25 - DELETE/drawables.xml rename to resources-launcher-26-26/drawables.xml diff --git a/resources-launcher-25-25 - DELETE/launcher.png b/resources-launcher-26-26/launcher.png similarity index 68% rename from resources-launcher-25-25 - DELETE/launcher.png rename to resources-launcher-26-26/launcher.png index 7509b0b14ff1ddbcec3b71973449ccb0e4813a20..c82ef3a7b25ae1ad394abe8c5d528331c4ca3ad5 100644 GIT binary patch delta 1209 zcmV;q1V;OS9>pFZiBL{Q4GJ0x0000DNk~Le0000Q0000Q2nGNE0I5n$&aok%3V(1( zL_t(|+N_mrXw_91z<=j|&b@cLo0>0kn|Bi@TTbUJ)O?#7O)03kh;+s+B1^@>q%y=L z0tHE>H%aMJeTjk)(oixD{32FDFC>y0WSV~1Vrw?<{oi~4FX!pQUhj14COzCxCm!T7SYIV0m&Y zh|qcMDkd@j%K~Rc0}T(IKkz4%SW#a9^F%COHels5J9y&Nw^+C9W2V$K;JIF(DtiQ8 zzQZ?S39wAW;$;FJeC{jK%71I_#>)=C-UVK`Ey$`ERzSnTj?;$2tO&@>>929sK^7VCn%?x}!0bh?B6R|fBD1vDS1CS@Ty+_pO5#u{y zQaRJ+KEQ=mprqoShifm8B>>I;%?oLT|c(s*$Fuo1UeM1SGAK14|0KR5vzp@$5-b-G8Bt!APn_FxNw;dc=$AfD}j7_h!qR6FvnpUsp zsT~I?j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