13 Commits

Author SHA1 Message Date
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
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
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
4ab25ef860 Comment header update
Corrected spelling of username of contributor.
2023-12-17 12:46:20 +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 Abbey
765d7f7f50 Removed timer based update mechanism
Instead chaining calls from the previous update is a slightly close coupled way that might need to be refined.
2023-11-11 20:00:26 +00:00
Philip Abbey
fde270ff34 Renamed class variables
There's a Monkey C convention to have class variable names start with 'm', then be camel case. 'm' for 'member' according to https://developer.garmin.com/connect-iq/reference-guides/monkey-c-reference/.
2023-11-11 13:58:35 +00:00
Philip Abbey
e7c4411dd2 Fix for the update rate
Now perform a "round robin" of all toggle menu items. The delay is currently 100 ms to avoid Communications.BLE_QUEUE_FULL errors.
2023-11-11 13:36:08 +00:00
Philip Abbey
b7ed8607fb Additional changes for the previous merge. 2023-11-11 07:49:15 +00:00
Philip Abbey
1653569e8f Added 54 devices
Added vibrate knowledgement
Fall back to a home made alert if no toast or vibrate
Support for 80 devices, 54 new ones added
2023-11-10 18:22:14 +00:00
Philip Abbey
816b0dc890 Internationalisation & Multi-watch support
Copied two methods from GarminThermoNest to translate languages and manage different sized icons for the various sizes of watch. Also copied ErrorView for smaller wrapped text for error messages.
2023-11-02 21:32:42 +00:00
Philip Abbey
7dd3ccc670 Configurable Menu
Uses a JSON file served by a URL.
2023-10-31 20:49:38 +00:00
Philip Abbey
8a4f514e6b Initial basic application 2023-10-31 13:32:42 +00:00