For the complete documentation index, see llms.txt. This page is also available as Markdown.

Simple Slider

Add a Simple Slider control to a Kilo IoT dashboard — a horizontal slider that sets a device value across a range.

The Simple slider is a horizontal track you drag to set a numeric value. It's the most compact of the three slider layouts and fits neatly into a row of dashboard tiles.

When to use it

Use a Simple slider for any value an operator dials up or down where a horizontal control reads naturally: a motor or fan speed, a dimming level, or a target setpoint. If you want a level-style or instrument-style look instead, see the Vertical Slider or Circular Slider.

What you need first

  • A controllable device with a command on its Commands & States tab whose parameter takes a number (see Creating Commands).

  • A Device metric that reports the current value, so the slider shows where the setting sits.

How to set it up

  1. Open the dashboard in edit modeAdd widgetControl.

  2. Datasource tab: choose the Device and the Device metric for the live value. Click Next.

  3. Appearance tab: enter a Widget name, choose Widget type → Slider, then set Slider type → Simple.

  4. Set the Command the slider drives, the Parameter it sets, and a starting Value.

  5. Add Start and End labels for the range (for example 150 and 500) and toggle Display to show them; pick a Slider color and toggle Display name and last update.

  6. Click Save.

Control widget Simple slider — a horizontal track setting a value across a range

What happens when you use it

Dragging the slider sends the chosen command with the new value as its parameter, through the device's command pipeline. The handle follows the Device metric, so it reflects the value the device actually reports.

Common mistakes

  • Binding a command without a numeric parameter — a slider needs a parameter it can set to a number; a plain on/off command belongs on a Switch.

  • Range that doesn't match the device — set Start/End to the parameter's real minimum and maximum so the full travel maps to valid values.

See also

Last updated