Garmin App
The openHAB Garmin app connects your Garmin wearable to your openHAB server, giving you convenient access to essential devices and real-time information.
Introduction
This app is built on the foundation of openHAB sitemaps, which define an interactive view of your openHAB model. A sitemap allows you to specify which devices are accessible through the app and how they are organized and presented.
The app consists of two components: the Glance and the Widget. The Glance displays the name of the sitemap and acts as the entry point into the full-screen Widget, which shows the sitemap's content.


Once opened, the Widget polls the sitemap at a configurable interval to fetch updates. Commands are sent to openHAB via its JSON-based REST API. If your openHAB setup does not support this API, you can alternatively configure a custom Webhook.
Inside the Widget, sitemap elements are displayed as Sitemap Widgets.
TIP
The term "widget" is used by both Garmin and openHAB to mean different things, which can be a source of confusion. In this manual, "Widget" refers to the Garmin app component, while "Sitemap Widget" refers to individual elements defined in the openHAB sitemap.
The following sections provide detailed guidance on configuring the app, supported Sitemap Widgets, user interface behavior, and troubleshooting tips.
Supported Languages
The app UI and error messages are available in English, German, French, Italian, Spanish, and Polish. The app uses the watch's system language and falls back to English if a translation is missing.
Supported Devices
The app supports the following Garmin device series:
- Approach: S50, S70 42mm, S70 47mm
- D2: Air X10, Air X15, Mach 1, Mach 1 Pro, Mach 2, Mach 2 Pro
- Descent: G2, Mk3 43mm, Mk3i 43mm, Mk3i 51mm
- Edge: 540, 540 Solar, 550, 840, 840 Solar, 850, 1040, 1040 Solar, 1050, 1060, Explore 2, Explore 3, Explore 3 Plus, MTB
- Enduro: 2, 3, 4
- Epix: Gen 2, Pro Gen 2 42mm, Pro Gen 2 47mm, Pro Gen 2 51mm
- Fenix: 6 Pro, 6 Sapphire, 6 Pro Solar, 6 Pro Dual Power, 6S Pro, 6S Sapphire, 6S Pro Solar, 6S Pro Dual Power, 6X Pro, 6X Sapphire, 6X Pro Solar, 7, 7 Pro, 7 Pro Solar Edition (no Wi-Fi), 7S, 7S Pro, 7X, 7X Pro, 7X Pro Solar Edition (no Wi-Fi), 8 43mm, 8 47mm, 8 51mm, 8 Pro 47mm, 8 Pro 51mm, 8 Pro MicroLED, 8 Solar 47mm, 8 Solar 51mm, 9 43mm, 9 47mm, 9 51mm, 9 Pro 43mm, 9 Pro 47mm, 9 Pro 51mm, 9 Pro Solar 47mm, 9 Pro Solar 51mm, E
- Forerunner: 70, 165, 165 Music, 170, 170 Music, 255, 255 Music, 255S, 255S Music, 265, 265S, 570 42mm, 570 47mm, 945 LTE, 955, 955 Solar, 965, 970
- Instinct: 3 AMOLED 45mm, 3 AMOLED 50mm
- MARQ: Gen 1 Adventurer, Gen 1 Athlete, Gen 1 Aviator, Gen 1 Captain (American Magic Edition), Gen 1 Commander, Gen 1 Driver, Gen 1 Expedition, Gen 1 Golfer, Gen 2 Athlete, Gen 2 Adventurer, Gen 2 Aviator, Gen 2 Captain, Gen 2 Carbon Edition, Gen 2 Commander Carbon Edition, Gen 2 Golfer, Gen 3 Athlete, Gen 3 Adventurer, Gen 3 Aviator, Gen 3 Commander, Gen 3 Diver, Gen 3 Golfer
- Quatix: 6, 6X, 6X Solar, 6X Dual Power, 7, 7 Sapphire, 7 Pro, 7X Solar, 8 47mm, 8 51mm, 8 Pro 47mm, 8 Pro 51mm
- Tactix: Delta Sapphire, Delta Solar, Delta Solar Ballistics Edition, 7, 7 AMOLED Edition, 8 47mm, 8 51mm, 8 Solar 51mm
- Venu: 2, 2 Plus, 2S, 3, 3S, 4 41mm, 4 45mm, Sq 2, Sq 2 Music, X1
- Vivoactive: 5, 6
Configuration
Once the app is installed, you can configure the following settings by opening it in the Garmin Connect IQ smartphone app.
| Setting | Description |
|---|---|
URL (e.g. https://yourhost:yourport). Note: HTTP works only on iOS; Android requires HTTPS with a valid certificate. For myopenhab.org, use https://home.myopenhab.org. | Your openHAB URL. See Connectivity and Using myopenHAB for details. |
| Sitemap Name | Name of the sitemap to display. See Sitemap Setup for details. |
| Enable this option if your openHAB installation supports the JSON-based REST API for sending commands. | Enabled by default. When enabled, the app uses the JSON-based REST API to send commands. See Sending Commands for details. |
| Webhook Identifier – A way to send commands if the JSON-based REST API is not available. See the documentation for setup instructions. | If your openHAB version does not support the JSON-based REST API, you can disable the setting above and configure a custom webhook instead to send commands. See Sending Commands for details. |
| User Name (Basic Authentication) | For basic authentication (used for myopenHAB, see below) |
| Password | Password for basic authentication |
| Suppress errors for empty sitemap responses. Recommended when using myopenhab.org, which occasionally returns empty results. | See the related openhab-cloud issue #496 for details. |
| Polling interval (ms): Time between data requests to your openHAB instance. Set to 0 to request new data immediately after the previous response is processed. | Polling only occurs while the app is open, not in the background. If you're using myopenhab.org, it's recommended to use the default (3000 ms) or a higher value to avoid overloading their servers. If you're connecting to your own openHAB server directly, you may try setting it to 0 for more responsive updates. |
| Post command hold time (ms): Time during which state updates are ignored after a command is sent. This prevents temporary state flip-flopping while the system processes the command and applies the new state. Set to 0 to disable. | Since a sitemap request is executed immediately after sending a command, a slow response from openHAB may still return the previous state, causing switches in the UI to briefly toggle back and forth. The post-command hold time prevents this by locking the item state for a configurable duration while the command is processed and the new state is applied. The value is applied with millisecond precision. |
Settings are read when the app starts. If you change settings while the app is open, the app stops requesting data and asks you to close and reopen it. The new settings are applied when the app starts again.

Connectivity
This section explains how to connect your Garmin wearable to openHAB, covering network access (BLE via phone or Wi-Fi), the use of myopenHAB, and the available methods for sending commands (native REST APIs or webhooks).
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
A green status indicator and a Bluetooth icon at the top of the menus and full-screen views indicate that a BLE connection is available. Also, the current connectivity mode can be checked in the settings menu.



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.
At startup, if no BLE connection is available, a red status indicator indicates that the app is offline. A Wi-Fi icon with a magnifying glass shows that the app is searching for a Wi-Fi connection. Once connected to Wi-Fi, the status indicator turns yellow, indicating Wi-Fi mode.




No Polling of Sitemap Changes and States
Due to the limitations of the Wi-Fi mode, 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 cached sitemap is available at startup, for example after settings changes or a critical 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.


If you encounter a -402 error:
On devices with limited memory, the size limit for sitemaps can be lower in Wi-Fi mode than over a BLE connection. In such cases, retrieving the sitemap via Wi-Fi may result in a -402 communication error.
If this occurs, try updating the sitemap over BLE before reducing the sitemap size.
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.
Offline
While searching for Wi-Fi, and whenever neither BLE nor Wi-Fi is available, the app enters offline mode, indicated by a red status indicator. In offline mode, the menu structure can still be navigated. However, when attempting to send a command, an “OFFLINE” toast notification is displayed.


Using myopenHAB
To connect using myopenHAB:
- Install the openHAB Cloud Connector
- Register at myopenhab.org
- Set the URL in the app to
https://home.myopenhab.org - Use your myopenHAB username and password for authentication
Sending Commands
Starting with openHAB 5.0, the REST API allows the app to send commands directly - no extra setup needed.
For earlier versions, you can either:
Install the backported API (available for openHAB 4.3.x)
To enable JSON-based command support on openHAB 4.3.x, install the backported API bundle.
Follow the instructions here: Backport Installation Guide
Note: If you update your openHAB version after installing the backport, you may need to reinstall the backport.
or
Set up a custom webhook
If your openHAB setup does not support the JSON-based REST API for sending commands, you can configure a custom Webhook using the Webhook binding instead.
Follow the steps below to set it up:
1. Install the Webhook Binding
Install the Webhook HTTP binding.

2. Create a Webhook Thing
Create a new Webhook Thing.

Go to the Code tab and enter the following YAML (replace UID with your own):
UID: webhook:Webhook:d1097152a4
label: Webhook
thingTypeUID: webhook:Webhook
configuration:
expression: resp.status=200
channels:
- id: lastCall
channelTypeUID: webhook:lastCall-channel
label: Last request
configuration: {}
- id: trigger
channelTypeUID: webhook:trigger-channel
label: Trigger
configuration:
expression: >-
{
var gson = new("com.google.gson.Gson");
var jsonRoot = {:}; var jsonBody = {:};
if (!empty(req.body.text)) jsonBody.put("text", req.body.text);
if (!empty(req.body.json)) jsonBody.put("json", req.body.json);
jsonRoot.put("parameters", req.parameters);
jsonRoot.put("body", jsonBody);
jsonRoot.put("method", req.method);
return gson.toJson(jsonRoot);
}
3. Create a Rule with JavaScript
Create a Rule that triggers on webhook and runs this JavaScript:
var request = JSON.parse(event.event);
var action = request.parameters.action?.[0] ?? null;
var itemName = request.parameters.itemName?.[0] ?? null;
var command = request.parameters.command?.[0] ?? null;
if (action === "sendCommand") {
if (itemName && command) {
items.getItem(itemName).sendCommand(command);
} else {
console.warn(`Webhook: sendCommand missing parameters (itemName='${itemName}', command='${command}')`);
}
} else if (action === "toggle") {
if (itemName) {
var item = items.getItem(itemName);
item.sendCommand(item.state === "ON" ? "OFF" : "ON");
} else {
console.warn(`Webhook: toggle missing itemName`);
}
} else {
console.warn(`Webhook: invalid or missing action '${action}'`);
}| Parameter | Description |
|---|---|
action | "sendCommand" or "toggle" |
itemName | Name of the item to control |
command | Command to send (for sendCommand) |
4. Test & Connect
You can test the webhook by visiting:
https://yourserver:yourport/webhook/d1097152a4?action=toggle&itemName=LightBedroomThen enter the Webhook ID (d1097152a4) in the app settings:

Sitemap Setup
Check the Sitemaps documentation to learn more about how sitemaps work.
The sitemap name configured in the app must match the filename of the sitemap, excluding the .sitemap extension. For example, if the file is named garmin_demo.sitemap, set the sitemap name in the app settings to garmin_demo.
When creating the sitemap through the UI, the sitemap name configured in the app is uicomponents_ + sitemap name. For example, if the sitemap is named Garmin_Demo in the UI, set the sitemap name in the app settings to uicomponents_Garmin_Demo.
The label defined within the sitemap file is displayed in the app UI, such as in glances and other views.
sitemap garmin_demo label="My Home" {
}Supported Elements
The following element types are currently supported:
The following sections describe the supported parameters and the Sitemap Widget associated with each of these elements.
Nested Elements
Nested elements are fully supported.
Certain sitemap elements — namely Frame, Text, and Group — can contain nested elements to help structure your sitemap hierarchically.
In sitemaps, Frame elements are used to visually separate areas on a page, while nested elements under Text and Group are presented as navigable subpages. The Garmin app adopts a menu-based navigation structure and implements nested elements under all three types as submenus.
- For
FrameandText, nested elements must be defined manually. The only functional difference is thatTextdisplays the state of its associated item, if any, whereasFramedoes not. Groupelements automatically populate their nested elements based on the members of the referenced group item.
A Frame or Group page without visible child elements — for example a Frame with no children, or a container whose children are all hidden by visibility — remains selectable. Instead of opening an empty page, the app displays a “This page is empty” toast.
For more details, refer to the sitemap documentation on nested elements.
Frame
The ➡️ Frame element is one of three sitemap elements that support hierarchical structuring.
You can nest Frame elements within other Frame elements. While this is allowed by the specification, openHAB may log a warning when doing so — but it still functions as expected.
Technically, the specification does not permit mixing Frame elements alongside other element types at the same hierarchy level. However, in practice, this does work in openHAB. If you choose to use this unsupported approach, be aware that you're doing so at your own risk.
Here is an example of a sitemap containing three Frame elements.
sitemap garmin_demo label="My Home" {
Frame label="Entrance Gates" {
Switch item=EntranceGatesTrigger label="Open/Close" mappings=[OFF="", ON="OK"]
Text item=EntranceGateStatus label="Status"
}
Frame label="Ground Floor" {
// ...
}
Frame label="First Floor" {
// ...
}
}This configuration produces the following display in the UI:


Default
The ➡️ Default element displays an item using the default widget determined by its type. This widget selection is handled automatically by openHAB.
The Garmin app supports Default only if the item’s type maps to one of the app’s supported widgets. If this is not the case, an error will be shown instead.
Text
The ➡️ Text Sitemap Widget is used to display the current state of an item without allowing any user interaction. It can also be used as a static text element without an item.
Supported parameters:
label: the label shown in the UI.item(optional): the name of the openHAB item whose state should be displayed.
This widget is ideal for showing read-only information, such as temperature, system status, or sensor readings. It also supports nested elements, making it suitable for creating a hierarchical sitemap structure.
If item is omitted, the element is displayed as static text: only its label is shown, without a state. Selecting it has no effect and does not require a connection to openHAB. Static text can still contain nested elements, and selecting it opens the nested page as usual.
Example configuration:
In this example, the Text Sitemap Widget is used to display the status of entrance gates. Triggering the gates is handled by a separate Switch element.
Frame label="Entrance Gates" {
Switch item=EntranceGatesTrigger label="Open/Close" mappings=[OFF="GO", ON="DONE"]
Text item=EntranceGateStatus label="Status"
}Static text elements without an item can be used as headings or descriptions. They may also define nested elements:
Frame label="Static Text" {
Text label="This text has no item"
Text label="Nested page" {
Text label="Nested static text"
}
}Resulting UI:

Group
The ➡️ Group Sitemap Widget will present a submenu containing all the items in the associated item of type Group. This also works recursively, if the Group item itself contains other Group items, those will again open their own submenus.
If the group type maps to a widget the app can control (Switch, Rollershutter, or Dimmer), the submenu contains an additional first entry that represents the Group item itself. This allows you to send a command to the group as a whole (for example, switching all lights at once) without leaving the submenu. The entry is labeled All by default (translated to the app language, for example Alle in German).
You can define a different label for this entry by appending it to the group label, separated by a pipe:
Group item=CC_House_Lights label="All Lights|All Lights Switch"For group types without a control entry, the label is used unchanged.
This is a Garmin-specific convention, not an openHAB feature. Other sitemap-based UIs will display the pipe and the complete label. The label is only split if both sides are non-empty and there is no additional pipe; otherwise the label is used unchanged. The optional state pattern must remain at the end of the label, because that is where openHAB appends the formatted state:
Group item=CC_House_Lights label="All Lights|All Lights Switch [%s]"In this example, the group entry in the parent menu and the submenu header are labelled "All Lights", while the control entry in the submenu is labelled "All Lights Switch" and shows the group state.
Example configuration:
In this example, the CC_House_Lights item represents a hierarchical structure: it contains groups for each floor (e.g., the first floor), which in turn contain groups for individual rooms, and those room groups include the actual light switch items.
sitemap garmin_demo label="My Home" {
Group item=CC_House_Lights label="All Lights"
// ...
}Resulting UI:



Switch and Selection
The ➡️ Switch and ➡️ Selection widgets display the current state of an item and allows the user to send commands to change it.
In other UIs, the Switch and Selection widgets behave differently:
Switchpresents all available options inline within the page.Selectionopens a dedicated selection dialog to choose a value.
However, due to the limited screen space on wearables, the Garmin app always opens a dedicated action menu whenever there are more than one or two options.
As a result, Selection is treated as a synonym for Switch, and both behave identically in the Garmin app.
Supported parameters:
label: Text displayed in the UI.item: Name of the associated openHAB item.mappings(optional): Defines command-to-label mappings for display and interaction.
The widget supports four rendering variants, selected based on the underlying Item type and the available command descriptions. The following conditions are evaluated in order, from top to bottom. The first matching variant is used:
- Player Control – A full-screen control for
PlayerItems, providingPLAY/PAUSE,NEXT, andPREVIOUSbuttons. - Rollershutter Control – A full-screen control for
RollershutterItems, providingUP,DOWN, andSTOPbuttons. - Toggle Switch – A two-state toggle control used for
SwitchandDimmerItems:- The underlying Item is of type
Switch, and its available commands are not anON/OFFpair with descriptions. - The underlying Item is of type
Dimmer, and either no commands are available or its available commands consist of exactlyONandOFFwithout descriptions.
- The underlying Item is of type
- Generic Switch – A selection control used for all other Items with available commands. This includes
SwitchItems with anON/OFFpair with descriptions, and Items of all other types with commands, including undescribedON/OFFcommands.
Valid explicit sitemap mappings take precedence over command descriptions provided by the Item's metadata. If none of the conditions match, the widget is not supported.
Toggle Switch
The toggle switch is only used for Switch and Dimmer items. It is used when any of the following applies:
- The item is of type
Switch, and its available commands are not anON/OFFpair with descriptions. - The item is of type
Dimmer, and either no commands are available or its available commands consist of exactlyONandOFFwithout descriptions.
Only Switch and Dimmer items are eligible for the toggle, because their state can be interpreted as binary without losing information. Items of other types always use the generic switch.
The switch simply toggles between ON and OFF.
Note: A Switch item with an ON/OFF pair with descriptions is displayed as a generic switch so those descriptions can be shown. A Switch item without commands, with non-ON/OFF commands, or with an undescribed ON/OFF pair is displayed as a toggle switch.
Note: A Dimmer item with an ON/OFF pair with descriptions, or with other commands, is displayed as a generic switch.
Note: If a Dimmer item is rendered as a toggle switch, the toggle sends ON and OFF commands. For display purposes, a Dimmer state of 0 is treated as OFF, while any value from 1 to 100 is considered ON. If the Dimmer has no state (NULL), a command selection menu is shown instead.
Note: A Dimmer item without available commands is rendered as a toggle switch. Other item types without available commands are not supported by this widget.
Example:
Frame label="Switches" {
Switch item=Light label="Light"
}UI Preview:

Rollershutter
When the item type is Rollershutter, the widget opens a full-screen control with UP, DOWN, and STOP actions.
In the menu and in the full-screen view, the item displays a textual or percentage-based state:
mappingscan be used to map numeric states (e.g.,0="Open",100="Closed"). They affect both the menu label and the state shown in the full-screen view.- If the state cannot be mapped to a text, the numeric percentage is shown.
Percentages are always shown as whole numbers, for example 42%. This also applies when the state is fractional, which happens for example when a Rollershutter Group item aggregates the states of its members (e.g., an average of 42.5 is shown as 43%). The formatting pattern defined in the item's metadata is not used.
Example:
Frame label="Switches" {
Switch item=Rollershutter label="Rollershutter" mappings=[0="Open", 100="Closed"]
}UI Preview:




Player
When the item type is Player, the widget opens a full-screen control with PLAY/PAUSE, NEXT, and PREVIOUS actions. In the menu, the item displays the PLAY/PAUSE state.
Example:
Frame label="Switches" {
Switch item=MediaControl label="Audio"
}UI Preview:



Generic Switch
This variant is used for items that don’t fall under the previous cases and have available commands. This includes:
Switchitems with anON/OFFpair with descriptions; these are displayed as generic switches so the descriptions can be shown.Dimmeritems with anON/OFFpair with descriptions, or with other commands.- Items of all other types with available commands, including commands consisting of exactly
ONandOFFwithout descriptions.
It supports multiple custom commands, defined either via:
mappingsin the sitemap,- or command/state descriptions on the item (e.g., from a channel or metadata).
Only Switch and Dimmer items can be rendered as a toggle switch. Items of all other types always use the generic switch, so that a state like Playing, OPEN, or 200 is never interpreted as binary.
In the menu, the widget displays the current state as text:
- If the state matches one of the mapped commands, the corresponding label is shown.
- Otherwise, the raw state is displayed.
Tip: You can use an empty label in mappings if the item's function is self-explanatory from context.
Selection behavior:
- If one command is defined, it is sent immediately when the item is selected.
- If two commands are defined and one of them matches the current state, the other is sent immediately.
- In all other cases, an action menu appears on the right side of the screen, allowing the user to select from the list of available commands. If the current state matches one of the commands, that command is not shown in the menu.
Example:
Frame label="Switches" {
Switch item=TV label="TV" mappings=[0="ABC", 1="BBC", 2="CNN"]
}UI Rendering:


Note: The action menu shown in the right screenshot is a mockup. The actual appearance may vary depending on the device, as it uses a native UI component.
Example with ON/OFF Mapping Entries:
A Switch item with mappings consisting of exactly ON and OFF, where at least one entry has a description, is displayed as a generic switch, showing the mapped text state. A typical use case is a garage door opener: sending an ON command triggers the gate to open or close, and the switch automatically resets to OFF after one second.
sitemap garmin_demo label="My Home" {
Frame label="Entrance Gates" {
Switch item=EntranceGates_Operation label="Open/Close" mappings=[OFF="", ON="OK"]
Text item=EntranceGates_Status label="Status"
}
}In this configuration:
- The switch typically stays in the
OFFstate, where the"Open/Close"label is sufficient. - When pressed, it sends the
ONcommand, briefly displays"OK"as feedback, then returns toOFF.
Here’s how the interface appears when the switch is in the OFF state:

Setpoint and Slider
The ➡️ Setpoint and ➡️ Slider widgets are numeric controls used to display and adjust the numeric state of an item.
When selected, both widgets open a full-screen view for choosing a new value, which is then sent as a command to the item.
The only behavioral difference between the two is the Slider widget’s support for the releaseOnly parameter (see below).
Supported Parameters
label: the label displayed in the UI.item: the name of the associated openHAB item.minValue: lower bound of the selectable range (default:0).maxValue: upper bound of the selectable range (default:100).step: interval between selectable values (default:1).releaseOnly: (Slider only)- With
releaseOnly: The value is only sent when the dialog is confirmed. Cancelling leaves the value unchanged. - Without
releaseOnly: Values are sent immediately as the slider is moved. Confirming keeps the current value; cancelling reverts to the value before the dialog was opened.
- With
Notes and Limitations
- Floating point values are supported with a maximum of four decimal places, for example 1.2345.
- A maximum of 100 steps is supported, for example:
- minValue=0, maxValue=100, step=1
- minValue=0, maxValue=50, step=0.5
stepmust be greater than0, andmaxValuemust be greater than or equal tominValue. Invalid values are rejected with an error message that names the widget and the invalid parameter.- While up to 100 steps are supported, this can be impractical for wearable interfaces. It is recommended to define the range and
stepso that the total number of steps is limited to roughly 10 to 20, making interaction significantly more manageable. - The formatting pattern defined in the item’s metadata is not used. Instead, predefined formatting rules are applied when displaying values:
- In the menu, values are formatted as compactly as possible and the unit is appended without a space to conserve space. For example “20°C” or “20.5°C”. Percentages are always shown without decimal places, for example “42%”.
- In the full-screen widget, values are always formatted with the same number of decimal places as defined by the step. The unit is appended with a space, except for %. For example “20.0 °C” or “20.5 °C” with step=0.5.
Example configuration:
Frame label="First Floor" {
Slider item=Dimmer label="Dimmer" minValue=0 maxValue=100 step=10
// ...
}Resulting UI:



- The lower-left screenshot shows the slider on a button-based device.
- The lower-right screenshot shows the slider on a touch-based device.
Note: Even button-based devices may support touch input, and on those, the UI reacts to both.
On button-based devices, use up/down to scroll through the values, press enter (upper-right button) to confirm or back (lower-right button) to cancel. On touch-based devices, simply tap the icons corresponding to the desired action or value to make a selection.
Dynamic Sitemaps
Of the available Dynamic Sitemaps features, the visibility parameter as well as label and value colors are supported.
Visibility
For usage details and examples, see the visibility documentation.
Label and Value Colors
For usage details and examples, refer to the label & value colors documentation.
The app supports both labelcolor and valuecolor attributes. Color values can be specified using either hexadecimal color codes (e.g., #FF0000) or named colors (e.g., red) as listed in the documentation.
Here’s an example configuration:
sitemap garmin_demo label="My Home" {
Frame label="Entrance Gates" {
Switch item=Entrance_Gates_Power label="Open/Close" mappings=[OFF="", ON="DONE"]
Text item=Entrance_Gates_Status label="Status" valuecolor=[==OPEN="red", ==CLOSED="green", ==MOVING="yellow"]
}
}This results in the following display:

Command Confirmation
The commandConfirmMessage parameter displays a confirmation dialog with a message provided by the server before a command is sent. The app only displays the text and does not evaluate any conditions itself. If the parameter is absent or empty, no confirmation is shown.
The behavior depends on the Sitemap Widget:
- For
SwitchandSelection(including the full-screenRollershutterandPlayercontrols), the dialog is shown when a command is selected. Confirming sends the command; cancelling sends nothing. - For
SetpointandSlider, the dialog is shown once before the picker opens when the value is notreleaseOnly, because every intermediate change is sent immediately. WithreleaseOnly, the dialog is shown when the value is confirmed, and the command is only sent after confirmation. Cancelling leaves the value unchanged.
Example:
Frame label="Garage" {
Switch item=GarageDoor label="Garage Door" commandConfirmMessage="Do you really want to open the garage door?"
}Icons
For detailed usage and examples, refer to the sitemap icons documentation.
The Garmin app supports both the icon and staticIcon parameters, using a subset of the classic icon set. Where applicable, the app automatically selects an icon variant based on the item's state—for example, showing different icons for a light that is ON or OFF.
Below is a screenshot illustrating this behavior: The second menu item shows a filled lightbulb icon (indicating the light is ON), and the third item shows a state-aware rollershutter icon.
Tip: Even if you don't explicitly define icons in your sitemap, some may be applied automatically based on item metadata. To suppress this behavior, you can set the icon to an empty string in the sitemap: icon="".
Currently supported icons are:
batterylevelblindsdoorfrontdoorgaragedoorheatinghumiditylightlightbulblowbatterymediacontrolmotionplayerpoweroutletradiatorrollershutterscreenslidersnowsoundvolumesoundvolume_mutetemperatureterracewindow
More icons can be added upon request. If you need support for additional icons, please post a request in the openHAB Community.
Settings Menu
To access the settings menu:
- On button-based devices, scroll down on the home screen and continue past the ⚙️ icon.
- On button-based Edge devices (540, 840, MTB, 550, 850, 1060), select the ⚙️ Settings entry at the end of the home screen menu.
- On touch-based devices, tap the ⚙️ Settings entry in the home screen menu.
The settings menu displays the app version, server URL, sitemap name, Connect IQ version, connectivity mode, and the time of the last sitemap update. It also provides an action to update the sitemap over Wi-Fi, which is only enabled while a Wi-Fi connection is active.


Troubleshooting
This section explains how the app handles errors and lists common issues you might encounter.
How the App Handles Errors
The app distinguishes between temporary, critical, and fatal errors:
- Temporary errors trigger a toast notification at the top of the screen; you can continue using the app.
- Critical errors display a full-screen error view, but the app keeps requesting data in the background and returns to the sitemap automatically once it receives a valid response.
- Fatal errors are also shown in a full-screen error view, but the app stops requesting data and cannot recover by itself. Close and reopen the app. This applies to fatal user interface errors and to a settings change while the app is running.
Temporary errors (toast notification)
- Most communication-related issues when requesting the sitemap.
- All communication-related issues when sending a command.
- Issues that occur while processing user input.
Note: Temporary errors during sitemap polling become critical if they persist for more than 10 seconds. The threshold is the age of the last successful sitemap response, so an app that has never received one — the first start, or the first start after the app's data was cleared — has no fresh data to fall back on and shows the full-screen error view immediately.
Critical errors (full-screen error, recoverable)
Certain communication errors when requesting the sitemap, specifically:
- Error
-1001(secure connection required, see below) - HTTP error
404 - Errors
-402(response too large) and-403(out of memory)
- Error
Errors encountered while parsing the sitemap.
Other unexpected errors while processing server responses.
Note: The app continues querying the sitemap while a critical error is displayed. If a later response is processed successfully, it returns to displaying the sitemap.
Fatal errors and states (full-screen error, require restart)
- Fatal user interface errors, shown with the prefix
Fatal UI error:. - A settings change while the app is running. The new settings are applied when the app starts again.
In both cases, the app stops sitemap polling permanently and cancels pending requests, including commands. It cannot recover by itself, so close and reopen the app.
If "Suppress errors for empty sitemap responses" is enabled
When this option is enabled in the Settings, toast notifications for the following errors will be suppressed:
INVRES– Invalid response (error code-400)EMRES– Empty response
However, if these errors persist for more than 10 seconds, they will be treated as critical, and a full-screen error view will be shown.
Communication Error Codes (Prefix: S:/C:)
To save space, communication errors shown in toast notifications follow this format:
X:NNNNNN
Xindicates the source of the error:S= sitemap pollingC= command sending
NNNNNNis the error code:- Positive values = HTTP status codes
- Negative values = Garmin SDK error codes
For a full list of Garmin SDK error codes, see the Constant Summary section here: Garmin Communications API Docs
Special error codes:
The following error codes are used for common communication issues and those without specific error codes:
NO PHONE– The watch is not connected to the smartphone (error codes-104and-2).INVRES– The response was invalid (error code-400).EMRES– The response was empty.UNRES– The response contained unexpected data.
User Interface Error Codes (Prefix UI:)
All error codes with the UI: prefix currently indicate an internal programming error in the user interface. The same applies to errors shown with the Fatal UI error: prefix. These errors are not caused by incorrect user interaction or configuration.
If you encounter a UI: error code or a Fatal UI error: message, please report it to the development team, as it helps identify and fix issues in the application. Including the exact error code or message and the circumstances under which it occurred is especially helpful. Reports can be submitted in the forum or by creating an issue on GitHub.
Common Issues
| Error | Description |
|---|---|
S:0 or C:0 | When in Wi-Fi mode, this error occurs if a sitemap request or command fails because the server is not reachable, for example due to an incorrect URL in the configuration. |
C:415 | HTTP response code 415 means Unsupported Media Type. This usually occurs when the JSON-based REST API is enabled in the Configuration, but your openHAB instance doesn’t support it. If you're using the backport (see Sending Commands and have recently updated openHAB to a newer version or installed a new binding, you may need to re-install the backport to restore compatibility. |
S:EMRES | myopenHAB currently experiences an intermittent issue (details here) where sitemap requests may return empty responses. When this happens, the app displays a toast notification for S:EMRES. Typically, the next request succeeds, so the issue doesn't escalate into a full-screen error. To avoid seeing these notifications, you can enable the Suppress errors for empty sitemap responses option in the Configuration settings. |
Edge 550 / 850 Menu Focus Indicator Issue
On the Edge 550 and 850, a firmware bug prevents the menu focus indicator, which highlights the currently selected item, from being rendered correctly.
Due to the nature of the issue, the available workarounds are limited.
On the Edge 550, the only reliable solution was to render a thin vertical line on the left side of each non-selected menu item. While this indicator is subtle and not highly visible at first glance, it becomes understandable once the user recognizes the visual pattern. In the light mode screenshot below, the second item, “Fenster,” is selected. In the dark mode screenshot, “Alle Lichter” is selected.


On the Edge 850, no visual workaround is applied. Instead, users are encouraged to navigate the menu using touch input rather than the hardware buttons, since touch interaction does not rely on a focus indicator.