Commit Graph

42 Commits

Author SHA1 Message Date
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
4b5c9ba8ba Restyled by whitespace 2024-01-14 13:34:46 +00:00
1f075a8c0f Remove text versions of menu items 2024-01-14 13:29:33 +00:00
31b30788b1 add TemplateMenuItem 2024-01-14 08:00:49 +00:00
9df93c0c23 Read only Webhook ID property
Amended some documentation.
2024-01-12 17:34:05 +00:00
331fd2471e Merge branch 'main' into 51-use-webhooks-for-reporting-battery-levels 2024-01-11 18:22:34 +00:00
805a7aa075 Restyled by whitespace 2024-01-11 18:07:27 +00:00
de19fc94a7 2024-01-11 17:41:05 +00:00
f155ab0925 Added error messages for first request 2024-01-11 17:27:52 +00:00
96ae4b231a Update strings.xml 2024-01-11 09:10:59 +00:00
4190ce2362 Restyled by whitespace 2024-01-10 23:10:15 +00:00
42e0a1b543 Use webhooks for battery 2024-01-10 23:08:08 +00:00
9724430168 Merge branch 'main' into 31-reduce-startup-delay 2024-01-08 00:14:05 +00:00
0a2d257421 Initial solution 2024-01-08 00:08:12 +00:00
c0787733b7 Amended as required
**/strings.xml need recreating server side.
2024-01-06 21:33:48 +00:00
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
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
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
4ab25ef860 Comment header update
Corrected spelling of username of contributor.
2023-12-17 12:46:20 +00:00
3ce4b7d3e8 Merge branch 'main' into 22-add-internationalisation-for-application-settings 2023-12-17 12:43:48 +00:00
fc2f509085 Merge branch 'main' into 29-vivoactive-4s-crashes-user-reported-error 2023-12-17 11:57:24 +00:00
e6d5053ebb Use app name from resources for glance view 2023-12-16 21:49:23 +01:00
3d24301a72 Settings internationalised 2023-12-16 18:33:51 +00:00
16383f61a4 Added SomeoneOnEarth to all source headers
Give credit to a co-author.
2023-12-16 17:07:43 +00:00
5d8c5125ff Improved initial/exit view texts + add i18n 2023-12-15 01:52:26 +01:00
143bcf08a7 Add application property "confirm_timeout"
After this time (in seconds), a confirmation dialog for an action is automatically closed and the action is cancelled.
Set to 0 to disable the timeout. The default value is 3 seconds.
2023-12-10 22:52:09 +01:00
42e89906f6 Review comments 2023-12-06 22:09:22 +00:00
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
0ab9cb800a Initial solution
For optional confirmation dialogue box.
2023-12-01 09:15:59 +00:00
bcdcfdc66c Set showing icons for types as default 2023-11-19 17:04:22 +01:00
440980a96f Aligned naming of menu item types 2023-11-19 13:24:42 +01:00
eab2af72f8 Added app setting for left - right menu alignment 2023-11-19 13:11:51 +01:00
8764969537 Leaner UI spike 2023-11-19 13:07:03 +01:00
b90e6c7130 Connection reporting improvements and update resumption
Separation of phone connectivity and Internet access tests for finer grained feedback to the user.
Updates no longer stop on absence of Internet connectivity.
2023-11-18 15:52:02 +00:00
d540fb576a Bugfixes
Do not crash on zero items to update
Report unreachable URLs
Verify API URL does not have a trailing slash '/'
Increased HTTP response diagnosis
2023-11-12 16:24:56 +00:00
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
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
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
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
2b06e63c03 Added alerts on error
And removed (and changed) API key... doh!
2023-10-31 21:22:14 +00:00
7dd3ccc670 Configurable Menu
Uses a JSON file served by a URL.
2023-10-31 20:49:38 +00:00
8a4f514e6b Initial basic application 2023-10-31 13:32:42 +00:00