This page is part of archived documentation for openHAB 3.4. Go to the current stable version
# oh-knob-card - Knob Card
Display a knob in a card to visualize and control a quantifiable item
# Configuration
# Card
# Knob
# 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)