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

# 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.md), 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.md#how-do-i-replace-my-cars-tracker). For the first installation, start with the [Tracker Connector](/connectors/tracker-connector.md). [Tracking What Matters](/dashboards/tracking-what-matters.md) 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.md). 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.md) 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.md#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.md) 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.md) shows how to tie the messages to a digital device and its measurements                  |
| GPS tracker                                                   | [Tracker Connector](/connectors/tracker-connector.md) — tracker identity, model and reporting endpoint                           |
| Generated readings                                            | [Pretend Sensors](/devices/pretend-sensors.md) — prepare dashboards before the sensor arrives                                    |

## What's in this section

* [Adding Sensors](/devices/adding-sensors.md) — register a sensor and map what it measures
* [Pretend Sensors](/devices/pretend-sensors.md) — get set up before your hardware arrives
* [Data Templates](/devices/data-templates.md) — what your readings mean, with the right units
* [What Your Device Is Sending](/devices/what-your-device-is-sending.md) — see the fields your sensor reports, and what they say
* [Sensor Details](/devices/sensor-details.md) — replace hardware, reconnect readings, and review retained history
* [Connection Diagnostics](/devices/connection-diagnostics.md) — added a sensor but nothing's showing up?
* [Rooms](/devices/rooms.md) — make devices easy to recognize by room
* [Favorite Devices](/devices/favorite-devices.md) — star the ones you check most
* [Controlling Your Devices](/devices/commands.md) — turn things on and off, not just watch them
* [Tested Device Guides](/devices/tested-device-guides.md) — sensors we've paired end-to-end ourselves
