Philip Abbey
d8f944b02f
Merge branch 'main' into 260-documentation-for-wi-fi-enabled-application
2025-07-25 11:48:24 +01:00
Philip Abbey
3e0de7ad6e
259 code tidy ( #262 )
...
Should be functionally equivalent.
2025-07-25 11:47:47 +01:00
Philip Abbey
6574cf5bac
Update GarminHomeAssistantSettings.png
...
New Wi-Fi option in Setting screen capture.
2025-07-25 11:42:38 +01:00
__JosephAbbey
c0a99946f8
Merge branch 'main' into 259-code-tidy
2025-07-25 10:26:04 +01:00
philipabbey
e8f901167f
Apply automatic changes
2025-07-25 09:17:03 +00:00
Philip Abbey
d110826392
Amended Globals.mc
...
Moved wifiPollDelayMs to Globals class.
2025-07-25 08:38:55 +01:00
Philip Abbey
d645adb3c9
Reuse translations ( #263 )
2025-07-25 08:23:02 +01:00
__JosephAbbey
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
__JosephAbbey
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
Joseph Abbey
c599b9fcf3
Reuse translations
2025-07-24 23:42:27 +01:00
Philip Abbey
0d73de494e
Tidy
2025-07-24 20:56:08 +01:00
Philip Abbey
a686e1a104
Reordered settings
2025-07-24 19:49:44 +01:00
Philip Abbey
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
Philip Abbey
f28a060bf5
Update Wi-Fi.md
...
Added final note.
2025-07-24 11:04:58 +01:00
Philip Abbey
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
Philip Abbey
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
Philip Abbey
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
Philip Abbey
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
Philip Abbey
70f05e8912
Added missing code headers
...
And included vincentezw in headers for the code he touched.
2025-07-22 22:14:46 +01:00
Philip Abbey
7239bc85c0
Amended to include LTE
...
Previously overlooked.
2025-07-22 22:09:39 +01:00
Philip Abbey
c138fad6ca
Update properties.xml
...
Moved Wi-Fi option up to be more prominent.
2025-07-22 22:05:04 +01:00
Philip Abbey
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
Philip Abbey
6f5e591910
Initial Docs for review
2025-07-22 21:42:51 +01:00
Philip Abbey
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
Vincent Elger Zwanenburg
0b84983eaf
use fixed poll delay from const
2025-07-21 21:02:51 +01:00
Vincent Elger Zwanenburg
d32135af63
fix setting toggleItem, periodic pulling
2025-07-21 19:45:14 +01:00
Vincent Elger Zwanenburg
db3fbd9886
timers as statics, defensive popviews, no double confirmation, add pin
...
screen onBack, toggle state tweaks
2025-07-19 10:35:35 +01:00
Vincent Elger Zwanenburg
be7eed1ae1
early return from fetchApiStatus for in-app wifi, fix typo in docstrings
2025-07-19 10:35:35 +01:00
Vincent Elger Zwanenburg
576f8c4a64
HomeAssistantConfirmationDelegate and HomeAssistantPinConfirmationDelegate undo toggles on timeout and reject
2025-07-19 10:35:35 +01:00
Vincent Elger Zwanenburg
979d85fce5
show toast, not error, in updateMenuItems
2025-07-19 10:35:35 +01:00
Vincent Elger Zwanenburg
ac899ff784
simplify delegate, toggle switch for empty response body
2025-07-19 10:35:35 +01:00
Vincent Elger Zwanenburg
b45f02ef7b
move popview up so it does not close wifi dialog
2025-07-19 10:35:35 +01:00
Vincent Elger Zwanenburg
62f0e711c9
make setting conditional by using group
2025-07-19 10:35:35 +01:00
Vincent Elger Zwanenburg
b2b8ffb332
separate syncdelegate class file, check for startsync2
2025-07-19 10:35:34 +01:00
Vincent Elger Zwanenburg
172d4ad1e4
add Wifi LTE command execution
2025-07-19 10:35:34 +01:00
Joseph Abbey
460f247728
Improve web: dim disabled, icons, pin
2025-07-19 07:37:05 +01:00
__JosephAbbey
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
Philip Abbey
3672a598fb
Update HISTORY.md
...
Added v2.32
2025-07-18 20:49:10 +01:00
Philip Abbey
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
Philip Abbey
6db7b67536
Update HISTORY.md
...
Added v2.31 text
v2.31
2025-07-11 09:43:30 +01:00
Philip Abbey
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
Philip Abbey
ee964ce882
Update HomeAssistantMenuItemFactory.mc
...
Function documentation fix.
2025-07-11 01:11:00 +01:00
Philip Abbey
ee9da24592
Fix for too many arguments to a function call on some devices
2025-07-11 01:06:15 +01:00
Philip Abbey
906cdf7371
Code documentation comments were not updated
2025-07-10 23:54:05 +01:00
__JosephAbbey
7dd85937fa
243 option to close application after command ( #252 )
...
Also closes #250 .
2025-07-10 22:02:12 +01:00
Philip Abbey
d141c03104
Review comment
...
Moved point of application exit for the menu item option.
2025-07-10 19:46:04 +01:00
Philip Abbey
842a31a1cc
Review comment
...
enable => enabled
2025-07-10 18:24:30 +01:00
Philip Abbey
5639ff5c42
Amended heading levels in docs
2025-07-09 21:51:18 +01:00
Philip Abbey
8b3e86a00f
Amended documentation for two new menu item options
...
The options are 'enable' and 'exit'.
2025-07-09 21:48:58 +01:00
Philip Abbey
6dbcea94cf
Update HomeAssistantView.mc
...
Refined more precisely where the exit option can be used and enforced in the code.
2025-07-09 21:09:33 +01:00