Good morning,
The beta app is now at v1.2.0-beta6, and Wi-Fi mode is ready for public testing.
Overall, it works well on my watch. However, I occasionally see a “Sync Failed” message when sending a command. I have not been able to pinpoint the exact situation in which this happens, and despite extensive testing, it has never occurred in the simulator.
I would be very interested to hear whether you are seeing this issue on your device, especially when sending multiple commands in quick succession.
I am tracking the issue here:
https://github.com/openhab/openhab-garmin/issues/227
Below is the new Wi-Fi section from the updated user documentation, which has not yet been published:
Network Access
All Garmin wearables can access your local network and the Internet via a BLE (Bluetooth Low Energy) connection to your phone.
BLE / Phone Connectivity
Using your phone for connectivity allows the app to take advantage of all network options available on the phone, including VPNs such as Tailscale. When connected via the phone, the openHAB app maintains a permanent connection to openHAB and is therefore able to display live item states.
Platform-specific limitations:
- iOS: HTTP and HTTPS are supported
- Android: Only HTTPS with a valid certificate is supported due to Garmin SDK limitations
You can use myopenHAB to securely access your local openHAB instance over the Internet via HTTPS.
Wi-Fi
Some Garmin wearables can also connect directly to Wi-Fi. This allows access to the local LAN and, if Internet connectivity is available, to services such as myopenHAB.
When connected via Wi-Fi, both HTTP and HTTPS are supported.
Garmin does not allow a permanent Wi-Fi connection. Instead, the app must enter a dedicated sync mode, perform its network operations, and then close the Wi-Fi connection again. While this sync is active, Garmin displays system-provided views to inform the user about sync progress.
Automatic Wi-Fi Detection and Mode Switching
If no BLE connection to a phone is available, the app automatically checks whether a Wi-Fi connection can be used and, if so, switches to Wi-Fi mode. These checks continue while the app is running, and the app may switch between BLE and Wi-Fi connectivity at any time.
As described above, when running in Wi-Fi mode no live item states are displayed. The current connectivity mode can be checked in the settings menu.
No Polling of Sitemap Changes and States
Due to these limitations, the app does not regularly poll openHAB for sitemap changes or state updates while in Wi-Fi mode. As a result, item states are not displayed.
Only if no data is available at startup, for example after settings changes or a fatal error, the app enters sync mode to retrieve the full sitemap. The settings menu shows when the sitemap was last retrieved, and the user can also manually trigger an update via Wi-Fi, for example to download structural changes to the sitemap.
Sending Commands
Because current item states are not available in Wi-Fi mode, sending commands cannot rely on existing state information. For toggle switches, this means the user must explicitly choose whether the item should be switched on or off via an action menu.
Another example is the Slider. In Wi-Fi mode, the slider always starts at the middle of its range and operates in releaseOnly mode. The command is sent only when the new value is confirmed, not while the value is being adjusted.