639 Commits

Author SHA1 Message Date
3396c6c47d Update manifest.xml
Careless previous commit with reduced device list, this reverts the file.
v3.0
2025-07-25 12:00:52 +01:00
4cfd3ffb6b 260 documentation for wi fi enabled application (#261)
Proposed documentation for the Wi-Fi/LTE enabled Garmin Home Assistant App.
2025-07-25 11:52:08 +01:00
d8f944b02f Merge branch 'main' into 260-documentation-for-wi-fi-enabled-application 2025-07-25 11:48:24 +01:00
3e0de7ad6e 259 code tidy (#262)
Should be functionally equivalent.
2025-07-25 11:47:47 +01:00
6574cf5bac Update GarminHomeAssistantSettings.png
New Wi-Fi option in Setting screen capture.
2025-07-25 11:42:38 +01:00
c0a99946f8 Merge branch 'main' into 259-code-tidy 2025-07-25 10:26:04 +01:00
e8f901167f Apply automatic changes 2025-07-25 09:17:03 +00:00
d110826392 Amended Globals.mc
Moved wifiPollDelayMs to Globals class.
2025-07-25 08:38:55 +01:00
d645adb3c9 Reuse translations (#263) 2025-07-25 08:23:02 +01:00
9e7ac9de6d Update removeTranslations.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: __JosephAbbey <me@josephabbey.dev>
2025-07-24 23:46:25 +01:00
d43c2d427f Update translate.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: __JosephAbbey <me@josephabbey.dev>
2025-07-24 23:46:15 +01:00
c599b9fcf3 Reuse translations 2025-07-24 23:42:27 +01:00
0d73de494e Tidy 2025-07-24 20:56:08 +01:00
a686e1a104 Reordered settings 2025-07-24 19:49:44 +01:00
8868f2152c Comments & Dictionaries
Reformatted comments to work in VSCode and converted `dict.get(:key)` to `dict[:key]` syntax as its nicer.
2025-07-24 18:54:27 +01:00
f28a060bf5 Update Wi-Fi.md
Added final note.
2025-07-24 11:04:58 +01:00
5b58a0c1be Update Wi-Fi.md
Co-authored-by: Vincent <59287019+vincentezw@users.noreply.github.com>
Signed-off-by: Philip Abbey <philipabbey@users.noreply.github.com>
2025-07-24 11:01:52 +01:00
084e7144cc Update Wi-Fi.md
Co-authored-by: Vincent <59287019+vincentezw@users.noreply.github.com>
Signed-off-by: Philip Abbey <philipabbey@users.noreply.github.com>
2025-07-24 11:01:28 +01:00
1ad5cb3263 Update Wi-Fi.md
Co-authored-by: Vincent <59287019+vincentezw@users.noreply.github.com>
Signed-off-by: Philip Abbey <philipabbey@users.noreply.github.com>
2025-07-24 11:01:01 +01:00
af3820c7a8 Update README.md
Co-authored-by: Vincent <59287019+vincentezw@users.noreply.github.com>
Signed-off-by: Philip Abbey <philipabbey@users.noreply.github.com>
2025-07-24 11:00:48 +01:00
70f05e8912 Added missing code headers
And included vincentezw in headers for the code he touched.
2025-07-22 22:14:46 +01:00
7239bc85c0 Amended to include LTE
Previously overlooked.
2025-07-22 22:09:39 +01:00
c138fad6ca Update properties.xml
Moved Wi-Fi option up to be more prominent.
2025-07-22 22:05:04 +01:00
9641313492 Wifi -> Wi-Fi
Amended in presentational aspects only, not in the actual code. "Wi-Fi" is the proper noun and registered trademark.
2025-07-22 22:03:10 +01:00
6f5e591910 Initial Docs for review 2025-07-22 21:42:51 +01:00
e2722319a6 add Wifi LTE command execution (#255)
Firstly, thank you to all the maintainers for your work on this very
useful application.

This PR adds the ability to execute Home Assistant commands over Wi-Fi
or LTE, behind an opt-in setting. While not a full "Wi-Fi mode," this
feature allows the app to function in limited scenarios where the phone
is unavailable but the device still has a direct network connection
(e.g. Wi-Fi or LTE).

When enabled:
- The app can launch with a cached menu without phone connection.
- On command execution, the user is prompted to confirm.
- Upon confirmation, a bulk sync is triggered to send the request to
Home Assistant.

This enables basic control even without Bluetooth connectivity — so I
can switch off that pesky bathroom light late at night when I don't have
my phone nearby.

I’ve seen a few issues suggesting similar functionality, and I believe
this strikes a useful balance between functionality and simplicity. That
said, I understand if this doesn't align with the intended featureset —
feel free to close if so.

This PR also adds a few string resources without translations. I'm not
sure if those are autogenerated or user-provided — happy to adjust if
needed.
2025-07-22 20:52:07 +01:00
0b84983eaf use fixed poll delay from const 2025-07-21 21:02:51 +01:00
d32135af63 fix setting toggleItem, periodic pulling 2025-07-21 19:45:14 +01:00
db3fbd9886 timers as statics, defensive popviews, no double confirmation, add pin
screen onBack, toggle state tweaks
2025-07-19 10:35:35 +01:00
be7eed1ae1 early return from fetchApiStatus for in-app wifi, fix typo in docstrings 2025-07-19 10:35:35 +01:00
576f8c4a64 HomeAssistantConfirmationDelegate and HomeAssistantPinConfirmationDelegate undo toggles on timeout and reject 2025-07-19 10:35:35 +01:00
979d85fce5 show toast, not error, in updateMenuItems 2025-07-19 10:35:35 +01:00
ac899ff784 simplify delegate, toggle switch for empty response body 2025-07-19 10:35:35 +01:00
b45f02ef7b move popview up so it does not close wifi dialog 2025-07-19 10:35:35 +01:00
62f0e711c9 make setting conditional by using group 2025-07-19 10:35:35 +01:00
b2b8ffb332 separate syncdelegate class file, check for startsync2 2025-07-19 10:35:34 +01:00
172d4ad1e4 add Wifi LTE command execution 2025-07-19 10:35:34 +01:00
460f247728 Improve web: dim disabled, icons, pin 2025-07-19 07:37:05 +01:00
a6b4925ff7 257 pin dialog does not popup when using is servicetap (#258)
Need this urgently as it affects the use of the PIN for tap menu items.
v2.32
2025-07-18 20:51:10 +01:00
3672a598fb Update HISTORY.md
Added v2.32
2025-07-18 20:49:10 +01:00
f6d0916315 Update HomeAssistantTapMenuItem.mc
Requirement for use of the PIN was not being correctly extracted from the options. Goes to show why the security features should not be relied on! A recent compilation fix created this breaking change.
2025-07-18 20:46:49 +01:00
6db7b67536 Update HISTORY.md
Added v2.31 text
v2.31
2025-07-11 09:43:30 +01:00
e5df010af8 253 compilation failed on fenix5s (#254)
This is the fix to an annoying problem I faced as I was about to compile
the final v2.31 release. Please approve, but **don't merge** just yet.
I'll do that once the full device list compilation succeeds, just to
check if there are any residual issues.

Thanks
2025-07-11 09:31:37 +01:00
ee964ce882 Update HomeAssistantMenuItemFactory.mc
Function documentation fix.
2025-07-11 01:11:00 +01:00
ee9da24592 Fix for too many arguments to a function call on some devices 2025-07-11 01:06:15 +01:00
906cdf7371 Code documentation comments were not updated 2025-07-10 23:54:05 +01:00
7dd85937fa 243 option to close application after command (#252)
Also closes #250.
2025-07-10 22:02:12 +01:00
d141c03104 Review comment
Moved point of application exit for the menu item option.
2025-07-10 19:46:04 +01:00
842a31a1cc Review comment
enable => enabled
2025-07-10 18:24:30 +01:00
5639ff5c42 Amended heading levels in docs 2025-07-09 21:51:18 +01:00