17 Commits

Author SHA1 Message Date
Philip Abbey
2d07eaa9c6 Update HomeAssistantView.mc
Review comment about a random space.
2023-12-01 11:28:19 +00:00
Philip Abbey
0ab9cb800a Initial solution
For optional confirmation dialogue box.
2023-12-01 09:15:59 +00:00
Philip Abbey
71c1ccc229 Code review comment
Removed debug
Fixed manifest App ID for release
2023-11-21 17:58:18 +00:00
Philip Abbey
ce90d9d47f Single HomeAssistantService for all Taps
1. Amended code for a single HomeAssistantService for all 'tap's
2. Removed now redundant GET request for taps without a service now that having a service is enforced.
3. Determined that migrating API code from 'toggle's to the HomeAssistantService is awkward due to the close coupling with other methods in the class.
2023-11-20 21:32:35 +00:00
SomeoneOnEarth
ab995db5ba Removed redundant code from spike 2023-11-19 13:24:37 +01:00
SomeoneOnEarth
d93aa78686 Refactored MenuItems creation 2023-11-19 13:11:48 +01:00
SomeoneOnEarth
081a41737f Bugfix 2023-11-19 13:07:07 +01:00
SomeoneOnEarth
2c09ab71a8 Lean UI spike use correct icons for menu and tap 2023-11-19 13:07:07 +01:00
SomeoneOnEarth
8764969537 Leaner UI spike 2023-11-19 13:07:03 +01:00
Philip Abbey
4b320086ee Tap menu items without a service tag will be ignored.
The JSON schema checker is relied on to highlight this error.
2023-11-17 17:51:01 +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
Joseph Abbey
5afb08d096 Service call for tap item 2023-11-09 21:13:09 +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
d81fa1abcd Added confirmation of tap event and amended delegate decoding of actions. 2023-11-01 19:46:28 +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