> This is part 1 of 2 of the full documentation (pages 1–100 of 187).
> The content is paginated: fetch every part to see all of it.
> Next part: https://docs.chirpwireless.io/llms-full.txt/1
> Page index: https://docs.chirpwireless.io/llms.txt

# Chirp — Home Automation Platform

See home sensors and cameras together, build useful automations, and receive alerts with Chirp and Lens.

**Chirp is a home automation platform** that brings compatible sensors, cameras, and connected devices together. Check what is happening at home, understand a changing reading, and arrange for the right response when something needs attention.

Start with a household problem: a cold room, a possible leak, an entrance you want to watch, or a garden that needs closer attention while you are away. Chirp lets you build the view and automation around that need instead of treating every gadget as a separate system.

You can begin with a single sensor and grow from there. Existing compatible cameras can join through **Lens**, and devices from different manufacturers can work through supported connections. The AI assistant helps with setup and questions, while the visual editors let you inspect how the result works.

## Why Chirp

### Bring useful equipment together

A home often collects devices one at a time. The temperature sensor may come from one manufacturer, a camera from another, and a controller from a third. Chirp gives supported equipment a common place for readings, views, and automation.

Each device has a digital model that describes the measurements or states it supplies. That is how a number becomes a temperature with a unit, or a reading becomes an open-or-closed state that you can use in a rule. The same information can appear in more than one useful view without needing to set up another physical sensor.

Choose the connection that matches the device. [LoRaWAN](/connectors/lns-connector/what-is-lorawan) is useful for supported wireless sensors, while [MQTT](/connectors/mqtt-connector/what-is-mqtt) and other integrations offer different routes. A LoRaWAN setup requires a compatible Basics Station gateway; other connection types have their own requirements.

If you want to explore before buying equipment, use [Pretend Sensors](/devices/pretend-sensors). Their emulated readings let you learn how dashboards and rules fit together.

### Keep your cameras and see more with Lens

[Lens](/lens) is Chirp's cloud camera feature. It brings compatible RTSP IP cameras into the platform so you can look after your main home, holiday property, or apartment without replacing all the cameras with one brand. Save a [videowall](/lens/videowalls) for each property, or group views more closely around an entrance, floor, or garden.

A small local component called **Twin** connects each camera. Its name comes from *digital twin*: it represents that camera at your premises and runs in a Docker container on a suitable computer. There is one container per camera—two cameras need two Twins, and twenty cameras need twenty.

Lens gives an existing camera another useful role. If the picture includes the pavement and your front steps, you can draw a motion area around the door in Twin. Movement there can supply a reading to a Chirp rule, while ordinary activity outside the area is excluded from detection. The camera does not need its own AI feature to do this.

Use live video when you want to look in, then configure a [camera rule and alert](/lens/camera-rules-and-alerts) for the activity you want to hear about. Optional local recording in Twin lets you keep and review clips at the property.

[Start with Twin installation](/lens/installing-twin), then connect the camera and test its view.

<figure><img src="https://1153890212-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxgYoHO4zlaBzHJcfIrto%2Fuploads%2Fgit-blob-f6160bc630de5446cb756a461c59984451fd0bfe%2Fchirp-lens-live-view.jpg?alt=media" alt="Two different camera feeds brought together in Chirp Lens"><figcaption><p>Check cameras together in one household workspace, including cameras at more than one property.</p></figcaption></figure>

### Make your home easy to understand at a glance

A [dashboard](/dashboards) is a view you arrange for your household. It might show room temperatures, a door state, and a recent humidity trend. A garden dashboard might emphasize soil readings and supported irrigation controls instead.

Choose widgets for the question you want to answer. A current value tells you what the latest reading says. A chart shows how it changed. A control gives you a way to operate a supported device. The dashboard becomes more useful when the names and arrangement match the way you think about the home.

You can also [show your home in 3D](/dashboards/adding-widgets/digital-building-twin). Link readings to rooms or objects and use colors to show their conditions. This makes it easier to locate a sensor's information: the room itself provides context, rather than leaving you to recognize a device code.

[Applications](/applications) help keep the related parts together. A Home Watch application can bring its dashboard, devices, rules, and alarm definitions into one place without changing what those resources do.

### Let a rule handle the repeatable part

A rule describes what should happen when a reading or trigger meets your conditions. You can inspect it as a diagram: where it starts, which route it follows, and what action it performs.

For a possible leak, the useful outcome may be an urgent notification. For a temperature problem, you may want the condition to last for a while before it counts. For a supported controllable device, the outcome can also include a saved device command.

The [Rules Engine](/rules-engine) provides the tools to build and test that behavior. Saved versions and the build-and-deploy workflow help you review a change before running it. You can stop a rule and revise it when your household needs change.

[Alarm definitions](/alarm/set-up-a-home-alert) handle the notification side: the message, recipients, channels, and relevant timing. The [alarm inbox](/alarm/check-and-clear-alerts) helps you inspect and respond to incidents. A good setup tells you what happened and what to check, rather than repeatedly sending an unexplained value.

### Ask for help with your actual setup

The [AI Assistant](/ai-assistant) can explain connection choices, help prepare supported configuration, and investigate available device information. You can describe a household outcome in ordinary language and then review the resulting settings or automation in the platform.

Try a focused request such as “Help me monitor the basement temperature” or “Which of my sensors have stopped reporting?” Supply the relevant home or device context so the answer addresses the right equipment. Confirm consequential actions when prompted and inspect the result before relying on a new automation.

The assistant is also a way to learn the platform as you use it. You do not need to memorize every menu before asking what a reading means or which part of a rule needs changing.

<figure><img src="https://1153890212-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxgYoHO4zlaBzHJcfIrto%2Fuploads%2Fgit-blob-61ab5d9df13a6d0b05d07b39c9b8caf2ce282952%2Fchirp-introduction-ai-readings.jpg?alt=media" alt="Chirp AI assistant explaining the latest state of a pretend door sensor"><figcaption><p>Ask about a household reading and get an explanation tied to the device. This demonstration uses a pretend sensor.</p></figcaption></figure>

## Share the setup with your household

Your selected organization is the working context for devices, dashboards, and other resources. Give household members appropriate access through the [organization settings](/settings), rather than sharing one account password. Their permissions determine what they can see and change. Lens currently requires camera-management access to open its workspace.

More technical users can connect other software through the [API](/api). Interface preferences and plan details are available in the settings and account guides; you can explore them when you need those options.

## Access the Platform

Open [Chirp](https://app.chirpwireless.io/).

## Let's get started

* **Connect your first sensor:** follow [First Steps](/first-steps).
* **Use a camera you already own:** start with [Lens](/lens).
* **Explore without hardware:** create a [Pretend Sensor](/devices/pretend-sensors).
* **Give a home setup a name:** [create an application](/applications/creating-an-application) and bring its useful parts together.


# First Steps

Get started with Chirp — what you need and the LoRaWAN setup flow that takes you from unboxing to live sensor data.

Start with one useful job for your home: see a room's temperature, watch a door sensor, or receive a leak alert. This section helps you find your way around Chirp and connect your first sensor. You can also ask the [AI Assistant](/ai-assistant/let-ai-set-it-up) to work through the configuration with you.

The hands-on tutorial uses LoRaWAN. If your sensor uses another connection, the [Connectors guide](/connectors) shows where to begin.

## What's ahead

| Page                                                                | What you'll learn                                                                                                                               |
| ------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- |
| [Finding Your Way Around](/first-steps/finding-your-way-around)     | A tour of the interface — where everything is, what each section does, and how to customize your view                                           |
| [Connect Your First Sensor](/first-steps/connect-your-first-sensor) | A hands-on LoRaWAN guide: set up your gateway, create an LNS connection, register a sensor, build a room dashboard, and create your first alarm |

## What you'll need

* A Chirp account
* A web browser on your computer, tablet, or phone
* For the hands-on guide: a LoRaWAN gateway and a sensor (like a temperature/humidity sensor) with its Device EUI and AppKey — these usually come printed on the device or its packaging

No hardware yet? The first two pages are still worth reading — they'll help you understand what Chirp can do and how it works before your sensors arrive.

## The LoRaWAN setup flow

Here's what that path looks like:

```
Sign up → Plug in your gateway → Create a connector → Register your sensor → Build a dashboard → Set up an alarm
```

Not every Chirp setup starts with a gateway. This flow is specifically for LoRaWAN sensors. Other connection types begin with the connection itself instead.

Most people have their first LoRaWAN sensor reporting data within 15 minutes. The [Connect Your First Sensor](/first-steps/connect-your-first-sensor) guide walks you through every step.

## After your first sensor

Want to connect scripts or trusted tools to Chirp? Create an API key and use the [API](/api) — REST over plain HTTPS is all most home setups need.

## Start with an existing camera

Already have a compatible IP camera? Begin with [Lens and Twin](/lens/installing-twin). Twin runs at your home, one container for each camera, and connects it to Chirp. You can complete the sensor walkthrough separately.


# Finding Your Way Around

Tour the Chirp interface — left menu, profile options, notification bell, home screen — find where everything lives.

Here's a quick tour of the Chirp interface so you know where everything lives.

## The menu on the left

The left side of the screen has your main menu. Everything you need is organized here, top to bottom.

You can tuck the menu away when you do not need it — hover over the Chirp logo at the top and click the double-chevron that appears. The menu collapses to just icons, giving your dashboards and data the full screen. Click the chevron again to bring the labels back. This is especially handy if you use a tablet or touchscreen to display your dashboards.

### Your main sections

* **Overview** — Your home screen. Summary cards showing your sensor and gateway counts, and recent alarms. Think of it as the front page of your smart home.
* **Dashboards** — Custom views you build for any room or purpose. Create a "Kitchen" dashboard, a "Garden" view, or a "Security" overview. Organize them in folders and fill them with the sensor data that matters to you.
* **Connectors** — Define which protocols Chirp listens on. Connector types: **LNS** (for LoRaWAN sensors), **Tracker** (for vehicle trackers — OBD2, CAN bus, standalone GPS), **MQTT** (for Zigbee sensors via Zigbee2MQTT, DIY hardware, and other MQTT-capable devices), and **Emulator** (pretend sensors, for setting things up before your hardware arrives). Click an LNS connection to see **LoRaWAN Gateways** and **Connected Devices** tabs. A Tracker connection shows the sensor list directly. Sensors are registered separately through the sensor dialog.
* **Devices** — See all your registered sensors in one place. Browse and search. Click any sensor to view or edit its details.
* **Gateways** — Your LoRaWAN gateways (must support Basics Station protocol for secure connectivity). See which ones are online, check their signal stats, add a new gateway, or update firmware.
* **Alarm** — Your alert headquarters, with three tabs:
  * **Inbox** — See every alarm that's been triggered. Each one shows what happened, how serious it is (from Critical down to Info, with High, Medium, and Low in between), which sensor triggered it, and whether it's been resolved. Filter by severity or status, and search through past incidents.
  * **Alarm definitions** — The alarm rules you've set up. Create rules that define when to alert you, who gets notified, and how urgently. Rules support escalation — if nobody responds within a set time, the alert can automatically reach the next person or channel.
  * **Settings** — Configure how different severity levels behave and manage delivery preferences.
* **Rules engine** — Your automation builder. Create rules visually: "if this sensor reads this, then do that." Rules can be as simple or as detailed as you need.
* **Reports** — Activity and audit information for your household.
  * **Audit Trail** — A log of membership activity in your household. See when users were invited, when they joined, when permissions changed, and when someone was removed.

### Settings

Click **Settings** to see more options:

* **Profile settings** — Change your name, email, profile photo, or password. You can also delete your account from here.
* **Locations** — Set up your rooms and zones. Once defined, you can filter devices by location and organize dashboards by room.
* **Device sharing** — See which devices you've shared with family members and manage who has access to what.
* **API Keys** — For power users and tinkerers. Create secure keys to connect Chirp with your own scripts, home automation setups, or other services. Each key has specific permissions and can be set to expire automatically.
* **New device request** — Can't find your sensor's model when adding it? Choose **New device request** to ask the team to add support. Tell them the **Brand**, **Model**, and **Band**, and add a **Documentation link** or **Codec link or code** if you have one, then tap **Send request** — you'll see a confirmation once it's on its way.
* **Changelog** — See what's new in the latest platform updates.

### At the bottom

* **Get Help** — Opens a form where you can describe your issue, enter your email, and send a message directly to the support team.
* **Docs** — Opens this documentation.

### Making more space

You can collapse the menu to just icons by using the collapse arrow. This gives more room for dashboards and device views. Hover over the collapsed menu to temporarily see the labels.

## Your profile menu

Click your **name or photo** in the bottom-left corner to open a dropdown. This is where you'll find several important things that aren't in the main menu:

* **Language** — Switch between English, German, French, Spanish, and Portuguese. The change is instant and Chirp remembers your choice.
* **Dark / Light mode** — Toggle between themes. Dark mode is great for checking sensors before bed or in dimly lit rooms.
* **Subscription** — See which plan you're on, how many devices and rules you're using, and upgrade if you need more.
* **Users** — Manage members of your organization — invite people, set permissions, and control who can see or change what. This is how you share your smart home with family members, roommates, or a landlord.
* **Organization settings** — Change your organization's name or transfer ownership. Only visible to the organization owner.
* **Log out** — End your session.

### Switching organizations

Under **My organizations** in the menu, you'll see all organizations you belong to — for example, your own home and a vacation property you manage. Pick a different one and the entire interface switches — different devices, different rules, different members. Each organization is completely separate.

## The notification bell

On desktop, a small **bell icon** appears near your profile. It shows a number badge when you have unread alarms. Click it to see recent alarms in a sidebar without leaving whatever page you're on.

## Your home screen (Overview)

When you open Chirp, you land on the **Overview** page — titled **"My board"** in the interface.

### At the top: counts and status

Two cards show how your home is doing:

* **Devices** — How many sensors you have. Warnings appear if any aren't communicating.
* **Gateways** — How many are online. If one drops off, you'll see it immediately.

### Below: recent alarms

* **Recent alarms** — Latest triggered alarms. What happened, which device, when. Mark all as read, or click one for the full story.

Everything updates automatically — new readings and alarms appear without refreshing.

## Managing your devices

Sensors are added and managed through **Connectors** or **Devices**. Adding a new sensor opens a dialog where you enter a name and save. The dialog then transitions to edit mode with four tabs:

* **Device info** — Name your sensor and add photos.
* **Connection** — Choose the connector type, select a known device profile (brand, model, frequency band) or enter credentials manually (Device EUI, AppKey).
* **Metrics** — Choose which sensor parameters the device reports, using templates.
* **Logs** — See the device's activity history.

This same dialog is used for adding new devices and editing existing ones.

## Inside a gateway page

Click a gateway to see:

* **Overview** — Whether it's online, how long it's been running, signal quality, traffic, and which devices connect through it.
* **Settings** — Change the name, update the location, manage antenna configuration.

## Applications and cameras

Open **Applications** to find the parts of a named household setup together. Choose **Cameras** for Lens and your connected camera views. The return control in Lens takes you back to the rest of Chirp.


# Connect Your First Sensor

Hands-on guide to pair a gateway, register a LoRaWAN sensor, build a room dashboard, and set your first home alarm.

Let's get something working. This guide walks you through the simplest LoRaWAN path to live data on your screen and an alarm watching over it. Not every Chirp setup starts with a gateway, but this one does because it covers the LNS / LoRaWAN route. Every feature has its own section later — here we're just getting you up and running.

**You'll need:**

* A Chirp account
* A LoRaWAN gateway (the small box that receives signals from your sensors)
* A LoRaWAN sensor (like a door sensor or temperature sensor) — along with its Device EUI and AppKey, usually printed on the device or its packaging

**By the end, you'll have:**

* A gateway receiving signals in your home
* A connector linking the gateway to Chirp
* A sensor sending live readings
* A room dashboard showing your data
* An alarm that notifies you when something needs attention

***

## How do I set up my gateway?

The gateway is the bridge between your wireless sensors and Chirp. It plugs into your home network and listens for sensor signals within range.

Your gateway needs to support the **Basics Station** protocol — this is how it connects securely to Chirp using encrypted TLS certificates (which is why you'll download a certificate bundle during setup). Most modern LoRaWAN gateways support this; check the specifications when choosing one.

1. Plug in your gateway and make sure it has power plus an internet connection or backhaul (for example Ethernet, Wi-Fi, or LTE, depending on the model).
2. In Chirp, click **Gateways** in the left menu.
3. Click **Add gateway** in the top-right corner.
4. Give it a **name** — like "Living Room Gateway" or "Home Hub."
5. Choose the right **region** for your gateway hardware and location:
   * Normally it is the frequency band printed on the gateway's box, or the one it was set up for
   * **EU868** for most deployments in Europe
   * **US915-0 / US915-1** in the United States, depending on the network setup
   * **EU433** only if your gateway is specifically built or configured for 433 MHz
   * Other regions are in the dropdown
6. Type in the **Gateway EUI** — a 16-character code printed on a sticker on the gateway, usually on the bottom or back.
7. Click **Next**.

### Connect your gateway to Chirp

The next screen shows two important things:

8. An **LNS address** — this is the server URL your gateway needs. Click the **copy icon** to copy it.
9. A **Download certs.zip** button — click it to download the security certificates.
10. Click **Continue**.

Now open your gateway's settings page in your browser (find its IP address on your router's connected devices list) and enter:

* The **LNS address** you just copied
* The **certificates** from the zip file

The exact steps depend on your gateway model — check the guide that came with it. Once connected, the gateway shows as **online** in your Gateways list. This may take a couple of minutes.

> **Where to put it:** A central, elevated location works best. For an apartment, one gateway usually covers everything. For a house, the main floor is a good choice.

***

## How do I create a connection?

Before adding sensors, you need a connection. A connection tells Chirp which protocol to listen on — in this case, LoRaWAN.

1. Click **Connectors** in the left menu.
2. Click **Add connector** (or the **Add connector** button if you haven't set one up yet).
3. Select **LNS** from the **Connector type** dropdown.
4. Click **Add**.

Done — the connection is created. No extra setup needed. Chirp handles the LoRaWAN network integration automatically.

***

## How do I add my sensor?

With the gateway online and the connection in place, you can register your first sensor — giving it a profile in Chirp that tracks its state, readings, and history.

1. In the **Connectors** page, click on your **LNS** connection to open it.
2. Click the **Connected Devices** tab.
3. Click **Add device**.

### Create the sensor profile

The dialog opens showing only the basic info:

4. Type a **name** — like "Front Door Sensor" or "Bedroom Temp."
5. Optionally add a **photo** of the sensor.
6. Click **Save**.

The sensor profile is created and the dialog transitions to edit mode with all tabs visible.

### Configure the connection

7. Click the **Connection** tab.
8. Select your **connector** from the dropdown.
9. Under **"Use device profile templates"**, check the box if your brand is in the list:
   * Pick the **Brand** (e.g., Dragino, Milesight, Browan).
   * Pick the **Model** — the list narrows by brand.
   * **Profile** (band and device class) fills in automatically.
10. If your sensor isn't listed, leave the checkbox unchecked and enter:
    * **Device EUI** — 16 characters, printed on the sensor or its box.
    * **AppKey** — 32 characters, also included with the sensor.
11. Click **Save**.

The sensor appears in the Connected Devices list. It needs a moment to join the network through your gateway — most sensors send their first reading within a minute or two.

> **Don't see your brand?** No problem — leave the template checkbox unchecked and enter the Device EUI and AppKey manually. Chirp works with any LoRaWAN sensor. You can configure data templates later to define how raw data maps to meaningful readings. See the [Data Templates](/devices/data-templates) section for details.

***

## How do I see my live data?

Once your sensor has reported in, you can view its data in two ways:

* Click a **sensor row** in the Connected Devices list — the sensor's detail page opens. Click the **Metrics** tab to see readings.
* Or check **Devices** in the sidebar to see all your sensors and their status.

The best way to keep an eye on your data is through a dashboard — which we'll set up next.

***

## How do I create a room dashboard?

Dashboards let you see data from one or many sensors at a glance.

1. Click **Dashboards** in the left menu.
2. Click **Add dashboard**.
3. In the modal:
   * Pick an **icon** for the dashboard.
   * Enter a **name** — like "Front Door" or "Home Overview."
   * Optionally choose a **folder** or add a **description**.
4. Click **Save**.

### Add your sensor's data

5. On the new dashboard, click **Add widget**.
6. **Choose your device** from the list.
7. **Choose a metric** — like door status or battery level. You'll see a live preview of how the widget will look.
8. Click **Choose** to add it.

Repeat to add more widgets. **Drag** them to rearrange and **resize** by pulling their edges.

> **Idea:** Create a dashboard for each room, or one "Home Overview" with the most important reading from each sensor.

***

## How do I get alerted when something happens?

Let's set up an alarm so Chirp tells you when the door opens.

1. Click **Alarm** in the left menu.
2. Click **Add alarm rule** in the top-right corner.
3. In the modal, fill in:
   * **Name** — like "Front Door Opened."
   * **Title** — the subject of the alert (e.g., "Door Alert").
   * **Body** — the message (e.g., "The front door has been opened.").
   * **Severity** — pick **Critical** if this needs immediate attention, **High** or **Medium** for important but non-urgent events, or **Low** / **Info** for things you just want to know about.

### Who gets notified

4. The first **escalation step** is pre-configured with your account and email.
   * Choose additional **channels** if available (SMS, push notifications).
   * To escalate further: click **Add step** — for example, notify your partner if you don't respond within 10 minutes.
   * Set the **delay** between steps.
5. Click **Save**.

The alarm rule is now watching. When triggered, an alarm appears in **Alarm → Inbox** and you receive a notification through your configured channels.

***

## What do I do once my sensor is running?

That's it — you have a working LoRaWAN smart home setup:

* A **gateway** receiving signals from your sensors
* A **connector** linking the network to Chirp
* A **sensor** sending live data
* A **dashboard** where you see it all at a glance
* An **alarm rule** keeping watch while you don't

From here, you might want to:

* **Add more sensors** — Repeat Step 3 for each new device through your connector
* **Build automations** — Check out the Automation section for rules like "alert me if the door opens after midnight"
* **Invite your family** — Go to **Users** in the user menu to invite family members and control what they can see and change
* **Build with the AI Assistant** — Ask it to create an automation that alerts you when this sensor reports above a limit you choose. See [Let the Assistant Set It Up](/ai-assistant/let-ai-set-it-up).


# Applications

Not sure what you can automate at home? Open Solutions, install a ready-made setup in a few clicks, then order the devices it lists and switch to real sensors.

Not sure what your home can do for you, or where to begin? Solutions are made for exactly that.

Go to **Applications** in the left sidebar and open the **Solutions** tab. You see the setups we have prepared: keeping an eye on a rental while you are away, a heads-up the second a pipe leaks, lights you can switch off from anywhere, noise monitoring for parties without spying on anyone, and more. New ones arrive with every update.

Doing any of these yourself takes work. You pick sensors, build a dashboard, write automations, and set up alerts. If you have never done any of that, it can feel like a lot.

So we did the work for you. Choose **Preview** on a solution, then **Use this solution**, then **Install solution** on the next screen. The solution appears in your account with practice sensors, which are sample sensors that send made-up readings. You can see how the dashboard looks, how the automations are built, and how the alerts reach you. It all works right away, and you can change any part of it. Alerts come to you by default; add family members or other ways to be notified, such as email, SMS, or push, before you count on them. Because you begin with a setup that already works, you pick up how it all fits together and where everything lives.

And if it is just what you were after, the solution lists the devices you need to buy. Order them, and once they arrive, swap the practice sensors for the real ones. You can make the swap yourself, or Chirp's [AI chat](/ai-assistant) can connect them for you. All you need is each device's ID, which is usually printed on its label or in its manual. After that, your setup runs on real readings. [How do I move from practice sensors to real ones?](/applications/from-practice-sensors-to-real-ones)

<figure><img src="https://1153890212-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxgYoHO4zlaBzHJcfIrto%2Fuploads%2Fgit-blob-a4f08dcab3ef3bc3deb10e3cc2984bd9b92f6677%2Fchirp-solutions-catalog.jpg?alt=media" alt="The Solutions tab in Chirp with one ready-made solution card and its Preview button"><figcaption><p>Each card previews what you get when you install.</p></figcaption></figure>

## How is a solution different from an application?

A **solution** is the finished template we prepared for you. An **application** is what sits in your account once you install one, with its sensors, dashboard, automations, and alerts in one place. You can also build an application yourself, from nothing. After the install it is a normal application, and you can edit all of it. [Solutions and applications in more detail.](/applications/solutions-explained)

## What do the words in Chirp mean?

* **Dashboard:** a screen with live charts and numbers.
* **Sensor:** a small device that measures something at home, such as temperature, water, or motion, and sends readings to Chirp.
* **Practice sensor:** a sample sensor that sends made-up readings. Some screens call it an emulated device or the Emulator. It counts toward your plan's device limit.
* **Automation:** a rule that reacts to a reading, such as "if the basement gets wet, send me an alert".
* **Alert:** the notification that tells you something needs attention. Some screens call it an alarm. An automation decides when it goes off.
* **Connector:** the link that brings a real sensor's readings into Chirp, for example LoRaWAN or MQTT.
* **Organization:** your Chirp account space. At home, that is you and the people who share your setup.

## How do I get started with solutions?

1. In the left sidebar, choose **Applications**. The **Solutions** tab is the one to start on.
2. [Look through the solutions](/applications/exploring-ready-made-solutions) until one fits your situation.
3. [Install it](/applications/installing-a-ready-made-solution): **Preview**, then **Use this solution**, then **Install solution**. The next screen lists what gets created and the devices you will need.
4. Order those devices. Once they arrive, [replace the practice sensors with real ones](/applications/from-practice-sensors-to-real-ones).

## Where do I find what?

| You want to                                         | Go to                                                                                                 |
| --------------------------------------------------- | ----------------------------------------------------------------------------------------------------- |
| Get the terms straight: solution and application    | [What are solutions and applications in Chirp?](/applications/solutions-explained)                    |
| Look through the ready-made solutions               | [How do I explore ready-made solutions?](/applications/exploring-ready-made-solutions)                |
| Put a solution to work                              | [How do I install a ready-made solution?](/applications/installing-a-ready-made-solution)             |
| Connect your real sensors                           | [How do I move from practice sensors to real ones?](/applications/from-practice-sensors-to-real-ones) |
| Create an application of your own                   | [How do I create an application in Chirp?](/applications/creating-an-application)                     |
| Sort devices, rules, and alerts into an application | [How do I organize content in an application?](/applications/organizing-content)                      |
| Open an application's dashboards                    | [How do I use application dashboards?](/applications/using-application-dashboards)                    |
| Remove an application                               | [What happens when I delete an application?](/applications/deleting-an-application)                   |

## Can I create an application myself?

Yes. Maybe no solution matches your home, or you already own sensors and want everything for one job together. It takes more work than installing a solution, so if you are new, install one first and study how it is put together.

1. [Create an application](/applications/creating-an-application) and name it, for example Home Watch.
2. Set up its [sensors](/devices/adding-sensors), a [dashboard](/dashboards/building-a-dashboard), [automations](/rules-engine/your-first-automation), and [alerts](/alarm/set-up-a-home-alert) the way you normally would.
3. [Add each one to the application](/applications/organizing-content): open the item and choose your application in its **Application** field. Then check that the automation points to the right sensor and alert, because sharing an application does not connect them.
4. Go to **Applications → My applications**, open your application, and use **Dashboard** to see its views or **Content** to see the sensors, automations, and alerts inside. A new application is empty until you add things.

An application can hold several dashboards; see [Using application dashboards](/applications/using-application-dashboards). It belongs to your current organization. Seeing or changing what is inside still depends on your permissions, and filing something under an application does not open it up to anyone. Deleting an application also deletes what is inside it, so [see what deletion removes](/applications/deleting-an-application) first. Can't find **Applications** in the sidebar? The feature may not be switched on for your account yet; see [Get Help](/get-help).


# What Are Solutions and Applications in Chirp?

Learn what a solution, an application, and a use case are in Chirp and how they differ: a solution is the template, your application the result.

A solution is a ready-made starting point, and an application is the setup that ends up in your account.

## What is a solution?

A **solution** is a ready-made setup we prepared for one specific job at home, like watching a holiday home or catching a leak early. It comes with the sensors, dashboard, automations, and alerts you would otherwise set up by hand. You find solutions on the **Solutions** tab, look them over, and install the ones you want.

## What is an application?

An **application** is what you have in your account after installing a solution: its sensors, dashboard, automations, and alerts, all in one place and already working. You can also create an application yourself and fill it with your own sensors and dashboards. Either way, you can edit it.

## What is the difference between a solution and an application?

Picture a family recipe and the dinner you cook from it. The solution is the recipe card, and the application is the dinner on your table. You pick a recipe, press **Install solution**, and end up with a dinner of your own.

* **After the install, there is no difference.** An application you built yourself and one that came from a solution behave identically. The installed one was simply set up for you, and it keeps its practice sensors until you swap them for real ones.

## Where do I find solutions and applications in Chirp?

Both live on one page. Choose **Applications** in the left sidebar. The page is called **Applications and solutions**, and two tabs sit under the title.

<figure><img src="https://1153890212-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxgYoHO4zlaBzHJcfIrto%2Fuploads%2Fgit-blob-a4f08dcab3ef3bc3deb10e3cc2984bd9b92f6677%2Fchirp-solutions-catalog.jpg?alt=media" alt="The Applications and solutions page in Chirp opened on the Solutions tab with one solution card and its Preview button"><figcaption><p>The Solutions tab, with the Applications item selected in the left sidebar.</p></figcaption></figure>

| Tab                 | What it is for                                                                                    |
| ------------------- | ------------------------------------------------------------------------------------------------- |
| **Solutions**       | The catalog of ready-made solutions from Chirp. You preview and install them here.                |
| **My applications** | All the applications in your organization: the ones you made yourself and the ones you installed. |

Guides for each tab:

* [How do I explore ready-made solutions?](/applications/exploring-ready-made-solutions)
* [How do I install a ready-made solution?](/applications/installing-a-ready-made-solution)
* [How do I create an application in Chirp?](/applications/creating-an-application)

## Who prepares the solutions?

Chirp prepares the solutions and keeps the catalog up to date, so you install solutions rather than publish them. Each one is a complete, ready-made setup for one job at home, such as leak protection or keeping an eye on a rental. New solutions arrive with every update.

## What is a use case?

A **use case** is the label for the problem a solution solves, such as leak protection or energy saving. One solution can cover several use cases, and the same use case can show up in more than one solution. You never need to manage use cases yourself.

## What is inside a solution?

| Part             | What you get when you install it                                                                                                  |
| ---------------- | --------------------------------------------------------------------------------------------------------------------------------- |
| Practice sensors | Sample sensors that send made-up readings, so the dashboard has something to show right away. Each carries an **Emulator** badge. |
| Automations      | Rules that react to the readings, for example by sending an alert. They are already running.                                      |
| Alerts           | Notifications that tell you something needs attention, set up so that you are the one who gets them.                              |
| Dashboard        | A ready-made view whose charts are already connected to the practice sensors.                                                     |

## What happens when a solution disappears or I delete an application?

* **A solution that leaves the catalog changes nothing for you.** If we take one out, it vanishes from the list. Applications that were already installed from it carry on working.
* **Deleting your application leaves the catalog alone.** It removes only your copy, and everything inside it. See [What happens when I delete an application?](/applications/deleting-an-application)

Can't find **Applications** in the sidebar? The feature may not be switched on for your account yet. See [Get Help](/get-help) to reach support.


# Exploring Ready-Made Solutions

Look through the Chirp solutions catalog and preview a live dashboard, practice sensors, automations, and alerts before you install anything.

You can look inside any solution before you install it. Walk through its dashboard, see what comes with it, and read the plain-words description. Nothing gets created while you browse.

## How do I open the Solutions tab?

1. Choose **Applications** in the left sidebar. The page is titled **Applications and solutions**.
2. Pick the **Solutions** tab. It comes first, right before **My applications**.

Under the **Solutions** heading, a short paragraph lists what each solution brings: practice sensors, automations, alerts, and a dashboard that is ready to go. The practice sensors send sample readings, so the dashboard shows live numbers the moment you install. You need no hardware. They arrive through the Emulator connector, which is simply the link that carries their readings into Chirp. (Some screens call practice sensors emulated devices or the Emulator.)

<figure><img src="https://1153890212-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxgYoHO4zlaBzHJcfIrto%2Fuploads%2Fgit-blob-a4f08dcab3ef3bc3deb10e3cc2984bd9b92f6677%2Fchirp-solutions-catalog.jpg?alt=media" alt="The Applications and solutions page with the Solutions tab selected, showing the introduction text and one solution card with a name, description, four counters and a Preview button"><figcaption><p>The Solutions tab with one ready-made solution.</p></figcaption></figure>

## What is on a solution card?

Each card shows:

* **Photo.** A picture of the setup. A few cards have none.
* **Name and description.** The name tells you the job or the place at home. The description sums it up in a line.
* **Four counters.** Virtual devices (your practice sensors), rules (automations), widgets (tiles on the dashboard), and alarms (alerts). A glance tells you if a solution is a small helper or covers the whole house.
* **Preview.** The button at the bottom. It opens the solution and installs nothing.

Chirp looks after the catalog, so what you see depends on what has been added so far.

If nothing has been added yet, the tab reads **Your provider has not published any solutions yet**. That wording is the app's own. It just means the catalog is empty for now, so check back later. When the list cannot be fetched, you see **Couldn't load the solution catalog**. Give it a moment and reload.

<figure><img src="https://1153890212-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxgYoHO4zlaBzHJcfIrto%2Fuploads%2Fgit-blob-35ef4700ba84439cf493945eb9e1650aed2cf366%2Fchirp-solutions-catalog-empty.jpg?alt=media" alt="The Solutions tab before anything is published, with the message that your provider has not published any solutions yet"><figcaption><p>The Solutions tab before any solution is added to the catalog.</p></figcaption></figure>

## How do I preview a solution?

Press **Preview** on a card. The page that opens has a header and two tabs.

In the header, a back arrow takes you to the catalog. Next to it you see the solution's name with its description below. On the right sits **Use this solution**, which leads on to the install page. Previewing never creates anything.

### What does the Dashboard tab show?

**Dashboard** comes first. It shows the finished dashboard with readings from the practice sensors, and they are really running. Gauges move, charts fill in. Look around the way you would on any dashboard of your own.

<figure><img src="https://1153890212-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxgYoHO4zlaBzHJcfIrto%2Fuploads%2Fgit-blob-f55dd0106dc7006edc228e0a7751785ec0958929%2Fchirp-solutions-preview-dashboard.jpg?alt=media" alt="The solution preview page with the solution name, a Use this solution button, the Dashboard and Content tabs, and a live widget showing a practice sensor reading"><figcaption><p>The Dashboard tab of a preview.</p></figcaption></figure>

### What does the Content tab show?

**Content** explains the setup in words and lists what is inside. It covers:

* **About.** The solution's name and its explanation, with two columns next to it: **Who it's for** and **How it works right now**. Many solutions put an installation checklist in the second column, saying where each real sensor goes.
* **Virtual devices.** One row per practice sensor, each marked with an **Emulator** badge.
* **Rules.** Each automation, with a sentence saying what it does.
* **Alarms.** Each alert, tagged with a severity such as Low or Critical. An alarm is the notification that says something needs your attention.
* **Emulator.** A card explaining that you can swap the practice sensors for real ones later, while your devices, mappings, rules, and widgets stay put.

<figure><img src="https://1153890212-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxgYoHO4zlaBzHJcfIrto%2Fuploads%2Fgit-blob-4f32146127c9d64d4f8aff564c2ea02ceae21e9b%2Fchirp-solutions-preview-content.jpg?alt=media" alt="The Content tab of a solution preview with the About card, Virtual devices with an Emulator badge, Rules, Alarms and the Emulator explanation"><figcaption><p>The Content tab of a preview.</p></figcaption></figure>

If the About text has a checklist, read it before you buy anything. It shows how each real sensor fits into the setup.

## What if the preview shows a message?

* **Preview is unavailable right now.** The preview did not load. Try again shortly.
* **This solution has no dashboards to preview.** There is no dashboard to show, but **Content** still works.
* **Solution not found.** Chirp may have taken it out of the catalog after you opened the page. Go back and choose another.

Found one you like? Press **Use this solution**, then continue with [How do I install a ready-made solution?](/applications/installing-a-ready-made-solution)


# Installing a Ready-Made Solution

Press Use this solution, then Install solution to get practice sensors, running automations, alerts, and a dashboard in your account. Fixes included.

One install turns a solution into an application of your own, already working. You set nothing up first. If you like how it behaves, you buy the devices the install screen lists and swap them in for the practice sensors. Everything else is already in place.

The whole path: **Preview**, then **Use this solution**, then **Install solution**.

## How do I open the install screen?

1. In the left sidebar, choose **Applications**, then stay on the **Solutions** tab.
2. Press **Preview** on the solution you want.
3. Press **Use this solution** in the top-right corner.

The page is now titled **Install** plus the solution's name, with the description underneath. A back arrow returns you to the preview. Nothing exists yet. That only changes when you press **Install solution**.

<figure><img src="https://1153890212-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxgYoHO4zlaBzHJcfIrto%2Fuploads%2Fgit-blob-ab35793ee660032613befce8de95185fde32d21f%2Fchirp-solutions-install.jpg?alt=media" alt="The Install screen with the What will be created card, the Devices card, the Data source Emulator connector card with the Backfill 24h switch, and the Cancel and Install solution buttons"><figcaption><p>The install page before you press Install solution.</p></figcaption></figure>

## What does each part of the install screen mean?

* **What will be created.** A card with four tiles. They count the virtual devices (your practice sensors), the rules (automations), the alarm rules, and the widgets (tiles on your dashboard).
* **Alarm rules.** These are your alerts, with escalation. If nobody reacts, an alert can repeat or reach another contact you add later.
* **Devices.** A card on the right side. It opens with "To run this application on real data later, you'll need:" and then lists names. Each one is a real sensor you can buy and connect when you are ready.
* **Data source: Emulator connector.** This says the practice sensors send realistic readings, so the dashboard is alive straight away, and that any sensor can be swapped for a real one. A connector is the link that carries a sensor's readings into Chirp.
* **Backfill 24h of history, so charts aren't empty on first open.** A switch, marked **On** or **Off**. It starts **On**.
* **Cancel and Install solution.** Both sit at the bottom, with a note saying that installing creates an application based on this solution.

### Should I leave the Backfill switch on?

Most of the time, yes. Practice sensors start reporting right away, but charts need some past to draw. With the switch **On**, Chirp adds a day of earlier sample readings, so your first look at the dashboard shows full charts. Choose **Off** if you would like the charts to start empty and grow from now.

## What happens when I press Install solution?

The button changes to **Installing…** and the work continues in the background. Chirp builds these in your organization, which is your Chirp account space (at home, that means just you), in this order:

1. An application named after the solution.
2. The practice sensors, on the Emulator connector.
3. The alerts.
4. The automations, switched on and running.
5. The dashboards, in a folder with the application's name. Every widget reads from a practice sensor.

Press **Cancel** instead if you change your mind, and nothing is created.

You can close the page while it works. The install carries on, and the page picks it up again when you return in the same browser. Past about a minute and a half, you may see **Still installing, this can take a while — you can leave this page and check later.**

## What do I see when the install finishes?

A message appears saying the solution is installed. It tells you the virtual devices, rules, alarms, and dashboard are ready.

<figure><img src="https://1153890212-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxgYoHO4zlaBzHJcfIrto%2Fuploads%2Fgit-blob-69087b79b3ceb2f7a23a3c693ed9cc976fea957f%2Fchirp-solutions-installed.jpg?alt=media" alt="The success dialog reading that the solution is installed, with a Go to application button"><figcaption><p>The message you see when the install finishes.</p></figcaption></figure>

Press **Go to application** to open it. From then on it is an ordinary application. You can edit anything in it, and it stays under **Applications → My applications**.

## Who receives the alerts?

You do. No matter who the solution was prepared for, the alerts in your copy go to the person who installed it. Open [Alarm](/alarm) to add household members or other ways to be notified before you count on them.

## What if the install does not complete?

* **Not enough room on your plan.** Your plan caps how many devices, dashboards, and rules you can have, and practice sensors count as devices. If the install would pass a cap, Chirp says what does not fit and creates nothing. Free up room or change plans, then try again. Your limits are in [Subscription](/account/subscription).
* **Missing permissions.** You need permission to create each kind of item in the solution. The message names the one that is missing. Ask the person who owns the account.
* **An install is already running.** The message reads "Another installation of this solution is already running in your organisation, or a failed one needs an operator to clean it up before you can retry." (spelled as the product shows it). In plain words, an install is still going, or a failed one needs someone from Chirp support to clear it. Choose **Go to my applications** to check.
* **Installation failed: ...** A red banner with the reason spelled out. It shows when Chirp refuses the request, for example over a limit or a missing permission.
* **Installation cancelled: ...** A red banner with a **Retry** button. Chirp started, hit a problem, and removed everything it had made. **Retry** starts over.
* **The catalog is being updated — please retry in a minute.** This one has a **Retry** button too.
* **Still installing, this can take a while — you can leave this page and check later.** and **The installation status is temporarily unavailable.** Yellow notices, each with a **Retry** button that checks progress again. Neither means the install failed.

If something breaks halfway, Chirp removes whatever it had already made, so nothing half-finished stays behind. In the rare case it cannot, the message says **Installation failed and needs manual cleanup — contact support.**

## What do I do next?

Open the dashboard and watch the practice sensors report. Skim the automations and alerts to see what the setup does. When your real sensors arrive, continue with [From Practice Sensors to Real Ones](/applications/from-practice-sensors-to-real-ones).

Changed your mind? [Delete the application](/applications/deleting-an-application). Only your copy goes away, and the solution in the catalog stays as it is.


# From Practice Sensors to Real Ones

Replace the practice sensors in your installed setup with your own Chirp devices using Swap connection. Dashboards, automations, and alerts keep working.

An installed solution starts with practice sensors, so your dashboard shows lively readings from the first minute. (Some screens call them emulated devices or the Emulator.) Once your own sensors arrive, you point the setup at them. Nothing gets rebuilt. Only the source of the numbers changes, and your dashboards, automations, and alerts carry on.

## What do I need before swapping?

* **Your real sensor**, switched on and close enough to its gateway or network.
* **How it connects.** The sensor's manual tells you: LoRaWAN, MQTT, or a tracker. A connector is the link that brings its readings into Chirp.
* **Its identifiers.** These are printed on the label or listed in the manual.

No connector of that type in your account yet? Press **Go to connectors** on the application's **Emulator** card, or read [Connectors](/connectors), then come back.

## How do I get to the device?

1. Open **Applications → My applications** and select your application. The title reads **Applications /** followed by its name. A pencil icon (edit) and a trash can (delete) sit at the top right.
2. Open the **Content** tab. The **Emulator** card at the bottom of the left column is there as long as any device is still a practice sensor. It explains the swap and offers **Go to connectors**.
3. Under **Devices**, select the device you want to swap. The device editor opens.

The **Dashboard** tab next to it has one button per dashboard, and every widget wears an **Emulator** badge while it reads from a practice sensor. If the setup has no dashboard, you see **This application has no dashboards yet**. A dashboard with nothing on it says **This dashboard has no widgets yet**.

## What are the tabs of the device editor?

The editor has the tabs **Device info**, **Connection**, **Emulator**, **Mapping**, and **Logs**. If **Support commands** is switched on for the device, a **Commands & States** tab shows up as well. For the swap you use **Connection** and, sometimes, **Mapping**. The rest are handy to know.

### What is on the Connection tab?

This is where the swap happens. Under the heading **Choose a connector to add a device** you see **Connector type** set to **Emulator**, with a **Swap connection** link on the right. Below it come the **Device data key** rows and, at the bottom, the **Reception** strip.

A device data key is the name a sensor uses for one reading, such as temperature. Each row shows its **Data type**, an **Emulator** button, and a trash can.

<figure><img src="https://1153890212-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxgYoHO4zlaBzHJcfIrto%2Fuploads%2Fgit-blob-54e2808755f50e88304509683a5eee3b54304ec9%2Fchirp-device-connection-emulator.jpg?alt=media" alt="The Connection tab of a practice sensor showing the Swap connection link, Connector type Emulator, the Device ID, the data sending interval, a Device data key row and the Reception strip"><figcaption><p>The Connection tab of a practice sensor, with Swap connection at the top.</p></figcaption></figure>

### How do I start the swap?

```mermaid
flowchart LR
    A[Practice sensor on the Emulator] --> B[Open the device and its Connection tab]
    B --> C[Choose Swap connection]
    C --> D[Pick the real connector and enter its details]
    D --> E[Dashboard and automations read real data]
```

1. Select **Swap connection**. The link turns into **Cancel swap**, and **Connector type** becomes a drop-down.
2. Choose the connector your sensor uses: LoRaWAN, MQTT, or a tracker.
3. Fill in the fields that appear, using the identifiers from your sensor's manual or label.
4. Leave the **Device data key** rows as they are. That is what lets the dashboard go on working.
5. Select **Save**.

Change your mind halfway? **Cancel swap** leaves the device on the Emulator. Also worth a look: the solution's **Content** text often lists the identifiers each device needs.

### How do I know the swap worked?

After saving, watch the **Reception** strip on the **Connection** tab. Real readings are arriving when it says **Receiving & storing** with a **LIVE** marker.

If it does not, go through these in order:

1. Compare the identifiers you typed with the sensor's label. One wrong character is enough to break it.
2. Make sure the sensor is on and in range of its gateway or network.
3. Check the connector. With MQTT, see [How do I troubleshoot MQTT and Zigbee2MQTT?](/connectors/mqtt-connector/troubleshooting). For other connectors, see [Connection diagnostics](/devices/connection-diagnostics).

Still no luck? Contact Chirp support.

{% hint style="warning" %}
A real sensor may report its readings under different names than the practice sensor did. If the dashboard stays empty after the swap, open the **Mapping** tab and match the real sensor's names to the readings the dashboard uses.
{% endhint %}

### What do the Emulator and Mapping tabs do?

**Emulator.** While the device is a practice sensor, type a value for any reading and choose **Save**, or choose **Send once** to push one reading through right away. It is a quick way to try an automation without waiting.

<figure><img src="https://1153890212-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxgYoHO4zlaBzHJcfIrto%2Fuploads%2Fgit-blob-5f1d757cc0b04b996deb033ec05444f5c5dd8858%2Fchirp-device-emulator-tab.jpg?alt=media" alt="The Emulator tab with a Device data key field, a Value field and the Save and Send once buttons"><figcaption><p>The Emulator tab.</p></figcaption></figure>

**Mapping.** This tab shows each reading's **Device data key**, current **Value**, **Last update**, **Normalized key** (Chirp's standard name for the reading), **Unit**, **Type**, and **Data type**. A trash can at the end of a row removes that reading from the list. For a practice sensor the rows follow the device setup, so add or rename readings on the **Connection** tab instead.

<figure><img src="https://1153890212-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxgYoHO4zlaBzHJcfIrto%2Fuploads%2Fgit-blob-45e97cb4b66ca8c38941c26857d128964b2a9eec%2Fchirp-device-mapping-tab.jpg?alt=media" alt="The Mapping tab listing Device data key, Value, Last update, Normalized key, Unit, Type and Data type for one reading"><figcaption><p>The Mapping tab.</p></figcaption></figure>

**Commands & States.** It only appears with **Support commands** on. Define the actions you can send to the device and see how they turned out. See [Commands](/devices/commands).

## What stays the same, and what changes?

| Stays the same          | Changes                                       |
| ----------------------- | --------------------------------------------- |
| Reading names and units | Where the readings come from                  |
| Dashboards and widgets  | The device's connector type                   |
| Automations and alerts  | The identifiers you enter for the real sensor |

The **Emulator** badge also disappears from each device once you swap it.

## Can I swap one sensor at a time?

Yes, in any order. Swapped ones send real readings, and the others keep sending practice readings until their turn. Once the last practice sensor is gone, the **Emulator** card leaves the **Content** tab.

## How do I tell a practice sensor from a real one?

Look for the small badge beside a device name. You find it on the **Content** tab, in your Devices list, and on dashboard widgets.

* **Emulator** marks a practice sensor.
* **live** means a real sensor is sending, and **offline** means it has gone quiet. The badge adds the technology, for example **live · LoRaWAN**, **offline · MQTT**, or **live · Tracker**.
* **not connected** means no real connection is set up yet.

For more background, see the page on pretend (practice) sensors, [How do I create a pretend sensor in Chirp?](/devices/pretend-sensors) and the [Emulator Connector](/connectors/emulator-connector).


# Creating an Application

Build your own Chirp application from scratch: name it, add a note for your household, edit it later, or create one while adding a sensor.

An application keeps everything for one job in a single place. Make one when no ready-made solution fits your home, or when you already own sensors and want them grouped. Starting a new one is quick, but it begins empty. You add the sensors, dashboards, automations, and alerts yourself.

Prefer a head start? [Install a ready-made solution](/applications/installing-a-ready-made-solution) and you get the same kind of application, already filled in. Below, **Home Watch** is just a sample name. Pick one that tells the people in your home what the application is for.

You need to belong to the organization shown in the sidebar. That organization is your Chirp account space, and for a single household it is your home. There is no separate permission for applications. What you can see or change inside one depends on your permissions for sensors, dashboards, automations, and alerts.

<figure><img src="https://1153890212-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxgYoHO4zlaBzHJcfIrto%2Fuploads%2Fgit-blob-d6a9a87f9dc507055f7fe1528a24146a103c5209%2Fchirp-create-application.jpg?alt=media" alt="The Create an application dialog with Application name and Description fields and the Cancel and Create application buttons"><figcaption><p>The dialog with a name and description filled in.</p></figcaption></figure>

## How do I make my first application?

1. Choose **Applications** in the left sidebar.
2. On the **My applications** tab, select **Create an application**. A dialog opens. Its subtitle, "Organize everything for one use case in one place", says what an application is for.
3. Type `Home Watch` into **Application name**.
4. Add a **Description** if you like, for example `Home conditions and alerts while we are away.`
5. Select **Create application**.

Leave the name empty and the field turns red with **Application name is required**. When it works, a message reads **Application created successfully**. If not, you see **Failed to create application**.

The description is only a note for the people at home. It does not set up any sensors or automations. Open the new application and go to **Content**. It starts out empty.

## How do I change an application's name?

Open the application. At the top right, next to the trash can, you find a pencil icon. It opens **Edit application**, where you can change the **Application name** and the **Description**.

Select **Save** to keep your changes, or **Cancel** to leave everything as it was. A message reads **Application updated successfully**. A clear name pays off later, when you choose an application for a new sensor or dashboard.

<figure><img src="https://1153890212-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxgYoHO4zlaBzHJcfIrto%2Fuploads%2Fgit-blob-d30eeff438362c324e9c5e9d60a8363adc50c18b%2Fchirp-edit-application.jpg?alt=media" alt="The Edit application dialog with the Application name and Description fields and the Cancel and Save buttons"><figcaption><p>The Edit application dialog.</p></figcaption></figure>

## Can I create an application while adding a device or dashboard?

Yes. Any form with an **Application** field lets you do it, including **Add device**, **Add dashboard**, a rule, or an alarm. The field's list shows **Default**, then your applications, and **Add new application** at the very end.

1. Pick **Add new application**. A box labeled **Application name** appears, next to a **Create** button.
2. Type a name and select **Create**, or press Enter. Chirp creates the application and selects it for you.
3. Finish the form and save it as you normally would.

A hint under the field points to the **Applications page**, and it is a link. Close the form without saving and the new application stays.

## What is on the My applications screen?

Choose **Applications** in the sidebar, then the **My applications** tab. A line under the **Applications** heading says that installed setups and ones you built yourself live in the same list.

* **Create an application** is the orange button at the top right.
* **Search** narrows the list while you type. It looks at names and descriptions.
* The table shows **Name**, **Description**, **Dashboards**, **Devices**, **Rules**, and **Alarms**. The last four columns count what each application holds. A dash means Chirp could not read the count. That is different from zero.
* The arrow at the end of a row opens that application.

No applications yet? You see **Create your first application** with the same button. If the list does not load, the screen says **Could not load applications**. A search that finds nothing shows **No applications found**.

Next, [sort your sensors, dashboards, automations, and alerts into it](/applications/organizing-content).


# Organizing Content

Choose the Application field for devices, dashboards, automations, and alerts so the Content tab lists them together. Learn what Default and the counts mean.

An application's **Content** tab shows everything that belongs to it in one spot. Picture an application called `Home Watch` (just an example name). It could gather a door sensor, a home dashboard, an automation that checks the door reading, and an alert that tells you when the door opens.

If you installed the application from a [solution](/applications/solutions-explained), its parts are already listed, and you can add more whenever you like. Each device, dashboard, automation, and alert has an **Application** field, and that field decides where it lives. The item has to exist first, so create it on its usual screen.

## How do I add things to an application?

| What       | Where to choose the application                                                                                                                              |
| ---------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Device     | Click **Devices** in the sidebar and open the device. On **Device Info**, pick the application in **Application**, then select **Next** to apply the change. |
| Dashboard  | Open **Dashboards** in the sidebar, then create or edit the dashboard. Pick the application in its **Application** field and select **Next**.                |
| Automation | Click **Rules engine** in the sidebar. In the list, set the **Application** selector on the automation.                                                      |
| Alert      | Click **Alarm** in the sidebar and open the **Alarm definitions** tab. Create or edit the alert, pick the application, and save.                             |

Choose `Home Watch` in each field. Then go to **Applications → My applications → Home Watch → Content** and check that every item appears under the right heading. You need permission to edit an item to change its application.

An automation is a rule that reacts to a reading. Some screens call it a rule chain.

## What is included in an application?

The **Content** tab has one card each for **Devices**, **Dashboards**, **Rules**, and **Alarms**. Open any row to keep working on that item.

Does grouping create an automation? No. Putting the door sensor, the automation, and the alert into `Home Watch` does not send you a single notification. The automation still has to watch the right sensor and use the right alert. [Set Up a Home Alert](/alarm/set-up-a-home-alert) walks you through it.

## How do I move something to another application?

An item belongs to one application at a time. Change its **Application** field and it moves.

**Default** is the application with no name of its own. Choose it when you want to keep an item without placing it in a named application.

## How do I keep things when reorganizing?

Moving an item only changes where it is listed. Deleting an application is different, because it also deletes the devices in it and their stored readings. Before you tidy up an old application, move out whatever you still want. [Deleting an application](/applications/deleting-an-application) has the details.

## What does each card on the Content tab show?

Open **Applications → My applications**, select the application, and choose **Content**. Two columns of cards appear.

* **Devices** lists every device. Each row carries a badge: **Emulator** for a practice sensor, or **live** / **offline** plus its technology, such as **live · LoRaWAN**, for a real one. A real device that stopped reporting appears in muted text.
* **Dashboards** lists your dashboards.
* **Rules** starts with a short note about what a rule chain (an automation) does, then lists the rules with their descriptions.
* **Alarms** explains that an alarm here is a notification recipe, not a trigger. It holds the message, who gets it and how, how it escalates (if nobody reacts, it can repeat or go to someone else), and the schedule. An automation decides when it fires. Each row shows the message and, on the right, the severity. A gray **Disabled** label means the definition is off, and a disabled alarm stays silent whatever a rule raises.
* **Emulator** sits at the bottom of the left column while the application still has a practice sensor. Select **Go to connectors** to add the real connector.

Select any row to open the item. The back navigation brings you to the same tab again.

## What do the counts mean?

The number beside each card title, and in the **My applications** table, tells you how many items of that kind the application holds. **0** means you have not added any yet.

A dash means Chirp could not read the number, for example because you lack access. It does not mean the category is empty.

An empty card says **Nothing here yet**. A card that cannot be read says **Couldn't load this list — it may require a permission you don't have**. That points to a missing permission, not an empty list.

## How do I find an item in a larger application?

When a card has more than ten rows, a small search box appears in its header. It looks through the name and the second line of text, such as a description. No hits? You see **No matches for this search**.

## Good to know

* New forms start with **Default**. After you save something with another application, Chirp remembers that choice for next time, separately for each organization. Check the selection before saving a device, dashboard, or alert.
* **Add new application** creates the application as soon as you press **Create**, and Chirp selects it for you. If you then cancel the form, the new application still exists.
* An **Emulator** badge marks a practice sensor that sends sample readings so you can learn the setup before your real sensors arrive. The [Emulator Connector](/connectors/emulator-connector) guide explains them.
* A real device's status depends on its connection and recent readings, not on which application it belongs to.
* The Rules and Alarms cards show up to 200 entries each. For more, use the full **Rules engine** and **Alarm** pages.
* You can change an automation's application while someone has it open in the editor. Deleting the application is different, and an open editor can stop it.


# Using Application Dashboards

See all the dashboards of a Chirp application in one spot, change them on the dashboard page, and learn what the empty and error messages mean.

Open an application and its **Dashboard** tab shows your home at a glance, with live numbers and charts. **Content** is next door, and it lists the sensors, automations, and alerts that feed those screens.

Install a [solution](/applications/installing-a-ready-made-solution) and the dashboard comes along, already wired to the practice sensors. One application can hold more than one. A `Home Watch` application might have a dashboard for the whole house and a second one for the garden. To bring in a dashboard you built yourself, pick the application in the dashboard's **Application** field.

<figure><img src="https://1153890212-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxgYoHO4zlaBzHJcfIrto%2Fuploads%2Fgit-blob-b9f7f9b76d9dca19a2eacb8019ac1cfe3712269b%2Fchirp-add-dashboard-dialog.jpg?alt=media" alt="The Add dashboard dialog with Icon, Name, Folder, Application and Description fields, where the Application field names the current application"><figcaption><p>Pick the application in the Add dashboard dialog.</p></figcaption></figure>

## How do I check my home from an application?

1. Select **Applications**, then open your application from **My applications**.
2. Choose the **Dashboard** tab.
3. If there is more than one dashboard, select the one you want. Each has a button above the preview with its name on it.
4. Look over the widgets. Use any controls your account allows.

Want to see which sensors or automations sit behind a number? Switch to **Content**.

## How do I change what a dashboard shows?

Select **Go to the dashboard**. That opens the dashboard itself, where you can rearrange the layout or add and remove widgets. Save when you are done.

You never work on a spare copy. The application and the dashboard page show the same thing, so your edit is there when you go back. The full walkthrough is in [Building a Dashboard](/dashboards/building-a-dashboard).

## Why is the Dashboard tab empty?

Open **Content** and look at the **Dashboards** card. Nothing in it? Then no dashboard has been linked to this application yet. Edit the dashboard you want and choose the application in its **Application** field. Or add a new dashboard and pick the application right there in the **Add dashboard** dialog.

A dashboard exists but you cannot open it? Ask the person who owns the account to check what you are allowed to see.

## What do the empty messages mean?

* **This application has no dashboards yet:** nothing has been linked to the application.
* **This dashboard has no widgets yet:** the dashboard is there, but it is still blank.
* **Dashboard is unavailable:** Chirp could not load it. Reload the page, then check your access.

## Why does the application page say Application not found?

You see **Application not found** alone in the middle of the screen, with no tabs and no buttons. Chirp cannot load that application. Common reasons:

* Someone deleted it.
* The link belongs to an application in a different organization.
* The page could not be read.

Choose **Applications** in the sidebar and open **My applications** to see what is available to you. Look at the organization selected in the sidebar too. An application lives in one organization only, and that is your Chirp account space.


# Deleting an Application

Remove a Chirp application you no longer need, and save the sensors, dashboards, and alerts you want to keep before you confirm.

Retiring an application takes a few clicks. First, take a minute to see what is inside it, because most of it goes away with it.

{% hint style="warning" %}
Deleting an application also deletes its devices together with their stored readings, its dashboards, and its alerts. Its automations stop and land in the Trash, the holding place for deleted automations before they are gone for good. Anything you want to keep must move to another application or to **Default** first.
{% endhint %}

Did the application come from a solution? Then it is a regular application like any other. Deleting it affects your copy only. The solution in the catalog stays, and so do other people's copies.

<figure><img src="https://1153890212-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxgYoHO4zlaBzHJcfIrto%2Fuploads%2Fgit-blob-d4c40308666c244cd1b674d469a2ce83fe6ac6d8%2Fchirp-applications-delete-confirmation.jpg?alt=media" alt="The delete confirmation dialog in Chirp Applications, with a warning about what will be removed"><figcaption><p>Read the warning in the confirmation dialog before you delete.</p></figcaption></figure>

## How do I save the things I still need?

1. Open the application and select **Content**.
2. Go through all four cards: devices, dashboards, rules, and alarms.
3. Open each item worth keeping and switch its **Application** field to another application or to **Default**.
4. Save, then check that the item no longer shows up in the old application.

Picture it: you are done with `Home Watch`, but you like its temperature dashboard. Move that dashboard first. Move the sensors it shows as well.

## How do I delete the application?

1. Open the application and select the trash can icon at the top right.
2. Read the question **Are you sure you want to delete the application?** The dialog warns that the devices, rules, alarms, and dashboard linked to the application will be removed from the platform. Devices leave with their stored readings.
3. Select **Yes, delete** if you have checked what is left, or **Cancel** to stop.

Once it works, a message says **Application deleted successfully** and the application is gone from **My applications**. If something goes wrong, you see **Failed to delete application**.

## What if deleting shows an error?

Open the application again and look at what remains before you retry. Part of the cleanup may already have happened. An automation that someone has open in the editor can also get in the way. Close the editor, then try again.

The Trash gives back automations only. Sensors, dashboards, and alerts that were deleted stay deleted. To bring an automation back, follow [Trash and Restore](/rules-engine/managing-automations/trash-and-restore).

## Why can't I delete an application?

Deleting asks for two kinds of access. **Read** means you can see an item. **Write** means you can change it. You need both for the things inside. Your role in the home decides this, and the person who owns the account has it. Otherwise, ask them. If a message names a missing permission, nothing was deleted.

## What happens to dashboard folders?

Say every dashboard you delete sat in one folder, and nothing else lives there. Chirp then removes that empty folder too. A folder that still holds other dashboards stays where it is.


# Overview

Read your home at a glance — device and gateway status cards, notifications, and self-refreshing live readings.

The home overview is the first thing you see when you open Chirp. Think of it as your home's front page — a single screen that tells you whether everything is running smoothly, which devices need attention, and what's happened recently.

The overview is available on plans that include the Overview feature. If your plan includes it, it loads automatically when you log in.

## Where to find it

Tap **Overview** in the sidebar.

## What you'll see

The overview is divided into a few easy-to-scan sections, each showing a different slice of your home's status.

### "My board" and Live Data

The heading **My board** sits at the top of the page, next to a **Live Data** button.

The Live Data button is a small clickable icon. When you hover over it, a tooltip reads **"New data is automatically displayed"** — meaning Chirp keeps the overview fresh as new sensor readings arrive. If you've just made a change (like adding a new sensor) and want to see it reflected immediately, click the button to trigger a manual refresh.

### Summary cards

Below the header, a row of summary cards gives you an at-a-glance view of your smart home. The row scrolls sideways if there are more cards than your screen can fit.

Cards you'll see include:

* **Devices** — Shows how many devices are registered in your home. A small warning indicator appears on the card when Chirp can't confirm a device is reporting — either it has never sent anything, or it has gone quiet for longer than its **Data sending interval** — the field where you tell Chirp how often the device is configured to send (see [Adding Sensors](/devices/adding-sensors)). Tapping the card takes you to the full device list. A small add button in the corner lets you start registering a new device right from here.
* **Gateways** — Shows how many gateways you have connected. Warning indicators appear if a gateway has gone offline or become inactive. Tapping takes you to the gateways page, and the add button starts the gateway setup flow.

These cards work as both a status check and a shortcut. If you see a warning number, you know something needs your attention before you even open the details.

### Notifications

Below the cards, a **Notifications** panel shows recent alerts and events — what happened, which device triggered it, and when. If a door opened while you were out or a temperature crossed a threshold overnight, you see it here without opening the full alarm inbox.

### Add a sensor

At the bottom of the page, a dedicated **Add Device** section makes it easy to register new sensors or gateways. This is especially helpful when you're first setting up your home and the overview is still empty — it's the natural "what to do next" prompt.

## When your home is brand new

If you've just created your Chirp account and haven't connected anything yet:

* The **Devices** and **Gateways** cards show **0** with no warnings.
* The **Notifications** section has nothing to display.
* The **Add Device** section at the bottom invites you to get started.

As soon as you connect your first sensor and gateway, the cards light up. Readings flow in and notifications start tracking what matters.

## Making the most of your overview

* **Use notifications as a morning briefing.** Scroll through recent notifications to see what happened overnight without opening each sensor individually.
* **Tap the Live Data button after adding a sensor.** When you've just registered a new sensor, tapping Live Data confirms that Chirp is receiving its readings right away.

## What's next

* [Finding Your Way Around](/first-steps/finding-your-way-around) — A tour of the full Chirp interface.
* [Adding Sensors](/devices/adding-sensors) — Register your first sensor.
* [Building a Dashboard](/dashboards/building-a-dashboard) — Create a custom view tailored to a room or purpose.


# Dashboards

See your whole smart home at a glance — overview, custom dashboards, widgets, maps, and live sensor data.

Put the things you check together on one screen: the bedroom temperature, garden moisture, front-door state, and a control for a connected lamp. A Chirp **dashboard** is a view you design for your home. Each reading, chart, or control on it is a **widget**.

You can make a view for a room or a purpose and place it on the screen where it is most useful, such as a tablet by the front door. Start with connected sensors, then [build a dashboard](/dashboards/building-a-dashboard) and choose its widgets. The home overview remains a ready-made summary; your dashboards reflect the way you use your home.

## What you can see

Chirp's visibility layer is built around a few key surfaces that work together:

1. **Home overview** — If your plan includes the Overview feature, this is the first screen you see when you log in. It shows summary cards for your devices and gateways, and recent notifications. A clickable Live Data button lets you refresh your data on demand.
2. **Custom dashboards** — Views you build yourself, organized the way you think about your home. A "Kitchen" dashboard might show temperature and humidity. A "Security" dashboard might focus on door and window sensors. You decide what goes where. Dashboards are available on plans that include the Dashboard feature.
3. **Widgets** — Each piece of information on a dashboard is a widget. Widgets are not fixed cards — they are configurable display components that you tailor to your needs. A temperature widget for your living room might show a comfortable green range of 18–24°C, while the same sensor type in a fridge widget turns red above 5°C. You control the ranges, colors, and labels.
4. **Maps and device placement** — See where your sensors are placed on an interactive map, so you always know which device is where.
5. **Tracking** — If you have a GPS tracker (for a vehicle, pet, or bike), see where it's been with location history and route details. Location history works for any device that reports GPS coordinates; a cellular vehicle tracker connects through the [Tracker Connector](/connectors/tracker-connector), while a LoRaWAN GPS tag connects through the [LNS Connector](/connectors/lns-connector).
6. **Live data** — Understand what the Live Data indicator means, and what to check if data isn't appearing as expected.

## Ideas for dashboards around the home

Dashboards are not just for sitting at your computer. Put them where they are most useful:

* **A tablet by the front door** — Glance at your home's status on the way in or out. Are all doors and windows closed? What is the temperature? Any alerts waiting? Mount an inexpensive tablet, open Chirp, and collapse the menu for a clean full-screen view.
* **A kitchen display** — A spare tablet showing a "Kitchen & Garden" dashboard with live temperature, humidity, and soil moisture readings.
* **A bedside screen** — Bedroom temperature, overnight door/window sensor activity, and security status — visible without reaching for your phone.
* **A shared family display** — A living room screen showing the home overview so everyone in the household can see what is going on at a glance.

For any mounted or dedicated screen, collapse the sidebar to give the dashboard the full display — hover over the logo and click the double-chevron. The menu shrinks to tiny icons, keeping the focus on your data.

## What's ahead

* [Home Overview](/overview) — Your default landing page: sensor status and notifications.
* [Building a Dashboard](/dashboards/building-a-dashboard) — Create a personalized dashboard with a name, icon, and folder.
* [Adding Widgets](/dashboards/adding-widgets) — Pick widget types, connect them to your sensors, and customize how readings are displayed.
* [Organizing Your Views](/dashboards/organizing-your-views) — Group dashboards into folders and arrange them to match how you use your home.
* [Maps and Device Placement](/dashboards/maps-and-device-placement) — See where your sensors are on a map.
* [Tracking What Matters](/dashboards/tracking-what-matters) — View location history for GPS tracker devices.
* [Live Home Data](/dashboards/live-home-data) — How live updates work and what to do if data isn't showing up.


# Building a Dashboard

Create, rename, and delete a personalized Chirp dashboard with its own name, icon, and folder.

The home overview shows your whole smart home at a glance, but sometimes you want a view focused on just one part — the kitchen temperature and humidity, the security sensors on every door, or the garden moisture probe and weather station. That's what dashboards are for.

A dashboard is a view you design yourself by choosing which sensors and readings to display. Before adding any widgets (the individual data displays), you first create the dashboard itself — give it a name, pick an icon, and choose where it lives in your sidebar.

This page covers creating, editing, and deleting dashboards. For organizing dashboards into folders, see [Organizing Your Views](/dashboards/organizing-your-views).

<figure><img src="https://1153890212-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxgYoHO4zlaBzHJcfIrto%2Fuploads%2Fgit-blob-ae965ab3bbca7f5148f7270a9664e6fa87832a67%2Fcontrol-dashboard.jpg?alt=media" alt="A home dashboard of Control widgets — a switch, a dial, a slider, and an input controlling a lamp"><figcaption></figcaption></figure>

## Finding your dashboards

Your dashboards live in the **Dashboards** section of the sidebar. Dashboards are available on plans that include the Dashboard feature. Tap the section to expand and see everything you've created. If this is your first time, the sidebar shows **"No dashboards yet"** — which is perfectly normal.

Next to the Dashboards section, you'll notice two small controls:

* **Add dashboard** (plus icon) — Opens the dialog where you create a new dashboard.
* **Dashboard settings** (gear icon) — Opens the management dialog for folders and reordering, covered in [Organizing Your Views](/dashboards/organizing-your-views).

## Creating your first dashboard

Tap **Add dashboard** in the sidebar. A dialog opens with the title **"Add dashboard"** and the message **"Create your personalized dashboard, add the necessary widgets to meet your goals."**

### What to fill in

* **Icon** — Pick an icon that represents the dashboard's purpose. The default is a house icon. Some ideas: a thermometer for a temperature dashboard, a lock for security, a leaf for your garden.
* **Name** *(required)* — Give your dashboard a clear name. The placeholder suggests **"My dashboard"**, but something descriptive works better — "Living Room", "Garden Sensors", or "Front Door Security". If you leave this blank and try to save, you'll see **"Dashboard name is required"**.
* **Folder** — Choose a folder for the dashboard, or leave it at **"None (top level)"** to place it directly in the sidebar. If you've created folders (through [Organizing Your Views](/dashboards/organizing-your-views)), they appear in the dropdown. This option only shows up when creating a new dashboard — not when editing later.
* **Description** — An optional note about what this dashboard is for. The placeholder reads **"Describe your dashboard, if needed"**. You might write "Tracks temperature and humidity in the kitchen and dining area" so you remember the purpose later.

### Saving

Tap **Save** to create the dashboard. It opens right away, ready for you to [choose and add widgets](/dashboards/adding-widgets). Tap **Cancel** to close without creating anything.

## What you see on a dashboard

Once your dashboard is created and you open it from the sidebar, you'll see:

* The **dashboard name** as a heading on the left.
* A **Live Data** label with a small icon on the right side of the header. This is a status indicator (not a button) that tells you the dashboard receives fresh sensor readings automatically.
* An **actions menu** (three dots) on the far right.

If you haven't added any widgets yet, the center of the dashboard shows the message **"You have no widgets here"** alongside **"Add your first widget to build your dashboard"** and an **Add widget** button. This is your prompt to head to [Choosing Widgets](/dashboards/adding-widgets).

## Changing a dashboard's name or icon

Made a typo, or want a different icon?

1. Open the dashboard.
2. Tap the actions menu (three dots) and select **Edit dashboard**. This puts the dashboard into edit mode.
3. Look for the small **pencil icon** that appears near the top left — it replaces the Live Data indicator when you're in edit mode. Tap it.
4. The edit dialog opens with your current name, icon, and description pre-filled. Make your changes.
5. Tap **Save**.

You can't change the folder from this dialog — moving a dashboard between folders is done through [Organizing Your Views](/dashboards/organizing-your-views).

## Deleting a dashboard

If you no longer need a dashboard:

1. Open it from the sidebar.
2. Tap the actions menu and select **Delete dashboard**.
3. A confirmation appears: **"Are you sure you want to delete {dashboard name} dashboard?"** with the note **"Once deleted, this action cannot be undone."**
4. Tap **Yes, delete** to confirm.

This permanently removes the dashboard and everything on it.

## What's next

* [Choosing Widgets](/dashboards/adding-widgets) — Add sensor data, charts, and floor plans to your new dashboard.
* [Organizing Your Views](/dashboards/organizing-your-views) — Group dashboards into folders like "Upstairs" and "Garden".
* [Home Overview](/overview) — The default view that's always there, even before you create dashboards.

## Show the dashboard in a home application

When creating or editing a dashboard, choose its **Application**. For example, associate your home overview with Home Watch so it is available when you open that setup. Leave **Default** selected to keep it outside a named application. You still edit the widgets in the dashboard itself; see [Using Application Dashboards](/applications/using-application-dashboards).


# Adding Widgets

Add Chirp dashboard widgets for live sensor data, charts, controls, maps, images, text, and embedded pages.

Widgets let you decide how each part of your home appears on a dashboard. Show an exact temperature, follow its history in a chart, place a reading on a picture of the room, or add a control for a connected lamp. A **widget** is one of these individual displays or controls; arranging them together creates your dashboard.

Create or open a [dashboard](/dashboards/building-a-dashboard) before adding widgets. A reading widget needs a registered sensor; a Control widget needs a saved device command. Text and image content can help organize the view without a sensor connection.

Choose the display and its colors for the question you want to answer. For example, two widgets can use the same temperature sensor: one shows the exact reading, while another highlights when it leaves a range you choose.

## How to add a widget to a dashboard

Before you can add widgets, you need a dashboard. If you haven't created one yet, see [Building a Dashboard](/dashboards/building-a-dashboard).

**Opening edit mode:**

Open the dashboard, tap the **actions menu** (three dots) in the top right, and select **Edit dashboard**. The dashboard enters edit mode — you'll see a **Cancel** button and a **Save** button appear in the header, replacing the Live Data indicator.

**If the dashboard is empty:**

An empty dashboard shows **"You have no widgets here"** with an **Add widget** button in the center. Tap it to open the widget picker.

**If the dashboard already has widgets:**

In edit mode, a **plus (+) button** appears — use it to add more widgets. You can also tap the **three-dot menu** on any existing widget to edit, move, resize, or delete it.

**Reusing a widget you've already set up:**

Once a widget is configured just the way you like it, you don't have to build the next one from scratch.

* **Duplicate** a widget from its three-dot menu to get a copy on the same dashboard — you'll see **"Widget successfully duplicated"**. This is the quick way to cover several identical sensors: set up the first radiator's temperature widget with the ranges and colors you want, duplicate it once per radiator, and just point each copy at its own sensor. If the copy doesn't appear, you'll see **"Could not duplicate widget"** — try again.
* **Move to dashboard** sends a widget to a different dashboard entirely. Handy when the garden soil probe you added to "Kitchen" really belongs on "Garden". If the move doesn't go through, you'll see **"Could not move widget"**.

**Saving your changes:**

After configuring a widget, tap **Save** in the widget settings to add it to the dashboard. When you're done arranging, tap **Save** in the dashboard header to exit edit mode and keep your layout.

## Choose the right widget

| Widget                                                                    | Use it when                                                                                  | What it shows                                                                             |
| ------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- |
| [Last Data](/dashboards/adding-widgets/last-data-widget)                  | You need to know what something is doing right now                                           | The latest value received from one or more sensors                                        |
| [Chart](/dashboards/adding-widgets/chart-widget)                          | You need to see how a value changed over time                                                | A historical graph plus the live current reading                                          |
| [Text](/dashboards/adding-widgets/text-widget)                            | You want a heading, reminder, or note on the dashboard                                       | Text you write yourself, with no sensor connection                                        |
| [Image](/dashboards/adding-widgets/image-widget)                          | You want to see sensor data pinned onto an image — a floor plan, a room photo, a diagram     | Your own uploaded image with live numeric readings pinned to their locations              |
| [Map](/dashboards/adding-widgets/map-widget)                              | You want to see where a GPS-reporting device is right now                                    | Current position on a real outdoor interactive map, plus one sensor reading on the marker |
| [Control](/dashboards/adding-widgets/control-widget)                      | You want to send a command to a switch, light, thermostat, or other controllable device      | A switch, button, input, or slider for the device's available command                     |
| [iFrame](/dashboards/adding-widgets/iframe-widget)                        | You want a web page you check often — weather, traffic, a calendar — right on your dashboard | A live web page from a supported service, embedded in the tile next to your sensors       |
| [Digital Building Twin](/dashboards/adding-widgets/digital-building-twin) | You want a 3D model of your home with sensors mapped to real rooms and objects               | A 3D editor that turns your home into a live picture, colored by what your sensors say    |

## What comes next

* [Last Data Widget](/dashboards/adding-widgets/last-data-widget) — Latest sensor values, gauges, and per-sensor conditions
* [Chart Widget](/dashboards/adding-widgets/chart-widget) — Choose a Line or Bar chart for history, current readings, and threshold bands
* [Text Widget](/dashboards/adding-widgets/text-widget) — Label dashboard areas or leave a household note
* [Image Widget](/dashboards/adding-widgets/image-widget) — Any image with draggable live-data pins
* [Map Widget](/dashboards/adding-widgets/map-widget) — GPS tracker location with route history
* [Control Widget](/dashboards/adding-widgets/control-widget) — Send commands with a switch, button, input, or slider
* [iFrame Widget](/dashboards/adding-widgets/iframe-widget) — Pin a live web page — weather, traffic, calendar — next to your sensors
* [Digital Building Twin](/dashboards/adding-widgets/digital-building-twin) — A 3D model of your home that lights up with live sensor readings
* [Conditions](/dashboards/adding-widgets/conditions) — Color rules that turn readings into meaning
* [Organizing Your Views](/dashboards/organizing-your-views) — Group dashboards into folders


# Last Data Widget

Show the latest value from one or more sensors as a number, gauge, or ring — is the door open, how warm is the room?

Whatever a sensor reported most recently is what the Last Data widget displays: the **last value received**. When the device is actively reporting, that is also the current value. When the device goes offline after its last transmission, the widget continues showing that last value — it does not clear the display or flag that the device is silent. You see what the sensor last said, which is current if the device is still transmitting and may be stale if it is not.

Is the bedroom light on or off? Is the front door open or closed? What is the living room temperature? These are Last Data questions. The widget shows the last transmitted value for each — no chart, no history, no trend. If you want to see how a value changed over time, that is the [Chart widget](/dashboards/adding-widgets/chart-widget).

You can display the latest value as-is — a number, text, or an on/off (`true`/`false`) reading — or as a ring gauge (Doughnut), a filled gauge (Pie), a Tube that fills up like a tank, a Gauge that slides a marker along a colored track, or a Radial Gauge that shows the reading on a round dial. One widget can hold multiple sensors — bedroom temperature, humidity, and CO2 level side by side, each styled independently. Conditions turn the raw number into visible meaning: green means everything is fine, red means look at this now.

## How do I set up a Last Data widget?

### Step 1 — Choose Last Data from the widget picker

Open dashboard edit mode and tap **Last data** in the widget picker. (See [Adding Widgets](/dashboards/adding-widgets) for how to open edit mode.) The settings panel opens with two tabs: **Datasource** and **Appearance**.

### Step 2 — Datasource tab: connect your sensors

On the Datasource tab you will see the title **"Last Data configuration"** and, beneath it, **"Configure last data and data sources."**

**Adding a data source:**

1. Tap **Add datasource**. A **Datasource 1** block appears.
2. In the block, tap **Choose device** and select the device whose sensor you want to display.
3. Tap **Add metric**. A metric row appears. Each metric row shows:
   * **Data type** — set to Telemetry
   * **Device metric** — choose which sensor reading to display (any reading — number, text, or on/off)
   * **Icon** — pick an icon to represent this metric on the widget
   * **Conditions button** — labeled **"Conditions: N"** where N is the number of conditions currently set. Tap it to open the Conditions modal and define what color this reading shows at different values. This is also where you set the **default color** for the metric. See [Conditions](/dashboards/adding-widgets/conditions) for details.
   * **Delete** — remove this metric from the widget

There is no color picker directly in the metric row. The reading color is controlled entirely through the Conditions modal.

> **About reading types.** The **Device metric** list shows every reading, whatever its type. The **Value** display shows it as-is — a number, text, or an on/off value (`true`/`false`) — so no conversion is needed. The gauge-style displays (Doughnut, Pie, Tube, Gauge, Radial gauge) need a number to fill a scale: a numeric text reading is read as that number, and anything non-numeric shows as 0. To change a reading's type, open [Data Templates](/devices/data-templates) and set its **Type** on the **Metrics** tab.

**Adding multiple sensors:**

Tap **Add datasource** to add a second device. You can add as many devices as you like. Duplicate devices are not allowed — once a device is added, it won't appear in the picker again.

Each device can expose multiple metrics. After adding a device, tap **Add metric** on its row to include additional sensor readings from the same device. The Add metric button grays out once all of that device's available metrics have been added.

**Default value range for gauges:**

Each metric you add starts with an automatic value range of 0–100. This range is used by the Doughnut, Pie, Tube, and Gauge display types to set the scale. You can change it in the Appearance tab.

When your sensors are set, tap **Next** to continue to the Appearance tab.

### Step 3 — Appearance tab: choose how it looks

**Widget name** *(required)* — The title shown on the widget. The placeholder reads **"Enter widget name"**.

**Description** — An optional subtitle below the name.

**Widget type** — Choose how readings are displayed. Each display type has its own page with a screenshot and the full detail:

* **Value** — The latest reading shown as-is — a number with its unit, text, or an on/off (`true`/`false`) value. Clean and direct. [→ Value Display](/dashboards/adding-widgets/last-data-widget/number)
* **Doughnut** — A ring gauge that fills proportionally between the Min and Max you set. [→ Doughnut Display](/dashboards/adding-widgets/last-data-widget/doughnut)
* **Pie** — A filled circle gauge — the same idea as Doughnut, with a bolder look. [→ Pie Display](/dashboards/adding-widgets/last-data-widget/pie)
* **Tube** — A tall cylinder that fills from the bottom like a tank. [→ Tube Display](/dashboards/adding-widgets/last-data-widget/tube)
* **Gauge** — A horizontal track with a sliding marker and your color conditions shown as bands. [→ Gauge Display](/dashboards/adding-widgets/last-data-widget/gauge)
* **Radial gauge** — A round dial with a needle, a sweep angle you choose, and your conditions as colored arcs. [→ Radial Gauge Display](/dashboards/adding-widgets/last-data-widget/radial-gauge)

**Value range** *(Doughnut, Pie, Tube, Gauge, and Radial gauge)* — Appears per sensor once you choose one of these display types. Set the **Min** and **Max** values that define the scale the widget fills or marks against. Its tooltip text is: **"Set min and max to define the chart scale. Max is the value where the indicator is fully filled (for a pie, the whole circle)."**

Validation: Min must be strictly less than Max. If they are equal or reversed, the widget won't save.

**Tick marks** *(Tube, Gauge, and Radial gauge)* — Choose how many tick marks divide the scale. On a Gauge they run along the track, on a Tube they run down the side and pick up the color of whatever condition band they land in, and on a Radial gauge they ring the dial.

**Sweep angle** and **Radial Gauge name** *(Radial gauge only)* — Set how far around the dial sweeps (0 to 360 degrees; 300 by default) and the label shown with it. See [Radial Gauge Display](/dashboards/adding-widgets/last-data-widget/radial-gauge).

**Tube and Gauge don't have a built-in "good" end.** The fill or marker just shows where the reading sits — your conditions decide what's fine and what isn't. Put the red band at the low end to be warned when something is running out, or at the high end when something is rising too far. The [Tube](/dashboards/adding-widgets/last-data-widget/tube) and [Gauge](/dashboards/adding-widgets/last-data-widget/gauge) pages walk through both.

**Display data legend** — A toggle that adds a legend listing your sensor metrics below the reading. Works for every display type.

### Step 4 — Save

Tap **Save** to add the widget to the dashboard.

## What should I expect from a Last Data widget?

Once placed, the widget immediately shows the last known value from each sensor. As sensors report new data, the display updates live.

The value shown is the last one received. If a device has been offline or silent, the widget continues showing the last reading it got — it does not clear the display. Check the sensor's last-reported time on the device page before acting on a reading if the device might be offline.

If a sensor hasn't reported yet, the widget shows **"Waiting for live data"** in the reading area. If no metrics have been configured, it shows **"Add a metric to start visualizing data"** or **"Choose data source and add metric"**.

## What are common Last Data widget patterns?

Almost every Last Data tile is one of a few simple ideas. Each display type has its own page with the full step-by-step and home examples — here is where to start.

* **Is it on or off?** — a door, a light, a leak sensor. A plain [Value display](/dashboards/adding-widgets/last-data-widget/number) with one color per state is all you need.
* **What is the reading right now?** — a room temperature, an air-quality figure. A [Value display](/dashboards/adding-widgets/last-data-widget/number) shows the value; a [Gauge display](/dashboards/adding-widgets/last-data-widget/gauge) also shows whether it is in a comfortable range.
* **How full is it?** — a water tank, a battery, a rain barrel. Show it as a [Doughnut](/dashboards/adding-widgets/last-data-widget/doughnut) or [Pie](/dashboards/adding-widgets/last-data-widget/pie) ring, or as a filling [Tube](/dashboards/adding-widgets/last-data-widget/tube) that looks like the tank itself.
* **Is something heading for trouble?** — a level creeping too high or a supply running too low. A [Gauge display](/dashboards/adding-widgets/last-data-widget/gauge) turns your colors into bands so you can spot the moment it crosses the line.

## See also

* [Conditions](/dashboards/adding-widgets/conditions) — Define color rules for each metric: what green, yellow, and red mean for that specific sensor in that specific place
* [Adding Widgets](/dashboards/adding-widgets) — How to open edit mode and use the widget picker


# Value Display

Show a sensor's latest reading as a number, text, or on/off with the Value display in the Chirp Last Data widget.

The Value display shows a reading's latest value just as it comes in — no dial, no bar, just the value. It works for **any** kind of reading: a number with its unit, a bit of **text** shown as-is, or an on/off (**Boolean**) value shown as `true` or `false`. As the screenshot shows, several readings can share one tile, sitting side by side, each in its own color — handy for showing a room's temperature and humidity together.

Pick Value when the reading itself is what you want to see, and there's nothing to "fill up" — the actual temperature, the actual battery percentage, a text status, an open/closed state. It's also the neatest way to fit two or three related readings into one small tile.

Value is the only display type with no value range, because there's no scale to fill against.

<figure><img src="https://1153890212-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxgYoHO4zlaBzHJcfIrto%2Fuploads%2Fgit-blob-8a6d58f8c8e3417675b73f45e0b04d7763222e8b%2Flast-data-number.jpg?alt=media" alt="Last Data widget using the Value display"><figcaption></figcaption></figure>

## When should I choose the value display?

* The exact reading is the point — "the bedroom is 21°C," "the battery is at 64%."
* A compact tile carrying two or three readings for one room or device.
* A simple on/off or open/closed value where the plain number says it all.

Those are just ideas — any reading that's clearest as a plain figure is a good fit for the Value display.

## How do I configure a value display?

Let's build a real one — a tile that tells you at a glance whether the front door is open. The door's contact sensor reports just two values — `1` when it's open and `0` when it's shut. Because the reading is only ever 0 or 1, there's nothing to fill or scale, so a Value tile is the right pick and each condition only needs to match one of those two numbers. This is just an example: a Value tile suits any reading where the figure itself is what you want — only the sensor and the conditions change.

1. Open your dashboard in edit mode and tap **Last data** in the widget picker. The **Datasource** tab opens with nothing added yet.
2. Tap **Add datasource**. A **Datasource 1** block appears.
3. In the block, tap **Choose device** and pick the front-door contact sensor.
4. Tap **Add metric**. A metric row appears.
5. In the row, leave **Data type** on **Telemetry**, choose the open/closed reading under **Device metric**, and add an **Icon**.

   > **About reading types.** The **Device metric** list shows every reading, whatever its type. The Value display shows it as-is — a number, a bit of text, or an on/off value (`true`/`false`) — so you don't need to convert anything here. (The gauge-style displays — Doughnut, Pie, Gauge, Tube, Radial gauge — do need a number: a numeric text reading is read as that number, and anything non-numeric shows as 0. To change how a reading is stored, open **Devices → Metrics** — see [Data Templates](/devices/data-templates).)
6. Tap **Conditions: N** to open the Conditions window. Choose a **Default color** — the color the reading uses whenever none of your bands match the current value — then for each state tap **Add condition** and fill in the row — type a **Condition name**, set **Data type** to **Number** (the condition's own Data type, not the metric's), because the door sensor only ever sends 0 or 1, set **From** and **To** to the same number — the value that condition should match — and pick a **Color**. Then you set the two states — for example:

   * "Open" — **From** 1, **To** 1 — red
   * "Closed" — **From** 0, **To** 0 — green

   Tap **Save** to close the window.
7. Tap **Next** to go to the **Appearance** tab.
8. Type a **Widget name** — "Front door" — and a **Description** if you'd like a subtitle.
9. Under **Widget type**, choose **Value**. There's no **Value range** or **Tick marks** — the Value display has no scale, because an on/off reading has nothing to fill; the value itself is the message.
10. Flip on **Display data legend** if you'd like a label, then tap **Save**.

The tile still shows the number — `1` or `0` — but the condition color turns it red when the door is open and green when it's shut, so you read the state in an instant without thinking about the digit. The same trick works for any on/off sensor — a window contact, a leak detector, a light — just swap the sensor and the two conditions.

## What are some value display examples?

**The exact reading, with a verdict** When you want the actual figure, the Value tile shows it in full. A Value tile has no scale, so the bedroom temperature just needs conditions — the °C thresholds that matter to you. Add three: "Comfortable" — From 18, To 24 — green; "Cool" — From 15, To 18 — yellow; "Chilly" — From -5, To 15 — blue. You see the real number — `21.4 °C` — and its color tells you how it feels, both at once. The number is never hidden; the color is just extra meaning laid on top. To see how the temperature changed through the day, use the [Chart widget](/dashboards/adding-widgets/chart-widget) instead.

**A text or on/off reading** The Value display isn't just for numbers. A sensor that reports text (like `OPEN`, `CLOSED`, or `MOTION`) or a simple on/off value shows it directly — the text as written, or `true`/`false` — with no conversion. You can still add conditions and colors, so an `OPEN` status can glow red while `CLOSED` stays green.

**One tile for a whole room** A Value tile can hold several readings together. Add temperature, humidity, and air quality from one multi-sensor and each keeps its own icon and colors, lined up side by side — your "Bedroom" tile in one neat square.

## See also

* [Last Data Widget](/dashboards/adding-widgets/last-data-widget) — The full widget setup and the other display types
* [Conditions](/dashboards/adding-widgets/conditions) — Setting the From/To color rules
* More ways to show the same data: [Doughnut](/dashboards/adding-widgets/last-data-widget/doughnut) · [Pie](/dashboards/adding-widgets/last-data-widget/pie) · [Gauge](/dashboards/adding-widgets/last-data-widget/gauge) · [Tube](/dashboards/adding-widgets/last-data-widget/tube) · [Radial gauge](/dashboards/adding-widgets/last-data-widget/radial-gauge)


# Doughnut Display

Show a reading as a filling ring with the number in the middle — perfect for a tank, battery, or humidity level.

The Doughnut display shows a reading as a ring that fills up between a low and a high value you choose, with the number in the middle. One look tells you how full something is — you don't have to read the figure to know it's nearly empty or almost maxed out.

It's a great fit for anything with a sensible range — a water tank, a battery, a humidity level. As the reading climbs, more of the ring fills in.

<figure><img src="https://1153890212-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxgYoHO4zlaBzHJcfIrto%2Fuploads%2Fgit-blob-e2282e3a41f918c9e21476d6b310a8c82e31688e%2Flast-data-doughnut.jpg?alt=media" alt="Last Data widget using the Doughnut display type"><figcaption></figcaption></figure>

## When should I choose the doughnut display?

* A reading with a clear low and high — water-tank level, battery percentage, room humidity.
* A tile where you just want to sense "getting full" or "getting low" at a glance.
* A value that feels like a proportion of something rather than a bare number.

Anything in your home that has a meaningful "empty" and "full" can become a Doughnut — your own sensors will suggest plenty of uses.

## How do I configure a doughnut display?

Let's build a real one — a ring that shows the living-room temperature and whether it's comfortable. A temperature sensor reports the room in °C. A temperature isn't like a tank — it has no real "empty" or "full", so there's no obvious 0 and 100. The ring still needs a bottom and a top, so you pick a window wide enough to cover any temperature the room could realistically reach: for a house, about -5 °C to +40 °C. This is just an example: a Doughnut suits any reading you'd like to see as a share of a range, so only the sensor and the numbers change.

1. Open your dashboard in edit mode and tap **Last data** in the widget picker. The **Datasource** tab opens with nothing added yet.
2. Tap **Add datasource**. A **Datasource 1** block appears.
3. In the block, tap **Choose device** and pick the room's temperature sensor.
4. Tap **Add metric**. A metric row appears.
5. In the row, leave **Data type** on **Telemetry**, choose the temperature reading under **Device metric**, and pick an **Icon**.

   > **This display needs a number.** The **Device metric** list shows every reading, but a gauge fills against a scale — pick a numeric one here; a text reading shows as 0. (To show text or an on/off value as-is, use the [Value display](/dashboards/adding-widgets/last-data-widget/number).) To change how a reading is stored, open **Devices → Metrics** — see [Data Templates](/devices/data-templates).
6. Tap **Conditions: N** to open the Conditions window. Choose a **Default color** — the color the reading uses whenever none of your bands match the current value — then for each band tap **Add condition** and fill in the row — a **Condition name**, **Data type** set to **Number** (the condition's own Data type, not the metric's), the band's **From** and **To** — a living room realistically sits between -5 °C and 40 °C, so those run from **-5** to **40** — and a **Color**. Then you set the color levels — for example:

   Starting at the coldest:

   * "Too cold" — **From** -5, **To** 15 — blue
   * "Cool" — **From** 15, **To** 18 — yellow
   * "Comfortable" — **From** 18, **To** 24 — green
   * "Warm" — **From** 24, **To** 28 — yellow
   * "Too hot" — **From** 28, **To** 40 — red

   Tap **Save** to close the window.
7. Tap **Next** to open the **Appearance** tab.
8. Type a **Widget name** — "Living room" — and a **Description** if you want one.
9. Under **Widget type**, pick **Doughnut**.
10. In **Value range**, set **Min value** to **-5** and **Max value** to **40** — the window you picked for a house room. The ring fills to show where the temperature sits across that -5–40 °C span, and the matching condition colors it.
11. Turn on **Display data legend** if you'd like, then tap **Save**.

The ring shows the temperature as a spot in the range and goes green only while the room is comfortable. The same steps fit anything with a sensible low and high — just change the sensor, the **Min value**/**Max value**, and the conditions. One honest note: a temperature is often easier to read on a Number tile or a Gauge — the Doughnut is shown here because it makes the next example easy to see.

## What are some doughnut display examples?

**The same sensor, set up completely differently — the fridge** Your fridge uses the very same kind of temperature sensor as the living room above — but a comfortable fridge and a comfortable room are nothing alike. A fridge stays cold, so its safe range is only about 0–5 °C — set the scale a little wider than that band so a fridge that fails and warms up still shows on the ring: **Min value** **-5**, **Max value** **15**. Add three conditions to match: "Too cold" covers From -5 to To 0 and is blue; "Safe" covers From 0 to To 5 in green; "Too warm" covers From 5 to To 15 in red. Same sensor, same steps — only the numbers move, because you decide what "good" means for each spot in your home. That's the whole idea behind conditions.

**How full is the water tank?** A Doughnut is a natural fit for a tank. A level sensor in a 500-liter tank reports the contents in liters, so 0 is empty and 500 is full — **Min value** 0, **Max value** 500 — with conditions green From 300 To 500, yellow From 100 To 300, red From 0 To 100. The ring empties before your eyes as the tank is used.

## See also

* [Last Data Widget](/dashboards/adding-widgets/last-data-widget) — The full widget setup and the other display types
* [Conditions](/dashboards/adding-widgets/conditions) — Setting the From/To color rules
* More ways to show the same data: [Value](/dashboards/adding-widgets/last-data-widget/number) · [Pie](/dashboards/adding-widgets/last-data-widget/pie) · [Gauge](/dashboards/adding-widgets/last-data-widget/gauge) · [Tube](/dashboards/adding-widgets/last-data-widget/tube) · [Radial gauge](/dashboards/adding-widgets/last-data-widget/radial-gauge)


# Pie Display

Show a reading as a bold filled circle that fills as the value rises — a chunkier take on the ring gauge.

The Pie display is a solid filled circle rather than a ring — it fills in like a slice of pie and becomes whole when the reading reaches its maximum, with the value shown beside it. It works on exactly the same idea as the Doughnut; it just looks bolder and more solid.

Reach for Pie when you'd like a stronger splash of color on the dashboard instead of a thin ring.

<figure><img src="https://1153890212-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxgYoHO4zlaBzHJcfIrto%2Fuploads%2Fgit-blob-f4e6d734240b098c9d50149d4d596ea9945a25ab%2Flast-data-pie.jpg?alt=media" alt="Last Data widget using the Pie display type"><figcaption></figcaption></figure>

## When should I choose the pie display?

* The same range-based readings the Doughnut handles — tank level, battery, humidity — when you prefer a chunkier look.
* A tile you want to stand out on a busy dashboard.
* A board you glance at from across the room, where a solid shape reads more easily.

Doughnut and Pie do the same job — choose whichever simply looks better to you on the dashboard.

## How do I configure a pie display?

Let's build a real one — a bold tile showing how much water is in the garden rain barrel. A level sensor reports the barrel contents in liters, and the barrel holds 200 liters — so the reading is 0 when the barrel is empty and 200 when it's full. That 0–200 is the scale, and each color band is a slice of it. This is just an example: a Pie works for any reading shown as a share of a range, so only the sensor and the numbers change.

1. Open your dashboard in edit mode and tap **Last data** in the widget picker. The **Datasource** tab opens with nothing added yet.
2. Tap **Add datasource**. A **Datasource 1** block appears.
3. In the block, tap **Choose device** and pick the rain barrel's level sensor.
4. Tap **Add metric**. A metric row appears.
5. In the row, leave **Data type** on **Telemetry**, choose the volume reading under **Device metric**, and choose an **Icon**.

   > **This display needs a number.** The **Device metric** list shows every reading, but a gauge fills against a scale — pick a numeric one here; a text reading shows as 0. (To show text or an on/off value as-is, use the [Value display](/dashboards/adding-widgets/last-data-widget/number).) To change how a reading is stored, open **Devices → Metrics** — see [Data Templates](/devices/data-templates).
6. Tap **Conditions: N** to open the Conditions window. Choose a **Default color** — the color the reading uses whenever none of your bands match the current value — then for each band tap **Add condition** and fill in the row — a **Condition name**, **Data type** set to **Number** (the condition's own Data type, not the metric's), the band's **From** and **To** — the barrel holds 200 liters, so those run from **0** (empty) to **200** (full) — and a **Color**. Then you set the color levels — for example:

   Starting from empty:

   * "Plenty" — **From** 120, **To** 200 — green
   * "Getting low" — **From** 40, **To** 120 — yellow
   * "Almost empty" — **From** 0, **To** 40 — red

   Tap **Save** to close the window.
7. Tap **Next** to move to the **Appearance** tab.
8. Type a **Widget name** — "Rain barrel" — and a **Description** if you want a subtitle.
9. Under **Widget type**, choose **Pie**.
10. In **Value range**, set **Min value** to **0** (an empty barrel) and **Max value** to **200** (its full 200-liter capacity) — the same range your bands use. The slice fills the whole circle at 200 liters.
11. Switch on **Display data legend** if you'd like, then tap **Save**.

Now a solid disc shows the barrel at a glance — full and green after rain, shrinking through yellow to red as you water the garden. The same steps fit any "how full" reading at home; change the sensor, the **Min value**/**Max value**, and the bands to suit.

## What are some pie display examples?

**Do the houseplants need water?** A soil-moisture sensor reports a percentage, so the scale is simply **Min value** 0 (bone dry) and **Max value** 100 (soaked), with conditions green From 40 To 80, yellow From 20 To 40, red From 0 To 20. The filled disc makes a thirsty plant impossible to miss.

**A tile you can read from the sofa** On a dashboard you keep on a wall tablet or a TV, a solid Pie reads more clearly from a distance than a thin ring. Use Pie for the readings you want to catch from across the room, and save the Doughnut for closer-up tiles.

## See also

* [Last Data Widget](/dashboards/adding-widgets/last-data-widget) — The full widget setup and the other display types
* [Conditions](/dashboards/adding-widgets/conditions) — Setting the From/To color rules
* More ways to show the same data: [Value](/dashboards/adding-widgets/last-data-widget/number) · [Doughnut](/dashboards/adding-widgets/last-data-widget/doughnut) · [Gauge](/dashboards/adding-widgets/last-data-widget/gauge) · [Tube](/dashboards/adding-widgets/last-data-widget/tube) · [Radial gauge](/dashboards/adding-widgets/last-data-widget/radial-gauge)


# Tube Display

Show a level as a filling cylinder, like a real tank — watch the salt, fuel, or rain barrel run low or rise too high.

The Tube display is a tall cylinder that fills up from the bottom as the reading rises — just like looking at the level in a real tank. Tick marks run down the side, and the number shows on the tube itself.

It's the most natural way to show anything that has a level — a rainwater butt, a heating-oil tank, the salt in a water softener. And because the colors are yours to set, it works whether you're watching something fill up or watching it run down.

<figure><img src="https://1153890212-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxgYoHO4zlaBzHJcfIrto%2Fuploads%2Fgit-blob-99167e17382e73376c5cc7a99ba354f06921d3a7%2Flast-data-tube.jpg?alt=media" alt="Last Data widget using the Tube display type"><figcaption></figcaption></figure>

## How do I watch a level run low or climb too high?

The Tube has no fixed "good" end — you choose which way spells trouble and set the colors to match. That means one widget covers two opposite jobs:

* **Watch something run low.** When the worry is *running out* — the fuel in a tank, the salt in your softener, the water in a rain barrel — the level drops as it's used, so put the warning colors at the **bottom**. The tube is green when there's plenty and turns yellow then red as it empties, so you know to refill in good time.
* **Watch something rise too far.** When the worry is the level *getting too high* — say a sensor in your sump or basement pit, where the pump normally keeps the water down — a pump failure lets the water climb, so put the warning colors at the **top**. The tube stays short and green normally and fills into a red band near the top if something goes wrong, warning you before it floods.

It's exactly the same widget — the only difference is whether you paint the red at the bottom or the top. Both are shown below.

## When should I choose the tube display?

* A real tank or container — water, fuel, propane, feed.
* A "how much is left" reading, where you want to see the level drop toward the bottom.
* A level that shouldn't climb too high — like a sump or drainage pit — where seeing it rise toward the top is the warning.
* Anything you'd naturally picture as a level rising and falling.

If your instinct is to imagine a reading as a column going up and down, the Tube is the display for it — and the colors then decide which end you're watching.

## How do I configure a tube display?

Let's build a real one — a tube that watches the salt level in a water softener so you never let it run dry. The softener's salt tank is about 100 cm deep, and a level sensor reports how full it is in centimeters — so the reading is 0 when the tank is empty and 100 when it's filled right up. Those two numbers, 0 and 100, are the scale the whole widget works from, and every color band is just a slice of that 100 cm. This is only an example, though: the very same steps work for a rainwater butt, a heating-oil tank, a feed bin — anything with a level. Only the sensor and the numbers change.

1. Open your dashboard in edit mode and tap **Last data** in the widget picker. The **Datasource** tab opens with nothing added yet.
2. Tap **Add datasource**. A **Datasource 1** block appears.
3. In the block, tap **Choose device** and pick the salt tank's level sensor.
4. Tap **Add metric**. A metric row appears.
5. In the row, leave **Data type** on **Telemetry**, choose the level reading under **Device metric**, and pick an **Icon**.

   > **This display needs a number.** The **Device metric** list shows every reading, but a gauge fills against a scale — pick a numeric one here; a text reading shows as 0. (To show text or an on/off value as-is, use the [Value display](/dashboards/adding-widgets/last-data-widget/number).) To change how a reading is stored, open **Devices → Metrics** — see [Data Templates](/devices/data-templates).
6. Tap **Conditions: N** to open the Conditions window. Choose a **Default color** — the color the reading uses whenever none of your bands match the current value — then for each band tap **Add condition** and fill in the row — type a **Condition name**, set **Data type** to **Number** (this is the condition's own Data type, not the metric's), because the salt tank is 100 cm tall, enter **From** 0 cm (the empty bottom) and **To** 100 cm (the full top), and pick a **Color**. Then you set the color levels — for example:

   Starting at the bottom:

   * "Critical": **From** 0, **To** 10, burgundy — a deep red that is darker than the band after it
   * "Refill now" — **From** 10, **To** 30 — red
   * "Refill soon" — **From** 30, **To** 60 — yellow
   * "Healthy" — **From** 60, **To** 100 — green

   Tap **Save** to close the window.
7. Tap **Next** to open the **Appearance** tab.
8. Type a **Widget name** — something like "Softener salt" — and a **Description** if you want one.
9. Under **Widget type**, choose **Tube**.
10. In **Value range**, set **Min value** to **0** (an empty tank) and **Max value** to **100** (filled to the top) — the very same 0–100 your bands use — and set **Tick marks** to **10** so a line marks every 10 cm.
11. Flip on **Display data legend** if you'd like the reading labeled, then tap **Save**.

Now the tube stands tall and green while there's plenty of salt, slips through yellow and red as it gets used up, and shows a thin burgundy strip when it's almost gone — so you top it up before the softener stops working. Point the same setup at a rainwater butt, a pond top-up reservoir, or an oil tank and it behaves exactly the same; you just change the sensor and the band numbers.

## What are some tube display examples?

**Catch a basement flood before it spreads** A sump pump sits in a pit in the basement and keeps the water low so the floor stays dry. Drop a level sensor into the pit and show it on a Tube. The pit is about 100 cm deep, so 0 is a dry floor and 100 is water right at the overflow — set **Min value** 0 and **Max value** 100, then add three conditions: "Normal" — From 0, To 30 — green; "Water rising" — From 30, To 60 — yellow; "Pump may have failed" — From 60, To 100 — red. Day to day the column is short and green; if the pump quits, the water climbs and the tube fills into the red. A quick note on the sensor: a level sensor reads higher as the water rises, but a sensor fixed above the water (measuring the gap down to it) reads lower — so put the red condition on whichever value means "high water" for the one you have. The Tube makes the danger easy to spot on the dashboard; to get a phone alert as well, pair it with an [alarm](/alarm).

**A rain barrel in the garden** The same idea for collected rainwater — a level sensor in a 200-liter barrel — **Min value** 0 for an empty barrel and **Max value** 200 because that is how much it holds. The tube rises with every shower and drops as you water the garden, so you always know how much you've saved up.

## See also

* [Last Data Widget](/dashboards/adding-widgets/last-data-widget) — The full widget setup and the other display types
* [Conditions](/dashboards/adding-widgets/conditions) — Setting the From/To color rules for the fill
* More ways to show the same data: [Value](/dashboards/adding-widgets/last-data-widget/number) · [Doughnut](/dashboards/adding-widgets/last-data-widget/doughnut) · [Pie](/dashboards/adding-widgets/last-data-widget/pie) · [Gauge](/dashboards/adding-widgets/last-data-widget/gauge) · [Radial gauge](/dashboards/adding-widgets/last-data-widget/radial-gauge)


# Gauge Display

Put a reading on a horizontal track with a sliding marker and colored bands, so you spot the moment it crosses a limit.

The Gauge display puts a reading on a horizontal track with a marker that slides along it, and the color rules you set show up as bands across that track. The number sits above. So you see two things at once — the value, and whether it's sitting in a good stretch or a worrying one.

<figure><img src="https://1153890212-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxgYoHO4zlaBzHJcfIrto%2Fuploads%2Fgit-blob-471017a83a0e4ba394eec9614c9f4b25a10bb109%2Flast-data-gauge.jpg?alt=media" alt="Last Data widget using the Gauge display type"><figcaption></figcaption></figure>

## When should I choose the gauge display?

* A reading where it matters *where* it sits — a comfortable room temperature, a healthy battery level — and the colored bands tell you instantly.
* A "running low" warning — set the low end red so the marker sliding down toward it catches your eye.
* A "too high" warning — set the high end red, so a level creeping up (a basement sump filling, say) shows as the marker climbs.

A Gauge has no built-in good or bad end — the bands you choose decide that. Wherever a reading has a "fine" zone and a "not fine" zone, the Gauge makes the line easy to see.

## How do I configure a gauge display?

Let's build a real one — a gauge that warns you if a basement sump pump fails before the floor floods. The pump's job is to keep the water in its pit low; the pit is about 100 cm deep, and a level sensor reports the water level in centimeters — so the reading runs from 0 (a dry pit floor) up to 100 (water at the overflow). That 0–100 is the gauge's track, and each color band is one stretch of it. This is just an example — a Gauge works for any reading you measure against limits, so only the sensor and the band numbers change.

1. Open your dashboard in edit mode and tap **Last data** in the widget picker. The **Datasource** tab opens with nothing added yet.
2. Tap **Add datasource**. A **Datasource 1** block appears.
3. In the block, tap **Choose device** and pick the pit's level sensor.
4. Tap **Add metric**. A metric row appears.
5. In the row, leave **Data type** on **Telemetry**, choose the water-level reading under **Device metric**, and add an **Icon**.

   > **This display needs a number.** The **Device metric** list shows every reading, but a gauge fills against a scale — pick a numeric one here; a text reading shows as 0. (To show text or an on/off value as-is, use the [Value display](/dashboards/adding-widgets/last-data-widget/number).) To change how a reading is stored, open **Devices → Metrics** — see [Data Templates](/devices/data-templates).
6. Tap **Conditions: N** to open the Conditions window. Choose a **Default color** — the color the reading uses whenever none of your bands match the current value — then for each band tap **Add condition** and fill in the row — a **Condition name**, **Data type** set to **Number** (the condition's own Data type, not the metric's), the band's **From** and **To** — because the pit is 100 cm deep, those run from **0** (the dry floor) to **100** (the overflow) — and a **Color**. Then you set the color levels — for example:

   Starting at the dry floor:

   * "Normal" — **From** 0, **To** 30 — green
   * "Water rising" — **From** 30, **To** 60 — yellow
   * "Pump may have failed" — **From** 60, **To** 100 — red

   On a Gauge these bands appear as colored stretches along the track. Tap **Save**.
7. Tap **Next** to open the **Appearance** tab.
8. Type a **Widget name** — "Basement sump" works well — and a **Description** if you want one.
9. Under **Widget type**, choose **Gauge**.
10. In **Value range**, set **Min value** to **0** (a dry pit) and **Max value** to **100** (water at the overflow) — the two ends of the track, the same 0–100 your bands use — and set **Tick marks** to **10**.
11. Flip on **Display data legend** if you'd like, then tap **Save**.

Now the marker sits low in the green while the pump is doing its job. If the pump ever fails, the water rises and the marker slides along the track and crosses into the red — that crossing is your warning that something is wrong downstairs. One thing to get right: a level sensor reads higher as the water rises, but a sensor fixed above the water reads lower — so put the red band on whichever value means "high water" for your sensor. The Gauge makes the problem visible on your dashboard; to get a notification on your phone, pair it with an [alarm](/alarm). The same banded track suits anything with limits — just change the sensor and the numbers.

## What are some gauge display examples?

**Don't let something run out** When the worry is at the *low* end, flip the colors around. To watch a water softener's salt on a Gauge, use a sensor that reports it as a percentage — 0 % is an empty tank, 100 % is full — so set **Min value** 0 and **Max value** 100, with three conditions: "Top up now" — From 0, To 15 — red; "Getting low" — From 15, To 40 — yellow; "Plenty" — From 40, To 100 — green. The marker rides high and green when the tank is full and slides down toward the red as the salt is used — your cue to buy another bag.

**Keeping a room comfortable** Some readings should stay *between* two numbers. For a living-room temperature, the track needs to cover every temperature the room could realistically reach — for a house that is roughly -5 °C to 40 °C, so set **Min value** -5 and **Max value** 40. Then add: "Too cold" — From -5, To 18 — blue; "Comfortable" — From 18, To 24 — green; "Too warm" — From 24, To 40 — red. A marker in the green middle means the room is just right; drift toward either end shows before anyone reaches for a jumper or opens a window.

## See also

* [Last Data Widget](/dashboards/adding-widgets/last-data-widget) — The full widget setup and the other display types
* [Conditions](/dashboards/adding-widgets/conditions) — The color rules that become the track bands
* More ways to show the same data: [Value](/dashboards/adding-widgets/last-data-widget/number) · [Doughnut](/dashboards/adding-widgets/last-data-widget/doughnut) · [Pie](/dashboards/adding-widgets/last-data-widget/pie) · [Tube](/dashboards/adding-widgets/last-data-widget/tube) · [Radial gauge](/dashboards/adding-widgets/last-data-widget/radial-gauge)


# Radial Gauge Display

Show a Chirp reading on a round dial with the Radial Gauge — a needle, a sweep angle you choose, and colored zones.

The Radial Gauge shows a reading on a **round dial**, with a needle pointing to the value — just like the dials on a car dashboard or an old thermostat. Your color conditions wrap around it as arcs, and you can choose how far the dial sweeps, from a near-full circle to a small arc.

It is one of the [Last Data widget](/dashboards/adding-widgets/last-data-widget) display types, joining Number, Doughnut, Pie, Tube, and the flat [Gauge](/dashboards/adding-widgets/last-data-widget/gauge).

<figure><img src="https://1153890212-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxgYoHO4zlaBzHJcfIrto%2Fuploads%2Fgit-blob-593e35d0381eeefe274c9195a2a03b22cb6b8247%2Flast-data-radial-gauge.jpg?alt=media" alt="Last Data widget using the Radial Gauge display"><figcaption></figcaption></figure>

## Radial Gauge or the flat Gauge?

Both show a reading against a scale with colored zones — they just look different:

* The [**Gauge**](/dashboards/adding-widgets/last-data-widget/gauge) is a flat, sideways bar. It's tidy and lines up nicely when you have several in a row.
* The **Radial Gauge** is a round dial. It has more presence and feels like a real instrument, which makes it lovely for one or two headline readings on a dashboard.

Pick whichever you like the look of — they work the same way underneath.

## Nice for

* A standout reading you want front and center — the water tank level, the home battery charge, the greenhouse humidity.
* Anything with a clear "full" point, so the dial sweeps from empty to full in a way that feels natural.
* Any reading where colored zones make the meaning obvious at a glance.

## Setting one up

It starts like any [Last Data widget](/dashboards/adding-widgets/last-data-widget) — add a device, pick a number reading, and set up your [Conditions](/dashboards/adding-widgets/conditions). The dial settings appear on the **Appearance** tab once you choose the type.

1. In dashboard edit mode, tap **Last data** in the widget picker.
2. On the **Datasource** tab, **Add datasource**, choose your device, **Add metric**, set **Data type** to **Telemetry**, and pick the reading.
3. Tap **Conditions: N** to set a default color and your colored zones (each with a range and a color), then save.
4. Tap **Next**, give the widget a **name**, and choose **Radial gauge** under **Widget type**. The dial settings appear:
   * **Min value** and **Max value** — the bottom and top of the dial. Min has to be below Max.
   * **Tick marks** — how many little marks ring the dial.
   * **Sweep angle** — how far around the dial goes, from 0 to 360 degrees. The default of 300 leaves a gap at the bottom like a classic dial; turn it up for a full circle or down for a smaller arc.
   * **Radial Gauge name** — a short label for the dial (filled in for you, but you can change it).
5. Toggle the legend on if you'd like, then tap **Save**.

## Home example

**Rainwater tank.** A level sensor in a rainwater tank gets a Radial Gauge set **Min** 0 and **Max** 100 (percent full), with three zones: "Plenty" 60–100 green, "Getting low" 25–60 yellow, "Top it up" 0–25 red. The needle sits high and green after a downpour and swings toward the red as the garden drinks it down over a dry week — a glance from the kitchen tells you where things stand. Want a nudge on your phone when it hits red? Add an [alert](/alarm) for that reading.

## See also

* [Last Data Widget](/dashboards/adding-widgets/last-data-widget) — the full setup and the other display types
* [Gauge Display](/dashboards/adding-widgets/last-data-widget/gauge) — the flat version
* [Conditions](/dashboards/adding-widgets/conditions) — set what the colors mean
* More displays: [Value](/dashboards/adding-widgets/last-data-widget/number) · [Doughnut](/dashboards/adding-widgets/last-data-widget/doughnut) · [Pie](/dashboards/adding-widgets/last-data-widget/pie) · [Tube](/dashboards/adding-widgets/last-data-widget/tube)


# Control Widget

Add a Control widget to a Chirp dashboard — a switch, button, slider, or input that operates a device from one tap.

Every other widget *shows* you something. The **Control widget** lets you *do* something. It puts an interactive control on your dashboard — a **switch**, **button**, **slider**, or **input** — bound to one of a device's commands, so you can operate the device without leaving the screen you're already looking at. It's the dashboard version of [Controlling Your Devices](/devices/commands): the command does the work, the widget is the switch on the wall.

<figure><img src="https://1153890212-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxgYoHO4zlaBzHJcfIrto%2Fuploads%2Fgit-blob-ae965ab3bbca7f5148f7270a9664e6fa87832a67%2Fcontrol-dashboard.jpg?alt=media" alt="A home dashboard of Control widgets — a switch, a dial, a slider, and an input controlling a lamp"><figcaption></figcaption></figure>

## Why do I need to set up a command first?

A Control widget runs an action you've already set up on the device — so the device needs at least one command on its **Commands & States** tab. Devices with no commands won't appear to choose from (you'll see *"No controllable devices in this organization"*). Set the command up first — see [Setting up a command](/devices/commands/creating-commands) — then link the widget to it.

## How do I add a Control widget?

Every Control widget is added the same way; only the look-and-feel options differ by type.

1. Open the dashboard in **edit mode** and tap **Add widget** → **Control**.
2. On the **Datasource** tab (*"Control configuration"*), choose the **Source** (Device) and the **Device**, then pick the **Device metric** — the reading that shows the device's current state. Tap **Next**.
3. On the **Appearance** tab, give it a **Widget name** and choose a **Widget type** (below). Fill in that type's options and tap **Save**.

## Which control type should I pick?

| Type                                                                         | Great for                               | What it sends                          |
| ---------------------------------------------------------------------------- | --------------------------------------- | -------------------------------------- |
| [Switch](/dashboards/adding-widgets/control-widget/switch)                   | A simple on/off you flip back and forth | An on or off command as you toggle     |
| [Button](/dashboards/adding-widgets/control-widget/button)                   | A one-tap action (run, restart, open)   | One command per tap                    |
| [Simple Slider](/dashboards/adding-widgets/control-widget/slider-simple)     | Sliding to a value, like brightness     | A command value as you slide           |
| [Circular Slider](/dashboards/adding-widgets/control-widget/slider-circular) | A round dial, like a knob               | A command value as you turn it         |
| [Vertical Slider](/dashboards/adding-widgets/control-widget/slider-vertical) | An upright slider you raise and lower   | A command value as you slide           |
| [Input](/dashboards/adding-widgets/control-widget/input)                     | Typing an exact number                  | A command value when you tap **Apply** |

Choose **Slider** as the widget type first, then pick one of three **Slider type** options: **Simple**, **Circular** or **Vertical**.

## How does a Control widget behave?

* **Tap to control.** Using the control sends the command the same way the device's States tab does — same checks, same history.
* **Stays in sync.** It reads the **Device metric** and shows the real state, so it's never just guessing based on your last tap.
* **Greys out when it can't.** If the device is offline or a state isn't fully set up, the control shows as unavailable instead of sending into thin air.

## See also

* [Controlling Your Devices](/devices/commands) — set up the commands a Control widget uses
* [Setting up a command](/devices/commands/creating-commands)
* The six control types: [Switch](/dashboards/adding-widgets/control-widget/switch) · [Button](/dashboards/adding-widgets/control-widget/button) · [Simple Slider](/dashboards/adding-widgets/control-widget/slider-simple) · [Circular Slider](/dashboards/adding-widgets/control-widget/slider-circular) · [Vertical Slider](/dashboards/adding-widgets/control-widget/slider-vertical) · [Input](/dashboards/adding-widgets/control-widget/input)


# Switch

Add a Switch Control to a Chirp dashboard to flip a home device on or off — a lamp, plug, or relay — with one tap.

The **Switch** is a simple on/off toggle. It's for things that stay in a state — on or off, open or closed — where you flip between the two and the dashboard shows which one is active right now.

## When to use it

A Switch is perfect for everyday home devices you turn on and off: a **lamp**, a **smart plug**, a **garage relay**, a fan, or any simple two-state device. Connect it to a state reading and the toggle shows whether the device is really on, not just what you last tapped.

## What you need first

* A device with a command set up on its **Commands & States** tab (see [Setting up a command](/devices/commands/creating-commands)).
* A command for each state — one command that takes an on/off value, or two separate commands.
* A **Device metric** that reports the device's current state, so the switch shows on or off correctly.

## 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** that shows its state. Tap **Next**.
3. **Appearance** tab: type a **Widget name**, then under **Widget type** choose **Switch**.
4. Set up the two states — the **On** row and the **Off** row. For each:
   * **Label** — what to call it ("On" / "Off").
   * **Command** — the command that state sends.
   * **Expected sensor value** — what the device reports when it's in that state (filled in for you where possible).
   * If the command has inputs, set each **Value**.
5. Choose the **Switch color** for **On**, **Off**, and **Disabled**, toggle **Display labels**, and toggle the name/last-update line.
6. Tap **Save**.

<figure><img src="https://1153890212-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxgYoHO4zlaBzHJcfIrto%2Fuploads%2Fgit-blob-10a6d5288a6a9b65643d6b84e76b04bbd31f34a5%2Fcontrol-widget-switch.jpg?alt=media" alt="Switch Control toggling a lamp on and off on a Chirp dashboard"><figcaption></figcaption></figure>

## What happens when you tap it

Flipping the switch sends the command for that state, the same way the device's States tab does. The switch flips straight away, then settles to the real state once the device reports back — so if it didn't actually change, the switch returns to where it was.

## Common mistakes

* **No state reading chosen** — without a Device metric, the switch can send commands but can't show the true state. Pick the reading that says on or off.
* **The "on" value doesn't match** — if the Expected sensor value isn't what the device actually reports, the switch looks stuck. Check it against the current value shown.

## See also

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


# Button

Add a Button Control to a Chirp dashboard to run a one-tap device action — restart, run a scene, open — with a press.

The **Button** sends a command once when you tap it. Unlike a switch, it doesn't hold an on/off state — it just does something and that's it.

## When to use it

Use a Button for one-tap actions where there's no lasting state to track: **ring a chime**, **restart a device**, **run a scene**, or fire a **momentary relay** (like a pulse to a gate). If it's "do this now" rather than "stay this way," a Button is the one.

## What you need first

* A device with a command set up on its **Commands & States** tab (see [Setting up a command](/devices/commands/creating-commands)).
* The command you want the button to run.

## How to set it up

1. Open your dashboard in **edit mode** → **Add widget** → **Control**.
2. **Datasource** tab: pick the **Device** and a **Device metric**. Tap **Next**.
3. **Appearance** tab: type a **Widget name**, then under **Widget type** choose **Button**.
4. Set the **Command** the button runs (and any input **Value**s), plus the **Expected sensor value** if the action leaves a state you can check.
5. Choose the **Button color** and a **Button size** — **S**, **M**, or **L** (default M) — and toggle the name/last-update line.
6. Tap **Save**.

<figure><img src="https://1153890212-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxgYoHO4zlaBzHJcfIrto%2Fuploads%2Fgit-blob-e6324c0eba4c01d8cd5a12e5398307a218dde5b6%2Fcontrol-widget-button.jpg?alt=media" alt="Button Control with color and size options on a Chirp dashboard"><figcaption></figcaption></figure>

## What happens when you tap it

The button sends its command once, and the action shows up in the device's **States** history like any other command. There's no on/off position to keep — it's a trigger.

## Common mistakes

* **Using a Button for something you need to see the state of** — if you want to know whether it's on or off, use a [Switch](/dashboards/adding-widgets/control-widget/switch) instead.
* **Waiting for confirmation a quick action can't give** — a one-tap trigger (like "restart") may not leave a reading to verify against, and that's normal.

## See also

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


# Simple Slider

Add a Simple Slider to a Chirp dashboard — a horizontal slider that sets a value like brightness by sliding.

The **Simple** slider is a horizontal bar you slide to set a **value**. It's the neatest of the three slider looks and tucks easily into a row of tiles.

## When to use it

Great for anything you set by amount where a side-to-side slider feels natural — a lamp's **brightness**, a dimmer **level**, or **volume**. Prefer a tall slider or a dial? See the [Vertical Slider](/dashboards/adding-widgets/control-widget/slider-vertical) or [Circular Slider](/dashboards/adding-widgets/control-widget/slider-circular).

## What you need first

* A device with a command on its **Commands & States** tab whose **input takes a number** (see [Setting up a command](/devices/commands/creating-commands)).
* A **Device metric** that reports the current value, so the slider shows where it's set.

## 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 live value. Tap **Next**.
3. **Appearance** tab: type a **Widget name**, choose **Widget type → Slider**, then **Slider type → Simple**.
4. Set the **Command** it controls, the **Parameter** it sets, and a starting **Value**.
5. Add **Start and End labels** for the range (say `150` and `500`) and turn **Display** on; pick a **Slider color** and toggle the name/last-update line.
6. Tap **Save**.

<figure><img src="https://1153890212-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxgYoHO4zlaBzHJcfIrto%2Fuploads%2Fgit-blob-b06a4e5a7ce20835037b142aa580ca6f86032355%2Fcontrol-widget-slider-simple.jpg?alt=media" alt="Chirp Simple slider — a horizontal bar setting a value across a range"><figcaption></figcaption></figure>

## What happens when you use it

Sliding sends the command with the new value, the same way the device's States tab does. The handle follows the **Device metric**, so it shows the value the device is actually reporting.

## Common mistakes

* **Choosing a command that's only on/off** — a slider needs an input it can set to a number; for on/off use a [Switch](/dashboards/adding-widgets/control-widget/switch).
* **The range doesn't match the device** — set Start and End to the real lowest and highest values so the whole bar maps to values the device accepts.

## See also

* [Control widget](/dashboards/adding-widgets/control-widget) — overview and the other control types
* Other slider looks: [Circular Slider](/dashboards/adding-widgets/control-widget/slider-circular) · [Vertical Slider](/dashboards/adding-widgets/control-widget/slider-vertical)
* [Controlling Your Devices](/devices/commands) — set up the command this slider controls


# Circular Slider

Add a Circular Slider to a Chirp dashboard — a round dial that sets a value like color temperature by turning it.

The **Circular** slider sets a **value** on a round dial — drag around it and the value follows. It looks like a knob, which makes it a nice centerpiece on a dashboard.

## When to use it

Lovely for a setting you'd reach for like a dial — a lamp's **color temperature**, **volume**, or any single value you want front and center. For a slim in-row control use the [Simple Slider](/dashboards/adding-widgets/control-widget/slider-simple); for a tall one use the [Vertical Slider](/dashboards/adding-widgets/control-widget/slider-vertical).

## What you need first

* A device with a command on its **Commands & States** tab whose **input takes a number** (see [Setting up a command](/devices/commands/creating-commands)).
* A **Device metric** that reports the current value, so the dial shows where it's set.

## 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 live value. Tap **Next**.
3. **Appearance** tab: type a **Widget name**, choose **Widget type → Slider**, then **Slider type → Circular**.
4. Set the **Command** it controls, the **Parameter** it sets, and a starting **Value**.
5. Add **Start and End labels** for the range (say `150` and `500`) with **Display** on, pick a **Slider color**, and toggle the name/last-update line.
6. Tap **Save**.

<figure><img src="https://1153890212-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxgYoHO4zlaBzHJcfIrto%2Fuploads%2Fgit-blob-a6fdaa9651d8631ca64170d80b31f973c38fef69%2Fcontrol-widget-slider-circular.jpg?alt=media" alt="Chirp Circular slider — a round dial setting a value across a range"><figcaption></figcaption></figure>

## What happens when you use it

Turning the dial sends the command with the new value, the same way the device's States tab does. The dial follows the **Device metric**, so it shows the value the device is actually reporting.

## Common mistakes

* **Mixing it up with the round gauge** — the Circular slider *sets* a value (you can turn it); the Last Data [Radial Gauge](/dashboards/adding-widgets/last-data-widget/radial-gauge) just *shows* one.
* **Choosing an on/off command** — a slider needs a number input; for on/off use a [Switch](/dashboards/adding-widgets/control-widget/switch).

## See also

* [Control widget](/dashboards/adding-widgets/control-widget) — overview and the other control types
* Other slider looks: [Simple Slider](/dashboards/adding-widgets/control-widget/slider-simple) · [Vertical Slider](/dashboards/adding-widgets/control-widget/slider-vertical)
* [Controlling Your Devices](/devices/commands) — set up the command this dial controls


# Vertical Slider

Add a Vertical Slider to a Chirp dashboard — an upright slider that sets a value like a level you raise or lower.

The **Vertical** slider sets a **value** on an upright bar — up for more, down for less. It reads like a level, so it suits things you picture going up and down.

## When to use it

Nice where an upright control fits the idea — a **brightness** level, **blinds** position, or anything you raise and lower. For a side-to-side control use the [Simple Slider](/dashboards/adding-widgets/control-widget/slider-simple); for a dial use the [Circular Slider](/dashboards/adding-widgets/control-widget/slider-circular).

## What you need first

* A device with a command on its **Commands & States** tab whose **input takes a number** (see [Setting up a command](/devices/commands/creating-commands)).
* A **Device metric** that reports the current value, so the slider shows where it's set.

## 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 live value. Tap **Next**.
3. **Appearance** tab: type a **Widget name**, choose **Widget type → Slider**, then **Slider type → Vertical**.
4. Set the **Command** it controls, the **Parameter** it sets, and a starting **Value**.
5. Add **Start and End labels** for the range (say `0` and `254`) with **Display** on, pick a **Slider color**, and toggle the name/last-update line.
6. Tap **Save**.

<figure><img src="https://1153890212-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxgYoHO4zlaBzHJcfIrto%2Fuploads%2Fgit-blob-1ac608791885c868976289d119cf3283a4c0af01%2Fcontrol-widget-slider-vertical.jpg?alt=media" alt="Chirp Vertical slider — an upright bar setting a value across a range"><figcaption></figcaption></figure>

## What happens when you use it

Sliding up or down sends the command with the new value, the same way the device's States tab does. The handle follows the **Device metric**, so it shows the value the device is actually reporting.

## Common mistakes

* **Choosing an on/off command** — a slider needs a number input; for on/off use a [Switch](/dashboards/adding-widgets/control-widget/switch).
* **The range doesn't match the device** — set Start and End to the real lowest and highest values so the whole bar maps to values the device accepts.

## See also

* [Control widget](/dashboards/adding-widgets/control-widget) — overview and the other control types
* Other slider looks: [Simple Slider](/dashboards/adding-widgets/control-widget/slider-simple) · [Circular Slider](/dashboards/adding-widgets/control-widget/slider-circular)
* [Controlling Your Devices](/devices/commands) — set up the command this slider controls


# Input

Add an Input Control to a Chirp dashboard to send an exact value, like a thermostat target or color temperature.

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) 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)).
* 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="https://1153890212-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxgYoHO4zlaBzHJcfIrto%2Fuploads%2Fgit-blob-5dfc9dc54aa52b2fca040431d608c12c38b1006d%2Fcontrol-widget-input.jpg?alt=media" 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) — overview and the other control types
* [Controlling Your Devices](/devices/commands) — set up the command this input sends


# Chart Widget

Graph a reading's history over the hour, day, week, or month with color bands and a live current value.

The Chart widget draws a reading's history as a graph — a line or bars stretching back over the last hour, day, week, or month — so you can follow how it has moved, not just where it is right now.

One Chart widget puts four things together: the **current value** as a big number at the top, the **graph** of its history as a line or bars, an optional **average line** for the period, and optional **color bands** that mark which ranges are fine and which are not. You see today's reading and the pattern that led to it on a single tile.

Those color bands also tint the **big number** at the top: when the current reading sits inside a band, that number takes the band's color — the line or bars themselves keep the color you gave the metric. So the tile tells you how things are going before you even look at the graph.

A Chart widget follows one reading. If you want to watch several, add a separate Chart widget for each.

<figure><img src="https://1153890212-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxgYoHO4zlaBzHJcfIrto%2Fuploads%2Fgit-blob-a458c5d7c4f55d3ffc57b7b54ce6ecb05199616c%2Fdashboard-widget-picker.jpg?alt=media" alt="The Chirp widget picker with Chart listed separately from Last Data, Text, Map, and Control"><figcaption></figcaption></figure>

## Pick the shape of the history

**Chart** is the item in the dashboard widget picker. Its **Appearance** tab then offers two Chart types:

* [Line Chart](/dashboards/adding-widgets/chart-widget/line-chart) connects the readings so you can follow a changing trend.
* [Bar Chart](/dashboards/adding-widgets/chart-widget/bar-chart) keeps each report separate so you can compare the values.

Both types use the same sensor, timeframe, range, color bands, average, axes, legend, and **Show metrics below** switch. Only Bar offers **Display value on bar**.

## Configure a Chart widget

Let's build a real one — a chart that tracks the living-room humidity through the week, so you can see whether the room stayed comfortable or kept drifting damp. A humidity sensor reports the room as a percentage. This is just an example: a Chart works for any reading whose history you care about — only the sensor and the numbers change.

1. Open your dashboard in edit mode and tap **Chart** in the widget picker. The settings panel opens on the **Datasource** tab, with nothing added yet.
2. Tap **Add datasource**. A **Datasource 1** block appears.
3. In the block, tap **Choose device** and pick the room's humidity sensor.
4. Tap **Add metric**. A metric row appears.
5. In the row, leave **Data type** on **Telemetry**, choose the humidity reading under **Device metric**, and pick a **Color** — this is the color of the line (or bars) on the graph, and the starting color of the big number at the top.

   > **Don't see your sensor reading?** The **Device metric** list only shows number readings. If one is missing, that metric is set up as text (String) or on/off (Boolean) instead of a number. Open **Devices → Metrics**, find it, and switch it to a number type — as long as the sensor really does send a number. See [Data Templates](/devices/data-templates).

   A Chart widget follows just **one reading** — once that metric is in place, there is no second row to fill in. For another reading, build another Chart widget.
6. Tap **Next** to open the **Appearance** tab.
7. Type a **Widget name** — "Living room humidity" — and a **Description** if you want a subtitle.
8. Under **Widget type**, choose **line** or **bar**. The **line** type draws a flowing curve, which suits a reading that drifts up and down gently like humidity; **bar** draws one bar per reading, handy when you would rather see each report on its own. Pick **line** here.
9. Choose the **Timeframe** — how much history the graph shows: **Last hour**, **Last day**, **Last week**, or **Last month**. For a week's view, pick **Last week**.
10. Under **Set value range**, fill in **From** and **To** — the bottom and top of the up-and-down axis. Choose a window that comfortably holds the readings you expect: **From** 20, **To** 80. (A fresh widget starts at 0–100; change it to fit your reading.)
11. Under **Thresholds**, tap **Add threshold** for each band of meaning. A threshold's **From** and **To** are the lower and upper edge of a color band on that same 20–80 scale; give it a **Label** and a **Color**. For room humidity, add three:

    * "Too dry" — **From** 20, **To** 40 — amber
    * "Comfortable" — **From** 40, **To** 60 — green
    * "Too damp" — **From** 60, **To** 80 — red

    Each threshold has two switches that do different jobs. **Show fill** colors in the whole band as a soft background; **Show line** draws a line along the band's edges. Turn **Show fill** on for "Comfortable" so the happy zone shows as a green stripe behind the graph; turn **Show line** on for "Too damp" so its lower edge at 60% is a clear red line you can watch the trace climb toward.
12. Turn on **Show average value** to add a dashed line at the week's average humidity, marked "Average" in the legend.
13. **Show vertical axis lines** and **Show horizontal axis lines** add a faint grid behind the graph — switch them on if a grid makes it easier to read.
14. Turn on **Display data legend** to list your band labels and the average next to the graph.
15. Turn on **Show metrics below** to display the reading name and current value beneath the graph. This keeps the reading visible on a phone or when the widget is too small to show the large value clearly.
16. If you chose **bar** in step 8, turn on **Display value on bar** to print the exact value on each bar. This option is available only for bar charts.
17. Tap **Save** to drop the widget onto your dashboard.

Now the tile shows the room's humidity right now as a big number, with the whole week traced behind it — and the green band makes it plain whether the room sat comfortable or kept sliding into the dry or damp zones. The same steps fit any reading with a history worth following; just change the sensor, the value range, and the bands.

## How the big number changes color

The large reading at the top starts in the color you gave the metric. When the current reading falls inside one of your threshold bands, the number switches to that band's color, and goes back to the metric color once the reading leaves every band.

So a humidity chart shows a calm green number while the room is comfortable and turns red the moment the air gets too damp — with no extra setup. The chart makes the problem easy to spot; to get a notification on your phone, pair it with an [alarm](/alarm).

## Bands here, conditions elsewhere

The Chart widget uses **threshold bands** — color ranges painted across the graph. The Last Data and Image widgets use the conditions system instead — named color rules with their own priority order. See [Conditions](/dashboards/adding-widgets/conditions).

## Home examples

**Is the fridge holding its cold?** Not just "is it 4°C now" — but "did it stay cold all week?" A fridge temperature sensor, **line** chart, **Last week**, value range 0 to 10. A green band 0–5°C and a red band 5–10°C show at a glance whether the fridge held steady or spiked one afternoon when the door was left open.

**Energy use across the week** A smart meter on a **line** chart, **Last week**. Set the value range to cover your home's draw — for example 0–6 kW — then add a green band over your usual range (say 0–3 kW) and a red band above it (say 4.5–6 kW). The right numbers depend on your home, so set **From** and **To** to what your meter actually reads; an unusually high overnight figure or a weekend peak then stands out the moment the line climbs above the green.

**Bedroom temperature overnight** A bedroom temperature sensor, **line** chart, **Last day**, value range 10–30 °C. A green band 17–21 °C marks a comfortable sleeping temperature, with a cooler color below it. A glance in the morning tells you whether the room held that comfortable band through the night or dipped in the small hours.

Any reading with a history worth watching fits the Chart widget — soil moisture, a water tank's level, air quality — so treat these as a place to start.

## See also

* [Last Data Widget](/dashboards/adding-widgets/last-data-widget) — The current reading on its own, when you do not need the history
* [Line Chart](/dashboards/adding-widgets/chart-widget/line-chart) — See how a reading moves over time
* [Bar Chart](/dashboards/adding-widgets/chart-widget/bar-chart) — Compare reports and show their exact values
* [Conditions](/dashboards/adding-widgets/conditions) — Color rules for the Last Data and Image widgets
* [Adding Widgets](/dashboards/adding-widgets) — How to open edit mode and use the widget picker


# Line Chart

Set up a Chirp Line chart to follow a sensor trend with a current reading, average, and colored ranges.

Line is one of the two types inside a **Chart** widget. It joins the sensor reports into one trace, which makes the direction and shape of a change easy to follow.

Choose it for room temperature, humidity, energy use, soil moisture, or any reading where you care about the journey between “then” and “now.”

<figure><img src="https://1153890212-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxgYoHO4zlaBzHJcfIrto%2Fuploads%2Fgit-blob-60d8820649747df0c38f65f0bc0a985c7e08ece7%2Fchart-widget-line.jpg?alt=media" alt="Chirp Chart settings with Line selected and a continuous history shown in the preview"><figcaption></figcaption></figure>

## Make a Line chart

1. Edit the dashboard and choose **Chart**.
2. On **Datasource**, add one device and one number reading.
3. Tap **Next**, then choose **line** for **Widget type**.
4. Pick how far back to look: Last hour, Last day, Last week, or Last month, depending on your plan's data retention.
5. Set **From** and **To** so the up-and-down scale fits the reading.
6. Add any colored threshold bands, average line, grid lines, or legend that will make the history easier to understand.
7. Use **Show metrics below** if you want the reading name and latest value repeated beneath the graph.
8. Save the widget and the dashboard.

You will not see **Display value on bar** while Line is selected. That option belongs only to the Bar type.

## Example: bedroom temperature

Choose Last day and a range of 10–30°C. Add a comfortable band from 17–21°C. The line shows whether the room stayed inside that range through the night or gradually cooled before morning; the large number still tells you the temperature right now.

## See also

* [Chart Widget](/dashboards/adding-widgets/chart-widget) — settings shared by both Chart types
* [Bar Chart](/dashboards/adding-widgets/chart-widget/bar-chart) — keep reports visually separate
* [Last Data Widget](/dashboards/adding-widgets/last-data-widget) — show the latest reading without its history


# Bar Chart

Build a Chirp Bar chart and show the exact sensor value on every bar for easier report-by-report comparison.

Bar is the other type available inside the **Chart** widget. Every sensor report becomes its own bar instead of joining the next point. Pick it when the difference between individual readings is more useful than one continuous curve.

Bar is not part of Last Data and it does not appear as a separate tile in the widget picker. Start with **Chart**, then select **bar** on Appearance.

<figure><img src="https://1153890212-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxgYoHO4zlaBzHJcfIrto%2Fuploads%2Fgit-blob-a7e9925857702ff3b9cb59da31fbae29eb7d74f6%2Fchart-widget.jpg?alt=media" alt="A Chirp dashboard Bar chart with exact values printed above the bars and the current reading below"><figcaption></figcaption></figure>

## Make a Bar chart

1. Choose **Chart** and add one device with one numeric reading.
2. On **Appearance**, set **Widget type** to **bar**.
3. Choose the timeframe and the vertical value range.
4. Add color bands, an average, grid lines, or a legend if they help explain the bars.
5. Turn on **Show metrics below** to keep the reading name and latest value below the plot.
6. Turn on **Display value on bar** to write each value directly on its bar.
7. Save the widget, then save the dashboard layout.

Chirp hides **Display value on bar** when you switch back to Line.

## Example: daily energy readings

Use Bar when a smart meter reports one total for each interval and you want to compare them side by side. With values printed on the bars, a jump from 3.8 kWh to 5.1 kWh is visible without estimating against the scale.

Labels need room. If the chart is narrow or contains many bars, enlarge the dashboard tile or turn the labels off so they do not crowd the history.

## See also

* [Chart Widget](/dashboards/adding-widgets/chart-widget) — configure the shared Chart options
* [Line Chart](/dashboards/adding-widgets/chart-widget/line-chart) — follow the direction of a changing reading
* [Last Data Widget](/dashboards/adding-widgets/last-data-widget) — see only the most recent sensor state


# Text Widget

Add a household note, sensor list, or automation list to a Chirp dashboard using the Text widget.

The **Text widget** gives a home dashboard a heading, a useful note, or a list of selected resources. Put a short explanation beside an unfamiliar reading, keep the home's sensors together, or show which rules are part of your monitoring setup.

For example, **Home Sensors** can list the door sensor next to its open/closed reading, while **Home Automations** identifies the rule watching the entrance camera. The list shows the configured resources; the measurement widgets show what those devices are reporting.

## Set up your tile

1. Open your dashboard and select **Actions → Edit dashboard**. You need editing permission and access to the resources you plan to include.
2. Select **Add widget**, then **Text**.
3. Enter a **Widget name**, such as Home Sensors. Add a **Description** if the household needs an explanation beneath the heading.
4. Choose **Data type**: **None** leaves the tile as a heading and note; **Devices**, **Rules**, and **Alarms** provide resource-list controls.
5. For a resource list, choose the entries from **Artifacts**. You can select more than one and remove a selection you no longer need.
6. Adjust the options for that type, review the preview, and select **Save**.
7. Arrange the new tile on the dashboard, then save the dashboard layout.

<figure><img src="https://1153890212-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxgYoHO4zlaBzHJcfIrto%2Fuploads%2Fgit-blob-6be9a8210c3c538ed38367788e1a37db9f8d2009%2Fchirp-text-widget-settings.jpg?alt=media" alt="Chirp Text widget settings with a home device selected"><figcaption><p>Select the resources and display options before saving the tile.</p></figcaption></figure>

## Choose what the list shows

| Data type | Available display controls                                           |
| --------- | -------------------------------------------------------------------- |
| None      | The name and description provide a simple household note.            |
| Devices   | **Number of devices**, **Connector**, **Device provider**, **Icon**. |
| Rules     | **Number of rules**, **Icon**.                                       |
| Alarms    | **Number of alarms**, **Alarm severity**, **Icon**.                  |

The number is a count of the selected resources that the widget can currently display. For alarms, it counts definitions, not unresolved incidents. **Alarm severity** refers to a definition's severity. Device connector and provider information appears when those details are available.

<figure><img src="https://1153890212-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxgYoHO4zlaBzHJcfIrto%2Fuploads%2Fgit-blob-eeddc5831cdf66ca881e09b537426809e8d5a36b%2Fchirp-text-widget-lists.jpg?alt=media" alt="Chirp dashboard with Home Sensors and Home Automations lists beside temperature and door readings"><figcaption><p>The two Text tiles explain which sensor and camera-motion rule belong with the household readings.</p></figcaption></figure>

## Keep the dashboard useful

Select a device row to open that device. Rule and alarm rows display information; use **Rules engine** or **Alarm** to manage those resources. Choosing a resource for a tile neither runs its automation nor assigns it to an Application.

Entries stay in the order you selected. A deleted resource, or one the widget can no longer retrieve, drops out of the displayed list and its count. Edit **Artifacts** when you want to change the selection.

Public/kiosk views hide organization resource lists. Use a plain heading and description when a note needs to appear on a public display.

## If the alarm selector is empty

Choosing **Alarms** can leave **Artifacts** showing **No options**, including when alarm definitions already exist. You can check those definitions through **Alarm → Alarm definitions** and use **Alarm** to follow incidents. The empty selector does not mean your home has no active alarms. You can still add device and rule lists to the dashboard.

## Continue building your view

* [Choosing Widgets](https://github.com/chirpwireless/chirpwireless_docs/tree/synchronize/dashboards/choosing-widgets.md)
* [Application dashboards](/applications/using-application-dashboards)


# Image Widget

Pin live sensor readings onto your own photo or floor plan, each colored by its conditions, with multi-layer views.

The Image Widget lets you put your sensor readings straight onto a picture. Upload an image — and it really can be **any image**: a floor plan of your home, a photo of a room, a picture of the basement, a snapshot of the garden, a diagram of a piece of equipment — then drop live readings onto it, each one where its sensor actually sits.

Instead of scanning a list of device names and trying to remember which is which, you look at the real space and see what every part of it is doing. Glance at the floor plan and a cold room stands out; glance at a photo of the basement and you see the water softener is running low on salt.

Upload a supported image file — a PNG or JPG — of any place, object, or thing you want to keep an eye on. Each reading you place shows its current value, its unit, and an icon, and changes color as your conditions say, so the whole picture tells you the story at a glance.

<figure><img src="https://1153890212-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxgYoHO4zlaBzHJcfIrto%2Fuploads%2Fgit-blob-284be31af4fa5ad52272cc667206a271c3e30d82%2Fimage-widget.jpg?alt=media" alt="The Image Widget being set up — a photo with sensor pins on it, shown next to a live preview"><figcaption></figcaption></figure>

## Configure an Image Widget

Let's build a real one — keeping an eye on the basement using a photo of the utility area. A level sensor watches the water-softener salt tank, and a sump-pit water-level sensor watches for rising water. This is just an example: the image can be anything, and the steps don't change.

1. Open your dashboard in edit mode and tap **Image Widget** in the widget picker. The settings panel opens — and unlike the other widgets, the **Appearance** tab comes first, because you upload the picture before you can place anything on it.
2. Type a name for the widget — something like "Basement".
3. The widget already has one layer, **Layer 1**. Give it a **Layer name** ("Utility area") and upload the image — your photo of the basement. PNG and JPG files work.
4. Tap **Next** to move to the **Datasource** tab.
5. Under the layer, tap **Add datasource** — this adds an empty datasource block. In the block, tap **Choose device** and pick the salt-tank level sensor.
6. Tap **Add metric**. Leave **Data type** on **Telemetry**, choose the salt-level reading under **Device metric**, and pick an **Icon**.

   > **Don't see your sensor reading?** The Image Widget only pins number readings. If one is missing, that metric is set up as text (String) or on/off (Boolean) instead of a number. Open **Devices → Metrics**, find it, and switch it to a number type — as long as the sensor really does send a number. See [Data Templates](/devices/data-templates).
7. Tap **Conditions: N** to open the Conditions window. Choose a **Default color**, then for each band tap **Add condition** and fill in the row — a **Condition name**, **Data type** set to **Number**, the **From** and **To** values, and a **Color**. The pin takes its color entirely from these. For the salt level as a percentage, add four:

   * "Empty" — **From** 0, **To** 10 — burgundy (a deep red)
   * "Add salt now" — **From** 10, **To** 30 — red
   * "Getting low" — **From** 30, **To** 60 — yellow
   * "Full" — **From** 60, **To** 100 — green

   Tap **Save** to close the window. The salt pin now glows green while the tank is full and slides through yellow and red to a thin burgundy strip as it empties — one look at the basement photo tells you when to buy a bag.
8. The pin appears on the image. **Drag it** onto the salt tank in the photo. The zoom controls (+ / −) on the preview help you place it exactly.
9. Add the second sensor the same way — **Add datasource**, choose the sump-pit water-level sensor, then **Add metric**. Open **Conditions: N** and set the bands in centimeters — 0–30 cm "Normal" green, 30–60 cm "Rising" yellow, 60–100 cm "Critical — check pump" red. A sump pit normally holds a little water, so the low band is "Normal" rather than empty. Drag its pin onto the sump pit in the photo.
10. Tap **Save** to drop the widget onto your dashboard.

Now the basement photo carries two live pins — the salt level and the sump-pit water level — each colored by its conditions. The same steps work for any picture; just change the photo, the sensors, and the bands.

## What layers are

<figure><img src="https://1153890212-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxgYoHO4zlaBzHJcfIrto%2Fuploads%2Fgit-blob-2c54222c321ce74cd5c3169099f10bfbed93d8bd%2Fimage-widget-layers.jpg?alt=media" alt="An Image Widget with two layers and the switcher that moves between them"><figcaption></figcaption></figure>

A **layer** is one image view inside a single Image Widget — not a see-through overlay on one picture. Every layer has its own image and its own pins. As soon as a widget has more than one layer, a **layer switcher** appears on it, and tapping it moves you between the views — so one widget can hold several pictures and several sets of readings.

Layers earn their place when one picture cannot show everything. A whole house is the easy example — one layer per floor:

* **Layer 1 — "Ground floor".** Upload the ground-floor plan and pin a reading in each room.
* **Layer 2 — "Upstairs".** Upload the upstairs plan and pin its rooms.

On the dashboard you tap the layer switcher to move from the ground floor to upstairs, all in one widget. Add the basement and the attic the same way — as many layers as the home needs, each with its own picture and its own pins.

The plans themselves are nothing fancy: a flat 2D floor plan is just an image you upload. A quick sketch does the job, and so does the plan an estate agent or builder handed you — there is no building to draw or model. That is what separates this widget from the [Digital Building Twin](/dashboards/adding-widgets/digital-building-twin): reach for the **Image Widget** when you already have flat 2D plans and only want live readings pinned onto them; reach for the **Digital Building Twin** when you want to draw and manage a full 3D model of your home.

**Layers or separate widgets?** Use layers when the pictures are different views of the same place. Use separate Image Widgets when the pictures belong in different parts of the dashboard or cover unrelated things.

Working with layers: **Layer 1** is already there — rename it and upload its image. Tap **Add new layer** only when you want another picture in the same widget. **Every layer needs its own image** — add a layer and leave it empty and **Next** won't let you continue. On the **Datasource** tab, add each datasource and metric under the right layer, and drag each pin on that layer's own picture.

## Home examples

**House floor plan — a reading per room** Upload your floor plan and pin a temperature sensor in each room: green 18–24°C "Comfortable", yellow 15–18°C "Cool", red below 15°C "Cold". Add an upstairs layer the same way and switch between floors.

**Garden layout — soil and watering** Upload a photo or sketch of the garden and pin soil-moisture sensors on the beds and pots — green 40–80%, yellow 20–40%, red below 20% — so you can see at a glance which corner needs watering.

**Basement or utility room — a photo, not a plan** Upload a straight photo of the space and pin whatever you watch there: the water-softener salt level, the sump-pit water level, the temperature, the humidity. The image does not have to be a floor plan — any photo where you want readings shown in place works.

Any picture you can take or draw can become an Image Widget, so treat these as a place to start. Wherever a reading makes more sense once you can see where it is, this widget puts it there.

## What the widget shows

On the dashboard, each layer shows its picture with a colored round pin at every spot you placed. Each pin carries the sensor's icon, its live value, and the unit, and updates as new readings come in.

**A pin's color comes entirely from its conditions.** The first matching condition wins; if none matches, the pin uses the Default color from the Conditions window. The Image Widget shows you the situation — to get a notification on your phone when a reading crosses a line, pair it with an [alarm](/alarm).

When a widget has two or more layers, the **layer switcher** moves between them. If a layer has no picture yet, or the widget has no sensors set up, that area shows a short placeholder message.

## See also

* [Conditions](/dashboards/adding-widgets/conditions) — The color rules behind every pin
* [Maps and Device Placement](/dashboards/maps-and-device-placement) — Placing sensors on an outdoor map (a different feature)
* [Adding Widgets](/dashboards/adding-widgets) — How to open edit mode and use the widget picker


# Map Widget

Show a GPS device's live position on an outdoor map with one reading on the marker and route history by date.

The Map widget shows where a GPS-reporting device is on a real outdoor interactive map — the same kind of map you use for navigation. The device's current location appears as a marker, and the marker shows one selected sensor reading at a time: current speed, battery level, engine on/off status, or any other value the device transmits.

Any device that reports GPS coordinates works — a family GPS tracker, a pet collar, a cellular vehicle tracker connected via the [Tracker Connector](/connectors/tracker-connector), or a LoRaWAN GPS tag connected via the [LNS Connector](/connectors/lns-connector). The widget looks for sensor fields named `lat`/`latitude` and `lon`/`longitude`/`lng`. If those fields exist on the device, it appears on the map automatically.

This is different from the [Image Widget](/dashboards/adding-widgets/image-widget), which lets you upload your own static image and pin sensors onto it. The Map widget is for devices that move in the real world.

Tap a button to switch to a date range view and see the route the device took over any period.

For placing stationary sensors on a map so you can see where each one is installed, see [Maps and Device Placement](/dashboards/maps-and-device-placement). For reviewing the car's retained locations and keeping history through tracker replacement, see [Tracking What Matters](/dashboards/tracking-what-matters).

<figure><img src="https://1153890212-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxgYoHO4zlaBzHJcfIrto%2Fuploads%2Fgit-blob-7bb0a2fc550cfc2494a564e073ba529d1b75170e%2Fmap-widget.jpg?alt=media" alt="Add Map widget — appearance settings with a live map preview of a tracker"><figcaption></figcaption></figure>

## How do I set up a Map widget?

### Step 1 — Choose Map from the widget picker

Open dashboard edit mode and tap **Map** in the widget picker. (See [Adding Widgets](/dashboards/adding-widgets) for how to open edit mode.) The settings panel opens with two tabs: **Datasource** and **Appearance**.

### Step 2 — Datasource tab: select a tracker and a metric

The Datasource tab opens with the title **"Map configuration"** and the subtitle **"Configure last data and data sources."**

1. Tap the device selector to choose a tracker device. The selector does not pre-filter by location capability — you can pick any device.
2. After selecting a device, the widget automatically looks for sensors named `lat` or `latitude` for latitude, and `lon`, `longitude`, or `lng` for longitude. If it finds them, the marker appears on the map. If no matching sensor names are found, no marker is shown.
3. Once a device is selected, non-location sensors from that device become available to add as an **additional metric**. Pick one to display its value on the map marker — speed, battery level, temperature, or any other reading the tracker sends.
4. The Map widget supports **exactly one additional metric**. Once you've added one, the Add metric option disappears.

The marker color reflects any conditions set for the additional metric — the same conditions system used in Last data widgets. If you want the marker to turn red when battery is low or change color based on speed, configure conditions on that metric.

### Step 3 — Appearance tab: name and style the widget

**Widget name** *(required)* — The heading shown above the map. Give it something clear, like "Family Tracker" or "Dog GPS".

**Description** — An optional subtitle under the widget name.

**Theme** — Choose **Light** or **Dark** for the map tile color scheme. This is independent of your dashboard's overall theme — pick whichever is easier to read.

**Display data legend** — Toggle on to show a legend that identifies the metric displayed on the marker.

### Step 4 — Save

Tap **Save** to add the widget to the dashboard.

## What should I see after adding the Map widget?

The map renders with the tracker's last known position. The marker shows the metric value you selected and uses the condition-based color if conditions are configured. As the tracker reports new positions, the map updates automatically.

## How do I browse route history on the map?

The Map widget has three controls for reviewing past location data:

* **History** — Tap to switch to a date range view.
* **Date range button** — Displays the active period in **DD.MM.YYYY - DD.MM.YYYY** format. Tap to change the range.
* **Clear data range** — Resets the view back to the tracker's current position.

When a date range is active, the widget draws the tracker's recorded positions as a dashed line connecting all the logged locations during that period. The widget loads a limited batch of coordinate readings per date range. Choose a shorter range when reviewing a busy tracker so the period you need fits in the view.

## Why isn't my Map widget showing anything?

**No marker appears after selecting a device:** The widget looks for sensors named `lat`/`latitude` and `lon`/`longitude`/`lng` exactly. If your tracker uses different names for its location data, the widget can't find them. Open the device detail page and check the sensor names — they need to match one of those patterns.

**Route is empty for a selected date range:** The tracker either wasn't transmitting during that period or didn't have a GPS signal. Try widening the date range, or check the device detail page to confirm the tracker was active.

**Metric value not showing on the marker:** The tracker hasn't transmitted that specific field yet after the widget was configured. Open the device page and check recent readings to confirm the tracker is sending that value.

## What are some home examples for the Map widget?

**Family GPS tracker:** Keep a Map widget on your home dashboard to see where a family member is on the way home. Add speed as the marker metric — the marker shows the current speed and turns yellow if it exceeds a threshold you set. Tap History to see the route taken.

**Pet GPS collar:** A Map widget for a dog's GPS collar. During the day it shows the dog's current position. In the evening, tap History and set the day's date range to see where the dog roamed on the walk. Set the metric to battery level to keep an eye on when the collar needs charging.

**Car or camper:** A family car or camper van with a GPS tracker. Add the Map widget and select speed as the metric — or switch to engine on/off status to see whether the engine is running when the car is parked. After a road trip, use the date range controls to trace the full route.

## See also

* [Tracking What Matters](/dashboards/tracking-what-matters) — Full GPS route history on the device detail page
* [Maps and Device Placement](/dashboards/maps-and-device-placement) — Place stationary sensors on a map
* [Conditions](/dashboards/adding-widgets/conditions) — Color rules for the marker's additional metric
* [Adding Widgets](/dashboards/adding-widgets) — How to open edit mode and use the widget picker


# iFrame Widget

Drop a live web page — a weather map, live traffic, or your calendar — onto a Chirp dashboard with the iFrame Widget.

An iFrame Widget shows a live web page inside a tile on your dashboard. The page keeps doing its thing — updating, animating, refreshing — just as it would in its own window, only now it sits next to your temperature, humidity, and door sensors. You give the widget a web address (an **embed link**) from a supported service, name it, and it appears.

Your home dashboard is where you glance to see how things are. Some of what you want there isn't a sensor reading at all: the local weather map, the traffic before the school run, the family calendar, a published camera or video feed. The iFrame Widget lets you pin those web pages right onto your dashboard, so the things you check every morning live in one place instead of a pile of open tabs.

Because the tile loads a real page from the web, Chirp only lets you embed sites from a friendly, checked list of services that are safe to show this way. That keeps your dashboard tidy and trustworthy — a tile can only show a page from a service we've okayed, so nothing unexpected ends up on your home screen.

<figure><img src="https://1153890212-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxgYoHO4zlaBzHJcfIrto%2Fuploads%2Fgit-blob-4acc1e49ab710c17f37d483b97557a80989f1bc4%2Fiframe-widget.jpg?alt=media" alt="Setting up the iFrame Widget — an embed link in the Data source box, the list of supported services below, and a live preview"><figcaption></figcaption></figure>

## How do I add an iFrame widget?

Here's how to add a live local weather map to a dashboard so you can see the forecast next to your sensors. It's the same for anything else you embed — only the link changes.

1. Open your dashboard and tap the **actions menu** (three dots), then **Edit dashboard**. Tap the **plus (+) button** and pick **iFrame** from the widget picker — its tile says *iFrame*, "Connect a weather service or something else."
2. The settings open on the **Data source** tab (headed "iFrame configuration"), with a preview on the right. Look for the **Data source** box.
3. Grab the **embed link** from the service — not the web address at the top of your browser. Most sites tuck it under a **Share** button, then **Embed** or **Get embed code**. Sometimes you get a tidy link; sometimes you get a whole chunk of code like `<iframe width="650" height="450" src="https://…/embed…" frameborder="0"></iframe>`. **Copy only the bit inside `src="…"`** — the address that starts with `https://` — and nothing else. Don't paste the whole `<iframe …>` block; the box only wants the link, and pasting the full tag won't work.
4. Paste that link into the **Data source** box. Just under it, below **The following services are available**, Chirp shows the sites you can embed, sorted into groups — have a look to check yours is there. The link needs to start with **https\://**. The preview on the right fills in as soon as the link works; if it isn't supported or isn't quite right, you'll see the message *"Enter a valid https\:// embed URL"* instead of the page.
5. Tap **Next** to go to the **Appearance** tab.
6. Type a **Widget name** you'll recognize — like "Weather". You can add a **Description** too, but it's optional.
7. Tap **Save** in the settings, then **Save** in the dashboard header. Your weather map is now live on the dashboard, right beside your sensors.

> **Nothing showing in the preview?** Usually the link isn't quite right. Double-check you copied only the `https://` address from inside `src="…"` (not the whole `<iframe …>` chunk), that it starts with `https://`, and that the service is in the supported list under the box. A regular link, an `http://` one, or a site that isn't on the list won't load.

## What can I embed in an iFrame widget?

The services you can use are sorted into groups in the picker, so it's easy to find what you're after. A few from each:

* **Dashboards & BI** — Power BI, Looker Studio, Tableau, Grafana. Handy if you already keep a chart of your energy use or solar output somewhere.
* **Maps & location** — Google Maps, OpenStreetMap, Mapbox. Show your neighborhood, a trip route, or a spot you're keeping an eye on.
* **Weather & air quality** — Windy, Meteoblue, Ventusky, IQAir. See the forecast, the wind, or today's pollen and air quality at a glance.
* **Video & camera feeds** — YouTube, Vimeo, Twitch. Embed a published stream or a favorite live view.
* **Transport & flights** — Waze, Flightradar24, FlightAware. Pin a Waze traffic map for the morning commute, or watch a flight come in so you know when to leave for the airport.
* **Shipping & parcel tracking** — 17TRACK, AfterShip, TrackingMore. Follow that parcel you're waiting on.
* **Finance & markets** — TradingView, Investing.com, Trading Economics. Keep an eye on a price or a market you follow.
* **Status & docs** — Statuspage, Instatus, Google Docs. Check whether a service you rely on is up, or pin a shared note.
* **Calendars & forms** — the family calendar can sit front and center, whether it lives in Google Calendar, Google Forms, Microsoft Forms or Calendly.

The list you see in the widget is always up to date. If the service you want isn't there, tap the **please submit a request to add the desired resource** link under the Data source box and ask us to add it — we'll take a look and see if it can join the list.

## iFrame Widget or Map Widget?

It's easy to mix these up, so here's the difference:

* The **iFrame Widget** shows an external *web page* — including a web map like a Waze traffic view or an embedded Google Map. It shows whatever that website shows; it doesn't know anything about your own sensors.
* The [**Map Widget**](/dashboards/adding-widgets/map-widget) puts one of *your own* GPS devices on a map and follows where it is right now. If you want to see where a car tracker or a moving sensor is, that's the Map Widget — not the iFrame Widget.

## What are some home examples for the iFrame widget?

**Morning weather, right where you look** Add a Windy or Meteoblue map to your main dashboard and it sits next to the indoor temperature and humidity. One glance tells you both what it's like outside and whether you left a window open.

**Traffic before the school run** Embed a Waze map of your usual route and check it with your morning coffee. See the jams before you set off and decide when to leave — right beside the sensors telling you the house is buttoned up for the day.

**The family calendar on the wall tablet** If you keep a dashboard on a hallway tablet, embed your shared Google Calendar. Everyone sees the week's plans beside the home's sensors — school runs, bin day, and whether the garage door got left up.

## What does the iFrame widget show?

<figure><img src="https://1153890212-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxgYoHO4zlaBzHJcfIrto%2Fuploads%2Fgit-blob-27037678133bcff59a9bcb0b8289267783755ecd%2Fiframe-widget-dashboard.jpg?alt=media" alt="A home dashboard with a live weather map embedded in an iFrame Widget, next to a 3D home model and a tank-level gauge"><figcaption></figcaption></figure>

On your dashboard, the iFrame Widget shows the web page live inside its tile, right beside your other panels — above, a weather map sits next to a 3D home model and a tank-level gauge. The page updates on its own, just like it would in a browser, so there's no separate refresh setting on the widget. In edit mode you can drag the tile around and resize it, so a busy page like a map gets the space it needs.

The iFrame Widget is just for viewing — it doesn't read your sensors, run automations, or send alerts. Use it to keep the web pages you care about close by, and let your sensor widgets (Last Data, Chart, Image, and the Digital Building Twin) handle your device readings.

## See also

* [Adding Widgets](/dashboards/adding-widgets) — Edit mode and the widget picker
* [Map Widget](/dashboards/adding-widgets/map-widget) — Follow where your own GPS device is (not the same as embedding a web map)
* [Digital Building Twin](/dashboards/adding-widgets/digital-building-twin) — A live 3D model of your home


# Digital Building Twin

Build a 3D model of your home and watch it light up with live sensor colors and readings, right on your dashboard.

The Digital Building Twin lets you build a 3D model of your home and watch your sensors come to life inside it. Draw your rooms, drop in the furniture, place your sensors where they really are — and then the model lights up: the bedroom glows warm, the front door shows open, the basement turns blue when the leak sensor gets wet.

It's the difference between reading "Sensor 4: 1" in a list and glancing at a picture of your house where the garage door is clearly, visibly open. Your home stops being a column of numbers and becomes something you can actually *see*.

And it's all built right into Chirp. There's no extra app to download and no design software to learn. You sketch the layout, furnish it from a library of more than 60 ready-made 3D objects, connect each one to a sensor, and pick the colors that mean "all good" and "look at this." Once it's done, it sits on your dashboard like any other widget.

<figure><img src="https://1153890212-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxgYoHO4zlaBzHJcfIrto%2Fuploads%2Fgit-blob-dfafbeabcadaf68f94cb961532c8de0c434a9467%2F3d_Scene_Screen.jpg?alt=media" alt="Digital Building Twin showing your home and yard live — parking spots out front colored red and green by occupancy, bins by the fence in color-coded fill states, and sensor markers across the rooms"><figcaption></figcaption></figure>

## What you can make with it

* **A 3D model of your home** — draw walls, doors, and windows across as many floors as your house has, in a flat 2D view or a 3D view. See [Drawing your home](/dashboards/adding-widgets/digital-building-twin/drawing-your-building).
* **A head start from a plan** — if you have a floor plan as a DXF file, import it instead of drawing. See [Importing a floor plan](/dashboards/adding-widgets/digital-building-twin/importing-a-dxf-plan).
* **A model traced from a map** — draw your home's outline straight onto a satellite map. See [Tracing from the map](/dashboards/adding-widgets/digital-building-twin/tracing-from-the-map).
* **A furnished home** — add sofas, beds, the fridge, a parking spot, and more from the object library. See [Placing objects](/dashboards/adding-widgets/digital-building-twin/placing-objects) and the [Object library](/dashboards/adding-widgets/digital-building-twin/object-catalog).
* **A live picture of your home** — connect sensors to objects and choose colors so the model reacts as things change. See [Connecting sensors and colors](/dashboards/adding-widgets/digital-building-twin/binding-sensors-and-colors).
* **Readings shown right in the room** — pin a sensor's value to a spot in the model. See [Pins and live readings](/dashboards/adding-widgets/digital-building-twin/drop-pins-and-live-values).
* **A home placed on the real map** — anchor your home to its real-world location. See [GPS anchoring](/dashboards/adding-widgets/digital-building-twin/gps-anchoring).

## Adding a Digital Building Twin to a dashboard

The Digital Building Twin is a dashboard widget. In the widget picker it's listed as **Digital building twin**.

1. Open the dashboard you'd like it on and switch the dashboard to **edit mode**. (Not sure how? [Adding Widgets](/dashboards/adding-widgets) explains edit mode and the widget picker.)
2. In the widget picker, click **Digital building twin**.
3. The home editor opens full-screen. This is where you draw, furnish, and connect everything — each page in this section takes one part of that.
4. When you're happy with it, click **Save** in the top-right corner. A **Widget name** box appears — type a name and click **Save** again.
5. The editor closes and your Digital Building Twin appears on the dashboard, showing the model with live sensor colors.

Want to change it later? Open the dashboard in edit mode and open the widget's settings — the full editor opens again with everything just as you left it.

## How it looks on your dashboard

Once saved, the widget sits on your dashboard grid like any other tile — you can resize it, drop it in a folder, and share it with the household. On the dashboard the model is view-only: it shows your home with live colors and readings, and any editing happens back inside the full editor.

Whatever view you leave the editor in is the view the dashboard shows. Save it in the flat 2D view and the dashboard shows a clean floor plan. Save it in 3D, tilted the way you like, and that's the angle the tile opens at.

## Where to start

* New here? Read the [Editor tour](/dashboards/adding-widgets/digital-building-twin/editor-tour) first to learn your way around.
* Want to dive in? Go to [Drawing your home](/dashboards/adding-widgets/digital-building-twin/drawing-your-building).
* Got a floor plan already? See [Importing a floor plan](/dashboards/adding-widgets/digital-building-twin/importing-a-dxf-plan).

## See also

* [Adding Widgets](/dashboards/adding-widgets) — Edit mode and the widget picker
* [Conditions](/dashboards/adding-widgets/conditions) — How color rules work across your widgets


# Editor Tour

A quick walk around the 3D home editor — the toolbar, Scene panel, settings, floor buttons, and saving.

The Digital Building Twin editor is a full-screen workspace where everything happens — drawing rooms, adding furniture, connecting sensors, setting up the view. This page is a quick walk around it so the rest of the section makes sense. Think of it as the welcome tour; the other pages are the detailed how-tos.

When you add a **Digital building twin** widget, the editor opens with a small starter model already there — a building with one floor. You grow it from there.

<figure><img src="https://1153890212-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxgYoHO4zlaBzHJcfIrto%2Fuploads%2Fgit-blob-a92d85c148507ddfb7ff37f8931685a9e12e8efd%2Fchirp-dbt-editor.jpg?alt=media" alt="The Digital Building Twin editor in 3D with the Scene panel on the left, the floor selector with the 3D and 2D switch, the Pan, Rotate and Zoom hints, the bottom toolbar with Select, Build, Furnish and Sensors, and the Preview, Cancel and Save buttons"><figcaption><p>A new Digital Building Twin editor with its starter building.</p></figcaption></figure>

## What does the bottom toolbar do?

The toolbar in the middle of the bottom edge is your main control. It has four modes:

* **Select** — the normal mode. Click things to pick them up, move them, and change their settings. Press **Escape** any time to come back here.
* **Build** — opens the building tools: **Wall**, **Door**, **Window**, **Fence**, and **Trace from map**. This is how you draw the shell of your home. See [Drawing your home](/dashboards/adding-widgets/digital-building-twin/drawing-your-building).
* **Furnish** — opens the object library: five tabs (**Furniture**, **Appliance**, **Kitchen**, **Bathroom**, **Outdoor**) and a strip of 3D models to drop in. See [Placing objects](/dashboards/adding-widgets/digital-building-twin/placing-objects).
* **Sensors** — opens the Sensors panel, where you connect your devices and link their readings to things in the model. See [Connecting sensors and colors](/dashboards/adding-widgets/digital-building-twin/binding-sensors-and-colors).

Click a mode to switch into it; click it again to go back to Select.

## What does the Scene panel do?

The **Scene** panel is a list of everything in your model, shown as a tree — your building, each floor, and the walls, items, doors, and windows on it. Click anything in the list to select it in the view. Double-click it (or use the little pencil) to rename it. Renaming is worth doing: "Kitchen wall" or "Front door" is much easier to find later than "Wall 9."

## What does the settings panel do?

Click any object and a panel opens with that object's settings:

* **Furniture and objects** — Name, Position, Rotation (with handy **+45°** / **-45°** buttons), Scale, and size.
* **Walls** — Length, Height, Thickness, and a **Material** you can pick: white, brick, concrete, wood, glass, metal, plaster, tile, marble, or your own color.
* **Doors and windows** — Width, Height, where they sit along the wall, which side a door is hinged, which way it swings.

Whatever you've selected also gets a little badge with quick **Move**, **Duplicate**, and **Delete** buttons. It shows up in the flat **2D view** too, so you can rearrange a whole room from the plan without tilting back to 3D, and the settings panel offers **Duplicate** for doors, windows, and furniture alike.

## How do I move around the model?

There are two ways to look at your model:

* **3D view** — spin around it freely. Drag with the left mouse button to rotate, the right button to slide the view across, and the scroll wheel to zoom in and out. Hold the **Space** bar to make left-drag slide instead of rotate.
* **2D view** — a straight-down, flat floor-plan view. You can't rotate it — just slide and zoom. It's the easier view for laying rooms out neatly.

The view you leave the editor in is saved with the widget and is what the dashboard tile shows, so set it the way you like before saving. Flipping between **Edit** and **Preview**, or from 3D to 2D and back, keeps the angle you had, and the little nudge you gave the view with the arrow buttons is remembered as well. Save while you're in 2D and the tile still keeps your 3D angle for the next time. The dashboard shows the view exactly as you framed it, not re-centered on the house.

## What do the floor buttons do?

A little floating stack of floor buttons sits off to one side. It lists each floor (**L0**, **L1**, and so on), lets you add a floor above or below, and switches which floor you're working on. It also holds the **3D / 2D** switch and, if your home has more than one floor, a **Stack / Solo** switch. See [Floors and levels](/dashboards/adding-widgets/digital-building-twin/floors-and-levels).

## How do I undo, redo or remove things?

* **Undo** — Ctrl+Z (Cmd+Z on a Mac).
* **Redo** — Ctrl+Shift+Z (Cmd+Shift+Z).
* **Remove something** — select it and press **Delete** or **Backspace**, or use the Delete button on the badge or settings panel. Your building and its floors are protected, so you can't delete those by accident.
* **Back out of a tool** — press **Escape** or right-click to drop whatever tool you're using and return to Select.

## How do I save and close the editor?

* **Save** — the button in the top-right corner. It asks for a **Widget name**; type or confirm it and your model is saved onto the dashboard.
* **Cancel** — closes the editor. If you have unsaved changes it checks first with a **Discard unsaved changes?** message — choose **Discard** to leave or **Keep editing** to stay.

## See also

* [Drawing your home](/dashboards/adding-widgets/digital-building-twin/drawing-your-building) — Walls, doors, and windows
* [Floors and levels](/dashboards/adding-widgets/digital-building-twin/floors-and-levels) — Multiple floors and the 2D/3D switch
* [Placing objects](/dashboards/adding-widgets/digital-building-twin/placing-objects) — The object library


# Drawing Your Home

Draw walls, doors, windows, and fences for your 3D home model in a flat 2D or full 3D view.

The walls, doors, and windows you draw are what make the model recognizably *your* place — not a generic box, but your home, with the kitchen where the kitchen is and the back door where the back door is. A few minutes of drawing is all it takes. This page shows you how.

Prefer not to draw it all by hand? You can import a floor plan or trace your home from a map instead — see [Importing a floor plan](/dashboards/adding-widgets/digital-building-twin/importing-a-dxf-plan) and [Tracing from the map](/dashboards/adding-widgets/digital-building-twin/tracing-from-the-map). And you can mix the approaches: trace the outside, then draw the inside walls yourself.

## Drawing in 2D or 3D

The editor shows your model in two ways, and you can draw in either:

* **2D view** looks straight down, like a paper floor plan. It doesn't rotate, so it's the easy view for getting room shapes right.
* **3D view** shows the walls standing up, so you can see how it really looks.

Flip between them with the **3D / 2D** switch on the floor buttons. Most people sketch the layout in 2D and then pop into 3D to admire it.

## Drawing a wall

1. On the bottom toolbar, click **Build**. The building tools appear.
2. Click **Wall**.
3. Click once in the view to drop the **start** of the wall.
4. Move the mouse — a preview wall stretches out, with its length shown in meters as you go.
5. Click again to drop the **end**. The wall appears.
6. The tool stays on, so you can carry straight on to the next wall. Each wall is its own two-click action.

Walls snap to a grid as you draw, which keeps your corners square and your rooms tidy without any careful aiming. If a new wall crosses one that's already there, the older wall splits at the crossing — handy later, because you can color each piece on its own.

Done drawing? Press **Escape**, right-click, or click **Build** again.

## Adding doors and windows

Doors and windows go *into* a wall, so draw your walls first.

1. Click **Build**, then click **Door** or **Window**.
2. Click on a wall where you want the opening.
3. It's cut into the wall.

Switch to **Select** and click a door or window to tidy it up in the settings panel:

* **Doors** — Width, Height, where it sits along the wall, which side it's **hinged**, and which way it **swings** (inward or outward).
* **Windows** — Width, Height, where it sits along the wall, how high off the floor, and the sill depth.

## Drawing a fence

A fence draws just like a wall — click **Build**, click **Fence**, then click a start point and an end point. Fences are great for the parts of your property that aren't house: the garden boundary, the edge of the driveway, a yard.

## Tweaking walls afterwards

Switch to **Select** and click a wall to open its settings:

* **Length** — shown so you can check it.
* **Height** — how tall the wall is.
* **Thickness** — how thick it is.
* **Material** — a row of looks to choose from (white, brick, concrete, wood, glass, metal, plaster, tile, marble) plus a **custom** color. It's purely for appearance — it doesn't change anything about sensors — but a brick exterior and white interior walls make the model feel like home.

To remove a wall, select it and press **Delete**, or use the Delete button in its settings.

## Naming things as you go

As your home takes shape, open the **Scene** panel and give your walls and rooms real names — double-click to rename. "Living room wall" beats "Wall 12," and good names make connecting sensors much quicker later on.

## Tips

* Draw the outside walls first, then the inside ones. The grid snap keeps it all lined up.
* Lay it out in 2D, then switch to 3D to check the heights and the doorways look right.
* Undo (Ctrl+Z) walks back through everything you've drawn, so don't be afraid to experiment.
* It doesn't have to be a perfect architect's drawing — it just has to look enough like your home that you know which room is which at a glance.

## See also

* [Importing a floor plan](/dashboards/adding-widgets/digital-building-twin/importing-a-dxf-plan) — Start from a plan file
* [Tracing from the map](/dashboards/adding-widgets/digital-building-twin/tracing-from-the-map) — Trace your home from a satellite map
* [Floors and levels](/dashboards/adding-widgets/digital-building-twin/floors-and-levels) — Add upstairs, downstairs, the basement
* [Placing objects](/dashboards/adding-widgets/digital-building-twin/placing-objects) — Furnish the rooms


# Importing a Floor Plan

Turn a DXF floor plan into walls for your 3D home — set the source unit and preview before importing.

If you already have a floor plan of your home — from when you bought the place, from a renovation, from an estate-agent listing — you don't have to draw your home from scratch. The editor can read a **DXF** file, the standard format that design and drawing programs export, and turn it straight into walls.

Heads up: this import is still in **beta**, and the window says so — *DXF import is in beta and may not work perfectly. Check the result after import.* The preview is your safety net, and a plan exported straight from a design app usually reads better than one that was scanned or converted.

It's the quickest route to an accurate model: the layout comes in already shaped and to scale, and you get to spend your time on the fun part — furnishing rooms and connecting sensors.

## What do I need to import a floor plan?

* A `.dxf` file of your floor plan. Architects, builders, and home-design apps can all export DXF.
* A plain-text (ASCII) DXF. Binary DXF and DWG files can't be read, so if your plan is a DWG, save a copy as DXF in the program you opened it with.
* The file is read right in your browser and is not uploaded. Nothing leaves your computer until you save the widget.

## How do I bring in a floor plan file?

1. On the bottom toolbar, click **Build**. In the row of building tools, click **Import from file** (it sits beside **Trace from map**).
2. A full-screen window titled **Import from file**, with a **Beta** badge, opens on an **Import a floor plan** screen. Click **Choose file**, or drag a `.dxf` file anywhere onto the window.
3. The window reads the file ("Reading file…") and draws it. A sidebar on the right gives you the controls below, and the **Import** button at the top is enabled once there is something to import. **Cancel** closes the window without changing your model.
4. Follow the four numbered steps at the top of the sidebar, which tick off as you go: drag a rectangle around one floor plan, check the walls, doors and windows and add it as a level, repeat for the other floors, then import all levels at once.
5. Click **Import** (it reads **Import levels: 2** once two levels are lined up). The plan arrives as walls, doors, and windows on the levels you chose.

If the file has no usable lines, the window says **No supported geometry in this file** ("The file has no lines, polylines, arcs or circles to turn into walls."). If it can't be read at all, it asks you to make sure it is a text DXF. **Choose another file** takes you back to the picker.

## How do I import several floors from one drawing?

Many plans put the ground floor, the upper floor and sometimes the roof side by side on one sheet. Each of them can become its own level:

1. Drag a rectangle around one floor plan on the preview. The area you selected is outlined, and a card with a dashed border appears under **Levels to import**.
2. In the card, open the **Level** list and pick where the plan should go. Each choice is labeled **(new)** for a level that doesn't exist yet, **(empty)** for an existing level with nothing on it, or **(replace)** for a level that already has objects. Levels already taken by another floor in this import are greyed out.
3. The line under the list tells you what was recognized, for example "12 walls · 3 doors · 4 windows", or "Recognising walls…" while it works, or "Walls could not be recognised in this area." If stairs were found, the card adds "Stairs were recognised and left out."
4. Click **Add as** followed by the level's name to put the plan in the list, or **Clear selection** to start over. The same plan can't go to two levels: if you pick a taken level you'll see "Another floor already goes to this level."
5. Repeat with a new rectangle for each other floor. Every added floor appears in **Levels to import** with its own **Level** list and a **Remove level** button.

If you don't draw a rectangle at all, the sidebar says "Nothing selected yet. Without a selection the whole drawing is imported as one level." and offers a single **Level** list for it.

A very large selection is refused with "Too many walls to import (N). Select one floor plan or fewer layers." Draw a tighter rectangle or turn off some layers.

When an import would write over a level that already has objects, a **Replace** question appears first ("Replace Ground floor?") and tells you how many walls, doors and windows, and other objects will be deleted and that devices bound to them will be unbound. Choose **Replace** to continue or **Cancel** to keep your level.

## What are the sidebar settings?

* **Drawing** shows the file name, how many elements were skipped ("Text, dimensions, hatches and blocks are not imported"), and any warnings. **Drawing units** is the unit the plan was drawn in: **Millimeters (mm)**, **Centimeters (cm)**, **Meters (m)**, **Inches (in)**, **Feet (ft)**, or **Unitless**. A note under it says **Detected from the file** when the editor found the unit, "The file does not declare its units. Check the scale in the preview." when it didn't, or **Differs from the units declared in the file** when you changed it. This is the setting that decides whether your home comes in at the right size: if the preview looks far too big or far too small, the unit is almost always why. **Choose another file** swaps the drawing, and **Reset file** clears it.
* **Recognition** has two switches and a list. **Detect doors and windows** turns gaps and symbols in the walls into door and window objects. **Import single lines as walls** also turns lone lines into walls, which helps with plans drawn as simple outlines. **Curve smoothness** is **Low (8)**, **Medium (16)**, or **High (32)**: arcs and circles become straight wall pieces, and more segments look smoother but add walls. Medium is fine for most homes.
* **Layers** lists every layer in the file with a checkbox and the number of lines on it. Untick layers that hold furniture, hatching, or notes so only the structure is read.

The preview legend explains the colors: **Walls**, **Doors**, **Windows**, **Passages**, **Drawing lines**, **Current selection**, and **Level to import**. Everything updates as you change a setting, so you can get the size and detail right just by looking.

Warnings can include "the drawing has no dimensions or blocks (converted from PDF or exploded) — walls may be recognised inaccurately", which means the plan was flattened on its way to you. If you can get the original drawing, use that. A few skipped items is completely normal: a plan file carries lots of things that aren't walls.

## What should I do after importing a floor plan?

The imported walls work exactly like walls you draw yourself. Click any of them to set the height, thickness, and material, add doors and windows, and keep building. If something's not right, **Undo** (Ctrl+Z) takes the import back out so you can change the settings and try again.

A nice workflow: import the shell from the plan file, switch to the flat **2D view** to check the rooms, then draw any inside walls the plan didn't have, and you're ready to furnish.

## What are good habits for importing floor plans?

* If your home imports at the wrong size, fix **Drawing units** and import again.
* Importing a multi-floor home? Pick a level for each floor plan in the import window (see [Floors and levels](/dashboards/adding-widgets/digital-building-twin/floors-and-levels) for how levels work) and import them together.
* The tidier the plan file, the cleaner the import. If a plan is crowded with extra layers, exporting just the walls from the design app gives the best result.

## See also

* [Drawing your home](/dashboards/adding-widgets/digital-building-twin/drawing-your-building) — Draw or adjust walls by hand
* [Tracing from the map](/dashboards/adding-widgets/digital-building-twin/tracing-from-the-map) — Build from a satellite map instead
* [Floors and levels](/dashboards/adding-widgets/digital-building-twin/floors-and-levels) — Import each floor onto its own level


# Tracing from the Map

Click your home's outline on a satellite map to turn it into walls and save its real-world location.

No floor plan? No problem. You can build the shell of your home straight from a satellite map. Open the map, find your house, click around its outline, and the editor turns that shape into walls — and remembers where on Earth your home actually is.

This is the easiest way to start when you can see your home from above but don't have any drawings of it. It works just as well for the parts of your property beyond the house — the garden, the driveway, the garage, a shed. It's also how your home gets its **map location**: the trace saves your home's real coordinates, which is what the features in [GPS anchoring](/dashboards/adding-widgets/digital-building-twin/gps-anchoring) build on.

## Opening the map

1. On the bottom toolbar, click **Build**.
2. In the building-tools row, click **Trace from map**.
3. A full-screen map opens.

Move and zoom the map until your home is nicely in view — drag to move, scroll to zoom, or use the controls in the corner.

## Tracing your home

1. Click **Trace building** to start. The cursor turns into a crosshair and a hint appears: *Click on the map to add building corners*.
2. Click each **corner** of your home, one after another. Each click drops a point, and the points join up into the outline you're drawing.
3. Go all the way around the edge of the house. The toolbar keeps a running count of your points.
4. Put a point in the wrong spot? Click **Undo** to take the last one back. **Reset** clears everything and starts fresh. **Pause** lets you stop adding points for a moment without losing the ones you have.
5. When you've gone all the way around — three points or more — click **Import**.

The outline becomes walls, one for each side, placed on the floor you're currently on. The map closes and you're back in the editor with the shell of your home in place.

## What gets saved

Importing a traced home does two things:

* **Creates the walls** — one for each edge of the outline you drew, on the active floor.
* **Saves your home's location** — because you drew on a real map, the editor remembers your home's real-world coordinates. That location travels with the model, and it's what the map-based features build on later. See [GPS anchoring](/dashboards/adding-widgets/digital-building-twin/gps-anchoring).

## After tracing

The traced walls are just ordinary walls — click any of them to set height, thickness, and material, add doors and windows, draw the inside rooms, and furnish away. Tracing gives you a correctly-shaped, correctly-placed outline; everything inside it you build like normal.

## Tips

* Zoom in close on the map before you start — the bigger your house looks on screen, the more accurately you can click each corner.
* Go around the outline in order, all the way around once. Don't hop from one side of the house to the other.
* For an L-shaped house, click a point at every corner — including the inside corners where the L bends.
* Use **Pause** if you need to move the map partway through, then carry on clicking.

## See also

* [GPS anchoring](/dashboards/adding-widgets/digital-building-twin/gps-anchoring) — What your home's saved location is for
* [Drawing your home](/dashboards/adding-widgets/digital-building-twin/drawing-your-building) — Add the inside rooms after tracing
* [Importing a floor plan](/dashboards/adding-widgets/digital-building-twin/importing-a-dxf-plan) — Build from a plan file instead


# Floors and Levels

Add upstairs, downstairs, and basement levels to your 3D home and switch between stacked and solo floor views.

Most homes have more than one level — an upstairs and a downstairs, maybe a basement, maybe a loft. A Digital Building Twin handles all of them in a single widget. Each floor is its own layer of the same model, with its own rooms, its own furniture, and its own sensors.

This page covers adding floors, moving between them, and the two ways to look at a multi-floor home.

## What do the floor buttons show?

A small floating stack of buttons sits to one side of the editor. It's mission control for floors:

* Each floor is a button — **L0**, **L1**, **L2**, and so on. The top floor sits at the top of the stack, the bottom floor at the bottom, just like the real house.
* The floor you're currently working on is highlighted.
* Click any floor button to switch to that floor. Whatever you draw, place, or connect goes onto the floor you're on.

## How do I add a floor?

* Click the **+** at the **top** of the stack to add a floor **above** the highest one — an attic or loft.
* Click the **+** at the **bottom** of the stack to add a floor **below** the lowest one — a basement or cellar.

When you add a floor, the editor gives it a floor plate shaped like the floor next to it, so a new level starts with a footprint instead of nothing. From there you draw its walls, add its furniture, and connect its sensors on their own.

A tidy way to do a whole house: add all the floors first, then work through them one at a time.

## How do I remove a floor?

Select the floor on the stack, then click the **delete** icon on its button. A model always keeps at least one floor, so the delete button only shows up when there's more than one.

## How can I view a multi-floor home?

Below the floor buttons are two view switches.

### 3D / 2D

Switches between the **3D view** (spin the model around) and the **2D view** (a flat, top-down plan). It's the same switch covered in the [Editor tour](/dashboards/adding-widgets/digital-building-twin/editor-tour). Lay rooms out in 2D, check them in 3D.

### Stack / Solo

This switch decides how the floors are shown, and only appears once your home has more than one floor:

* **Stack** — every floor is shown in its real place, one on top of another. You see the whole house at once. Best for a final look and for setting up the dashboard view.
* **Solo** — only the floor you're on is shown; the others are hidden. Best while you're working — just the one floor, with nothing from above or below getting in the way.

Most people work in **Solo** so each floor is clear while they build it, then flip to **Stack** to see the whole house before saving.

## What does the dashboard show for a multi-floor home?

The dashboard tile shows your home from the angle, view, and floor you leave the editor in, nudged position included, exactly as you saved it. For a multi-floor house, framing it in **Stack** with a gentle 3D tilt gives a nice whole-house view on the dashboard. If one floor matters most — the floor with the nursery, the basement with the leak sensor — you can frame that one instead and save.

## What are good habits for working with floors?

* Give your floors real names in the **Scene** panel — "Upstairs," "Ground Floor," "Basement" — rather than leaving them as L0, L1, L2.
* Build one floor at a time. Switching to **Solo** keeps the floor you're on free of clutter.
* Sensors stay attached to their objects, so a sensor upstairs and a sensor downstairs both stay in the right place no matter which floor you're viewing.

## See also

* [Editor tour](/dashboards/adding-widgets/digital-building-twin/editor-tour) — The 3D/2D switch and getting around
* [Drawing your home](/dashboards/adding-widgets/digital-building-twin/drawing-your-building) — Build each floor
* [Connecting sensors and colors](/dashboards/adding-widgets/digital-building-twin/binding-sensors-and-colors) — Wire up sensors on every floor


# Placing Objects

Drop furniture and objects into your 3D home, turn them as you place, and adjust position, scale, and rotation.

Walls give you rooms; objects make those rooms feel like *your* home. The sofa in the living room, the bed in the bedroom, the car on the driveway. And objects are more than decoration — they're what most of your sensors connect to. A sensor reads "the door is open," and the garage door you placed swings into red.

The editor comes with a library of more than 60 ready-made 3D objects. This page is about placing them; the full list is in the [Object library](/dashboards/adding-widgets/digital-building-twin/object-catalog).

## How do I open the object library?

1. On the bottom toolbar, click **Furnish**.
2. A row of five tabs appears — **Furniture**, **Appliance**, **Kitchen**, **Bathroom**, **Outdoor** — above a scrollable strip of object pictures.
3. Click a tab to load that category, and scroll the strip to see what's there.

## How do I place an object?

1. With **Furnish** open, click an object's picture in the strip to pick it up.
2. Move your cursor into the model — an outline of the object follows it around.
3. Click where you want it. The object drops into place.
4. The tool stays ready, so you can keep clicking to place more of the same thing. Pick a different picture to switch objects.
5. Press **Escape** or right-click when you're finished placing.

Objects snap to a fine grid as you go, so a row of chairs or a line of parking spots ends up evenly spaced without any careful lining-up.

### Turning objects as you place them

For objects that sit on the floor, press **R** or **T** while you're placing to spin the outline by 45° before you click. That way the bed faces the right wall and the car points down the driveway from the moment you drop it.

### Things that go on the wall

Some objects belong on a wall, not the floor — a wall-mounted TV, a wall AC unit, a shelf, a wall sink. When you place one of these, it sticks to whatever wall your cursor is over and turns to face into the room. Slide your cursor up or down the wall to set how high it sits.

## How do I adjust an object after placing it?

Switch to **Select** and click an object to open its settings:

* **Name** — rename it so it's easy to spot in the Scene panel and when you connect sensors.
* **Position** — where it sits, adjustable precisely if you need it just so.
* **Rotation** — set the angle directly, or use the **+45°** / **-45°** buttons.
* **Scale** — make an object a bit bigger or smaller than its standard size.
* **Dimensions** — the object's size, shown for reference.

The selected object also gets a little badge above it with quick **Move**, **Duplicate**, and **Delete** buttons. **Duplicate** is the fast way to fill a room — place one dining chair exactly right, then duplicate it around the table. Copies keep the original's name, so you won't end up with a pile of "copy" labels to rename; give a name only to the pieces you'll connect a sensor to. In the flat **2D view** the same badge works, and **Move** lets you click the new spot on the plan. Furniture goes to the new floor position; a door or window attaches to whichever wall you click.

<figure><img src="https://1153890212-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxgYoHO4zlaBzHJcfIrto%2Fuploads%2Fgit-blob-5a83c6ceae6c1d6ab739e939339ffa552dcbdae1%2Fchirp-dbt-2d-move-duplicate.jpg?alt=media" alt="The editor in 2D view with a sofa selected: the badge above it offers Move, Duplicate and Delete, and the properties panel shows Name, Position, Rotation, Scale, Dimensions and the Duplicate and Delete buttons"><figcaption><p>A selected object in the 2D view.</p></figcaption></figure>

## How do I add parking spots?

The **Parking Spot** object (in the **Outdoor** tab) has one bonus setting: a **Spot #** field. If you've got assigned parking, give the spot its number and it shows right on the spot in the model. When you duplicate a numbered spot, the number ticks up automatically — handy if you're laying out a whole row. A parking spot is the perfect partner for an occupancy sensor — see [Connecting sensors and colors](/dashboards/adding-widgets/digital-building-twin/binding-sensors-and-colors).

## What are good habits for placing objects?

* Place the objects that will have sensors first — the doors, the garage, the parking spot, the appliances you watch — then add other furniture if you'd like the model to feel more complete.
* Use **Duplicate** with the grid snap to fill a room quickly.
* Rename objects as you place them. "Garage door" is much easier to connect a sensor to than "Gate 2."
* You don't have to furnish every corner. Place what matters; the point is that you can look at the model and instantly know which room is which.

## See also

* [Object library](/dashboards/adding-widgets/digital-building-twin/object-catalog) — Everything you can place, by category
* [Connecting sensors and colors](/dashboards/adding-widgets/digital-building-twin/binding-sensors-and-colors) — Link objects to live readings
* [Drawing your home](/dashboards/adding-widgets/digital-building-twin/drawing-your-building) — Build the rooms objects go in


# Object Library

Browse the 60-plus 3D objects for your home model — furniture, kitchen, bathroom, appliances, and outdoor items.

The editor comes with a library of more than 60 ready-made 3D objects, sorted into five tabs. This page is the rundown of what's in each one. For how to actually drop objects into your model, see [Placing objects](/dashboards/adding-widgets/digital-building-twin/placing-objects).

Every object is a real, properly-sized 3D model — a bed is bed-sized, a parking spot is the size of a real parking space. That's what makes the finished model feel like your home rather than a rough sketch.

## Which furniture objects can I place?

Everyday things for living spaces and bedrooms:

Armchair, Bookshelf, Bunk Bed, Closet, Coffee Table, Column, Dining Chair, Dining Table, Double Bed, Dresser, Large Plant, Office Chair, Office Table, Office Trash Bin, Office Wastebasket, Pool Table, Round Carpet, Shelf, Single Bed, Small Plant, Sofa, Stool, Trash Bin.

This is the tab you'll reach for most when furnishing the living room, the bedrooms, and a home office.

## Which kitchen objects can I place?

The basics for your kitchen:

Stove, Fridge, Counter, Microwave.

The **Fridge** is a natural one to connect a temperature sensor to — your model can show at a glance whether the fridge is keeping its cool.

## Which bathroom objects can I place?

Fixtures for bathrooms and washrooms:

Toilet, Bathtub, Sink, Faucet, Vessel Sink, Vessel Sink with Faucet.

A bathroom is one good place for a leak sensor — place the sink or bath, then connect a leak sensor nearby so the room turns blue if water appears. The same idea works under the kitchen sink, behind the washing machine, by the water heater — anywhere a leak would matter to you.

## Which appliance objects can I place?

Devices and home equipment — often the things you most want to keep an eye on:

AC Unit, Ceiling Lamp, Computer, Floor Lamp, Gas Water Heater, Smoke Detector, Table Lamp, TV, Washer, Water Boiler, Water Pump, Water Pump (Heavy Duty), Water Pump Station, Water Softener Cylinder, Water Softener Tank.

Plenty here to connect sensors to: a **Smoke Detector** for fire safety, an **AC Unit** for comfort, a **Washer** for a laundry-done alert, a **Water Boiler** or **Water Pump** for the utility room. Connect a sensor and the appliance itself shows its status in the model.

## Which outdoor objects can I place?

Everything beyond the front door — gardens, driveways, and the edges of your property:

AC Condenser, Bush, Car, Fir Tree, Gate, Large Waste Dumpster, Outdoor AC Unit, Parking Spot, Patio Umbrella, Public Trash Bin, Public Trash Bin (Round), Rooftop AC Unit, Traffic Barrier, Waste Dumpster, Wheeled Trash Container, Wheelie Bin.

**Parking Spot** and **Car** are great for the driveway — connect an occupancy sensor and your model shows whether the car is home. **Gate** works for a driveway gate you'd like to monitor, and the trees and bushes help the garden look like your garden.

## Which objects go on the wall and which on the floor?

Most objects stand on the floor. A few are made for walls — wall TVs, wall AC units, shelves, wall sinks — and they stick to a wall automatically when you place them, facing into the room. You don't pick a type; you just place the object and it knows where it belongs. See [Placing objects](/dashboards/adding-widgets/digital-building-twin/placing-objects) for the details.

## How do I choose what to place?

How much you furnish your home model is entirely up to you — some people place every piece of furniture, others add only what carries a sensor. Either way works; what matters is that the model is *clear* enough that one glance tells you which room you're looking at. A simple way to start:

1. Place the objects that will have sensors first — the doors, the garage, the parking spot, the appliances and rooms you actually monitor.
2. Add a few familiar pieces — the sofa, the beds, the dining table — so each room is easy to recognize.
3. From there, add as much or as little as you enjoy. A sparse model and a fully decorated one both do the job. Let what feels readable to you decide — and treat the library as a kit for building whatever your home actually is, not a checklist.

## See also

* [Placing objects](/dashboards/adding-widgets/digital-building-twin/placing-objects) — How to place, turn, and arrange objects
* [Connecting sensors and colors](/dashboards/adding-widgets/digital-building-twin/binding-sensors-and-colors) — Turn objects into live indicators


# Connecting Sensors and Colors

Link a sensor reading to objects in your 3D home and set color rules so the door, room, or basement reacts live.

This is the step that makes the whole thing worthwhile. Up to now your model is a nice 3D drawing of your home. Connecting sensors brings it to life: a sensor says "open" and the garage door turns red; a sensor reads 26 °C and the nursery shifts from green to amber.

A **connection** links one sensor reading to one or more objects in your model, along with the color rules that decide what color those objects show. This page walks through making that link.

## How do I open the Sensors panel?

On the bottom toolbar, click **Sensors**. The Sensors panel opens. This is where every connection is set up.

## How do I add a data source?

A data source is one of your devices.

1. Click **Add datasource**. A new card appears.
2. Click **Choose device** and pick the device you want to use.
3. The card now shows the device's name. For more devices, add another data source for each one.

## How do I add a metric?

Each device has its own individual readings, called **metrics**.

1. On the data-source card, click **Add metric**.
2. In the **Device metric** dropdown, pick the reading you want — temperature, the door's open/closed state, moisture, and so on.
3. Add more metrics if the device has more readings you want to use.

Each metric is one connection. A sensor that reports both temperature and humidity gives you two metrics, and you can connect each one to different things.

## How do I connect a metric to objects?

1. On the metric, click **Configure**. The metric switches into connect mode and its editor opens up.
2. A hint appears in the editor: **Click objects on the scene to bind them**.
3. Click any object in your 3D model — the garage door, a room's wall, a bed, the fridge. Each one you click is linked to this metric and shows up in the editor's **Bound** list.
4. Link as many objects as the reading should control. To unlink one, remove it from the Bound list.
5. When you're done, click **Done**.

One metric can drive several objects at once. Connect a single room-temperature sensor to every wall of that room and the whole room changes color together. The metric's **Bound** count tells you how many objects it's currently linked to.

## How do I choose the colors?

The metric's editor is where you set the colors. Two things decide what an object shows:

* **Default color** — the color used when none of your rules match. Set it with the color picker in the editor.
* **Conditions** — the rules that turn readings into colors. Click **Add condition** to make one. Each condition has:
  * a **color**,
  * a **Name** (a label like "Open," "Too warm," "Leak"),
  * a **Data type** — **Number**, **String**, or **Boolean**,
  * and a test that depends on the type:
    * **Number** — a **From** / **To** range. The rule matches when the reading is inside it.
    * **String** — a single **Value**. The rule matches when the reading is exactly that word.
    * **Boolean** — a **True** / **False** setting. The rule matches a true/false reading.

The rules are checked in order, and **the first one that matches wins**. If none match, the object shows the default color. This is the same color-rule system you already use on your other widgets — see [Conditions](/dashboards/adding-widgets/conditions) for the full details.

## How do I test a color rule?

The metric's editor has a **Value** slider. If the sensor isn't sending live data yet, drag the slider and watch your objects change color in real time — it's the quickest way to check your rules before the model goes on a dashboard. Once the device is reporting, the editor shows the real **Current value** (neatly rounded to two decimals) and the model follows your live readings.

## What are some examples of sensor bindings?

**Is the garage door open?** Connect a door sensor's open/closed metric to the garage door object. Add two rules: when the value means "open," show red; when it means "closed," show green. One look at the model and you know.

**Is the nursery too warm?** Connect a temperature sensor to the nursery's walls. Add Number rules: 18–22 °C green ("Just right"), 22–25 °C amber ("Warm"), and set the default to red for anything hotter. The room's color tells you the comfort level at a glance.

**Is the basement dry?** Connect a leak sensor to the basement floor. A Boolean rule — wet `true` → blue — turns the basement blue the instant water is detected.

**Is anyone in the home office?** Connect a motion or occupancy sensor to the home-office room. Occupied shows one color, empty another — so you can see if the room is in use before you walk in for a call.

These are just a starting point. Any sensor in your Chirp setup can be wired to any object in the model — however you'd describe what a reading means for a spot in your home, you can make the model show it. Let your own home give you the ideas.

## What are good habits for connecting sensors?

* Give your objects clear names in the **Scene** panel before you connect — clicking the right door is much easier when it's labeled "Garage door."
* Connect one metric to several objects when they share a reading; use separate metrics when each thing has its own sensor.
* Use the test slider to check every rule before you save.
* Keep your rules simple — two or three colors (good / warning / problem) usually say more than a long list.

## See also

* [Conditions](/dashboards/adding-widgets/conditions) — The full color-rule reference
* [Pins and live readings](/dashboards/adding-widgets/digital-building-twin/drop-pins-and-live-values) — Show the actual number in the model
* [Placing objects](/dashboards/adding-widgets/digital-building-twin/placing-objects) — Add the objects sensors connect to


# Pins and Live Readings

Pin a sensor's exact value into your 3D home, colored by its status, and show or hide every pin at once.

Color tells you *that* something is up — the nursery's gone amber, the basement's gone blue. Sometimes you also want the actual **number**: not just "the nursery is warm" but "the nursery is 26.3 °C." A pin puts that exact reading right into the model, at the spot it belongs to.

A pin is a marker placed at a particular point in your model. It shows the reading's name and current value with its units, and the pin itself takes the same color as the reading — so it's a label and a status light at the same time.

## How do I pin a reading?

Pins are added from the Sensors panel, on a metric you've already set up (see [Connecting sensors and colors](/dashboards/adding-widgets/digital-building-twin/binding-sensors-and-colors)).

1. Open **Sensors** on the bottom toolbar and look for the metric you want to pin.
2. On that metric, click **Pin to scene**.
3. The editor switches into pick mode with the prompt **Click on the scene to pin this metric**.
4. Click the spot in your model where the pin should sit — over the nursery, by the back door, on the driveway.
5. The pin appears there, showing the reading's name and current value.

Once a metric is pinned, you get two more buttons: **Re-pin** to move the marker somewhere else, and **Unpin** to take it off.

## What does a pin show?

Each pin is a little teardrop marker with a label hovering above it. The label has the reading's name and its current value with units — `Nursery / Temperature 26.3 °C`. Numbers are tidied for the screen: a thermometer that reports `22.381920174` shows as `22.38 °C`, so pins never look like a spreadsheet accident, and words or states are shown untouched. The marker and label are colored by your rules, the same way your objects are: a reading in the "warm" band makes the pin amber, one in the "just right" band makes it green.

So a pin does two things at once — it shows you the exact number, and its color tells you the status without you even having to read it.

## How do pins work across floors?

A pin belongs to the floor it was placed on. In a multi-floor home, a pin you put upstairs shows when you're viewing upstairs and stays out of the way when you're looking at the ground floor — so a tall house doesn't end up with every floor's pins piled on top of each other. See [Floors and levels](/dashboards/adding-widgets/digital-building-twin/floors-and-levels).

## How do I show or hide pins?

The Sensors panel has a **Show sensor pins** switch. It appears once you've pinned at least one reading, and turns every pin in the model on or off together.

Turn pins **off** for a clean, color-only look — nice for a dashboard you glance at from across the room. Turn them **on** when you want the exact numbers. However the switch is set when you save the widget is how the dashboard tile shows it.

## When should I use a pin?

For a lot of things, color alone is enough — the garage door doesn't need a number, "open" or "closed" is the whole story. Reach for a pin when the number itself matters:

* The nursery or bedroom, where the exact temperature is what you care about.
* A water tank, where the fill percentage tells you when to top it up.
* Anywhere "how much" matters as much as "is there a problem."

Pin the few readings you genuinely want as numbers, and let color handle the rest. A model covered in pins is as hard to read as a spreadsheet; a few well-placed ones draw your eye exactly where it should go.

## See also

* [Connecting sensors and colors](/dashboards/adding-widgets/digital-building-twin/binding-sensors-and-colors) — Set up the metric a pin is based on
* [Floors and levels](/dashboards/adding-widgets/digital-building-twin/floors-and-levels) — How pins behave across floors
* [GPS anchoring](/dashboards/adding-widgets/digital-building-twin/gps-anchoring) — Place your home on the real-world map


# GPS Anchoring

Tie your 3D home model to real latitude and longitude, automatically from a map trace or by hand.

Your Digital Building Twin is a model of a real place — and a real place sits somewhere on the map. GPS anchoring records that: it ties your home, and points inside it, to actual latitude and longitude. It gives your model a real-world location to sit at.

This page covers the two ways your home gets anchored, and how to manage anchors from the Sensors panel.

## What are the two ways to anchor my home?

### Anchored automatically when you trace from the map

If you built the shell of your model by [tracing it from the satellite map](/dashboards/adding-widgets/digital-building-twin/tracing-from-the-map), you drew it on real-world coordinates — so it's already anchored. Importing the trace saves your home's location automatically, with no extra step. If you traced your home from the map, you're done.

### Anchored by hand

You can also place anchors yourself, on any model — including one you drew from scratch or imported from a plan file. Use the **GPS Anchors** section, which sits at the bottom of the Sensors panel.

1. Open **Sensors** from the bottom toolbar and scroll to **GPS Anchors**.
2. Click **Add by click**. The editor switches into pick mode with the prompt **Click on the scene to pick a point**.
3. Click a point in your model — a corner of the house, a spot you know the coordinates of.
4. A small form appears showing the point you picked. Type in its real **Latitude** and **Longitude**.
5. Click **Save**. The anchor joins the list, labeled **A**, **B**, **C**, and so on.

Add as many as you like. A couple of known points — opposite corners of the house, say — are enough to fix your model onto the real map.

## What is the center point?

As you add anchors, the editor works out a **Center** — the average of all your anchor points. It's shown at the top of the anchor list with its latitude and longitude, and it represents where, on a real map, your home sits.

## How do I manage anchors?

The GPS Anchors section lists every anchor with its coordinates, and each one can be removed on its own. There's also a switch to show or hide the anchor markers in the model — handy to keep them visible while you set things up and hidden afterwards for a clean view.

## What is GPS anchoring for?

GPS anchoring gives your Digital Building Twin something a plain 3D model doesn't have: a real place in the world. Your home and its anchored points aren't floating in empty space anymore — they have real coordinates.

It puts your home on the map, which is the groundwork for map-aware features down the line. For now, think of it as giving your model its address: it knows where it really is.

## What are good habits for GPS anchoring?

* Trace your home from the map and anchoring is already done — open the GPS Anchors section and you'll see the anchors the trace created.
* When anchoring by hand, pick points you actually know the coordinates of — a phone's map app can give you the latitude and longitude of a spot if you tap and hold it.
* Spread your anchors out — points at opposite corners of the house fix it more firmly than two points close together.
* Hide the anchor markers once you're set up, so the dashboard view stays focused on your sensors.

## See also

* [Tracing from the map](/dashboards/adding-widgets/digital-building-twin/tracing-from-the-map) — Anchoring happens automatically when you trace
* [Pins and live readings](/dashboards/adding-widgets/digital-building-twin/drop-pins-and-live-values) — Mark live readings inside the model
* [Editor tour](/dashboards/adding-widgets/digital-building-twin/editor-tour) — Finding the Sensors panel


# Conditions

Set per-metric color rules so a reading turns green, yellow, or red — green for comfortable, red for check it now.

Conditions are per-metric color rules that turn a raw sensor reading into visible meaning. Instead of looking at a number and deciding whether it's good or bad, the widget does that for you — a green pin means comfortable, a red pin means check it now, a yellow marker means getting close to the limit. You define what those colors mean for each sensor in each place it's used.

A temperature sensor in the living room should be green at 18–24°C. The same type of sensor watching a fridge should be green at 2–5°C. Different place, different meaning, completely different conditions — even though the data looks the same.

## Which widgets use conditions?

Conditions are available for **Last Data** and **Image** widgets. Each metric in these widgets has its own set of conditions, configured independently.

The **Chart** widget uses a different approach — per-metric color picker and threshold bands on the graph. See [Chart Widget](/dashboards/adding-widgets/chart-widget) if you're working with a Chart.

**Note on metric types:** Both the Image and Last Data metric selectors surface numeric sensors only (INTEGER and FLOAT types). Number conditions are the practical path for both widgets. The conditions modal also exposes String and Boolean data type options — these are described below — but they require a widget that can select a sensor of those types, which is not currently the case for Last Data or the Image widget.

## How do I open the Conditions modal?

1. Open the widget's settings and go to the **Datasource** tab.
2. Find the metric row for the sensor you want to configure.
3. Tap the **Conditions button** — it's labeled **"Conditions: N"** where N is the number of conditions currently set.
4. The Conditions modal opens.

## What does the Conditions modal contain?

The modal is titled **"Conditions"**, and underneath it a subtitle says: "The conditions set first will be considered as a priority"

**Header (applies to the whole metric):**

* **Device metric** — Read-only. Shows which sensor this modal is for.
* **Unit** — A free-text box for the unit shown next to the value on the tile (like `42 cm`). Type **whatever unit you want** — `mm`, `cm`, `m`, inches, `L`, `°C`, anything. It's not limited to a list and it's not a percentage unless you make it one. It starts from the sensor's own unit, and you can change it to suit. The **From / To** numbers in your rules are in this unit (so `From 0 To 30` means 0–30 of whatever you set here).
* **Icon** — Pick or change the icon for this metric.
* **Default color** — The color used when no condition matches. This is the only place to set the metric's base color.

**Conditions list:** Each condition has:

* **Condition name** *(required)* — A label like "Comfortable", "Warning", or "Critical". Must not be empty.
* **Data type** — Number, String, or Boolean (see below)
* **Value fields** — Depend on the data type
* **Color** — The color to show when this condition matches
* **Delete** — Remove this condition

**Add condition** — Tap to add a new condition. New conditions default to: name "Condition N", type Number, From 0, To 100, primary color.

There's no limit on the number of conditions you can add.

**Save** (disabled while any validation error exists) / **Cancel**

## Which condition wins when several match?

Chirp checks the conditions from the top of the list downward and stops at the **first one that fits the current reading**; that condition picks the color, so order matters.

If your sensor reads 7°C and you have:

1. "Normal" — Number, From 2, To 8 — green
2. "Warning" — Number, From 8, To 12 — yellow

The reading 7°C matches condition 1, so green is shown. Condition 2 is not evaluated.

To change priority, reorder the conditions in the list.

## Which value fields appear for each data type?

### Number

**From** and **To** fields — both are optional. Either can be left empty to create an open-ended range:

* **Empty From** — matches any value below To (no lower limit)
* **Empty To** — matches any value above From (no upper limit)
* **Both filled** — From must be ≤ To

Examples:

* From: 18, To: 24 → matches readings between 18 and 24
* From: 30 (no To) → matches any reading 30 and above
* (no From), To: 5 → matches any reading 5 and below

### Number conditions — on/off and open/closed states

Many sensors report binary state as a number: 1 when something is active or open, 0 when it is off or closed. Number conditions map these values to meaningful labels and colors:

* Condition "On" — Number, From 1, To 1 — yellow (or your chosen color)
* Condition "Off" — Number, From 0, To 0 — gray

Examples using this pattern:

* Light sensor: 1 = "On" (yellow), 0 = "Off" (gray)
* Contact sensor (door): 1 = "Open" (red), 0 = "Closed" (green)
* Leak sensor: 1 = "Leak detected" (red), 0 = "Clear" (green)

The same Number condition type handles all of these. The difference is only in the labels and colors you assign.

### String

A single **Value** text field. Matches the reading exactly, case-sensitive. The conditions modal offers it only for widgets that can show a String sensor, which the Last Data and Image widget selectors cannot.

### Boolean

A **True / False** dropdown. Matches the reading exactly. The conditions modal offers it only for widgets that can show a Boolean sensor, which the Last Data and Image widget selectors cannot.

## Which color is used when no condition matches?

1. **Matched condition color** — The color of the first matching condition
2. **Default color** — The color set in the modal header (applies when no condition matches)
3. **Platform default** — Applied when no default color is set in the modal

## What are some examples of conditions?

### Keeping something topped up

Say you've got a sensor on something you want to keep full — a rainwater tank, the salt in a water softener, a heating-oil tank — reading how full it is in whatever unit suits you. Set that in the **Unit** box (it takes anything — `cm`, `m`, inches, liters…); here we'll use **centimeters** of depth. Three rules then turn that into a clear "do I need to refill?" status, and since the **first matching rule wins**, list the most urgent one first:

* **Refill** — Number, From 0, To 30 — red
* **Getting Low** — Number, From 30, To 50 — amber
* **Normal Level** — Number, From 50, To 100 — green

<figure><img src="https://1153890212-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxgYoHO4zlaBzHJcfIrto%2Fuploads%2Fgit-blob-17a87bc099e830525c8ca3b081cda6066e8bc951%2Fconditions.jpg?alt=media" alt="Conditions window with three fill-level rules — Refill 0–30 red, Getting Low 30–50 amber, Normal Level 50–100 green"><figcaption></figcaption></figure>

The tile stays green while it's well stocked, turns amber as it runs down, and goes red as soon as it drops into the refill zone — so you top it up before it runs out. Want a nudge on your phone too? Add an [alert](/alarm) on the same level.

### Number conditions — temperature in two contexts

**Living room sensor:**

* "Comfortable" — From 18, To 24 — green
* "A bit cool" — From 15, To 18 — yellow
* "Cold alert" — (no From), To 15 — red

**Fridge sensor (same sensor type, completely different meaning):**

* "Normal" — From 2, To 5 — green
* "Check fridge" — From 5 (no upper limit) — red

The readings look the same — both are temperatures in °C. The conditions are completely different because "2°C in a fridge" is fine, while "2°C in the living room" is an emergency.

### Number conditions — open-ended bounds for a tank level

A water tank sensor reports its fill level (here in percent, but you choose the unit):

* "Critical" — (no From), To 20 — red
* "Low" — From 20, To 50 — yellow
* "Good" — From 50 (no upper limit) — green

The first condition catches everything below 20%. The last catches everything above 50%. There's no need to specify exact upper/lower limits for every range.

### Number conditions — any numeric reading

The system doesn't care what the number represents. The same pattern works for:

* Battery level (%, 0–100)
* Soil moisture (%, 0–100)
* CO₂ level (ppm)
* Tank volume (liters or gallons)
* Any sensor that reports numbers

The meaning and the thresholds are yours to define.

### String conditions — device status sensor

A sensor that reports text values like "OK", "WARNING", or "FAULT":

* "OK" — String, Value: OK — green
* "Warning" — String, Value: WARNING — yellow
* "Fault" — String, Value: FAULT — red

No math involved. The widget reads the string, matches it exactly, and shows the right color.

### Boolean conditions — binary state sensors

**Motion sensor:**

* "Motion detected" — Boolean, True — orange
* "Clear" — Boolean, False — green

**Leak detector:**

* "Leak detected" — Boolean, True — red
* "Clear" — Boolean, False — green

**Pump running:**

* "Running" — Boolean, True — blue
* "Idle" — Boolean, False — gray

Any binary sensor works the same way: pick a color for each state and a label that makes sense in context.

## See also

* [Last Data Widget](/dashboards/adding-widgets/last-data-widget) — Use conditions to color sensor readings and gauges
* [Image Widget](/dashboards/adding-widgets/image-widget) — Use conditions to color the pins on your image


# Organizing Your Views

Group dashboards into folders and drag-and-drop them so the views you use most sit right at the top.

When you have just one or two dashboards, finding them in the sidebar is easy. But as your smart home grows — a dashboard for each room, one for security, one for the garden — the list gets longer. Folders help you group related dashboards together, and drag-and-drop reordering lets you put the ones you use most right at the top.

## Opening the dashboard settings

Tap the **gear icon** (tooltip: **"Dashboard settings"**) next to the Dashboards section in the sidebar. A dialog opens with the title **"Dashboard settings"** and the description **"Create folders and rearrange dashboards and folders with a drag-and-drop gesture"**.

If you haven't created any dashboards yet, you'll see **"No dashboards yet"** in the center of the dialog.

## Creating a folder

At the top of the dialog, you'll find a text input for creating folders:

1. Type a folder name. The placeholder reads **"My folder"** — but something like "Upstairs", "Garden", or "Security" is more helpful.
2. Tap **Create folder**.

If you try to create a folder without entering a name, you'll see **"Folder name is required"**.

Once created, the folder appears in your sidebar as a collapsible group. Tap it to see the dashboards inside.

### How deep can folders go?

Folders are **one level only**. You can put dashboards inside a folder, but you can't put a folder inside another folder. This keeps things simple:

```
Dashboards
├── Upstairs             (folder)
│   ├── Bedroom
│   └── Nursery
├── Downstairs           (folder)
│   ├── Kitchen
│   └── Living Room
├── Garden               (folder)
│   └── Soil & Weather
└── Security             (top-level dashboard)
```

## Rearranging with drag-and-drop

The dialog shows all your dashboards and folders in a list. You can drag items to:

* **Change the order** — Move a dashboard or folder up or down in the list.
* **Move a dashboard into a folder** — Drag it onto the folder name.
* **Move a dashboard out of a folder** — Drag it back to the top level.

Your sidebar updates immediately to reflect the new arrangement.

## Deleting a folder

Tap the **trash icon** next to a folder name. A confirmation asks:

**"Are you sure you want to delete {folder name} folder?"**

with the warning:

**"All dashboards inside this folder will also be deleted. Once deleted, this action cannot be undone."**

Tap **Yes, delete** to confirm. The folder and every dashboard inside it are permanently removed.

## Deleting a dashboard from settings

You can also delete individual dashboards from this dialog. The confirmation reads:

**"Are you sure you want to delete {dashboard name} dashboard?"**

**"Once deleted, this action cannot be undone."**

Tap **Yes, delete** to confirm.

## Closing the settings

Tap **Ok** to close the dialog. All changes are already saved.

## Ideas for organizing a home

* **By floor** — "Upstairs", "Downstairs", "Basement". Simple and intuitive.
* **By purpose** — "Comfort" (temperature, humidity), "Security" (doors, windows, motion), "Garden" (moisture, weather).
* **By person** — If family members have their own rooms with sensors, a folder per person keeps things personal.

Start simple. You can always reorganize later by dragging dashboards between folders.

## What's next

* [Building a Dashboard](/dashboards/building-a-dashboard) — Create dashboards to fill your folders.
* [Adding Widgets](/dashboards/adding-widgets) — Add sensor data to each dashboard.


# Maps and Device Placement

See where each sensor sits in your home on an interactive map and assign a room to put it on the map.

When you have sensors spread around your home — in the kitchen, the garden, the garage — it helps to see where each one actually is. Chirp shows your sensor locations on an interactive map, so you always know which device is where without checking labels or room assignments.

## Where to find the map

The map appears on each sensor's detail page:

1. Tap **Devices** in the sidebar.
2. Tap a sensor to open its detail page.
3. The **Overview** tab is selected by default. The map appears in a card below the sensor's status information.

If the sensor has a location assigned, you'll see a marker on the map showing its position. A **location bar** above the map shows the sensor's room and sub-location (for example, "Living Room, Window side").

## When no location is set

If you haven't assigned a location to the sensor yet, the map area shows a placeholder:

* The text reads **"Your device location is empty"** and **"data will be available here soon"**.
* An **"Add device location"** button appears below. Tapping it takes you to the sensor's **Settings** tab, where you can pick a room from the rooms you've set up.

The button only appears if you have permission to edit the sensor.

## What the map can do

The map view gives you:

* **Pan and zoom** — Explore the area around your sensor's location.
* **Fullscreen** — Expand the map for a better look on any screen.
* **Responsive sizing** — On your phone, the map adjusts to fit comfortably.
* **Light and dark mode** — The map matches your Chirp theme.

## Setting a sensor's location

To put a sensor on the map:

1. Tap **"Add device location"** on the map placeholder, or go directly to the sensor's **Settings** tab.
2. Choose a room from the rooms you've created (rooms are set up in [Rooms](/devices/rooms)).
3. Save. The map on the Overview tab now shows your sensor's position.

## GPS trackers

If you have a GPS tracker device (for a vehicle, pet, or bike), the same map area can show where the tracker has been — not just where it is now. This location history feature is covered in [Tracking What Matters](/dashboards/tracking-what-matters), since it involves additional controls like date selection and route details that are specific to tracker devices.

## What's next

* [Rooms](/devices/rooms) — Set up the room structure that feeds into device locations.
* [Tracking What Matters](/dashboards/tracking-what-matters) — Location history for GPS tracker devices.
* [Sensor Details](/devices/sensor-details) — View and edit everything about a sensor.


# Tracking What Matters

Follow your car's recorded locations on a Chirp dashboard and keep its history together when you replace the GPS tracker.

Chirp's **Map** widget lets you follow your car's reported positions on a dashboard. It shows the last known location and lets you choose a date range to see a route drawn from recorded coordinates. The same digital device can keep that location history when you replace the tracker installed in the car.

For example, name the digital device **Family Car**, connect its GPS tracker, and map the reported latitude and longitude. If the tracker later malfunctions, keep Family Car and those measurements when connecting the replacement. You can then review recorded locations from both trackers on the same map, within your retention period.

## Where to find tracking

1. Connect your car through the [Tracker Connector](/connectors/tracker-connector) and map its location readings. A LoRaWAN GPS device uses the [LNS Connector](/connectors/lns-connector) instead.
2. Add a [Map widget](/dashboards/adding-widgets/map-widget) to a dashboard and select the digital device, such as Family Car.
3. Use latitude and longitude measurements with recognizable names: `lat` or `latitude`, and `lon`, `longitude`, or `lng`. The widget uses these measurements to find the coordinates.
4. Save the dashboard and leave edit mode. The map displays the last known position as the tracker reports.

<figure><img src="https://1153890212-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxgYoHO4zlaBzHJcfIrto%2Fuploads%2Fgit-blob-7bb0a2fc550cfc2494a564e073ba529d1b75170e%2Fmap-widget.jpg?alt=media" alt="Chirp Map widget settings with a device position shown in the map preview"><figcaption><p>Connect the Map widget to the car's digital device. Retain its coordinate measurements when replacing the tracker.</p></figcaption></figure>

You can also select one additional measurement, such as speed or battery level, for the current-position marker. Only readings the tracker actually supplies can be displayed.

## Picking a date range

Select **History** on the Map widget and choose the dates you want to review. The map draws a line connecting the recorded positions for that period. Once history is open, use the date range button to choose another period or **Clear data range** to return to the current-position view.

The **Snap to roads** switch adjusts the displayed route to roads where matching is available. Turn it off to view the line between reported coordinates. A drawn line between positions is not a recording of every point travelled between them.

Choose a shorter date range for a busy tracker if the route appears incomplete. The widget loads a limited batch of coordinate readings for each selected range. It needs both latitude and longitude at a matching timestamp to form a position.

## Replacing a tracker while keeping location history

Open the existing **Family Car** digital device and replace its physical connection. Keep its latitude and longitude measurement rows, then map the replacement tracker's fields onto those same rows. The Map widget continues using those measurements, so its history can include positions recorded before and after the change.

Follow [Replace your car's tracker](/devices/sensor-details#how-do-i-replace-my-cars-tracker) for the connection and mapping steps. Creating another digital device with the same name does not join the histories.

## Checking an unexpected route or missing position

* **The position is old:** open the device's **Mapping** tab and check the values and **Last update** for both coordinates. A last known position does not mean the tracker is reporting now.
* **New positions stopped after replacement:** reconnect `position.latitude` and `position.longitude` to the existing coordinate measurements and check [Connection Diagnostics](/devices/connection-diagnostics).
* **The history is empty:** choose a period with recorded data inside your [retention window](/account/subscription#keeping-your-data-history). Open **Logs** to inspect the stored coordinate values and timestamps.
* **There is a gap:** the tracker may have been disconnected, out of coverage, or not reporting during that period. Replacing it cannot recreate positions it never sent.

## What's next

* [Map Widget](/dashboards/adding-widgets/map-widget) — configure the map and its additional reading.
* [Sensor Details](/devices/sensor-details) — manage the digital device and replace its hardware.
* [Maps and Device Placement](/dashboards/maps-and-device-placement) — organize stationary devices by where they are installed.


# Live Home Data

How live sensor updates reach your screen, what the Live Data indicators mean, and what to check if data is missing.

One of the best things about a smart home is knowing what's happening right now — not five minutes ago, not after refreshing a page, but right now. Chirp delivers sensor readings to your screen in real time: the moment a sensor reports a temperature, humidity level, or door status, you see the updated value on your overview or dashboard.

This page explains how live data works in Chirp, what the Live Data indicators mean, and what to check if data isn't showing up.

## The Live Data button on the overview

When you open the [home overview](/overview), the header shows **"My board"** alongside a **"Live Data"** label with a small clickable icon. If you hover over it, a tooltip says **"New data is automatically displayed"**.

**You can tap this button.** Tapping it tells Chirp to pull the latest information for the overview — updated sensor counts, gateway status, and notification cards. This is handy when you've just added a new sensor and want to see it appear right away instead of waiting for the next automatic refresh.

## The Live Data indicator on dashboards

When you open any [dashboard](/dashboards/building-a-dashboard), the header shows the dashboard name and a **"Live Data"** label with a small icon on the right.

**This one is not a button** — it's a status indicator. You can't tap it, and it doesn't do anything when you hover. It simply tells you that the dashboard is connected and receiving fresh data automatically. As your sensors report new readings, the widgets on the dashboard update on their own.

When you enter edit mode to modify widgets, the Live Data indicator disappears (replaced by the edit controls). It comes back when you exit edit mode.

## How it works

Behind the scenes, Chirp maintains a live connection between your browser (or phone) and the platform. When a sensor sends a new reading:

1. The reading arrives at Chirp through the sensor's connection.
2. Chirp processes and stores it.
3. At the same time, the new value is pushed directly to your screen.
4. Any widget or card displaying that sensor's data updates immediately — no page refresh needed.

The speed of updates depends on how often your sensor reports. A temperature sensor that sends a reading every 5 minutes will update your dashboard every 5 minutes. A motion sensor that reports events instantly will show up as soon as motion is detected.

## "Waiting for live data"

Sometimes a widget or dashboard shows the message **"Waiting for live data"**. This is normal and happens when:

* **A sensor was just added** — It hasn't sent its first reading yet. Give it a moment (or trigger a reading if the sensor supports manual transmission).
* **The reporting interval hasn't passed** — If a sensor reports every 15 minutes, you might need to wait until the next cycle.
* **The sensor is offline** — Check whether the sensor is powered on and within range of your gateway.

## What to check if data isn't appearing

If your overview or dashboard isn't showing fresh data:

1. **Is the sensor online?** Open the sensor's detail page and check the last-seen time. If it's been a while, the sensor may have lost power or connectivity.
2. **Is the gateway running?** *(LoRaWAN sensors)* Your gateway needs to be powered on and connected to your home internet. Check [Checking Gateway Health](/gateways/lorawan-gateways/checking-lorawan-gateway-health).
3. **Is the sensor within range?** If the sensor is too far from the gateway, readings may not arrive. Try moving the sensor closer or repositioning the gateway.
4. **Try the Live Data button** on the overview page. Tapping it forces a fresh data pull.
5. **Refresh the page.** In rare cases, the live connection between your browser and Chirp may need to reconnect. A simple page refresh usually fixes this.

## The difference between overview and dashboard live data

|                       | Overview                                               | Dashboard                                       |
| --------------------- | ------------------------------------------------------ | ----------------------------------------------- |
| **Live Data control** | Clickable button — tap to refresh                      | Non-clickable indicator — status only           |
| **Tooltip**           | "New data is automatically displayed"                  | No tooltip                                      |
| **What updates**      | Summary cards (sensor count, gateway status, warnings) | Individual widget values                        |
| **Manual refresh**    | Yes (tap the button)                                   | No (automatic only; refresh the page if needed) |

Both surfaces receive real-time data automatically. The difference is that the overview gives you an extra manual refresh option through its clickable button.

## What's next

* [Home Overview](/overview) — The page where the clickable Live Data button lives.
* [Adding Widgets](/dashboards/adding-widgets) — Add widgets that display live sensor readings.
* [Checking Gateway Health](/gateways/lorawan-gateways/checking-lorawan-gateway-health) — Make sure your gateway is delivering data.


# Sharing Your Dashboard

Share a Chirp dashboard with a password-protected link — choose View or Control, then copy, regenerate, or revoke it.

You've built a dashboard that shows exactly what you care about — the hallway temperature, the front door sensor, the lamp in the living room. Now you want it somewhere other than your own laptop. On the tablet by the door. On your partner's phone. In the hands of the house-sitter for the two weeks you're away.

A **share link** does that. It turns one dashboard into a web address you can hand to someone, protected by a password you choose. They don't need a Chirp account, they don't need an invitation, and they never see the rest of your home — just the one dashboard you shared. When you no longer want them to have it, you take it back in two taps.

## Why would I share a dashboard?

Without a share link, every person who wants to see your data needs an account in your household. That's the right answer for your family. It's a lot of ceremony for a tablet on the wall, and it's more than you want to hand a house-sitter who's only around for a fortnight.

A share link fits the in-between cases:

* **The wall tablet.** The link opens the dashboard full screen, with no menus around it. Mount a cheap tablet in the hallway, open the link once, and it just sits there showing the house.
* **The house-sitter.** Send a **View** link before you leave. They can see that the boiler is fine and the cat's water bowl sensor is reporting. They can't change a thing.
* **Your partner.** A **Control** link means they can actually flip the switches — turn the porch light on, start the heating — straight from the shared page.
* **Grandparents checking in.** A View link on the holiday home dashboard, so they can see the place hasn't frozen over the winter.

And the moment the house-sitter hands the keys back, you revoke the link. It stops working immediately.

This page is about sharing a dashboard you've already built. If you haven't made one yet, start with [Building a Dashboard](/dashboards/building-a-dashboard) and [Adding Widgets](/dashboards/adding-widgets).

## How do I open the sharing dialog?

1. Open the dashboard you want to share from the **Dashboards** section of the sidebar.
2. Tap the **actions menu** (three dots) in the top right of the dashboard header.
3. Select **Share dashboard**.

The **Dashboard access** dialog opens. Under the title you'll see the helper text **"Protect the link with a password and choose what visitors can do"** — which is a fair summary of the two decisions ahead of you.

If no link has been created for this dashboard yet, the dialog tells you so: **"No link yet. Set a password and generate one."**

## Who can reach a shared dashboard?

The first choice is how open the dashboard is:

* **Only organization users can access** — the default, and the private option. Its description reads **"Organization users can view and edit the dashboard according to the organization's permissions"**. Nothing leaves your household: only people who are already members of your Chirp organization can open it, with whatever access they already have.
* **Anyone with the link, no account needed** — the sharing option. This is what produces a link you can send to someone outside your household. Anyone who has the link *and* the password can open the dashboard in a browser.

Pick **Anyone with the link, no account needed** to carry on with the steps below.

## What can visitors do on a shared dashboard?

Once the link is open to anyone, choose the permission the link carries:

* **View** — described as **"Can view the dashboard, but cannot edit widgets"**. The visitor sees live readings and nothing else. They cannot rearrange the dashboard, change a widget, or touch your devices.
* **Control** — the visitor can operate devices from the dashboard's [Control widgets](/dashboards/adding-widgets/control-widget). If there's a switch on the dashboard for the porch light, they can flip it.

**Be deliberate about Control.** Anyone holding the link and the password can switch your devices on and off — a lamp, a heater, a pump, a gate. There is no second identity check behind the password. Give **Control** to your partner or to a tablet you trust in a room only your family walks through. For everyone else — the house-sitter, a guest, the neighbor watering the plants — choose **View**.

You can always create a fresh link with a different permission later.

## How do I set a password and generate the link?

1. In the **Password** field (placeholder **"Enter a password"**), type the password visitors will need.
2. Passwords have a minimum length. If yours is too short, the field shows **"Password must be at least N characters"** — lengthen it and try again.
3. Tap **Generate link**.

You'll see the toast **"Share link created"**, and the link appears in the dialog, ready to hand over.

The address looks something like `/dashboards/{id}/fullscreen?t=...`. That `fullscreen` part is the nice bit: whoever opens it gets the dashboard filling the whole screen, with no sidebar and no navigation around it — exactly what you want on a tablet mounted to a wall.

### Sending it on

Tap **Copy link**. You'll see **"Link copied to clipboard"**, and you can paste it into a message, an email, or the tablet's browser.

Send the password separately, and don't paste both into the same message. A link with its password sitting next to it in a group chat is a link anyone in that chat can use.

## How do I change the password of a shared dashboard?

If you'd rather rotate the password without disturbing the link itself:

1. Open the dashboard's actions menu and select **Share dashboard** again.
2. Type the new one into the **Password** box.
3. Tap **Change password**.

The toast **"Password changed"** confirms it. The link stays exactly the same — anyone who has it will simply need the new password from now on. This is the gentle option when you want to cut off one person but keep the wall tablet working (you'll just need to type the new password into the tablet once).

## How do I regenerate the share link?

Sometimes you want a brand-new address, not just a new password — the old link went somewhere you didn't intend, or you've simply lost track of who has it.

1. Open the **Dashboard access** dialog.
2. Tap **Regenerate link**.
3. A confirmation appears: **"Regenerate share link?"** with the warning **"The previous link will stop working immediately."**
4. Confirm.

The toast **"Share link regenerated"** appears and a fresh link takes the old one's place. Everyone you want to keep sharing with — including your wall tablet — needs the new link. Anyone still holding the old one gets a dead page.

## How do I revoke the share link?

When the house-sitter leaves, or the reason for sharing has simply passed, take the link back.

1. Open the **Dashboard access** dialog.
2. Tap **Revoke**.
3. The confirmation reads **"Revoke share link?"** followed by **"The link will stop working immediately and cannot be restored."**
4. Tap **Yes, revoke**.

You'll see **"Share link revoked"**. That link is finished — it can't be brought back, and knowing the password won't help anyone. Your dashboard is untouched and still yours; only the doorway you'd opened is closed. If you want to share again later, generate a new link.

## What does a visitor see?

It's worth knowing what's on the other end, so you can help someone who calls you saying "it's not working."

When they open the link, they get a **"Password required"** screen with the message **"This dashboard is protected. Enter the password to continue."** They type the password, and the dashboard opens full screen with live readings.

The messages they might run into instead:

| What they see                                                                    | What it means                                         | What to tell them                                                                                                |
| -------------------------------------------------------------------------------- | ----------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- |
| **"Wrong password"**                                                             | The password doesn't match.                           | Re-send the password — watch for a trailing space when it's copied and pasted.                                   |
| **"Too many attempts. Please try again later."**                                 | Too many failed password tries in a row.              | Wait a bit, then try once with the correct password.                                                             |
| **"This share link is no longer valid"**                                         | The link was revoked or regenerated.                  | Send them the current link, or generate a new one.                                                               |
| **"This dashboard session has expired. Please reopen the link you were given."** | Their session has simply timed out.                   | Reopen the original link and enter the password again.                                                           |
| **"Access denied"** or **"You do not have permission to access this dashboard"** | The link doesn't grant them access to this dashboard. | Check the dialog is set to **Anyone with the link, no account needed**, and that they're using the current link. |

That expiry message is the one to remember for a wall tablet: a shared session doesn't run forever, so a tablet left alone for a long stretch may eventually ask for the password again.

## How do I share a dashboard to a TV?

The same actions menu also offers **Share to TV**, and it solves a different problem. Its helper text explains it: **"Open this dashboard on a TV or tablet with a non-expiring key."** The text goes on to say that you create an API key under **Settings → API Keys**, with device control scope if the TV should operate devices, and paste it into the dialog.

The difference is what's behind the link. A share link is protected by a password, hands out **View** or **Control**, and you can revoke it the day someone stops needing it. **Share to TV** is built from an [API key](/settings/api-keys) instead — no password screen, and no expiry — which suits a screen that stays put and never gets handed to anyone. Reach for a share link when you're sharing with a *person*; reach for Share to TV when you're setting up a *screen* that lives in your home permanently.

## What are good habits for sharing dashboards?

* **Default to View.** Give **Control** only when you actually want that person switching your devices. It's a one-word difference in the dialog and a large difference in your hallway.
* **Share one dashboard, not your home.** A link only ever exposes the dashboard it was made from. If you want a house-sitter to see the boiler and nothing else, build a small dashboard with just those widgets and share that one.
* **Use a password you don't use anywhere else.** It's going into a text message. Treat it as disposable — that's exactly what **Change password** and **Regenerate link** are for.
* **Send the link and the password by different routes.** Link by message, password by phone call, for instance.
* **Revoke on the way back from the airport.** The moment the sharing reason ends, so should the link. It takes two taps and it can't be undone — which is the point.
* **Give the wall tablet its own link.** Then, when you regenerate the link you sent a guest, the tablet in the hallway keeps working.

## What's next

* [Building a Dashboard](/dashboards/building-a-dashboard) — Create the dashboard you're going to share.
* [Adding Widgets](/dashboards/adding-widgets) — Choose what appears on it.
* [Control widget](/dashboards/adding-widgets/control-widget) — The switches and sliders a **Control** link can operate.
* [API Keys](/settings/api-keys) — The keys behind **Share to TV**.


# Connectors

See how connections link your home sensors to Chirp over LoRaWAN, MQTT or a vehicle tracker — or use pretend sensors before any hardware arrives.

Chirp connections let sensors with different communication methods become part of the same home. A garden sensor and an indoor smart plug can appear on your dashboards and participate in the same automation setup, even when their messages take different routes to Chirp.

A **connection** is the software link that brings those messages into your home's workspace. A gateway or hub is the physical equipment some sensors need: LoRaWAN uses a radio gateway; Zigbee reaches an MQTT connection through a bridge such as Zigbee2MQTT. Choose the connection first, then add the sensors that use it.

Choose the route that matches your equipment. You can also use the Emulator to try Chirp with simulated readings before buying hardware; see [Setting Up a Connection](/connectors/setting-up-a-connection).

## What connection types does Chirp support?

| Type         | What it's for                                                                                                                                                                                                    | Status    |
| ------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------- |
| **LNS**      | LoRaWAN sensors — temperature, humidity, door/window, motion, soil moisture, and thousands more                                                                                                                  | Available |
| **Tracker**  | Vehicle trackers — OBD2, CAN bus, and standalone GPS vehicle tracking devices (2,000+ preconfigured models)                                                                                                      | Available |
| **MQTT**     | Direct MQTT sensor connections — including Zigbee devices via Zigbee2MQTT, DIY sensors, and other MQTT-capable hardware. Chirp hosts the broker for you with **Cloud MQTT**, and you can add as many as you need | Available |
| **Emulator** | Pretend sensors that make up their own readings, so you can set up and try your whole home before the real ones arrive — then switch the device over to the real sensor when it does                             | Available |

Your home can have **one LNS connection**, **one Tracker connection** and **one Emulator connection**. You can add as many Cloud MQTT connections as you like, and each one gets its own hosted broker credentials.

## Where do I find my connections?

Click **Connectors** in the sidebar to see your connections. If you haven't set any up yet, you'll see an empty page inviting you to create your first one.

Once you have connections, the page shows a table with:

| Column                 | What it shows                                        |
| ---------------------- | ---------------------------------------------------- |
| **Name**               | The connection name (assigned automatically)         |
| **Last data received** | When a sensor last sent data through this connection |
| **Connected devices**  | How many sensors are using this connection           |
| **Creation date**      | When you created the connection                      |

## What's next

Ready to set up your first connection? Head to [Setting Up a Connection](/connectors/setting-up-a-connection) for a step-by-step walkthrough.

Nothing arrived yet? The [Emulator Connector](/connectors/emulator-connector) gives you pretend sensors that invent their own readings, so you can build and test your whole home before the real ones turn up.

Want to learn more about LoRaWAN — the wireless technology behind your sensors? See the [LNS Connector](/connectors/lns-connector) section for an introduction to the protocol, frequency bands by country, and how Chirp's built-in network server works.

Tracking a vehicle? See the [Tracker Connector](/connectors/tracker-connector) for connecting a cellular GPS tracker — OBD2, CAN bus, or standalone GPS.

Want to connect Zigbee sensors, an ESP32 sensor, or any MQTT-capable device? See [MQTT Connector](/connectors/mqtt-connector) for a complete setup guide.


# Setting Up a Connection

Create an LNS connection for LoRaWAN sensors, a Tracker connection for your vehicle, or an Emulator connection to start with no hardware.

A connection tells Chirp how to receive a particular kind of device message in your home's workspace. Creating one prepares the software path; you add the individual sensors afterward so Chirp can associate their messages with readings.

This guide covers the built-in LoRaWAN network server (**LNS**), vehicle trackers, and the Emulator for simulated sensors. Choose LNS if your sensors use LoRaWAN and you have a compatible gateway. For MQTT devices or Zigbee sensors connected through Zigbee2MQTT, use the separate [MQTT setup guides](/connectors/mqtt-connector).

## How do I add an LNS connection?

This is the most common connection for a smart home — it links Chirp's built-in LoRaWAN network to your sensor management.

1. Click **Connectors** in the sidebar.
2. Click **Add connector**.
3. In the dialog, select **LNS** from the **Connector type** dropdown.
4. Click **Add**.

That's it. The connection is created instantly. Chirp's built-in LoRaWAN network handles all the technical setup behind the scenes. To learn more about LoRaWAN, frequency bands, and the built-in network server, see the [LNS Connector](/connectors/lns-connector) reference section.

### Inside the LNS connection

Click the LNS connection row in the table to open it. You'll see two tabs:

* **LoRaWAN Gateways** — Your gateway list. See [Setting Up Your Gateway](/gateways/lorawan-gateways/setting-up-a-lorawan-gateway).
* **Connected Devices** — Your sensor list. See [Adding Sensors](/devices/adding-sensors) and [Sensor Details](/devices/sensor-details).

## How do I add a Tracker connection?

If you want to track a vehicle, add a Tracker connection alongside your LNS connection. Chirp supports over 2,000 vehicle tracker models including OBD2 and CAN bus devices.

1. Click **Connectors** in the sidebar.
2. Click **Add connector**.
3. Select **Tracker** from the **Connector type** dropdown.
4. Click **Add**.

The Tracker connection is created instantly. Click its row to see the shared sensor list. For registration and management, see [Adding Sensors](/devices/adding-sensors) and [Sensor Details](/devices/sensor-details). For what this connector is (and isn't) for — cellular/GSM vehicle trackers, not LoRaWAN ones — see the [Tracker Connector](/connectors/tracker-connector) page.

## How do I add an Emulator connection?

No sensors yet? Add an **Emulator** connection and Chirp will make up the readings for you, so you can build your dashboards and alerts before anything arrives in the post.

1. Click **Connectors** in the sidebar.
2. Click **Add connector**.
3. Select **Emulator** from the **Connector type** dropdown.
4. Click **Add**.

There is nothing to fill in — no account to link, no keys to copy. See [Emulator Connector](/connectors/emulator-connector) for what it's for, and [Pretend Sensors](/devices/pretend-sensors) for making one.

## How many connections of each type can I have?

Each home can have **one LNS connection**, **one Tracker connection** and **one Emulator connection**. MQTT is the exception: you can add as many Cloud MQTT connections as you like.

Once you already have every kind you can add, the **Add connector** button stops offering new ones. If you need to start fresh, remove a connection by clicking the red trash icon on its row in the connection table (a confirmation dialog appears before anything is deleted).

## Next step

With a connection in place, you're ready to start adding sensors. Head to [Adding Sensors](/devices/adding-sensors) to register your first one.


# LNS Connector

The LNS connector links your LoRaWAN sensors to Chirp's built-in network server — nothing to install.

The LNS connector lets you use LoRaWAN sensors in Chirp without running a separate network server at home. Chirp's built-in **LoRaWAN Network Server** handles the messages arriving from your radio gateway and makes the readings available to dashboards, alerts, and automations.

LoRaWAN is the wireless protocol used by your sensors and gateway. Add the connector, connect a gateway that supports **Basics Station**, and register the sensors. You supply the radio equipment; Chirp supplies the network-server software.

## What does the LNS connector section cover?

* [What is LoRaWAN?](/connectors/lns-connector/what-is-lorawan) — A quick guide to the wireless technology your sensors use
* [LoRaWAN Frequencies](/connectors/lns-connector/lorawan-frequencies) — Which frequency band applies in your country
* [Built-in Network Server](/connectors/lns-connector/built-in-lns) — How Chirp handles all the network complexity for you

## How do I set up the LNS connector?

For step-by-step instructions on adding the LNS connector to your home, see [Setting Up a Connection](/connectors/setting-up-a-connection).

## What is inside the LNS connector?

Once your LNS connector is set up, click it in the connectors list to see two tabs:

* **LoRaWAN Gateways** — Your gateway list. See [Gateways](/gateways) for setup.
* **Connected Devices** — Your sensors. See [Adding Sensors](/devices/adding-sensors) for the full walkthrough.

To add a sensor to this connector, continue with [LoRaWAN Devices](/devices/lorawan-devices). That page covers the identifier printed on the device, the connection fields, how readings become measurements, and how to see the history Chirp keeps.


# What is LoRaWAN?

Learn why LoRaWAN reaches every corner of your home and runs sensors for years on a single battery.

LoRaWAN (Long Range Wide Area Network) is the wireless technology that connects your sensors to Chirp. It's designed specifically for the kind of devices you find in a smart home — small sensors that send readings like temperature, humidity, or door status — and it does so over long distances while using almost no battery power.

Think of LoRaWAN as a wireless network built for sensors, not for streaming video or browsing the web. It sends tiny amounts of data very efficiently, which is exactly what a temperature sensor or a leak detector needs.

## Why LoRaWAN Works Well for Smart Homes

### Reaches Every Corner of Your Property

LoRaWAN uses sub-gigahertz radio frequencies that penetrate walls, floors, and concrete far better than Wi-Fi or Bluetooth. A sensor in the basement behind thick concrete walls, in the attic above insulation, or buried in a utility closet can still reach your gateway reliably. This is what makes LoRaWAN uniquely practical for homes — it reaches the places where Wi-Fi drops out.

A single gateway covers your entire property and often well beyond. In open areas the signal can travel several kilometers, so a shed at the back of the garden, a detached garage, or a greenhouse across the yard are all within easy reach. You don't need electricity or Wi-Fi in those spaces — just place a battery-powered LoRaWAN sensor and it connects on its own. Most home sensors are peel-and-stick — no wiring, no installation tools.

For the best coverage, place your gateway near a window or on the roof if possible. A window-mounted or roof-mounted gateway has a clear line to the surrounding property, giving you the largest radius of reliable reception around your home.

### Years of Battery Life

LoRaWAN sensors are designed to run for years on a single battery. A temperature sensor in your garden or a leak detector under the sink can operate for two to five years without attention. You don't need to wire them into mains power or change batteries every few months. That independence from mains power is what makes LoRaWAN so flexible: you can place a sensor wherever a reading would be useful — the garden, a shed, the basement, an outbuilding, the mailbox, a utility room — without planning around a power outlet or a wiring run.

### Secure Communication

All data between your sensors and Chirp is encrypted end-to-end. Your sensor readings, door status alerts, and environmental data travel securely — nobody can intercept or tamper with the data in transit.

### Works with Many Sensors at Once

A single gateway can handle hundreds of sensors simultaneously. Whether you have five sensors or fifty, one gateway is typically enough for a home setup.

## What Kinds of Sensors Use LoRaWAN?

LoRaWAN is ideal for sensors that send small readings at regular intervals:

* **Temperature and humidity** sensors for rooms, greenhouses, wine cellars
* **Door and window** open/close sensors for security
* **Water leak** detectors for bathrooms, basements, kitchens
* **Soil moisture** sensors for gardens and plant beds
* **Air quality** monitors for living spaces
* **Motion detectors** for entry points or driveways
* **Energy and utility** meters for tracking consumption

## How It Connects to Chirp

Your LoRaWAN sensors communicate with a **gateway** (a small device plugged into your home network). The gateway relays sensor data to Chirp's built-in network server, which processes it and makes it available in your dashboards, automations, and alerts. You don't need to set up or maintain any network infrastructure beyond the gateway itself.

For which frequency band your country uses, see [LoRaWAN Frequencies](/connectors/lns-connector/lorawan-frequencies). For how Chirp handles the network automatically, see [Built-in Network Server](/connectors/lns-connector/built-in-lns).


# LoRaWAN Frequencies

Find the right LoRaWAN frequency band for your country before registering a sensor in Chirp.

> **Reference only.** This page is a general guide. Treat the frequency data below as a starting point: it can be out of date or contain mistakes. Before you put devices into service, confirm the rules that apply where you live. You use this information at your own risk.

LoRaWAN sensors use unlicensed radio frequencies that vary by country. When you set up a sensor in Chirp, you select the correct frequency band for your region. This page helps you find out which band to use.

## What is the short version of LoRaWAN frequencies?

**If you bought your sensor locally, you almost certainly have the right frequency already.** LoRaWAN sensors sold in your country are configured for the regional band by default. A sensor purchased from a store in Australia will use AU915, a sensor from Germany will use EU868, and so on. You typically only need to worry about frequency selection if you purchased a sensor from another country or are setting up a device from an international supplier.

## What are the common LoRaWAN frequency bands?

| Region                   | Band          | Frequency Range |
| ------------------------ | ------------- | --------------- |
| Europe                   | EU868         | 863–870 MHz     |
| Europe (alternate)       | EU433         | 433–434 MHz     |
| United States & Canada   | US915         | 902–928 MHz     |
| Australia                | AU915         | 915–928 MHz     |
| Asia (varies by country) | AS923         | 920–928 MHz     |
| South Korea              | KR920         | 920–923 MHz     |
| India                    | IN865         | 865–867 MHz     |
| Russia                   | RU864 / EU868 | 864–870 MHz     |
| China                    | CN470         | 470–510 MHz     |
| Global (2.4 GHz)         | ISM2400       | 2.4 GHz         |

When registering a sensor in Chirp, you'll see these options in the **Band** dropdown on the Connection tab.

## Is LoRaWAN spectrum free to use?

LoRaWAN uses license-free radio bands — you don't need any permits or licenses to use your sensors. The frequencies are regulated by your country's communications authority, but they are free for anyone to use as long as the devices comply with local rules (which off-the-shelf sensors already do).

## Does my frequency plan need checking?

This frequency information is provided for reference. While we aim for accuracy, Chirp does not guarantee the precision of this data. If you are unsure about which band to use in your area, check your sensor's documentation or contact the manufacturer.

## Which LoRaWAN frequency is used in my country?

### A

| Country                  | Frequency Plan          |
| ------------------------ | ----------------------- |
| Afghanistan (AF)         |                         |
| Aland Islands (AX)       | EU433 EU863-870         |
| Albania (AL)             | EU433 EU863-870 AS923-3 |
| Algeria (DZ)             | EU433 AS923-3           |
| American Samoa (AS)      | US902-928               |
| Andorra (AD)             | EU433 EU863-870         |
| Angola (AO)              |                         |
| Antigua and Barbuda (AG) |                         |
| Argentina (AR)           | AU915-928               |
| Armenia (AM)             | EU433 EU863-870         |
| Aruba (AW)               |                         |
| Australia (AU)           | AS923-1 AU915-928       |
| Austria (AT)             | EU433 EU863-870         |
| Azerbaijan (AZ)          | EU433                   |

### B

| Country                                | Frequency Plan          |
| -------------------------------------- | ----------------------- |
| Bahamas (BS)                           | US902-928               |
| Bahrain (BH)                           | EU433 EU863-870         |
| Bangladesh (BD)                        | EU433 AS923-1           |
| Barbados (BB)                          | AU915-928 AU902-928     |
| Belarus (BY)                           | EU433 EU863-870         |
| Belgium (BE)                           | EU433 EU863-870         |
| Belize (BZ)                            | AU915-928 AU902-928     |
| Benin (BJ)                             | US902-928               |
| Bhutan (BT)                            | EU433 EU863-870         |
| Bolivia (BO)                           | AU915-928 AU902-928     |
| Bonaire, Saint Eustatius and Saba (BQ) | EU433 EU863-870         |
| Bosnia and Herzegovina (BA)            | EU433 EU863-870         |
| Botswana (BW)                          | EU433 EU863-870         |
| Bouvet Island (BV)                     | EU433 EU863-870 AS923-3 |
| Brazil (BR)                            | EU433 AU915-928         |
| British Indian Ocean Territory (IO)    |                         |
| Brunei Darussalam (BN)                 | EU433 EU863-870 AS923-1 |
| Bulgaria (BG)                          | EU433 EU863-870         |
| Burundi (BI)                           | EU433 EU863-870         |
| Burkina Faso (BF)                      |                         |

### C

| Country                            | Frequency Plan                    |
| ---------------------------------- | --------------------------------- |
| Cabo Verde (CV)                    | EU433 EU863-870                   |
| Cambodia (KH)                      | AS923-1 EU863-870                 |
| Cameroon (CM)                      | EU433                             |
| Canada (CA)                        | US902-928 US915-928               |
| Central African Republic (CF)      |                                   |
| Chad (TD)                          |                                   |
| Chile (CL)                         | EU433 AU915-928                   |
| China (CN)                         | AS923-1 CN779-787 CN470-510       |
| Christmas Island (CX)              | AS923-1 AU915-928                 |
| Cocos Islands (CC)                 | AS923-1 AU915-928                 |
| Colombia (CO)                      | EU433 AU915-928                   |
| Comoros (KM)                       | EU433 EU863-870 AS923-3           |
| Congo, Democratic Republic of (CD) |                                   |
| Congo (CG)                         |                                   |
| Cook Islands (CK)                  | EU433 IN865-867 AS923-1 AU915-928 |
| Costa Rica (CR)                    | EU433 AS923-1                     |
| Cote d'Ivoire (CI)                 | EU863-870                         |
| Croatia (HR)                       | EU433 EU863-870                   |
| Cuba (CU)                          | EU433 AS923-3                     |
| Curacao (CW)                       | EU433 AS923-1                     |
| Cyprus (CY)                        | EU433 EU863-870                   |
| Czechia (CZ)                       | EU433 EU863-870                   |

### D

| Country       | Frequency Plan          |
| ------------- | ----------------------- |
| Denmark (DK)  | EU433 EU863-870 AS923-3 |
| Djibouti (DJ) |                         |
| Dominica (DM) | AU915-928 US902-928     |

### E

| Country                | Frequency Plan            |
| ---------------------- | ------------------------- |
| Ecuador (EC)           | AU915-928                 |
| Egypt (EG)             | EU433 EU863-870 IN865-867 |
| El Salvador (SV)       | AU915-928                 |
| Equatorial Guinea (GQ) | EU433 EU863-870           |
| Eritrea (ER)           |                           |
| Estonia (EE)           | EU433 EU863-870 AS923-3   |
| Eswatini (SZ)          |                           |
| Ethiopia (ET)          |                           |

### F

| Country                          | Frequency Plan  |
| -------------------------------- | --------------- |
| Falkland Islands (FK)            | EU433 EU863-870 |
| Faroe Islands (FO)               | EU433 EU863-870 |
| Fiji (FJ)                        |                 |
| Finland (FI)                     | EU433 EU863-870 |
| France (FR)                      | EU433 EU863-870 |
| French Guiana (GF)               | EU433 EU863-870 |
| French Polynesia (PF)            | EU433 EU863-870 |
| French Southern Territories (TF) | EU433 EU863-870 |

### G

| Country            | Frequency Plan          |
| ------------------ | ----------------------- |
| Gabon (GA)         |                         |
| Gambia (GM)        | EU433                   |
| Georgia (GE)       | EU433 EU863-870         |
| Germany (DE)       | EU433 EU863-870         |
| Ghana (GH)         | EU433                   |
| Gibraltar (GI)     | EU433 EU863-870         |
| Greece (GR)        | EU433 EU863-870         |
| Greenland (GL)     | EU433 EU863-870 AS923-3 |
| Grenada (GD)       | AU915-928               |
| Guadeloupe (GP)    | EU433 EU863-870         |
| Guam (GU)          | US902-928               |
| Guatemala (GT)     | AU915-928               |
| Guernsey (GG)      | EU433 EU863-870 AS923-3 |
| Guinea (GN)        | EU433                   |
| Guinea-Bissau (GW) |                         |
| Guyana (GY)        |                         |

### H

| Country                                | Frequency Plan          |
| -------------------------------------- | ----------------------- |
| Haiti (HT)                             |                         |
| Heard Island and McDonald Islands (HM) | AU915-928 AS923-1       |
| Holy See (VA)                          | EU433 EU863-870         |
| Honduras (HN)                          | AU915-928               |
| Hong Kong (HK)                         | EU433 IN865-867 AS923-1 |
| Hungary (HU)                           | EU433 EU863-870 AS923-3 |

### I

| Country          | Frequency Plan          |
| ---------------- | ----------------------- |
| Iceland (IS)     | EU433 EU863-870         |
| India (IN)       | IN865-867               |
| Indonesia (ID)   | AS923-2                 |
| Iran (IR)        | EU433 EU863-870 AS923-3 |
| Iraq (IQ)        |                         |
| Ireland (IE)     | EU433 EU863-870 AS923-3 |
| Isle of Man (IM) | EU433 EU863-870 AS923-3 |
| Israel (IL)      | AS923-4                 |
| Italy (IT)       | EU433 EU863-870         |

### J

| Country      | Frequency Plan          |
| ------------ | ----------------------- |
| Jamaica (JM) | AU915-928               |
| Japan (JP)   | AS923-1                 |
| Jersey (JE)  | EU433 EU863-870         |
| Jordan (JO)  | AS923-3 EU433 EU863-870 |

### K

| Country                                     | Frequency Plan          |
| ------------------------------------------- | ----------------------- |
| Kazakhstan (KZ)                             | EU433                   |
| Kenya (KE)                                  | EU433 EU863-870         |
| Kiribati (KI)                               |                         |
| Korea, Democratic People's Republic of (KP) |                         |
| Korea, Republic of (KR)                     | KR920-923               |
| Kuwait (KW)                                 | EU433 EU863-870 AS923-3 |
| Kyrgyzstan (KG)                             |                         |

### L

| Country                               | Frequency Plan          |
| ------------------------------------- | ----------------------- |
| Lao People's Democratic Republic (LA) | EU433 EU863-870 AS923-1 |
| Latvia (LV)                           | EU433 EU863-870         |
| Lebanon (LB)                          | EU433 EU863-870         |
| Lesotho (LS)                          | EU433                   |
| Liberia (LR)                          |                         |
| Libya (LY)                            |                         |
| Liechtenstein (LI)                    | EU433 EU863-870 AS923-3 |
| Lithuania (LT)                        | EU433 EU863-870         |
| Luxembourg (LU)                       | EU433 EU863-870 AS923-3 |

### M

| Country               | Frequency Plan          |
| --------------------- | ----------------------- |
| Macao (MO)            | EU433 AS923-1           |
| Macedonia (MK)        | EU433 EU863-870         |
| Madagascar (MG)       | EU433 EU863-870         |
| Malawi (MW)           |                         |
| Malaysia (MY)         | EU433 AS923-1           |
| Maldives (MV)         |                         |
| Mali (ML)             | EU433                   |
| Malta (MT)            | EU433 EU863-870         |
| Marshall Islands (MH) |                         |
| Martinique (MQ)       | EU433 EU863-870         |
| Mauritania (MR)       | EU433 EU863-870         |
| Mauritius (MU)        | EU433                   |
| Mayotte (YT)          | EU433 EU863-870         |
| Mexico (MX)           | US902-928               |
| Micronesia (FM)       |                         |
| Moldova (MD)          | EU433 EU863-870 AS923-3 |
| Monaco (MC)           | EU433 EU863-870         |
| Mongolia (MN)         |                         |
| Montenegro (ME)       | EU433 EU863-870         |
| Montserrat (MS)       | AU915-928               |
| Morocco (MA)          | EU433                   |
| Mozambique (MZ)       |                         |
| Myanmar (MM)          | EU433 AS923-1           |

### N

| Country                       | Frequency Plan                    |
| ----------------------------- | --------------------------------- |
| Namibia (NA)                  | EU433 EU863-870                   |
| Nauru (NR)                    |                                   |
| Nepal (NP)                    |                                   |
| Netherlands (NL)              | EU433 EU863-870                   |
| New Caledonia (NC)            | EU433 EU863-870                   |
| New Zealand (NZ)              | AU915-928 AS923-1                 |
| Nicaragua (NI)                | EU433 EU863-870                   |
| Niger (NE)                    | IN865-867                         |
| Nigeria (NG)                  | EU433 EU863-870                   |
| Niue (NU)                     | EU433 IN865-867 AS923-1 AU915-928 |
| Norfolk Island (NF)           | AS923-1 AU915-928                 |
| Northern Mariana Islands (MP) | US902-928                         |
| Norway (NO)                   | EU433 EU863-870 AS923-3           |

### O

| Country   | Frequency Plan  |
| --------- | --------------- |
| Oman (OM) | EU433 EU863-870 |

### P

| Country               | Frequency Plan          |
| --------------------- | ----------------------- |
| Pakistan (PK)         | EU433 IN865-867 AS923-1 |
| Palau (PW)            |                         |
| Palestine (PS)        |                         |
| Panama (PA)           | AU915-928               |
| Papua New Guinea (PG) | EU433 AU915-928 AS923-1 |
| Paraguay (PY)         | EU433 AU915-928         |
| Peru (PE)             | AU915-928               |
| Philippines (PH)      | EU433 EU863-870 AS923-3 |
| Pitcairn (PN)         |                         |
| Poland (PL)           | EU433 EU863-870 AS923-3 |
| Portugal (PT)         | EU433 EU863-870         |
| Puerto Rico (PR)      | US902-928               |

### Q

| Country    | Frequency Plan          |
| ---------- | ----------------------- |
| Qatar (QA) | EU433 EU863-870 AS923-3 |

### R

| Country                 | Frequency Plan          |
| ----------------------- | ----------------------- |
| Reunion (RE)            | EU433 EU863-870         |
| Romania (RO)            | EU433 EU863-870         |
| Russian Federation (RU) | EU433 EU864-870 AS923-3 |
| Rwanda (RW)             | EU433 EU863-870         |

### S

| Country                                           | Frequency Plan          |
| ------------------------------------------------- | ----------------------- |
| Saint Barthelemy (BL)                             | EU433 EU863-870         |
| Saint Helena, Ascension and Tristan da Cunha (SH) |                         |
| Saint Kitts and Nevis (KN)                        | AU915-928               |
| Saint Lucia (LC)                                  | AU915-928               |
| Saint Martin (MF)                                 | EU433 EU863-870         |
| Saint Pierre and Miquelon (PM)                    | EU433 EU863-870         |
| Saint Vincent and the Grenadines (VC)             | AU915-928               |
| Samoa (WS)                                        | EU433 EU863-870         |
| San Marino (SM)                                   | EU433 EU863-870         |
| Sao Tome and Principe (ST)                        |                         |
| Saudi Arabia (SA)                                 | EU433 EU863-870 AS923-3 |
| Senegal (SN)                                      | EU863-870               |
| Serbia (RS)                                       | EU433 EU863-870         |
| Seychelles (SC)                                   | EU433                   |
| Sierra Leone (SL)                                 |                         |
| Singapore (SG)                                    | AS923-1 EU433           |
| Sint Maarten (SX)                                 |                         |
| Slovakia (SK)                                     | EU433 EU863-870 AS923-3 |
| Slovenia (SI)                                     | EU433 EU863-870 AS923-3 |
| Solomon Islands (SB)                              | AS923-1                 |
| Somalia (SO)                                      | EU433 EU863-870 AS923-3 |
| South Africa (ZA)                                 | EU433 EU863-870         |
| South Georgia and the South Sandwich Islands (GS) | EU433 EU863-870 AS923-3 |
| South Sudan (SS)                                  |                         |
| Spain (ES)                                        | EU433 EU863-870         |
| Sri Lanka (LK)                                    | EU433 AS923-1           |
| Sudan (SD)                                        |                         |
| Suriname (SR)                                     | AU915-928               |
| Svalbard and Jan Mayen (SJ)                       | EU433 EU863-870 AS923-3 |
| Sweden (SE)                                       | EU433 EU863-870         |
| Switzerland (CH)                                  | EU433 EU863-870         |
| Syrian Arab Republic (SY)                         | EU433 EU863-870 AS923-3 |

### T

| Country                       | Frequency Plan                    |
| ----------------------------- | --------------------------------- |
| Taiwan (TW)                   | AS923-1                           |
| Tajikistan (TJ)               |                                   |
| Tanzania (TZ)                 | EU433 AS923-1                     |
| Thailand (TH)                 | EU433 AS923-1                     |
| Timor-Leste (TL)              |                                   |
| Togo (TG)                     | EU433                             |
| Tokelau (TK)                  | EU433 IN865-867 AS923-1 AU915-928 |
| Tonga (TO)                    | EU433 AU915-928                   |
| Trinidad and Tobago (TT)      | AU915-928                         |
| Tunisia (TN)                  | EU433 EU863-870                   |
| Turkey (TR)                   | EU433 EU863-870                   |
| Turkmenistan (TM)             |                                   |
| Turks and Caicos Islands (TC) | AU915-928                         |
| Tuvalu (TV)                   |                                   |

### U

| Country                                   | Frequency Plan          |
| ----------------------------------------- | ----------------------- |
| Uganda (UG)                               | EU433 IN865-867 AS923-1 |
| Ukraine (UA)                              | EU433 EU863-870         |
| United Arab Emirates (AE)                 | EU433 EU863-870         |
| United Kingdom (GB)                       | EU433 EU863-870 AS923-3 |
| United States Minor Outlying Islands (UM) | US902-928               |
| United States of America (US)             | US902-928               |
| Uruguay (UY)                              | AU915-928               |
| Uzbekistan (UZ)                           | EU433                   |

### V

| Country                 | Frequency Plan          |
| ----------------------- | ----------------------- |
| Vanuatu (VU)            | EU433 IN865-867 AS923-3 |
| Venezuela (VE)          | AS923-1                 |
| Viet Nam (VN)           | EU433 AS923-2           |
| Virgin Islands, UK (VG) | AU915-928               |
| Virgin Islands, US (VI) | US902-928               |

### W

| Country                | Frequency Plan  |
| ---------------------- | --------------- |
| Wallis and Futuna (WF) | EU433 EU863-870 |
| Western Sahara (EH)    |                 |

### Y

| Country    | Frequency Plan |
| ---------- | -------------- |
| Yemen (YE) |                |

### Z

| Country       | Frequency Plan  |
| ------------- | --------------- |
| Zambia (ZM)   | EU433 EU863-870 |
| Zimbabwe (ZW) | EU433           |


# Built-in Network Server

Chirp's built-in LoRaWAN network server handles sensor authentication and delivery for you automatically.

Behind every LoRaWAN setup, there's a network server — the system that receives data from your gateway, authenticates your sensors, and routes readings to the right place. In traditional LoRaWAN deployments, this is a separate piece of software that you'd need to install, configure, and maintain on your own. That's a lot of work just to get a temperature reading into a dashboard.

Chirp takes care of all of this for you. The network server is built right into the platform — there's nothing extra to install, no server to manage, and no technical setup required on your end.

## What It Does

When your sensor sends a reading, here's what happens automatically:

* **Authentication** — Chirp verifies the sensor is legitimate using the encryption keys you entered during setup (the AppKey)
* **Data reception** — Your gateway picks up the sensor's radio signal and forwards it to Chirp's network server
* **Deduplication** — If multiple gateways hear the same sensor transmission (which is normal), Chirp keeps one copy and discards the duplicates
* **Delivery** — The sensor reading arrives in your dashboards, automations, and alerts — ready to use

All of this happens in the background, every time any of your sensors sends data.

## What This Means for You

* **No extra software to install** — the network server is part of Chirp, not a separate system
* **No configuration** — adding the LNS connector activates the network server for your home automatically
* **No maintenance** — the network server is managed as part of Chirp — there's nothing for you to maintain
* **Instant data flow** — once a sensor connects to your gateway, its readings appear in Chirp within moments

You can focus on choosing sensors, placing them around your home, and building the dashboards and automations you care about — without worrying about network infrastructure.

For an overview of LoRaWAN, see [What is LoRaWAN?](/connectors/lns-connector/what-is-lorawan). For setting up your gateway, see [Gateways](/gateways).


# Tracker Connector

Connect a cellular GPS vehicle tracker to Chirp — OBD2, CAN bus, and standalone trackers, 2,000+ preconfigured models.

Chirp goes beyond the walls of your home. The **Tracker connector** lets you bring a **vehicle GPS tracker** into Chirp, so your car, motorcycle, or camper shows up on the same dashboards and alerts as your sensors — live location, route history, speed, and whatever else the tracker reports.

<figure><img src="https://1153890212-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxgYoHO4zlaBzHJcfIrto%2Fuploads%2Fgit-blob-7d05dee62a2965a7d2787758ed08315cd3d34741%2Ftracker-connector.jpg?alt=media" alt="Add connector dialog with Tracker selected as the connector type"><figcaption></figcaption></figure>

## What it's for

The Tracker connector is for **cellular (GSM) vehicle trackers** — devices that send their location over the mobile network:

* **OBD2** plug-in trackers (into a car's diagnostics port)
* **CAN bus** trackers wired into the vehicle
* **Standalone GPS** vehicle trackers

Chirp ships with preconfigured profiles for **over 2,000 tracker models**, so most popular trackers work out of the box.

These trackers almost always need an external power source or a vehicle connection (OBD2/CAN), which makes them a great fit for **cars, motorcycles, campers, trailers with a battery, boats, ATVs**, and similar — not for tiny battery-only room sensors.

> **Cellular trackers only — not LoRaWAN.** Some GPS trackers and tags use LoRaWAN instead of a mobile network. Those do **not** go through the Tracker connector — a LoRaWAN tracker connects through the [LNS Connector](/connectors/lns-connector), just like your other LoRaWAN sensors. Use the Tracker connector for cellular/GSM vehicle trackers.

## Adding the Tracker connector

1. Click **Connectors** in the sidebar.
2. Click **Add connector**.
3. Choose **Tracker** from the **Connector type** dropdown.
4. Click **Add**.

That's it — the connector is created in one step. Each home can have **one Tracker connector**. (See [Setting Up a Connection](/connectors/setting-up-a-connection) for the connection basics.)

## Connecting your tracker

When you register a tracker through this connector, its **Connection** details include three tracker-specific fields:

* **Unique ID** — your tracker's identifier
* **Device model** — pick your tracker from the model list
* **Url for GPS tracker** — the endpoint Chirp gives you; configure your tracker (in its own app or SMS settings) to send data to this URL

Configure the tracker to send its data to that URL; once it starts reporting, it appears in Chirp. For the full registration walkthrough, see [Adding Sensors](/devices/adding-sensors).

## Seeing where it's been

Name the digital device for the car, such as **Family Car**, and map its location readings. Add a dashboard Map widget to see its last known position and select a history range. See [Tracking What Matters](/dashboards/tracking-what-matters).

If the tracker fails, replace its connection on the same digital device and reconnect its existing measurements. Keeping those measurements lets the car retain its earlier location history. Follow [Replace your car's tracker](/devices/sensor-details#how-do-i-replace-my-cars-tracker).


# MQTT Connector

Bring Zigbee sensors, smart plugs, and DIY hardware into your home with the MQTT connector.

Chirp's MQTT connector lets MQTT devices and bridged Zigbee sensors join the same dashboards and automations as the rest of your home. It is a way to bring a smart plug, temperature sensor, or DIY device into a shared setup instead of leaving its readings in a separate application.

**MQTT** is a messaging protocol: devices send messages to a server called a **broker**, and Chirp receives the messages it subscribes to.

Zigbee sensors do not speak MQTT themselves. A bridge such as [Zigbee2MQTT](/connectors/mqtt-connector/zigbee2mqtt), running with a compatible Zigbee coordinator, translates their radio messages into MQTT. Devices with MQTT firmware can send messages to the broker directly.

The most popular use is Zigbee. Thousands of Zigbee-compatible devices are supported through [Zigbee2MQTT](https://www.zigbee2mqtt.io/supported-devices/) — temperature sensors, motion detectors, smart plugs, door and window sensors, leak detectors, and many more from brands including Aqara, IKEA, Sonoff, Philips Hue, and Tuya. Compatibility depends on Zigbee2MQTT's device support, your coordinator adapter, and the specific device model — check the [Zigbee2MQTT supported devices list](https://www.zigbee2mqtt.io/supported-devices/) to confirm your device before purchasing.

You can also connect non-Zigbee devices: an ESP32 you built yourself, a Tasmota-flashed smart plug, a soil moisture monitor with MQTT firmware, or any hardware that publishes data over MQTT.

> **What this section covers.** These pages cover MQTT telemetry — bringing data *from* your devices into Chirp — and how to map it to sensor metrics. Once a device is connected, you can also send commands *to* it from Chirp: turn a plug on or off, dim a bulb, change its color temperature, and more. That two-way control is set up on each device under [Device Commands](/devices/commands).

## In this section

* [What MQTT is](/connectors/mqtt-connector/what-is-mqtt) — A short primer on brokers, topics, and JSON payloads.
* [Cloud MQTT](/connectors/mqtt-connector/cloud-mqtt) — Use Chirp's hosted broker. The simpler path for most homes.
* [Topics and device routing](/connectors/mqtt-connector/topics-and-device-routing) — How Chirp matches incoming MQTT messages to the right device. Read this before registering devices.
* [Setting up Zigbee2MQTT](/connectors/mqtt-connector/zigbee2mqtt) — The generic Z2M install path that produces the telemetry you'll register here.
* [Troubleshooting](/connectors/mqtt-connector/troubleshooting) — When data isn't appearing, or the Logs tab stays empty.
* Tested hardware: [Sonoff ZBDongle-E coordinator](/gateways/zigbee2mqtt-hubs/sonoff-zbdongle-e-coordinator) and [Paulmann 50064 light bulb](/devices/tested-device-guides/zigbee/paulmann-50064-light-bulb). Other Zigbee2MQTT-supported coordinators and devices follow the same flow — these are tested examples.

***

## How does Zigbee over MQTT work?

Zigbee devices don't connect to Chirp directly. They connect through a coordinator — a small USB or network-attached adapter — and software called Zigbee2MQTT that translates Zigbee signals into MQTT messages. The MQTT connector then picks up those messages and routes the data into Chirp.

```
Zigbee sensor  →  Zigbee coordinator  →  Zigbee2MQTT  →  MQTT  →  Chirp
```

You need:

1. A **Zigbee coordinator adapter** — the hardware bridge between Zigbee radio and your home network.
2. **Zigbee2MQTT software** — runs on a Raspberry Pi, home server, or any always-on machine.
3. A **Chirp MQTT connector** — tells Chirp where to listen and how to read the messages.

### Recommended Zigbee coordinator adapters

Any adapter supported by Zigbee2MQTT will work. The most commonly used:

* **SONOFF Zigbee 3.0 USB Dongle Plus** — ZBDongle-P (CC2652P chip) or ZBDongle-E (EFR32MG21 chip). Plug directly into a USB port.
* **SMLIGHT SLZB-06 / SLZB-06M** — Network-attached. Connects over Ethernet or Wi-Fi.
* **Home Assistant Connect ZBT-1 / SkyConnect** — Works when configured to use Zigbee2MQTT (instead of ZHA).
* **ConBee II / Phoscon** — USB adapter from Dresden Elektronik, used with deCONZ or Zigbee2MQTT.

For the current recommended options, see the [Zigbee2MQTT adapter guide](https://www.zigbee2mqtt.io/guide/adapters/).

***

## How do I connect MQTT devices to Chirp?

Chirp supplies the broker. When you add an MQTT connector, Chirp hosts a broker for you and gives you an endpoint, a username, a password and a topic prefix. Paste those into Zigbee2MQTT or your device settings and the connection is ready. There is nothing to install or keep running, and you can add as many Cloud MQTT connectors as you need.

***

## How do I add a Chirp Cloud MQTT connector?

1. Tap **Connectors** in the sidebar.
2. Tap **Add connector**.
3. Select **Cloud MQTT** from the connector type list.
4. Enter a **Name** for the connector.
5. Tap **Add**.

Chirp provisions a broker endpoint and displays the credentials:

| Credential       | Details                                                                                                                |
| ---------------- | ---------------------------------------------------------------------------------------------------------------------- |
| **Broker URL**   | The hosted MQTT endpoint. Copy it using the copy button.                                                               |
| **Topic prefix** | All messages to this connector must be published under this prefix — it keeps your data organized. Copy it.            |
| **Username**     | Assigned automatically. Copy it.                                                                                       |
| **Password**     | Shown once. **Copy it immediately** and save it somewhere safe. If you lose it, you'll need to rotate the credentials. |

#### Connecting Zigbee2MQTT or your device

Copy the credentials above into your Zigbee2MQTT configuration or device MQTT settings. A few things to know before you connect:

* **Copy the Broker URL exactly as shown** — it is the whole endpoint, nothing needs to be added to it. It uses TLS on port 1884 (not the standard 1883). In Zigbee2MQTT, set `server` to this value and enable TLS.
* **Every topic must start with the Topic prefix.** The full topic you publish to is: `{Topic prefix}/{device topic}`. For Zigbee2MQTT, set `base_topic` in its configuration to `{Topic prefix}/zigbee2mqtt` — for example `iot/abc123/xyz789/zigbee2mqtt`. Zigbee2MQTT then publishes each device under that path automatically.
* **Device routing templates don't include the prefix.** When you build the **MQTT Topic for device ID** on the **Connection** tab (Step 2), enter only the device-level portion — for example `zigbee2mqtt/{{deviceId}}`. Chirp strips the prefix automatically before matching.

***

## How do I register a Zigbee sensor in Chirp?

Every sensor that sends data through this connector gets its own device in Chirp. Registering it tells Chirp which topic carries the device's messages and which payload fields are readings.

1. Open **Devices** and select **Add device**, or open **Connectors** and use **Add device** on this connector's row.
2. Type a **Device name** and, if you use applications, pick one under **Application**. Select **Save**.
3. The device opens on its **Connection** tab. Under **Connector type**, choose this MQTT connector. The topic settings appear below it.
4. Build the topic on the **Connection** tab, as described next, and select **Save**.
5. Open the **Mapping** tab to link the payload fields to readings.

> **The Device ID must match the topic segment your hardware publishes, character for character.** For Zigbee2MQTT that segment is the friendly name. A Device ID can be 1 to 64 characters of ASCII letters, digits, spaces, periods, underscores and hyphens, and Chirp keeps capitals and spaces exactly as typed. Because Zigbee2MQTT topics are easiest without spaces, a name like `LivingRoomSensor` is the safer choice in both Zigbee2MQTT and Chirp.

***

### How does Chirp find the device in the MQTT topic stream?

#### The common case: Zigbee2MQTT with a flat JSON payload

Zigbee2MQTT publishes each device's data to a topic named after the device:

```
zigbee2mqtt/0x00158d0001234567
```

or with a friendly name:

```
zigbee2mqtt/LivingRoomSensor
```

In **MQTT Topic for device ID**, add the text segment `zigbee2mqtt`, then a **Device ID** segment, so the resolved preview reads:

```
zigbee2mqtt/{{deviceId}}
```

Leave **Topic Telemetry** empty. Zigbee2MQTT sends a flat JSON payload like:

```json
{"temperature": 21.4, "humidity": 58, "battery": 92, "linkquality": 115}
```

Chirp reads every key in that payload by itself, so no telemetry topic rows are needed. The **Mapping** tab is still required: each key you want as a reading needs a row there with its **Device data key** set to the payload key name. A key without a row is ignored.

This is the default path for most Zigbee sensors, ESP32 projects that publish flat JSON, and Tasmota devices.

#### What the topic settings on the Connection tab do

* **Topic for defining Device ID, MQTT Topic for device ID** is the topic pattern for this device, built from text segments and one **Device ID** segment. A Cloud MQTT prefix appears first and is locked.
* **Where to get the device ID** chooses **Topic** (the default, taken from the Device ID segment) or **Payload** (taken from a field inside the JSON message). With **Payload**, **Payload template** holds a dot path such as `device.id`, and **Payload preview** shows the JSON around it.
* **Topic Telemetry** is optional. Add rows with **Add new topic** when each measurement arrives on its own topic or when the value sits inside the topic itself. A row has **MQTT Topic for telemetry** and a **Device data key**, which must be filled in. The key does not create a reading on its own; link it to a metric on the **Mapping** tab.
* **Apply all** builds the telemetry topics from the device ID topic, and only for rows whose **Device data key** is already filled in. It saves time when several rows follow one naming pattern.

For the segment builder, the placeholders and the payload mode in full, see [Topics and device routing](/connectors/mqtt-connector/topics-and-device-routing).

#### Placeholder reference

| Placeholder    | What it does                                                                                                                                                                                                                                                                                                                   |
| -------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `{{deviceId}}` | Marks the topic segment that contains the device identifier                                                                                                                                                                                                                                                                    |
| `{{value}}`    | Marks a topic segment whose content is the measurement value itself, such as `22.5` in `sensors/dev01/22.5`. Leave it out when the segment names the metric (for example `temperature`). A telemetry topic without `{{value}}` tells Chirp to find the number inside the message and store it under the row's Device data key. |

***

### How do I map MQTT payload fields to readings?

The **Mapping** tab links incoming MQTT keys to Chirp metrics. This is where incoming fields become readings you can put on dashboards and use in automations. The AI Assistant can help map them and build the response around them.

A row only receives data when its **Device data key** matches a key the device actually sends. The helper text above the table says: **"If the Device data key is not filled in, the data will be ignored."**

The table has these columns, from left to right:

| Column              | Type      | Details                                                                                     |
| ------------------- | --------- | ------------------------------------------------------------------------------------------- |
| **Device data key** | Dropdown  | Lists the keys this device has actually sent. Empty until at least one message has arrived. |
| **Value**           | Read-only | Current live value received from the broker                                                 |
| **Last update**     | Read-only | Timestamp of the most recently received value                                               |
| **Normalized key**  | Dropdown  | Lists your metric templates, with **+ Add new metric** at the bottom for creating one       |
| **Unit**            | Read-only | Taken from the selected template                                                            |
| **Type**            | Read-only | Integer, Float, String or Boolean, taken from the template                                  |
| **Data type**       | Dropdown  | **Telemetry**                                                                               |
| (remove)            | Icon      | Removes the row                                                                             |

**Add key** adds a new empty mapping row.

#### Why is the Device data key dropdown empty?

The **Device data key** column is a dropdown, not a text input. It lists the payload keys that have actually arrived from your device. Before the first publish, the dropdown shows nothing and the rows can't be filled.

The setup flow is two-pass:

1. Add a row per metric you want, pick the **Normalized key** from the templates dropdown (or use **+ Add new metric**), set the **Data type**, and leave the **Device data key** empty.
2. Tap **Save**. The device record is stored.
3. Make sure your hardware is publishing — for Zigbee2MQTT, the Z2M container is running and the device has reported at least once. (See [Discovering payload keys](/connectors/mqtt-connector/troubleshooting) if you're unsure how to force a publish.)
4. Reopen the device. The **Device data key** dropdown now lists the keys received from your device.
5. Match the right key to each row.
6. Tap **Save** again.

#### What the value column shows vs what the Logs tab shows

The Mapping tab's **Value** column updates from the most recent payload. It's a live snapshot — you'll see values as soon as the topic match works, even before you've finished filling in Device data keys.

The **Logs** tab is different: it's per-sensor history, and it only fills with publishes that arrive *after* you've saved Device data keys. If you fill in Device data keys, save, and then the lamp's wall switch is toggled but no MQTT publish is generated, the Logs tab will stay empty even though the Mapping tab shows the right value. To populate Logs, you need a fresh publish — drag a control in the Z2M web UI, send a `/get` poll, or wait for the device's next scheduled report. See [Troubleshooting](/connectors/mqtt-connector/troubleshooting) for the full list.

#### Mapping is iterative

MQTT mapping is rarely a one-shot operation. The first publish often reveals payload keys you didn't know to map during initial registration. After data starts arriving, return to the device's Mapping tab, look at the **Device data key** dropdown and **Value** column to see what the device is actually publishing, add rows for any useful fields you missed, set the right Data type for each, and save again. Generate another publish afterwards if you want the Logs tab to populate the new mappings.

#### Z2M feature type → Chirp data type

When you're mapping a Zigbee2MQTT device, look up the device on [zigbee2mqtt.io/devices](https://www.zigbee2mqtt.io/supported-devices/). Each feature has a type — translate to Chirp's metric Type as follows:

| Z2M feature type | Chirp Type | Example                                                   |
| ---------------- | ---------- | --------------------------------------------------------- |
| `binary`         | **String** | `state` — values are `"ON"`/`"OFF"` strings, not booleans |
| `numeric`        | **Number** | `brightness`, `color_temp`, `linkquality`                 |
| `enum`           | **String** | `color_mode`, `power_on_behavior`                         |
| `text`           | **String** | Free-form text fields                                     |

Selecting Boolean for a `state`-style binary field will leave the value empty — `"ON"` and `"OFF"` arrive as strings.

#### How to find what keys your device publishes

The Mapping tab doesn't auto-detect keys. Three ways to discover them:

1. **Z2M web UI** — open the Zigbee2MQTT frontend (default `http://localhost:8080`), click your device, look at the state panel. Every property name shown is a Device data key candidate.
2. **The device's Z2M page** — `https://www.zigbee2mqtt.io/devices/{modelId}.html` lists the device's Exposes. Note that actual payloads can include keys that aren't on the Z2M page (`color_mode` is one example) — trust the live payload over the device page.
3. **Z2M logs** — after the first publish, `docker compose logs zigbee2mqtt | grep "MQTT publish"` shows the full JSON. Every top-level key is valid.
4. Tap **Save** to finish registration.

***

## What should I see after setting up MQTT?

Once a sensor is registered and data is flowing:

* The connector's **Last data received** timestamp updates each time a message arrives.
* The sensor's detail page shows incoming readings — temperature, humidity, battery, or whatever your sensor reports.
* Readings appear on your dashboards and are available for automations and alerts.

For Zigbee2MQTT sensors, data typically appears within a few seconds of the sensor's next report.

***

## Where can I find more MQTT examples?

**ESP32 DIY temperature sensor:** Publishes to `home/sensors/esp-kitchen/data` with a flat JSON payload. MQTT Topic for device ID: `home/sensors/{{deviceId}}/data`. Leave Topic Telemetry empty — the payload is parsed automatically. Mapping tab maps `temperature` and `humidity` keys to the corresponding normalized metrics.

**Tasmota smart plug:** Tasmota publishes to `tele/plug-01/SENSOR`. MQTT Topic for device ID: `tele/{{deviceId}}/SENSOR`. The payload is flat JSON with energy readings (Power, Voltage, Current, Today). Leave Topic Telemetry empty; then add Mapping tab rows for the Tasmota keys you want to track.

**Garden soil sensor — single metric on a dedicated topic:** A custom sensor publishes soil moisture to `garden/{{deviceId}}/moisture` with a plain number payload. Add a telemetry topic row: topic `garden/{{deviceId}}/moisture`, Device data key `soil_moisture`. Then in the Mapping tab, link `soil_moisture` to the normalized soil moisture metric.

***

## How do I troubleshoot the MQTT connector?

A short list — the [full troubleshooting page](/connectors/mqtt-connector/troubleshooting) covers Z2M startup logs, the empty-Logs-tab pattern, and how to force a publish for setup-time verification.

**No data appears after setup:**

* For Cloud MQTT: make sure you copied the password correctly at creation time. If unsure, rotate the credentials and update Zigbee2MQTT with the new password. Confirm the Topic prefix is being used correctly — all published topics must start with it.

**Sensor appears but readings are missing or wrong:**

* Open the sensor detail page and check the **Logs** tab for incoming message content.
* Verify the MQTT Topic for device ID matches the exact topic path the sensor is publishing to. Topics are case-sensitive.
* Verify the **Device ID** is byte-for-byte identical to the device-level segment (for Zigbee2MQTT, the friendly name) — no spaces, same case.
* If you added telemetry topic rows: check that the Device data key spellings match the payload keys exactly.
* In the Mapping tab: confirm that the Device data key column values match what the sensor is actually publishing.

**Mapping tab Value column populates but Logs tab is empty:** This usually means Device data keys were saved after the most recent publish arrived. The Logs tab only fills with publishes that arrive *after* the keys are saved. Generate a fresh publish — drag a control in the Z2M web UI, or send a `/get` poll for setup-time verification — and the Logs tab will populate.

**"Toggle the device" doesn't produce data — what counts as a publish:** Many Zigbee bulbs (including the Paulmann 50064) do not send an MQTT publish on a physical wall-switch toggle. Actions that *do* generate a publish during setup:

* Drag a control or click the toggle in the Z2M web UI for the device — Z2M sends a `/set` and re-publishes the new state.
* Send a `/get` poll (e.g. via `mosquitto_pub` to `{base_topic}/{friendlyName}/get`) — Z2M reads the device and publishes the current state. This is local Z2M-side verification, not a Chirp control path.
* Wait for the device's next scheduled report (battery sensors typically wake on a schedule).

**Zigbee device doesn't join:** This is a Zigbee2MQTT or coordinator issue, not a Chirp issue. Check the [Zigbee2MQTT documentation](https://www.zigbee2mqtt.io/guide/usage/pairing_devices.html) for device pairing steps. Make sure permit join is enabled in Zigbee2MQTT when pairing new devices. For the Paulmann 50064 specifically, see the [tested device guide](/devices/tested-device-guides/zigbee/paulmann-50064-light-bulb).

**Cloud MQTT password lost:** Go to the MQTT connector settings and rotate the credentials. Update Zigbee2MQTT or your device with the new password and topic prefix.

**Device fails to save on a Cloud MQTT connector:** If saving a device on a Cloud MQTT connector fails, contact support for help completing the setup.

***

## What's next

* [Adding Sensors](/devices/adding-sensors) — Complete your sensor setup and assign it to a room.
* [Adding Widgets](/dashboards/adding-widgets) — Display your new sensor readings on a dashboard.
* [Set Up a Home Alert](/alarm/set-up-a-home-alert) — Get notified when readings go outside normal ranges.

Each device is configured separately. [MQTT Devices](/devices/mqtt-devices) shows how: pick its identifier, complete the connection fields, map the incoming readings to measurements, and then verify the retained history.


# What MQTT is

A friendly intro to MQTT brokers, topics, and JSON payloads — the messaging behind the smart home.

MQTT is a way for devices and software to exchange messages. Think of a temperature sensor sending a reading to a named channel, such as `home/bedroom/temperature`. That channel is a **topic**. A server called a **broker** receives the message and passes it to software listening to that topic.

Sending a message is called **publishing**; asking to receive messages is **subscribing**. Chirp uses an MQTT connection to receive readings and associate them with your registered sensors. Zigbee sensors need a bridge such as Zigbee2MQTT to translate their messages first.

Chirp supplies the broker connection with [Cloud MQTT](/connectors/mqtt-connector/cloud-mqtt).

## How does MQTT work in simple terms?

Three things are involved in any MQTT setup:

* A **broker** — the central post office that everything connects to. Devices don't talk to each other directly; they all talk to the broker, and the broker forwards messages to whoever asked for them.
* **Publishers** — anything that sends messages. A Zigbee2MQTT bridge publishing temperature readings, an ESP32 publishing soil moisture, a smart plug publishing its on/off state.
* **Subscribers** — anything that listens for messages. Chirp's MQTT connector is a subscriber; so is your home automation hub if you have one.

The same device can be both a publisher (it tells the broker about its temperature) and a subscriber (it listens for commands telling it to change a setpoint). The broker is the one constant — every message goes through it.

```
Living room sensor  →  publish  →
                                   Broker  →  forward  →  Chirp
Kitchen sensor      →  publish  →
```

Chirp's MQTT connector subscribes to messages the broker is forwarding. When you register a device, you're telling Chirp which messages from the broker belong to which device record.

## What is an MQTT topic?

Every MQTT message has a **topic** — a slash-separated path that identifies what the message is about. The broker uses topics to route messages: subscribers say "I'm interested in topics that look like `home/+/temperature`," and the broker delivers anything matching that pattern.

Topics are not predefined. Whoever publishes a message decides the topic — there's no central registry. Conventions vary by software:

* **Zigbee2MQTT** publishes each device's data to `zigbee2mqtt/{friendlyName}` — for example, `zigbee2mqtt/LivingRoomSensor`. Below this device-level topic, the bridge also publishes status, command-acknowledgements, and per-device subtopics for actions like `/set` and `/get`.
* **Tasmota** smart plugs publish to `tele/{deviceName}/SENSOR` for periodic telemetry, `stat/{deviceName}/RESULT` for state changes, and several other topics.
* **Custom firmware** can use whatever topic scheme you write into it. A common pattern is `home/{location}/{deviceName}/{metric}`.

When you register a device in Chirp, the **Device ID Topic** field is where you tell the connector what the topic *shape* looks like. You write the pattern with `{{deviceId}}` standing in for the part of the topic that names the device — for Zigbee2MQTT, that's `zigbee2mqtt/{{deviceId}}`. Chirp matches incoming topics against the pattern and pulls the device identifier out of the placeholder position.

## What is an MQTT payload?

The body of an MQTT message is the **payload**. MQTT itself doesn't care what's in there — bytes are bytes — but in practice almost every modern device publishes JSON.

A typical Zigbee temperature/humidity sensor publishes something like:

```json
{
  "temperature": 21.4,
  "humidity": 58,
  "battery": 92,
  "linkquality": 115
}
```

That single message contains four sensor metrics, all delivered together as a flat object. Chirp's Mapping tab reads the keys from this JSON and maps them to your sensor's metric templates — `temperature` becomes the temperature reading, `humidity` becomes humidity, and so on.

Some devices publish each measurement to its own topic with just a number as the payload:

```
home/garden/soil-01/moisture     →  payload: 42
home/garden/soil-01/temperature  →  payload: 18.2
```

For that style, you add per-topic rows on the **Telemetry topics** section so Chirp knows which topic carries which metric. The flat-JSON case (one topic, all metrics in the payload) is more common and is the default path.

## What are QoS and retained messages in MQTT?

MQTT has features beyond the basics: three quality-of-service levels (QoS 0/1/2), retained messages that the broker keeps and replays to new subscribers, last-will messages that the broker publishes when a device disconnects unexpectedly. For a home setup with Chirp, you almost never need to think about these. Zigbee2MQTT picks reasonable defaults; Tasmota does too; Chirp's broker accepts what it's given.

The one detail that comes up: when Zigbee2MQTT first connects, it publishes a "bridge online" retained message. Chirp's connector will see that as the first incoming traffic — that's a signal the connection is healthy, even before any device has reported.

## Why use MQTT instead of something else?

MQTT is the lingua franca of the smart home for three reasons:

* **Tiny overhead.** A temperature reading is a few bytes of header plus the JSON. This matters on battery-powered sensors that wake up every few minutes.
* **Loose coupling.** Devices don't need to know about each other. Add a new sensor and the broker just routes its messages — no other device has to be reconfigured.
* **It already works.** Zigbee2MQTT, Tasmota, ESPHome, Theengs, OpenMQTTGateway, and dozens of other projects all speak MQTT. Most off-the-shelf "smart home compatible" hardware can be made to publish MQTT with a small bridge.

When you're ready, continue to [Cloud MQTT](/connectors/mqtt-connector/cloud-mqtt) to set up your broker connection.


# Cloud MQTT

The simplest MQTT path — Chirp hosts the broker, you paste the credentials into Zigbee2MQTT and go.

Cloud MQTT gives your home an MQTT connection using a broker managed by Chirp. The **broker** is the server that receives messages from your devices or bridge and passes them on. Chirp gives you its address and login details, so you do not need to run that server yourself.

For Zigbee sensors, you still need Zigbee2MQTT and a compatible coordinator in your home. Point the bridge at the supplied broker, then register and [map the devices](/connectors/mqtt-connector/topics-and-device-routing) in Chirp. Creating the connection alone does not create sensor readings.

## When should I choose Cloud MQTT?

* You don't already have an MQTT broker.
* Your devices live on a home network behind NAT, and you'd rather not poke a hole through your router or rent a VPS.
* You want the simplest possible setup that works.

## How do I create a Cloud MQTT connector?

1. Open **Connectors** in Chirp's sidebar.
2. Tap **Add connector**.
3. Pick **Cloud MQTT** from the connector type list.
4. Give it a **Name** — something memorable like `Home Zigbee Hub` or `Garden Sensors`.
5. Tap **Add**.

Chirp provisions a broker endpoint and shows four values:

| Field            | What it is                                                                                                                                                                                                                                               |
| ---------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Broker URL**   | The complete address of Chirp's broker for this connector. Uses TLS on port 1884 (not the default 1883). Copy it as-is — including the `mqtts://` scheme.                                                                                                |
| **Topic prefix** | Every message published through this connector must start with this path. It's how the broker keeps your data separate from everyone else's. Looks like `iot/{org}/{connection}` — two unique segments identifying your organization and this connector. |
| **Username**     | Generated by Chirp. Copy it exactly — case and characters matter.                                                                                                                                                                                        |
| **Password**     | A long random secret. **Shown once.** Copy it immediately and save it somewhere you can find later. If you close the dialog without saving the password, you'll need to rotate the credentials and reconfigure your devices.                             |

There's no recovering the original password later — Chirp doesn't keep it readable. Rotation is the only path back if you've lost it.

## How do I connect Zigbee2MQTT to a Cloud MQTT connector?

In Zigbee2MQTT's `configuration.yaml`, the four credentials map to:

```yaml
mqtt:
  base_topic: iot/{your-org-segment}/{your-connection-segment}/zigbee2mqtt
  server: mqtts://mqtt-iot.chirpwireless.io:1884
  user: {username from Chirp}
  password: {password from Chirp}
```

A few things to notice:

* **`base_topic` adds `/zigbee2mqtt` to the Topic prefix.** Z2M automatically appends `/{friendlyName}` for each device, so your living-room sensor ends up publishing to `iot/{org}/{connection}/zigbee2mqtt/LivingRoomSensor`. Chirp strips the prefix internally, leaving the device-level topic as `zigbee2mqtt/LivingRoomSensor` — which is what you'll match in the Device ID Topic field when registering the device.
* **`server` uses `mqtts://` and port 1884.** The `mqtts://` scheme tells Z2M to use TLS automatically. You don't need to provide a CA certificate — the broker uses a publicly-trusted certificate.
* **The username and password are the ones from Chirp**, not anything Z2M generates.

For the full Zigbee2MQTT setup including the Docker Compose template and `configuration.yaml` example, see [Setting up Zigbee2MQTT](/connectors/mqtt-connector/zigbee2mqtt).

## How do I connect other MQTT devices to Cloud MQTT?

Anything that publishes MQTT can use the same credentials — an ESP32 you wrote firmware for, a Tasmota smart plug, an MQTT-publishing weather station. Configure the device's MQTT settings:

* **Broker / server URL:** the Broker URL value from Chirp, including the `mqtts://` scheme and port 1884.
* **Username / Password:** the credentials Chirp generated.
* **Topic to publish to:** must start with the Topic prefix. So if you'd normally publish to `weather/outside`, with Chirp you publish to `{Topic prefix}/weather/outside`.

When you register the device in Chirp, the Device ID Topic field uses the device-level portion only — Chirp strips the prefix automatically.

## How do I verify the Cloud MQTT connection?

After Z2M (or your device) starts up:

1. Open the connector's detail page in Chirp.
2. Look at **Last data received**. Within a few seconds of Z2M connecting, this field updates with a timestamp.

The first message Z2M publishes is its own bridge status (`{base_topic}/bridge/state`) — it's how you know the broker accepted the connection, even before any sensor has reported. If **Last data received** stays empty for more than a minute, see [Troubleshooting](/connectors/mqtt-connector/troubleshooting).

## How do I rotate Cloud MQTT credentials?

If the password is compromised or you've lost it:

1. Open the connector in Chirp.
2. In edit mode, use the regenerate option for the password.
3. Update the password in your device or Z2M `configuration.yaml`.
4. Restart the device or Z2M.

The username and Topic prefix don't change on rotation — only the password.

## Are there limits on Cloud MQTT?

Cloud MQTT connectors are unlimited per home. If you want separate connectors for different device groups (one for the indoor Zigbee mesh, one for the garden sensors, one for the workshop), create as many as you need — each gets its own credentials and topic prefix.

Setting up the individual devices is the next stage, and [MQTT Devices](/devices/mqtt-devices) guides you through it: choosing the identifier, filling in the connection fields, mapping readings to measurements, and checking that the history is retained.


# Topics and Device Routing

Configure Chirp MQTT topic segments, payload identifiers, topic-value extraction and measurement mapping, with examples and validation.

When an MQTT message arrives, Chirp has to answer two questions: which digital device sent it, and which readings are inside it. A **topic** is the named channel the message travels on, and the **payload** is the content it carries. You answer both questions on the device's **Connection** tab, and then you link the fields you receive to measurement templates on **Mapping**.

If this is your first MQTT device, begin with [MQTT Devices](/devices/mqtt-devices). Come back here for the routing controls in detail, including identifiers that travel in the payload and readings that sit inside the topic name itself. Setting up the broker is covered in [Cloud MQTT](/connectors/mqtt-connector/cloud-mqtt).

## What does an incoming MQTT topic look like? <a href="#the-shape-of-an-incoming-mqtt-topic" id="the-shape-of-an-incoming-mqtt-topic"></a>

With Cloud MQTT, every topic a publisher uses starts with the connection's **Topic prefix**, for example `iot/{org}/{connection}`. The editor shows that prefix as a locked first segment, so your device-level pattern starts right after it. Typing the prefix a second time would break the match.

Under the pattern, a read-only **Resolved preview** shows the finished topic: the Cloud prefix (when there is one) followed by your pattern with the Device ID filled in. Treat it as a spelling check for the pattern; it does not tell you that a message has actually been received.

## How do I build the Device ID topic? <a href="#the-device-id-topic-field-is-a-pattern-not-a-value" id="the-device-id-topic-field-is-a-pattern-not-a-value"></a>

On **Connection**, the **MQTT Topic for device ID** field is a builder made of segments, and a slash separates one segment from the next.

| Control                | Behavior                                                                                                                                                               |
| ---------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **+ → Text segment**   | Adds a fixed piece of the topic, such as `meters`, `zigbee2mqtt`, or `data`. Spell it exactly as the publisher does.                                                   |
| **+ → Device ID**      | Marks where the identifier sits in the topic. Only one Device ID segment is allowed, so this choice is greyed out once it exists.                                      |
| Drag handle            | Moves a segment so the order matches your topic, for instance placing Device ID between `meters` and `data`.                                                           |
| Segment remove control | Deletes a text segment you added. In Topic mode the Device ID segment cannot be removed; change to Payload mode first if the identifier will come from somewhere else. |
| Locked prefix          | The connection prefix of Cloud MQTT. It is fixed and cannot be edited or deleted from this field.                                                                      |
| **Resolved preview**   | Displays the topic that results from the Device ID you entered. In telemetry patterns, a value placeholder shows as `value` rather than as a real number.              |

### Available placeholders

Two placeholders exist: `{{deviceId}}` and `{{value}}`. In the examples on this page, `{{deviceId}}` stands for the identifier position and is never a literal device name. Topic templates are case-sensitive, so the segments and their positions have to match what the publisher sends. Telemetry templates are refused if they contain `#`, a placeholder Chirp does not know, or a placeholder that is missing its closing braces.

## Can I read the device identifier from the payload?

The **Where to get the device ID** setting has two options, **Topic** and **Payload**. New devices start on Topic, which pulls the identifier out of the Device ID segment. To take it from the JSON body instead:

1. Choose **Payload**.
2. Build the message topic with no Device ID segment in it, such as `building/readings`.
3. In **Payload template**, type a dot-separated path to the identifier, for example `deviceInfo.deviceId`.
4. Look at **Payload preview**, which draws the JSON object around that path so you can confirm it.
5. Enter the value found at that path as the device's **Device ID**, then save.

A message on `building/readings` like the one below identifies the device `room-1`:

```json
{"deviceInfo": {"deviceId": "room-1"}, "temperature": 21.4}
```

Whichever mode you pick, the topic cannot be empty. The two modes ask for different things: Payload mode requires the JSON path and keeps the Device ID placeholder out of every topic pattern, while Topic mode requires that placeholder in the device pattern and in every telemetry row you configure. After switching, check that the selector and the segments tell the same story.

## Why must the Device ID match the topic segment exactly? <a href="#the-device-id-field-must-match-the-device-level-segment-exactly" id="the-device-id-field-must-match-the-device-level-segment-exactly"></a>

A **Device ID** can be 1–64 characters long and may use ASCII letters, digits, spaces, periods, underscores and hyphens. For MQTT devices, capitals and spaces are kept as typed. The publisher and Chirp must therefore spell the identifier identically: `room-1` and `Room-1` are two different devices.

With Zigbee2MQTT, the identifier is the device's friendly name, and a short one such as `LivingRoomSensor` keeps things easy. Should the physical hardware change after binding, follow [device replacement](/devices/sensor-details) on the existing twin. That keeps the twin and its measurement associations intact, which deleting it would not.

## How does topic telemetry work? <a href="#topic-telemetry" id="topic-telemetry"></a>

### When to use telemetry topics <a href="#telemetry-topics-when-to-use-them-when-to-skip-them" id="telemetry-topics-when-to-use-them-when-to-skip-them"></a>

If the message body already holds your measurements as JSON, leave **Topic Telemetry** empty. The body `{"temperature":21.4,"battery":92}` supplies two data keys, `temperature` and `battery`, and nested objects turn into dot-separated paths, so `{"vibration":{"rms":0.42}}` supplies `vibration.rms`.

Reach for the topic telemetry editor when the **number itself is written inside the topic**. Take a publisher that sends on `meters/EM-4492/voltage/230.5`:

| Row field or action          | How it works                                                                                                                                                                                                                                                                                                                   |
| ---------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| **Add new topic**            | Creates a row with a pinned **value** segment. Add text and Device ID segments until the row mirrors the publisher's topic.                                                                                                                                                                                                    |
| **MQTT Topic for telemetry** | For this example, build `meters/{{deviceId}}/voltage/{{value}}`. The last segment stands for the reading `230.5`, not for the word `voltage`.                                                                                                                                                                                  |
| **value** segment            | Optional. A caption beneath the row states which mode is active: **The value is read from the value segment of the topic** or **No value segment: the value is read from the message payload**. Drag the segment into place, delete it when the number travels in the message body, or put it back later.                      |
| **Device data key**          | Required on every row, with or without a value segment; without one the row says **Device data key is required** and cannot be saved. Type the name the reading should carry from now on, such as `voltage`, and then connect that name to a measurement on **Mapping**.                                                       |
| Row remove control           | Takes the telemetry rule out of the configuration you are editing. Save to make the removal final.                                                                                                                                                                                                                             |
| **Apply all**                | Rewrites every row's topic pattern to the device-ID topic followed by a value segment, skipping any pattern that already has one, and keeps each row's data key. Afterwards, go through the rows and put back literal segments such as `voltage` or `current` where they belong. It adds no rows and does not save the device. |

Many gadgets publish a single reading per topic and put the number in the body. A smart plug that sends `0` or `1` to `device/260/ap/5/upload` is typical. For that case, build the topic without a value segment and give the row a data key like `outlet_state`; Chirp stores the body under that name. The web page used to make this impossible, and re-saving a device configured another way could quietly break it. Patterns now display exactly as they are stored.

With Payload as the identifier source, telemetry rows leave out the Device ID, yet each message must still carry the identifier at the JSON path you set. If a value from the topic and a payload field share a key, the topic's value wins.

The parser behind the scenes can also take JSON fields or raw payload data, but the topic editor does not expose every protocol format that implies. When a plain, non-JSON message has no telemetry extraction row, look at the incoming `raw` key and map it only if it really holds the value you want. Binary vendor formats must be converted before they reach Chirp, because recognizing a topic hierarchy does not decode Sparkplug or any other binary payload.

## What is the difference between the Connection and Mapping tabs? <a href="#the-mapping-tab-has-two-sub-tabs-and-they-have-the-same-name" id="the-mapping-tab-has-two-sub-tabs-and-they-have-the-same-name"></a>

**Connection** holds routing and identity. **Mapping** holds the measurement rows. They are separate tabs, and a saved topic pattern does not by itself create a measurement for every field in the message.

Press the device's **Save** button once the routing is right: segment previews and **Apply all** only change the form on screen. A telemetry row that is left blank is not a finished extraction rule, so either complete its pattern and data key or remove it. Members with read-only access cannot change routing.

## Why is the Device data key dropdown empty? <a href="#connector-key-dropdown-is-empty-until-your-device-publishes-once" id="connector-key-dropdown-is-empty-until-your-device-publishes-once"></a>

The **Device data key** dropdown fills with the fields Chirp has actually received from the bound source, so it starts empty. Save the connection, wait for one message, then finish the mappings and save a second time. Template rows you created before that first message can stay; just fill in their data keys when the options appear.

The [MQTT Devices](/devices/mqtt-devices#how-do-i-map-mqtt-messages-to-measurements) page walks through this, and [mapping controls](/devices/sensor-details#metrics) explains every column and action.

## Which data type should I choose when mapping? <a href="#reported-state-vs-telemetry-vs-device-metadata" id="reported-state-vs-telemetry-vs-device-metadata"></a>

The device-mapping form offers one data type, **Telemetry**, for the measurements and device states you want to keep. The **Data type** setting is separate from the template's value **Type**.

## How do I match the metric type to the actual value? <a href="#a-note-on-state-its-a-string-not-a-boolean" id="a-note-on-state-its-a-string-not-a-boolean"></a>

| Incoming value                        | Appropriate template Type |
| ------------------------------------- | ------------------------- |
| Decimal reading such as `21.4`        | Float                     |
| Whole-number count such as `12`       | Integer                   |
| `"ON"`, `"OFF"`, an enum or free text | String                    |
| JSON `true` or `false`                | Boolean                   |

Zigbee2MQTT may describe a feature as binary and still publish true/false or configured text values, so read the real payload before picking a type. Strings that hold numbers convert to numeric templates; for integers, any decimals are cut off toward zero. Booleans accept true/false and 0/1, but `"ON"` and `"OFF"` are not accepted. A reading that cannot be converted is rejected on its own rather than saved as an empty value. The [metric conversion rules](/devices/data-templates) have the details.

## Why does the Mapping tab Value differ from the Logs tab? <a href="#why-the-mapping-tab-value-column-updates-but-the-logs-tab-is-empty" id="why-the-mapping-tab-value-column-updates-but-the-logs-tab-is-empty"></a>

On **Mapping**, **Value** and **Last update** reflect the newest snapshot of each received field. **Logs** only lists measurements recorded after valid mappings were saved, so wait for a new message once the mapping is in place; older messages are not re-processed.

MQTT history is stamped with the moment Chirp receives the message. Fields called `timestamp`, `ts`, or `time` stay ordinary payload fields and do not move the stored measurement back in time, which also means messages a device buffered during an outage are not placed at their original device time.

### Iterative mapping refinement <a href="#mapping-is-iterative-return-after-data-arrives" id="mapping-is-iterative-return-after-data-arrives"></a>

Mapping is not a one-off job. When firmware changes or you need new readings, open **Mapping** again, look at the new keys, add templates for them with compatible types, save, and let a fresh message arrive. If you swap out the hardware, leave the existing measurement rows alone so the twin keeps its history.

## Where to go next

* [MQTT Devices](/devices/mqtt-devices) — first-device walkthrough and configuration checklist.
* [MQTT Troubleshooting](/connectors/mqtt-connector/troubleshooting) — broker, routing and missing-history problems.
* [Creating Commands](/devices/commands/creating-commands) — outbound MQTT topics and command payloads.


# Setting up Zigbee2MQTT

Install Zigbee2MQTT to bridge your Zigbee bulbs and sensors into Chirp through the MQTT connector.

Zigbee2MQTT (Z2M) is the bridge between your Zigbee devices and your MQTT broker. Devices speak Zigbee — a low-power radio protocol — to a USB or network-attached coordinator. Z2M is the software, running on the same machine as the coordinator, that turns each Zigbee message into an MQTT publish. Once Z2M is running, every Zigbee sensor and bulb in your home becomes an MQTT publisher, and Chirp's MQTT connector picks it up like any other MQTT device.

This page is the generic Zigbee2MQTT setup. We worked through it with a Sonoff ZBDongle-E coordinator and a Paulmann 50064 bulb, but Z2M supports thousands of coordinators and devices — anything in the [supported devices list](https://www.zigbee2mqtt.io/supported-devices/) follows the same flow. If you have the exact hardware we tested, the [Sonoff ZBDongle-E walkthrough](/gateways/zigbee2mqtt-hubs/sonoff-zbdongle-e-coordinator) and the [Paulmann 50064 walkthrough](/devices/tested-device-guides/zigbee/paulmann-50064-light-bulb) drop you into the specifics. Otherwise, follow this generic setup and consult your hardware's manufacturer for pairing details — the rest is identical.

## What runs where in a Zigbee2MQTT setup?

A small mental-model warning, because this confuses a lot of people first time around: **the coordinator is the radio bridge, not the brain.**

* **USB coordinators** (Sonoff ZBDongle-E, ZBDongle-P, SkyConnect, ConBee II, etc.) — radio chip plus firmware, communicating with your machine over USB serial using a binary protocol like EZSP or Z-Stack. They have no IP stack, no Wi-Fi, no Ethernet, no operating system.
* **Network-attached coordinators** (SMLIGHT SLZB-06 and similar) — the same radio role, but with a small embedded Linux that exposes the coordinator over Ethernet or Wi-Fi. They have an IP interface for transport, but they don't run MQTT — Z2M still does that.

In both cases, the coordinator handles the Zigbee radio plus protocol-to-transport bridge; **Zigbee2MQTT is the software** that opens the coordinator's transport (serial port for USB, TCP for network-attached), sends Zigbee commands, receives Zigbee messages, translates them to JSON, and publishes them to MQTT. All the device-management intelligence lives in Z2M.

```
Zigbee device → [Zigbee radio]
                    ↓
                Coordinator (radio + firmware, plugged into your machine)
                    ↓
                /dev/ttyUSB0 (or network port for SLZB-06 etc.)
                    ↓
                Zigbee2MQTT (running on your machine)
                    ↓
                MQTT (TCP/TLS to your broker — Chirp Cloud or your own Mosquitto)
                    ↓
                Chirp
```

Practical implication: stop the Z2M container or unplug the host machine and your Zigbee devices stop reaching MQTT, even though their LEDs may still be on and the radios are still healthy. Z2M is the active link.

## What do I need for Zigbee2MQTT?

* A **machine that's always on** with a USB port (or a network-attached coordinator on your LAN). A Raspberry Pi, a small home server, an old laptop, an Intel NUC — anything Linux-based works fine. Z2M can also run on macOS or Windows but Docker on Linux is the most common deployment.
* **A Zigbee coordinator.** Any [supported coordinator](https://www.zigbee2mqtt.io/guide/adapters/) — Sonoff ZBDongle-P or ZBDongle-E, SMLIGHT SLZB-06, ConBee II, SkyConnect, etc.
* **Docker and Docker Compose** installed on the host machine. (Z2M has other deployment options, but Docker is the simplest and what we'll use here.)
* **An MQTT broker** to publish to — a [Cloud MQTT connector](/connectors/mqtt-connector/cloud-mqtt) from Chirp.

## How do I set up the Zigbee2MQTT working directory?

On the host machine:

```bash
mkdir -p ~/zigbee2mqtt/data
cd ~/zigbee2mqtt
```

You'll create two files in here: a `docker-compose.yml` and the Z2M `configuration.yaml`.

## How do I confirm my USB coordinator is detected?

For USB-attached coordinators, plug the dongle in (use the included extension cable if there is one — the metal of your computer chassis attenuates 2.4 GHz signal, and the cable physically moves the antenna away from interference) and check that Linux sees it:

```bash
ls /dev/tty* | grep -E "USB|ACM"
```

You should see `/dev/ttyUSB0` (for CP210x-based dongles like the Sonoff series) or `/dev/ttyACM0` (for some other adapters). If multiple USB serial devices are plugged in, your coordinator will be the highest-numbered one — note which path is yours, you'll need it in `configuration.yaml`.

```bash
lsusb | grep -i "silicon\|zigbee\|conbee"
```

This shows the chip — useful when you're not sure which dongle variant you have. For Sonoff dongles specifically, both ZBDongle-P and ZBDongle-E show as `Silicon Labs CP210x UART Bridge` on `lsusb`, so you must check the packaging or the label on the dongle body to tell them apart.

For network-attached coordinators (SLZB-06, etc.), there's no `/dev/tty*` device — instead you'll use a `tcp://` URL in `configuration.yaml`.

## What goes in the Zigbee2MQTT docker-compose.yml?

`~/zigbee2mqtt/docker-compose.yml`:

```yaml
services:
  zigbee2mqtt:
    image: koenkk/zigbee2mqtt:latest
    container_name: zigbee2mqtt
    restart: unless-stopped
    volumes:
      - ./data:/app/data
      - /run/udev:/run/udev:ro
    ports:
      - "8080:8080"
    environment:
      - TZ=Etc/UTC
    devices:
      - /dev/ttyUSB0:/dev/ttyUSB0
```

A few details that aren't obvious:

* `./data:/app/data` is where Z2M reads `configuration.yaml` and writes its device database. Persisting this directory means paired devices and settings survive container restarts.
* `/run/udev:/run/udev:ro` — without this, Z2M can fail to auto-detect the adapter on some systems. Read-only because Z2M only needs to query udev, not modify it.
* `devices: /dev/ttyUSB0:/dev/ttyUSB0` passes the USB coordinator into the container. Docker handles the permissions, so you don't need to add your user to the `dialout` group on the host.
* For network-attached coordinators, omit the `devices:` mapping — Z2M will use the `tcp://` URL from `configuration.yaml`.

If your coordinator is at a different path (e.g. `/dev/ttyACM0`), update both sides of the `devices:` mapping.

## What goes in the Zigbee2MQTT configuration.yaml?

`~/zigbee2mqtt/data/configuration.yaml`:

```yaml
homeassistant: false
permit_join: false

mqtt:
  base_topic: iot/{your-org-segment}/{your-connection-segment}/zigbee2mqtt
  server: mqtts://mqtt-iot.chirpwireless.io:1884
  user: {username from Chirp}
  password: {password from Chirp}

serial:
  port: /dev/ttyUSB0
  adapter: ezsp

advanced:
  log_level: debug
  channel: 11

frontend:
  enabled: true
  port: 8080
```

Three settings deserve attention:

* **`adapter: ezsp` vs `adapter: zstack`** — this tells Z2M what kind of radio chip your coordinator has. **Sonoff ZBDongle-E (EFR32MG21/MG24)** uses `ezsp`. **Sonoff ZBDongle-P (CC2652P)** uses `zstack`. They look almost identical externally and have the same USB ID, but the protocol is different. Picking the wrong one logs `Error: Failed to find adapter` and Z2M exits. For other adapters, see the [Z2M adapter guide](https://www.zigbee2mqtt.io/guide/adapters/).
* **`log_level: debug`** — leave this on while you're setting things up. At `info` level, Z2M doesn't log MQTT publish lines, which makes it impossible to tell whether the broker connection is working. Switch back to `info` once everything is verified.
* **`channel: 11`** — Zigbee shares the 2.4 GHz band with Wi-Fi. Channels 11, 15, 20, and 25 are commonly chosen because they reduce overlap with the most-used Wi-Fi channels (1, 6, 11). They are not perfectly non-overlapping, but they're the safer starting points if your Wi-Fi uses default channels. **You can't change the Zigbee channel later without re-pairing every device**, so pick once and don't change it.

## How do I start Zigbee2MQTT?

```bash
cd ~/zigbee2mqtt
docker compose up -d
docker compose logs -f zigbee2mqtt
```

You're looking for these lines, in roughly this order:

```
z2m: zigbee-herdsman started (reset)
z2m: Coordinator firmware version: ... type EZSP v13
z2m: Currently 0 devices are joined.
z2m: Connecting to MQTT server at mqtts://mqtt-iot.chirpwireless.io:1884
z2m: Connected to MQTT server
z2m:mqtt: MQTT publish: topic '.../bridge/state', payload '{"state":"online"}'
z2m: Started frontend on port 8080
z2m: Zigbee2MQTT started!
```

The first MQTT publish line is your end-to-end signal: Z2M's bridge announced itself online, the broker accepted it, and Chirp will see the message arrive. You can verify on the Chirp side too — open the connector's detail page and check **Last data received**. Within a few seconds of Z2M starting, this field updates with a timestamp.

If you don't see those log lines, the most common causes are:

* `Error: Failed to find adapter` → wrong `adapter:` value or wrong serial port. Re-check `serial.port` and `serial.adapter`.
* `Error: Failed to connect to MQTT broker` → wrong server URL, credentials, or port. Re-copy the four credentials from Chirp; check for trailing whitespace.
* `SSL handshake failed` → TLS issue. Add `ssl: true` under `mqtt:` and restart.
* `Authentication failed` → wrong username or password. Rotate the connector's credentials in Chirp and update `configuration.yaml`.

### What to expect on first start

Z2M does two things the first time it boots that can look like errors but aren't:

* **It rewrites your `configuration.yaml`.** Z2M reformats the YAML and adds a `version: 5` line at the bottom. Your values are preserved exactly — only formatting changes. Long single-line strings may be wrapped using YAML block-scalar notation (`>-`), which is functionally identical to the original.
* **It creates migration log files** in `~/zigbee2mqtt/data/` named `migration-1-to-2.log` through `migration-4-to-5.log`. These are Z2M's internal config-schema migrations between its own versions. Normal — no action needed.

If you see your `configuration.yaml` looking different after first boot, that's why. The migration logs can be safely ignored.

## How do I open the Zigbee2MQTT web interface?

Z2M ships with a small web interface. Open `http://localhost:8080` (or the IP of your host machine + port 8080 if you're remote). No login by default.

Key things you'll use it for:

* **Permit join** — the green shield icon at the top opens the Zigbee network for new devices to pair (180 seconds at a time).
* **Devices** — list of paired devices, with their IEEE addresses, friendly names, models, and link quality.
* **Logs** — the same output as `docker compose logs -f` but in the browser.
* **Per-device controls** — clicking a device opens a panel where you can rename it, see its current state, and (for actuators like bulbs and plugs) toggle / dim / change settings. These controls publish MQTT `/set` commands, which is also how you can generate a fresh publish during setup-time verification — drag a slider, the bulb confirms the new state, and Z2M re-publishes the payload that Chirp consumes.

## How do I pair my first Zigbee device?

Pairing is device-specific. Generic pattern:

1. In the Z2M web UI, click **Permit join (All)** — the green shield. The Zigbee network is open for 180 seconds.
2. Put your Zigbee device into pairing mode. **The procedure varies by device** — consult the manufacturer's manual or the device's [Z2M page](https://www.zigbee2mqtt.io/supported-devices/). Common patterns:
   * Bulbs: power-cycle 5 times in a row (on/off/on/off/on/off/on/off/on, \~2 seconds each). Many bulbs flash on the 5th on-cycle to signal pairing mode — when they do, **stop cycling and leave them on**.
   * Battery sensors: hold a small reset button (often inside a battery compartment) for 5–10 seconds.
   * Wall-plugs: hold the physical button for 5+ seconds.
3. Within 10–30 seconds, Z2M's web UI shows the device in the Devices list, identified by its IEEE address (`0x...`).
4. Z2M auto-identifies the model from its built-in device database — for most devices, you'll see the brand and model name in the Devices list immediately.

If pairing fails: the 180-second window may have closed (click Permit join again), or the device may already be paired to a previous network and need a factory reset first. Some bulbs need a full reset before they'll accept a new network — see the manufacturer's instructions, or the [Paulmann 50064 walkthrough](/devices/tested-device-guides/zigbee/paulmann-50064-light-bulb) if that's what you're pairing.

## How do I give a Zigbee device a friendly name?

When a device pairs, its initial friendly name is its IEEE address (something like `0x00158d0001abc123`). Rename it to something readable — that name becomes both the device-level MQTT topic Z2M publishes to AND the Device ID you'll enter in Chirp.

In the Z2M web UI:

1. Click the device in the Devices list.
2. Click the pencil icon next to the name.
3. Type a new name. **Avoid spaces** — they cause silent mismatch with Chirp's Device ID input. Use CamelCase (`LivingRoomSensor`) or snake\_case (`living_room_sensor`). Don't use `/`, `#`, or `+` (those are MQTT-reserved characters).
4. Press Enter.

After renaming, Z2M publishes to `{base_topic}/{newName}` immediately. The IEEE-address topic stops receiving data.

## How do I register the Zigbee device in Chirp?

The device is now publishing JSON payloads on a topic like `iot/{org}/{conn}/zigbee2mqtt/LivingRoomSensor`. Now register it in Chirp.

Continue with [MQTT Devices](/devices/mqtt-devices) to register the sensor, configure routing on Connection, select its received data keys on Mapping and check recorded readings. The [routing reference](/connectors/mqtt-connector/topics-and-device-routing) explains every topic control.

## Where to go next

* [Topics and device routing](/connectors/mqtt-connector/topics-and-device-routing) — register the device.
* [Sonoff ZBDongle-E coordinator walkthrough](/gateways/zigbee2mqtt-hubs/sonoff-zbdongle-e-coordinator) — if you have this exact dongle and want the physical-install detail.
* [Paulmann 50064 light bulb walkthrough](/devices/tested-device-guides/zigbee/paulmann-50064-light-bulb) — if you have this exact bulb and want the pairing-procedure detail.
* [Troubleshooting](/connectors/mqtt-connector/troubleshooting) — when something isn't working.


# Troubleshooting

Fix MQTT data that isn't reaching Chirp — empty Logs, topic mismatches, and devices that won't publish.

When MQTT data isn't reaching Chirp, the failure is almost always at one of three places: Z2M-to-broker, broker-to-Chirp, or Chirp's device routing. This page walks through each in order — the same order to use when diagnosing — plus the two patterns that catch out almost every first-time MQTT user (empty Logs tab, no publish from a wall-switch toggle).

**Start by letting Chirp narrow it down for you.** Open the device's **Connection** tab and read its diagnostics — they say whether messages are arriving, whether Chirp understood them, and whether they're being saved, which usually points straight at the right phase below. See [Connection Diagnostics](/devices/connection-diagnostics). For the connector itself, its **Connector diagnostics** area has **Source health**, **Incoming**, and **Activity** tabs — the fastest way to tell a broker problem from a single misbehaving device.

## Why is Zigbee2MQTT not connecting to the broker?

**Symptoms:** Z2M container is running, but the connector's **Last data received** in Chirp never updates. No `MQTT publish` log lines from Z2M.

Check `docker compose logs zigbee2mqtt` for one of these:

| Log line                                   | Cause                                                                  | Fix                                                                                                                                                                                                                                                    |
| ------------------------------------------ | ---------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `Error: Failed to find adapter`            | Wrong `adapter:` value in `configuration.yaml`, or wrong `serial.port` | For Sonoff ZBDongle-E (EFR32MG24): `adapter: ezsp`. For ZBDongle-P (CC2652P): `adapter: zstack`. Check the dongle packaging or label — the USB ID is the same for both. Verify `serial.port` matches the actual `/dev/ttyUSB*` device (\`ls /dev/tty\* |
| `Error: Failed to connect to MQTT broker`  | Wrong server URL, port, or credentials                                 | Re-copy all four credentials from Chirp's connector page. Check for trailing whitespace — `\n` at the end of a copied password is a common cause. Verify the port is **1884** for Cloud MQTT (not the default 1883).                                   |
| `SSL handshake failed`                     | TLS negotiation issue                                                  | Add `ssl: true` under the `mqtt:` section of `configuration.yaml` and restart Z2M.                                                                                                                                                                     |
| `Authentication failed`                    | Wrong username or password                                             | If the password was lost, rotate the credentials from Chirp's connector settings, then update `configuration.yaml` with the new password.                                                                                                              |
| (no MQTT lines, but connection looks fine) | `log_level: info` is hiding publish events                             | Change to `log_level: debug` in `configuration.yaml` and restart Z2M. The `MQTT publish` lines are only logged at debug.                                                                                                                               |

The first MQTT message Z2M sends is its bridge state announcement (`{base_topic}/bridge/state`, payload `{"state":"online"}`). If you see that line in the logs, Z2M is connected and the broker accepted the connection. From there, problems are downstream.

## Why doesn't Last data received update when Zigbee2MQTT publishes?

**Symptoms:** Z2M log shows `MQTT publish: topic '...' payload '...'` lines, but Chirp's connector page shows **Last data received** is still empty.

This is rare — if the Z2M side is publishing successfully on a topic that starts with the right Topic prefix, the broker accepts it. Things to verify:

* **Topic prefix matches.** Z2M's `base_topic` must start with the exact Topic prefix Chirp gave you. For Cloud MQTT, that's `iot/{org}/{conn}/zigbee2mqtt` — the first three segments must match exactly what Chirp's connector page shows.
* **The connector is the right one.** If you have multiple Cloud MQTT connectors, double-check which one Z2M is configured against. The Topic prefix is unique per connector.

## Why is the device's Mapping tab empty?

**Symptoms:** The connector shows recent Last data received timestamps, but when you open a registered device, the Mapping tab's Value column is empty and nothing's coming in.

This is a device-routing problem inside Chirp. The connector is receiving messages but they're not matching the device record.

* **Device ID Topic pattern doesn't match the published topic.** Z2M publishes to `zigbee2mqtt/{friendlyName}` (after Chirp strips the prefix). The Device ID Topic field must be `zigbee2mqtt/{{deviceId}}` — exactly. Common mistakes: leading slash, missing the `zigbee2mqtt/` prefix, an extra path segment that the published topic doesn't have.
* **Device ID differs from the publisher’s identifier.** Line the configured ID up against the real topic segment or payload field, looking closely at capital letters and spaces, because MQTT IDs keep both. If you are swapping the hardware behind an identity that is already bound, keep the existing twin; [MQTT Devices](/devices/mqtt-devices) explains how.

Verify what Z2M is publishing right now:

```bash
docker compose logs --tail 200 zigbee2mqtt | grep "MQTT publish" | grep -v bridge | tail -5
```

The topic in those lines is what your Device ID Topic and Device ID need to match against.

## Why does the Logs tab stay empty?

**Symptoms:** Open a registered device, the Mapping tab shows live values and Last update timestamps, but the Logs tab stays empty even after toggling the device. The most common cause of "is this thing broken?"

The two tabs show different information:

* **Mapping tab Value column** = a live snapshot of the most recent payload. Updates on every accepted publish, regardless of whether you've finished setting up Device data keys.
* **Logs tab** = per-sensor history. Populated only by publishes that arrive *after* you've saved Device data keys for that sensor.

If the most recent publish happened before you saved Device data keys, that publish never reaches Logs — only future publishes will. The fix is to **generate a fresh publish**.

For a Zigbee device the cleanest way is to use the Z2M web UI:

1. Open `http://localhost:8080`.
2. Click your device.
3. Drag a control — the brightness slider on a bulb, the on/off toggle on a plug, etc.

Z2M sends a `/set` command, the device confirms the new state, and Z2M publishes the confirmed payload back. That publish flows through Chirp into the Logs tab.

Alternatively, you can poll the device with a `/get` request via `mosquitto_pub` — useful when the device doesn't have a controllable state (a temperature sensor, for example).

## Why don't wall-switch toggles publish messages?

**Symptoms:** You toggle the wall switch for a Zigbee bulb. The light comes on. The Logs tab still shows nothing.

Many Zigbee CCT bulbs (the Paulmann 50064 confirmed; many other brands behave the same) **don't send an MQTT publish on a physical power-cycle**. The bulb's firmware only reports state changes that came in over Zigbee — not changes caused by the wall switch.

Actions that **do** generate a publish:

| Action                                                                           | Notes                                                                                                                                                                                                         |
| -------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Drag a control or click the toggle in the Z2M web UI                             | Z2M sends `/set` over Zigbee, bulb confirms, Z2M publishes the new state. The cleanest setup-time check.                                                                                                      |
| `mosquitto_pub` to `{base_topic}/{friendlyName}/get` with `{"state":""}` payload | Forces Z2M to poll the bulb for current state and publish what it reads back. Useful for non-controllable devices and for forcing a publish on demand. Local Z2M-side verification, not a Chirp control path. |
| Wait for the device's next scheduled report                                      | Battery sensors typically wake on a schedule (every 5 minutes, every hour, etc.). Mains-powered bulbs without state-change reporting won't publish unless commanded.                                          |

## How do I force Zigbee2MQTT to publish?

The `/get` request is the tool of last resort when you need a current-state publish from a device that won't generate one on its own. Send a JSON payload with empty strings as values for the keys you want the bulb to report:

```bash
docker run --rm eclipse-mosquitto:2 mosquitto_pub \
  -h mqtt-iot.chirpwireless.io \
  -p 1884 \
  --cafile /etc/ssl/certs/ca-certificates.crt \
  -u {your-cloud-mqtt-username} \
  -P '{your-cloud-mqtt-password}' \
  -t "iot/{org}/{conn}/zigbee2mqtt/{friendlyName}/get" \
  -m '{"state":"","brightness":"","color_temp":""}'
```

(Use your actual Cloud MQTT credentials and connection prefix.)

Z2M sends ZCL read requests to the bulb and publishes one or more responses with the current state. One `/get` can produce 2–4 publishes back as Z2M polls different attribute clusters in sequence — that's normal.

This is local Z2M-side verification — it generates a publish that Chirp consumes. It's not a Chirp API control surface.

## What if a Zigbee device won't pair?

Pairing failures are entirely a Z2M / coordinator / device problem — Chirp isn't involved. The usual culprits:

* **Permit join is closed.** The 180-second window has expired. Click Permit join again in the Z2M web UI.
* **Device is already paired to another network.** Many Zigbee devices remember the last network they joined. Factory-reset the device first (procedure varies — check the manufacturer's instructions or the device's [Z2M page](https://www.zigbee2mqtt.io/supported-devices/)).
* **Coordinator range too short.** Move the device within 1–2 meters of the coordinator for initial pairing. After joining, Zigbee mesh routing handles distance — but the first join needs proximity.
* **Wrong reset procedure.** Different devices need different reset sequences. Bulbs often require a 5×-power-cycle pattern. Sensors usually have a small button. Always follow the manufacturer's guide.

For the Paulmann 50064 specifically, see the [tested device guide](/devices/tested-device-guides/zigbee/paulmann-50064-light-bulb) — the 5×-cycle-then-stop procedure is documented there with the timing details.

## How do I reset Cloud MQTT credentials?

If the Cloud MQTT password is lost or compromised:

1. Open the connector in Chirp.
2. In edit mode, regenerate the password.
3. Copy the new password.
4. Update Z2M's `configuration.yaml` (`mqtt: password:`).
5. Restart the Z2M container: `docker compose restart zigbee2mqtt`.

The username and Topic prefix don't change on rotation.

## Where to go next

* Back to [Topics and device routing](/connectors/mqtt-connector/topics-and-device-routing) — to confirm the Device ID Topic pattern and friendly-name rules.
* [Setting up Zigbee2MQTT](/connectors/mqtt-connector/zigbee2mqtt) — to recheck the Z2M install.

## Why are some measurement values rejected?

If incoming fields update but one measurement has no fresh history, compare its template Type with the actual payload. `"ON"`/`"OFF"` need String; Boolean accepts actual booleans and supported true/false or 0/1 forms. Incompatible values are rejected individually, not stored as nulls. See [Connection Diagnostics](/devices/connection-diagnostics).


# Emulator Connector

Try Chirp before your sensors arrive — pretend sensors that make up their own readings, so your dashboards and alerts are ready on day one.

You have ordered a leak sensor. It arrives on Thursday. Until now there was nothing to do until then — no dashboard to arrange, no alert to set up, nothing to look at.

The Emulator fixes that. It gives you **pretend sensors that invent their own readings**, so you can lay out your dashboard, write your alerts, and watch them actually go off — days before anything turns up in the post. And when the real sensor does arrive, you point that same device at it and keep everything you set up.

<figure><img src="https://1153890212-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxgYoHO4zlaBzHJcfIrto%2Fuploads%2Fgit-blob-d6f160503528d5d97136be398baa34df0aa58f76%2Femulator-connector-list.jpg?alt=media" alt="The Connectors page in Chirp showing an Emulator connection alongside Tracker and LoRaWAN"><figcaption></figcaption></figure>

## Why you would use it

* **To try Chirp properly before buying anything.** Set up the home you are thinking about and see whether it works the way you want.
* **To get everything ready while you wait for delivery.** The fiddly part of a new sensor is not sticking it to the wall — it is deciding what should happen when it reads something. Do that first.
* **To test an alert without ruining a Sunday.** Want to know your leak alert really reaches your phone? You do not have to pour water on the floor. Type the number and watch it fire.

## Setting it up

Go to **Connectors → Add connector** and pick **Emulator**. That's it — there is nothing to fill in, no account to link, no code to copy. One per home.

## Then make a pretend sensor

Everything else happens on the sensor itself, not here. Once the connection exists you add a sensor, point it at the Emulator, choose what it measures, and drive its readings from its own **Emulator** tab.

**See** [**Pretend Sensors**](/devices/pretend-sensors) for the whole thing: making one, picking a real sensor model, sending a reading to test an alert, and switching it over to the real sensor when it turns up.

## See also

* [Pretend Sensors](/devices/pretend-sensors) — make one, and make it send something
* [Adding Sensors](/devices/adding-sensors) — the normal way, once your hardware is here
* [Rules Engine](/rules-engine) — the automations you can now build early
* [Alarms](/alarm) — and the alerts you can finally test properly


# Devices

Learn how Chirp digital twins keep your car or home device's readings together when you replace its tracker or sensor.

Every device you add to Chirp has a lasting digital record called a **digital twin**. It can stand for something you care about—your family car, the living room's temperature, or a garden watering valve. The physical tracker or sensor sends readings to that record. Its hardware can change while the digital device stays in place.

For example, you want to know where your car has been, not maintain a separate history for every tracker you have fitted to it. Name the digital device **Family Car** and connect your GPS tracker to it. If the tracker fails, you can attach its replacement to Family Car and keep the location readings already stored on that device.

<figure><img src="https://1153890212-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxgYoHO4zlaBzHJcfIrto%2Fuploads%2Fgit-blob-f6c1838f3fdfed7a714963677b8c7ed149cf91ff%2Fchirpdevicelist.jpg?alt=media" alt="Chirp Devices list with named digital devices and their connection status"><figcaption><p>Name a device for what you want to follow, such as Family Car, so it remains recognizable when hardware changes.</p></figcaption></figure>

## Why do my car and its tracker have different roles?

The **digital device** is Family Car. It holds the name, photo, measurement settings, and recorded readings. The **physical tracker** is the box installed in the car. The **Tracker connector** receives the messages it sends over the mobile network.

A tracker can report several readings, such as latitude, longitude, and speed. Each reading is mapped to a metric, which gives it a consistent meaning and unit in Chirp. What the tracker reports depends on its model and configuration.

One digital device has one connected source at a time, and that source can supply several measurements. Other sources include LoRaWAN sensors, equipment connected through MQTT, and the [Emulator](/devices/pretend-sensors), which generates readings for you.

## How do I keep the car's record when its tracker changes?

Suppose your car's tracker stops working. Instead of adding a second device called Family Car, open the existing one and replace its physical connection. The car's digital twin and existing measurement channels remain in place.

After entering the replacement tracker's **Unique ID** and **Device model**, configure it to send to the displayed **Url for GPS tracker**. Map its location fields to the existing latitude and longitude measurements, then check that new readings arrive. The dashboard **Map** widget can show the car's retained location history from before and after the replacement. Select **History** and a date range spanning the change. The **Logs** tab lets you inspect the coordinate readings themselves.

This preserves the car's recorded location measurements without starting a separate device history. It cannot recover positions the failed tracker never sent. Keep the same measurement rows and change their source fields; removing a measurement and adding it again does not reconnect its old history.

The step-by-step guide is [Replace your car's tracker](/devices/sensor-details#how-do-i-replace-my-cars-tracker). For the first installation, start with the [Tracker Connector](/connectors/tracker-connector). [Tracking What Matters](/dashboards/tracking-what-matters) explains viewing the car's route on a dashboard.

## Does the same idea apply around my home?

A living-room temperature sensor may need replacing, while the room and the comfort settings you use stay the same. Keep the room's digital device, attach the new sensor, and map its temperature reading to the existing measurement. Your dashboard and automations can keep referring to that measurement.

For a controllable device, such as a garden valve, the twin can also hold [commands](/devices/commands). Check command settings when fitting a different model: a saved action still needs a payload and connection that the new hardware understands.

You can create a digital device before the hardware arrives. [Pretend Sensors](/devices/pretend-sensors) explains how to generate readings to prepare your setup. Those generated readings also enter history, so keep them separate from real observations when reviewing what happened at home.

## How does history depend on my subscription?

Keeping the same twin preserves the link to its stored readings; your subscription determines how far back you can access them. Hardware replacement does not restart the retention period. See [Keeping your data history](/account/subscription#keeping-your-data-history) for details and how to discuss a longer period.

## How do I choose the source for my digital twin?

| Source                                                        | Start here                                                                                                                    |
| ------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- |
| LoRaWAN sensor                                                | [LoRaWAN Devices](/devices/lorawan-devices) covers the profile, the radio identity, decoding, and getting your first readings |
| Sensor that publishes over MQTT, directly or through a bridge | [MQTT Devices](/devices/mqtt-devices) shows how to tie the messages to a digital device and its measurements                  |
| GPS tracker                                                   | [Tracker Connector](/connectors/tracker-connector) — tracker identity, model and reporting endpoint                           |
| Generated readings                                            | [Pretend Sensors](/devices/pretend-sensors) — prepare dashboards before the sensor arrives                                    |

## What's in this section

* [Adding Sensors](/devices/adding-sensors) — register a sensor and map what it measures
* [Pretend Sensors](/devices/pretend-sensors) — get set up before your hardware arrives
* [Data Templates](/devices/data-templates) — what your readings mean, with the right units
* [What Your Device Is Sending](/devices/what-your-device-is-sending) — see the fields your sensor reports, and what they say
* [Sensor Details](/devices/sensor-details) — replace hardware, reconnect readings, and review retained history
* [Connection Diagnostics](/devices/connection-diagnostics) — added a sensor but nothing's showing up?
* [Rooms](/devices/rooms) — make devices easy to recognize by room
* [Favorite Devices](/devices/favorite-devices) — star the ones you check most
* [Controlling Your Devices](/devices/commands) — turn things on and off, not just watch them
* [Tested Device Guides](/devices/tested-device-guides) — sensors we've paired end-to-end ourselves


# Adding Sensors

Register a LoRaWAN, tracker, MQTT or pretend sensor in Chirp and map its readings, step by step.

Adding a device creates its **digital twin**—the record Chirp uses to keep its name, settings, and readings together. Give it a name for what you want to follow, such as **Family Car** or **Living Room Temperature**, then connect the tracker or sensor that supplies its data.

You can save this record before the hardware is connected. The [Emulator](/devices/pretend-sensors) can supply generated readings while you prepare your dashboard and automations.

Replacing a broken tracker or sensor is a different task: open its existing digital device so you keep its recorded measurements. See [Sensor Details](/devices/sensor-details#how-do-i-replace-my-cars-tracker).

## What do I need before I add a sensor?

You'll need:

* **A connection** set up — an LNS connection for LoRaWAN sensors, a Tracker connection for vehicle trackers, a Cloud MQTT connector for Zigbee2MQTT and other MQTT-publishing hardware, or an Emulator connection if your sensor hasn't arrived yet. See [Setting Up a Connection](/connectors/setting-up-a-connection) and the [MQTT Connector](/connectors/mqtt-connector) docs.
* **Your sensor's identifiers** — for LoRaWAN sensors: the **Device EUI** and **AppKey**, usually printed on the sensor or its packaging. For trackers: the **Unique ID** from the manufacturer. For MQTT sensors: the **device-level topic identifier** that the device publishes under — for Zigbee2MQTT this is the friendly name. The Device ID field in Chirp must match it exactly, including case and spaces. A [pretend sensor](/devices/pretend-sensors) needs none of this — you choose its Device ID yourself, within the naming rules on that page.
* **For MQTT sensors only — the device must be publishing before you can finish mapping.** The Device data key dropdown in the Mapping tab is populated from payload keys actually received from the device. See the [MQTT-specific note](#a-note-for-mqtt-sensors) further down for the two-pass save flow.

## Where do I add a sensor?

There are several ways to start — they all open the same registration page:

* **Devices in the sidebar** — Click **Devices**, then click **Add device** in the top-right corner.
* **From a connection** — Open your LNS or Tracker connection, then click the **+** (Add device) button on the connection row, or open the connection and click **Add device** in the Connected Devices tab.

## How do I create the sensor profile?

The page opens in Add mode, showing only the basic sensor info. No tabs or navigation are visible yet.

* **Device photos** — Snap a picture of the sensor so you can easily identify it later. Helpful when you have several similar-looking sensors.
* **Device name** — Give it a name that tells you what it is and where it is. "Kitchen Temperature" is much more useful than "Sensor 4."

Enter a name for your sensor and click **Save**. The profile is created and the page transitions to edit mode.

For a car, use **Family Car** as the name and enter the tracker's hardware identifier in **Connection**. That way you can recognize the same car in Chirp after fitting another tracker.

## How do I configure the connection and details?

After the first save, the page shows with **Device info**, **Connection**, **Mapping** and **Logs** tabs, and a **Next** button for navigating between them. Two more appear when they apply: **Commands & States** on a device you can switch on and off, and **Emulator** on a pretend sensor.

### Connection

Click the **Connection** tab to link your sensor to the thing that feeds it.

**For LoRaWAN sensors (LNS connection):** Follow [LoRaWAN Devices](/devices/lorawan-devices) for identifiers, profile templates and manual fields, codecs, reporting interval and network joining.

#### Keep the identifiers somewhere safe

Use **Add to Vault** to store the sensor's EUI/key pair in [Key Vault](/reports/key-vault). See [identity and credentials](/devices/lorawan-devices#identity-and-credentials).

#### Code functions (codec)

The LoRaWAN codec turns binary uplinks into named readings. See [Templates and manual profiles](/devices/lorawan-devices#templates-and-manual-profiles) for selecting or supplying it.

#### Data sending interval

Enter the physical sensor's reporting schedule: a positive whole number and minute/hour/day/week/month. The initial value is 1 hour. This describes the expected cadence; it does not change hardware settings. For a [pretend sensor](/devices/pretend-sensors), it controls generation instead.

**For vehicle trackers (Tracker connection):**

1. Select your **Tracker** connection from the **Connector type** dropdown.
2. Enter the **Unique ID** for your tracker.
3. Select a **Device model** by searching the tracker library.
4. A **Url for GPS tracker** panel appears — copy this URL and configure your tracker to send data to it.

**For MQTT sensors (Cloud MQTT):** Follow [MQTT Devices](/devices/mqtt-devices) to save the connection and topic routing, receive a message, then map its readings. Device ID must match the publisher's identifier, including case and spaces.

**For pretend sensors (Emulator connection):**

1. Select your **Emulator** connection from the **Connector type** dropdown.
2. Choose a **Device ID** — up to 64 characters (letters, numbers, spaces, dots, underscores, dashes), unique across all of Chirp. See [Pretend Sensors](/devices/pretend-sensors).
3. Say **how often it reports**, and either tick **Use device preset** to borrow a real model's readings or add them yourself.

Chirp then invents the readings for you, and an extra **Emulator** tab appears so you can push a value whenever you want to test something. This is how you get your dashboards and alerts working before the hardware arrives — and you can switch the same sensor over to the real one when it does. See [Pretend Sensors](/devices/pretend-sensors).

### Mapping <a href="#metrics" id="metrics"></a>

Every column of the mapping table, creating a metric on the spot, and what happens right away when you change or remove a template are explained under [mapping controls](/devices/sensor-details#metrics).

Click the **Mapping** tab to map your sensor's raw data to measurement definitions. A profile supplies the network configuration and codec. Assign measurement templates and device data keys here after the source has reported, or return later to finish mapping.

#### See what your sensor is sending

Once your sensor is connected and transmitting, the Mapping tab shows a live view of the raw data — a table listing every field your sensor sends, its current value, and when it last updated. You see exactly what's coming in, with the actual field names the sensor uses (like `t`, `hum`, `battery_mv`, or whatever the manufacturer chose).

Come back to this table any time you need to know what a device reports and how it words it — writing an automation condition, or setting up a check on a command. See [What Your Device Is Sending](/devices/what-your-device-is-sending).

#### Map raw fields to your data templates

This is where cryptic sensor output becomes something you can actually read. When you map a raw field like `t` to a data template called "Temperature" with the unit °C, Chirp starts displaying that reading as "Temperature (°C)" everywhere — in dashboards, automations, alerts, and history charts. You're giving each raw field a proper name, unit, and format.

To set up a mapping:

1. **Add a metric** — Click **Add key** and pick a data template from the dropdown (e.g., "Temperature", °C, Float). The Unit, Type, and Data type columns fill in automatically from the template. If you need a template that doesn't exist yet, create one in [Data Templates](/devices/data-templates).
2. **Choose the matching field** — In the **Device data key** dropdown, pick the raw field name that carries this measurement (e.g., pick `t` if your sensor sends temperature as `t`).
3. **Save** — The next matching transmission supplies the measurement to dashboards, automations, alerts, and history.

If the Device data key is not filled in, the data for that metric will be ignored.

Add as many metrics as your sensor reports — you can map them all in one go.

#### Works with any sensor — even prototypes

A library preset is optional for getting measurements flowing. What the device cannot do without is a compatible connector and a way to decode its data, meaning a LoRaWAN codec, an MQTT message in a supported shape, or the matching adapter. Once named fields arrive, map the readings you need. See [LoRaWAN Devices](/devices/lorawan-devices) and [MQTT Devices](/devices/mqtt-devices).

#### A note for MQTT sensors

The **Device data key** dropdown fills after messages arrive. Save the connection first, let the sensor publish, then select the received keys for your measurements and save. Wait for another message to see stored history. See [MQTT Devices](/devices/mqtt-devices#how-do-i-map-mqtt-messages-to-measurements).

### Logs

The Logs tab is empty until your sensor starts sending data. After you save mappings and a fresh message arrives, stored measurement values appear here grouped by minute.

Click **Save** again to persist the connection and metrics configuration.

A disabled **Save** can mean a missing name, no permission to edit devices, or a subscription restriction. Adding another device also needs an available device slot.

## What happens after I save a sensor?

Your sensor's profile appears in the sensor lists throughout Chirp.

For LoRaWAN sensors, data starts flowing once the sensor powers on and connects to your gateway. For trackers, data flows once the physical device starts reporting to the URL you configured.

Worth knowing about that LoRaWAN connection: registering the sensor here sets Chirp up to recognize it, but the sensor still has to *join* the network itself before it sends anything. A sensor straight out of the box does that on its own the moment you power it up. A sensor with a past life — second-hand, inherited with the house, or previously set up on something else — is still joined to that old network and needs a reset before it will join yours. See [First things first: joining the network](/devices/connection-diagnostics#how-do-i-check-that-my-sensor-joined-the-network).

**Saved everything and still seeing no readings?** Don't start pulling batteries out. Open the sensor's **Connection** tab — Chirp will tell you exactly where the data has stopped and what to do about it. See [Connection Diagnostics](/devices/connection-diagnostics).

The device page adapts to a phone screen, so you can enter its details while installing it.

## What's next

* **Customize data templates** if Chirp doesn't automatically recognize what your sensor measures. See [Data Templates](/devices/data-templates).
* **View and edit your sensor** anytime. See [Sensor Details](/devices/sensor-details).
* **Nothing showing up?** See [Connection Diagnostics](/devices/connection-diagnostics).

## How do I check a key without exposing it?

While entering an **AppKey**, you can see what you type. Click outside the field or press Enter to hide it again. The eye button lets you reveal it when needed; a key filled from a QR code stays hidden. Close the visible-key state before sharing a screenshot.


# LoRaWAN Devices

Connect LoRaWAN sensors to Chirp digital twins: device profiles, keys, decoding, measurement mapping, commands and replacement.

LoRaWAN sensors talk by radio: they transmit tiny readings, a nearby gateway picks them up, and Chirp's LNS connector, with its built-in LoRaWAN Network Server, takes it from there. The sensor is only the source of the numbers. Everything you actually look at in dashboards and automations lives on its **digital twin**: the name, the measurement channels and the retained history.

Picture a **Garden Soil** device. Swap the soil-moisture probe next spring and the readings you rely on for watering decisions stay put. Pick this connection when your hardware speaks LoRaWAN; sensors that use Wi-Fi or Zigbee go through a different route.

## What do I need before I connect a LoRaWAN device?

* Set up the [LNS connector](/connectors/lns-connector) and make sure a connected [LoRaWAN gateway](/gateways/lorawan-gateways) covers the spot where the sensor will sit. Installing the gateway and activating the network are separate jobs from registering the sensor.
* Collect these from the manufacturer: the sensor's **Device EUI**, its **AppKey**, the model, the frequency band, the class, and a payload codec that fits the model. The band has to suit both the hardware and your gateway; [LoRaWAN Frequencies](/connectors/lns-connector/lorawan-frequencies) lists the options.
* Your account needs permission to create and edit devices, and your plan needs room for one more twin. Users with read-only access can look at the configuration but cannot save.

## How do I connect the sensor to its digital twin?

1. Go to **Devices → Add device**, or press **Add device** on the LNS connector's row.
2. Type a **Device name** such as **Garden Soil**, add photos if you like, and click **Save**. That creates the digital record before any hardware is attached. [Shared registration steps](/devices/adding-sensors) cover profile and Application settings.
3. Switch to **Connection** and pick your LNS connection under **Connector type**.
4. Fill in the sensor's identity and profile, following the reference tables below.
5. Enter the real reporting schedule in **Data sending interval** and click **Save**.
6. Make the sensor join the network by following the manufacturer's commissioning steps; saving the registration does not start a radio join by itself. A sensor that was commissioned elsewhere may first need a rejoin or reset. Follow the manufacturer's instructions, because simply cutting the power often is not enough.
7. Once the first uplink shows up, go to **Mapping**, assign the decoded readings and save. After the next uplink arrives, open **Logs** to see the recorded measurements.

### Identity and credentials

| Control                    | What to enter or do                                                                                                                                                                                                                                                                                                                                                                                                                   |
| -------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Connector type**         | Choose the LNS connection that belongs to your organization. Missing from the list? Use **Connector section** to create it. After the physical device is bound, the connection and identity stay locked during normal editing.                                                                                                                                                                                                        |
| **Device EUI**             | The sensor's 8-byte identifier from the manufacturer: 16 hexadecimal characters, shown in pairs of bytes. It names the hardware, not the thing you are monitoring, and becomes read-only once the device is bound.                                                                                                                                                                                                                    |
| **Scan QR code**           | Point your browser's camera at a compatible label. A scan can fill in Device EUI and, if the code includes one, AppKey. Check what was filled in. No camera, or camera access refused? Type the values yourself.                                                                                                                                                                                                                      |
| **AppKey**                 | The sensor's 16-byte activation key, written as 32 hexadecimal characters. Use the key that is set on the hardware itself; a profile template never carries the key of your individual sensor. While you type, the key is visible, and it is hidden again when you leave the field or press Enter. The eye icon toggles a non-empty key, and a key that arrived through a QR scan stays hidden. Keep it out of screenshots you share. |
| **Add to Vault**           | Stores the EUI and key as a pair in [Key Vault](/reports/key-vault) while you still have the credentials in front of you. Saving to the vault is a separate action from saving the device's connection.                                                                                                                                                                                                                               |
| **Detach physical device** | Removes the hardware binding at once. Reach for it when swapping hardware, then bind the replacement to the same twin. The measurement rows can stay as they are; only their incoming keys need remapping. [Replacement and history](/devices/sensor-details) walks through it.                                                                                                                                                       |

### Templates and manual profiles

A **device profile** carries the radio settings plus a **codec**, a piece of JavaScript that turns the sensor's binary uplinks into named readings. It does not build the measurement mappings for you.

| Control                          | Configuration                                                                                                                                                                                                                                                                                                                                                                           |
| -------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Use device profile templates** | Turn on to choose a known profile; turn off to type the profile in by hand. Whatever gets filled in, look it over before saving, particularly when firmware or regional variants differ.                                                                                                                                                                                                |
| **Brand** (template selector)    | Pick the manufacturer. The choice decides which models you can select.                                                                                                                                                                                                                                                                                                                  |
| **Model** (template selector)    | Pick the hardware model. The choice decides which regional profiles appear.                                                                                                                                                                                                                                                                                                             |
| **Profile**                      | Pick the regional profile that fits. It fills in the profile's class, band and codec, and can overwrite values you entered earlier.                                                                                                                                                                                                                                                     |
| **Class A / Class C**            | Required. Pick the class the sensor really supports or has been set to. Class A only listens for downlinks in short windows right after it transmits, while Class C keeps listening between transmissions. Choosing Class C in the form does not turn Class A hardware into an always-listening device. Commands can be defined for both classes, but the delivery timing is different. |
| **Brand / Model** (text fields)  | Required names of the manufacturer and the model for the saved profile. They stay visible and editable after you choose a template.                                                                                                                                                                                                                                                     |
| **Band**                         | Required regional radio plan, with EU868, US915, AU915, AS923, KR920, IN865, RU864, CN470, CN779, EU433 and ISM2400 on offer. Use the plan that matches both sensor and gateway.                                                                                                                                                                                                        |
| **Code functions**               | Review or paste the codec supplied for your sensor. A radio message that arrives without a suitable decoder does not necessarily yield measurement fields you can use. Edits apply to messages received after you save; history that was already decoded is not decoded again.                                                                                                          |
| **Data sending interval**        | A positive whole number plus a unit: **minute**, **hour**, **day**, **week** or **month**. It starts at **1 hour**. Set it to match the hardware's real schedule. Diagnostics use it to know when to expect data, but it never changes how the physical sensor transmits.                                                                                                               |

Always take the codec made for the exact model and payload format. The **Code functions** editor may also hold the codec's downlink encoder; the [custom encoder](/devices/commands/creating-commands) section of the command guide explains when a command relies on it and when it brings its own.

## How do I map the readings I need?

Say a probe decodes into `temperature` and `battery`. Go to **Mapping**, click **Add key**, pick a **Normalized key** template, then choose the matching **Device data key**. For decimal temperatures, take a template with the right unit and the Float type. Save your assignments and wait for a fresh uplink.

A template fixes the meaning, the unit and the value type; choosing °C does not convert a reading that is in Fahrenheit. The **Value** and **Last update** columns help you recognize an incoming field, and **Logs** shows the retained measurements once mapping is done. [Mapping controls](/devices/sensor-details#metrics), [metric templates](/devices/data-templates) and [payload interpretation](/devices/what-your-device-is-sending) cover every field and the conversion rules.

## How do commands and ongoing operation work for LoRaWAN devices?

Once the physical binding is saved, devices that support it get a **Commands & States** area. Press **Add new command** to define an action the hardware can carry out. On LoRaWAN, a command needs an **fPort** and an encoded payload; the **Confirmed downlink** switch decides whether the radio acknowledges it, and the verification settings then check what the device reports back. Details are in [Creating Commands](/devices/commands/creating-commands) and [verification](/devices/commands/verification).

With **Garden Soil**, the readings you mapped can drive a chart and an alarm at the same time. When the probe has to be replaced, keep the twin and its measurement rows and connect the new probe's decoded fields to them. Retained history stays available for as long as your plan's retention period allows.

## Why don't readings arrive from my LoRaWAN device?

| What you see                                | What to check                                                                                                                                                                   |
| ------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Save fails                                  | Whether every required identity and profile field is filled, whether you may edit devices, whether your plan allows it, and whether another device already uses the identifier. |
| The sensor never joins or sends an uplink   | Gateway reception, the regional band, the EUI and AppKey, power to the hardware, and the manufacturer's join procedure.                                                         |
| Uplinks arrive, but some fields are missing | Whether the codec fits, the firmware version, and the keys the decoder really produces.                                                                                         |
| Values show up but there is no history      | Saved key mappings, template types that fit, and a new uplink after saving.                                                                                                     |
| An unexpected missing-data status           | The sensor's real reporting schedule against the Data sending interval you set. Command execution has its own last-seen check.                                                  |

Continue with [device diagnostics](/devices/connection-diagnostics) for reception status and processing errors.


# MQTT Devices

Connect MQTT equipment to Chirp digital twins, configure device routing, map readings, check history and replace hardware.

An **MQTT device** gets its readings into Chirp by publishing messages to an MQTT broker. The publisher may be equipment with a built-in MQTT client, or a sensor that reaches the broker through a bridge. Three things work together: the broker connection moves the messages, the device's routing settings tie each message to a **digital twin**, and the mapping converts message fields into stored measurements.

A Zigbee temperature sensor is a good example: it can report through Zigbee2MQTT to a twin called **Living Room Climate**. If you swap the sensor later, the room's measurements stay together in Chirp.

## What do I need before I connect an MQTT device?

* Set up a [Cloud MQTT](/connectors/mqtt-connector/cloud-mqtt) connection, which gives your equipment a Chirp-hosted broker. Its address, credentials and connectivity are covered in that guide.
* Keep the publisher's exact topic and a sample payload at hand, and make the hardware or bridge publish before you finish measurement mapping.
* Your account needs permission to create and edit devices, and your plan must have room for one more twin. With read-only access you can view the settings but not change them.

If the hardware is Zigbee, begin with [Setting up Zigbee2MQTT](/connectors/mqtt-connector/zigbee2mqtt). Chirp only sees the MQTT messages from the bridge; the sensor itself keeps speaking Zigbee. Pairing and installing the bridge are handled in that guide.

## How do I connect one MQTT device?

1. Go to **Devices → Add device**, or press **Add device** on your MQTT connector's row.
2. Type a **Device name** such as **Living Room Climate**, add photos if you want, and click **Save**. The [shared registration steps](/devices/adding-sensors) explain profile and Application settings.
3. On **Connection**, choose your MQTT connection in **Connector type**. For this example, set **Device ID** to `LivingRoomSensor`.
4. Under **MQTT Topic for device ID**, add a **Text segment** with the text `zigbee2mqtt`, followed by a **Device ID** segment. **Where to get the device ID** stays on **Topic**. The resulting device-level pattern is `zigbee2mqtt/{{deviceId}}`.
5. Check **Resolved preview** against the topic the publisher really uses. With Cloud MQTT the preview shows the connector's locked prefix, and the publisher has to publish with that same prefix.
6. For the JSON example below, **Topic Telemetry** stays empty. Enter the cadence you expect in **Data sending interval** and click **Save**.
7. Have the publisher send a new message, then open **Mapping** and choose the templates and received keys for the measurements you want. Save, and let one more message come in.
8. Open **Logs**, pick a date range that includes that message, and check that the mapped measurements have recorded values.

### Example topic and payload

| Setting                | Example                                                                                          |
| ---------------------- | ------------------------------------------------------------------------------------------------ |
| Digital device name    | `Living Room Climate`                                                                            |
| Device ID              | `LivingRoomSensor`                                                                               |
| Device-level topic     | `zigbee2mqtt/LivingRoomSensor`                                                                   |
| Cloud publishing topic | `{Topic prefix}/zigbee2mqtt/LivingRoomSensor` — substitute the prefix supplied by your connector |

```json
{"temperature": 21.4, "humidity": 58, "battery": 92}
```

Assign `temperature` to a Float template in °C, `humidity` to a numeric humidity template in %, and `battery` to a numeric battery template in %, provided that is what the sensor actually outputs. Look at the fields your device exposes instead of assuming every sensor publishes these keys.

## What do the MQTT connection fields and actions do?

| Control                                | How to configure it                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| -------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Connector type**                     | Choose the Cloud MQTT connection that receives this publisher's messages. If the connection you need is missing, **Connector section** takes you to its setup.                                                                                                                                                                                                                                                                                                            |
| **Device ID**                          | Required. Anything from 1 to 64 characters is fine, as long as each one is an ASCII letter, a digit, a space, a period, an underscore or a hyphen. MQTT identifiers keep their case and spaces, so the value must be identical to the topic segment or payload identifier it is compared with; `Sensor1` and `sensor1` are two different IDs. After binding, the identity is locked. A name without spaces is easier to work with, but Chirp never strips spaces for you. |
| **MQTT Topic for device ID**           | Compose the topic pattern for the messages this device should receive. The Cloud prefix is shown read-only and is already included, so do not type it again as a text segment.                                                                                                                                                                                                                                                                                            |
| **Where to get the device ID**         | **Topic** takes the ID from the Device ID segment. **Payload** takes it from a field in the message body; in that case fill in the **Payload template** and drop the Device ID segment from the device topic pattern.                                                                                                                                                                                                                                                     |
| **Payload template / Payload preview** | In Payload mode, write a dot-separated path such as `deviceInfo.deviceId`. The preview only sketches the JSON shape you expect; nothing is published and no message is validated.                                                                                                                                                                                                                                                                                         |
| **Topic Telemetry**                    | Optional rows for values that travel inside topic segments. Ordinary JSON payloads need none. The [routing reference](/connectors/mqtt-connector/topics-and-device-routing#topic-telemetry) describes every row control, including **Apply all**.                                                                                                                                                                                                                         |
| **Data sending interval**              | A positive whole number plus **minute**, **hour**, **day**, **week** or **month**, starting at **1 hour**. Enter the cadence your publisher is expected to follow; the publisher's own schedule is not touched. Sensors that only report on events may have a heartbeat, which is worth remembering when you read missing-data diagnostics.                                                                                                                               |
| **Detach physical device**             | Drops the saved binding right away. Use it to swap a publisher on the same twin, then set the routing up again and connect the new incoming fields to the existing measurements.                                                                                                                                                                                                                                                                                          |
| **Save**                               | Stores the device connection, the routing and the key assignments. If an error appears, read it before assuming new messages already follow the edited setup. **Apply all** and topic previews do not save anything.                                                                                                                                                                                                                                                      |

The [Topics and Device Routing](/connectors/mqtt-connector/topics-and-device-routing) reference covers editing segments, validation, nested payloads, values pulled from topics and arrival timestamps.

## How do I map MQTT messages to measurements?

**Mapping** pairs the keys that have arrived with the templates you assign. Click **Add key**, pick the **Normalized key**, then pick a **Device data key**. The dropdown of keys is filled from messages Chirp has received, so it can be empty until the device publishes after its connection was saved.

Feel free to save the connection first and come back to mapping when keys have arrived. Template rows you already added can stay; finish assigning their keys. The **Value** and **Last update** columns display snapshots of received fields, which is not proof that history is being stored. If a row's data key is left blank, that measurement records nothing. Save the mappings, then wait for a new message to be published, because messages from before are not backfilled.

The mapping's **Data type** is **Telemetry**, which also covers reported switch states you want recorded. How a value is interpreted depends on the template's **Type**: `"ON"` and `"OFF"` need String, whereas real `true` and `false` can use Boolean. A value that does not fit the type is rejected for that measurement; it is not stored as an empty reading.

[Mapping controls](/devices/sensor-details#metrics) explain Unit, Type, creating a metric inline, removing a row and what changes when you replace a template. Come back to mapping whenever the firmware starts publishing additional fields worth keeping.

## How do commands and replacing hardware work for MQTT devices?

Once an MQTT binding is saved, the device can offer **Commands & States**. The hardware has to subscribe to the command topic you configure and understand the command payload; the fact that it sends telemetry says nothing about that. [Creating Commands](/devices/commands/creating-commands) covers topic addressing, JSON parameters, encoders and feedback verification.

When the hardware changes, **Living Room Climate** and its measurements stay. Follow [device replacement](/devices/sensor-details): update the physical Device ID and the routing, then reconnect the new keys, and review command topics and expected feedback as well. Whatever was already retained under those measurement identities remains attached to the twin for as long as the retention period allows.

<figure><img src="https://1153890212-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxgYoHO4zlaBzHJcfIrto%2Fuploads%2Fgit-blob-87de8d5f74f9d7507f2028f32b91df19536f345b%2Fdevice-command-editor.jpg?alt=media" alt="Chirp MQTT command editor showing required command name and topic, Cloud prefix, and payload mode"><figcaption><p>For hardware that accepts commands, configure the outbound topic separately from incoming telemetry routing.</p></figcaption></figure>

## What if MQTT device setup does not work?

| Symptom                                              | Next check                                                                                                                                                                     |
| ---------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| The connection will not save                         | A non-empty topic, a matching identifier mode and path, a valid Device ID, the required fields of telemetry rows, your permissions, and identifiers that may already be taken. |
| The broker gets messages, but no device keys show up | Compare the resolved topic, Cloud prefix, spelling of the identifier and payload path against a real message.                                                                  |
| Keys show up, yet Logs is empty                      | Look at the saved mapping, whether types fit, whether a new message came in, and which history range is selected.                                                              |
| Only part of the readings are missing                | Read the real payload fields and any normalization errors; fields inside nested JSON use dot-separated names.                                                                  |
| Old buffered readings appear with a recent time      | MQTT measurements are stamped on arrival. A `timestamp` field in the payload is just data and cannot move history to an earlier date.                                          |

See [MQTT Troubleshooting](/connectors/mqtt-connector/troubleshooting) and [device diagnostics](/devices/connection-diagnostics).


# Pretend Sensors

Make a pretend sensor in Chirp that invents its own readings, so your dashboards and alerts are ready before the real one arrives.

You have ordered a leak sensor. It arrives on Thursday. A pretend sensor lets you get everything ready in the meantime — lay out your dashboard, write your alerts, and watch them actually go off — days before anything turns up in the post.

A pretend sensor behaves like a real one in every way that matters. It appears in your sensor list, it reports on a schedule, its readings land on your dashboards, and your alerts fire off them. The only difference is where the numbers come from: Chirp makes them up instead of a device sending them.

<figure><img src="https://1153890212-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxgYoHO4zlaBzHJcfIrto%2Fuploads%2Fgit-blob-a303f9bc364132a1392b36f0ad1d4a590f4faa40%2Femulator-device-metrics.jpg?alt=media" alt="A pretend sensor set up from a real model, listing its readings and their value types"><figcaption></figcaption></figure>

## What do I need before I create a pretend sensor?

You need an **Emulator** connection. It takes two clicks and there is nothing to fill in — no account to link, no keys to copy. See [Emulator Connector](/connectors/emulator-connector).

You also need permission to edit devices and room in your subscription for another digital device. No physical sensor or gateway is needed.

## How do I make a pretend sensor?

Add a sensor as usual, then on its **Connection** tab choose **Emulator**. You will be asked for:

* **Device ID** — a name of your own, so you can tell your pretend sensors apart. Up to 64 characters, using letters, numbers, spaces, dots, underscores and dashes. It has to be unique across all of Chirp — not just your home — so something like `garage-temp-01` will be accepted where `sensor1` may already be taken.
* **How often it reports** — a number and a unit, like every 10 minutes. Match roughly what the real sensor will do, so your alerts behave realistically. Unlike a real sensor, this genuinely is the schedule — Chirp sends on it.
* **Support commands** — switch this on if you want to practise turning the thing on and off, not just reading from it. See [Controlling Your Devices](/devices/commands).
* **Use device preset** — the quick way. Pick a real sensor model and Chirp fills in the readings that model actually sends.

### Starting from a real sensor model

Tick **Use device preset** and pick from the list of real sensor models, and you get that model's genuine set of readings — a multi-sensor gives you temperature, humidity, CO2 and air quality, each with the right kind of value. It saves typing, and it means the names on your dashboard are the ones the real sensor will use when it arrives.

Choose your preset before collecting readings. It replaces the current keys and reporting interval, and Chirp asks you to confirm if rows already exist. Saving the replacement can remove measurements you were using and their accessible history. Unticking **Use device preset** keeps the current settings; it does not undo that replacement.

### Or type the readings yourself

Use **Add device data key** and give each reading a name — `temperature`, `humidity`, whatever you like — and say what kind of value it is. Pick **Float** for anything with a decimal point. For **Integer**, enter a whole number: the manual-value field rejects `1.5`. Float inputs accept decimals with a dot, not a comma. See [Data Templates](/devices/data-templates) for how value types work.

<figure><img src="https://1153890212-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxgYoHO4zlaBzHJcfIrto%2Fuploads%2Fgit-blob-d19e4dbefd2acdec77bd08688eee48bfda16f1c8%2Fchirp-device-add-emulator-connection.jpg?alt=media" alt="The Connection tab with the Emulator connector selected, the Support commands switch, Device ID, data sending interval, Use device preset and Add device data key"><figcaption><p>Setting up a pretend sensor on the Emulator connector.</p></figcaption></figure>

## How do I choose how pretend readings behave?

Beside each key on **Connection**, click **Emulator**. The controls depend on the kind of reading:

* For a number, set **From** and **To**, the value it **Holds around**, and **Variability**. The lower limit must be below the upper limit, and the usual value must sit between them.
* For true/false, choose a **Default state** and how often it changes with **Activity**: Rare, Occasional, or Frequent.
* For text, enter **Values & weights** and adjust **Stickiness**. Add between 1 and 32 values, no longer than 64 characters each. Their weights must be positive whole numbers adding up to 100%.

Apply your choices and save the device. For a leak sensor, use false as the usual state and Rare activity; for room temperature, choose a realistic temperature range. Set **Data sending interval** in whole minutes, hours, or days, between one minute and one day.

One pretend sensor can contain up to **50 readings** and **20 preset commands**. Use nonempty data keys no longer than **256 characters**; a manually pinned text value has the same length limit.

## What does the Mapping tab do for a pretend sensor?

Because a pretend sensor's readings are defined in its own settings, the **Mapping** tab simply mirrors them, and it keeps things tidy for you. If you delete a row there, that reading is removed from the sensor and stays gone after you save; it doesn't pop back as a stray duplicate. The data-key columns are view-only, and you won't find **Add new metric** buttons, because a brand-new reading needs its behavior settings, which live on **Connection**. To add one, use **Add device data key** there and come back to **Mapping** afterward. Switching a row to a different metric replaces the old one rather than leaving a second copy behind.

## How do I make a pretend sensor send something?

Open the sensor's **Emulator** tab and you will see each reading with a box next to it:

* **Save** parks a value there. The sensor keeps reporting it, which is how you hold the basement at 85% humidity while you check your damp alert behaves.
* **Send once** fires a single reading and goes back to normal. This is the one for "does my alert actually work?"

<figure><img src="https://1153890212-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxgYoHO4zlaBzHJcfIrto%2Fuploads%2Fgit-blob-949300877a1faba1b1ba11631445ffc7c8256a73%2Femulator-manual-value.jpg?alt=media" alt="The Emulator tab with a temperature value typed in, ready to send"><figcaption></figcaption></figure>

To let Chirp generate values again, empty the pinned value and press **Save**. If the input is a dropdown, select **No manual value** first. Save a newly added reading on the device before using its value controls.

Sending a value counts as changing something, so a household member with view-only access can watch a pretend sensor but cannot push readings into it.

A pretend sensor offers **No verification** for commands. It can exercise your setup, but it does not confirm delivery to real hardware. Automations triggered by its readings can still operate other connected devices, so check their actions before sending generated values.

## What do I do when the real sensor arrives?

Open the sensor, go to its **Connection** tab, and change it from **Emulator** to the real connection — then enter the details that came with it.

The same digital device and measurement identities remain available to your dashboards and automations. Check that the new hardware fields feed those measurements and review any commands before using them with the replacement.

You can go the other way too, putting a real sensor back on the emulator for a moment if you want to test something without waiting for the house to cooperate.

### Know which readings were generated

Switching to real hardware keeps the digital device and its existing measurements. Earlier generated readings remain part of their history, so note when the actual sensor or tracker starts reporting. Use a separate pretend device if you want the real device's history to contain observations only.

After the change, check the source fields and the time of the latest reading. For a broken tracker that you are replacing with another tracker, follow [Sensor Details](/devices/sensor-details#how-do-i-replace-my-cars-tracker).

## How do I copy a pretend sensor?

The copy brings its pretend readings, generator settings, reporting interval, command-support setting, and preset commands with it. Enter a new **Device ID** and check its name before saving.

It is a new digital device with a fresh history. Use it to create another example, not to replace hardware on the original device. If saving the emulator setup fails after the device was created, reopen its **Connection** tab and save the corrected setup again.

See [Sensor Details](/devices/sensor-details).

## Can the assistant create a pretend sensor for me? <a href="#just-ask-the-helper" id="just-ask-the-helper"></a>

You do not have to do any of this by hand. Ask your [AI Assistant](/ai-assistant) to set up a pretend sensor and it will — choosing a model, creating the sensor, sending a reading to test an alert, and later taking it live onto your LoRaWAN connection. Asking the assistant to switch a pretend sensor to a tracker or an MQTT sensor is the one part it cannot do for you; do that yourself on the Connection tab.

> *"Make a pretend temperature sensor for the garage and send a reading of 2 degrees."*

## What's next

* [Tracking What Matters](/dashboards/tracking-what-matters) — build the dashboard you have been waiting to build
* [Alarms](/alarm) — and the alerts you can finally test properly
* [Adding Sensors](/devices/adding-sensors) — the normal way, once your hardware is here


# Data Templates

Create and manage the metrics that give readings from different home sensors consistent names, units, and data types in Chirp.

A data template tells Chirp what a sensor reading means and how to display it. In the interface, these definitions are called **metrics**.

A metric carries two type settings, and they are not the same thing. **Data type** is about the kind of information (telemetry or device metadata), while **Type** is about the shape of the stored value: Float, Integer, String or Boolean.

For example, one temperature sensor may send `temp_c` while another sends `t`. Mapping both raw names to a metric called `temperature` lets your dashboards and automations use them in the same way.

Most common sensors already have the metrics they need. Use this page when adding an unusual sensor, correcting a reading, or creating a measurement that does not exist yet.

## How do I open my metrics?

Go to **Devices → Metrics**.

The list shows every metric available in your current organization, including its normalized key, unit, value type, and data type.

<figure><img src="https://1153890212-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxgYoHO4zlaBzHJcfIrto%2Fuploads%2Fgit-blob-c4867dcff68f5e0978eb0df5b1627e1c6f5f4598%2Fchirp-metrics.jpg?alt=media" alt="The Devices / Metrics page with a search box, All units, All types and All data type filters, a sort list, the Add metric button, and a pencil icon on every row"><figcaption><p>The Metrics list.</p></figcaption></figure>

Use the controls above the list to find a metric:

* **Search** matches the normalized key, which is the standard name of the reading.
* **All units** filters by unit and includes readings without a unit. Select the units and click **Apply**.
* **All types** narrows the list to String, Integer, Float or Boolean metrics, and the list updates as soon as you choose.
* **All data type** narrows the list to Telemetry or Device metadata, again updating at once.
* **Sort by** orders metrics by **Newest** or **Oldest**.

The unit, type, and data-type filters accept several values at once.

Metrics you created provide **Edit** and **Delete** actions. Metrics supplied by Chirp do not, because they are shared definitions used by standard sensor setups.

## How do I add a metric?

1. Go to **Devices → Metrics**.
2. Click **Add metric**.
3. Complete the four fields in the **Add Metric** dialog.
4. Click **Add**.

<figure><img src="https://1153890212-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxgYoHO4zlaBzHJcfIrto%2Fuploads%2Fgit-blob-b3db1038fbb348df3a19d201d19d30ad3ffa0022%2Fdevice-metrics-add.jpg?alt=media" alt="The Add Metric dialog with Data type, Type, Normalized key and Unit of measurement"><figcaption></figcaption></figure>

### Data type

Choose what kind of information the metric represents:

| Data type           | Use it for                                  | Home examples                        |
| ------------------- | ------------------------------------------- | ------------------------------------ |
| **Telemetry**       | Readings that change over time              | Temperature, humidity, battery level |
| **Device metadata** | Information the sensor reports about itself | Firmware version, hardware revision  |

Use **Telemetry** for the readings you want in history, dashboards, and automations. The catalog also lists Device metadata, but that category cannot be selected for incoming telemetry.

### Type

Choose how Chirp stores the value:

| Type        | Use it for            | Examples                     |
| ----------- | --------------------- | ---------------------------- |
| **Float**   | Numbers with decimals | `22.5`, `67.3`               |
| **Integer** | Whole numbers         | `85`, `-120`                 |
| **String**  | Text                  | `"open"`, `"standby"`        |
| **Boolean** | True or false         | Motion detected, door closed |

Incoming values are converted to the chosen type; incompatible values are skipped. See [What Your Device Is Sending](/devices/what-your-device-is-sending#readings-keep-the-shape-they-arrived-in) for the conversion rules.

Only Integer or Float metrics can feed chart widgets and the gauge-style Last Data displays. The Last Data **Value** display is more flexible and can also show text and yes/no values.

### Normalized key

The normalized key is Chirp's standard name for the reading, regardless of the raw name used by the sensor.

In the **Normalized key** field, pick a key that already exists or choose **Create a new normalized key**. Give it a clear name such as `soil_moisture`, not a sensor-specific name such as `sensor_3_value`. Use lowercase words separated by underscores.

Each normalized key can belong to only one metric. If it is already in use, the form reports **A metric with this normalized key already exists**.

Normalized keys are created, renamed, and deleted from this field. Keys supplied by Chirp cannot be renamed or removed.

### Unit of measurement

The unit is the symbol shown next to the value, for instance °C, %, lx or mV. Pick one from the list, or choose **Create a new unit** and type the symbol exactly the way it should be displayed.

You never have to give a unit. A door is open or closed and a mode is just a word, so leave the field empty for those; add a unit like °C or % when it makes the number easier to read.

Units are created, renamed, and deleted from this field. Units supplied by Chirp cannot be renamed or removed.

## How do I edit a metric?

Metrics apply across the current organization, not to one sensor only. Editing a metric changes the definition for every sensor mapped to it.

1. Find the metric under **Devices → Metrics**.
2. Select the pencil icon at the end of the row.
3. Update the required fields.
4. Click **Save**.
5. Review the confirmation describing which sensors are affected and confirm the change.

<figure><img src="https://1153890212-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxgYoHO4zlaBzHJcfIrto%2Fuploads%2Fgit-blob-3e9a1885f1f82029a577d677c7e2a98cbc569313%2Fchirp-edit-metric.jpg?alt=media" alt="The Edit Metric dialog with Data type, Type, Normalized key and Unit of measurement (optional) fields and the Cancel and Save buttons"><figcaption><p>The Edit Metric dialog. The unit is optional.</p></figcaption></figure>

The one thing you can't switch while a sensor uses the metric is its **Data type**. If you try, the window stays open and tells you: *This metric is attached to devices. Detach it from all of them to change its data type.* Take the metric off those sensors first, or make a new metric for the new type. Editing never wipes the description you wrote.

If only one sensor needs a different definition, create a separate metric. Changing a row to that template replaces its measurement assignment, so use this for a new kind of reading rather than a hardware replacement that should keep the old history.

## How do I delete a metric?

Click **Delete** on a metric you created and confirm the action.

Chirp refuses to delete a metric that is still mapped to a sensor. Remove the mapping from every sensor that uses it, then try again.

## How do I connect a sensor reading to a metric?

Creating a metric does not connect it to a sensor automatically. Open the sensor's **Mapping** tab and map the raw key sent by the sensor to the normalized metric.

Once different sensors map their temperature readings to `temperature`, the same chart or automation can work with all of them.

## How do I keep my readings when hardware changes?

A data template gives a reading its meaning. The measurement attached to **Family Car** is the car's own record of that kind of reading. Another car can use the same template without sharing its history.

After replacing a tracker, keep the existing latitude, longitude, and speed rows. In **Mapping**, connect the new tracker's fields to those rows instead of removing and recreating them. Their saved readings then remain attached to the same car.

Check the units too. Giving a speed value a km/h label does not convert a value reported in another unit. The source or decoding step must provide the expected value. Follow [Replace your car's tracker](/devices/sensor-details#how-do-i-replace-my-cars-tracker) for the complete sequence.

## Why isn't my metric receiving data?

| Problem                                                           | What to check                                                                        |
| ----------------------------------------------------------------- | ------------------------------------------------------------------------------------ |
| A metric is missing from a chart or gauge-style Last Data display | Confirm its **Type** is Integer or Float and the sensor sends a numeric value.       |
| A metric is missing from a sensor mapping                         | Confirm its **Data type** is Telemetry.                                              |
| A normalized key is greyed out or refused                         | A different metric probably owns that key already. Search the list to find it.       |
| The data type won't change                                        | A sensor still uses the metric. Detach it from every sensor, or create a new metric. |
| Edit and Delete are unavailable                                   | The metric, key, or unit was supplied by Chirp and cannot be changed.                |
| Delete is refused                                                 | Remove the metric from every sensor mapping before deleting it.                      |

## See also

* [Adding Sensors](/devices/adding-sensors) — map readings while adding a sensor
* [What Your Device Is Sending](/devices/what-your-device-is-sending) — identify raw keys in incoming data
* [Sensor Details](/devices/sensor-details) — change mappings on an existing sensor


# What Your Device Is Sending

See exactly what your sensor is reporting and in what form, and why the name Chirp shows you isn't the name inside the device's own messages.

Your sensor sends a very short message — a few bytes, or a small bundle of text. Something has to unpack that into readings you can actually use, and that something is the device's decoder. Everything you see afterwards, on a dashboard or in an automation, started life as one of the fields it produced.

There are two names for the same reading, and they're usually different:

* The **field name** is what comes out of the decoder — things like `t`, `socket_status`, or `humidity_pct`. That comes from whoever made the device.
* The **measurement name** is what you called it when you set the device up — *Temperature*, *Plug status*. This is the one you see everywhere else in Chirp.

Knowing which is which — and what the readings actually look like — is what saves you a puzzled ten minutes when a condition never seems to match.

## How do I look at what is arriving?

Open the device and go to its **Mapping** section. There's a table there listing every field the device has sent, with:

* the **field name**, exactly as the device sends it
* what it's **saying right now**
* when it **last updated**

It's live, so it refreshes as new messages come in. This is the quickest way to answer "what does this thing report, and what does it look like?" — and it's worth a glance whenever you're about to compare a reading to something, whether that's an automation condition or a check on a command.

If a device has never sent anything, there's nothing to show yet. Wait for its next update.

## Where does the decoder live?

A **LoRaWAN** sensor uses **Code functions** on its **Connection** tab. Choosing a device profile fills in its codec; manual setup needs a compatible codec from the manufacturer. If you change it, save and check a new message.

**MQTT** devices use their message-format and field-extraction settings instead. A tracker gets its fields from the tracking integration, while a pretend sensor uses the keys you configured. Those sources do not use the LoRaWAN Code functions box.

See [Adding Sensors](/devices/adding-sensors) for the setup that fits your connection.

## How do I give the fields proper names?

Mapping is where you connect a field to a data template, so a cryptic `t` turns into *Temperature* with a unit and a type. After that, it shows up under its friendly name everywhere.

You do that from the same Mapping section — see [Adding Sensors](/devices/adding-sensors) for the steps, and [Data Templates](/devices/data-templates) if you need a template that doesn't exist yet.

A field you never map keeps arriving but has nowhere to go: it won't turn up in automations, on dashboards, or in a command check.

## How do I match a reading to its type? <a href="#readings-keep-the-shape-they-arrived-in" id="readings-keep-the-shape-they-arrived-in"></a>

The incoming field and the stored measurement can have different types. Chirp uses the **Type** chosen in your data template when saving readings:

* **Float** accepts numbers and numeric text: `"19.5"` becomes the number `19.5`.
* **Integer** accepts numeric values but removes their fractional part toward zero. A reading of `19.5` becomes `19`, with a warning in diagnostics.
* **Boolean** accepts true/false, text `true`/`false`, and `0` or `1` as numbers or text. It does not translate words such as `ON`, `OFF`, or `yes` into Boolean values.
* **String** keeps text and turns other values into text.

If a value cannot be converted to its chosen type, it is not saved for that measurement. For a lamp reporting `ON` and `OFF`, choose String. For temperatures or car coordinates with decimals, use Float.

Look at **Logs** to check what was stored and **Connection** diagnostics to investigate rejected values. Write automation conditions and [command checks](/devices/commands/verification#what-to-type-as-the-expected-value) using that stored type. Adding a unit label does not convert the number into another unit.

## What if the fields aren't what I expected?

**Readings are arriving but nothing shows up in automations or on dashboards.** They haven't been mapped yet. Open the Mapping section and map the ones you want.

**The names aren't the ones you were expecting.** The decoder is producing different field names than your measurements are looking for — which usually means the code was written for a different version of the device. Compare the names in the table against what you've mapped, and either fix the mapping or swap the code.

**Nothing's being decoded at all.** Check the device is actually sending, then check the code. [Connection Diagnostics](/devices/connection-diagnostics) shows what arrived most recently and whether anything came out of it.

## What if a replacement sends different fields?

A new tracker or sensor may use different field names from the old one. The device data keys table shows what the current hardware reports. Map those fields to the digital device's existing measurements to keep their history together.

For Family Car, reconnect the tracker fields `position.latitude` and `position.longitude` to the existing coordinate measurements. Check units for other values such as speed. The **Logs** tab shows stored measurement readings; the current payload table shows what is arriving now. See [Sensor Details](/devices/sensor-details#how-do-i-replace-my-cars-tracker).

## See also

* [Adding Sensors](/devices/adding-sensors) — Setting a device up, decoders and mapping
* [Data Templates](/devices/data-templates) — Friendly names, units and types
* [Connection Diagnostics](/devices/connection-diagnostics) — What turned up last, and whether it decoded
* [Making sure it worked](/devices/commands/verification) — Using a measurement to check a command


# Sensor Details

Replace a car tracker or home sensor while keeping its digital device, reconnect measurements, and review retained readings.

The detail view belongs to your device's digital twin: the lasting record of your car, home sensor, or controllable device. It brings together its name, connection, measurements, and retained readings. You can change the hardware supplying those readings without creating another digital device. See [Sensors](/devices) for an introduction to the digital twin concept.

## How do I open a sensor's details?

There are several ways to open a sensor's details:

* **From Devices** — Click **Devices** in the sidebar, then click any sensor row to open its detail page.
* **From a connection** — Open your LNS connection's **Connected Devices** tab, or open your Tracker connection's sensor list, and click a sensor row.
* **Edit button** — Click the pencil icon on any sensor row to jump straight into editing.

## How do I replace my car's tracker?

Keep **Family Car** when a faulty GPS tracker is replaced. The car's record stays in Chirp; only the hardware sending its readings changes.

Before starting, have the new tracker's identifier and model ready, and make sure you can edit devices. Note which measurements are already attached, especially latitude and longitude. Their existing rows are what connect the car to its stored readings.

1. In **Devices**, open **Family Car** rather than adding a new device.
2. Open **Connection** and click the X control labeled **Detach physical device** in the Tracker settings. This disconnects the old tracker immediately. It keeps Family Car and its measurements, but clears the old source mappings.
3. Enter the replacement's **Unique ID** and select its **Device model**. Configure the physical tracker to send to **Url for GPS tracker**, using the manufacturer's setup instructions, then save the connection.
4. Open **Mapping** and reconnect the incoming fields to the existing measurements. Tracker location fields arrive as `position.latitude` and `position.longitude`; map them to the car's existing latitude and longitude rows. Reconnect speed or other readings you use, checking their units.
5. Click **Save** and wait for the tracker to send a fresh position. Check **Value** and **Last update**. [Connection Diagnostics](/devices/connection-diagnostics) helps if readings do not arrive.
6. Open the dashboard **Map** widget for Family Car, select **History**, and choose dates spanning the replacement. The route uses the same retained coordinate measurements from both trackers. Open the device's **Logs** tab to inspect the individual readings and timestamps. See [Tracking What Matters](/dashboards/tracking-what-matters).

Keep the measurement rows and change their **Device data key**. Removing a row and adding another with the same name does not reconnect the original history. Copying the digital device also creates a different record, so it is not the way to replace a tracker.

Any gap while the tracker was broken or disconnected remains a gap: Chirp can only store positions that were reported. How far back you can look depends on [your subscription's retention period](/account/subscription#keeping-your-data-history).

### Replacing a sensor at home

The same principle applies to **Living Room Temperature**. Open that existing device, detach the old source, and supply the replacement sensor's connection details. For LoRaWAN, the detach control is beside **Device EUI**; enter the new EUI, key, and matching profile. Reconnect the new temperature field to the existing temperature measurement and check fresh readings before relying on its automations.

## How do I swap between an emulator and hardware?

**Swap connection** exists for one job: moving a device between a practice sensor (the emulator) and real hardware, in either direction. It does not handle swapping one physical sensor for another.

1. Open **Connection** and click **Swap connection**. A picker lists the destinations you can move to, and the identity fields for the new source become editable.
2. Pick where the device is going, enter whatever that connection asks for, then look over the mappings and commands, because they now come from a different source.
3. Click **Save** to make the swap real. Changed your mind first? **Cancel swap** closes swap editing and puts the original connection fields back.
4. Wait for a reading and check that the new source sends what you expect. The measurements keep their identities through the swap, and both generated and real readings count toward your history retention period.

Replacing one physical sensor with another is a different job: click **Detach physical device**, attach the new sensor, and restore its key mappings. Detaching happens the moment you click it, without waiting for **Save**. The physical binding and the source mappings go, while the digital device and its measurement channels stay.

## What do the sensor detail tabs show?

### Device info

This is where you manage the sensor's identity:

* **Photos** — Add or change photos of the sensor. This is handy when you have several similar-looking sensors and need to tell them apart during a battery change or troubleshooting.
* **Device name** — Update the name anytime. If you originally called it "Sensor 3," now's a good time to rename it to something more useful like "Kitchen Temperature" or "Basement Humidity."
* **Application** — Select the home setup this device belongs to, or **Default** to leave it outside a named application.

**Photos:** click **Add photo**, or drop PNG or JPG files onto the upload area. Chirp keeps up to three per device and suggests staying near 5 MB each. The first one becomes the cover. To drop a photo, use the remove control on it, then save. A device must have a name, and the **Application** choice puts it into a named home setup or, as **Default**, leaves it standalone. Save your changes to this tab before you leave the page.

### Connection

This tab shows how the sensor connects to Chirp and lets you adjust its profile. It also carries the sensor's connection diagnostics, which tell you whether data is arriving and being saved — the place to look when a sensor is quiet or a reading is missing. See [Connection Diagnostics](/devices/connection-diagnostics).

**For LoRaWAN sensors:** Follow [LoRaWAN Devices](/devices/lorawan-devices) for every identity, profile, codec and interval field. Detach before changing a bound physical identifier; keep the twin and its measurement rows, then restore the source mappings.

### Mapping <a href="#metrics" id="metrics"></a>

The **Mapping** tab connects incoming data keys to retained measurement channels. When a sensor is replaced, keep the existing measurement rows and only point them at the new incoming key; swapping a key and replacing a measurement are two different things.

| Column or control    | Purpose and configuration                                                                                                                                                                                                                                                                                                                                                                             |
| -------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Device data key**  | Pick the incoming field this row listens to, for example `temperature` or `vibration.rms`. The choices fill in once messages have arrived, and leaving it blank means this measurement records nothing. Click **Save** to keep a changed key.                                                                                                                                                         |
| **Value**            | Latest received value for the selected source key. This snapshot is not the historical record.                                                                                                                                                                                                                                                                                                        |
| **Last update**      | When that source key was last received. An empty value means no corresponding received value is available.                                                                                                                                                                                                                                                                                            |
| **Normalized key**   | Choose the metric template that defines the measurement. Only Telemetry templates are listed, and any template this device already uses appears grayed out.                                                                                                                                                                                                                                           |
| **Unit**             | The template's unit, displayed for reference only. Edit it in [metric templates](/devices/data-templates); mapping never converts units for you.                                                                                                                                                                                                                                                      |
| **Type**             | Read-only template value type: Integer, Float, String or Boolean. It controls conversion of incoming readings.                                                                                                                                                                                                                                                                                        |
| **Data type**        | Telemetry in this mapping form. Reported switch states can be recorded as telemetry too.                                                                                                                                                                                                                                                                                                              |
| **Add key**          | Adds an empty mapping row; pick a template and an incoming key for it.                                                                                                                                                                                                                                                                                                                                |
| **+ Add new metric** | Opens **Add Metric** straight from the Normalized key dropdown. Type a **Normalized key** (it cannot be empty), set **Type** (it starts as String), and leave **Data type** on Telemetry. **Add** creates the template and picks it for this row; **Cancel** closes the dialog without creating anything. There is no unit field in this small dialog, so set units later in the full metric catalog. |
| **Remove**           | On a saved device this deletes the row and its measurement assignment right away. It is not how you change hardware.                                                                                                                                                                                                                                                                                  |

Selecting a template adds its measurement immediately on an existing device. Choosing another template for a row that already exists drops the old measurement assignment and sets up the new one in its place. Closing the page without clicking Save does not undo those actions. Preserve templates during replacement and change only source-key assignments, then save.

After you save mappings, wait for a new message and look at **Logs**. A field may show up in the incoming snapshot before its mapping is finished, and messages that arrived earlier are not filled in afterwards. Choose template types that fit the real values: `"ON"` and `"OFF"` are strings, whereas `true` and `false` are booleans. See [metric templates](/devices/data-templates) for conversion and rejection rules.

### Keep the asset recognizable

Name the device for what you follow, such as **Family Car**, and use its photo to distinguish it from similar devices. Keep installation notes and service records separately; the measurement history records readings rather than a diary of maintenance.

### Commands & States

For a saved MQTT or LoRaWAN connection, this tab lets you define and run actions. A pretend sensor offers it when **Support commands** is on. Tracker connections do not offer commands. See [Controlling Your Devices](/devices/commands).

### Logs

The Logs tab shows stored readings for this digital device's attached measurements, within your retention period. Keeping those measurements lets you review readings supplied by both the old hardware and its replacement. Readings are grouped by the minute. A little status indicator in the sensor's header shows its live connection, so you can see at a glance whether it's sending data right now.

Click a minute to expand it and see the individual readings:

| Column    | What it shows                          |
| --------- | -------------------------------------- |
| **Key**   | The normalized name of the measurement |
| **Type**  | The data type of the value             |
| **Value** | The actual reading                     |

**Date filtering:** Click the date button in the top-right corner to pick a time range — useful for investigating when something happened. Choose a preset like "Last week" or set a custom date range.

If the Logs tab is empty and you're not sure why, the Connection tab's diagnostics will tell you whether anything is reaching Chirp in the first place. See [Connection Diagnostics](/devices/connection-diagnostics).

The date button shows whichever preset or range is active. Pick a quick range, or enter your own start and end, then click **Apply changes**; **Clear filter** resets it. Your plan's retention sets how far back the dates and presets go. Each reading carries a **Timestamp**, then the normalized measurement name as **Key**, then **Type** and **Value**, and the minute groups open and close so you can inspect single readings. If you see **No logs found**, nothing retained matches that range, so check the mapping and wait for a fresh message before you widen the dates. When loading fails, reload the page.

## Which quick actions are in the sensor lists?

You don't always need to open the full detail view. From any sensor list, the row action buttons let you:

* **Edit** (pencil icon) — Open the full detail page
* **Copy** (clone icon) — Create a new sensor pre-filled with the same settings
* **Delete** (trash icon) — Remove the sensor (with a confirmation dialog)

For more about what your sensors measure and how to customize it, see [Data Templates](/devices/data-templates). For room-based naming and dashboard organization, see [Rooms](/devices/rooms).

A physical-device copy starts new measurement rows: open it after saving and reconnect its **Device data keys**. An emulator copy carries its generated readings and reporting settings; give it a new Device ID.

For a replacement, use the existing device instead of **Copy**. Copy is for adding a separate device; its similar name and settings do not make it the same digital twin.

## How do I keep a home setup together?

The **Application** field on **Device Info** lets you put this sensor into a setup such as Home Watch. Select the application and save, or choose **Default** to keep the sensor ungrouped. [Organizing Content](/applications/organizing-content) explains how the dashboard, rule, and alarm definition join it.

## Where can I find protocol setup guides?

The full list of connection fields lives in [LoRaWAN Devices](/devices/lorawan-devices) and [MQTT Devices](/devices/mqtt-devices). Come back to this page for the profile, mapping and history controls that every sensor shares.


# Connection Diagnostics

Added a sensor but no readings appear? Read the Connection tab and get your data flowing.

You unboxed the sensor, stuck it on the wall, typed in its numbers, hit **Save** — and the readings are still blank. It's the moment every home setup runs into at least once, and it used to leave you guessing whether the problem was the battery, the gateway, the keys, or Chirp itself.

Connection diagnostics answers that question for you. Open any sensor, go to its **Connection** tab, and Chirp tells you in plain words where your sensor's data is right now: whether anything has arrived at all, whether Chirp understood it, and whether it's being saved to your history. Every state comes with a short list of things to try — so you always know what to do next, not just what went wrong.

## Why is connection diagnostics worth two minutes?

Without it, a silent sensor is a mystery with a dozen possible causes. Is the wine cellar monitor out of range? Did you mistype one character of a 16-character code? Is it sending fine and just not being recorded? Those are wildly different problems with wildly different fixes, and hunting through them one at a time is how a fifteen-minute setup turns into a lost evening.

The Connection tab collapses all of that into one screen. It tells you which of those three things is actually happening, and then it tells you which one to fix. Most of the time you'll be done before you've finished your coffee.

## Where do I find connection diagnostics?

1. Click **Devices** in the sidebar.
2. Click the sensor you're worried about to open its detail page.
3. Click the **Connection** tab.

Diagnostics appear right there alongside the sensor's connection settings. Three blocks stack down the tab:

* **Reception status** — the headline: is data arriving, and is it being kept?
* **Pipeline** — the counts, showing how many messages made it through each stage recently.
* **Event feed** — the message-by-message diary, newest first.

## What does the Reception status block show?

This is the one to read first. It's a single sentence that names your situation, with a supporting line underneath and a couple of numbers for context.

You'll see one of these headlines:

| Headline                                     | What's actually happening                                                                                                                                                                                                                                                                                                        |
| -------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Receiving & storing**                      | The happy ending. Data is arriving, Chirp understands it, and your history is filling up. The line beside it reads `{{count}} sensors mapped · last value {{last}}`.                                                                                                                                                             |
| **Sending data — set up mapping to keep it** | Your sensor is alive and talking — Chirp just doesn't know what its readings mean yet, so nothing is being saved. Shown as `{{count}} keys decoded · none mapped yet`.                                                                                                                                                           |
| **Data arrives but nothing is stored**       | "Data is arriving but nothing is stored yet." Messages are landing, but none of them are turning into readings you can chart.                                                                                                                                                                                                    |
| **Hasn't reported — device looks offline**   | "Device was reporting but has gone quiet." It used to work. Something changed.                                                                                                                                                                                                                                                   |
| **Waiting for first data**                   | Nothing has come in yet. You may also see **Waiting for the first uplink** or **No uplinks received yet** — same meaning. If it never moves off this state, the sensor may still be joined to a network it used before Chirp — see [First things first: joining the network](#how-do-i-check-that-my-sensor-joined-the-network). |
| **Reached network — waiting for data**       | "Joined the network · no uplinks yet" — a LoRaWAN sensor that has successfully introduced itself to your gateway but hasn't sent an actual reading yet. Genuinely good news.                                                                                                                                                     |

Leave the page open and the "last seen" line looks after itself. Chirp checks again roughly every half minute, and the little dot and the "x minutes ago" label count up on their own, so a sensor that goes quiet turns gray while you watch rather than waiting for you to reload. A sensor that reports every minute won't flicker gray in between. You'll see the same up-to-date status in your sensor list, on text widgets, and on info cards.

Around the headline you'll also spot a few supporting details:

* **Expected every {{interval}} {{unit}} · last seen {{last}}** — the schedule you told Chirp this sensor is on, next to when it actually last showed up. If those two disagree badly, the schedule in your settings is probably wrong, not the sensor.
* **{{count}} sensors configured · 0 receiving values** — you've set up readings, but none of them are being filled in.
* **{{count}} more keys available, unmapped** — your sensor is sending extra readings you haven't claimed yet. Often a pleasant surprise: a leak detector quietly reporting its battery level too.
* **LIVE**, **NO DATA**, **Live**, **Idle**, **RECEPTION** — small indicators marking whether things are moving right now.
* **Loading reception status…** — just fetching. Give it a second.
* **Diagnostics unavailable** — the check itself couldn't run. Close the dialog, reopen the sensor, and try the Connection tab again.

### The two guidance blocks

Right beside the status you'll find **WHAT TO CHECK** and **WHILE YOU WAIT** — short, concrete checklists that change depending on what's going on. They're the whole point of the page, so don't skim past them.

For a sensor that hasn't shown up, they'll suggest things like:

* Confirm the device is powered on and transmitting
* Check the device power or battery
* Make sure it is within range of a gateway
* Check that AppKey and DevEUI match the device
* Give it one reporting interval to transmit

For a sensor that has gone quiet after working fine:

* Check the device power or battery
* Confirm it is still within range of a gateway
* Confirm the device is sending on its schedule
* Make sure the sending schedule has not changed

For data arriving that isn't turning into readings:

* Check the payload decoder matches this device
* Map at least one incoming key to a sensor
* Check that the connection settings are correct

### If your sensor connects over MQTT

MQTT sensors have their own set of messages, because there's a broker in the middle:

| Message                                                       | What it means and what to do                                                                                                                       |
| ------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Waiting for the device to publish to the Chirp broker…**    | Connection's fine, the device just hasn't said anything yet. It is connected with its generated MQTT credentials.                                  |
| **A message arrived on a topic this device isn't set up for** | "Update the topic above, or change where the device publishes." Compare the **Expected topic** field with **Published to** — they need to line up. |
| **No publish topic is configured yet — set one above.**       | Fill in the topic field on this tab, save, and the messages will start matching.                                                                   |

When things are working, MQTT diagnostics confirm all three of these: the device publishes to the expected topic, the payload is valid JSON, and the device ID resolves as configured.

## How do I check that my sensor joined the network?

There's a step people miss because nothing in the setup form hints at it. A LoRaWAN sensor doesn't simply start broadcasting readings the moment it has power. It has to **join** a network first.

Here's how that goes. When the sensor wakes up, it sends out a **join request** — a little "hello, may I?" message carrying its identity. Your gateway passes it along, Chirp checks it against the Device EUI and AppKey you typed into the sensor form, and if those match, Chirp sends back a join accept. Only *after* that handshake does the sensor start sending actual readings.

Which is why the states at the top of this tab read the way they do. They're that handshake, in order:

1. **Waiting for first data** — the handshake hasn't happened. Chirp has heard nothing from this sensor at all.
2. **Reached network — waiting for data** (shown as "Joined the network · no uplinks yet") — the handshake worked. The sensor is on your network, it just hasn't reached its next scheduled report.
3. **Receiving & storing** — readings are flowing in and going into your history.

### A sensor can only belong to one network at a time

Here's the part that trips people up. Once a sensor joins a network, it settles in and stops asking. Its firmware is satisfied: it has a network, thank you, no need to knock on any more doors.

So if your sensor has had a previous life — you found it on eBay, it was already screwed to the wall when you bought the house, it came off a different app or platform, or it's a returned or demo unit that someone else set up first — it is still, as far as it's concerned, joined to that old network. Adding it to Chirp doesn't undo that. You've told Chirp all about the sensor, but nobody has told the sensor about Chirp, and it isn't going to ask.

The symptom is unmistakable once you know it: **Waiting for first data**, indefinitely, while every single thing you can check looks right. EUI correct. AppKey correct. Battery in. Sitting a meter from the gateway. Three reporting intervals have come and gone. Nothing. That's not a mistake you can find by checking harder — the sensor is simply talking to somewhere else.

Worth saying plainly: Chirp can only report on what reaches it. It has no way to see that your sensor is quietly still attached to a previous owner's network, so it can't warn you about this one. That's what this section is for.

### The fix: make it ask again

Reset the sensor. A reset clears the old session and puts the sensor back to square one, where it sends a fresh join request — and this time your Device EUI and AppKey are waiting for it in Chirp.

How you do that depends entirely on who made it. There's no universal button. Depending on the model it might be:

* a magnet swiped past a specific spot on the casing
* a button held down for a set number of seconds
* a reed switch or a pinhole reset under the cover
* a power cycle of a particular length, or repeated a particular number of times

Look up the reset procedure for your exact model in the manufacturer's instructions — it's usually in the quick-start leaflet or on the maker's support page. One detail worth watching for: plenty of sensors treat "restart" and "rejoin" as two different things. Pulling the battery for a second may just restart it, leaving the old network session intact, and it'll come back exactly as silent as before. You want the full reset that clears the session.

Once it's done, watch the Connection tab. You should see the status move to **Reached network — waiting for data** within a minute or two — that's the join accept landing. From there it's just waiting for the sensor's next report.

### Two lookalikes that aren't this

* **A sensor that worked for a while and then went quiet** is a different problem. Sensors don't quietly un-join a network on their own, so this isn't it. That case shows up as **Hasn't reported — device looks offline**, and it's almost always the battery, something new blocking the signal, or a schedule that's changed. Don't reset it — you'll just make more work for yourself.
* **A sensor that joins, then drops back to "Waiting for first data" again and again** usually has a typo in its identifiers. One wrong character in the Device EUI or AppKey and the handshake can't complete. Re-enter both with **Scan QR code** on the sensor form rather than retyping — then reset the sensor once more so it tries again with the corrected values.

## What does the Pipeline block show?

The Pipeline block counts how many messages made it through each stage: **Routed**, **Mapped**, and **Stored**. Reading it left to right shows you exactly where things stop.

If Routed is climbing but Stored is stuck at zero, your sensor is talking and Chirp is listening — the readings just aren't being recorded, which almost always means mapping. If Routed itself is zero, nothing is reaching Chirp at all, and the problem is out at the sensor, the battery, or the gateway.

One thing worth knowing: these counts are labeled **Stats over the last {{days}} days**. They cover a recent rolling window — the number of days shown in that label — not everything the sensor has ever sent. A brand-new zero doesn't mean the sensor never worked; it means it hasn't done anything within that window.

## What does the Event feed show?

Where the Pipeline gives you totals, the event feed gives you the individual messages. It's a table:

| Column      | What it shows                                     |
| ----------- | ------------------------------------------------- |
| **Time**    | When the message arrived                          |
| **Stage**   | Which step of the journey this row describes      |
| **Outcome** | How that step turned out                          |
| **Detail**  | The specifics — helpful when the outcome isn't OK |

Below the table, a legend titled **What these statuses mean** spells out every term. Here it is:

| Term        | Meaning                                                                                                                                                                 |
| ----------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Routed**  | Chirp received the message and recognized this device as its owner.                                                                                                     |
| **Mapped**  | incoming keys were matched to your configured sensors.                                                                                                                  |
| **Stored**  | sensor values were saved to history.                                                                                                                                    |
| **OK**      | this step completed successfully.                                                                                                                                       |
| **Skipped** | left alone on purpose, for example because nothing was mapped for that key or the topic was not one Chirp expected. This is often fine and is not necessarily an error. |
| **Error**   | this step failed and needs attention.                                                                                                                                   |

That **Skipped** row deserves a moment. Seeing it doesn't mean anything is broken — it usually just means a reading arrived that you haven't asked Chirp to keep. If you'd like to keep it, map it (see below). If you don't care about it, leave it alone; Skipped is a perfectly healthy thing to see.

If the sensor is brand new you'll see **No events yet** with "Events will appear here once the device sends data." — nothing to fix, just nothing to show.

The feed loads a chunk at a time. Click **Load more** to fetch older entries; you'll see **Loading…** briefly and **All records loaded** once you've reached the end. **No pipeline data** means there's nothing recorded for this sensor in the window at all.

## What does mapping mean?

Half the messages on this page mention mapping, so it's worth a plain-language explanation.

Your sensor doesn't send tidy labels. A garden soil probe might send something like `sm` and `bat` — not "Soil Moisture" and "Battery." Mapping is you telling Chirp: *that `sm` number is the soil moisture reading, in percent.* Once you've done that, Chirp knows what the number is, stores it in your history, draws it on your dashboard, and lets your automations react to it.

Until you map at least one reading, Chirp receives your sensor's messages and politely sets them aside, because it has no idea what they represent. That's exactly the **Sending data — set up mapping to keep it** state — and it's the single most common reason a healthy sensor shows no readings.

Good news: **Device data keys appear here automatically once the device transmits.** You don't have to know your sensor's field names in advance. Let it send once, and the list fills itself in.

## How can I fix things without leaving the tab?

Diagnostics don't just describe problems — they hand you the button. Depending on the situation you'll see:

* **Fix** / **Fix mapping** / **Set up mapping** / **Map a key** — jump straight to where you match your sensor's readings to what you want to see. This is the fix for anything mapping-related.
* **Details** — expand a row to see the full story behind an outcome.
* **Hide** — collapse a block once you've read it, to get the Connection tab back to a working size.
* **See reception status** — jump back up to the headline from further down the tab.

## What should I do when diagnostics reports a problem?

**"Waiting for first data" / "No uplinks received yet"** — Give it one full reporting interval before doing anything; a sensor set to report once an hour will look silent for an hour, and that's correct. If it stays silent past that, check the battery is in the right way round, confirm the sensor is within range of your gateway, and double-check the Device EUI and AppKey character by character against the sensor's label. If typing them was the risky part, re-enter them with **Scan QR code** on the sensor form — see [Adding Sensors](/devices/adding-sensors). And if all of that checks out and it's *still* silent, stop checking and reset the sensor so it sends a fresh join request — this is the usual ending for any sensor that had an owner before you. See [First things first: joining the network](#how-do-i-check-that-my-sensor-joined-the-network).

**"Reached network — waiting for data"** — Relax. Your LoRaWAN sensor found the gateway and joined successfully, which is the hard part. It's simply waiting for its next scheduled report. Come back after one interval.

**"Sending data — set up mapping to keep it"** — This is the best kind of problem: everything works, you just need to claim the readings. Click **Set up mapping** (or **Map a key**), pick the readings you want from the list that's now populated, save, and your history starts filling from the next report onward.

**"Data arrives but nothing is stored"** — Messages are landing but not becoming readings. Check the payload decoder matches this device — a template meant for a different model will produce nothing useful — and make sure at least one incoming key is mapped to a sensor. Both live on this same dialog.

**"Hasn't reported — device looks offline"** — It worked before, so start with the physical world: battery first, then range. A wine cellar monitor that stopped reporting the same week you rearranged the shelves is probably behind something now. Also confirm the sending schedule hasn't changed — if you reconfigured the sensor to report daily but Chirp still expects hourly, it'll look offline while being perfectly fine. Fix the **Data sending interval** on this tab to match reality.

**"Chirp can't reach your broker"** — MQTT only. Open the connector settings and recheck the broker URL and credentials. See [MQTT Troubleshooting](/connectors/mqtt-connector/troubleshooting).

**"A message arrived on a topic this device isn't set up for"** — MQTT only. Compare **Expected topic** with **Published to**. Either update the topic here to match what your device actually sends, or reconfigure the device to publish where Chirp is listening. Either works — pick whichever is easier to change.

**"Diagnostics unavailable"** — The check couldn't complete. Reopen the sensor and try again. Your data isn't affected either way — this only concerns the diagnostic view.

## How do I check the connector, not just the sensor?

Sometimes the sensor is fine and the connection itself is the issue. MQTT connectors have their own **Connector diagnostics** area with **Source health**, **Incoming**, and **Activity** tabs, showing whether the connector is receiving anything at all ("{{count}} seen", or **No activity yet** when it isn't), a **Connect device** shortcut, and its own **Diagnostics unavailable** state when the check can't run. Other connection types simply show their settings.

If every one of your MQTT sensors looks silent, start at the connector rather than the sensors. See [MQTT Troubleshooting](/connectors/mqtt-connector/troubleshooting).

## Why do values look old after I connect a replacement?

Your digital device keeps earlier readings when you disconnect its hardware. An old value does not mean the new tracker or sensor is working. Check the time of the last update, then follow the reception and mapping statuses.

If messages arrive but measurements do not update, open **Mapping** and reconnect the new source fields to the existing rows. For Family Car, check both latitude and longitude. Keep the car's digital device while fixing the connection; [Sensor Details](/devices/sensor-details#how-do-i-replace-my-cars-tracker) explains the replacement steps.

## What are good habits for using diagnostics?

* **Read top to bottom, fix bottom to top.** The reception status names the problem, the pipeline shows where it stops, the event feed proves it. But the fix almost always sits at the earliest stage that isn't OK.
* **Get the reporting interval right first.** More "offline" sensors are misconfigured schedules than dead batteries. A monthly water meter set to an hourly interval will look broken 720 times a month.
* **Don't panic at Skipped.** It's informational. Errors are the ones that want attention.
* **Take the free readings.** When you see "{{count}} more keys available, unmapped", have a look — battery level is often sitting there unclaimed, and it's the reading that warns you before a sensor goes quiet.
* **Check here before replacing hardware.** A sensor that says "Sending data — set up mapping to keep it" is a working sensor. Nothing on it needs replacing.

## What's next

* [Adding Sensors](/devices/adding-sensors) — register a sensor and map its readings.
* [Sensor Details](/devices/sensor-details) — the rest of the sensor dialog, including Logs.
* [MQTT Troubleshooting](/connectors/mqtt-connector/troubleshooting) — broker-side problems in depth.

## Why does a field arrive without a reading?

Check the data template's **Type** as well as the device data key. Text such as `ON` cannot be saved as a Boolean, and an Integer measurement drops decimal places with a diagnostic warning. [What Your Device Is Sending](/devices/what-your-device-is-sending#readings-keep-the-shape-they-arrived-in) explains the accepted values.

These reception checks use your reporting interval, with a one-hour fallback when no valid interval is configured. The command screen uses its own 30-minute last-seen check. With no last-seen time, diagnostics waits for data instead of treating a new sensor as proven offline.


# Rooms

Make Chirp devices easy to recognize by room using clear names, photos, applications, and dashboards.

Room-based names help you find the right digital device as your home grows. **Living Room Temperature**, **Garage Door**, and **Garden Valve** tell you what each record follows, even when its physical sensor is replaced.

## Name devices by room

1. Open **Devices** and choose the existing device.
2. On **Device info**, change **Device name** to include the room and purpose.
3. Add a photo if it helps distinguish similar devices.
4. Save.

Renaming keeps the same digital device and measurement history. If you are replacing a sensor in the same room, retain that device and [reconnect the replacement](/devices/sensor-details#replacing-a-sensor-at-home).

## Keep related devices together

Use **Application** on Device info to associate a device with a setup such as Home Watch. Each device belongs to one application at a time; **Default** leaves it outside a named application. See [Organizing Content](/applications/organizing-content).

For everyday viewing, arrange a dashboard around the rooms you check together and select their measurements in its widgets. The room name helps you pick the right device; it does not automatically create a location assignment or filter an automation. Choose the relevant devices explicitly when configuring a rule.

## Room names and location readings

A room name identifies a monitoring point. GPS coordinates are measurements sent by a tracker, such as the one attached to **Family Car**. Renaming a device does not change those coordinates or move a marker. See [Tracking What Matters](/dashboards/tracking-what-matters) to view recorded positions.

The current digital-device editor does not include a room/location assignment field. Use its name, photo, and application for organization.


# Favorite Devices

Star the devices and gateways you check most in Chirp — saved and shown right on their cards for quick access.

Favorites let you mark the devices and gateways you care about most by starring them. It's a quick way to flag the ones you check often.

## How to favorite something

Both **devices** and **gateways** can be favorited. Look for the **star icon** on a device card, a gateway card, or a gateway's detail page:

* **Star outline** = not favorited. Tooltip: **"Add to favorites."**
* **Star filled** = favorited. Tooltip: **"Remove from favorites."**

Click the star to favorite it; click it again to remove. Your choice is saved, and the filled or outlined star shows the current state wherever that device or gateway appears.

## Good to know

There isn't a separate "Favorites" page that lists everything you've starred — the star marks the item in place. On the Home Overview you'll see summary cards for devices and gateways rather than a dedicated favorites panel.

Use recognizable names such as **Family Car** when choosing which digital devices to star. If its tracker needs replacing, open that existing device and follow [the replacement steps](/devices/sensor-details#how-do-i-replace-my-cars-tracker).

## Tips

* **Star the things you rely on.** A filled star makes the devices and gateways you watch most stand out at a glance.
* **Keep it focused.** Starring a handful of key items is more useful than starring everything.


# Controlling Your Devices

Control your devices from Chirp — turn things on or off, dim lights, or just ask the AI Assistant to do it for you.

Up to now, Chirp has mostly listened — gathering readings from your sensors and showing them on your dashboards. **Commands** flip that around. They let Chirp *talk back* to your devices, so the same platform that tells you the living room is chilly can also turn the heater on.

With a supported connection and the right command payload, you can flick a smart plug on or off, dim the bedroom lights to 30%, warm a bulb's color temperature for movie night, nudge a thermostat to a new target, or send a setting to almost anything in your home. It works whether your device connects over Zigbee/MQTT or LoRaWAN — you don't have to think about the plumbing.

<figure><img src="https://1153890212-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxgYoHO4zlaBzHJcfIrto%2Fuploads%2Fgit-blob-239a5c4d9d211d02bfa521e702ded55600c79c58%2Fdevice-command-states.jpg?alt=media" alt="A device&#x27;s Commands &#x26; States tab, with its commands and recent actions"><figcaption></figcaption></figure>

The saved actions belong to the device's [digital twin](/devices), while the connected hardware carries them out. If you replace a smart plug or garden valve with another model, check its command settings and feedback readings before using the action again. Keeping the same digital device does not make the new model accept the old model's messages.

## Why you'll love it

Before, controlling a smart device usually meant juggling apps — one for the lights, another for the plugs, a third for the thermostat. Chirp brings the controls into the same place you already watch your home:

* **One home, one place to control it.** Define what a device can do once, then operate it with a tap — no fiddling with technical settings every time.
* **Tap-friendly controls.** You see a simple, friendly action ("Turn on", "Set brightness") — Chirp handles the messy details behind the scenes.
* **Know it actually happened.** Chirp can check that the device really responded, not just that the message was sent (see [Making sure it worked](/devices/commands/verification)).
* **A tidy history.** Every action you send is logged, so you can always see what changed and when.

## Where to find it

Open a device, and look for the **Commands & States** tab. It has two parts:

* **Commands** — where you set up the actions a device can do. See [Setting up a command](/devices/commands/creating-commands).
* **States** — where you actually press the buttons and see what happened. See [Sending a command](/devices/commands/executing-commands).

You'll see the **Commands & States** tab on devices that can be controlled:

* **Smart home devices connected over MQTT** — most Zigbee devices (through Zigbee2MQTT), DIY ESP32 builds, Tasmota plugs, and similar.
* **LoRaWAN devices** — save the physical connection first. A Class A sensor receives commands after it sends an update, while Class C can listen between updates. Check that the model supports the action you want.
* **Pretend sensors with Support commands switched on** — a [pretend sensor](/devices/pretend-sensors) behaves like the real thing, so you can practise the whole business before the hardware turns up.

Once a device has at least one command set up, it becomes *controllable* — and you can also drop it onto a dashboard as a [Control widget](/dashboards/adding-widgets/control-widget).

## Before you start

To control a device, you'll want:

1. **A device that can receive commands** — connected over MQTT, a LoRaWAN device that accepts commands, or a [pretend sensor](/devices/pretend-sensors) with commands switched on.
2. **At least one command set up** — a brand-new device has no actions yet. Start with [Setting up a command](/devices/commands/creating-commands).
3. **Permission to control it** — managing and sending commands follows your home's sharing settings.
4. **Sensible values** — if a command takes an input (like a brightness level), it has to be within the allowed range before Chirp will send it.

## Five ways to control a device

Commands are the foundation, and you can run them from five places:

* **On the device** — open it, go to **States**, and press a command.
* **On a dashboard** — add a [Control widget](/dashboards/adding-widgets/control-widget) so a light switch or button sits right next to your readings.
* **From an automation** — the [Rules engine](/rules-engine) can now press a command for you, automatically, the moment something happens. The same command you'd tap yourself gets sent with nobody home — so a leak at 3 a.m. shuts the water off on its own. See [When an Automation Runs a Command](/rules-engine/reference/automation-runs-a-command).
* **By asking the assistant** — say *"turn on the lamp"* and your [AI Assistant](/ai-assistant) does it, after showing you what it's about to send and checking afterwards that the device got it. See [Ask It to Turn Things On](/ai-assistant/let-ai-set-it-up).
* **From your own AI app** — connect ChatGPT, Claude or anything else that speaks MCP and ask it the same thing from wherever you already work. See [Your Own AI App](/api/mcp-server).

All five end up in the same place: the commands you set up here, sent the same way, logged the same way.

Alerts still have their place alongside all of them: an automation can act *and* tell you about it — shut the water off **and** send you a heads-up — so the problem's handled and you're never left in the dark.

Ready? Head to [Setting up a command](/devices/commands/creating-commands).


# Setting up a command

Set up a device command in Chirp — name it, pick the device, add inputs like brightness, and test before you save.

A command is a saved action with a friendly name — "Turn on", "Set brightness", "Warm white" — that you create once and then use again and again. After it's set up, you (or anyone you share your home with) can run it without ever seeing the technical bits.

Open the device, go to the **Commands & States** tab, stay on the **Commands** part, and tap **Add new command**. For physical devices, the editor has four sections: Identity, Routing, Payload, and Verification. A pretend sensor skips Routing.

<figure><img src="https://1153890212-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxgYoHO4zlaBzHJcfIrto%2Fuploads%2Fgit-blob-87de8d5f74f9d7507f2028f32b91df19536f345b%2Fdevice-command-editor.jpg?alt=media" alt="The command setup screen with the name, where-to-send, and message steps"><figcaption></figcaption></figure>

## How do I name a command?

* **Command name** — Required. Pick something you'll recognize at a glance, like `Turn on` or `Movie lighting`. Each command on a device needs its own name.
* **Description** — Optional. A quick note about what it does.

## How do I point a command at my device?

This tells Chirp how to reach the device. What you see depends on how the device is connected.

### Devices on MQTT (most smart home gear)

* **MQTT topic** — The address the message is sent to.
  * On Chirp's hosted broker, the first part of the address (the prefix) is filled in for you; you add the rest, like `living-room-lamp/set`. Your device needs to be listening on the full address.
  * Use at most 500 characters, leave out the `#` and `+` symbols, don't leave an empty gap between slashes, and don't start it with `iot/`, `external/` or `external-downlink/` — those are reserved.
* If another command already uses the same address, Chirp gives you a heads-up so two actions don't clash.

### Devices on LoRaWAN

* **fPort** — A number from **1 to 223** that tells the device which "channel" the message is for. Your device's manual will tell you which to use.
* **Confirmed downlink** — A switch: leave it **On** to have the network wait for the device to confirm it got the message, or **Off** to simply send and move on. Turn it **On** if you plan to pick **Query after ack** in step 4 — that check waits for the confirmation, so it can't be saved without one.
* LoRaWAN messages always go out as raw bytes, so they always go through a converter. MQTT devices and pretend sensors also offer a send-as-is option.

### Pretend sensors

There is no topic or fPort. With **Support commands** on, send an object using the pretend sensor's data keys, for example `{"light_on": true}`. For **Process with encoder**, supply a custom encoder that returns the same kind of object.

<figure><img src="https://1153890212-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxgYoHO4zlaBzHJcfIrto%2Fuploads%2Fgit-blob-34e85d9a6d9f2f8acf31db5f480d20f43dcd3331%2Fchirp-command-editor.jpg?alt=media" alt="The command editor of a pretend sensor with 1. Identity, 2. Payload with Send as-is and Process with encoder, and 3. Verification, where only No verification is offered"><figcaption><p>The command editor for a pretend sensor has three steps.</p></figcaption></figure>

### Devices that can't be controlled

Some devices only ever report in — there's no way to send anything back to them, so they don't offer commands at all.

## How do I define what the command does?

This is where you set up any choices the command offers and the message it sends.

### Inputs (parameters)

If your command needs a value — a brightness level, a color temperature, a mode — add it as a **parameter** with **Add Parameter**. For each one:

* Give it a **Name** and a short **Description** (the description is what you'll see when you run the command).
* Pick a **Type**:
  * **Integer** or **Float** for numbers, with an optional smallest (**Min**), largest (**Max**), and starting (**Default**) value — great for a 0–100 brightness.
  * **String** for text, with an optional list of allowed choices (an **Enum** like `auto, manual, off`).
  * **Boolean** for a simple on/off or true/false.

Setting a Min and Max means you can never accidentally send a brightness of 500% — Chirp keeps the value sensible for you.

### The message itself

For MQTT devices, you choose how the message is built:

* **Send as-is** — send the message straight through (best when your device understands plain JSON).
* **Process with encoder** — run it through a small converter first.

When a converter is used (and it always is for LoRaWAN, where messages have to be turned into raw bytes), you write a short **template** with `{{ placeholders }}` that get filled in with your inputs — so a "set brightness" command drops the brightness number into the right spot. LoRaWAN can use its device codec when no custom encoder is supplied. MQTT and pretend sensors require a **Custom encoder** when you choose **Process with encoder**; they do not fall back to a device codec.

## How does Chirp check that a command worked?

The last step is where you say whether Chirp should confirm the command actually did something — send and forget, wait for the device's next update, or ask the device outright. It's also where you pick which reading should change and what it should say.

It has a page of its own: [Making sure it worked](/devices/commands/verification). To find out what your device reports back and how it writes it, see [What Your Device Is Sending](/devices/what-your-device-is-sending).

## How do I test a command before saving?

Whenever a converter is involved, there's a **Try Encoder** tool right in the setup screen. Put in some test values and run it to see exactly what will be sent — including the technical form of the message and whether it ran cleanly. It's a no-risk way to be sure the command is right *before* it ever reaches your device.

## What if I replaced the hardware?

Reopen the saved command and check where it sends, what message it sends, and which reading confirms the result. A new smart-plug model may need a different message even though you kept its name and digital device. Update those details before using its dashboard button or automation again.

## How do I save a command?

Tap **Save**. The command shows up straight away in your list of commands and on the **States** tab, ready to use. You can **Edit** it later, or **Delete** it if you no longer need it.

## What's next

* Decide how Chirp confirms the command worked — [Making sure it worked](/devices/commands/verification).
* Actually press the button — [Sending a command](/devices/commands/executing-commands).

## What do the parameter and editor actions do?

**Add Parameter** gives the command another input. Each parameter needs its own **Name**, which cannot be empty, plus a type of Integer, Float, String or Boolean. Refer to a parameter by that exact name inside `{{ parameterName }}` placeholders. If you click **Remove** on a parameter, it disappears from the command you are editing, so fix any payload or expected-value placeholders that still mention it before you save.

For numbers, **Min** and **Max** are optional limits, and when you fill in both, Max has to be larger than Min. A numeric **Default**, if you set one, must sit inside that range. A String parameter can restrict its choices with **Enum (comma-separated, optional)**: list the allowed words separated by commas, and if you do, make the Default one of them. The string editor has no minimum/maximum length controls. Boolean Default offers **No default**, **true** and **false**. **Description** explains the parameter in the execution dialog.

In encoder mode, **Available fields** shows the inputs your function can use. Enter sample parameter values under **Test inputs** and click **Try Encoder**; you will see the output, or the error and any console messages. The preview only runs the encoding and never sends the command. Correct invalid JSON, unknown placeholders or out-of-range parameter settings before saving.

**Back to Commands** returns to the list. Save your changes first if you want to keep them. With read-only access you cannot edit. Setting up a command's payload never operates the hardware by itself; to run a saved command, follow the execution guide.


# Making sure it worked

Tell Chirp how to confirm a command really worked — skip the check, wait for the next reading, or ask the device.

After you ask a smart plug to turn on, Chirp can check whether the plug reports an on state. That optional check is **command verification**: it compares the device's feedback with the result you expected, so you can distinguish a sent request from a reported change.

Choose no check, wait for the device's next message, or query after acknowledgement when the device supports it. An accepted command alone does not prove the lamp came on; the feedback tells you what the connected device actually reported.

Pretend sensors offer only **No verification**. They can change generated readings, but cannot confirm that physical hardware received a message.

Set this up in the fourth step of [creating a command](/devices/commands/creating-commands). Choose the strategy that matches your device and the state you need to check.

## How do I skip checking a command? <a href="#dont-check" id="dont-check"></a>

Select **No verification** in the editor.

Send it and move on. Chirp won't verify anything.

With this option, the command shows as **Delivered** the moment it's sent on its way — *not* when the device actually does something. (Delivered means "sent, but not checked" — it's a step short of **Confirmed**, which only happens when you set up a check.) It's fine for harmless, everyday actions where it doesn't matter much if one tap is missed, but don't rely on it when you really need to know something changed.

## How do I confirm a command with the next reading?

The option is labeled **Wait for next uplink**.

After the command goes out, Chirp waits for the device's next normal update and checks whether it reflects the change you asked for. When the reading matches, the command is confirmed.

This works nicely for devices that report their status as part of their regular updates — like a plug that tells Chirp whether it's currently on.

## How do I confirm a command by asking the device?

Choose **Query after ack**.

The most thorough choice. After the device confirms it received the command, Chirp sends a quick follow-up question and checks the answer.

On a LoRaWAN device, switch **Confirmed downlink** on back in the routing step before you choose this. The follow-up only goes out once the device says it got the command, so there has to be a confirmation to wait for — otherwise the command won't save, and *Wait for the next reading* is the one to use.

* **Query command** — pick a command to use as the question, or create one right there. A follow-up question is a simple kind of command: it just asks the device for its current state, so there's nothing to fill in when it runs, and it needs no checking of its own — the device's answer *is* the check. Once saved, it's kept for reuse with any other command.
* When you create one, you write the short message that asks the device. For sensors on a cloud or external connection, you can send that message exactly as you wrote it, or let Chirp encode it first.
* Chirp matches the device's answer against what you expect to see.

Use this for devices that don't mention their status on their own but will tell you if you ask.

## What does a successful command look like?

For both checking options, you tell Chirp what a successful result looks like by adding one or more expected readings. Add at least one — the command won't save without it. Each reading needs both its **Metric** and its **Expected value**; if one is missing, the field is marked right there (*Select a metric* or *Expected value is required*) and **Save** stays off. A half-finished row can't quietly vanish anymore and leave you thinking a check is in place when it isn't.

### What does the expected-readings area look like?

In the command editor the block is headed **Expected sensor states** (starred, because it is required). Beneath it a hint explains that you can type a literal value or refer to one of the command's parameters with `{{ paramName }}`. Each reading you add is one row with two fields:

* **Metric** (placeholder **Select or type a metric**) is the measurement you expect to change. If the device has no mapped readings yet, the list says **No sensors mapped on this device yet** and links to the **Mapping section** so you can fix that first. A row whose reading was later unmapped warns **This sensor is no longer mapped on the device. Pick another metric.**
* **Expected value** (placeholder **Literal or {{ paramName }}**) is the result that counts as success. A parameter name that does not exist shows a message saying the placeholder matches none of the parameters defined above.

Choose **Add State** to add another row. Until at least one row is complete, a line reminds you to add an expected state to verify the result, and **Save** stays disabled.

### Which reading to pick

Pick the measurement the command actually changes. For a smart plug that's whatever reports on or off — not its battery or its signal strength.

The list shows the device's measurements under the names you gave them when you set the device up. Those aren't the names hidden inside the device's own messages: a plug that sends `socket_status` might show up here as *Plug status*. To see which is which, open the device's Mapping section — see [What your device is sending](/devices/what-your-device-is-sending).

Pick a measurement that's actually set up and getting readings. Ones you haven't mapped yet still show in the list, and a command checked against one of those never gets anything to compare, so that reading cannot confirm the action. If nothing is mapped yet, Chirp offers you a link to go and do that first.

### What to type as the expected value

Type what the device should be reporting once the command has done its job — written the same way the device writes it. The quickest way to get that right is to open the device's Mapping section and look at what the measurement says right now.

**If it's a word**, just type it. Use the spelling the device reports, such as `ON`.

**If it's a number, or an on/off true-or-false**, don't type it — point at one of your inputs instead. Put `{{ inputName }}` in the box and set that input up as a number or a true/false in the previous step. Anything you type in by hand counts as a word, so a typed `1` looks for the word `1` and won't match a device reporting the number 1.

**To follow whatever the person entered**, use that same `{{ inputName }}` — a "set brightness" command can then check the device reports whichever brightness was asked for. The name has to match one of your inputs, and Chirp flags it if it doesn't.

| The device says        | Type this                                          |
| ---------------------- | -------------------------------------------------- |
| `ON`                   | `ON`                                               |
| `open`                 | `open`                                             |
| `60` (a number)        | `{{ level }}`, with **level** set up as a number   |
| `true` (true or false) | `{{ state }}`, with **state** set up as true/false |

If a command keeps coming back as *Soft warning* even though the device clearly did the thing, this box is the first place to look — compare what you typed against what the measurement is really reporting.

## How long does Chirp wait for confirmation?

Chirp waits a little while for the device to catch up before deciding.

* Leave the wait time empty to use the sensible default (about 1.5 times how often the device normally reports). Make sure that reporting interval is set correctly on the device — where it's missing, the default stretches out to an hour and a half.
* Or enter **Convergence timeout** as a whole number of seconds, from 1 to 86400 (one day).
* If the time runs out without a match, the command is marked **Soft warning** instead of failed — meaning "we couldn't confirm it," not "it definitely didn't work." Often it did; it's just worth a glance.
* Check what happened before trying again. Some actions have another effect each time you send them.

## Which verification method should I choose?

| Choice                    | Confirms                        | Good for                                   |
| ------------------------- | ------------------------------- | ------------------------------------------ |
| Don't check               | Only that it was sent           | Simple, low-stakes taps                    |
| Wait for the next reading | The device's next normal update | Devices that report their status regularly |
| Ask the device            | A direct answer from the device | Devices that respond when asked            |

Next: [Sending a command](/devices/commands/executing-commands).


# Sending a command

Send a command from the States tab in Chirp, fill in any values, and see whether it worked in your activity history.

Once a device has commands set up, the **States** part of the **Commands & States** tab is your remote control. It shows what you can do, lets you do it, and keeps a tidy record of everything you've sent.

<figure><img src="https://1153890212-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxgYoHO4zlaBzHJcfIrto%2Fuploads%2Fgit-blob-dcba50b3f1f2412c34d809929a295dad5a155583%2Fdevice-command-execute.jpg?alt=media" alt="The Execute command dialog, setting a value before sending"><figcaption></figcaption></figure>

## What you can do

The **Available commands** list shows every action set up for the device — its name, what it does, how many inputs it needs, and a **Execute** button to run it. If the list is empty, the device doesn't have any commands yet; pop over to the **Commands** part to set one up (see [Setting up a command](/devices/commands/creating-commands)).

## Pressing the button

Tap **Execute** next to a command.

* If it doesn't need any inputs, just confirm and it's on its way.
* If it does — say, a brightness level — fill in the **value**. Chirp shows the allowed range (like `Min: 0 - Max: 100`) and checks the limits configured for that command.
* Tap **Execute** to send, or **Cancel** to change your mind.

## If the device is offline

Chirp disables **Execute** here when the last message is more than 30 minutes old. That check is separate from the reporting schedule used by Connection diagnostics, so a sensor that normally reports hourly can be healthy there but unavailable for an interactive command.

If Chirp has no last-seen time, the absence of a banner does not mean the device is reachable. Check its connection and recent readings. After sending, read **Recent executions** before repeating an action.

## Your activity history

Everything you send is listed in **Recent executions**, so you always have a record of what happened:

* **Command** — what you ran
* **Started** — when you sent it
* **Updated** — when its status last changed
* **Status** — how it turned out
* **Details** — a plain-language note

A command's status will be one of:

* **Pending** — on its way.
* **Confirmed** — done, and the check you set up saw the device's reading match.
* **Delivered** — sent on its way. You didn't set up a check, so Chirp isn't confirming the result — just that the command went out.
* **Soft warning** — receipt or the expected reading was not confirmed in time. Check Details; this status alone does not prove the device received or performed the action.
* **Failed** — it didn't go through. The **Details** note tells you why.

### What the Details note can say

When something needs a second look — a **Soft warning** or a **Failed** — the Details note explains why in plain language. The ones you'll run into most:

| If you see…                                                     | It means…                                                                    |
| --------------------------------------------------------------- | ---------------------------------------------------------------------------- |
| Device downlink queue is full.                                  | The device has too many messages waiting — give it a moment, then try again. |
| Validation failed.                                              | Something in the command wasn't right — check its settings.                  |
| Payload too large for the device.                               | The message is bigger than the device can take — trim it down.               |
| Sent, but the device didn't confirm receipt.                    | It went out, but the device never said "got it."                             |
| Sent, but the device didn't confirm the expected state in time. | It went out, but the reading you were expecting didn't show up in time.      |
| Device offline — command not delivered in time.                 | The device was asleep or out of reach, so it didn't arrive.                  |
| No gateway available to reach the device.                       | No gateway was nearby to pass the message along.                             |
| Broker authentication failed.                                   | The connection was refused — check your MQTT login details.                  |
| The command couldn't be sent. Please try again later.           | A temporary hiccup — give it another go.                                     |
| Invalid payload — check the command.                            | The message didn't come out right — take another look at the command.        |

These are the common ones — you might occasionally see a different note, since Chirp passes along whatever reason it gets.

## Control from your dashboard

For everyday use, you don't even need to open the device. Add a [Control widget](/dashboards/adding-widgets/control-widget) to a dashboard and you'll have a light switch or button sitting right next to your readings — same actions, same history, one tap away.

## See also

* [Setting up a command](/devices/commands/creating-commands)
* [Making sure it worked](/devices/commands/verification)
* [Example: Switching a Lamp](/devices/commands/lamp-example) — two commands set up and checked, start to finish
* [Control widget](/dashboards/adding-widgets/control-widget)


# Example: Switching a Lamp

Set up on and off commands for a smart lamp from start to finish, and have Chirp confirm the lamp really switched.

This walks through two commands on one device and gets Chirp confirming they worked. It uses an MQTT-connected Zigbee2MQTT lamp whose state messages contain `state: "ON"` or `state: "OFF"`. Check the payload your own lamp supports before using this example.

Do the parts in order; each one gives you something the next part needs.

## What do I need before I set up a lamp command?

* The lamp is already added and sending updates.
* You can see its readings in the device's **Mapping** section.

## How do I find out how the lamp says "on"?

Open the lamp and go to **Mapping**. Look down the list of fields for the one that reports whether it's lit, and note two things: what the field is called, and what it says right now.

For this lamp:

| Field   | Right now |
| ------- | --------- |
| `state` | `OFF`     |

That's the value a check will be looking for later, so copy it down exactly as it appears — `OFF`, not the Boolean `false`.

If the field hasn't been mapped to a measurement yet, do that now. Commands pick their readings by measurement name, so an unmapped field can't be used to check anything. See [What Your Device Is Sending](/devices/what-your-device-is-sending).

In this example `state` is mapped to a String measurement called **Lamp state**.

## How do I set up the "Turn on" command?

Open **Commands & States → Commands** and tap **Add new command**.

**1. Name it**

* **Command name** — `Turn on`

**2. Point it at your device**

* Set **MQTT topic** to the prefix Chirp displays followed by `zigbee2mqtt/living-room-lamp/set`, using the default Zigbee2MQTT base topic. Replace the friendly name with your lamp's exact name.

**3. What the command does**

Leave parameters empty, select **Send as-is**, and enter `{"state": "ON"}` as **Direct payload**. This mode does not use an encoder, so there is no encoder preview to run.

**4. Decide how Chirp checks it worked**

Pick **Wait for next uplink** — the lamp mentions its state in every normal update, so there's no need to go asking.

Under the expected readings, add one:

* **Metric** — *Lamp state*
* **Expected value** — `ON`

Use the String value `ON`, matching this lamp's reported state. See [Making sure it worked](/devices/commands/verification#what-to-type-as-the-expected-value).

Tap **Save**.

## How do I set up the "Turn off" command?

Same again, with three changes:

* **Command name** — `Turn off`
* **Direct payload** — `{"state": "OFF"}`
* **Expected value** — `OFF`

Everything else stays as it was.

## How do I try the lamp commands?

Go to the **States** tab, find **Turn on**, and tap **Execute**.

Watch it appear in the recent list:

1. It sits at **Pending** while the message is on its way.
2. When the lamp's next update arrives saying `state: ON`, it turns **Confirmed** — Chirp has seen the lamp in the state you asked for.

Run **Turn off** and you'll see the same thing the other way round.

## What if the lamp command never confirms?

A command that isn't confirmed before the wait runs out shows as **Soft warning** — it went out, but Chirp couldn't prove anything changed. Work down this list:

1. **Check the value.** Open Mapping and see what `state` says now. If the lamp switched but reports `1` rather than `ON`, your expected value needs to match that — and since anything you type counts as a word, point at an input set up as a number or true/false instead.
2. **Check the reading.** Make sure the measurement you picked is the one fed by `state`, and that it's mapped and getting updates.
3. **Check the wait.** The default is about 1.5 times how often the lamp normally reports. If that interval isn't set on the device, set it.
4. **Check the message.** Check the MQTT topic and JSON against the manufacturer's instructions. Trigger a fresh state report to check the mapping.

## What's next

* Put both commands on a dashboard so anyone at home can use them without opening the device.
* Let an automation switch the lamp for you — see [An Automation Runs a Command](/rules-engine/reference/automation-runs-a-command).


# Tested Device Guides

Hands-on walkthroughs for specific sensors and bulbs we paired end-to-end with Chirp at home.

These walkthroughs cover end devices we have tested end-to-end on Chirp. They are not the supported device list — Chirp can receive readings from other compatible MQTT and LoRaWAN devices, and you don't need to find your specific hardware in this section before adding it. The point of these pages is simply that **if you happen to have one of these exact devices**, the pairing procedure, configuration values, and quirks are documented here so you don't have to figure them out yourself.

For the standard registration flow that applies to any device, see [Adding Sensors](/devices/adding-sensors). For Zigbee devices specifically, [Setting up Zigbee2MQTT](/connectors/mqtt-connector/zigbee2mqtt) explains the generic pairing pattern and links you to your device's manufacturer instructions.

For replacement hardware, use these guides for pairing and payload details, then reconnect the new source to your existing digital device. Keep its measurement rows rather than repeating the new-device registration step. [Sensor Details](/devices/sensor-details#replacing-a-sensor-at-home) explains the distinction.

## What's in this section

### [Zigbee devices](/devices/tested-device-guides/zigbee)

Walkthroughs for Zigbee end devices we tested through a Zigbee2MQTT hub. Currently:

* [Paulmann 50064 light bulb](/devices/tested-device-guides/zigbee/paulmann-50064-light-bulb) — a CCT (tunable-white) Zigbee bulb.

If you have a different Zigbee device, follow your manufacturer's pairing instructions and the [generic Z2M setup page](/connectors/mqtt-connector/zigbee2mqtt). The registration steps in Chirp are the same for every Zigbee device — the only piece that's device-specific is how the device enters pairing mode and what payload keys it publishes.

## How a tested-device walkthrough is structured

Each page covers four things:

1. **What the device is** — quick orientation, what to expect, what works and what doesn't (e.g., bulbs that don't publish on physical wall-switch toggles).
2. **The pairing procedure** — exactly what we did to get the device joined and named in Z2M. Includes specific gotchas, like reset patterns and timing.
3. **The capability profile** — every payload key the device publishes, with type, range, and what it means.
4. **Registering it in Chirp** — values to use in the device form (Device ID, Device ID Topic, mappings) and a confirmation that the readings flow into the Mapping tab.

If you want to add a device that isn't covered here, the same four-part shape applies — the manufacturer's documentation will tell you (1), (2), and (3), and the [MQTT connector documentation](/connectors/mqtt-connector) covers (4) for any MQTT-bridged device.


# Zigbee Devices

Zigbee bulbs and sensors we paired through a Zigbee2MQTT hub — pairing quirks and payload details.

Zigbee end devices we have paired and registered end-to-end on Chirp through a Zigbee2MQTT hub. These pages cover the device-specific parts — pairing procedures, payload formats, behavioral quirks. The protocol-level setup (Z2M install, MQTT connector configuration, Chirp device registration flow) is the same for every Zigbee device and lives in [Setting up Zigbee2MQTT](/connectors/mqtt-connector/zigbee2mqtt) and [Topics and device routing](/connectors/mqtt-connector/topics-and-device-routing).

## In this section

* [Paulmann 50064 light bulb](/devices/tested-device-guides/zigbee/paulmann-50064-light-bulb) — Tunable-white CCT bulb. Covers the 5-cycle factory-reset pattern, the full payload field set, the Mirek-scale color-temperature mapping, and the behavioral quirk where physical wall-switch toggles don't generate MQTT publishes.

## Don't have one of these?

That's the normal case. The [Zigbee2MQTT supported devices list](https://www.zigbee2mqtt.io/supported-devices/) covers thousands of devices — is a starting point for checking compatibility. Your bridge must publish a supported MQTT payload, and the fields you need must be mapped in Chirp. The procedure for registering a new Zigbee device is:

1. Pair the device through Z2M, following the manufacturer's instructions for entering pairing mode.
2. Rename it in the Z2M web UI to a whitespace-free friendly name.
3. Register it in Chirp using the friendly name as the Device ID and `zigbee2mqtt/{{deviceId}}` as the Device ID Topic — the same values as for any other Z2M-bridged device.
4. Map the payload keys the device publishes to your chosen normalized metrics.

The only thing that changes between devices is step 1 (pairing varies by manufacturer) and the specific payload keys at step 4 (they differ by device class). Adjust the topic pattern if you configured a different Zigbee2MQTT base topic.

If you'd find a walkthrough for your specific hardware useful, the [Paulmann 50064 page](/devices/tested-device-guides/zigbee/paulmann-50064-light-bulb) is a good template for what one of these looks like — the structure transfers cleanly to other devices.


# Paulmann 50064 Light Bulb

Pair, register, and map the Paulmann 50064 tunable-white Zigbee bulb in Chirp, with all the quirks.

This is a hardware-specific walkthrough for the **Paulmann SmartHome LED spot, model 50064** — a Zigbee 3.0 CCT (tunable-white) bulb we tested end-to-end with Zigbee2MQTT and Chirp's MQTT connector. If you have this exact bulb, follow these steps to pair it, register it in Chirp, and map its readings.

If you have a **different Zigbee bulb or device**, you don't need this page — the generic flow applies. Pair the device through Z2M following your manufacturer's instructions, then [register it in Chirp](/connectors/mqtt-connector/topics-and-device-routing) the same way as any other Z2M-bridged device. The Paulmann 50064 happens to be the bulb we had in hand for the testing — the procedure transfers cleanly to other Zigbee devices.

The [Zigbee2MQTT model reference](https://www.zigbee2mqtt.io/devices/50064.html) documents its supported controls and payload ranges. The pairing notes below describe the setup used for this guide.

## What is the Paulmann 50064 light bulb?

* **Type:** CCT (correlated color temperature) tunable-white LED. Adjusts brightness and color temperature, but not color (no RGB).
* **Color temperature range:** 150–500 mired (about 6667K daylight to 2000K candle-warm).
* **Power:** mains-powered; confirm the fitting and electrical rating on your unit before installation.
* **Zigbee profile:** Zigbee 3.0, identifies as `Paulmann SmartHome led spot (50064)` in Z2M.
* **Z2M auto-identifies it** — once paired, Z2M shows the brand and model in the Devices tab without manual selection.

What works:

* Brightness and color-temperature control via the Z2M web UI, MQTT `/set` commands, or any home-automation system that publishes to MQTT.
* State changes initiated via MQTT or the Z2M web UI generate confirmation publishes that flow through Chirp into the Mapping tab and Logs tab.

Behavioral quirk to know up front: **physical wall-switch toggles do not generate MQTT publishes** on this bulb. The bulb's firmware only reports state changes that arrived over Zigbee, not changes caused by mains power-cycling. If you flip a wall switch and then check the Logs tab, expect to see nothing new — that's the bulb's design, not a Chirp or Z2M bug. To verify state in Chirp during setup, drag the brightness slider in the Z2M web UI or send a `/get` poll. See [Troubleshooting](/connectors/mqtt-connector/troubleshooting) for the full list of "what counts as a publish."

## What do I need for the Paulmann 50064?

* Z2M is installed and running. If not, follow [Setting up Zigbee2MQTT](/connectors/mqtt-connector/zigbee2mqtt) and the [Sonoff ZBDongle-E coordinator walkthrough](/gateways/zigbee2mqtt-hubs/sonoff-zbdongle-e-coordinator) (or the equivalent for your coordinator) before continuing here.
* The bulb is screwed in and the wall switch is in the **on** position. It's powered, even if it's currently lit on factory-default settings.
* The bulb is within \~2 meters of the coordinator for initial pairing. After joining, you can move it anywhere — Zigbee mesh routing handles range.

## How do I pair the Paulmann 50064 bulb?

The Paulmann 50064 uses a 5-cycle reset pattern.

1. **Open Permit join in Z2M first.** In the Z2M web UI at `http://localhost:8080`, click the green shield icon at the top labeled **Permit join (All)**. The Zigbee network is now open for 180 seconds.
2. **Power-cycle the bulb through 5 on-cycles.** Use the wall switch:
   * on → off → on → off → on → off → on → off → on
   * That's 5 on-states with an off-state between each. Hold each state for \~2 seconds. Don't rush — too fast and the bulb may not register the cycle.
3. **On the 5th on-cycle, the bulb blinks rapidly.** This is the factory-reset confirmation. Pairing mode is now active and the bulb is on.
4. **Stop. Leave the bulb on. Don't touch the switch.** This is the most common mistake — people see the blink and immediately do another off/on cycle, which restarts the reset sequence and aborts the join attempt.
5. **Wait 10–30 seconds.** The bulb joins the Zigbee network and appears in Z2M's Devices tab, identified by its IEEE address (`0x...`).
6. Z2M auto-identifies the model. The Devices tab shows `Paulmann SmartHome led spot (50064)` next to the device.

If pairing doesn't happen within \~60 seconds:

* The 180-second Permit join window may have closed. Click Permit join again.
* The bulb may already be paired to a previous Zigbee network (rare for new bulbs but possible if you bought it second-hand). Repeat the 5-cycle reset to factory-default it again.
* Some Paulmann firmware revisions require 10 cycles instead of 5. Try 10 if 5 doesn't trigger the blink.
* Move the bulb closer to the coordinator. 1–2 meters is the safest range for first pairing.

## How do I rename the Paulmann 50064 in Zigbee2MQTT?

When the bulb pairs, its initial friendly name is its IEEE address. Rename it to something readable — that name will become the device-level MQTT topic Z2M publishes to AND the Device ID you'll use in Chirp.

In the Z2M web UI:

1. Click the bulb's row in the Devices tab.
2. Click the pencil icon next to the name at the top of the detail panel.
3. Type a new name. Use a clear name such as `TableLampLivingRoom` or `table_lamp_living_room`. Chirp preserves case and spaces; its Device ID must match the friendly name exactly.
4. Press Enter or click the checkmark.

The example friendly name we'll use in this page: **`TableLampLivingRoom`**.

After renaming, Z2M publishes to a topic that starts with your Cloud MQTT connector's prefix:

```
{Topic prefix}/zigbee2mqtt/TableLampLivingRoom
```

## What does the Paulmann 50064 publish?

When the Paulmann 50064 sends a state update, the payload looks like this:

```json
{
  "brightness": 254,
  "color_mode": "color_temp",
  "color_temp": 392,
  "color_temp_startup": 65535,
  "linkquality": 212,
  "state": "ON"
}
```

Full field reference:

| Field                | Type            | Range                                                                        | Notes                                                                                                                                                                                                                                                                                                                                                                           |
| -------------------- | --------------- | ---------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `state`              | string          | `"ON"`, `"OFF"`                                                              | `TOGGLE` is a command input, not a reported steady state. **String, not boolean.** Map to a String-typed metric in Chirp.                                                                                                                                                                                                                                                       |
| `brightness`         | integer         | 0–254                                                                        | 0 turns the bulb off on some firmware versions. Note: 0–254, not 0–255 or 0–100.                                                                                                                                                                                                                                                                                                |
| `color_temp`         | integer         | 150–500 mired                                                                | See the Mirek-scale table below.                                                                                                                                                                                                                                                                                                                                                |
| `color_temp_startup` | integer or null | 150–500, `65535`, or `null`                                                  | "Start Up Color" — what color temperature the bulb turns on as when power is restored. `null` = not configured; the bulb uses its firmware default on cold power-on. `65535` = sentinel for "restore previous color temperature." Any number in 150–500 = a fixed mired value to apply on every power-on. Set via a `/set` command with an explicit numeric value to configure. |
| `power_on_behavior`  | enum            | `off`, `on`, `toggle`, `previous`                                            | Behavior after a power loss. Send via `/set` to configure.                                                                                                                                                                                                                                                                                                                      |
| `effect`             | enum            | `blink`, `breathe`, `okay`, `channel_change`, `finish_effect`, `stop_effect` | Command-only effects. Send via `/set`; this field is not published as a state reading and cannot be read with `/get`.                                                                                                                                                                                                                                                           |
| `linkquality`        | integer         | 0–255                                                                        | Zigbee link quality. Signal-quality reading useful during troubleshooting.                                                                                                                                                                                                                                                                                                      |
| `color_mode`         | string          | `"color_temp"`                                                               | Reported by the setup used for this guide. Map it if your bridge publishes it; optional fields can differ with firmware and bridge versions.                                                                                                                                                                                                                                    |

### Mirek scale (`color_temp` values)

The Mirek (or "mired") scale is the inverse of Kelvin: lower Mirek = cooler/bluer light, higher Mirek = warmer/more amber. The formula is mired = 1,000,000 / Kelvin.

Z2M ships named presets for the Paulmann 50064:

| Preset name | Mired | Approximate Kelvin | Description           |
| ----------- | ----- | ------------------ | --------------------- |
| coolest     | 150   | 6667K              | Daylight / blue-white |
| cool        | 250   | 4000K              | Natural white         |
| neutral     | 370   | 2703K              | Warm white            |
| warm        | 454   | 2203K              | Candle-like           |
| warmest     | 500   | 2000K              | Very warm amber       |

When you map `color_temp` in Chirp, choose a numeric metric. The unit is mired (lower = cooler).

If this bulb replaces one already represented in Chirp, keep that digital device and reconnect its MQTT source and measurement mappings. Review any saved commands for the replacement model. The steps below describe a new registration; [Sensor Details](/devices/sensor-details#replacing-a-sensor-at-home) covers the replacement approach.

## How do I register the bulb in Chirp?

Once Z2M is publishing to a topic Chirp can see (verify via the connector's **Last data received**), register the device:

1. **Connectors → your MQTT connector → Add device.**
2. **Device ID:** `TableLampLivingRoom` (or whatever whitespace-free friendly name you chose). It must match the Z2M friendly name byte-for-byte.
3. Create and save the named digital device, then open **Connection** and select your MQTT connector.
4. **Connection — topic routing:**
   * **MQTT Topic for device ID:** `zigbee2mqtt/{{deviceId}}`
   * **Where to get the device ID:** `Topic` (default).
   * **Topic Telemetry:** leave empty. The Paulmann publishes a flat JSON payload — Chirp parses all keys automatically.
5. Click **Save**, then open **Mapping** to reach the per-key rows. See [MQTT Devices](/devices/mqtt-devices) for the complete workflow.
6. **Mapping — Pass 1:** add a row per metric you want, but **leave Device data key empty**. Recommended initial set:

   | Normalized key    | Type    | Data type |
   | ----------------- | ------- | --------- |
   | State             | String  | Telemetry |
   | Brightness        | Integer | Telemetry |
   | Color Temperature | Integer | Telemetry |
   | Color Mode        | String  | Telemetry |
   | Link Quality      | Integer | Telemetry |

   If a normalized key you want doesn't exist, use **+ Add new metric** and create one. The modal handles both the normalized name and the underlying sensor template.

   > **Color Mode must be a String, not an Integer.** It's tempting to default to a numeric type for what looks like a small enumerated value, but the actual payload value is a string (`"color_temp"`). A numeric metric rejects this text instead of storing it. The same is true for `state` (`"ON"`/`"OFF"`).
7. Click **Save**.
8. **Generate a publish.** Open the bulb in the Z2M web UI and drag the brightness slider, or use the on/off toggle. Z2M sends a `/set` command, the bulb confirms the new state, and Z2M publishes the confirmed payload — that's the publish Chirp needs.
9. **Mapping — Pass 2:** reopen the device record. The **Device data key** dropdowns now list the keys received from the bulb. Match each row:

   | Mapping row       | Device data key |
   | ----------------- | --------------- |
   | State             | `state`         |
   | Brightness        | `brightness`    |
   | Color Temperature | `color_temp`    |
   | Color Mode        | `color_mode`    |
   | Link Quality      | `linkquality`   |
10. Click **Save** again.

### Pass 3 — add Start Up Color after the first publishes arrive

Once the bulb has been publishing for a little while, the Device data key dropdown shows one more useful field: **`color_temp_startup`**. The bulb only emits this in some payloads — typically after a `/get` poll or after explicitly setting it — so it often isn't visible during Pass 2. Treat it as a third pass:

11. Reopen the device record. Confirm the Device data key dropdown now lists `color_temp_startup` as an option (if not, force a publish that includes it: send a `/get` request, or send a `/set` with a `color_temp_startup` value).
12. Click **Add key** in the Mapping sub-tab.
13. Pick or create a **Start Up Color** normalized key (Integer type, Telemetry data type).
14. Set the Device data key to `color_temp_startup`.
15. Click **Save**.

| Mapping row    | Device data key      | Type    | Data type |
| -------------- | -------------------- | ------- | --------- |
| Start Up Color | `color_temp_startup` | Integer | Telemetry |

**What "Start Up Color" means:** the color temperature the bulb turns on as when power is restored. A specific number (150–500 mired) means "always cold-start at this color." `65535` means "remember the previous setting and restore it on power-on." `null` means it isn't configured — the bulb uses its firmware default. Useful in homes where you want the lamp to always come on warm regardless of how it was last left.

This three-pass progression — register the obvious fields first, fill in Device data keys after the first publish, then add the late-discovered field — is normal for MQTT mapping. Most devices have at least one field you'll only see once data is flowing.

After the three passes, the **Value** column on the Mapping tab populates with the bulb's current state across all six metrics. Generate one more publish (drag the Z2M slider) to confirm records arrive in the **Logs** tab — that's your end-to-end verification.

## Which behaviors look like problems but aren't?

* **Mapping tab Value column updates but Logs tab is empty.** Normal after Pass 2 if you saved Device data keys after the most recent publish. Generate a fresh publish from the Z2M web UI.
* **`color_mode` always shows `"color_temp"`.** This bulb has no RGB capability. The field is always `color_temp` for CCT bulbs.
* **`color_temp_startup` shows `65535` or `null`.** `65535` is the sentinel for "restore previous color temperature on power-on." `null` means it hasn't been configured and the bulb uses its firmware default. Set a specific number (150–500 mired) via `/set` if you want a fixed color on every cold power-on.
* **`color_temp_startup` doesn't appear in early payloads.** The bulb only emits this field in certain payloads — typically after a `/get` poll or after the field has been explicitly set. If your Device data key dropdown doesn't show it during Pass 2, that's normal — see Pass 3 above.
* **Multiple publishes from one `/get` request.** Z2M polls Zigbee attribute clusters separately, so one `/get` produces 2–4 publishes back as the cluster responses arrive. Normal — not an error.
* **Wall-switch toggle produces no Logs entry.** As covered above — this bulb doesn't publish on physical power-cycle. Use the Z2M web UI to generate publishes for setup-time verification.

## Where to go next

* [MQTT Troubleshooting](/connectors/mqtt-connector/troubleshooting) — when something isn't working.
* [Topics and device routing](/connectors/mqtt-connector/topics-and-device-routing) — the protocol-level reference for the registration concepts above.
* [Zigbee2MQTT setup](/connectors/mqtt-connector/zigbee2mqtt) — to recheck the Z2M install or to pair another device.


# Cameras

Keep the home cameras you own, see them together in Chirp, use motion in your automations, and store recordings in your own cloud.

Open **Cameras** in the main navigation to use **Lens**, the camera product within Chirp.

**Lens** is Chirp's cloud camera feature. It lets you check compatible IP cameras and use their motion readings alongside the sensors and automations that help you look after your home.

Here is what Lens gives a household:

* **Every camera in one app.** Front door, garage, garden, and holiday home appear together instead of in a separate app each.
* **No camera shopping.** If a camera can send an RTSP stream, it can usually join.
* **Alerts from old cameras.** Draw the area that matters and a camera with no smart features can still start an automation.
* **Your recordings, your storage.** Keep clips on your own computer, or send a copy to a cloud account you control.

You may already have a camera at the front door and a different brand in the garage. If they provide supported RTSP streams, you can keep those cameras and connect them to Chirp. Your residential setup can span several properties: a main house, a holiday home by the coast, and an apartment. Connect compatible cameras at each property without replacing them all with one manufacturer’s equipment.

<figure><img src="https://1153890212-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxgYoHO4zlaBzHJcfIrto%2Fuploads%2Fgit-blob-f6160bc630de5446cb756a461c59984451fd0bfe%2Fchirp-lens-live-view.jpg?alt=media" alt="Chirp Lens showing two connected home-camera feeds"><figcaption><p>Two camera brands together in Chirp Lens, shown in Preview mode.</p></figcaption></figure>

## Why use Chirp Lens at home?

### What if each camera has its own app?

Most households end up with a doorbell from one brand, a garden camera from another, and a cheap indoor camera someone gave you. Each one wants its own app and its own login, and a family member who needs access gets a shared password. Lens gathers them in Chirp. You open one **Live view**, and each person signs in with their own account. Lens needs **Edit** access to Cameras, so give **Edit** to the people who should use it and **No access** to everyone else; a person with only **View** access to Cameras sees nothing in Lens. Access is set per feature, which means someone can manage the cameras without being able to change your sensors. A housemate who moves out loses access in one step.

### Do I have to buy new cameras?

No. Lens works from the RTSP video stream, which most IP cameras on the market can send. Look up your model in [RTSP Camera URLs](/lens/rtsp-camera-urls); if it lists a stream address, you are most of the way there. You can add one camera today and another next month.

### How can a cheap camera trigger an automation?

Draw a rectangle around the garage door on the camera's picture, and Twin watches only that rectangle for movement. A camera bought years ago can then start an automation when something moves by the door, and cars passing on the street do not. See [Motion Zones](/lens/motion-zones). Lens detects movement, not people or pets, and understanding what a camera sees is something we are working toward, not something available now.

### Where can I keep my recordings?

On the computer running Twin, and if you want a second copy, in a cloud account you own (Amazon S3, Google Cloud Storage, or Walrus). Details are in [Back Up Home Camera Recordings to the Cloud](/lens/cloud-archive).

### What can a camera do with my other devices?

Lens turns every camera into a device in your home, reporting two readings: **Camera motion** and **Camera status**. Use those readings in an automation or alert exactly as you would a door contact or a thermostat. Today you can combine a camera's motion with a door sensor and get an alert only when the door is open too.

Here is a scenario to show where this leads, not something Chirp does today. You are away, and the front-door sensor reports the door opened at 3 a.m. Because the camera, the sensor, and your lights all live in one platform, one automation could turn on the hallway light and send you the camera view at the same time. The more of your home shares one platform, the more situations like that you can set up.

## What is a camera's Twin?

**Twin** is the program you install on a computer at the property. It is the digital twin of one physical camera: it connects to that camera's video on your home network and links the camera to Lens. It runs as a Docker container. Lens is the cloud side; Twin stays at your premises.

There is **one Twin container for each camera**. Two cameras need two Twins. Twenty cameras need twenty. A suitable computer can run more than one container, but each needs its own configuration and enough host resources.

```mermaid
flowchart LR
  A[Front-door camera] --> B[Front-door Twin at home]
  C[Garden camera] --> D[Garden Twin at home]
  B --> E[Chirp Lens in the cloud]
  D --> E
  E --> F[Check live video]
  E --> G[Use motion in home rules]
```

RTSP is the camera's video-streaming connection. You will need its address and login details. ONVIF can help discover and control supported cameras. Check the camera's own settings or manual for those features.

## How can Lens make an older camera smart?

Some home cameras come with smart features built in, which means a small computer inside each camera running its maker's software. Lens does not need any of that. The camera only has to send its video as an RTSP stream, which most IP cameras can do, including older ones.

The processing happens off the camera. Twin, on a computer in your home, watches the stream, detects motion in the areas you draw and can keep local recordings. Chirp shows the live video and lets the camera's motion reading start rules, just like a reading from any of your other sensors.

That means you can:

* keep the cameras you already own, whatever the brand
* get motion alerts from an older camera that has no smart features of its own
* pick up Twin and Chirp updates without buying new cameras

For example, you have a camera above the back door and a door sensor on the same door. When the camera sees movement at the doorway, a rule checks the door sensor and sends an alert to your phone if the door is open.

## Who in your household can see the cameras?

Instead of sharing one camera-app password, each household member signs in with their own Chirp account. You choose for each person whether they get **Edit** or **No access** to Cameras; Lens needs **Edit**, and **View** access to Cameras does not open the Lens screens (see [Users and Permissions](/account/users-and-permissions)). If someone moves out, you remove their access in Chirp without changing anything on the cameras. The local Twin login stays separate.

## Where is Lens going?

We are adding more AI to Lens. It runs off the camera, where there is room for larger models and smarter logic than a chip inside a single camera can hold. Because of that, the cameras you already own, even older ones, get new features through software updates instead of being replaced. Today, Lens detects motion in the areas you draw; it does not recognize people or objects.

## How do I watch only the part that matters?

A camera facing the front steps may also see people passing on the pavement. In Twin, draw a motion area around the doorway. Movement there can change the camera's motion reading, while activity outside the area does not trigger that detection.

An older camera does not need its own AI feature for this. Twin performs the selected-area motion detection, and a Chirp rule can use the result to raise a household alert. It detects movement rather than recognizing who is at the door.

## How do I go from live checks to a home setup?

Use Lens to check the entrance or garden, then combine camera motion with the platform's rule and alarm workflows. Configure an alert for the times it is useful, rather than treating every movement as a reason to notify everyone.

## How do I save my favorite camera view?

A [videowall](/lens/videowalls) puts selected home cameras in a layout you can save. Give each property its own wall, then create more focused views for outdoor areas, a floor, or the garage. Within one organization, this lets you move between properties and the smaller areas you want to check.

## How do I get connected?

Start with [Installing Twin](/lens/installing-twin), using the official [Twin Docker image](https://hub.docker.com/r/chirpiot/lens-twin), or let [Chirp Hub](/chirp-hub) handle that step: it finds your cameras and starts a Twin for each one on a Raspberry Pi (about six or seven cameras) or a computer (as many as it can handle). Then [connect a camera](/lens/connecting-a-camera) and [watch live video](/lens/watching-live-video).

Once the view works, set up [Motion Zones](/lens/motion-zones), [Camera Rules and Alerts](/lens/camera-rules-and-alerts), optional [Local Recordings](/lens/local-recordings), or a [Cloud Archive](/lens/cloud-archive).

For ongoing administration, see [Managing Cameras](/lens/managing-cameras). Cameras that live behind a provider account, and HomeKit accessories, are covered in [Provider Camera Sources](/lens/connecting-cloud-camera-sources).


# Installing Twin

Set up a local Twin Docker container for each home camera and keep its settings between restarts.

Twin is the part of your camera setup that runs at home. It connects one camera to Chirp Lens in the cloud, so the computer running it needs to stay on whenever you want that connection available.

Use one Docker container per camera. For a front-door and garden camera, make two Twins with separate names, ports, and saved settings.

{% hint style="info" %}
**Rather skip the terminal?** [Chirp Hub](/chirp-hub) sets up Docker, spots the cameras on your home network and starts one Twin for each camera, all from a window. A [Raspberry Pi](/chirp-hub/raspberry-pi) handles about six or seven cameras, and a [computer](/chirp-hub/computer) as many as it can handle. The steps on this page are the do-it-yourself route.
{% endhint %}

<figure><img src="https://1153890212-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxgYoHO4zlaBzHJcfIrto%2Fuploads%2Fgit-blob-347a82ac925612acca9f2bb52b0c459291b72c92%2Fchirp-lens-camera-setup.jpg?alt=media" alt="Chirp Lens explains installing Twin, connecting a camera, and completing pairing"><figcaption><p>Lens guides you from a local Twin installation to a connected camera.</p></figcaption></figure>

<figure><img src="https://1153890212-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxgYoHO4zlaBzHJcfIrto%2Fuploads%2Fgit-blob-34ebd679637f65dab1b56989322d59b3293cf40c%2Fchirp-twin-tapo-live.jpg?alt=media" alt="Chirp Twin dashboard with the Tapo picture and connected camera and Lens indicators"><figcaption><p>After setup, Twin shows its local camera picture and connection to Lens.</p></figcaption></figure>

## What do I need to install Twin?

* An amd64 or arm64 computer running Docker Engine on Linux, or Docker Desktop with Linux containers on Windows or macOS.
* Local network access from that computer to the camera.
* The camera's RTSP stream address and credentials.
* Internet access for the connection to Lens.
* Persistent disk space if you want to save recordings.

Get the official image from [chirpiot/lens-twin on Docker Hub](https://hub.docker.com/r/chirpiot/lens-twin). Choose a host with enough processing and network capacity for the number and quality of streams you intend to use.

### How do I check Docker is ready?

Install [Docker](https://docs.docker.com/get-started/get-docker/) if it is not already on the computer. On Windows or macOS, open Docker Desktop, use Linux containers, and wait for its engine to finish starting. On Linux, make sure Docker Engine is running; follow Docker's [engine startup instructions](https://docs.docker.com/engine/daemon/start/) for your installation.

In the terminal you will use to start Twin, run:

```sh
docker info
```

Continue when you see server information without a connection or permission error. `docker --version` only checks the installed command-line tool: it can print a version even when Docker's engine is stopped. If the readiness check fails, use [Access and Troubleshooting](/lens/access-and-troubleshooting#what-are-common-chirp-lens-problems) before running Twin.

Keep Docker running and the computer awake while you need your cameras. Quitting Docker Desktop or letting the computer sleep disconnects its Twins.

## How do I run Twin for my first camera?

On the Docker computer, this Bash example creates persistent Docker volumes for a front-door camera and asks for a **temporary Twin setup password**. Choose a unique password and keep it until you finish the first-login steps below. Windows users should use the [PowerShell example](#how-do-i-install-twin-on-windows-and-macos).

```bash
read -rsp 'Temporary Twin setup password: ' TWIN_PASSWORD
printf '\n'
export TWIN_PASSWORD
docker run -d --name front-door-twin --restart unless-stopped \
  -p 127.0.0.1:8080:80 \
  -e TWIN_USERNAME=admin -e TWIN_PASSWORD \
  -v front-door-config:/home/twin/data/config \
  -v front-door-recordings:/home/twin/data/recordings \
  chirpiot/lens-twin:1.0.1
unset TWIN_PASSWORD
```

> **Cloud backup needs Twin 1.1.0 or later.** The `1.0.1` image in these commands covers live video and local recordings but cannot back clips up to cloud storage. When you want cloud backup, upgrade by changing only the image tag, as described in [How do I restart or upgrade Twin?](#how-do-i-restart-or-upgrade-twin), and keep your volumes.

Visit `http://127.0.0.1:8080` on the same computer to complete the first login below. A fresh Twin will not start without its required login setup.

This example keeps the administration port local to the computer. If you administer a separate home server, use your secure remote-access method to reach that port rather than exposing it to the internet.

### Which password do I use?

Twin does not ship with a default production password. The command above sets the username to `admin` through `TWIN_USERNAME` and uses the temporary password you typed as `TWIN_PASSWORD`. You can keep the username `admin`.

If you are following the command shown inside Lens instead, replace `CHANGE-ME` with your own unique temporary password before running it. Do not leave the placeholder as your password. That command includes the password in its text, so it remains visible in shell history and container settings; use one you do not use elsewhere.

There are two stages: the temporary password protects access to a new Twin, then the browser asks you to set the password you will keep using. Complete setup in **Twin's local interface**:

1. Sign in as `admin` with the temporary password from the command or prompt.
2. On **Set your credentials**, enter that same temporary password in **Current password**.
3. Enter your permanent password in **New password** and repeat it in **Confirm new password**.
4. Leave **New username (optional)** empty to keep `admin`, or enter your preferred username.
5. Select **Save and continue**.
6. Sign in again using your permanent password and the username you kept or chose.

Your camera's password and your Chirp account password are separate from these Twin credentials.

If another person installed Twin, ask them for its initial login. There is no universal factory password; use the one supplied when your Twin was installed.

Choose at least eight non-space characters, including uppercase and lowercase letters, a number, and a symbol. To change the local login later, open your user menu and choose **Change password**. After you change the password, use the new one for future visits. The initial environment variables do not replace credentials already saved in the configuration volume.

## How do I keep each Twin separate?

For a garden camera, use a different container name, another host port such as `8081`, and new `garden-config` and `garden-recordings` volumes. Do not copy the first camera's populated configuration: Twin creates a unique **Twin Key** for each installation.

Keep those volumes when restarting or replacing the same container. They preserve its identity, camera settings, and any saved clips. New installations do not record automatically.

Next, [connect the camera and pair Twin with Chirp](/lens/connecting-a-camera).

## How do I install Twin on Windows and macOS?

Complete [Check Docker is ready](#how-do-i-check-docker-is-ready) first. On macOS, use the Bash example above. On Windows, this PowerShell equivalent asks for the same kind of temporary setup password:

```powershell
$twinInitialSecret = Read-Host 'Temporary Twin setup password' -AsSecureString
$env:TWIN_PASSWORD = [System.Net.NetworkCredential]::new('', $twinInitialSecret).Password
docker run -d --name front-door-twin --restart unless-stopped `
  -p 127.0.0.1:8080:80 `
  -e TWIN_USERNAME=admin -e TWIN_PASSWORD `
  -v front-door-config:/home/twin/data/config `
  -v front-door-recordings:/home/twin/data/recordings `
  chirpiot/lens-twin:1.0.1
Remove-Item Env:TWIN_PASSWORD
```

Visit the local Twin address and follow [Which password do I use?](#which-password-do-i-use) to finish setup. Docker also needs access to the camera's local IP address. If Docker Desktop cannot discover the camera automatically, supply its address or RTSP URL yourself.

## How do I restart or upgrade Twin?

For a normal restart, run `docker restart front-door-twin`. For an image upgrade:

1. Before you start, copy the Twin's persistent configuration, along with any recordings you want to keep.
2. Find the version you want in the official Docker Hub repository and pull it: `docker pull chirpiot/lens-twin:<version>`.
3. Stop and remove only the old container with `docker stop front-door-twin` and `docker rm front-door-twin`.
4. Repeat the installation command, changing only the image tag; keep the **same** volume names for configuration and recordings, the same port and every other option.
5. Log in with the local credentials you saved, then check that local video plays and the Lens connection is up.

Do not remove the volumes during an upgrade. The camera feed drops for a moment while the container is replaced, but the kept configuration preserves the camera's identity and pairing.


# Connecting a Camera

Link your home camera to Twin, then pair that Twin with the correct Chirp organization.

Before a camera appears in Chirp, its Twin needs to reach the camera and pair with Lens. Work through the local connection first so that you can distinguish a camera problem from a cloud connection problem.

Have [Twin running](/lens/installing-twin), your camera's connection details ready, and permission to manage cameras in the selected Chirp organization.

Need the video address? [RTSP Camera URLs](/lens/rtsp-camera-urls) gives common patterns, including the Tapo and HiLook cameras used in our examples.

## How does Twin reach my camera?

1. Sign in to Twin and open **Settings → Camera Connector**.
2. Put your camera's RTSP address in **Main stream URL**, with the camera's local login included. Use **Test main stream** to check the connection.
3. For a lighter preview and motion-detection feed, put the camera's substream address in **Low-resolution stream URL**. You can leave it empty to use the main picture for both.
4. Select **Save** and check the picture on Twin's dashboard.

For a compatible motorized camera, also fill in **ONVIF address**, **ONVIF username**, and **ONVIF password**. Use **Test ONVIF** and the **Save** button in that section. The **Scan** button under **Discover ONVIF cameras** helps locate supported cameras nearby. ONVIF provides camera controls such as movement and presets; the RTSP address provides video.

Give the camera a recognizable name such as `Front door`.

Copy the **Twin Key** from Twin. This identifies this camera's local installation; each of your other cameras must have its own Twin and key.

## How do I add a camera to Chirp?

1. Select **Cameras** in the Chirp sidebar, then **Cameras** in the Lens sidebar.
2. Choose **Add camera**. The dialog reminds you to set up the Twin first, because it generates the key and a camera cannot be added ahead of its Twin.
3. Enter the **Camera name** and paste the key into **Twin Key** (placeholder "Paste the key from the Twin"). Extra spaces around the key are trimmed. **Add camera** stays disabled until both fields are filled.
4. Select **Add camera**. The dialog changes to **Pairing token** and says the camera is registered. It shows the **Lens API URL** and the **Connection token**, each with a copy button; the token has a reveal/hide eye icon and an expiry time ("Expires ..."). The token is shown only once and cannot be retrieved later.
5. Copy the token (the **Done** button stays disabled until you have tried copying it; if copying is unavailable in your browser, select the token and copy it by hand), then select **Done**. If the dialog says the Lens API URL is not configured, select **Retry**; the button reads **Close** instead of **Done** in that case.
6. Return to Twin and open **Settings → Lens Connector**. Paste the **Lens API URL** and the **Connection token** and save. Twin pulls the rest of its configuration from Lens.

If adding fails, the dialog tells you why:

| Message                                                                                                         | What to do                                                                                 |
| --------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------ |
| "This Twin Key is already registered", plus a hint to generate a new key in the Twin when the image was cloned. | The key belongs to a camera already in Chirp. A cloned Twin image needs a fresh key first. |
| You do not have permission to add cameras in this organization.                                                 | Ask an organization admin for **Edit** access to Cameras.                                  |
| Your subscription plan has no room for another device. Remove one or upgrade the plan.                          | Remove a device you no longer use, or change the plan.                                     |
| The video service is unavailable, so the camera was not created. Try again in a moment.                         | Wait a minute and add the camera again.                                                    |
| The camera could not be added. Try again.                                                                       | Retry; if it repeats, check the Twin Key for typos.                                        |

The token is a private pairing credential. It is different from your camera password and from the password you use to sign in to Twin. Use the Lens API endpoint for the same environment that issued the token.

<figure><img src="https://1153890212-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxgYoHO4zlaBzHJcfIrto%2Fuploads%2Fgit-blob-a7732aee708223575e485c593500581f601ae1d3%2Fchirp-twin-hilook-live.jpg?alt=media" alt="The second Chirp Twin connected to a HiLook camera and Lens"><figcaption><p>Each camera has its own Twin dashboard and connection state.</p></figcaption></figure>

## How do I check the connection and video?

Back in Chirp, wait for the camera's state to become online, then start its live video. Seeing the picture confirms that the camera, Twin, Lens, and browser can complete the viewing path.

For a second camera, repeat the process with its separate Twin. If you need to pair an existing camera again, open its details and choose **Reconnect Twin** rather than adding a duplicate. [Access and Troubleshooting](/lens/access-and-troubleshooting) covers that recovery.


# Provider Camera Sources

Bring a supported account-based home camera into Chirp Lens through Twin, including Wyze, Ring, Roborock, and HomeKit setup.

A **provider camera source** lets Twin obtain video through a supported camera account or accessory connection. Use it when a home camera uses its manufacturer's account instead of giving you a local RTSP stream. For example, you can keep a supported account-based camera at a holiday home and bring its view into Lens alongside cameras at your main house.

Start with [Twin installed](/lens/installing-twin) at the camera's property. You will need the camera account's login details, access to any verification messages, and the credentials listed below. One Twin connects one camera. The provider selection does not guarantee that every camera model supplies video, movement controls, or audio; those capabilities depend on the source.

<figure><img src="https://1153890212-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxgYoHO4zlaBzHJcfIrto%2Fuploads%2Fgit-blob-b97671719a17abc49be2451830d32e72d1c50bb0%2Fchirp-twin-provider-setup.jpg?alt=media" alt="Chirp Twin Camera Connector with Wyze selected and empty email, password, API Key, and API ID fields"><figcaption><p>Choosing Wyze reveals the account and API fields needed before connecting. No provider account has been connected in this setup example.</p></figcaption></figure>

## Which camera account do I use?

Open **Settings → Camera Connector** in the local Twin. In **Cloud camera**, choose the appropriate **Cloud provider**:

| Camera account | Details needed                                                                                                                 |
| -------------- | ------------------------------------------------------------------------------------------------------------------------------ |
| Ring           | The account's email and password, plus its two-factor verification code when requested.                                        |
| Wyze           | Email, password, **API Key**, and **API ID** from the provider's account tools. Complete code verification if it is requested. |
| Roborock       | Account email and region. For a custom region, also enter its URL. Request the login code and use the code sent by email.      |
| HomeKit        | A compatible accessory reachable on the same local network and its pairing PIN; follow the discovery steps below.              |

For an account-based connection, fill in the displayed fields and select **Connect**. If Twin asks for a code, enter it and select **Verify code**. These are the camera provider's credentials; your Twin login and Lens connection token serve different purposes.

When the account connection succeeds, **Available cameras** lists its camera sources. Find the view you want and select **Use as main stream**. If a suitable secondary feed is offered, choose **Use as sub stream** for that feed. Save the camera settings and check video locally before [pairing with Chirp Lens](/lens/connecting-a-camera).

If a verification code has expired, begin the account connection again to obtain a new one. Keep account passwords and API credentials out of screenshots and shared messages.

## How do I add a HomeKit camera?

HomeKit uses local accessory pairing rather than the email-and-password form:

1. Set **Cloud provider** to **HomeKit**, then select **Discover accessories**.
2. Locate your camera in **Discovered accessories** and choose **Pair**.
3. Supply its **Pairing PIN**, then select **Pair accessory**.
4. In **Available cameras**, apply the paired source with **Use as main stream** and save the settings.
5. Check that Twin can display the camera before continuing to Lens.

Discovery requires a network path between Twin and the accessory. If the camera is missing, check its manufacturer's pairing instructions and local-network requirements.

## How do I enter an advanced stream source?

The **Advanced go2rtc source** panel is intended for people who already have a supported source URI. For a typical home IP camera, start instead with [Connecting a Camera](/lens/connecting-a-camera) and the [RTSP URL reference](/lens/rtsp-camera-urls).

To use the advanced panel, paste the URI into **go2rtc source** and set **Target stream** to **Main stream** or **Low-resolution stream**. Select **Validate**. Twin must read a video frame successfully before **Use source** becomes available. Choose **Use source**, then save the camera configuration.

If validation fails, check the source syntax, its account access, and whether Twin can reach it. A source URI can contain a password, so treat it as private.


# Managing Cameras

Find a home camera, change its name, restore its Twin connection, or remove it from Chirp Lens.

**Cameras** keeps the household's connected camera views in one inventory. Names such as Garden Gate, Upstairs Landing, or Holiday Home Entrance help you find the right view even when the cameras come from different manufacturers. You can also check which Twins have stopped contacting Chirp.

## How do I find the camera view I need?

Open **Cameras** from Chirp's main menu, then select **Cameras** in the Lens sidebar. Enter part of the camera's name in **Search cameras...** and choose **List view** or **Grid view** for the layout you prefer.

Look at **Status** and **Last Twin activity** before opening a view. A camera may be registered while its Twin is still disconnected. The activity time tells you when Twin contacted the platform; it does not tell you when someone last moved in front of the camera.

Each row shows the camera **Name**, **Status**, **Capabilities** (small badges for the features its Twin reports, such as audio or movement controls; a dash when none are reported), and **Last Twin activity** as a relative time. Every row has **Edit** and **Delete** buttons, and the top of the page has **Setup guide** (a checklist of the steps from installing Twin to seeing video) and **Add camera**. Longer lists are paged. Grid view shows the same information on cards.

Select a camera to open **Camera detail**. A breadcrumb leads back to **Cameras**, the pencil next to the title renames the camera, and tabs sit under the title. **Details** is always there. **Recording** and **Storage** hold the recording and cloud backup settings, and **Recording Area** lets you limit recording to part of the picture.

The **Details** tab has two columns:

* **Left:** the camera's live picture with its controls (see [Watching Live Video](/lens/watching-live-video)), then **Media capabilities** with **Live audio** and **Talkback**. Each shows **Available**, **Not available**, **Not supported**, or **Needs setup**, with a reason such as "No audio track detected", "Audio codec not supported in the browser", "Camera cloud password required", "No two-way audio detected on this camera", "Not supported by this camera type", or "Audio transport failed". A camera that speaks ONVIF also gets an **ONVIF details** card with **PTZ support**, **Zoom**, **Pan/Tilt**, **Presets**, and **Default preset**.
* **Right:** **Lens connection** with **Device ID**, **Name**, **Twin key**, **Pairing** (Paired, Waiting for the Twin, or Pairing window expired, the last two in red) and the **Reconnect Twin** button; **Device details** with **Status** (Online or Offline), **Uptime**, **Last Twin activity**, **Stream type**, **SD available**, and **HD available**; **Device specs** with **Version**, **Hostname**, **Architecture**, **Memory**, **Camera type**, **IP addresses**, and **MAC addresses**; and, when Storage is on, a **Storage policy** card. Its chip reads **Local only** or **Local + Cloud**, and **Twin sync status** says whether the Twin follows the settings saved in Lens: **In sync**, **Local override** (the Twin uses a local configuration; save the Lens settings again to bring it back), or **Unknown** (the Twin has not reported yet).

If the camera is online but video does not play, check the stream in the local Twin and follow [Access and Troubleshooting](/lens/access-and-troubleshooting). Before the Twin has connected for the first time, the Details tab says it has not connected yet and there is nothing to show.

<figure><img src="https://1153890212-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxgYoHO4zlaBzHJcfIrto%2Fuploads%2Fgit-blob-8022de1d9ff105446b58d719ea1f8f77eafeb451%2Fchirp-lens-camera-management.jpg?alt=media" alt="Chirp inventory retaining two home cameras while their Twins are offline"><figcaption><p>A disconnected camera stays in the list so you can check its details and recover its connection.</p></figcaption></figure>

<figure><img src="https://1153890212-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxgYoHO4zlaBzHJcfIrto%2Fuploads%2Fgit-blob-621b44f27c6dfe18ca75f314596071f348bb3fde%2Fchirp-lens-cameras.jpg?alt=media" alt="The Cameras list with two offline cameras, their last Twin activity, capability badges and Edit and Delete buttons, plus Setup guide and Add camera buttons"><figcaption><p>The Cameras list.</p></figcaption></figure>

<figure><img src="https://1153890212-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxgYoHO4zlaBzHJcfIrto%2Fuploads%2Fgit-blob-4fa25ccaad62dc76cf8fa7b31032ba052a5541fb%2Fchirp-lens-camera-detail.jpg?alt=media" alt="A camera detail page with the Details, Recording, Recording Area and Storage tabs, a preview that says the camera is offline, and the Lens connection, Device details and Device specs cards"><figcaption><p>A camera detail page with its four tabs.</p></figcaption></figure>

## How do I rename a camera?

Choose **Edit camera**, update **Camera name**, and select **Save**. Use the place the camera watches rather than just its model number: for example, Back Door is easier to recognize than a manufacturer's product code. This changes its platform name without replacing or pairing the Twin again.

## How do I restore a camera's connection to Twin?

If the local Twin has lost its pairing, open the camera's **Details** and choose **Reconnect Twin** in **Lens connection**. Confirm that you want a new one-time connection token. Generating it invalidates any earlier token that has not been used.

Copy the **Lens API URL** and new token from the dialog into that camera's local **Lens Connector** settings. Use the values shown in the platform, then complete the steps in [Connecting a Camera](/lens/connecting-a-camera) before the token's displayed expiry time. An expired token must be replaced with a fresh one.

After saving, check that pairing succeeds and video returns. Preserve the Twin's existing configuration volume when recovering the connection or updating Docker: an empty replacement volume gives it a new identity. Connection tokens are private and should be hidden in any support screenshot.

## How do I remove a camera?

Before removing a camera, review the home rules, dashboard references, and videowalls that depend on it. Choose **Delete**, then review the **Delete camera** confirmation, which asks "Delete {camera name}?". This removes its connection to the platform.

Removing a panel from a videowall is a smaller change: the camera remains available elsewhere. Deleting the platform camera also leaves its Docker container and any locally stored clips on the host computer. Remove those separately if you are retiring the installation altogether.


# RTSP Camera URLs

Find your camera brand’s RTSP address, local login requirements, and stream options to bring home camera feeds into Chirp Lens.

To show your camera in Lens, Twin needs the address of its video feed. This **RTSP URL** tells Twin where the camera is, how to sign in, and which picture to request. You can usually build it from a short pattern instead of searching for a completely different setup for every camera.

This camera-brand directory collects common addresses and the settings needed to adapt them. Available streams depend on your particular model and firmware. A camera that works only through its manufacturer's cloud app may not provide a local RTSP feed.

## What do I replace in an RTSP URL?

A typical address looks like this:

```
rtsp://username:password@cameraip:554/stream1
```

Use your camera's local username and password in place of the first two placeholders. Replace `cameraip` with the camera's local network address. `554` is the usual RTSP port; use another number if your camera's settings specify one. The ending, such as `/stream1`, chooses a stream.

Your camera password, Twin sign-in password, and Lens connection token have different jobs. Only the camera's credentials belong in its RTSP address.

## How do I look up my camera brand?

Start with [Tapo](#what-is-the-tapo-rtsp-url), [HiLook / Hikvision](#what-is-the-hilook-and-hikvision-rtsp-url), or [Dahua, Reolink, and Axis](#what-are-other-common-rtsp-url-patterns). The extended directory includes [Amcrest](#amcrest), [Avigilon](#avigilon), [Bosch](#bosch), [EZVIZ](#ezviz), [Foscam](#foscam), [Hanwha / Wisenet](#hanwha-vision-and-wisenet), [i-PRO](#i-pro), [VIGI](#tp-link-vigi), [Uniview](#uniview-and-unv), and [VIVOTEK](#vivotek).

## What is the Tapo RTSP URL?

These are the addresses for the main picture and the lower-quality alternative on compatible Tapo models:

```
rtsp://username:password@cameraip:554/stream1
rtsp://username:password@cameraip:554/stream2
```

The Tapo camera in our Lens example uses `/stream1`. Before connecting yours, open the Tapo app, select the camera, and go to **Device Settings → Advanced Settings → Camera Account**. Set up that local account and use it in the URL; your TP-Link cloud login is different.

Check RTSP support before choosing a battery camera, because many battery-powered models do not offer it. Certain dual-lens models also have `/stream6` and `/stream7` for their other lens. [TP-Link's setup instructions](https://www.tp-link.com/us/support/faq/2680/) explain the model differences.

## What is the HiLook and Hikvision RTSP URL?

Our connected HiLook camera uses this substream address pattern:

```
rtsp://username:password@cameraip:554/Streaming/Channels/102
```

For the main stream, use:

```
rtsp://username:password@cameraip:554/Streaming/Channels/101
```

Here, `1` identifies the camera channel, while `01` and `02` select main and substream. A standalone camera generally uses channel 1. With a recorder, channel 2 becomes `201` for main or `202` for substream. This matches [Hikvision's published stream examples](https://supportusa.hikvision.com/support/solutions/articles/17000129022-do-you-have-an-example-showing-the-format-for-getting-a-rtsp-stream-from-a-camera-). Keep the path's capitalization and use the RTSP port configured on your device.

## What are other common RTSP URL patterns?

Use these when your camera supports the corresponding manufacturer's RTSP interface. Replace the placeholders before entering the address in Twin.

| Camera family | Main or default feed                                                        | Lower-bandwidth feed                                    |
| ------------- | --------------------------------------------------------------------------- | ------------------------------------------------------- |
| Dahua         | `rtsp://username:password@cameraip:554/cam/realmonitor?channel=1&subtype=0` | Change `subtype=0` to `subtype=1`.                      |
| Reolink       | `rtsp://username:password@cameraip:554/Preview_01_main`                     | Change `main` to `sub`.                                 |
| Axis          | `rtsp://username:password@cameraip:554/axis-media/media.amp`                | Choose the camera's stream profile or video parameters. |

For Dahua, `channel=1` chooses the first channel and `subtype` chooses its stream. See [Dahua's URL examples](https://dahuawiki.com/Remote_Access/RTSP_via_VLC).

Reolink uses `01` for a standalone camera; an NVR can use another channel, such as `02`. Enable RTSP on supported devices as described in [Reolink's guide](https://support.reolink.com/articles/900000630706-Introduction-to-RTSP/).

Axis can select another video channel with a parameter such as `?camera=2`. Its [streaming instructions](https://developer.axis.com/video-streaming-and-recording/video-streaming/getting-started/) explain that endpoint.

## What are RTSP URLs for more camera brands?

If you already have one of these cameras at home, check its RTSP settings before replacing it. The links explain the manufacturer’s stream format; the entry does not mean that every model in the range has been tested with Lens.

### Amcrest

For an IP camera, start with `subtype=0`; an extra stream uses `1`. An Amcrest recorder can need `/h264Preview_01_main` instead.

```
rtsp://username:password@cameraip:554/cam/realmonitor?channel=1&subtype=0
```

[Stream setup reference](https://support.amcrest.com/hc/en-us/articles/360059435271-Accessing-Amcrest-Products-Using-RTSP).

### Avigilon

Copy your camera’s **RTSP Stream URI** from **Compression and Image Rate**. The example shows a primary unicast stream.

```
rtsp://username:password@cameraip:554/defaultPrimary?streamType=u
```

[Stream setup reference](https://www.avigilon.com/fs/documents/avigilon-camera-web-interface-user-guide-en.pdf).

### Bosch

On Bosch BVIP equipment, change `inst=1` to `inst=2` for the second encoding stream.

```
rtsp://username:password@cameraip:554/?inst=1
```

[Stream setup reference](https://knowledge.keenfinity-group.com/video-systems/article/how-is-rtsp-usage-supported-with-bosch-vip-devices).

### EZVIZ

EZVIZ documents this for C6N, TY1, and TY2. Use the local camera password described below.

```
rtsp://admin:cameraPassword@cameraip:554/ch1/main
```

[Stream setup reference](https://m-support.ezviz.com/faq/article/How-to-set-up-C6N-TY1-TY2-as-a-webcam).

### Foscam

A lighter picture uses `/videoSub`. Port `88` is common for Foscam; your model may use another port.

```
rtsp://username:password@cameraip:88/videoMain
```

[Stream setup reference](https://www.foscam.com/faqs/view.html?id=81).

### Hanwha Vision and Wisenet

Replace `N` with an existing video profile number from your camera’s settings.

```
rtsp://username:password@cameraip:554/profileN/media.smp
```

[Stream setup reference](https://support.hanwhavision.com/hc/en-001/articles/47257361792659-What-are-the-RTSP-URLs-of-Hanwha-Devices).

### i-PRO

Use `stream_2` for another configured stream. Older models can use the H.264-specific path `/Src/MediaInput/h264/stream_1`.

```
rtsp://username:password@cameraip:554/Src/MediaInput/stream_1
```

[Stream setup reference](https://i-pro.com/products_and_solutions/en/media/documentation_file/command-interface-ipro_h265models_ver114pdf).

### TP-Link VIGI

Choose `/stream2` for the lower-quality feed; sign in with the VIGI camera account.

```
rtsp://username:password@cameraip:554/stream1
```

[Stream setup reference](https://www.tp-link.com/id/support/faq/3718/).

### Uniview and UNV

The usual substream is `/media/video2`; some models also provide `/media/video3`.

```
rtsp://username:password@cameraip:554/media/video1
```

[Stream setup reference](https://www.uniview.com/res/202310/26/20231026_1890310_How%20to%20Get%20a%20Uniview%20Camera%27s%20RTSP%20Stream_974039_168459_0.pdf).

### VIVOTEK

Older access names include `/live.sdp` and `/live2.sdp`. Newer cameras may use a profile address instead.

```
rtsp://username:password@cameraip:554/live.sdp
```

[Stream setup reference](https://vivotek.zendesk.com/hc/en-001/articles/900005560446--All-cameras-Anystream-compatible-How-to-use-the-Anystream-functionality-in-VIVOTEK-cameras).

For **EZVIZ**, `cameraPassword` means the local connectivity password. On the models in the linked example, this initially corresponds to the verification code on the device label. After a password change, use the new local/video encryption password. [EZVIZ explains the shared password setting](https://m-support.ezviz.com/faq/article/How-should-I-set-the-login-password-for-local-connectivity-features-supported).

For **VIVOTEK** cameras using newer stream profiles, the address can instead be:

```
rtsp://username:password@cameraip:554/media2/stream.sdp?profile=profileToken
```

Get `profileToken` from the camera’s video profile settings. It is a camera profile identifier, not your private Lens connection token. Firmware can also expose names of the form `/live1sN.sdp`; copy the actual access name for your chosen stream. [VIVOTEK’s newer-firmware guide](https://vivotek.zendesk.com/hc/en-001/articles/4952515434649--All-cameras-2-2002-x-x-and-later-version-How-to-get-RTSP-streaming-with-camera-firmware-version-2-2002-x-x-and-later-version) covers these differences.

## How do I add the RTSP address and check the picture?

In Twin, open **Settings → Camera Connector** and enter the complete address in the stream URL field. If your camera supplies a substream, enter that in the separate substream field. Save the settings, then confirm that video arrives before continuing with [camera pairing](/lens/connecting-a-camera).

The main stream usually gives you more detail; the substream uses fewer resources. Actual resolution comes from the camera's video settings. Start with a working feed, then choose the quality that suits your home connection and Twin host.

If no picture appears, check that RTSP is enabled, the local camera account is correct, and the Twin host can reach the camera's address and port. When the camera sits behind a recorder, the URL may need the recorder's address, account, and channel instead.

A URL containing your camera password should stay private. Your camera and Twin communicate on the local network, so you do not need to publish the camera's RTSP port on the internet for Lens. Continue with [connection troubleshooting](/lens/access-and-troubleshooting) if the feed still fails.


# Watching Live Video

Check home cameras together in Chirp Lens and use supported sound or camera movement controls.

Use Lens **Live view** for a quick look at what is happening at home. You can watch the front door and garden together, then enlarge one camera when you want a closer look.

<figure><img src="https://1153890212-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxgYoHO4zlaBzHJcfIrto%2Fuploads%2Fgit-blob-f6160bc630de5446cb756a461c59984451fd0bfe%2Fchirp-lens-live-view.jpg?alt=media" alt="Two home cameras visible together in Chirp Lens Live view"><figcaption><p>Choose Preview for refreshed pictures or Live for continuous playback on each camera.</p></figcaption></figure>

## How do I open my cameras?

1. Choose **Cameras** in the Chirp sidebar.
2. Select **Live view** inside Lens.
3. Search for the cameras you need in **Search cameras...**, or use the status drop-down (**All statuses** by default) to filter by connection state.
4. Pick the layout with the toggle next to the search: **List view**, or a grid of 2, 3, or 4 columns (the buttons read "2 columns", "3 columns", and so on).
5. Start live video separately on each camera you want to watch.

The picture shown as a preview is not the same as an active live stream. Start live viewing when you want continuous video. Use fullscreen to focus on one camera and return to the grid to check the others.

More simultaneous streams use more bandwidth and browser resources. A smaller layout can make the pictures easier to read on a laptop.

## What do the sound and movement controls do?

If the camera supplies audio, you can listen or mute it. Two-way talkback is available only when the connected camera and its configuration support it.

A compatible motorized camera can offer pan, tilt, zoom, and preset positions. A fixed camera cannot be moved through software. The controls and capability states help show whether a function is available, needs setup, or is not supported.

## What do the tile controls and the dot in the corner show?

Each tile has a **Preview**/**Live** switch, a **Toggle fullscreen** control, and, when the camera supports them, the sound and talkback buttons. In **Live** mode the small status dot in the tile's corner shows connection details when you hover it: **Resolution**, **FPS**, **Codec**, **Bitrate**, and **Total Data**, and on a camera's own page also **Connection**, **RTT**, **Jitter**, **Packets Lost**, **Frames Dropped**, and **Key Frames**. They are handy when a picture stutters: a rising **Packets Lost** or **Jitter** points to the network between you and the home rather than to the camera.

## Why is my camera picture missing?

Once Lens reports a camera as offline, its preview shows **Camera is offline** instead of keeping the last snapshot on screen. **No preview available** means there is no preview to display; that message alone does not tell you whether the camera is offline. Check its connection state as well as the picture.

Check whether the camera is online. If it is offline, inspect its power and home network, then check that the computer running Twin is still on. If it is online but the live picture will not open, follow [Access and Troubleshooting](/lens/access-and-troubleshooting).

To hear about useful activity without watching continuously, [select a motion area](/lens/motion-zones) and connect it to [a home rule and alert](/lens/camera-rules-and-alerts).

Want to keep the front door and garden together in a layout you can reopen? Set up a [videowall](/lens/videowalls). Its [Return All to Home](/lens/videowalls#how-do-i-send-cameras-back-to-their-usual-view) action puts supported cameras back at their chosen presets after you look around.

## How do I listen and speak through a camera?

To listen to a supported camera, start its live stream and unmute the audio control; use the same control to mute it again. To speak through a camera with two-way audio, grant the browser microphone access, then hold the talkback control while speaking. Releasing it ends transmission. If this does not work, check the camera's displayed audio capability and setup as well as the browser permission.

## How do I move a camera and save positions?

**PTZ** means pan, tilt, and zoom. On a camera that supports it, open the controls and nudge the view with the arrows and zoom buttons. Save positions you will revisit:

1. Point the camera at a view you want to revisit, such as the garden gate.
2. Give that position a **Preset name** under **Presets**, then choose **Create preset**.
3. A **Preset update pending - refresh manually** message means you should refresh once the camera has finished the change.
4. Select **Go to** next to the saved position whenever you want to use it again.
5. For the view the camera should normally watch, choose the star action **Set as default**. The **Default** label identifies it; **Clear default** removes this choice.

The panel is titled **Camera controls**. Until you save a position it says **No presets saved**. **Return Home** sends the camera to its default position; it stays disabled with the hint **Set a default preset to enable Return Home** until you have chosen one. Remove an unwanted position with its **Delete** action and confirm (the dialog asks "Are you sure you want to delete ... preset?" and warns that it cannot be undone). When removing the default, select a replacement so return-home still has a destination. Check your motion zones whenever the camera starts watching a different area.

After you have followed some activity with one or several cameras, the [videowall return-home workflow](/lens/videowalls#how-do-i-send-cameras-back-to-their-usual-view) puts everything back to normal coverage.


# Videowalls

Save a home camera videowall in Chirp Lens, choose its feeds, and arrange a convenient view of the places you check most often.

A **videowall** keeps your chosen cameras together in a layout you can open again. For example, you can watch the front door next to the garden without finding those cameras separately each time. One panel can be larger when that view needs more attention.

Your cameras can be different brands. Each needs its own connected Twin, and the cameras must be available in the Chirp organization you are using. Begin with [Connecting a Camera](/lens/connecting-a-camera) if you have not added them yet.

## How do I group cameras on a videowall?

Residential monitoring can cover more than one address. Keep a separate wall for your main house, a holiday property, or an apartment, so you can open the cameras for the right place together. Within a property, you might also save an outdoor wall for the entrance and garden, or a downstairs wall. These groupings work within the organization containing the cameras.

A wall can be as broad as a whole property or as focused as two views of an entrance. Name it for the place or check you have in mind, then arrange the pictures to make that check convenient.

## How do I make a home camera videowall?

1. Select **Cameras** in Chirp, then **Add videowall** in the Lens sidebar. You need camera-management permission.
2. The **Create videowall** dialog ("Configure your videowall settings") asks for a **Name** (required, placeholder "Enter videowall name"), a **Folder** (**None** by default), and a **Description**. Select **Save**.
3. Open the new wall's more menu and select **Edit**.
4. Choose **Add feeds**. The drawer "Select cameras to add to this wall" lists your cameras; search narrows the list, **Select all** selects the filtered choices, **Clear all** unselects them, and a counter reads "N cameras selected". A camera already on the wall is not offered again, and "No cameras found" appears when nothing matches.
5. Select **Add N Feeds** to bring the cameras into the layout.
6. Move each panel by dragging it. Drag a corner to change its size—for example, make the driveway picture larger than the side-door picture.
7. Select **Save** when you are happy with the arrangement.

You can return to **Edit** whenever you want to change the wall. Remove an unwanted panel with its delete control, or use **Add feeds** for another camera. Select **Cancel** if you want to abandon changes instead of saving them.

<figure><img src="https://1153890212-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxgYoHO4zlaBzHJcfIrto%2Fuploads%2Fgit-blob-1d7020b82288ae1bbfdaa6533aaf333a2a099545%2Fchirp-lens-videowall-edit.jpg?alt=media" alt="A camera panel being moved on the Chirp Home Office videowall"><figcaption><p>Drag and resize camera panels in Edit mode to create the view you want to keep.</p></figcaption></figure>

## How do I check the whole house at a glance?

Choose the wall in the Lens sidebar to open your saved camera arrangement. **Preview** gives you refreshed still pictures. Switch a panel to **Live** for continuous video and use **Toggle fullscreen** when you want a closer look.

The header cards show **Viewers**, **Panels online** ("All N panels online" or "N panels need attention"), **HD streams**, and **SD streams**, which help you see which views are available. While you edit, the header shows **Editing** with **Save** and **Cancel**; the wall's more menu offers **Edit** and **Delete videowall**, and deleting asks "Are you sure you want to delete this videowall?" with **Yes, delete**. A panel whose camera has been removed from Chirp reads **Camera unavailable**. When a panel reports its camera as offline, the preview replaces the earlier snapshot with **Camera is offline**. If you see **No preview available**, check the camera's state before assuming it is disconnected; see [Watching Live Video](/lens/watching-live-video#why-is-my-camera-picture-missing). The **HD streams** and **SD streams** counters reflect viewing modes; they do not increase the resolution supplied by the camera.

To listen or speak through a supported camera, open that camera's individual view. Use the wall to watch several views together and return supported cameras to their home positions. See [Watching Live Video](/lens/watching-live-video) for camera controls.

## How do I send cameras back to their usual view?

A motorized **PTZ camera** supports pan, tilt, and zoom. Its **presets** remember useful viewing positions, such as the doorway or a wider view of the room. Mark one as the default to tell Lens where that camera should normally look.

Suppose you turn several cameras to follow movement around the garden or check different parts of a property. Afterwards, they may no longer cover the doors or paths you usually watch. Instead of opening each camera and moving it back by hand, select **Return All to Home** on the videowall. The supported cameras on that wall return to their own home positions together. This is particularly useful when you have cameras around a large house or across several properties.

To choose the usual view for a camera:

1. Open the camera from the **Cameras** list in Lens.
2. Find **Camera controls → Presets**. Use **Go to** beside a saved position to check its view.
3. Choose **Set as default**, the star beside the position you want. A **Default** label identifies your selection.
4. Set the preferred position on your other PTZ cameras as needed.
5. Return to the saved wall, leave Edit mode, and select **Return All to Home**.

<figure><img src="https://1153890212-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxgYoHO4zlaBzHJcfIrto%2Fuploads%2Fgit-blob-93b34a9cb6a38fa792d63a4e4db0b013dbc636cb%2Fchirp-lens-default-preset.jpg?alt=media" alt="Chirp camera controls with Facing Computer marked as the default preset"><figcaption><p>The default preset tells Lens where this camera should normally look.</p></figcaption></figure>

A camera might have a preset aimed towards the ceiling and another aimed at the desk or entrance. Choosing a default tells Lens which one you want to return to. If there are several presets and none is selected, Lens leaves that camera in place and reports **multiple presets found, set a default**. Set its default, then try again. When a supported PTZ camera has only one available preset, Lens can use that preset automatically.

Read the result notifications and check the pictures: they say how many cameras returned to their home position, how many were skipped (no PTZ support, no home preset set, or several presets with no default), and how many failed. "No PTZ cameras with a home preset found" means nothing on the wall could move, and "Failed to return home" means the request itself failed. Fixed cameras cannot turn, cameras without a usable preset are skipped, and an offline camera cannot respond. Only the cameras included in the open wall are targeted. If movement controls are unavailable on a compatible camera, check its ONVIF setup in [Connecting a Camera](/lens/connecting-a-camera).

## Where do my videowalls live?

Choose **Cameras** in the main menu and the sidebar changes to Lens. **Live view** comes first and **Videowalls** second, with each saved wall listed beneath it; **Back to Chirp** returns to the main menu. After the walls come **Add videowall** (with a gear icon for managing folders), then **Recordings** and **Cameras**, and **Storage** is pinned near the bottom. A wall whose cameras are all offline shows **Camera is offline** on each panel, and the header counters (viewers, panels online, HD and SD streams) show how many need attention.

## How do I keep useful views together?

You might create one wall for outside cameras and another for indoor areas. Folders, created through the gear next to **Add videowall** in the Lens sidebar, help organize those views. The **Manage videowalls** dialog ("Organize your videowalls into folders") has **Create folder** with a name field ("Enter folder name"; a name is required). Select a folder when you create a wall. Only an empty folder can be deleted; otherwise you see "Cannot delete a folder that contains videowalls".

If you no longer need a layout, choose **Delete videowall** in its more menu. The wall is removed, but its cameras remain in Lens. Deleting a wall or removing a panel does not remove the camera's Twin.

A wall helps you check what is happening now. To let motion at a particular doorway start an automation, continue with [Motion Zones](/lens/motion-zones) and [Camera Rules and Alerts](/lens/camera-rules-and-alerts).


# Motion Zones

Focus home-camera motion detection on a doorway or gate instead of everything in the picture.

A **motion zone** marks the part of a camera picture where movement should count. It helps when you care about someone approaching your door but do not want ordinary movement on the pavement to trigger the same response.

You draw the area in the camera's local Twin. The camera itself does not need a built-in AI detector.

<figure><img src="https://1153890212-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxgYoHO4zlaBzHJcfIrto%2Fuploads%2Fgit-blob-ab52293f51b3c3e2bcaee48579b226d9f6af4e9f%2Fchirp-lens-motion-zone.jpg?alt=media" alt="A selected area in the Chirp Twin motion-zone editor"><figcaption><p>This demonstration selects part of the room. Choose the area that matters in your own camera view.</p></figcaption></figure>

## How do I mark a motion zone?

1. Sign in to Twin and open **Settings → Recording**.
2. Set **When to record** to **Motion** so the motion-detection path is active.
3. Begin with time schedules and external conditions disabled while you test.
4. Open **Recording Area**.
5. Use a rectangle for a simple doorway, or a polygon to follow an irregular boundary.
6. Save your changes.

The editor's shortcuts are **R** for rectangle, **O** for polygon, and **M** for moving or deleting an area. Keep the pavement outside the selected shape if you only want to detect activity at the door.

## Can I draw the area in Chirp instead?

Yes. Open **Cameras**, select the camera, and choose the **Recording Area** tab. The card says: "Select the area where movement should start a recording. Movement outside the selected areas is ignored. Saved clips still show the full camera view." The camera's current snapshot appears with the same drawing tools: **Rectangular box (R)**, **Polygon-selection (O)**, and **Regions Manipulation (M)** to move, resize, or delete a shape. Select **Save**; the message "Zones saved." and then "Saved — pending sync to camera." means Lens has the areas and Twin will pick them up. If the camera is offline you see "No snapshot available. Camera must be online to edit zones." and cannot draw; if saving fails the card says "Failed to save zones. Please try again." Some places open the same editor as a **Region Of Interest** dialog with the hint "By defining one or more regions, motion will be tracked only in the regions you have defined." and **Save** and **Cancel** buttons.

## How do I test a motion zone?

Walk inside the area and check the motion reading. Then walk outside it and check again. Adjust the global pixel-change threshold if necessary: a lower threshold makes detection more sensitive.

Sensitivity applies to the detector rather than to each individual shape. If no areas are drawn, the whole picture is used. If several areas are drawn, movement in any of them can count as motion.

Changes in light, shadows, or weather can affect detection too. Revisit the setup after dark and after moving the camera. Motion detection tells you that part of the picture changed; it does not tell you who caused it.

## What should motion do?

You can use motion readings in Chirp without saving clips, as long as motion processing remains enabled. If you do want clips, enable [local recording](/lens/local-recordings) separately. Timetables and external conditions can restrict processing, so add those settings after the basic test works.

Your selected area does not crop live video or saved recordings. Continue with [Camera Rules and Alerts](/lens/camera-rules-and-alerts) to turn the motion reading into a useful notification.


# Camera Rules and Alerts

Make a Chirp rule respond to camera motion and use an alarm definition for the household notification.

A camera's motion reading can start a Chirp rule, just like a reading from a home sensor. The rule decides what to do, while an alarm definition determines the message and notification behavior.

For example, after [drawing an area around your front door](/lens/motion-zones), you can make movement there raise an `Activity at the door` alarm. Check that the camera is connected and that your account can manage rules and alarms.

## How do I prepare the alert message?

Open **Alarm** and create an alarm definition for the notification. Choose a clear message, the intended recipients and channels, and suitable scheduling and suppression settings. See [Set Up a Home Alert](/alarm/set-up-a-home-alert) for the full setup.

## How do I connect camera motion to an alarm?

1. Create a rule in **Rules engine**.
2. In **Start**, choose **Sensor reading** as the **Start source**. Select your camera under **Device** and **Camera motion** under **Sensor**.
3. Add an **Exclusive Gateway**, which lets the rule choose a route based on the reading.
4. Give the motion route the condition `vars.value == true`.
5. Connect that route to **Set Alarm** and select your alarm definition.
6. Finish that route with **End**. Make a default route to End for readings that do not indicate motion.
7. Save the rule, build it, and deploy it when it is ready.

The motion value is `true` when movement is detected. A `false` value can indicate no motion, but is also sent when a camera goes offline. Use **Camera status** to distinguish a quiet scene from a disconnected camera. The gateway keeps a false reading from running the alarm action.

<figure><img src="https://1153890212-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxgYoHO4zlaBzHJcfIrto%2Fuploads%2Fgit-blob-97be16e686e730daba5850ec85ed9861a071e258%2Fchirp-lens-camera-rule.jpg?alt=media" alt="Chirp rule Start event selecting Home Entrance · Tapo and the Camera motion sensor"><figcaption><p>Use the camera’s motion reading as the rule’s starting event, then add the condition and alarm action.</p></figcaption></figure>

## How do I test a camera alert?

Start with the rule debugger and mock or skip external actions while checking your logic. Then test real movement inside and outside the area. Turn on delivery to your intended recipients after the behavior is correct.

This example raises an alarm; it does not clear that alarm automatically when movement stops. Configure clear behavior separately if you need it. Also, dismissing an incident does not change the camera reading: movement that still meets your rule's conditions can raise another alarm, depending on suppression and trigger settings.

For more control over when a condition qualifies, see [Trigger Timing](/rules-engine/triggers/trigger-timing).

## How do I get alerted when a camera goes offline?

To notice a disconnected home camera, add another rule using **Start → Sensor reading** and select that camera's **Camera status** sensor. Its value is text. The condition `vars.value == "offline"` can lead to an alarm asking you to check the connection. Try both disconnection and recovery before turning on notifications.

Choose camera sensors through **Sensor reading**. The camera can report the same value again, so a reading is not necessarily a new movement or a change of connection state. Use the rule's timing controls and alarm suppression to avoid repeated household notifications. Include a clear action in the recovery branch if you want the rule to clear its alarm; a false motion value or an online status alone will not resolve the incident.


# Local Recordings

Save and review home-camera clips on the computer running Twin, with limits to manage disk use.

Twin can keep camera recordings on the computer at your home. This lets you review a clip after an event instead of needing to watch live at the time. Saving video is off when you first install Twin.

The controls and saved clips in this guide are in **Twin's local interface**. Make sure the recording folder uses persistent storage before you turn recording on.

## What should I record and save?

Open **Settings → Recording**, enable recording, and choose **Motion** or continuous recording under **When to record**. Save the settings.

Motion mode records around detected activity. Configure the pre-recording and post-recording periods to include context before and after movement, and use the maximum clip length to control how recordings are divided. [Motion Zones](/lens/motion-zones) helps you focus detection on a doorway or gate.

Continuous mode saves video without waiting for movement and skips motion processing. Choose **Motion** for camera-motion rules. You can leave recording disabled if you want motion readings without saving clips.

### How do clip timing and sensitivity work?

| Setting                                 | Effect                                                                                                                     |
| --------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- |
| Maximum clip length (seconds)           | Caps the length of a saved clip. Continued movement can result in further clips.                                           |
| Record before movement (seconds)        | Includes buffered video from before the trigger. The amount available depends on the camera's keyframes and buffer.        |
| Keep recording after movement (seconds) | Records a little longer once movement stops; new movement can stretch the clip until it reaches the maximum length.        |
| Motion sensitivity                      | Threshold measured in changed pixels. Smaller numbers pick up smaller changes, and 150 or so is a sensible middle setting. |

### How do I set a recording schedule?

Twin's supplied configuration starts with **UTC** as its timezone. Before enabling a schedule, check **Timezone** and choose the zone for your home. Leaving an unintended zone selected can shift both recording and motion-processing periods away from the hours you expect. An upgrade that keeps the existing configuration volume preserves your saved setting.

In **Recording schedule**, pick a **Timezone**, switch on **Use schedule**, then set the active intervals for each day you care about. Each day supports two intervals, useful for times when you are away from home. After saving, test one active and one inactive period. Because schedules also limit motion processing, run your first motion-rule test with no schedule.

## Can I change recording settings from Chirp?

You can also reach the recording and storage controls from the platform. Open **Cameras**, select a camera, and use these tabs on its detail page:

* **Recording** has **Enable recording**, **When to record** (**Motion** or continuous), **Maximum clip length (seconds)**, **Record before movement (seconds)**, **Keep recording after movement (seconds)**, **Motion sensitivity**, the **Fragmented recordings** switch, and a **Recording schedule** with **Timezone** and **Use schedule**.
* **Storage** has a **Local storage** card with **Saving clips to** and **Writable** (Yes or No) read-outs, an optional **Recording folder override** with a **Test on Twin** button, and the **Automatic cleanup** limits. After you select **Test on Twin**, a **Path OK** badge (hover it to see the free space) or an **Invalid** badge (hover it for the reason) appears next to the field. The **Cloud backup** card below is covered in [Back Up Home Camera Recordings to the Cloud](/lens/cloud-archive).

On both tabs, **Save** stores the settings in Lens and sends them to the camera's Twin; the message reads "Recording settings saved and sent to the camera." or "Storage settings saved and sent to the camera." If Twin is unreachable you see "Saved in Lens. Send to camera failed. Try again." The Storage tab also has a **Send to camera** button that re-sends the saved settings without changing anything. If a tab says "Twin settings aren't available yet. Make sure the Twin is online.", start Twin and reload the page before editing.

Two more items on the Recording tab: **Fragment duration (seconds)** appears once **Fragmented recordings** is on (it saves clips in a streaming-friendly MP4 format for HLS playback; leave it off unless you need that), and **External recording check URL** takes the endpoint described below. **Save test clip** records a short clip immediately, ignoring motion areas, and is available in Motion mode with recording on; you see "Test clip requested." when Twin accepts the request.

<figure><img src="https://1153890212-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxgYoHO4zlaBzHJcfIrto%2Fuploads%2Fgit-blob-3a157d6d201482bc5e8a42d4d1c08bf97f139841%2Fchirp-lens-camera-recording.jpg?alt=media" alt="The Recording tab of a camera with Enable recording, When to record, clip length, pre and post movement seconds, motion sensitivity, Fragmented recordings and Recording schedule"><figcaption><p>The Recording tab.</p></figcaption></figure>

<figure><img src="https://1153890212-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxgYoHO4zlaBzHJcfIrto%2Fuploads%2Fgit-blob-d6de60e8baa3f7739d41559091da30765a700a22%2Fchirp-lens-camera-storage.jpg?alt=media" alt="The Storage tab of a camera with Local storage, Local disk usage, Recording folder override, Test on Twin and Automatic cleanup"><figcaption><p>The Storage tab.</p></figcaption></figure>

## How much disk space should I leave free?

Under **Settings → Storage → Automatic cleanup**, turn on either limit or both:

* Choose **Limit by total size** and enter **Maximum recordings folder size (MB)** to keep the recording folder within a storage budget. Cleanup removes the oldest clips first when the limit is exceeded.
* Choose **Limit by age**, then set **Delete clips older than (days)** when you want clips removed after a chosen number of days.

Select **Save**. With both limits on, a recording can be removed as soon as either one is reached. Download clips you must retain separately before cleanup removes them.

The recording path is inside the container. The Docker volume mounted during [Twin installation](/lens/installing-twin) is what keeps the files when the container is restarted or replaced.

## How do I find a saved clip?

Open **Recordings**, select the dates you want, and open a clip to play it. Use the download control if you need to keep a copy elsewhere.

Check a test clip to make sure the picture, time, and event context are useful. A motion zone controls the trigger; the recording still contains the camera's full view.

<figure><img src="https://1153890212-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxgYoHO4zlaBzHJcfIrto%2Fuploads%2Fgit-blob-28f3a1e4a84db550b6e3e5d35e5da1576006df9b%2Fchirp-lens-local-recordings.jpg?alt=media" alt="A saved camera clip open for playback in Chirp Twin"><figcaption><p>Open a local clip to review what happened, or use Download to keep a copy.</p></figcaption></figure>

## Can I keep a second copy somewhere else?

Yes, and it is worth doing for anything you cannot afford to lose. Clips that live only on the Twin computer disappear if that computer is stolen or breaks. Camera **Storage** settings include a **Cloud backup** section where, with Twin 1.1.0 or newer, you choose a connector under **Backup to** and Twin uploads an encrypted copy of every clip. The age and size limits in **Automatic cleanup** apply to those copies too. See [Back Up Home Camera Recordings to the Cloud](/lens/cloud-archive).

## How do I use an external recording condition?

**External recording check** lets an existing system permit or prevent processing—for example, an occupancy system can enable monitoring while a home is unattended. Enter its endpoint in **External check URL** and save. This is an advanced integration; test ordinary recording before enabling it.

The check sends an HTTP POST with `camera_id`, `camera_name`, `site_id`, and `timestamp` to your endpoint. Return HTTP **200** to allow processing. A different response or a failed request prevents processing; the timeout is eight seconds. Twin keeps the result for thirty seconds while refreshing it in the background. Processing starts permitted before any result has arrived, so this check does not provide an immediate privacy switch or a fail-closed safeguard. Test allowing and denying processing against an endpoint you control.


# Back Up Recordings to the Cloud

Send a copy of your home camera recordings to your own Amazon S3, Google Cloud, or Walrus account and watch them again from Chirp.

Imagine the computer running Twin sits in a hallway cupboard, and someone walks off with it, or its disk simply gives up. The clip you wanted goes with it. Cloud backup puts a second copy of each recording in an account you own, so the evidence survives the hardware.

It adds to local recording and never replaces it unless you choose to. Twin saves each clip at home first, then uploads a copy to the cloud account you pick.

## Who benefits most from cloud backup?

* **Holiday homes and rental units** you only visit now and then, where you want to review footage from afar.
* **Homes where Twin runs on a spare laptop or mini PC.** A copy elsewhere means that machine is no longer your only safe place.
* **People who want ownership.** The cloud account, the bill, and the retention choices are yours.

## What happens to a clip on its way to the cloud?

```mermaid
flowchart LR
  A[Camera] --> B[Twin saves the clip at home]
  B -->|encrypted by Twin| C[Your cloud account]
  D[Recordings in Chirp Lens] -->|play, download, delete| C
```

1. Twin records a clip, following your [local recording](/lens/local-recordings) settings.
2. Twin encrypts the clip before it leaves your network, so nothing travels or sits in the account unencrypted.
3. The upload goes straight from Twin to your account without passing through Chirp's servers. Chirp then verifies that the clip arrived whole.
4. The clip appears on the **Recordings** screen, and Chirp can play it back.

Thumbnails, screenshots, and exports that Lens builds from a clip stay with Chirp, not in your bucket.

## Is a backed-up clip private?

The plain answer is on the connector form itself: **Your storage keeps the recordings; the platform keeps the keys and previews and can read the archive.** The files are encrypted in transit and at rest, and Chirp holds the keys because it must decrypt a clip to show it to you. That keeps clips away from outsiders, but it is not end-to-end encryption and it does not hide footage from the platform. Rotating a key protects clips recorded afterward, not older ones.

## How do I switch on cloud backup?

Your camera's Twin must run version **1.1.0** or later; an older Twin keeps recording locally and says it cannot upload. [Installing Twin](/lens/installing-twin) covers updating. You also need **Edit** access to cameras, since the Recordings, Cameras, Videowalls, and Storage screens all require it, and a View-only role is turned away.

1. In Lens, open **Storage** at the bottom of the sidebar.
2. Select **Add storage connector** and complete the form for your provider. [Storage Connectors](/lens/storage-connectors) explains every field.
3. Go to **Cameras**, open your camera, and select the **Storage** tab. Scroll to the **Cloud backup** card, whose subtitle says the Twin keeps recording locally and also uploads a copy.
4. Open the **Backup to** list and choose your connector. The first entry, **None (local only)**, turns the feature off. If the list is empty, the card says no connectors are configured and offers **Manage storage connectors**.
5. Once a connector is selected, more controls appear:
   * **Upload queue folder**: an advanced path for clips waiting to upload; leave it empty for the default.
   * **Delete local clips after upload**: removes the home copy after Lens confirms the upload. Leave it off to keep a permanent local backup too.
   * **Limit cloud storage**: when on, a **Maximum cloud storage (MB)** field appears, and the oldest cloud backups are deleted once the camera passes that size. Local clips are unaffected.
6. Select **Save** at the bottom. Saving stores the settings in Lens and sends them to the camera's Twin, and a message confirms "Storage settings saved and sent to the camera." If Twin is offline the message says the settings were saved in Lens but sending failed; select **Send to camera** next to **Save** to push them again once Twin is back. The **Send to camera** button is grayed out while Twin's settings are still loading or cannot be checked.
7. Trigger some motion and watch for the new clip in **Recordings**.

Higher up the same tab, **Automatic cleanup** has **Limit by total size** and **Limit by age**. The age limit, **Maximum recording age (days)**, applies to cloud backups as well as local clips, and the card shows "Kept for at least N days", so a short limit will also remove cloud copies.

<figure><img src="https://1153890212-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxgYoHO4zlaBzHJcfIrto%2Fuploads%2Fgit-blob-d7714613dd773c191170edac314d773a28ebe358%2Fchirp-lens-camera-cloud-backup.jpg?alt=media" alt="The Storage tab of a camera showing Automatic cleanup with Limit by total size and Limit by age, and the Cloud backup card with the Backup to list, a link to Manage storage connectors, and the Save and Send to camera buttons"><figcaption><p>The Cloud backup card on a camera's Storage tab.</p></figcaption></figure>

## How do I find, save, or delete a clip?

Choose **Recordings** in the Lens sidebar. The toolbar has an **All devices** drop-down, a **Date range** button, an **Alerts only** switch that hides clips without alerts, a sort drop-down (**Newest first** or **Oldest first**), and the buttons **Export**, **Clear filters**, and **Refresh**. Use **Refresh** to pull in new clips. Each clip card has a checkbox; tick several and select **Export** to prepare them together.

<figure><img src="https://1153890212-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxgYoHO4zlaBzHJcfIrto%2Fuploads%2Fgit-blob-6cc3670188288b05e73cf03ed387171ebe1ea555%2Fchirp-lens-recordings.jpg?alt=media" alt="The Recordings page with the All devices filter, Date range, sort list and the Export, Clear filters and Refresh buttons above a grid of clips grouped by date"><figcaption><p>The Recordings page.</p></figcaption></figure>

* **Open** a clip to reach its detail page: a breadcrumb back to **Recordings**, the player with **Play** and **Pause**, and a **Media info** panel with **Camera**, **Duration**, **Format**, and **Size**. **Show live** switches the player to the camera's current picture so you can compare, and **Show playback** switches back. Below the player, a **Screenshots** card holds stills taken from the clip: select **Capture** to save the current frame, and until you do it says "No screenshots captured yet." On the Recordings grid, a clip that has alerts carries an **Alerts** badge, which is what the **Alerts only** switch filters on.
* **Play** a clip in Chirp's player. If your storage cannot serve partial reads, a notice says seeking is unavailable; with Walrus, pick an aggregator that supports range requests.
* **Download** it to your phone or computer; the button shows "Downloading the recording…" with **Cancel download**, and if the browser asks you to choose where to save the file, an expired prompt says to select **Download** again. Browsers without the File System Access API, such as Firefox and Safari, cap downloads at 1 GiB and show "This file is larger than 1 GiB. Download it in Chrome or Edge." for bigger files. **Export** asks "Export this recording as a ZIP package?" (or "Export N recordings as a ZIP package?"), shows "Preparing your download package…", and then "Your export package is ready." with a **Download package** button.
* **Delete recording** appears for Amazon S3 and Google Cloud Storage and removes the file from your bucket permanently.
* **Remove from archive** appears for Walrus clips, for clips whose storage period has ended, and for clips whose key was erased. The clip leaves your list, but the file remains in your storage until its paid period ends or you delete it there yourself.

## What do the clip states mean?

A clip that is still only on the camera shows **Kept on the camera**; hover it for the reason, for example the camera needs an update to use cloud backup, it used a key the storage does not recognize or a compromised key, the storage was disconnected, or the storage did not accept the upload. If the player says "Playback unavailable. Storage connector could not provide a stream reference.", the connector cannot be reached; check it on the **Storage** page.

* **Unreadable:** the clip was damaged during upload and cannot be played. It still takes up space in your storage.
* **Storage period ended:** Walrus kept the clip for the period you paid for, and it is no longer available.
* **Archive disconnected — key erased:** you disconnected the storage, so Chirp can no longer decrypt its clips.

## How do I stop using a storage account?

On the **Storage** screen, choose **Disconnect storage** for that connector and type its name to confirm. Chirp permanently erases its keys. Your files stay in the account, but Chirp can no longer open them. A separate action marks a key as compromised and issues a fresh one for future clips.

## Which provider should I choose?

| Your situation                                                                 | Choose                                                                                                         |
| ------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------- |
| You already have a cloud provider, or a service that follows the S3 convention | **Amazon S3**                                                                                                  |
| You have Google Cloud with a bucket                                            | **Google Cloud Storage**, which is newly released: record one short clip and play it back before relying on it |
| You like paying for a fixed storage period on a decentralized network          | **Walrus**                                                                                                     |

Continue with [Storage Connectors](/lens/storage-connectors) for the forms.




---

[Next Page](https://docs.chirpwireless.io/llms-full.txt/1)

