Skip to content

Slider

Selects a number in a range. The value is shown live while dragging and sent once on release, so your flow isn’t flooded.

Property Type Default Description
label string Slider Title
min / max number 0 / 100 Range
step number 1 Increment, which also sets the displayed decimals
unit string Unit after the value
topic string msg.topic of the output
passthru boolean false Forward input messages to the output
msg.payload = 22.5;

The payload is a finite number or a numeric string. Anything else (null, "", true, "abc", Infinity) is ignored: the value stays and nothing is passed through, never a 0.

{ "payload": 22.5, "topic": "setpoint", "_client": { "id": "c3-lq0z1" } }