> For the complete documentation index, see [llms.txt](https://docs.chirpwireless.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.chirpwireless.io/dashboards/adding-widgets/control-widget/input.md).

# Input

The **Input** lets you type an **exact value** and tap **Apply** to send it — for when a slider is too rough and you want a precise number.

## When to use it

Use an Input when the exact figure matters: a **thermostat target**, a **color temperature**, or a specific **dimming level**. Where a [Simple Slider](/dashboards/adding-widgets/control-widget/slider-simple.md) is for sliding to roughly the right spot, the Input is for entering an exact value.

## What you need first

* A device with a command on its **Commands & States** tab whose **input accepts the value** you'll type (see [Setting up a command](/devices/commands/creating-commands.md)).
* A **Device metric** that reports the current value, shown next to the box so you can see where it is now.

## How to set it up

1. Open your dashboard in **edit mode** → **Add widget** → **Control**.
2. **Datasource** tab: pick the **Device** and the **Device metric** for the current value. Tap **Next**.
3. **Appearance** tab: type a **Widget name**, then under **Widget type** choose **Input**.
4. Set an **Input placeholder** (the faint hint in the box) and an optional **Input label**.
5. Choose the **Command** it sends, the **Parameter** it sets, and a default **Value**.
6. Toggle the name/last-update line, then tap **Save**.

<figure><img src="/files/vQYMCKSXN4apgFGbcNv7" alt="Input Control setting a lamp&#x27;s color temperature with an Apply button on a Chirp dashboard"><figcaption></figcaption></figure>

## What happens when you use it

You'll see the current value and a box. Type a new number and tap **Apply** to send it — nothing goes out until you tap Apply, so a half-typed number never reaches the device. Whether the value is accepted depends on the command's input (for example any limits set on it), so out-of-range numbers are turned away.

## Common mistakes

* **Expecting it to send as you type** — the Input only sends when you tap **Apply**.
* **Typing a value outside the allowed range** — the command's input sets what's valid; anything outside it won't be accepted.

## See also

* [Control widget](/dashboards/adding-widgets/control-widget.md) — overview and the other control types
* [Controlling Your Devices](/devices/commands.md) — set up the command this input sends


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.chirpwireless.io/dashboards/adding-widgets/control-widget/input.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
