This page is part of archived documentation for openHAB 3.4. Go to the current stable version

# oh-knob - Knob

Knob control, allow to change a number value on a circular track

# Configuration

# General

# item Item TEXT item

Item to control

# min Min INTEGER

Minimum value (default 0)

# max Max INTEGER

Maximum value (default 100)

# stepSize Step DECIMAL

Minimum interval between values (default 1)

# disabled Disabled BOOLEAN

Disable the slider (usually set via an expression since the value will not be displayed when disabled)

# size Size INTEGER

Visual size of the control in px (or % if responsive is true)

# primaryColor Primary Color TEXT

Color of the value arc (HTML value, default #409eff)

# secondaryColor Secondary Color TEXT

Color of the rest of the control (HTML value, default #dcdfe6)

# textColor Text Color TEXT

Color of the value text (HTML value, default #000000)

# strokeWidth Stroke Width TEXT

Thickness of the arcs, default 17

# responsive Responsive BOOLEAN

Size the control using percentages instead of pixels

# releaseOnly Send command only on release BOOLEAN

If enabled, no commands are sent during sliding

# commandInterval Command Interval INTEGER

Time to wait between subsequent commands in ms (default 200)

# delayStateDisplay Delay State Display INTEGER

Time to wait before switching from displaying user input to displaying item state in ms (default 2000)

# variable Variable TEXT

Name of the variable to set on input change

# variableKey Variable Key TEXT

Consider the variable value is an object and set the corresponding deep property within that object using a key syntax. Examples: user.name, user[0].address[1].street, [0], [0].label. The inner property and its parent hierarchy will be created if missing.