Commit Graph
100 Commits
Author SHA1 Message Date
Philip Abbey bd32d94ac7 Merge pull request #85 from house-of-abbey/restyled/79-confirm-on-toggle
Restyle Initial Solution
2024-01-19 19:40:50 +00:00
Philip Abbey 44ec2e2eb1 Initial Solution 2024-01-19 19:26:02 +00:00
Philip Abbey 1325f8c382 Merge pull request #82 from house-of-abbey/52-allow-parameters-to-be-send-with-tap-menu-items
52 allow parameters to be send with tap menu items
2024-01-19 18:15:39 +00:00
Philip AbbeyandJoseph Abbey 2be255bb71 Removal of menu identifiers as not actually required
Toggle menu is now consistent with the use of data objects in tap and template. HA 'notify' actions now work.

Co-Authored-By: Joseph Abbey <me@josephabbey.dev>
2024-01-19 18:04:55 +00:00
Philip Abbey 67a5f0a14e Amending naming convention
Removing some inconsistencies
2024-01-19 16:11:30 +00:00
Philip Abbey 4e96036d66 Removed code to dismiss the ErrorView
The automatic ErrorView.unShow() when the HTTP Request callback success was preventing errors being read. Removing to see if they are really required.
2024-01-18 21:15:59 +00:00
Philip Abbey 7ffbd84785 Initial working version 2024-01-17 23:31:27 +00:00
philipabbey 1132bdf57b Apply automatic changes 2024-01-14 20:49:31 +00:00
Philip Abbey 53bd8d3c50 Documentation update
Remnants that perhaps should have been in the previous merge.
2024-01-14 20:19:40 +00:00
Philip Abbey 81762fbf7d Cached 'has' result in initialize()
Also amended a bit of README that was missed and added a memory usage in the RootView for widgets here memory is limited, to serve as a warning to users who are likely to complain.
2024-01-14 19:59:18 +00:00
Philip Abbey 84aaa44995 Merge pull request #72 from house-of-abbey/26-sensor-readings-as-text-display
Template Menu Item
2024-01-14 17:16:34 +00:00
Philip Abbey 4447c35761 Updated settings documentation 2024-01-13 08:29:35 +00:00
Philip AbbeyandJoseph Abbey 398dc86cbf Battery device deletion docs
Co-Authored-By: Joseph Abbey <me@josephabbey.dev>
2024-01-12 18:34:13 +00:00
Philip Abbey 4665d144c5 Merge pull request #71 from house-of-abbey/70-fix-naming-of-unsetting-functions
Fix naming of unsetting functions
2024-01-12 18:11:47 +00:00
Philip Abbey cd416bc81b Merge pull request #69 from house-of-abbey/68-automatically-remove-the-webhook-id-when-battery-level-is-disabled
Automatically remove webhook id
2024-01-12 17:57:46 +00:00
Philip Abbey f2316dc0f6 Update README.md 2024-01-12 17:54:59 +00:00
philipabbey 59dbd0aa0a Apply automatic changes 2024-01-12 17:46:38 +00:00
Philip Abbey 9df93c0c23 Read only Webhook ID property
Amended some documentation.
2024-01-12 17:34:05 +00:00
Philip Abbey 825e863a68 Update Troubleshooting.md
Fixed revised curl command for send_battery.sh
2024-01-12 17:16:45 +00:00
Philip Abbey 827d0dbeec Merge pull request #53 from house-of-abbey/51-use-webhooks-for-reporting-battery-levels
Use webhooks for reporting battery
2024-01-11 22:46:10 +00:00
Philip Abbey 67731708b3 Update compile_sim.cmd
Specialised for testing Vivoactive3 under release conditions in order to check we are not running out of memory.
2024-01-11 20:04:52 +00:00
Philip Abbey 6a28cd8136 Merge pull request #62 from house-of-abbey/59-minor-fix-for-translation-script
Fix formatting in translation script output
2024-01-11 19:33:57 +00:00
philipabbey 52967e87d4 Apply automatic changes 2024-01-11 11:10:47 +00:00
Philip Abbey 4b450065c8 Merge pull request #58 from house-of-abbey/restyled/56-fix-bad-translation-for-all-languages
Restyle 56 fix bad translation for all languages
2024-01-11 09:42:37 +00:00
Philip Abbey 7074940579 Update corrections.xml
Taking a user's preferred translations, checking a second.
2024-01-11 09:38:52 +00:00
Philip Abbey 8133b434b7 Merge branch 'main' into 56-fix-bad-translation-for-all-languages 2024-01-11 09:37:13 +00:00
Philip Abbey ac5f43af54 Merge pull request #55 from jjusko/main
Taking user's preferred translation.
2024-01-11 09:34:58 +00:00
philipabbey e77e1a76b8 Apply automatic changes 2024-01-11 09:24:14 +00:00
Philip Abbey 96ae4b231a Update strings.xml 2024-01-11 09:10:59 +00:00
Philip Abbey 4e6f8bcefc Update README.md
Added details of version 2.2.
2024-01-09 21:37:46 +00:00
Philip Abbey 70e0bc3ff1 Update README.md 2024-01-09 21:31:10 +00:00
Philip Abbey b51e2aa2a4 Update BatteryReporting.md 2024-01-09 21:03:47 +00:00
Philip Abbey e9de9e5890 Update README.md 2024-01-09 21:03:12 +00:00
Philip Abbey 376c72d7ba Merge pull request #49 from house-of-abbey/31-reduce-startup-delay
31 reduce startup delay
2024-01-09 20:27:26 +00:00
Philip Abbey 1db885e10f Merge branch '31-reduce-startup-delay' of ssh://github.com/house-of-abbey/GarminHomeAssistant into 31-reduce-startup-delay 2024-01-09 17:37:47 +00:00
Philip Abbey 40377e6887 Amended App settings screenshot 2024-01-09 17:37:41 +00:00
Philip Abbey 3b0b3fac32 Merge pull request #50 from house-of-abbey/restyled/31-reduce-startup-delay
Restyle 31 reduce startup delay
2024-01-09 11:02:51 +00:00
Philip Abbey 864a832e69 GUI refresh amendments 2024-01-09 08:58:58 +00:00
philipabbey 9858ebbe73 Apply automatic changes 2024-01-08 00:18:56 +00:00
Philip Abbey 9724430168 Merge branch 'main' into 31-reduce-startup-delay 2024-01-08 00:14:05 +00:00
Philip Abbey 0a2d257421 Initial solution 2024-01-08 00:08:12 +00:00
Philip Abbey 92e6917589 Merge pull request #44 from house-of-abbey/42-uninternationalised-string-needs-adding-to-stringsxml
42 uninternationalised string needs adding to stringsxml
2024-01-07 21:27:29 +00:00
Philip Abbey 7c1082849d Merge pull request #46 from house-of-abbey/43-battery-reporting-stops-working-when-scrolling-trough-the-widget
Amend behaviour of background service for glances.
2024-01-07 20:59:37 +00:00
Philip Abbey c78cd574b1 Merge pull request #47 from house-of-abbey/restyled/43-battery-reporting-stops-working-when-scrolling-trough-the-widget
Restyle Update Settings.mc
2024-01-07 19:13:01 +00:00
Philip Abbey 874ced99c2 Update Settings.mc
Do not cancel the background service just because we show the app's glance.
2024-01-07 19:12:03 +00:00
Philip Abbey 97273155e1 Merge pull request #45 from house-of-abbey/restyled/42-uninternationalised-string-needs-adding-to-stringsxml
Restyle 42 uninternationalised string needs adding to stringsxml
2024-01-07 18:41:18 +00:00
philipabbey 6ae96cfd7c Apply automatic changes 2024-01-06 21:46:07 +00:00
Philip Abbey c0787733b7 Amended as required
**/strings.xml need recreating server side.
2024-01-06 21:33:48 +00:00
Philip AbbeyandJoseph Abbey 24ebc72080 Documentation tidy
Co-Authored-By: Joseph Abbey <me@josephabbey.dev>
2024-01-06 21:23:38 +00:00
Philip AbbeyandJoseph Abbey 3b10bb9272 Update BatteryReporting.md
Co-Authored-By: Joseph Abbey <me@josephabbey.dev>
2024-01-06 21:17:28 +00:00
Philip Abbey e8242490fd Merge branch 'main' of ssh://github.com/house-of-abbey/GarminHomeAssistant 2024-01-06 21:16:59 +00:00
Philip AbbeyandJoseph Abbey a8c9085dc4 Updated troubleshooting guide.
Now includes battery level transmission debug.

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

Co-Authored-By: Joseph Abbey <me@josephabbey.dev>
2023-12-16 17:03:38 +00:00
Philip Abbey 39c77bb284 Update manifest.xml
Reversing changes made by saving from the GUI manifest editor. I would like to retain the comments with the watch face properties.
2023-12-15 00:31:47 +01:00
Philip Abbey 8c5aa820ef Update README.md
Added version information for 1.7
2023-12-13 08:53:00 +00:00
Philip Abbey a13f04fa6c Merge pull request #28 from j-a-n/confirm_timeout
Auto close confirmation dialog after timeout
2023-12-11 08:22:10 +00:00
Philip Abbey 44d5bf8e93 Update README.md 2023-12-06 22:56:59 +00:00
Philip Abbey fae2241f01 Merge pull request #24 from house-of-abbey/23-prevent-battery-drain-by-quitting-the-app-after-a-timeout
Initial version with "auto quit"
2023-12-06 22:43:42 +00:00
Philip Abbey 42e89906f6 Review comments 2023-12-06 22:09:22 +00:00
Philip Abbey 8c0540ee45 Initial version with "auto quit"
Quit the application after a user settable period of time based on a timeout value from the settings.
2023-12-02 19:04:53 +00:00