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

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

## Querying This Documentation
This site has an agentic ask interface you may use to query the documentation dynamically by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.kiloiot.io/index.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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

---

# Intro to Kilo

Kilo provides the IoT infrastructure that lets people, software, and AI operate connected assets safely at scale.

Kilo is pronounced **KEE-loh** and takes its name from the kilogram, a unit of measurement. Our slogan is **Measurable IoT**.

Kilo connects devices, cameras, automation, and AI-assisted setup across the physical world. Its products support the path from choosing equipment and connecting it to understanding conditions and acting on them—across industrial sites, property portfolios, transport infrastructure, and distributed operations.

The [**AI Assistant**](/ai-assistant) is like having an experienced integrator by your side. It helps you work through protocols and device compatibility, then takes on platform configuration: adding devices, configuring alarms, and building and deploying automation rules from the outcome you describe. You can begin with an [emulated device](/connectors/emulator-connector) before any hardware is on site.

The products serve different parts of that job:

* [**Kilo IoT Server**](/kilo-iot-server) manages connected devices, readings, Lens cameras, dashboards, rules, alarms, and an AI assistant that carries out device and automation setup. **Kilo Cloud** is its hosted offering.
* [**Kilo Center**](/kilo-mioty-service-center) is an open-source MIOTY service center for networking: connecting base stations, registering endpoints, and enabling communication. Kilo Cloud includes its enterprise version and adds widgets, rules, alarms, and the wider IoT platform.
* [**Kilo Electronics**](https://kiloelectronics.com/) supplies sensors, gateways, and other hardware for a project.

Choose the components your deployment needs. You can bring existing equipment to the IoT Server or begin with an [emulated device](/connectors/emulator-connector) to try dashboards and rules before connecting hardware.

[Lens](/lens) brings compatible existing IP cameras into the IoT platform. Lens runs in the cloud; each camera connects through its own **Twin**, a digital twin running as a Docker container at the customer’s premises. Teams can combine live video and selected-area motion with the same platform used for sensors, rules, and alarms.

The IoT Server also gives AI agents access to supported device operations through the [AI Assistant](/ai-assistant) and [MCP interface](/api/mcp-server). This is Kilo's [physical AI](/physical-ai) role: device data, saved commands, permissions, and automation workflows that an agent can use. Available actions depend on the integration and your access.

***

### How Kilo Fits the IoT Stack

#### Devices — Kilo Electronics

Kilo Electronics is our hardware distribution business, operating in Germany under **Kilo IoT, GmbH**. [Kilo Electronics](https://kiloelectronics.com/) supplies sensors, gateways, and other IoT hardware to support real deployments.

#### Connectivity — LoRaWAN, mioty and MQTT

Devices reach Kilo through [LoRaWAN gateways, mioty base stations and MQTT edge gateways](/gateways), or connect directly over MQTT and tracker protocols. Kilo includes its own LoRaWAN network server and Kilo Center for mioty, and each source is set up as a [connector](/connectors).

#### IoT Platform — Kilo Cloud

Kilo Cloud is the hosted IoT Server for device management, dashboards, automation, and alerting. Its AI assistant helps you configure a deployment through conversation, from registering devices to building automation rules and setting up alarms. Access it at [**Kilo Cloud**](https://app.kiloiot.io/), the core IoT platform.

***

### Who Kilo Is Built For

Kilo is designed for flexibility and scale. It serves system integrators building solutions for customers, hardware developers deploying connected products, businesses operating hundreds or thousands of devices, and AI teams extending models and agents into real-world operations.


# Kilo IoT Platform

Connect sensors and cameras, visualize operations, and automate responses with Kilo IoT Server, Lens, rules, alerts, and AI assistance.

**Kilo IoT Server** brings connected equipment, video cameras, and automation into one operational platform. Use it to understand conditions across a deployment, investigate what changed, and configure a response—from an equipment command to an alarm for the team who can act.

A project can begin with one sensor or an existing IP camera. The same platform supports broader use cases across facilities, property portfolios, transport infrastructure, and distributed operations. You can combine equipment from different manufacturers through supported connections, rather than building an isolated monitoring system for each device type.

**Kilo Cloud** is the hosted offering. Start with the outcome you need: maintain cold-storage conditions, monitor a station entrance, check equipment at several offices, or understand a building's occupancy and environment. Then bring together the devices, views, and responses that make that outcome practical.

## Who Kilo IoT is for

Kilo serves operational teams, system integrators, equipment suppliers, and organizations building solutions around connected assets. A facilities team might use it to monitor conditions and respond to faults. A transport operator might combine camera visibility with environmental and equipment readings. An integrator can organize a customer's solution while keeping access within the appropriate organization.

You do not need every capability to start. Choose a working connection, build a useful view, and configure one response. [Emulated devices](/devices/emulated-devices) let you try that workflow before hardware is installed.

## What the platform does

### Connect equipment and give its readings meaning

A temperature probe, meter, tracker, and controller may communicate differently. Kilo's [connectors](/connectors) provide the supported connection paths, while each device's digital model gives its readings names, types, and units that dashboards and rules can use.

This lets the useful information move beyond a manufacturer's own interface. A warehouse temperature reading can appear on an operations dashboard, take part in a rule, and provide context during an investigation. Device details and diagnostics help you distinguish the sensor's reported value from a connection or configuration problem.

Kilo includes a [LoRaWAN network server](/connectors/lns-connector/built-in-lns) and [MIOTY integration](/connectors/mioty-connector), alongside MQTT and supported tracker connections. The right starting point depends on the equipment: a LoRaWAN journey uses a compatible Basics Station gateway, while another integration may connect directly or through its own bridge.

[Register a device](/devices/registering-devices) or explore [device diagnostics](/devices/device-diagnostics).

### Bring cameras into the IoT platform with Lens

[Lens](/lens) adds live video and camera motion to the platform. It is useful for security cameras and property management, but its scope also includes smart-city observation, traffic monitoring, stations, depots, and distributed enterprise sites.

Consider offices in New York, Washington, and London with different camera brands. Compatible RTSP cameras can connect to Lens without replacing every installation. Teams can view the feeds through the same platform used for other IoT information and manage access through the organization.

Lens runs in the cloud. At each site, **Twin** runs as a Docker container and acts as the digital twin of one camera. Twenty cameras use twenty Twin containers, each with its own configuration. This model supports expansion across cameras and locations while keeping the camera connection at the premises.

An existing camera can also gain selected-area motion detection. If its picture includes a busy street and an office door, draw a zone around the door in Twin. Movement in that area can supply a motion reading to a Kilo rule, which can raise an operational alarm. The camera does not need built-in AI for this detection.

[Connect your first camera](/lens/installing-twin), then [configure motion and a response](/lens/camera-rules-and-alerts).

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-b41dbcfa6839273a1bb27c572513f6616e2bf4c0%2Fkilo-lens-live-view.jpg?alt=media" alt="Two connected office cameras in Kilo Lens"><figcaption><p>Keep compatible cameras from different manufacturers together in one operational workspace.</p></figcaption></figure>

### Make operations visible

A useful [dashboard](/dashboards) answers the questions an operator actually has. Combine current values, trends, device states, and supported controls in a layout suited to the job. A cold-storage view might emphasize temperatures and their recent history; a facilities view might bring together environmental conditions and equipment status.

Maps add location to the readings. A [Digital Building Twin](/dashboards/adding-widgets/digital-building-twin) adds spatial context in 3D: rooms, equipment, parking places, and other objects can show values or change color according to linked sensor conditions. Instead of reading an unfamiliar device identifier, an operator can see which part of a site needs attention.

Choose the view that helps the decision. A chart makes a changing trend clear; a color-coded room makes a location clear. The platform's [Applications](/applications) can organize related devices, dashboards, rules, and alarm definitions around the solution, so operators can find its parts together.

[Create an operational dashboard](/dashboards/creating-dashboards) or [connect sensor values to a 3D view](/dashboards/adding-widgets/digital-building-twin/binding-sensors-and-colors).

### Turn conditions into controlled responses

The [Rules Engine](/rules-engine) gives automation a visual workflow. Start from a reading or trigger, evaluate conditions, branch to the relevant actions, and inspect the result. Use [CEL expressions](/rules-engine/cel-reference) for conditions and calculations, with schedules and trigger timing when a response should depend on time as well as a value.

For example, a temperature excursion may need to persist before the team is alerted. A camera's motion reading may need a different response during a configured operating period. Rules connect those conditions to the actions you choose.

Version history, debugging, build, deploy, and stop controls help you manage changes deliberately. Inspect a proposed rule, test its paths, and deploy the version intended to run. Restoring an earlier version is part of that managed lifecycle; review and deploy the restored rule when it is ready.

[Alarm definitions](/alarm/notification-rules) specify how an incident is communicated: its message, recipients, channels, schedules, suppression, and escalation. The inbox gives the team a place to inspect and respond to incidents. Together, rules and alarms connect a measurement to a practical response rather than merely adding another number to a screen.

[Build your first rule](/rules-engine) or [configure an operational alert](/alarm/first-operational-alert).

### Work with an AI assistant that knows the platform

The [AI Assistant](/ai-assistant) helps with both setup and investigation. Describe the outcome you want, ask about suitable connections, or request help preparing supported device, dashboard, alarm, and rule configuration. Review the result in the platform's normal editors and confirm consequential actions when prompted.

Once equipment is reporting, ask focused questions about its available readings and history. For example: “Which devices have stopped reporting?” or “Compare these warehouse temperatures over the last week.” The answer can guide the next inspection or configuration change.

For teams integrating external AI agents, Kilo's [Physical AI](/physical-ai) and [MCP interface](/api/mcp-server) provide supported paths to platform operations. Available actions remain subject to permissions and the connected equipment's capabilities.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-385a1445eb90654ba0c81ab111463d87b9348500%2Fkilo-introduction-ai-readings.jpg?alt=media" alt="Kilo AI assistant summarizing temperature, humidity, carbon dioxide and equipment-state readings"><figcaption><p>Ask about your devices in ordinary language. This example uses emulated site readings.</p></figcaption></figure>

## Operate with the right access and integrations

Organizations keep resources and access within the relevant working context. Fine-grained permissions determine what team members can view or change; the [audit trail](/reports/audit-trail) supports inspection of recorded activity. Plan access alongside the operational workflow, especially when several teams or customers use the platform.

The [public API](/api) supports software integrations using scoped API keys. Start with the documented REST workflow for standard HTTP integrations and use the protocol-specific reference for other requirements.

For deployment choices, subscriptions, and interface preferences, use the relevant [settings guides](/settings). Lens's edge Twin setup is explained separately in its installation guide.

## Access the Platform

Open [Kilo Cloud](https://app.kiloiot.io/).

## Where to start

* **Connect equipment:** follow [First Steps](/getting-started).
* **Reuse an IP camera:** [install Twin and connect Lens](/lens/installing-twin).
* **Try before installation:** use an [emulated device](/devices/emulated-devices).
* **Build around an outcome:** [create an application](/applications/creating-an-application) and assemble its devices, views, and responses.


# Physical AI Platform for AI Agents

How the Kilo Physical AI platform lets AI agents control IoT devices through MCP or APIs and verify what happened.

## What is an operating system for physical AI?

An operating system for physical AI is the shared software layer that lets devices, machines and AI from different manufacturers exchange what they observe, coordinate tasks and act within defined permissions, without replacing the software inside each machine.

Kilo provides this operating layer for buildings, sites, equipment and fleets. A single site can contain sensors, gateways, controllers, trackers and machines from many manufacturers, connected over different protocols. Kilo brings them into one organization through [LoRaWAN, mioty, MQTT and vehicle-tracker connectors](/connectors). Each device keeps a record of where it is and what its readings mean. [Rules](/rules-engine) decide what happens next, [alarms](/alarm) bring in the right people, and [device commands](/devices/commands) act on equipment that accepts them. AI agents and people work with the same devices, under the same permissions.

This matters more as robots and IoT devices multiply. Each machine can be capable on its own and still miss what another machine has already observed. A robot only knows what its own sensors report. A sensor in another wing of the building can have the information the robot needs, and an operating layer is what carries that information from one to the other.

For example, a door sensor reports that a warehouse door opened while the site is closed. A deployed rule raises a critical alarm and sends a configured command to a siren controller on site. The alarm's escalation chain notifies the on-call guard by SMS straight away. If nobody resolves the alarm within the delay you set, the next step notifies the site manager. The door sensor, the siren and the guard's phone come from different manufacturers; Kilo connects them in one response.

### How is it different from a device or robot operating system?

Kilo does not replace the software inside a device or robot. Small sensors and controllers often run an embedded operating system such as FreeRTOS or Zephyr, which manages the device's processor, memory and radio. Robots run their own software for perception, navigation and motor control, often built with ROS 2, the set of libraries and tools developers use to build robot applications. Simulation and training environments, where robots practice before they work in the real world, are another separate job.

Kilo works across all of these. It connects to what each device or machine exposes, its readings and the commands it accepts, and coordinates them with the rest of the site. For a robot, that means defining the tasks the robot accepts and the information it reports back. Kilo can only coordinate actions that an integration makes available. The robot keeps responsibility for navigating, protecting itself and the people around it, and deciding whether a task is physically safe to carry out.

### How do you plan a physical AI workflow?

Start with the situation, not the device. Identify every device that contributes to it, what each reading means, and how fresh a reading has to be before you act on it. A door state from a sensor that reports every few seconds supports a different response from a temperature that arrives once an hour.

Then list the actions the installation actually supports: which devices accept commands, with which parameters, and who is allowed to send them. A rule can respond through its supported nodes, including an alarm or a configured device command.

Give every response a clear owner and an observable outcome. A command accepted for dispatch is different from a confirmed change in the physical world. Use [command verification](/devices/commands/verification) where the device can report its new state, and keep a person in the escalation chain for decisions that need one. The practical workflows below explain how to connect AI, test the logic and inspect the evidence Kilo records.

AI models can interpret goals and reason over complex information. Operating a building, machine, fleet, or remote site requires another layer: a dependable system that translates model intent into actions the physical infrastructure can accept, then reports what actually happened.

The Kilo IoT Server provides that Physical AI execution layer. It gives AI agents a consistent interface to heterogeneous devices while keeping device protocols, organization boundaries, permissions, operational safeguards, and result history inside the IoT system built to manage them.

## How AI agents control real-world devices

The AI model supplies intelligence: it interprets the request, evaluates context, and proposes what should happen. Kilo supplies physical-world operations: it maintains device state, constrains what can be changed, runs tested automation or device commands, and returns evidence about the result.

This separation matters because a generated answer and a physical action have different failure modes. A model should not have to improvise radio protocols, command payloads, device availability, access policy, or recovery behavior each time it acts.

## Safe AI device control lifecycle

Kilo supports a production lifecycle around real-world action:

1. **Observe** — read normalized telemetry, device state, alarms, and operating context.
2. **Reason** — give the AI grounded information from the deployment rather than disconnected payloads.
3. **Simulate** — test automation logic against representative inputs before deployment, including against [emulated devices](/devices/emulated-devices) that produce the readings you specify, so a loop can be exercised before the equipment exists.
4. **Approve** — apply the signed-in user's permissions and require confirmation where the workflow calls for it.
5. **Act** — deploy a rule or execute a typed device command through the configured connection.
6. **Verify** — inspect command delivery, optional device confirmation, and the resulting state.
7. **Record** — retain the relevant execution or version history so operators can investigate and recover.

The [Rules Engine](/rules-engine) provides debugging, simulation, controlled builds, deployment, version history, and restore. [Device Commands](/devices/commands) provide named actions with typed parameters, dispatch status, and optional verification.

## Test and release physical AI automation

A useful physical AI integration needs a repeatable way to test decisions, approve direct commands and recover from a rule change. Kilo brings those steps into the same device and automation workflow:

| What you need to do                          | How to do it in Kilo                                                                                                                                       | What to inspect                                                                                                                              |
| -------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- |
| Review an AI-requested device action         | Ask the built-in assistant to list the device's configured commands, then request the selected command. Review its parameters before confirming.           | The command definition and the subsequent execution status. See [Run a device command](/ai-assistant/building-with-ai#run-a-device-command). |
| Test a rule without sending its side effects | Open the rule debugger and choose **Skip** or **Mock** when a side-effect node is reached.                                                                 | The chosen branch, variables and response. See [Debugging Rules](/rules-engine/debugging-rules).                                             |
| Release tested logic                         | Build the rule, review the resulting artifact, and deploy it deliberately.                                                                                 | The artifact selected for live execution. See [Building and Deploying](/rules-engine/builds-artifacts-and-deployment).                       |
| Recover an earlier rule design               | In the rule's **History** tab, view an available saved version and choose **Restore this version**. Confirm the restore, then build and deploy when ready. | The new restored draft and its preserved version history. See [Version History and Restore](/rules-engine/version-history-and-restore).      |

Debugging gives you control over side effects; it does not make them simulated automatically. **Execute** runs the real handler. Select **Skip** or **Mock** when testing the logic without dispatch, and remember that the debugger reuses your choice for that node during the session.

Restoration changes the editable rule, not the physical world. A restored version becomes a new draft; the previously deployed logic continues until another build is deployed. Restoring a rule does not reverse a command that equipment has already carried out.

## Confirm AI commands and verify the result

For direct device control through the built-in assistant, start with a read-only request such as “What commands are configured on this device?” Choose the actual command and parameters returned for that device. Review the confirmation before approving dispatch, then inspect the execution status.

An accepted command is not proof that equipment reached the requested state. Check the recorded delivery outcome and device confirmation or subsequent telemetry where available. For an external MCP client, configure its approval policy for consequential tools; the command tool is marked destructive, but the client controls its approval experience. Autonomous rules execute the actions you deliberately build and deploy, rather than requesting chat confirmation on every run.

## Physical AI infrastructure for model providers

Kilo offers a way to add physical-world capabilities without rebuilding an IoT control plane. One integration can reach sensors, machines, actuators, buildings, fleets, and other connected assets across different manufacturers and protocols.

The IoT Server already provides the operational foundation around that integration: device models, connectivity, multi-organization access, dashboards, alarms, automation, remote control, cloud or on-premise deployment, and interfaces for AI clients and software. Model providers can focus on intelligence while Kilo handles the boundary where software meets physical operations.

Kilo is model-agnostic. Teams can use OpenAI, Anthropic, OpenRouter, a self-hosted or otherwise compatible model endpoint, or another AI system without replacing the device and operations layer.

## Connect AI agents to IoT through MCP or APIs

### Connect an external AI client through MCP

The [Kilo MCP Server](/api/mcp-server) lets a compatible AI client sign in with a Kilo account and discover the tools available to that user. The connection is scoped to the selected organization and inherits the user's permissions.

That toolset now includes device control. A connected client can list the commands configured on a device, execute one, and check whether it was delivered — `device_command_list`, `device_command_execute`, `device_command_status` — so an external model can complete the **Act** and **Verify** steps above without leaving the conversation. The execution tool is marked destructive, uses command definitions that already exist on the device, and lands in command execution history like any other dispatch. Configure the external client to request approval before calling consequential tools.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-7692a0f37a45adaf476c0a2601d8dc389485ed56%2Fai-chat-device-commands.jpg?alt=media" alt="The Kilo AI assistant explaining that it can list, execute and check the status of device commands"><figcaption></figcaption></figure>

Use MCP when a person wants ChatGPT, Claude, Codex, Cursor, or another compatible client to work with a live Kilo deployment. The precise actions available depend on the tools exposed by the server and the signed-in user's access.

### Use the built-in AI Assistant

The [AI Assistant](/ai-assistant) works like an experienced integrator by your side inside Kilo. Describe your goal, and it can provision devices, build and deploy rules, configure alarms, and simulate readings to test a response. It uses the deployment’s existing configuration to help put those pieces together, with confirmation prompts for actions such as running device commands.

Use the built-in assistant when operators want AI inside the same interface as their devices, rules, alarms, and dashboards.

### Integrate a service through REST or gRPC

The [Kilo IoT Platform API](/api) is for software your team builds, including agent backends, reporting systems, industrial integrations, and unattended workflows. API keys carry explicit scopes and organization context.

Use an API when you need a deterministic application integration rather than a user-authorized conversational client.

## Enterprise controls for Physical AI

* **Permission boundaries:** AI access remains within the connected user's role and organization.
* **Test before deployment:** automation can be debugged and simulated before it reaches live infrastructure.
* **Controlled releases:** rule builds are deployed explicitly and previous versions can be restored.
* **Constrained commands:** typed parameters define the inputs a device action accepts.
* **Result verification:** commands retain dispatch status and can require device confirmation where supported.
* **Traceable histories:** rule versions and executions, device-command executions, and organization access changes retain their own corresponding records.
* **Deployment choice:** the same operating model is available through Kilo Cloud or an on-premise IoT Server.

These controls do not make every physical action automatically safe. The organization still decides which devices are controllable, which parameter ranges are appropriate, who may act, and where human approval is required.

## Connect an AI agent through the IoT MCP server

1. Open [Kilo IoT MCP Server for AI Agents](/api/mcp-server) and add the published endpoint to a compatible client.
2. Sign in with your usual Kilo account and authorize the connection.
3. Begin with a read-only request, such as listing devices or summarizing alarms.
4. Confirm the selected organization and the tools available to your account.
5. Test a proposed automation before approving its deployment.
6. Review the corresponding rule or command history after a physical action.

For a custom backend, begin with the [Public REST API](/api/public-rest-api) and create a scoped key under **Settings → API Keys**.

## See also

* [IoT AI Assistant](/ai-assistant)
* [Kilo IoT MCP Server for AI Agents](/api/mcp-server)
* [Rules Engine](/rules-engine)
* [Device Commands](/devices/commands)
* [Users and Permissions](/account/users-and-permissions)
* [Audit Trail](/reports/audit-trail)


# First Steps

Get oriented with Kilo IoT Server and walk through your first LoRaWAN deployment from gateway to live dashboard.

Get your first device reporting, put its readings on a dashboard, and create a response your team can use. You can let the [AI Assistant](/getting-started/let-ai-set-it-up) handle configuration with you, or follow the hands-on LoRaWAN walkthrough in this section.

The walkthrough explains each step from radio connection to a useful application. Other device protocols have their own starting points; choose the matching [connector](/connectors) when your project uses MQTT, MIOTY, or a tracker.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-988b95effffe48b2df420bf690f2d48b2ab68cbb%2Fsidebar-and-overview.jpg?alt=media" alt="The Kilo IoT Server sidebar beside the Overview page with its device and gateway counts, notifications and news"><figcaption></figcaption></figure>

**Start here if you would rather not do it by hand.** [Let AI Set It Up for You](/getting-started/let-ai-set-it-up) covers the two ways to have AI do the setup work — the assistant built into Kilo, or the AI client you already use connected over MCP — and what each one will and will not do on its own. For many people that is the shortest route to a working deployment; the manual walkthrough below is still here whenever you want to understand the mechanics.

## What's in this section

| Page                                                                  | What you'll learn                                                                                                       |
| --------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- |
| [Let AI Set It Up for You](/getting-started/let-ai-set-it-up)         | Have the built-in assistant or your own AI client register devices, write the automation and configure alarms with you  |
| [Navigating the Interface](/getting-started/navigating-the-interface) | A walkthrough of every section of the dashboard — sidebar, user menu, overview page, themes, and language               |
| [Your First Deployment](/getting-started/your-first-deployment)       | A LoRaWAN quickstart: register a gateway, set up an LNS connector, add a device, build a dashboard, and set up an alarm |

## Prerequisites

* A Kilo IoT account (cloud or on-premise)
* A modern web browser (Chrome, Firefox, Safari, Edge)

**Hardware is optional.** The [Emulator connector](/connectors/emulator-connector) creates devices that generate their own telemetry from real device presets, so you can build and test an entire deployment — dashboards, rules, escalating alarms — before any hardware arrives, then switch those same devices to a real connector when it does and keep everything you built.

To follow the hands-on LoRaWAN guide with real equipment you will want a LoRaWAN gateway and at least one sensor with its Device EUI and AppKey. Without them, use the Emulator and the guide still works end to end.

## The LoRaWAN quick-start flow

The typical LoRaWAN path from zero to a working deployment follows these steps:

```
Create account → Deploy gateway → Set up connector → Register device → View telemetry → Build dashboard → Set up alarm
```

Not every Kilo deployment begins with a gateway. LoRaWAN does. Direct integrations can start at the connector and device-modeling steps instead.

Each step builds on the previous one. In the LoRaWAN journey, the gateway provides network coverage, the device sends data through that gateway, the dashboard visualizes the data, and alert rules monitor it for conditions that need your attention.

The [Your First Deployment](/getting-started/your-first-deployment) guide walks through this entire sequence.

## After the basics

Once you have live data, integrate Kilo with your own systems through the [API](/api) — REST for standard integrations, and gRPC for typed, service-to-service, and on-premise/industrial automation.

## Start with an existing camera

For a video deployment, follow [Installing Twin](/lens/installing-twin) and [Connecting a Camera](/lens/connecting-a-camera). Each camera uses its own local Twin container; no LoRaWAN gateway is involved in this path.


# Let AI Set It Up for You

The Kilo AI Assistant sets up devices, rules, alarms, and dashboards, or you can connect your own AI client.

Start your Kilo project with an experienced integrator by your side: the **AI Assistant**. Describe the result you want, and it helps work through protocols, device compatibility, and connection details, then carries out the platform setup. It can add devices, map their readings, configure alarms, and build and deploy the automation around them.

Bring your account and the details of the equipment you want to connect. The assistant asks for missing identifiers and settings, carries out the setup, and lets you refine it in conversation. If hardware is still on order, ask it to create an [emulated device](/connectors/emulator-connector) and send a test reading so you can begin building now.

Use the built-in assistant or connect your preferred AI client through MCP. Both give you access to platform operations; the confirmation experience differs between clients, as explained below.

## Two ways to let AI do the work

There are two routes, and they are genuinely different. Pick either, or use both.

|                                           | **Built-in AI Assistant**                                                                                                                                                                                                                                                   | **Your own AI client (MCP)**                                                                                                                                                                                                                                                                         |
| ----------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Where it runs                             | Inside Kilo, under **AI Chat** in the sidebar                                                                                                                                                                                                                               | In the app you already use — Claude Code, Claude Desktop, ChatGPT, Codex, Cursor                                                                                                                                                                                                                     |
| Setup needed                              | None. It is part of the platform                                                                                                                                                                                                                                            | Connect once over [MCP](/api/mcp-server) and sign in with your normal Kilo account                                                                                                                                                                                                                   |
| What it can do                            | Provision devices, create connections and dashboards, author and deploy rules including their CEL, test sample readings, configure alarms with escalation, run saved device commands, set up emulated devices, manage team access, recommend hardware, and analyze readings | The same operations, exposed as MCP tools, against the same deployment                                                                                                                                                                                                                               |
| Permissions                               | Inherits your exact permissions and organization                                                                                                                                                                                                                            | Identical — the connection carries your own account's permissions                                                                                                                                                                                                                                    |
| Confirmation before consequential actions | **Enforced by the assistant.** Destructive or hard-to-reverse actions surface an explicit **Confirm Action** / **Cancel** and do not proceed until you approve                                                                                                              | **Depends on your client.** Kilo marks destructive tools with the standard MCP annotations and states the requirement in the tool description; compatible clients show an approval prompt. Annotations are hints to the host application, not something Kilo can enforce inside third-party software |
| Best for                                  | Getting set up, day-to-day operation, anyone who wants the platform to walk them through it                                                                                                                                                                                 | Working across your own tooling, scripting, or staying in the editor you already have open                                                                                                                                                                                                           |

The confirmation row is the one real difference, and it is worth reading twice. Inside Kilo, the gate is ours and it holds. Through an external client, the gate belongs to that client.

What is enforced in **both** cases: the connection can only ever read and change what your own permissions allow, it stays inside your current organization, a device command must already exist on that device before it can be run, and every dispatch is recorded.

## Route 1 — the built-in assistant

Open **AI Chat** in the sidebar and describe what you want. Name the equipment, the outcome, and who should receive any alerts:

* *"Register this LoRaWAN sensor — here is the DevEUI and AppKey."*
* *"Create a rule that alerts the facilities team when the cold-room sensor reports above −18 °C."*
* *"Create a test device that behaves like a Dragino distance sensor so I can build the dashboard now."*

It will show you what it is about to change and wait for your approval before anything consequential happens. See [Building With the Assistant](/ai-assistant/building-with-ai) for what it can do and where its limits are.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-5d360ebd1f4608addcd5f475e2028ac895951211%2Fai-chat-home.jpg?alt=media" alt="The Kilo IoT AI assistant ready to help set up automations, devices, and alerts"><figcaption><p>The built-in assistant, ready to do setup work with you</p></figcaption></figure>

## Route 2 — connect the AI client you already use

If you already work in Claude, ChatGPT, Cursor or Codex, point it at your Kilo organization over MCP and it can operate the same deployment from there. You sign in through the browser with your normal account — there is no API key to mint or paste.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-c76dbc8c4ecd947cc8440377d59be70c5367d640%2Fmcp-claude-session.jpg?alt=media" alt="A Claude Code session connected to Kilo over MCP, calling a real tool and asking for permission before continuing"><figcaption><p>An authenticated Claude Code session discovering a LoRaWAN connection on a live deployment, and asking permission before it continues</p></figcaption></figure>

Setup instructions for each client are in [MCP Server](/api/mcp-server).

## When to do it by hand instead

Saved triggers are a separate monitoring configuration: the assistant can explain them, but cannot currently save or edit them in chat. Use [Rules Engine → Triggers](/rules-engine/triggers), then connect the trigger to its responding rule. Add widgets and configure their readings in the [widget editor](/dashboards/adding-widgets); the assistant can create dashboards and update their layout.

Doing it manually is still worth your time when you want to understand the mechanics, when you are debugging something specific, or when you simply prefer the forms. Nothing is hidden from you: everything the AI does is an ordinary platform action you could have performed yourself, and it shows up in the same places.

[Navigating the Interface](/getting-started/navigating-the-interface) tours the platform, and [Your First Deployment](/getting-started/your-first-deployment) walks the full LoRaWAN path from gateway to live dashboard.


# Navigating the Interface

Tour every section of Kilo IoT Server — sidebar, overview, themes, and language — to know where each feature lives.

This page walks through every section of the Kilo IoT dashboard so you know exactly where to find each feature.

## The sidebar

The left sidebar is your primary navigation. It contains all major sections of the server, organized from top to bottom.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-988b95effffe48b2df420bf690f2d48b2ab68cbb%2Fsidebar-and-overview.jpg?alt=media" alt="The Kilo IoT Server sidebar beside the Overview page with its device and gateway counts, notifications and news"><figcaption></figcaption></figure>

The sidebar can be collapsed to show only icons — hover over the logo area at the top and click the double-chevron that appears. Click it again to expand. In collapsed mode, the navigation takes minimal screen space while remaining accessible. This is particularly useful when viewing dashboards on operations center displays, wall-mounted monitors, or any screen where the data should take priority over navigation.

### Main sections

* **Overview** — Your landing page after login. Summary cards showing device and gateway counts with status indicators, and recent alarms.
* **Dashboards** — Custom dashboards organized in a folder hierarchy. Create operational views combining widgets from any device and parameter. Dashboards can be grouped by site, building, floor, or any structure that fits your deployment.
* **Connectors** — Establish protocol-level connections between your infrastructure and the server. Connector types: **LNS** (LoRaWAN), **Tracker** (vehicle trackers — OBD2, CAN bus, standalone GPS), and **MQTT** (direct MQTT device connections using your own broker or the built-in cloud broker). Opening a connector shows what it is and how it is doing — type, creation date, connected device count and when data last arrived; MQTT connectors add **Settings** and **Diagnostics** tabs. Gateways and devices are managed from their own sidebar sections. Devices are registered through the device management dialog.
* **Devices** — View all registered devices across all connectors. Browse and search. Click any device to view or edit its details.
* **Gateways** — All LoRaWAN gateways connected to your account (Basics Station protocol required for secure TLS connectivity). Check online/offline status, view availability and traffic statistics, register new gateways, and manage firmware updates.
* **Alarm** — The alarm management center, with three tabs:
  * **Inbox** — View and manage triggered alarms. Each alarm shows severity (Critical, High, Medium, Low, or Info), status (active or resolved), the triggering device and rule, and timestamps. Filter by severity and status, search through history, and resolve incidents.
  * **Alarm definitions** — Create and manage alarm rule definitions. Each rule includes a name, notification message, severity level, and escalation steps — configurable chains of recipients and channels with time-based delays between steps. Rules also support suppression windows to prevent duplicate notifications.
  * **Settings** — Configure notification severity behavior and delivery preferences.
  * The header also provides a **Notification Severity** button for configuring severity-level policies and an **Add alarm rule** button for quick rule creation.
* **Rules engine** — Build automation rules using a visual drag-and-drop canvas. Define conditions with CEL expressions, configure actions, and manage rule versions.
* **Reports** — Operational reporting and compliance tools.
  * **Audit Trail** — A searchable log of membership and access events in your organization: user invitations, acceptances, permission changes, and removals. Filter by actor, event type, and date range.

### Settings

Click **Settings** in the sidebar to expand the settings submenu:

* **Profile settings** — Edit your display name, email, and profile photo. Change your password or delete your account.
* **Locations** — Create a hierarchy of locations and sublocations (e.g., sites, buildings, floors, zones) to organize devices spatially.
* **Device sharing** — View which devices you've shared with other users and manage sharing permissions.
* **API Keys** — Create, manage, and rotate API keys for integrating external systems with the server. Each key has scoped permissions (e.g., devices read, devices write), an optional expiration date, and a visible status (active, rotated, revoked).
* **New device request** — When you're adding a device and your model isn't in the list, choose **New device request** to ask the team to add support. Describe the device — **Brand**, **Model**, **Band**, and, if you have them, a **Documentation link** and **Codec link or code** — then click **Send request**; you'll get a confirmation that the request was sent.
* **Changelog** — Opens an external page with recent platform updates and release notes.

### Bottom of the sidebar

* **Get Help** — Opens a support request form where you can describe your issue, enter your email, and submit a ticket directly to the support team.
* **Docs** — Links to this documentation site.

### Collapsing the sidebar

The sidebar can be collapsed to a narrow icon strip to free up screen space. Hover over the collapsed sidebar to temporarily expand it, or click the collapse control to toggle between expanded and collapsed states.

## The user menu

Click your **avatar or name** at the bottom-left of the sidebar to open the user menu. This dropdown provides access to several areas that are not in the sidebar:

* **Language selector** — Switch between English, German, French, Spanish, and Portuguese. The change is immediate and persists across sessions.
* **Theme toggle** — Switch between light and dark mode. Dark mode is well-suited for control rooms and low-light environments.
* **Subscription** — View your current plan, device and rule usage against plan limits, and billing details. Upgrade or manage your subscription through Stripe.
* **Users** — Manage organization members, invitations, permissions, and access control.
* **Organization settings** — Configure the current organization's name, transfer ownership, and manage admin contacts.
* **Logout** — End your session.

### Organization switching

If you belong to multiple organizations, the user menu shows all organizations you're a member of. Select a different organization to switch your entire working context — devices, rules, dashboards, users, and billing all change to reflect the selected organization. Each organization is fully isolated.

## The notification bell

On desktop, a **notification bell icon** appears near your user avatar. It displays a badge with the count of unread alarms. Clicking it toggles an alarm sidebar that shows recent alarms without leaving your current page.

## The Overview page

The Overview page — labeled **"My board"** in the interface — is your landing page after login.

### Summary cards

A horizontal row of cards across the top shows:

* **Devices** — Total device count, with a warning if any device has not reported within its expected Data sending interval (or has never reported at all). Clicking the card navigates to the Devices page.
* **Gateways** — Total gateway count with online/offline indicators. Clicking the card navigates to the Gateways page.

### Recent alarms

The right panel shows recent unread alarms. Each entry shows the alarm message, associated device, and timestamp. You can mark all as read, or click an alarm for full details. New alarms appear in real time.

### Live data indicator

A **Live Data** indicator in the header confirms the Overview is receiving real-time updates. A manual refresh button is also available.

## Managing devices

Devices are added from the **Devices** page, or from the **+ Add device** button on a connector row. Adding a new device opens a registration dialog where you enter a name and click Save.

Clicking on an existing device on the **Devices** page opens the device detail page, where you can view and edit all device properties across four tabs:

* **Device Info** — Device name, photos, and basic identification.
* **Connection** — Connector selection, Device EUI or Unique ID, device profile template (brand, model, band, device class), or manual credentials (Device EUI, AppKey).
* **Mapping** — Sensor templates attached to the device, defining what parameters it reports and how they're measured.
* **Logs** — Device activity and event history.

## Gateway detail pages

Clicking a gateway in the Gateways list opens its detail page with two tabs:

* **Overview** — Gateway status, availability percentage, ping statistics, traffic metrics, associated devices, location on map, and firmware update notifications.
* **Settings** — Edit gateway name, location, and configuration. Manage antenna settings and registration details.

## Applications and cameras

**Applications** groups the resources behind an operational use case. **Cameras** opens Lens, where compatible IP cameras provide live video and motion readings. Use Lens’s return control to go back to the platform navigation.


# Your First Deployment

LoRaWAN quickstart for Kilo IoT — register a gateway, set up LNS, add a sensor, build a dashboard, trigger an alarm.

This guide walks you through the simplest LoRaWAN path to getting live data flowing: register a gateway, set up an LNS connector, add a sensor, view its data, build a dashboard, and set up an alarm. Not every Kilo deployment starts with a gateway, but this one does because it covers the LoRaWAN route. Each feature has its own dedicated section later in the documentation — here we're just covering the basics.

**What you'll need:**

* A Kilo IoT account
* A LoRaWAN gateway with its Gateway EUI
* A LoRaWAN sensor (e.g., a door sensor or temperature sensor) with its Device EUI and AppKey

**What you'll have at the end:**

* A gateway online and receiving traffic
* A connector linking your gateway to the server
* A device sending telemetry data
* A dashboard showing live sensor readings
* An alarm rule monitoring a condition and notifying you by email

***

## Step 1: Register a LoRaWAN gateway

The gateway is the radio receiver that picks up signals from your LoRaWAN sensors and forwards them to the server. You need at least one gateway online before any LoRaWAN device can communicate.

The server supports LoRaWAN gateways that use the **Basics Station** protocol. Basics Station connects over an encrypted TLS channel — unlike the legacy UDP Packet Forwarder — which is why the setup involves downloading security certificates. Most modern LoRaWAN gateways support Basics Station; check your gateway's specifications before purchasing.

1. Click **Gateways** in the left sidebar.
2. Click the **Add gateway** button in the top-right corner.
3. Enter a **name** for the gateway (e.g., "Warehouse A Gateway").
4. Select the **region** (frequency band) that matches your gateway hardware and deployment:
   * Usually this matches the band your gateway was sold or configured for
   * **EU868** for most deployments in Europe
   * **US915-0 / US915-1** for deployments in the United States, depending on the network plan
   * **EU433** only if your gateway hardware is specifically built or configured for 433 MHz
   * Other regions are available in the dropdown (AS923, AU915-0, IN865, KR920, RU864, etc.)
5. Enter the **Gateway EUI** — a 16-character identifier typically printed on a label on the gateway hardware.
6. Click **Next**.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-cccba3fa735b0b7059d41535700832fff4129996%2Fgateway-add-details.jpg?alt=media" alt="The Add gateway form with the name, region and Gateway EUI fields"><figcaption></figcaption></figure>

### Download certificates and configure your gateway

After submitting the gateway details, the next screen shows:

7. The **LNS address** — this is the server URL your gateway needs to connect to. Click the **copy icon** to copy it to your clipboard.
8. A **Download certs.zip** button — click it to download the certificate bundle that authenticates your gateway's connection.
9. Click **Continue**.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-c04852eb2f10b31689b2c412dd411808d9c7c85d%2Fgateway-add-lns-certs.jpg?alt=media" alt="The gateway setup step showing the LNS address with a copy control and the Download certs.zip button"><figcaption></figcaption></figure>

Now open your gateway's management interface and configure it with:

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

Depending on the gateway model, this may be a local web interface, a device IP on your network, or a vendor-managed portal. The exact configuration steps depend on your gateway model — refer to the manufacturer's documentation. Once the gateway connects, its status in the Gateways list will change to **online**. This may take a couple of minutes.

> **Tip:** For initial testing, place the gateway and sensor within the same building. LoRaWAN signal covers 2–5 km in urban environments and up to 15 km in open areas.

***

## Step 2: Set up an LNS connector

Before adding devices, you need a connector. A connector establishes the protocol-level connection that enables the server to accept data from a specific device type.

1. Click **Connectors** in the left sidebar.
2. Click **Add connector** (or the **Add connector** button on the empty state).
3. In the dialog, select **LNS** from the **Connector type** dropdown.
4. Click **Add**.

The LNS connector is created and appears in your connectors table. No additional configuration is needed — the server handles the LoRaWAN network integration automatically.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-417361c33db85f2682f626469e11724907c9ec85%2Fconnector-lns-detail.jpg?alt=media" alt="The LNS connector page showing connector type, creation date, connected devices and last data received"><figcaption></figcaption></figure>

***

## Step 3: Add your first device

With the gateway online and the connector in place, you can register your first device — creating a Digital Twin that tracks the physical sensor's state, readings, and history.

1. Click **Devices** in the left sidebar.
2. Click the **Add device** button in the top-right corner.

### Create the device profile

The dialog opens in Add mode, showing only the Device info section:

3. Enter a **device name** (e.g., "Server Room Door Sensor").
4. Optionally, upload a **device photo** by dragging an image or clicking the upload area.
5. Click **Save**.

The device profile is created and the form switches to edit mode, with the **Device info**, **Connection**, **Mapping** and **Logs** tabs all available.

### Configure the connection

6. Click the **Connection** tab.
7. Select your **connector** from the dropdown — it lists your organization's connectors by name and type.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-0b1b2e7c7299f6756315a0c0b160108d1f843f07%2Fdevice-connector-type-list.jpg?alt=media" alt="The Connection tab of a device with the connector type dropdown open, listing the organization&#x27;s connectors by name and type"><figcaption></figcaption></figure>

8. Under **"Use device profile templates"**, check the box if your device brand and model are in the catalog:
   * Select the **Brand** (e.g., Dragino, Milesight, Browan).
   * Select the **Model** — the list filters based on brand.
   * The **Profile** (band and device class) populates automatically from the template.
9. If your device is not in the catalog, leave the checkbox unchecked and enter credentials manually:
   * **Device EUI** — 16 hexadecimal characters, typically printed on the device.
   * **AppKey** — 32 hexadecimal characters, provided with the device.
10. Optionally, click the **Mapping** tab to select sensor templates that define what parameters the device reports.
11. Click **Save**.

The device appears in the Devices list. Once it performs a LoRaWAN join through your gateway (which may take a few seconds to a few minutes depending on the device's transmission interval), its data will begin flowing into the server.

***

## Step 4: View your data

Once the device has sent its first reading:

1. Click a **device row** on the **Devices** page in the sidebar.
2. The device detail page opens. Click the **Mapping** tab to see sensor data.
3. The Mapping tab shows the sensor templates attached to the device and their current readings.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-d1e5984730ef2e9390ddbd6168b27ccc6492e734%2Fdevice-mapping-tab.jpg?alt=media" alt="The device Mapping tab listing each device data key with its latest value, normalized key, type and data type"><figcaption></figcaption></figure>

You can also view device data through the **Dashboards** section by adding widgets — which is what we'll do next.

***

## Step 5: Build a dashboard

Dashboards let you combine data from multiple devices onto a single screen.

1. Click **Dashboards** in the left sidebar.
2. Click **Add dashboard**.
3. In the modal:
   * Choose an **icon** for the dashboard (default is a home icon).
   * Enter a **name** (e.g., "Server Room Monitoring").
   * Optionally select a **folder** to organize it, or leave it at the top level.
   * Optionally add a **description**.
4. Click **Save**.

### Adding a widget

5. On the new dashboard, click **Add widget**.
6. **Step 1 — Choose a device:** Select the device you want to display data from.
7. **Step 2 — Choose a metric:** Select which parameter to show (e.g., door status, temperature, battery). A live preview of the widget appears so you can see how it will look.
8. Click **Choose** to add it to the dashboard.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-a458c5d7c4f55d3ffc57b7b54ce6ecb05199616c%2Fdashboard-widget-picker.jpg?alt=media" alt="The Add widget dialog listing the available widget types"><figcaption></figcaption></figure>

Repeat to add more widgets for different devices or parameters. You can **drag** widgets to reposition them and **resize** them by pulling their edges.

***

## Step 6: Set up an alarm

Now let's have the server notify you when something needs attention — for example, when a door opens.

1. Click **Alarm** in the left sidebar.
2. Click the **Add alarm rule** button in the top-right corner.
3. In the alarm rule modal, fill in:
   * **Alarm name** — A descriptive label (e.g., "Server Room Door Opened").
   * **Severity** — Choose from **Critical**, **High**, **Medium**, **Low**, or **Info** depending on urgency.
   * **Theme** — The subject line for the notification (e.g., "Door Open Alert").
   * **Message body** — The message content (e.g., "The server room door has been opened.").

### Configure escalation

4. Under **Escalation chain**, click **Add step** to create the first step.
   * Choose who to notify under **Notify**, and the delivery channel under **Via** (Email is the default; SMS and Push are also available if configured).
   * Add further steps to define what happens if the alarm isn't acknowledged — for example, notify a second person after a delay.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-c5330f2fac2f974f23a6fe9745a1c9bb48c815e6%2Falarm-escalation-chain.jpg?alt=media" alt="The Escalation chain section of an alarm definition with an Immediate step, its Notify recipients dropdown and Via channel, and the Add step control"><figcaption></figcaption></figure>

5. Click **Save**.

The alarm rule is now active. When the condition is met, an alarm appears in **Alarm → Inbox** and a notification is sent through the configured channels.

***

## What's next

You now have the basics in place for a LoRaWAN deployment: a gateway providing coverage, a connector linking the network, a device reporting data, a dashboard for visualization, and an alarm rule for monitoring.

From here, you can:

* **Add more devices** — Register additional sensors through your LNS connector, set up a Tracker connector for vehicle trackers, or use the MQTT connector for PLCs, energy meters, and any MQTT-capable hardware
* **Build complex automations** — Explore the Rules Engine with CEL expressions, decision tables, and multi-device rules
* **Invite team members** — Set up Organizations and Access Control for multi-user collaboration
* **Integrate with external systems** — Generate API keys for programmatic access


# Applications

Not sure what you can automate? Preview a ready-made Kilo solution, install it, see how it works, then buy the devices and swap them in.

Not sure what you can automate with Kilo, or where to even start? That is what solutions are for.

Open **Applications** in the left sidebar, then the **Solutions** tab. You see what we have prepared for you: monitoring leaks in a building, security monitoring with video cameras, asset tracking, people counting in a store or a mall, and more. We add new ones with every release.

Every one of these normally comes with a lot of setup. Dashboards to configure, rules to set, alerts to define, devices to add. If you don't even know what can be automated, that can feel intimidating.

So we did it for you. Select **Preview** on a solution, then **Use this solution**, then **Install solution** on the next screen. The solution lands in your workspace (your organization in Kilo) with emulator devices, which are sample devices that send realistic readings. You see what the dashboards will look like, how the rules are configured, and how the alerts work. Everything is already set up, and you can still change all of it to your liking. Alarms notify you by default; add colleagues or other ways to be notified (email, SMS, push) before you rely on them. Because you start from something that works, you quickly learn how it all fits together and where everything is.

Then you think, "This is exactly what I need." The solution even tells you which devices to buy. Order them, and when they arrive, swap the emulator devices for the real ones. You can do the swap yourself, or ask [Kilo's AI chat](/ai-assistant) to connect them for you. You only need each device's identifiers, which are usually printed on its label or in its manual (a device ID such as an EUI, or a topic). Once they are in, your use case runs on real data. [How do I swap the emulator for real devices?](/applications/swapping-the-emulator-for-real-devices)

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-b662131d1056e3be892a72b1ca562a004c816f8c%2Fkilo-solutions-catalog.jpg?alt=media" alt="The Kilo Solutions tab with six solution cards: Fire &#x26; Gas Safety, Smart Building, Cold Chain, Water &#x26; Leak, Energy monitoring, and Asset tracking, each showing counts of virtual devices, rules, widgets, and alarms"><figcaption><p>Each solution card shows what an install will create.</p></figcaption></figure>

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

A **solution** is the ready-made template Kilo prepared. An **application** is what you get in your workspace after you install it, with its devices, dashboards, rules, and alarms together in one place. You can also create your own applications from scratch. Once a solution is installed it is an ordinary application, and you can change anything in it. [What are solutions and applications in more detail?](/applications/what-are-solutions-and-applications)

## What do the words in Kilo mean?

* **Dashboard:** a screen of live charts and numbers.
* **Device:** a sensor or other piece of hardware that sends readings to Kilo.
* **Emulator device:** a sample device that sends realistic readings. Some screens call it a virtual device.
* **Rule:** an instruction that reacts to readings, for example "if it gets too warm, raise an alarm".
* **Alarm:** the notification that tells you something needs attention. A rule decides when it fires.
* **Connector:** the link that brings a real device's readings into Kilo, for example LoRaWAN or MQTT.
* **Organization:** your Kilo workspace.

## How do I get started?

1. Open **Applications** in the left sidebar and stay on the **Solutions** tab.
2. [Browse and preview](/applications/browsing-and-previewing-solutions) the solutions until one looks like your problem.
3. [Install it](/applications/installing-a-solution): select **Preview**, then **Use this solution**, then **Install solution**. The install screen shows what will be created and which devices you need.
4. Buy those devices. When they arrive, [swap the emulator devices for the real ones](/applications/swapping-the-emulator-for-real-devices).

## Where do I find each part?

| You want to                                                  | Go to                                                                                                |
| ------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------- |
| Get the vocabulary straight: application, solution, use case | [What are solutions and applications in Kilo?](/applications/what-are-solutions-and-applications)    |
| Look through ready-made solutions                            | [How do I browse and preview solutions?](/applications/browsing-and-previewing-solutions)            |
| Put a solution to work                                       | [How do I install a solution?](/applications/installing-a-solution)                                  |
| Learn every part of the My applications tab                  | [How do I use the My applications tab?](/applications/my-applications-tab)                           |
| Replace virtual devices with your own                        | [How do I swap the Emulator for real devices?](/applications/swapping-the-emulator-for-real-devices) |
| Learn why Kilo can be both flexible and easy                 | [Is Kilo powerful and easy to use?](/applications/why-kilo-is-powerful-and-easy)                     |
| Create your own application                                  | [How do I create an application in Kilo?](/applications/creating-an-application)                     |
| Remove an application                                        | [What happens when I delete an application?](/applications/deleting-an-application)                  |

**For the team that publishes the catalog**

| You want to                                          | Go to                                                               |
| ---------------------------------------------------- | ------------------------------------------------------------------- |
| See how a solution is published to the catalog       | [How do I publish a solution?](/applications/publishing-a-solution) |
| Understand how problems and industries are organized | [What are use cases in Kilo?](/applications/use-cases)              |

## Can I build my own application?

Yes. Maybe none of the solutions fits, or you already have devices and want everything for one job in one place. This takes more work than installing a solution. If you are new, install one first and look at how it is set up.

1. [Create an application](/applications/creating-an-application) and give it a name, such as Building Monitoring.
2. Set up its devices, dashboards, rules, and alarms the way you normally do.
3. [Add them to the application](/applications/organizing-content) with each item's **Application** field.
4. Open **Applications → My applications**, select your application, and use **Dashboard** for its views or **Content** for the devices, rules, and alarms behind them. A new application is empty until you add things to it.

An application can have several dashboards; see [Using Application Dashboards](/applications/using-application-dashboards). Applications belong to your current organization. You still need the right permissions to see or change what is inside, and adding something to an application gives nobody extra access.

Before you delete an application, read [Deleting an Application](/applications/deleting-an-application): deleting it also deletes what is inside.

If you do not see **Applications** in the sidebar, your plan may not include it; see [Subscription](/settings/subscription).


# What Are Solutions and Applications?

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

Three words come up all the time in Kilo: solution, application, and use case. They sound alike, but each one means something different. Here they are in plain words.

## What is a solution?

A **solution** is a ready-made setup that Kilo prepared for one specific problem, like monitoring leaks in a building or counting people in a store. It already has the devices, dashboard, rules, and alerts a person would otherwise have to configure by hand. You find solutions on the **Solutions** tab, look at them, and install the ones you like.

## What is an application?

An **application** is what you have in your workspace after you install a solution: its devices, dashboards, rules, and alerts, all together in one place, working. You can also create an application yourself and fill it with your own devices and dashboards. Either way, it is yours to change.

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

Think of a recipe and the dish you cook from it. The solution is the recipe, and the application is your dish. You choose a recipe, press **Install solution**, and get a dish of your own.

* **After you install, they are the same kind of thing.** An application you built by hand and one you installed from a solution work the same way. The installed one was just set up for you, and it keeps its emulator devices until you swap them for real ones.

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

Everything lives on one page. In the left sidebar, select **Applications**. The page is titled **Applications and solutions**, and a row of tabs sits directly under the title.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-b662131d1056e3be892a72b1ca562a004c816f8c%2Fkilo-solutions-catalog.jpg?alt=media" alt="The Applications page in Kilo on the Solutions tab, with six solution cards: Fire &#x26; Gas Safety, Smart Building, Cold Chain, Water &#x26; Leak, Energy monitoring, and Asset tracking below an intro paragraph"><figcaption><p>The Applications and solutions page, opened on the Solutions tab of a demo organization. The left sidebar shows the Applications item selected.</p></figcaption></figure>

| Tab                 | What it is for                                                                                | Who sees it                                                       |
| ------------------- | --------------------------------------------------------------------------------------------- | ----------------------------------------------------------------- |
| **Solutions**       | The catalog of ready-made solutions provided by Kilo. You preview them and install them here. | Every organization member whose plan includes Applications.       |
| **My applications** | Every application in your organization, both the ones you built and the ones you installed.   | Every organization member whose plan includes Applications.       |
| **Use cases**       | The list of problems a solution can address, with industries.                                 | Only Kilo, which prepares the catalog. You will not see this tab. |

Each tab has its own guide:

* [How do I browse and preview solutions?](/applications/browsing-and-previewing-solutions)
* [How do I install a solution?](/applications/installing-a-solution)
* [How do I use the My applications tab?](/applications/my-applications-tab)

## Who can do what?

| Role                                               | What they can do                                                                                       |
| -------------------------------------------------- | ------------------------------------------------------------------------------------------------------ |
| Any organization member with the right permissions | Create their own applications. Browse the solutions in the catalog, preview them, and install them.    |
| Kilo (the organization that publishes the catalog) | Everything above, plus publish an application as a solution, update the publication, and unpublish it. |

Kilo prepares and publishes the solutions in the catalog, so you install solutions and do not publish them. Each solution is a complete, ready-made application for one use case, for example leak protection or tank level monitoring. New solutions are added with every release.

## What is a use case?

A **use case** is the label of the problem a solution solves, such as leak protection, tank level monitoring, or energy saving. One solution can have several use cases, and the same use case can appear in many solutions. For example, the Building Monitoring solution and the IP500 demo Smart Office solution can both cover building problems. Solution cards show a name, a description, and four counters, not the use case labels. Kilo uses use cases to organize the catalog. See [What are use cases in Kilo?](/applications/use-cases).

## What is inside a solution?

| Part            | What you get when you install it                                                                                                                |
| --------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- |
| Virtual devices | Sample devices that send realistic readings, so the dashboard has something to show right away. In this guide they are called emulator devices. |
| Rules           | Instructions that react to the readings, for example "if it gets too warm, raise an alarm". They are already running.                           |
| Alarms          | Notifications that tell you when something needs attention, set up so that you are the person who is notified.                                  |
| Dashboards      | A ready-made dashboard whose charts and controls are already connected to the devices.                                                          |

## What happens if a solution is removed or I delete my application?

* **Unpublishing is safe.** If a solution is withdrawn from the catalog, it disappears from the list, but the applications people already installed keep working.
* **Deleting your application is safe for the catalog.** It removes only your copy and never the solution in the catalog. It does remove what is inside your copy; see [What happens when I delete an application?](/applications/deleting-an-application)

If you do not see **Applications** in the sidebar, your plan may not include it; see [Subscription](/settings/subscription).

Next: [browse and preview solutions](/applications/browsing-and-previewing-solutions).


# Browse and Preview Solutions

Open the Solutions tab, read every card, and preview a live dashboard, devices, rules, and alarms before you install a Kilo solution.

A solution is a complete answer to one problem. Before you install anything, Kilo lets you walk through it: you see what it contains, you watch its dashboard with live data, and you read the explanation that comes with it. This guide shows each screen in the order you meet it.

## How do I open the Solutions tab?

1. In the left sidebar, select **Applications**.
2. Under the page title **Applications and solutions**, select the **Solutions** tab (it is the first tab).

The tab opens with a heading, **Solutions**, and an introduction: ready-made solutions from Kilo, each with emulator devices, rules, alarms, and a ready-made dashboard. The emulator devices send sample readings, so the dashboard is live the moment you install, with no hardware required. Installed solutions land in **Applications**, where you swap the emulator devices for real ones (LoRaWAN, MIOTY, MQTT, or Traccar) to go live.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-b662131d1056e3be892a72b1ca562a004c816f8c%2Fkilo-solutions-catalog.jpg?alt=media" alt="The Solutions tab with six solution cards: Fire &#x26; Gas Safety, Smart Building, Cold Chain, Water &#x26; Leak, Energy monitoring, and Asset tracking, each with a photo, counters, and a Preview button"><figcaption><p>Example solution cards on the Solutions tab.</p></figcaption></figure>

## What is on a solution card?

Every card has the same parts, so you can compare solutions at a glance:

* **Photo.** The picture chosen for the solution.
* **Name and description.** The name is the problem or setting the solution addresses. The description is a one-line summary of the use case.
* **Four counters.** **Virtual devices**, **rules**, **widgets**, and **alarms**. They tell you how big the install will be before you open anything. (The card calls them virtual devices; this guide calls them emulator devices.)
* **Preview.** The button at the bottom of the card. It opens the solution without installing anything.

If no solutions are available yet, the tab says **Your provider has not published any solutions yet**. If the catalog cannot be loaded, you see **Couldn't load the solution catalog**.

## How do I preview a solution?

Select **Preview** on a card. The preview page has a header and two tabs.

The header contains a back arrow (it returns you to the catalog), the solution name with its description, and a **Use this solution** button on the right. That button continues to [the install screen](/applications/installing-a-solution); previewing never creates anything.

### What does the Dashboard tab show?

**Dashboard** is the first tab. It shows the solution's ready-made dashboard with live data. This is not a screenshot: the emulator devices are running, so the gauges move and the charts draw.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-b08600e4b29426189872d957cae27a939bc529f5%2Fkilo-solutions-preview-dashboard.jpg?alt=media" alt="The Building Monitoring preview on the Dashboard tab with an Indoor CO2 gauge, an Air Quality Trend chart, a Site Devices card, and a text widget naming a motion monitoring rule"><figcaption><p>The Dashboard tab of the Building Monitoring preview, with live values from a virtual device.</p></figcaption></figure>

Some solutions use the [Digital Building Twin](/dashboards/adding-widgets/digital-building-twin), a 3D model of your building with live readings placed on it. This smart-office preview is a 3D floor plan with live labels placed on the rooms, and a small set of arrows in the lower-right corner of the view lets you move around the plan.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-b71bf0fc23cab584a3dfd13d0d53deb1fc5a4155%2Fkilo-solutions-preview-3d-office.jpg?alt=media" alt="The IP500 demo Smart Office preview showing a 3D office floor plan with colored rooms and labels such as air_temperature and door_open"><figcaption><p>A solution can include a 3D floor plan with live readings. In this demo, some labels have values and others show a dash until their device reports.</p></figcaption></figure>

### What does the Content tab show?

**Content** explains the solution in words and lists every part of it. Read it from top to bottom:

* **About.** A card with the solution name and its explanatory text. It has two columns: **Who it's for** and **How it works right now**.
* **Virtual devices.** Each device with its name, an optional model, and an **Emulator** badge that shows it sends sample readings.
* **Rules.** The rules the solution sets up, with a one-line explanation of each.
* **Alarms.** The notifications, each with a severity label such as **Critical** or **Low**.
* **Emulator.** A card that explains how the sample devices work and how to swap to real ones later.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-0bff76fc61aaab9bc4b6aa0c94d5fd3361bff651%2Fkilo-solutions-preview-content.jpg?alt=media" alt="The Content tab of the Building Monitoring preview with an About card, two virtual devices with Emulator badges, a Rules card, an Alarms card, and an Emulator card"><figcaption><p>The Content tab of the Building Monitoring preview. A solution normally includes an About text that explains it.</p></figcaption></figure>

A solution normally includes an About text. Here is a smart-office demo that includes an installation checklist in **How it works right now**:

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-d1c2da4e1d7f4dd09a06cfefcc315c2d6af84e98%2Fkilo-solutions-preview-ip500-content.jpg?alt=media" alt="The Content tab of the IP500 demo Smart Office preview with About, Who it&#x27;s for, and an installation checklist, followed by five virtual devices, one rule, and one critical alarm"><figcaption><p>A solution with filled-in About text and a mounting checklist for each real sensor.</p></figcaption></figure>

That checklist covers where to mount each real sensor and how to connect it. Read it before you swap anything to real hardware.

## What if the preview does not load?

* **Preview is unavailable right now.** The preview could not be loaded. Try again in a moment.
* **This solution has no dashboards to preview.** This solution does not include a dashboard. The Content tab still works.
* **Solution not found.** The solution may have been withdrawn from the catalog since you opened it. Go back to the catalog and pick another one.

When you are happy with what you see, select **Use this solution** and continue with [How do I install a solution?](/applications/installing-a-solution)


# Install a Solution

Step through the Kilo install screen, choose the 24-hour history option, and open your new application with devices, rules, and alarms running.

Installing a solution turns a ready-made application from the Kilo catalog into your own working application. It arrives already set up, so you do not set anything up first. If you like it, you buy the devices listed on the install screen and swap the emulator devices for them. Everything else is already in place. This guide walks through every element of the install screen and what happens after you press the button.

## How do I open the install screen?

1. In the left sidebar, select **Applications**, then the **Solutions** tab.
2. Select **Preview** on the solution you want.
3. Select **Use this solution** in the top-right corner of the preview.

The page title becomes **Install** followed by the solution name, with the solution's description under it. A back arrow returns you to the preview.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-007a532f69e5a8eeee0a86a291f658b4bc4b02d6%2Fkilo-solutions-install.jpg?alt=media" alt="The Install Building Monitoring screen with a What will be created card, a Devices card, a Data source card with a Backfill 24h of history toggle, and Cancel and Install solution buttons"><figcaption><p>The install screen for a demo solution. Backfill is switched on by default.</p></figcaption></figure>

## What does each card on the install screen mean?

* **What will be created.** Four tiles count what you will get: **Virtual devices** (the emulator devices that send sample readings), **rules** (instructions that react to readings), **alarm rules** (the alarms; with escalation, so if nobody reacts the alarm can repeat or go to someone else), and **widgets** (the charts and controls on the dashboard). Nothing is a surprise.
* **Devices.** The heading says: to run this application on real data later, you will need these devices. It lists each virtual device by name, so you can see which real devices you need to buy.
* **Data source: Emulator connector.** Explains that the emulator devices send realistic readings, so the dashboard goes live instantly with no hardware, and that you can swap any device to a real connector later.
* **The Backfill toggle.** A switch labeled **Backfill 24h of history, so charts aren't empty on first open**. It fills the charts with a day of made-up past readings so they are not empty. It is on by default. Switch it off if you want to start with empty charts.
* **The footnote.** Under the buttons, a line confirms that installing creates an application based on this solution.

### Should I leave the Backfill switch on?

Usually yes. The emulator devices send readings the moment they exist. With the switch on, Kilo also creates a day of made-up past readings, so trend charts have something to show on your first visit. Switch it off if you prefer charts that start from now. If the history cannot be generated, the install still succeeds; only the past readings are missing.

## What happens when I select Install solution?

Select **Install solution**. The button changes to **Installing…** and is disabled while Kilo works. Kilo creates the following, in your organization and in this order:

1. **An application** named and described after the solution.
2. **The emulator devices**, with their readings already mapped.
3. **The alarms**, with their escalation (if nobody reacts, an alarm can repeat or go to someone else).
4. **The rules**, switched on and running.
5. **The dashboards**, in a folder named after the application, with every widget connected to your new devices.

You get a complete application, not a to-do list. Select **Cancel** instead if you change your mind; nothing has been created at that point.

Installing runs in the background. You watch its progress on the install screen, where the button shows **Installing…**. If you leave the page, Kilo keeps track of the install in this browser. Come back to the install screen of the same solution and it picks the install up again. If it takes more than a minute and a half, you will 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 confirmation dialog appears with the solution name in quotes followed by "installed". It reads: the emulator devices, rules, alarms, and the dashboard are ready; the emulator devices are already sending readings, so open the dashboard to see it live.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-0c9dd3c84d41ac3d89b9195d2e3b9ae2f7979bf3%2Fkilo-solutions-install-success.jpg?alt=media" alt="The install screen dimmed behind a dialog with a green check, the message that Building Monitoring is installed, and a Go to application button"><figcaption><p>The confirmation dialog after a successful install in a demo organization.</p></figcaption></figure>

Select **Go to application**. You land on the new application's page, which opens on the **Dashboard** tab.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-11f1011992fb693b1fed0e4f7a9f785bdc05c986%2Fkilo-solutions-installed-dashboard.jpg?alt=media" alt="The new Building Monitoring application page with Dashboard and Content tabs, an Indoor CO2 gauge, an Air Quality Trend chart, Site Devices with Emulator badges, and a Publish application button"><figcaption><p>The freshly installed application. Values appear as the emulated devices report; the chart fills in as readings arrive.</p></figcaption></figure>

From now on it is a normal application under **Applications → My applications**, and the new dashboard also appears in the **Dashboards** section of the left sidebar, in a folder named after the application. To learn every part of this page, see [How do I use the My applications tab?](/applications/my-applications-tab)

## Who receives the alarms?

You do. Whatever recipients the solution was prepared with, the alarms in your copy are addressed to the person who installed it. Review them in [Alarm](/alarm) and add colleagues or channels before you rely on them.

## Why was my installation refused?

Kilo checks the installation against your plan before it creates anything, and it tells you what went wrong.

* **A plan limit.** A solution counts toward your devices, dashboards, and rules limits, just like things you create by hand. If the solution would exceed one, the install is refused with a message that names the limit, shown as **Installation failed** followed by the reason. Nothing is created. To check your limits, open **Settings → Subscription** in the sidebar ([Subscription](/settings/subscription)). Remove something you no longer need or upgrade your plan, then try again. Emulator devices count as devices, so a solution with many of them needs room for all of them.
* **Missing permissions.** You need permission to create each kind of item the solution contains (devices, dashboards, rules, alarms). The message names the missing one.
* **Another install is already running.** If the same solution is being installed in your organization, or an earlier attempt needs cleanup, you will see this message (the "operator" in it means Kilo support): *Another installation of this solution is already running in your organization, or a failed one needs an operator to clean it up before you can retry.* Use **Go to my applications** to check. If the message keeps showing up, contact Kilo support.
* **The catalog is being updated.** *The catalog is being updated — please retry in a minute.*
* **The install was canceled.** *Installation cancelled* followed by the reason, with a retry button.

If something fails halfway, Kilo removes what it had created, so you are not left with half an application. In the rare case that it cannot clean up, you will see *Installation failed and needs manual cleanup — contact Kilo support. This solution cannot be reinstalled from here.*

## What should I do after installing?

1. Open the dashboard and watch the emulator devices report.
2. Read the rule and alarm so you understand what the setup does. The **Content** tab of the application explains each one.
3. When your real sensors are ready, [swap the emulator devices for real ones](/applications/swapping-the-emulator-for-real-devices).

If you do not like the result, delete the application. Because an installed application is an ordinary application, [deleting it](/applications/deleting-an-application) never affects the solution in the catalog or anyone else's copy.


# Use the My Applications Tab

A tour of the My applications tab and the application page in Kilo: every column, button, tab, and card, plus how to create, edit, and delete an application.

**My applications** is home base for everything you run. It lists the applications you installed from solutions and the ones you built yourself, because Kilo treats them as the same thing. This guide describes every element of the list and of an application's own page.

## How do I open My applications?

1. In the left sidebar, select **Applications**.
2. Select the **My applications** tab (the second tab).

The heading is **Applications**, with the introduction: your applications are the solutions you installed and the ones you built yourself, each with its devices, rules, alarms, and dashboards, running in your organization.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-0722d837875a2bd26c32ce01db29f35c1f65dada%2Fkilo-solutions-my-applications.jpg?alt=media" alt="The My applications tab with a search box, a Status filter, a Create an application button, and a table of applications with Photo, Name, Description, Status, Dashboards, Devices, Rules, and Alarms columns"><figcaption><p>The My applications tab of a demo organization. This organization publishes the catalog (Kilo), so it also shows the Photo and Status columns.</p></figcaption></figure>

## What is in the application list?

Above the table:

* **Search.** Filters the list by name as you type.
* **Status: All.** A filter with the options **Status: All**, **Status: Published**, and **Status: Not published**. Only the organization that publishes the catalog sees this (that is Kilo).
* **Create an application.** The blue button in the top-right corner. See below.

The table columns:

| Column                                             | What it shows                                                                                                                                                                                                                                   |
| -------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Photo**                                          | The picture of the application, if one was added when publishing. Only the organization that publishes the catalog sees this (that is Kilo).                                                                                                    |
| **Name**                                           | The application name.                                                                                                                                                                                                                           |
| **Description**                                    | A short description of its purpose. A dash means none was written.                                                                                                                                                                              |
| **Status**                                         | Only the organization that publishes the catalog sees this (that is Kilo). **Published**, **Not published**, **Published in landing**, **Published in AI**, or **Published in landing & AI**. The last three describe where Kilo has listed it. |
| **Dashboards**, **Devices**, **Rules**, **Alarms** | How many of each the application holds.                                                                                                                                                                                                         |

At the end of each row are one or two icon buttons. The **arrow** opens the application. For the organization that publishes the catalog, the **gear** opens the publish dialog (**Publish application** for an unpublished application, **Update publication** for a published one); see [How do I publish a solution?](/applications/publishing-a-solution). Selecting anywhere else on the row also opens the application.

If your organization has no applications, the tab invites you to create your first one.

## How do I create an application?

1. On the **My applications** tab, select **Create an application**.
2. In the dialog, type an **Application name** (for example, Building Monitoring).
3. Optionally type a **Description**.
4. Select **Create application**. Select **Cancel** to close without creating.

The dialog explains the idea in one line: organize everything for one use case in one place, including devices, rules, alarms, and dashboards, and add or remove items anytime.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-1759c3d5d2e667b495998b0955264ed2f9c5835d%2Fkilo-solutions-create-application.jpg?alt=media" alt="The Create an application dialog over the My applications tab with fields for Application name and Description and Cancel and Create application buttons"><figcaption><p>The Create an application dialog. Only the name is needed to start.</p></figcaption></figure>

A new application is empty until you add things to it. Assign devices, dashboards, rules, and alarms to it using their **Application** field. See [Creating an Application](/applications/creating-an-application) and [Organizing Content](/applications/organizing-content).

## What is on an application's page?

Select an application to open it. The title reads \*\*Applications / \*\* followed by the name, with the description under it and a back arrow on the left. In the top-right corner you will find, depending on your role:

* **Publish application**, or **Unpublish** and **Update publication** for a published one. Only the organization that publishes the catalog sees these (that is Kilo).
* A **pencil** icon that opens the **Edit application** dialog.
* A **trash** icon that starts deletion.

Two tabs sit under the title: **Dashboard** and **Content**.

### What does the Dashboard tab show?

It shows the application's dashboards in one place. A chip row names each dashboard (here **Site Conditions**), and **Go to the dashboard** at the right opens the full dashboard. Every widget and device fed by the Emulator carries an **Emulator** badge, so you can always see what is still virtual.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-3ee467868273970bac96fe8e310979290c40987b%2Fkilo-solutions-application-detail.jpg?alt=media" alt="The Building Monitoring application page with Unpublish and Update publication buttons, a pencil icon, a trash icon, Dashboard and Content tabs, and widgets with Emulator badges"><figcaption><p>The page of a published application in a demo organization. Only the organization that publishes the catalog (Kilo) sees Unpublish and Update publication; other members do not.</p></figcaption></figure>

### What does the Content tab show?

**Content** lists everything behind the application, in cards you can open:

* **Devices**, with a count. Each row shows the device name, an **Emulator** badge if it is emulated, and an arrow that opens the device.
* **Dashboards**, with a count.
* **Rules**, with a count and a short explanation: rules are where the conditions live, and a rule can send a command back to a device and raise one or more alarms.
* **Alarms**, with a count and their severity label (for example **Low**). An alarm here is the notification, not the trigger; a rule raises it when its condition is met.
* **Emulator.** Shown only while the application holds at least one emulated device. Explains how virtual devices run on the Emulator connector, with a **Go to connectors** button for when you are ready to use real hardware. See [How do I swap the Emulator for real devices?](/applications/swapping-the-emulator-for-real-devices)

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-75943fce363735bc76d62f71aec258615496aa6d%2Fkilo-solutions-installed-content.jpg?alt=media" alt="The Content tab of an installed Building Monitoring application with cards for Devices, Dashboards, Emulator, Rules, and Alarms"><figcaption><p>The Content tab of an installed application in a demo organization.</p></figcaption></figure>

Counts show how many items are in each category. A **0** means it is empty. A dash means the count is unavailable, for example because you lack access to that category.

## How do I rename an application?

Select the **pencil** icon. The **Edit application** dialog shows the **Application name** and **Description**, with **Cancel** and **Save**.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-d58b9024cc70300d4363c8cb08ff780ecb92b4b2%2Fkilo-solutions-edit-application.jpg?alt=media" alt="The Edit application dialog with Application name and Description filled in and Cancel and Save buttons"><figcaption><p>The Edit application dialog for a demo application.</p></figcaption></figure>

## How do I delete an application?

Select the **trash** icon. Kilo asks **Are you sure you want to delete the application?** and warns that the devices, rules, alarms, and the dashboard linked to the application will be permanently removed from the platform. In practice rules are stopped and moved to Trash, where you can restore them; devices, dashboards, and alarm definitions are removed for good. Details: [What happens when I delete an application?](/applications/deleting-an-application) Select **Yes, delete** to confirm, or **Cancel**.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-83a86cb88d0877e73ecbd23537d62810b67cd509%2Fkilo-solutions-delete-application.jpg?alt=media" alt="A confirmation dialog asking whether to delete the application, warning that its devices, rules, alarms, and dashboard are permanently removed, with Cancel and Yes, delete buttons"><figcaption><p>The delete confirmation. Deleting an application removes the resources inside it.</p></figcaption></figure>

Deleting an installed application affects only your copy, never the solution in the catalog. Read [Deleting an Application](/applications/deleting-an-application) before you retire anything that holds real data.


# Swap the Emulator for Real Devices

Turn a solution's emulator devices into real sensors in Kilo: open the device, use Swap connection, and keep mappings, rules, and widgets intact.

A solution starts with emulator devices (sample devices that send realistic readings) standing in for the devices listed on the install screen. The real value arrives when you buy those devices and they replace the sample ones. You can ask [Kilo's AI chat](/ai-assistant) to do this (for example, "I got these devices, can you connect them to the application I installed?") or follow the manual steps below. Only the source of the readings changes. You do not rebuild anything. This guide follows the path click by click and describes every tab of the device page.

## What do I need before swapping?

* **The real device**, powered on and within range of its network.
* **Which connector it uses.** The solution's description and the device's manual say. The choices are:
  * **LoRaWAN:** a low-power radio network for small sensors that send a little data over long distances.
  * **MIOTY:** another low-power radio network for sensors, built to handle many devices at once.
  * **MQTT:** a common way for devices to send readings over the internet to a broker (a message server).
  * **Traccar:** a way to bring in GPS trackers, for example from vehicles.
* **The device's identifiers**, such as its ID or EUI (a long hexadecimal number). They are usually printed on the device label or in its manual. Which ones you need depends on the connector; each [connector's page](/connectors) lists them.

## How do I get to the device?

1. Open **Applications → My applications** and select your application.
2. Select the **Content** tab. While the application has at least one emulator device, the **Emulator** card explains the idea: to go live, swap the Emulator for a real connector (LoRaWAN, MIOTY, MQTT, or Traccar), and the device, mappings, rules, and widgets stay intact.
3. In the **Devices** card, select a device row. The **Edit device** page opens.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-75943fce363735bc76d62f71aec258615496aa6d%2Fkilo-solutions-installed-content.jpg?alt=media" alt="The Content tab of an installed application with a Devices card, an Emulator card with a Go to connectors button, Rules, and Alarms"><figcaption><p>The Content tab. The Emulator card has a Go to connectors button if you first need to set up the real connector.</p></figcaption></figure>

If you have not yet connected the hardware that will replace the emulator devices, select **Go to connectors** first and set up the [connector](/connectors) for your sensors. Then come back to the device.

## What are the tabs of the Edit device page?

The page title is **Edit device**, with a back arrow, and a row of tabs: **Device info**, **Connection**, **Emulator**, **Mapping**, **Attributes**, **Calculated data**, and **Logs**. For the swap, you work on **Connection** and check **Mapping**. The others are good to know about.

### What is on the Device info tab?

Device info holds the basics.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-facbdeab5ba8a888fb11066f94ac54a3dceebac5%2Fkilo-solutions-device-info.jpg?alt=media" alt="The Edit device page on the Device info tab with an Add photo area, a Device name field, and an Application selector set to Building Monitoring"><figcaption><p>The Device info tab of a device that belongs to the Building Monitoring application.</p></figcaption></figure>

* **Add photo.** Drop a PNG or JPG (about 5 MB recommended) or browse for a file, so the device is recognizable in lists.
* **Device name.** Required.
* **Application.** The application this device belongs to. Choose **Default** to keep a device outside any named application. A link to the **Applications page** sits under the field.
* **Next.** Moves to the next tab.

### What is on the Connection tab?

The Connection tab is where the swap happens.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-8e8f748de286aa7bb05ef1fd263213cd8996d53a%2Fkilo-solutions-device-connection.jpg?alt=media" alt="The Connection tab of a device showing a Connector type of Emulator, a Swap connection link, device settings, four device data keys with data types and Emulator buttons, and a reception status of Receiving and storing LIVE"><figcaption><p>The Connection tab of an emulated device. The Swap connection link is at the top right of the connector area.</p></figcaption></figure>

* **Connector type.** Grayed out and set to **Emulator** while the device is an emulator device.
* **Swap connection.** The link that starts the swap. Next to it is a note that to add a new connector you go to the **Connector section**.
* **Device info.** The **Device ID**, the **Data sending interval** (a number plus a unit such as minute), a **Support commands** switch, and a **Use device preset** checkbox.
* **Device data keys.** One row per reading the device sends, such as temperature, humidity, co2, or equipment\_state. Each row has the key name, its **Data type** (for example Integer or Boolean), an **Emulator** button that opens that reading's emulator settings, and a trash icon to remove the row.
* **Add device data key.** Adds another reading.
* **Save.** Saves the tab.
* **Reception.** A status bar near the bottom, such as **Receiving & storing, LIVE**, with a count of mapped sensors, the time of the last value, and a **Details** link. It is your proof that data is arriving.

### How do I start the swap?

1. On the Connection tab, select **Swap connection**.
2. The link becomes **Cancel swap**, and **Connector type** becomes an empty selector you can change.
3. Choose the real connector type, for example LoRaWAN, MIOTY, MQTT, or Traccar.
4. Enter the identifiers of your physical device. The fields depend on the connector, and each connector's page describes them: see [Connectors](/connectors).
5. Select **Save**.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-ab1c3c7b8c3c1f3f07be752212a48df88c51910a%2Fkilo-solutions-swap-connection.jpg?alt=media" alt="The Connection tab in swap mode with a Cancel swap link and an empty Connector type selector above the same device data keys"><figcaption><p>Swap mode. The connector selector is empty until you choose the real connector; Cancel swap leaves the device as it was.</p></figcaption></figure>

Select **Cancel swap** at any time to leave the device on the Emulator.

A solution often includes the exact steps for each device in its description. For the smart-office demo, for example, the checklist says where to mount each sensor and how to set up the MQTT topic (the address the device publishes its readings to). Read the solution's **Content** text before you start.

### How do I know the swap worked?

After you save, look at the Reception strip on the **Connection** tab. When it shows **Receiving & storing, LIVE** and the time of the last value keeps moving, real readings are arriving.

If it does not, check these in order:

1. The identifiers you entered match the device exactly.
2. The device is powered on and within range of its network.
3. The connector itself is set up and running; see [Connectors](/connectors).

Still nothing? See [Device Diagnostics](/devices/device-diagnostics), or contact Kilo support.

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

**Emulator.** While the device is an emulator device, this tab lets you test your rules without waiting. Each device data key has a **Value** field, a **Save** button that stores the value, and a **Send once** button that transmits a single reading right now. The note at the top explains that data is sent according to the data sending interval.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-78b7bc893fee80e40293d007bbaf6812485a2031%2Fkilo-solutions-device-emulator.jpg?alt=media" alt="The Emulator tab listing four device data keys, each with a Value field and Save and Send once buttons"><figcaption><p>The Emulator tab. Use it to force a value and watch a rule or alarm react.</p></figcaption></figure>

**Mapping.** This tab shows how each device reading gets the name that rules and charts use.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-bd81e8fd5df45948bca32c955fbba0746103c18a%2Fkilo-solutions-device-mapping.jpg?alt=media" alt="The Mapping tab with a table of device data keys, values, last update times, normalized keys, units, types, and data types"><figcaption><p>The Mapping tab. The mapping is what keeps your rules and widgets working when the source changes.</p></figcaption></figure>

The columns are **Device data key** (what the device sends), **Value** (the latest reading), **Last update**, **Normalized key** (the name rules and charts use for a reading; it stays the same, so they keep working), **Unit**, **Type**, and **Data type**. For an emulated device the keys are defined by the device configuration on the Connection tab, and each row has a trash icon and a **Save** button below the table. Because rules and widgets use that name and not the device's own key, they keep working after you swap.

## What stays the same, and what changes?

| Stays the same                                            | Changes                                        |
| --------------------------------------------------------- | ---------------------------------------------- |
| Reading names and units, so rules and charts keep working | The source of the readings                     |
| Rules and their alarms                                    | The connector type of the device               |
| Dashboards and widgets                                    | You provide the identifiers of the real device |

## Can I mix emulator and real devices?

Yes. Swap devices one at a time. A solution with five devices can run with two real sensors while three keep sending sample readings, which is a convenient way to move across gradually. The **Emulator** badges in the application mark what is still virtual.

## Why does the emulator count against my plan?

Emulator devices count as devices on your plan, because they run continuously. When you swap one for a physical device, it is still one device, so the count does not change. For more on emulated devices, see [Emulated Devices](/devices/emulated-devices) and the [Emulator Connector](/connectors/emulator-connector).


# Publish a Solution

How a finished Kilo application becomes a catalog solution: the publish dialog, updating a publication, and unpublishing without breaking installed copies.

This page is for the Kilo team that publishes the catalog. You do not need it to install and use solutions.

Publishing is how a finished application becomes a solution in the catalog. The application is configured once, then **Publish application** makes it installable with one click. This guide describes every button and field in the publishing workflow.

{% hint style="info" %}
Only Kilo publishes to the catalog, from its own organization. If you do not see **Publish application** on an application, your organization cannot publish to the catalog. To get a ready-made application, [browse the catalog](/applications/browsing-and-previewing-solutions) and install one.
{% endhint %}

## Where do I start?

Build and test the application first: devices, rules, alarms, and the dashboard. Every device must use the Emulator connector, because a solution has to work for every user without their hardware (see below). Then you have two ways in:

* On **Applications → My applications**, select the **gear** icon at the end of the application's row. It opens the same dialog described below.
* Or open the application and select **Publish application** in the top-right corner of its page.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-0722d837875a2bd26c32ce01db29f35c1f65dada%2Fkilo-solutions-my-applications.jpg?alt=media" alt="The My applications list with Photo, Name, Description, and Status columns, where Status shows Published, Not published, and Published in AI, plus an arrow and gear icon on every row"><figcaption><p>The My applications list of the organization that publishes the catalog, in a demo organization. Each row has an arrow and a gear; the Status column appears only for that organization.</p></figcaption></figure>

## What does the publish dialog contain?

The dialog is titled **Publish application** the first time and **Update publication** afterwards. Under the title it states who gets the solution: all users in your organization and your clients.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-05415b1f24da6277078885cce86bad39e4c171f7%2Fkilo-solutions-publish-dialog.jpg?alt=media" alt="The Update publication dialog with fields for application name, description, a preview photo, an industry selector, implemented use cases, and toggles Use in Kilo AI and Show on the landing page, with Close and Save buttons"><figcaption><p>The publication dialog for a demo application. The fields from Industry downward are shown to the platform's own catalog publisher.</p></figcaption></figure>

Everyone who can publish sees these fields:

* **Application name.** Up to 70 characters; the placeholder reads *Write application name*. This is the title users see on the card. An empty name shows *Application name is required*, and a name that is too long shows *Application name is too long*.
* **Description.** Up to 300 characters; the placeholder reads *Write application description*, and a longer text shows *Description is too long*. Write the problem it solves, not the equipment it uses.
* **Add application preview photo.** A PNG or JPG, about 5 MB recommended. It appears on the card and in the **Photo** column. A trash icon removes a chosen photo.

Kilo's own organization also sees:

* **Industry.** The industry the solution belongs to (placeholder *Choose industry*).
* **Implemented Use cases.** A searchable multi-select (placeholder *Choose Use cases*). Pick the problems this solution solves. See [What are use cases in Kilo?](/applications/use-cases).
* **Use in Kilo AI.** A listing option for Kilo's own catalog, with the hint *Allow Kilo AI to recommend this application when it matches a customer's needs.* When it is on, Industry and Implemented Use cases become required: *Required when Use in Kilo AI is on*.
* **Show on the landing page.** A listing option for Kilo's own website.

At the bottom, **Close** dismisses the dialog and **Save** (**Publish application** on the first publication) publishes. A note on a republication reminds you that saving republishes the current content of the application as a new version of the solution. When the source application was deleted, the note instead says the save updates only the catalog card.

When it succeeds, a confirmation dialog names the application and says it is published. The card appears in the **Solutions** tab of the users who can see the catalog, and in your list the **Status** column changes to **Published**.

## Which devices can a published solution contain?

Only emulated ones. A solution must work for every user without their hardware, so each device must use the Emulator connector. If an application contains a device on a real connector, publishing is refused with this message: *The application has a device with a connector that is not an emulator. Replace the device's connector with an emulator to publish the application.* The dialog shows *The publication was refused. Fix the fields below and try again* with a list of the problems. Fix them, and publish again.

Alarm recipients are not copied from the source application. The person who installs a solution becomes the recipient of their own copy.

## How do I update a published solution?

Change your application, then open the publish dialog again from the gear icon, or select **Update publication** on the application's page. Saving republishes the current content of the application as a new version of the solution. Users who already installed an earlier version keep what they have; new installs get the new version.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-3ee467868273970bac96fe8e310979290c40987b%2Fkilo-solutions-application-detail.jpg?alt=media" alt="The page of a published Building Monitoring application with Unpublish and Update publication buttons, a pencil icon, and a trash icon in the top-right corner"><figcaption><p>A published application. The publisher sees Unpublish and Update publication next to the pencil and trash icons.</p></figcaption></figure>

## How do I unpublish a solution?

1. Open the application.
2. Select **Unpublish**.
3. In the dialog **Unpublish the application?**, read the warning: the solution disappears from the catalog, and applications already installed from it keep working.
4. Select **Yes, unpublish**, or **Cancel**.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-a6892be1b6f7adebe20f43983f6defacc41bab08%2Fkilo-solutions-unpublish.jpg?alt=media" alt="A confirmation dialog titled Unpublish the application with a warning that installed applications keep working and Cancel and Yes, unpublish buttons"><figcaption><p>The unpublish confirmation in a demo organization.</p></figcaption></figure>

The application itself remains in My applications, with the status **Not published**. You can publish it again at any time.

## What happens if I delete the application I published?

The published solution stays in the catalog. In **My applications**, a section called **Solutions without an application** lists such solutions. Each row is marked **Application deleted · published** or **Application deleted · unpublished**, and has an **Edit card** button so you can still change the card. **Unpublish** appears only on rows marked published. The note explains: the source application was deleted, and you can still edit the card or unpublish the solution.

## What makes a solution worth installing?

* Write the description as the problem solved, not the equipment used.
* Use the About text to explain who it is for, and **How it works right now** for a short installation checklist: where to mount each sensor and how to connect it.
* Add a photo that shows the result.
* Keep the dashboard simple enough to understand in ten seconds.
* Check that your rule and alarm make sense for someone who has never seen them.


# What Are Use Cases?

Use cases describe the specific problems a Kilo solution solves, such as leak protection or tank monitoring. Learn the Use cases tab and its Add Use case form.

This page is for the Kilo team that publishes the catalog. You do not need it to install and use solutions.

A solution is rarely about a single problem. A shopping-center solution might protect against leaks, save energy, and pump out a flooded basement. Each of those is a **use case**.

## What is a use case in Kilo?

A use case is one clearly described problem or need, in plain words: *Above-ground stock water tank level monitoring*, *After-hours car park intrusion detection*. It belongs to an industry such as Agriculture or Property Management, and many use cases can be linked to a single solution. The same use case can serve many solutions, because the same problem appears in different industries.

## Who manages use cases?

Kilo curates the use cases, so the **Use cases** tab appears only for Kilo's own organization. You will not see it. It is documented here so you understand how the catalog is organized.

Today, use cases organize the catalog: when a solution is published, the publisher chooses an industry and picks the use cases it implements, so the catalog is arranged around problems rather than product names.

## What is on the Use cases tab?

Open **Applications → Use cases**. The tab has a heading, **Use cases**, and an introduction: reusable customer scenarios that describe a specific problem or need, which can be linked to one or more applications.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-e94dd037319764514d306c1abf00ba539dbe5710%2Fkilo-solutions-use-cases.jpg?alt=media" alt="The Use cases tab with a search box, Status and Industry filters, an Add Use case button, and a table of use cases with Name, Description, Industry, Applications, and Used in AI columns"><figcaption><p>The Use cases tab of a demo organization. The introduction mentions Kilo AI recommendations, which are not available to customers yet.</p></figcaption></figure>

* **Search.** Finds a use case by name.
* **Status: All.** A filter with the options **Used in AI** and **Not used in AI**, which reflect the listing option.
* **Industry: All.** Filters by industry.
* **Add Use case.** Opens the form below.
* **Table columns.** **Name**, **Description**, **Industry**, **Applications** (how many applications implement it), and **Used in AI**. Each row ends with an arrow that opens the use case for editing and a trash icon that deletes it.

## How do I add a use case?

Select **Add Use case**. A panel slides in from the right.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-ceb1082b1eff50139fa5e58fffd931637cad609c%2Fkilo-solutions-add-use-case.jpg?alt=media" alt="The Add Use case panel with fields for name, description, industry, domain, device type, asset, capability, connectivity, best device data type, automation outcomes, popularity, cross-industry note, related use cases, and a Use in Kilo AI toggle"><figcaption><p>The Add Use case panel over the use cases list.</p></figcaption></figure>

Fill in the fields from top to bottom:

* **Use case Name.** Up to 70 characters; a counter shows how many are left.
* **Use case description.** The problem in plain words.
* **Industry** and **Domain.** Choose from the lists.
* **Device type**, **Asset**, **Capability**, and **Connectivity.** Describe what is monitored and how the devices connect. Device type, Capability, and Connectivity are lists; Asset is free text.
* **Best device data type.** The kinds of readings that matter most.
* **Automation outcomes.** What the setup achieves; choose or type your own.
* **Popularity.** **High**, **Medium**, or **Low**.
* **Cross-industry note.** A short note when the same problem appears in other industries.
* **Related use cases.** Link to similar ones.
* **Use in Kilo AI.** A listing option for the platform's own catalog. Its hint reads *Allow Kilo AI to recommend this application when it matches a customer's needs.*

Select **Add Use case** to save, or **Close** to leave without saving. To change one later, select the arrow on its row; the form is titled **Edit Use case**.

## How do I delete a use case?

Select the trash icon on its row. Kilo asks **Delete the use case «name»?** and explains that the use case stops being available for new publications and Kilo AI recommendations. Confirm with **Yes, delete**. If solutions still implement the use case, the server refuses and a second dialog lists them (**It is implemented by:** followed by their names; deleting detaches it from them). Confirm that one with **Yes, detach and delete**, or select **Cancel** to keep the use case.


# Is Kilo Powerful and Easy to Use?

Kilo chose flexibility over a fixed template, then added the Kilo AI engine and ready-made Solutions so starting out is easier.

Every IoT platform eventually has to choose between two goals. You can make it easy by limiting what people can do, or you can make nearly anything possible and accept that there is more to learn. Early in Kilo's design, we faced that choice.

## Why did Kilo choose power over simplicity?

We chose power. Kilo lets you define your own readings and units, build widgets and conditions the way your project needs them, write rules from simple threshold checks up to full expressions, and reuse them across every device. You are not limited to what a template foresaw.

That choice has a cost. A platform that can do anything has more to learn, and a newcomer faces a blank canvas.

## What changed?

Two things make the learning curve gentler without removing any of the power.

**Ready-made solutions.** Kilo packages the complete answer to a use case as a ready-made application. You preview it, install it, and see devices, rules, alarms, and a dashboard working right away, with nothing to set up first. The install screen lists the devices to buy, and when they arrive the AI chat can connect them to your application. You learn by examining something that already works. See [Installing a Solution](/applications/installing-a-solution).

**The Kilo AI engine.** The AI engine in Kilo is grounded in your own data. It reads the status of your devices, and it can also help you configure the platform: add devices, create rules, and set up alarms. You describe what you want and it helps you set it up. See [AI in Kilo](/ai-assistant).

## What does that mean in practice?

| If you are...        | You can...                                                                                                            |
| -------------------- | --------------------------------------------------------------------------------------------------------------------- |
| New to IoT           | Install a solution, buy the devices it lists, and ask the AI chat to connect them and to explain or adjust the setup. |
| Experienced with IoT | Start from a ready-made baseline, then use the full rule and automation toolset to refine it.                         |
| Ready to go live     | Buy the devices listed on the install screen, swap the Emulator for them, and keep everything else as configured.     |

You can start from something that works and still change everything in it.


# Creating an Application

Create a Kilo application, give it a clear name and description, and start adding devices, dashboards, rules, and alarms.

Create an application to keep everything for one job in one place. A new application is empty until you add things to it. This guide covers building the application yourself: you create its name and description, then add your devices, dashboards, rules, and alarms. That takes more work than installing a solution. If you would rather start from a finished setup, [install a solution](/applications/installing-a-solution) instead; the result is an application just like this one, already filled in. Choose a name that tells your team what the application does, such as **Building Monitoring**.

You must be a member of the current organization. Applications have no separate management permission; viewing or editing their devices, dashboards, rules, and alarms still requires the matching permissions. Check the organization selector before creating the application, particularly if you manage several customers or sites.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-7095a883d127f633287f9e9c2dfa3431c4db1d61%2Fkilo-applications-create.jpg?alt=media" alt="Kilo application creation dialog with a name and description"><figcaption><p>Give the application a recognizable name and describe its purpose.</p></figcaption></figure>

## How do I create an application?

1. Open **Applications** and select **My applications**.
2. Select **Create an application**.
3. Enter **Application name**, for example `Building Monitoring`.
4. Add an optional **Description**, such as `Environmental conditions and operational alerts for the main office.`
5. Select **Create application**.
6. The new application is not opened automatically. Find its row in **My applications**, select it to open it, and then select the **Content** tab.

The name is required. The description gives colleagues context but does not configure devices or automation. A newly created application is empty until you add things to it.

## How do I update an application's details?

Open the application and use its edit action to change **Application name** or **Description**, then save. Choose distinct names even though names are not required to be unique; identical names make assignment selectors harder to use.

You can also create an application from an **Application** selector using **Add new application** while setting up a device, dashboard, rule, or alarm. Save that item after choosing the new application.

Next, [add your devices, dashboards, rules, and alarms](/applications/organizing-content).

For a tour of every element of the My applications list and of the application page, see [How do I use the My applications tab?](/applications/my-applications-tab).


# Organizing Content

Add devices, dashboards, rules, and alarms to a Kilo application, see where to click for each one, and learn what Default means and what the counts show.

An application's **Content** tab lists everything behind it. For Building Monitoring, this might be temperature sensors, a facilities dashboard, an overheating rule, and an alarm for the response team.

The same Content tab opens on an application installed from a [solution](/applications/what-are-solutions-and-applications), where everything the solution created is already listed and you can keep adding to it. Create further devices, dashboards, rules, and alarms the usual way, then set their **Application** field. You need permission to edit the one you are assigning.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-cd1ce3c4cd8514ffbe198eff97f6991ad332bfbe%2Fkilo-applications-content.jpg?alt=media" alt="Kilo Applications: The Content tab groups the application’s devices, dashboards, rules, and alarms."><figcaption><p>The Content tab groups the application’s devices, dashboards, rules, and alarms.</p></figcaption></figure>

## How do I add things to an application?

| What      | Where to choose the application                                                                                                                                 |
| --------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Device    | In the left sidebar, open **Devices** and select the device. On the **Device info** tab, choose **Application**, then select **Next** to go on to the next tab. |
| Dashboard | In the left sidebar, open **Dashboards**. In the dashboard's add or edit dialog, choose **Application**.                                                        |
| Rule      | In the left sidebar, open **Rules engine**. In the rule list, choose an application in the rule's **Application** selector.                                     |
| Alarm     | In the left sidebar, open **Alarm**, then **Alarm definitions**. In the create or edit dialog, choose **Application**, then save.                               |

Select `Building Monitoring` in each relevant field. Return to **Applications → My applications → Building Monitoring → Content** to confirm that the items appear in the right cards.

One item belongs to one application at a time. To move it, change its **Application** selector. **Default** means the item is not in any named application. It is not a second copy or a separate organization.

## What is included in an application?

The Content tab has separate cards for **Devices**, **Dashboards**, **Rules**, and **Alarms**. Open a listed item to keep working with it. What you can see and do depends on your permissions.

A rule checks readings; an alarm is the notification. Putting both in an application does not connect them. Set the rule's alarm action to use the alarm you want, as described in [Alarm Definitions](/alarm/notification-rules).

Use the Content tab to check for missing pieces. A dashboard shows readings, but monitoring that runs on its own also needs rules and alarms.

## How do I keep things when reorganizing?

Moving an item only changes which application it belongs to. Deleting an application removes what is inside. Before you delete one, [read what deletion does](/applications/deleting-an-application) and move anything you want to keep to another application or **Default**.

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

Long lists scroll inside their own card, and search appears when a list is large enough. Open an item from the application and use the back arrow to return.

## What do the counts on the Content tab mean?

The numbers show how many items are in each category. **0** means it is empty. A dash means the count is not available, for example because you lack access.

## Good to know

* The **Application** selector starts at **Default** until you successfully create something with another choice. After that it remembers your last choice, separately for each organization.
* **Add new application** in a selector creates the application right away, even if you cancel the form you were filling in.
* You can change a rule's application while someone has its editor open. That changes only where the rule belongs, not the rule itself. An open rule editor can still block deleting the application that holds the rule.
* An **Emulator** badge marks a device that sends sample readings. The **Emulator** card offers **Go to connectors**; see the [Emulator Connector](/connectors/emulator-connector) guide to replace sample readings with a real connection.
* A real device shows whether it is reporting. A device that is still loading can appear without a status for a moment.
* The Rules and Alarms cards show up to 200 entries each, including disabled alarms. For more, open **Rules engine** or **Alarm** and use their full lists.
* An error while loading is not the same as an empty application.


# Using Application Dashboards

Open the dashboards linked to a Kilo application, switch between them, and edit their layout and widgets.

The **Dashboard** tab presents the dashboards associated with an application. It takes you from the application straight to its charts and controls. The **Content** tab lists the devices, rules, and alarms behind them.

An application installed from a [solution](/applications/installing-a-solution) arrives with its dashboard already added and connected to its devices. A Building Monitoring application can have separate dashboards for environmental conditions and equipment operation. To add a dashboard to the application, set its **Application** field.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-6a521030ca40f3695bc5f35439107e798c2bd124%2Fkilo-applications-dashboard-assignment.jpg?alt=media" alt="Kilo Applications: Choose the application in the dashboard editor."><figcaption><p>Choose the application in the dashboard editor.</p></figcaption></figure>

## How do I view an application dashboard?

1. Open **Applications → My applications**.
2. Select the application.
3. Open **Dashboard**.
4. If the application has several dashboards, select the one you want to view.

The dashboard displays its configured widgets. Their data and available interactions follow the underlying devices, widget configuration, and your permissions.

## How do I change the dashboard layout or widgets?

The application's dashboard view is not the layout editor. Select **Go to the dashboard** to open the dashboard itself, then use its normal editing controls (you can also find it under **Dashboards** in the left sidebar). See [Creating Dashboards](/dashboards/creating-dashboards) for the complete workflow.

After saving your changes, return to the application to check the result. The same dashboard is used in both locations; you are not maintaining an independent copy.

## Why does no dashboard appear?

Check **Content → Dashboards**. If it is empty, create a dashboard (or edit one in **Dashboards** in the left sidebar) and set its **Application** field to this application. If you cannot view an associated dashboard, ask the organization administrator to check your dashboard access.


# Deleting an Application

Delete a Kilo application safely: review its content and move the devices and dashboards you want to keep first.

Deleting an application removes your copy and what is inside it. Decide what should happen to the items listed in **Content** first.

{% hint style="warning" %}
Deleting an application permanently deletes associated devices and dashboards, removes associated alarm definitions, and stops associated rules and moves them to Trash. The confirmation dialog says the rules are "permanently removed", but they can still be restored from Trash (the place where deleted rules wait). Move anything you need to keep to another application or **Default** before deleting.
{% endhint %}

An application installed from a solution is an ordinary application. Deleting it removes only your copy. It does not touch the solution in the catalog or other organizations' copies.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-a06e1d1284b44737dc65fc20f7c48cada4a25379%2Fkilo-applications-delete-confirmation.jpg?alt=media" alt="Kilo Applications: Review the consequences before confirming application deletion."><figcaption><p>Review the consequences before confirming application deletion.</p></figcaption></figure>

## What should I review before deleting an application?

1. Open the application and select **Content**.
2. Inspect **Devices**, **Dashboards**, **Rules**, and **Alarms**.
3. Open each item you want to keep and change its **Application** assignment.
4. Save the change, then return to Content to check that the item is no longer listed.
5. Check running rules and dashboards that other parts of your setup depend on before you remove them.

## How do I delete the application?

On the application's page, select the trash icon in the top-right corner and read the confirmation. Confirm with **Yes, delete** only when what is left inside can be removed. Return to **My applications** and check the result.

If deletion reports a failure, inspect the application and what is inside it before retrying. Removal may have partly completed. A rule being edited can also prevent the operation; have its editor finish and close the editing session, then retry.

Trash brings back rules only. It does not restore deleted devices, dashboards, or alarm definitions. See [Trash and Recovery](/rules-engine/trash-and-recovery) to restore rules.

## What access does deleting an application need?

Deleting needs **Read** access (you can see the items) to devices, dashboards, rules, and alarms, plus **Write** access (you can change them) to each kind that has items in this application. Your access depends on your role; ask your organization admin if the message names a missing permission. Nothing is removed when access is refused.

When all removed dashboards share one parent folder and that folder becomes empty, the folder is removed too. A folder that still contains other items remains, and dashboards spread across different parent folders do not cause those folders to be deleted. Move any dashboard you want to keep before confirming deletion.

To see where the trash icon and the confirmation dialog appear, see [How do I use the My applications tab?](/applications/my-applications-tab).


# Overview

Read the Overview page in Kilo IoT Server — device and gateway summary cards, recent alarms, live deployment health.

The Overview page is the first screen you see after logging into the Kilo IoT Server. It provides a high-level summary of your deployment — device counts, gateway health, and recent notifications — so you can assess operational status at a glance without navigating into any specific section.

## Where to find it

Click **Overview** in the sidebar. The `/overview` route loads automatically when you log in or navigate to the server root.

## Page layout

The Overview page is organized into sections, each designed to surface a different layer of deployment health.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2FoSIGHGizBCWxFpCkaD0s%2Fimg.png?alt=media&amp;token=45bd918c-78e2-4b3f-b2fe-d4ae03df982f" alt="The Overview page showing the My board header, device and gateway summary cards, favorite devices and the notifications feed"><figcaption></figcaption></figure>

### Header: "My board" and Live Data

At the top of the page, the header displays the title **My board** alongside a **Live Data** button.

The Live Data button is an interactive icon with the tooltip **"New data is automatically displayed"**. Clicking it triggers a manual refresh of the overview data. This is useful when you want to confirm that the latest readings are reflected on the page without waiting for the next automatic update cycle.

### General info cards

Below the header, a **General info** section displays summary cards that provide a quick pulse of your deployment. The card row scrolls horizontally if more cards are present than the screen width accommodates.

Cards you will see include:

* **Devices** — Shows the total count of registered devices. A warning indicator appears when the platform cannot confirm a device is reporting — either it has never sent data, or it has not sent anything within its **Data sending interval** — the field where you tell the platform how often the device is configured to transmit (see [Registering Devices](/devices/registering-devices)). The card links to the **Devices** page for the full list. An add button in the card corner opens the device registration flow directly.
* **Gateways** — Shows the total count of registered gateways. Warning indicators flag gateways that are offline or inactive. The card links to the **Gateways** page. An add button opens the gateway registration flow.

Each card serves as both a status indicator and a quick navigation shortcut. The warning counts — devices that are not reporting, gateways that are offline or inactive — help you spot issues without opening a dedicated management page.

### Notifications

Below the summary cards, a **Notifications** panel shows recent notification cards — a summary of the latest alerts and system events without needing to open the full alarm inbox.

### Add device

At the bottom of the page, an **Add Device** widget provides a quick entry point to register new devices or gateways. This mirrors the add buttons on the summary cards above but offers a larger, more visible starting point — especially useful when you're first setting up a deployment and the overview is still mostly empty.

## What to expect when data is missing

When your deployment is new and no devices or gateways have been registered yet:

* The **Devices** and **Gateways** cards show a count of **0** with no warnings.
* The **Notifications** panel shows no recent events.
* The **Add Device** widget at the bottom is the natural next step.

As you register devices and gateways, the cards populate automatically. Warning indicators appear when devices stop reporting or gateways go offline, giving you immediate visibility into connectivity issues.

## Tips for operations teams

* **Use the Overview as a health check.** Before diving into dashboards or specific devices, the Overview tells you whether anything needs attention right now — device disconnections, gateway outages, or new alarms. Total counts with warning indicators give you an immediate read on deployment state.
* **Click the Live Data button after deploying changes.** When you've just registered a new device or reconfigured a gateway, clicking the Live Data button forces a data refresh so you can confirm the change is reflected immediately.

## Related pages

* [Navigating the Interface](/getting-started/navigating-the-interface) — Full tour of the sidebar and menus.
* [Registering Devices](/devices/registering-devices) — How to register your first device.
* [Creating Dashboards](/dashboards/creating-dashboards) — Build custom views beyond the overview.


# Dashboards

Build Kilo IoT dashboards from widgets for live readings, charts, maps, and controls, organized in folders.

Build a dashboard around the decision your team needs to make: which cold room needs attention, how a building's conditions changed, or which equipment an operator should adjust. A dashboard is a customizable view assembled from **widgets**, the individual readings, charts, images, maps, and controls you place on it.

Unlike the [overview page](/overview), which provides a fixed summary of your deployment, dashboards give you full control over what is displayed and how.

You choose the devices, select the metrics, set the value ranges and thresholds, and organize everything into folders that match your operational structure.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2FkCBNk08CXpX4QCIGKaGv%2Fphoto_2025-10-22_18-05-33.jpg?alt=media&amp;token=c46af39f-7ddf-4691-bd88-9dcc88ab20dc" alt="A custom dashboard with temperature and humidity widgets"><figcaption></figcaption></figure>

The dashboard system supports folder-based hierarchy, so a multi-site deployment can maintain separate dashboard groups per building, region, or team — all accessible from the sidebar.

## Where dashboards fit in your operations

Dashboards are not limited to desktop use during working hours. They are designed to be deployed wherever operational visibility matters:

* **Operations center wall displays** — Mount a screen showing live facility status across all sites. Shift supervisors see everything at a glance without navigating.
* **Lobby and reception screens** — Display building conditions, energy metrics, or environmental data for visitors and tenants.
* **Factory floor workstations** — Equip production lines with dedicated monitors showing equipment health, vibration data, and throughput.
* **Compliance and regulatory displays** — Cold chain monitoring in pharmaceutical storage, temperature tracking in data centers, humidity control in cleanrooms — always visible, always current.
* **Conference room reviews** — Pull up dashboards during operational meetings to review trends and incidents with the team.

For any of these scenarios, collapse the sidebar to give the dashboard full screen width — hover over the logo area at the top of the sidebar and click the double-chevron. The navigation shrinks to icons only, keeping the data front and center.

## In this section

* [Creating Dashboards](/dashboards/creating-dashboards) — Create a dashboard with an icon, name, folder, and description. Edit metadata and delete dashboards.
* [Adding Widgets](/dashboards/adding-widgets) — Widget types, edit mode, and per-widget configuration guides for Last data, Chart, Image, Map, and Conditions.
* [Organizing Dashboards](/dashboards/organizing-dashboards) — Create folders, reorder dashboards, and structure your views for multi-site management.


# Creating Dashboards

Create, rename, and delete Kilo IoT dashboards — named containers that hold widgets for data, charts, and floor plans.

Every monitoring view in the Kilo IoT Server starts as a dashboard. A dashboard is a named container that holds widgets — the visual components that display device data, charts, and floor plans. Before you can add widgets, you need a dashboard to put them in.

This page covers creating new dashboards, editing their metadata, and deleting dashboards you no longer need. For folder management and drag-and-drop organization, see [Organizing Dashboards](/dashboards/organizing-dashboards).

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2FkJws1LGDADxTyYf5wgKo%2Fimage.png?alt=media&amp;token=206036d6-8c7e-4795-be2b-0a76ad7163d9" alt="The Add dashboard dialog with the icon picker, name, folder and description fields"><figcaption></figcaption></figure>

## Where to find dashboards

Dashboards live in the **Dashboards** section of the sidebar. Click the section to expand it and see your existing dashboards. If you haven't created any yet, the sidebar shows **"No dashboards yet"** under the Dashboards heading.

Two controls appear alongside the Dashboards section when it is expanded:

* **Add dashboard** — A plus icon with the label "Add dashboard". Click it to open the creation dialog.
* **Dashboard settings** — A gear icon with the tooltip "Dashboard settings". This opens the dashboard management modal, covered in [Organizing Dashboards](/dashboards/organizing-dashboards).

When the sidebar is collapsed, only the add icon is visible.

## Creating a new dashboard

Click **Add dashboard** in the sidebar to open the dashboard creation dialog.

The dialog title reads **"Add dashboard"** with the subtitle **"Create your personalized dashboard, add the necessary widgets to meet your goals."**

### Fields

* **Icon** — Choose a visual icon for the dashboard. The default icon is a house. The selector is 80 pixels wide and sits to the left of the name field.
* **Name** *(required)* — Enter a name for the dashboard. The placeholder text reads **"My dashboard"**. If you try to save without entering a name, the validation message **"Dashboard name is required"** appears.
* **Folder** — Choose which folder to place the dashboard in. The dropdown shows **"None (top level)"** as the default option, followed by any folders you have already created. This field is only available when creating a new dashboard — it does not appear when editing an existing dashboard's metadata.
* **Description** — An optional multiline text field for notes about the dashboard's purpose. The placeholder reads **"Describe your dashboard, if needed"**.

### Saving

Click **Save** to create the dashboard. The dialog closes and the new dashboard opens automatically, ready for you to [add widgets](/dashboards/adding-widgets). Click **Cancel** to close the dialog without creating anything.

### Naming conventions for multi-site deployments

For deployments spanning multiple buildings or regions, a consistent naming scheme makes dashboards easier to find. Consider patterns like:

* `Building A — Temperature Overview`
* `Warehouse 3 — Cold Chain Compliance`
* `DC-East — Server Room Environment`

Combine folder structure with clear names so any team member can locate the right dashboard without guessing.

## Viewing a dashboard

Once created, a dashboard appears in the sidebar under its folder (or at the top level if no folder was selected). Click it to open the dashboard view.

The dashboard header shows the **dashboard name** on the left, a vertical divider, and a non-interactive **Live Data** label with an icon on the right. This label is not a connection-health check or proof of a fresh reading. Check the widget's update time and the device's last-reported time before relying on a value. Unlike the clickable Live Data button on the [overview page](/overview), the dashboard label has no click action.

To the far right of the header, an **actions menu** (three-dot icon) provides three options:

* **Share dashboard** — Opens the dashboard access dialog, where you can publish the dashboard as a password-protected link. See [Sharing Dashboards](/dashboards/sharing-dashboards).
* **Edit dashboard** — Enters edit mode, where you can add, rearrange, and configure widgets.
* **Delete dashboard** — Opens a confirmation dialog (see below).

## Editing dashboard metadata

To change a dashboard's name, icon, or description after creation:

1. Open the dashboard.
2. Click the actions menu and select **Edit dashboard** to enter edit mode.
3. In edit mode, a small **pencil icon** appears to the left of the action buttons — this replaces the Live Data indicator. Click the pencil icon.
4. The edit dialog opens with the title **"Edit dashboard"**, pre-filled with the current name, icon, and description.
5. Make your changes and click **Save**.

The folder field is not available in the edit dialog. To move a dashboard between folders, use the [dashboard management modal](/dashboards/organizing-dashboards).

## Deleting a dashboard

To delete a dashboard:

1. Open the dashboard.
2. Click the actions menu and select **Delete dashboard**.
3. A confirmation dialog appears: **"Are you sure you want to delete {dashboard name} dashboard?"** with the warning **"Once deleted, this action cannot be undone."**
4. Click **Yes, delete** to confirm, or close the dialog to cancel.

Deleting a dashboard removes it and all its widgets permanently.

## Related pages

* [Adding Widgets](/dashboards/adding-widgets) — Populate your new dashboard with device data.
* [Organizing Dashboards](/dashboards/organizing-dashboards) — Create folders and reorder dashboards.
* [Overview Page](/overview) — The default summary view that exists before you create any dashboards.

## Associate a dashboard with an application

In the add or edit dialog, choose **Application** to make the dashboard available from that application’s **Dashboard** tab. **Default** keeps it standalone. Save the dialog, then verify the result in [Using Application Dashboards](/applications/using-application-dashboards). Layout and widget changes remain in the dashboard editor.


# Adding Widgets

Add and configure Kilo dashboard widgets for live values, charts, controls, maps, images, and text notes.

Widgets are the visual components of a dashboard. Data widgets connect to devices and turn readings into current values, history, maps, or status. Control widgets send configured commands. Text and iFrame widgets add context without a device connection. A temperature reading of 22°C is normal in an office but a compliance breach in cold storage — ranges, thresholds, and conditions let operators see that context at a glance instead of interpreting the raw number themselves.

## Entering edit mode

Widgets can only be added or modified when the dashboard is in **edit mode**.

1. Open a dashboard from the sidebar.
2. Click the **actions menu** (three dots) in the header and select **Edit dashboard**.

In edit mode, the header changes:

* The **Live Data** indicator is replaced by a small **pencil icon** for editing dashboard metadata.
* A **plus button** appears — this opens the widget picker.
* **Cancel** and **Save** buttons appear on the right.

Any changes you make in edit mode are only saved when you click **Save**. Clicking **Cancel** discards all changes and returns to view mode.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-d579235c88fd85ea08bf2ea34eaf2a06f311a3ef%2Fdashboard-edit-mode.jpg?alt=media" alt="A dashboard in edit mode, showing the placement grid with a widget positioned and the Add widget, Cancel and Save controls"><figcaption></figcaption></figure>

## The widget picker

Click the **plus button** in the edit mode header (or the **Add widget** button in the empty state) to open the widget picker.

The picker shows the available widget types.

| Widget                    | Use it when                                                                                            | What it shows                                                                                                          |
| ------------------------- | ------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------- |
| **Last data**             | Operators need the current state of a machine, process, or asset                                       | Latest value received — running/stopped, fill level, current temperature                                               |
| **Chart**                 | You need to understand how a reading changed — compliance history, drift, or shift-to-shift comparison | Historical graph plus the live current reading                                                                         |
| **Text**                  | A dashboard needs headings, operating notes, or instructions                                           | Formatted text that is not connected to a device                                                                       |
| **Image**                 | Location context matters — which zone, floor, or component                                             | Your own uploaded image — floor plan, machine diagram, or site layout — with live numeric readings pinned to locations |
| **Map**                   | The live location of something that moves matters                                                      | Current GPS position on an interactive outdoor map, plus one selected sensor value on the marker                       |
| **Control**               | An operator needs to send a configured command to equipment                                            | A switch, button, input, or slider connected to a controllable device                                                  |
| **iFrame**                | External context belongs on the same screen — a BI report, a weather map, live traffic                 | A live external web page from a supported service, embedded in the tile beside your device data                        |
| **Digital building twin** | You want a 3D model of a building with sensors mapped to the objects they monitor                      | A built-in 3D editor that turns a facility into a live scene, recolored by sensor readings                             |

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-a458c5d7c4f55d3ffc57b7b54ce6ecb05199616c%2Fdashboard-widget-picker.jpg?alt=media" alt="The Choose a widget dialog listing Last data, Chart, Text, Image, Map, Digital building twin, Control and iFrame"><figcaption></figcaption></figure>

## Choosing a widget type

**Last data** is your default for displaying current operational state. Use it when you need to show the latest value from one or more devices in a single panel — a plain number for a quick reading, a Doughnut or Pie gauge when the value has a meaningful scale (tank fill, battery level, percentage within a range). Multiple devices can be combined into one widget.

**Chart** is for trend visibility. It shows a large current reading at the top and the historical graph below — you see where the reading is now and how it got there. Choose a [Line Chart](/dashboards/adding-widgets/chart-widget/line-chart) for a continuous trend or a [Bar Chart](/dashboards/adding-widgets/chart-widget/bar-chart) to compare individual reports. One data source and one metric per Chart widget.

**Text** adds headings, instructions, and operational notes. It is a standalone content widget and does not belong to the Control widget family.

**Image** puts data in physical context. Upload a floor plan, site diagram, or equipment schematic, then pin live sensor readings to their exact locations. Use it when location matters — warehouse zone monitoring, building HVAC status by floor, server room rack temperatures.

**Map** plots where a GPS-equipped device is right now on an interactive outdoor map, with one additional metric on the marker. Vehicles, field equipment, mobile tools, shipments, livestock — anything that moves and reports its location can go on it. Date range controls let you review route history without leaving the dashboard.

**Control** sends a configured device command through a Switch, Button, Input, or Slider. It is the only picker-level widget whose purpose is controlling equipment; Chart, Text, Image, and Map are separate widget types.

**Digital building twin** is a 3D model of a facility, built and edited right on the dashboard. Draw the building, place objects from a catalog, and bind each one to a sensor — the model then recolors itself in real time, so an operator reads facility state spatially instead of from a list. See [Digital Building Twin](/dashboards/adding-widgets/digital-building-twin).

## Adding a widget

For every widget type, the setup flow follows the same pattern:

1. Click the **plus button** or **Add widget** button to open the picker.
2. Select a widget type.
3. The selected widget's configuration panel opens.
4. For a data-driven widget, choose its device and metric under **Datasource**, then configure its presentation under **Appearance**. Standalone widgets such as Text and iFrame open their own content settings instead.
5. Click **Save** in the panel to add the widget.

A **close button** (X icon) in the top right dismisses the panel without saving. The **Next** button navigates from Datasource to Appearance. Settings are not applied until you click **Save** in the panel and then **Save** in the dashboard header.

For full configuration details, see the widget-specific pages linked below.

## Editing an existing widget

To modify a widget already on the dashboard:

1. Enter edit mode.
2. Hover over the widget. A **three-dot menu** appears in the top-right corner.
3. Click the menu:
   * **Edit** — Opens the widget's settings panel with current values pre-filled.
   * **Duplicate** — Creates a copy of the widget, with all of its configuration, on the same dashboard. A toast confirms **"Widget successfully duplicated"**; if the copy cannot be created you'll see **"Could not duplicate widget"**.
   * **Move to dashboard** — Moves the widget to a different dashboard. If the move cannot be completed you'll see **"Could not move widget"**.
   * **Delete** — Marks the widget for removal. The deletion is applied only when you click **Save** in the dashboard header. Clicking **Cancel** restores the widget.

The three-dot menu only appears in edit mode.

**Duplicate** saves real time on repetitive deployments. Configure one widget exactly as you want it — value ranges, thresholds, display type, conditions — then duplicate it once per identical sensor and change only the device on the Datasource tab. Fifty cold storage units with the same compliance band are fifty copies of one widget, not fifty configurations built from scratch.

**Move to dashboard** is for when a view outgrows its original home — a metric you added to a general site dashboard turns out to belong on the compliance dashboard, or a widget was built on the wrong dashboard entirely. Move it instead of rebuilding it.

## The empty dashboard state

If a dashboard has no widgets, the center of the screen shows:

* **"You have no widgets here"**
* **"Add your first widget to build your dashboard"**
* An **Add widget** button

## Customization at a glance

Widgets are configurable, not fixed cards. Key options available across widget types:

* **Last Data display types** — Value, Doughnut, Pie, Tube, Gauge, and Radial Gauge
* **Chart types** — Line and Bar, with chart-specific timeframes, axes, thresholds, and legends
* **Control types** — Switch, Button, Input, and Slider; Slider then offers Simple, Circular, and Vertical styles
* **Value ranges** — Min/max boundaries that set gauge scale or chart Y-axis limits
* **Thresholds** — Named bands (e.g., "Compliant", "Warning", "Breach") with colors, fills, and lines — Chart widget
* **Conditions** — Per-metric color rules based on the sensor's current value — Last data and Image widgets
* **Metric-level controls** — Data type, device metric selector, icon, and conditions per sensor

## Widget configuration guides

* [Last Data Widget](/dashboards/adding-widgets/last-data-widget) — Latest values, gauge types, value ranges, and conditions
* [Chart Widget](/dashboards/adding-widgets/chart-widget) — Time-series graphs with live current reading and threshold bands
* [Text Widget](/dashboards/adding-widgets/text-widget) — Headings, instructions, and notes without a device source
* [Image Widget](/dashboards/adding-widgets/image-widget) — Any image — a floor plan, an equipment schematic, a site photo — with draggable live-data pins
* [Map Widget](/dashboards/adding-widgets/map-widget) — GPS tracker location with route history controls
* [Control Widget](/dashboards/adding-widgets/control-widget) — Switches, buttons, inputs, and sliders that send device commands
* [iFrame Widget](/dashboards/adding-widgets/iframe-widget) — Embed an external web page from a supported service beside your device data
* [Conditions](/dashboards/adding-widgets/conditions) — Per-metric color rules for Last data and Image widgets

## Related pages

* [Creating Dashboards](/dashboards/creating-dashboards) — Create the dashboard before adding widgets.
* [Organizing Dashboards](/dashboards/organizing-dashboards) — Manage folders and dashboard ordering.
* [Real-Time Data](/dashboards/real-time-data) — How live sensor data reaches your widgets.


# Last Data Widget

Display the latest sensor reading on a Kilo IoT dashboard with the Last Data widget — number, doughnut, pie, tube.

The Last Data widget shows the **last value received from a sensor**. When a device is actively transmitting, that is also the current value. When a device goes offline after its last transmission, the widget continues showing that last value — it does not clear the display or indicate that the device has stopped reporting. The widget shows what the sensor last said: current if the device is still transmitting, potentially stale if it is not.

Is the pump running or stopped? Is the valve open or closed? What is the cold storage temperature? These are Last Data questions. The widget shows the last transmitted value for each — no trend, no historical comparison, no time axis. For compliance history and shift-to-shift comparison, use the [Chart widget](/dashboards/adding-widgets/chart-widget).

You can display the latest value as-is — a number, text, or a Boolean (`true`/`false`) — or as a Doughnut ring gauge, a Pie filled gauge, a Tube that fills with the reading, a Gauge that marks the reading along a banded track, or a Radial Gauge that shows it on a circular instrument dial. One widget can hold multiple sensors across multiple devices — temperature, humidity, and CO2 for a zone, each styled and color-coded independently. Conditions encode operational context into the display: the same temperature reading that is green in a warehouse can be red in a pharmaceutical cleanroom, because you configure what the reading means in each specific environment.

## Setting up a Last Data widget

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

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

### Step 2 — Datasource tab: connect sensors

The Datasource tab is titled **"Last Data configuration"** with the subtitle **"Configure last data and data sources."**

**Adding a data source:**

1. Click **Add datasource**. A **Datasource 1** block appears. A trash button at the top right of the block removes the whole datasource.
2. In the block, leave **Source** on **Device** (the only choice today), then click **Choose device** and select the device whose sensor you want to display. The **Choose a device** dialog (subtitle **Select the device you want to add**) lists every device in your organization as cards in two columns, so a long list stays smooth to scroll. Type in the search box to narrow the cards by name, select one card, and click **Choose**; **Close** leaves without choosing. Devices already used in this widget are grayed out. Once a device is chosen, the button is replaced by a **Device** field showing its name, with an edit (pencil) icon at the right edge; click the icon to pick a different device, which clears the metrics you had added. If nothing matches, the dialog reads **No devices found matching the definition criteria**; if the list cannot be loaded, it reads **Could not load the device list**.
3. Click **Add metric**. A metric row appears. Each metric row contains:
   * **Data type** — set to Telemetry
   * **Device metric** — the sensor reading to display (any metric type — number, text, or Boolean)
   * **Icon** — a visual indicator for this metric on the widget. The picker appears only when the widget type is **Gauge** or **Tube**; for the other types the row has no icon field.
   * **Conditions button** — labeled **"Conditions: N"** where N is the current count. Click to define what color this reading shows at different values. The default color for the metric is also set here. See [Conditions](/dashboards/adding-widgets/conditions).
   * **Delete** — remove this metric

There is no color picker directly in the metric row. The metric's base color and all threshold colors are set inside the Conditions modal.

> **Metric types.** The **Device metric** list offers every metric type. The **Value** display shows whatever the metric reports — a number, text, or a Boolean (`true`/`false`) — directly, with no conversion. The gauge-style displays (Doughnut, Pie, Tube, Gauge, Radial gauge) need a number to fill or mark a scale: a numeric text value is parsed, and a non-numeric one reads as 0. To change how a metric is stored, open [Metrics](/devices/metric-templates).

**Adding more sensors:**

Click **Add datasource** to add a second device. Duplicate devices are not allowed — each device can only appear once. To add more readings from the same device, click **Add metric** on that device's entry. The button grays out once all available metrics from that device have been added.

When you add a metric, a default value range of 0–100 is created for it automatically. This range sets the scale for the Doughnut, Pie, Tube, and Gauge display types and can be changed in the Appearance tab.

When the data sources are set, click **Next** to continue to the Appearance tab.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-07c4e429f99273137a2b8cf09fd6508e47d0920a%2Flast-data-datasource.jpg?alt=media" alt="The Datasource tab of the Last Data widget with a device and metric selected and a live preview"><figcaption></figcaption></figure>

### Step 3 — Appearance tab: set display style

**Widget name** *(required)* — The label shown on the dashboard. Placeholder: **"Enter widget name"**.

**Description** — Optional context note beneath the widget name.

**Widget type:** — choose how each reading is shown. Every display type has its own page with a screenshot and full detail:

* **Value** — The latest value shown as-is — a number with unit, text, or a Boolean (`true`/`false`) — for readings where the value itself is the information. [→ Value Display](/dashboards/adding-widgets/last-data-widget/number)
* **Doughnut** — A ring gauge that fills proportionally between Min and Max. [→ Doughnut Display](/dashboards/adding-widgets/last-data-widget/doughnut)
* **Pie** — A filled circle gauge — the same scale concept as Doughnut, with more visual weight. [→ Pie Display](/dashboards/adding-widgets/last-data-widget/pie)
* **Tube** — A vertical cylinder whose fill marks where the reading sits in its range; it reads like a level. [→ Tube Display](/dashboards/adding-widgets/last-data-widget/tube)
* **Gauge** — A horizontal track with the reading marked along it and conditions drawn as colored bands. [→ Gauge Display](/dashboards/adding-widgets/last-data-widget/gauge)
* **Radial gauge** — A circular instrument dial with a configurable sweep angle and condition arcs. [→ Radial Gauge Display](/dashboards/adding-widgets/last-data-widget/radial-gauge)

**Value range** *(Doughnut, Pie, Tube, Gauge, and Radial gauge)* — One row per sensor. Set **Min** and **Max** to define the scale the display fills or marks against. The tooltip reads: **"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)."** Min must be strictly less than Max — equal values are not accepted.

**Tick marks** *(Tube, Gauge, and Radial gauge)* — Set how many tick marks divide the scale. On a Gauge the ticks sit along the track, on a Tube they run down the side and take the color of any condition band they fall in, and on a Radial gauge they ring the dial.

**Sweep angle** and **Radial Gauge name** *(Radial gauge only)* — The sweep angle sets how far the dial travels, from 0 to 360 degrees (default 300); the name labels the dial. See [Radial Gauge Display](/dashboards/adding-widgets/last-data-widget/radial-gauge).

**Tube and Gauge have no built-in "good" direction.** The fill or marker simply shows where the value sits; your conditions decide what that means — place the red band at the **low** end to catch something running down, or at the **high** end to catch a level climbing toward trouble. The [Tube](/dashboards/adding-widgets/last-data-widget/tube) and [Gauge](/dashboards/adding-widgets/last-data-widget/gauge) pages show this in full.

**Display data legend** — A toggle that shows a legend listing each sensor metric. Works for every display type.

### Step 4 — Save

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

## What to expect

The widget immediately shows the last known value from each sensor. Values update as sensors report new data.

The value shown is the last one received. If a device has gone offline or is outside communication range, the widget continues showing the last reading — it does not clear the display. Verify a sensor's last-reported time on the device page before acting on a reading if the device may be offline.

If a sensor hasn't reported yet: **"Waiting for live data"**. If the widget has no metrics configured: **"Add a metric to start visualizing data"** or **"Choose data source and add metric"**.

## Common patterns

Most Last Data widgets fall into one of a few shapes. Each display type has its own page with the full walkthrough and worked examples — start here, then follow the link.

* **Statuses** — running/stopped, open/closed, on/off. A plain figure with one condition per state reads best as a [Value display](/dashboards/adding-widgets/last-data-widget/number).
* **Measured readings** — an exact temperature, pressure, or flow with compliance bands behind it. Use a [Value display](/dashboards/adding-widgets/last-data-widget/number) for the figure, or a [Gauge display](/dashboards/adding-widgets/last-data-widget/gauge) when position against thresholds is what matters.
* **Levels** — tanks, silos, reserves, anything with a floor and a ceiling. Show the proportion as a [Doughnut](/dashboards/adding-widgets/last-data-widget/doughnut) or [Pie](/dashboards/adding-widgets/last-data-widget/pie), or as a filling [Tube](/dashboards/adding-widgets/last-data-widget/tube) when it should read like a physical level.
* **Thresholds** — a value that must stay inside a safe window, or trip a warning when it crosses a line. The [Gauge display](/dashboards/adding-widgets/last-data-widget/gauge) paints your conditions as bands along the track so a crossing is unmistakable.

## See also

* [Conditions](/dashboards/adding-widgets/conditions) — Define color rules for each metric
* [Adding Widgets](/dashboards/adding-widgets) — Edit mode and widget picker


# Value Display

Show a sensor's latest value — number, text, or Boolean — with the Value display in the Kilo IoT Last Data widget.

The Value display shows a reading's latest value as-is — no gauge, no scale, just the value. It works for **any** metric type: a number with its unit, a **text** value shown verbatim, or a **Boolean** shown as `true` or `false`. When a tile holds several metrics, they sit side by side, each with its own color and label, so one compact panel can carry the temperature, humidity, and CO2 of a zone at once.

Reach for Value when the reading itself is the information and there is no range to visualize against — an exact instrument reading an engineer acts on, a text status, an on/off state, or a multi-metric summary where space is tight.

Because there is no scale, Value is the one Last Data display type with no **Value range** to set.

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

## When to choose it

* A precise reading operators act on directly — a calibrated pressure, a flow rate, a cold-store temperature.
* A compact multi-metric tile — several readings from one zone or asset in a single panel.
* A status or count value where the number is self-explanatory and a gauge would add nothing.

These are starting points — any reading where the bare figure communicates best suits the Value display.

## Configure a Value display

Here is a full setup for one real case — a tile that shows at a glance whether a pump is running. The pump controller reports just two values — `1` when running and `0` when stopped. Because the reading is only ever 0 or 1, there is nothing to fill or scale: a Value tile is the natural fit, and each condition only has to match one of those two values. This is one example: a Value tile suits any reading where the figure itself is the information — only the device and the conditions change.

1. Open the dashboard in edit mode and click **Last data** in the widget picker. The settings panel opens on the **Datasource** tab, with no data sources yet.
2. Click **Add datasource**. A **Datasource 1** block appears.
3. In the block, click **Choose device** and select the pump controller.
4. Click **Add metric**. A metric row appears.
5. In the row, set **Data type** to **Telemetry**, choose the running-state reading under **Device metric**, and pick an **Icon**.

   > **Note on metric types.** The **Device metric** list offers every metric type. The Value display shows whatever the metric reports — a number, a text value, or a Boolean (`true`/`false`) — so no type conversion is needed here. (The gauge-style displays — Doughnut, Pie, Gauge, Tube, Radial gauge — do need a number: a numeric text value is parsed, and a non-numeric one reads as 0. To change how a metric is stored, open **Devices → Metrics** — see [Metrics](/devices/metric-templates).)
6. Click **Conditions: N** to open the Conditions modal. Set a **Default color** — the color the reading falls back to whenever none of your conditions match the current value — then for each state click **Add condition** and fill the row — enter a **Condition name**, set **Data type** to **Number** (the condition's own Data type, not the metric row's), because the pump only ever reports 0 or 1, set **From** and **To** to the same number — the value that condition should catch — and pick a **Color**. Then you can enter the two states. For example:

   * "Running" — **From** 1, **To** 1 — blue
   * "Stopped" — **From** 0, **To** 0 — gray

   Click **Save** to close the modal.
7. Click **Next** to move to the **Appearance** tab.
8. Enter a **Widget name** — for example "Pump 1" — and, if useful, a **Description**.
9. Under **Widget type**, choose **Value**. No **Value range** or **Tick marks** fields appear — the Value display has no scale, because a status reading like 0 or 1 has nothing to fill; the value itself is the message.
10. Switch on **Display data legend** if you want a labeled legend, then click **Save**.

The tile still shows the number — `1` or `0` — and the condition color paints it blue when the pump is running and gray when it is stopped, so the state reads at a glance without anyone interpreting the digit. Line up one Value tile per pump and a supervisor takes in the whole fleet at once. The same setup fits any status reading — a valve's open/closed flag, a door contact, a leak sensor — by changing the device and the two conditions.

## Worked examples

**An exact measured value** When the figure itself matters, the Value tile shows it in full. A cold-storage probe reporting in °C needs no scale — the conditions are simply the temperature thresholds that matter. Take three: "Compliant" — From 2, To 8 — green; "Warning" — From 8, To 12 — amber; "Breach" — From 12, To 30 — red (the To value just sits above any temperature the rack would realistically reach). An operator sees the exact reading — `6.4 °C` — and the color delivers the compliance verdict at the same time. The number is never hidden; the color is meaning added on top of it. To confirm the rack held temperature across a whole shift, use the [Chart widget](/dashboards/adding-widgets/chart-widget).

**A text or on/off status** The Value display isn't limited to numbers. A device that reports a text status (for example `OPEN`, `CLOSED`, `FAULT`) or a Boolean shows that value directly — the text verbatim, a Boolean as `true`/`false` — with no conversion. Conditions and colors still apply, so you can paint a `FAULT` status red while `OK` stays green.

**A multi-metric tile** A Value widget can carry several readings at once. Add three metrics from one multi-sensor device — temperature, humidity, CO2 — and each keeps its own icon, conditions, and color, sitting side by side as one compact panel for the zone.

## See also

* [Last Data Widget](/dashboards/adding-widgets/last-data-widget) — Full setup reference and the other display types
* [Conditions](/dashboards/adding-widgets/conditions) — Numeric From/To color rules for each metric
* Other display types: [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

Visualize a sensor reading as a proportional ring with the Doughnut display in the Last Data widget — ideal for %.

The Doughnut display draws the reading as a ring that fills proportionally between a minimum and a maximum you define, with the current value in the center. At a glance it answers "how far along is this?" — a quarter full, nearly maxed out — without anyone reading the number.

It suits any reading that lives inside a known range: a fill level, a percentage, a capacity, a value that should sit somewhere within an operating band. The ring's fill makes the position in that range immediate.

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

## When to choose it

* A reading with a defined operating range where the proportion matters — tank capacity, battery charge, utilization against a limit.
* A dashboard tile where an operator should register low / mid / high in a glance, not parse digits.
* Anywhere a percentage or ratio reads more clearly as a filled ring than as a figure.

Wherever a reading has a meaningful floor and ceiling, the Doughnut turns it into a shape — let your own metrics suggest where it fits.

## Configure a Doughnut display

Here is a full setup for one real case — a ring that shows an office's temperature and whether it is comfortable. A temperature sensor reports the room in °C. A temperature is unlike a tank — it has no natural "empty" or "full", so there is no obvious 0 and 100. The ring still needs a floor and a ceiling, so you pick a window wide enough to hold every temperature the room could realistically reach: for a house room, about -5 °C to +40 °C. This is one example: a Doughnut suits any reading you want to see as a proportion of a range — only the device and the numbers change.

1. Open the dashboard in edit mode and click **Last data** in the widget picker. The settings panel opens on the **Datasource** tab, with no data sources yet.
2. Click **Add datasource**. A **Datasource 1** block appears.
3. In the block, click **Choose device** and select the temperature sensor.
4. Click **Add metric**. A metric row appears.
5. In the row, set **Data type** to **Telemetry**, choose the temperature reading under **Device metric**, and pick an **Icon**.

   > **This display needs a number.** The **Device metric** list offers every metric type, but a gauge fills against a scale — pick a numeric reading here; a non-numeric text value reads 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 metric is stored, open **Devices → Metrics** — see [Metrics](/devices/metric-templates).
6. Click **Conditions: N** to open the Conditions modal. Set a **Default color** — the color the reading falls back to whenever none of your conditions match the current value — then for each band click **Add condition** and fill the row — enter a **Condition name**, set **Data type** to **Number** (the condition's own Data type, not the metric row's), because a house room realistically swings between -5 °C and 40 °C, enter **From** -5 (the coldest you would expect) and **To** 40 (the hottest), and pick a **Color**. Then you can enter the color levels. For example:

   Working up from the coldest:

   * "Too cold" — **From** -5, **To** 15 — red
   * "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

   Click **Save** to close the modal.
7. Click **Next** to open the **Appearance** tab.
8. Enter a **Widget name** — for example "Office temperature" — and an optional **Description**.
9. Under **Widget type**, choose **Doughnut**. A **Value range** section appears for the metric.
10. Set **Min value** to **-5** and **Max value** to **40** — the window you chose for a house room. The ring fills to show where the current temperature sits across that -5–40 °C span, and the condition the reading falls in colors it.
11. Switch on **Display data legend** if useful, then click **Save**.

The ring shows the temperature as a position in the chosen range and turns green only inside the comfortable band. The same steps fit any reading with a sensible floor and ceiling — only the device, the **Min value**/**Max value**, and the conditions change. A Doughnut earns its place when "how far through the range" is the question; for a temperature you simply want to read off, a Number or Gauge is often the more natural display.

## Worked examples

**The same sensor, a completely different setup — a refrigerator** A refrigerator uses the *same kind* of temperature sensor as the office above, yet every number is different — because the right window depends on what you are measuring. A fridge's safe band is roughly 0–5 °C, so you 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**. Then build three conditions: "Too cold" — From -5, To 0 — blue; "Safe" — From 0, To 5 — green; "Too warm" — From 5, To 15 — red. Identical hardware, identical steps — only the window and the bands change, because "good" means something completely different in a fridge than in an office. That is the heart of conditions: you decide what each reading means in its own context.

**A fill level** A Doughnut is a natural fit for a tank or a battery. A level sensor in a 5,000-liter tank reports the contents in liters, so 0 L is an empty tank and 5,000 L is full — **Min value** 0, **Max value** 5000 — with conditions green From 3000 To 5000, yellow From 1000 To 3000, red From 0 To 1000. The ring empties visibly as the tank is drawn down.

## See also

* [Last Data Widget](/dashboards/adding-widgets/last-data-widget) — Full setup reference and the other display types
* [Conditions](/dashboards/adding-widgets/conditions) — Numeric From/To color rules for each metric
* Other display types: [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

Render a sensor reading as a bold filled disc with the Pie display — high-contrast for wall displays.

The Pie display is a solid filled gauge — a circle that fills in as a wedge, complete at the maximum — with the value beside it. It works on the same scale principle as the Doughnut: the reading is shown as a proportion of a defined range. The difference is visual weight — a solid disc rather than a thin ring.

Choose Pie when you want a bolder mark on the dashboard, a tile that reads as a strong block of color.

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

## When to choose it

* The same range-based readings the Doughnut handles — fill, capacity, percentage — when a solid, high-contrast visual suits the board better.
* A tile that needs to stand out among lighter widgets.
* A wall display where a filled disc reads more clearly at distance than a ring outline.

Doughnut and Pie are interchangeable in function — pick whichever visual fits the dashboard, and let the look of the surrounding board guide the choice.

## Configure a Pie display

Here is a full setup for one real case — a bold capacity tile for a process-water reservoir on a supervisory dashboard. A level sensor reports the reservoir contents in liters, and the reservoir holds 8,000 liters — so the reading is 0 when empty and 8,000 when full. That 0–8,000 is the scale, and each condition is a slice of it. This is one example: a Pie suits any reading shown as a proportion of a range — only the device and the numbers change.

1. Open the dashboard in edit mode and click **Last data** in the widget picker. The settings panel opens on the **Datasource** tab, with no data sources yet.
2. Click **Add datasource**. A **Datasource 1** block appears.
3. In the block, click **Choose device** and select the reservoir's level sensor.
4. Click **Add metric**. A metric row appears.
5. In the row, set **Data type** to **Telemetry**, choose the volume reading under **Device metric**, and pick an **Icon**.

   > **This display needs a number.** The **Device metric** list offers every metric type, but a gauge fills against a scale — pick a numeric reading here; a non-numeric text value reads 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 metric is stored, open **Devices → Metrics** — see [Metrics](/devices/metric-templates).
6. Click **Conditions: N** to open the Conditions modal. Set a **Default color** — the color the reading falls back to whenever none of your conditions match the current value — then for each band click **Add condition** and fill the row — enter a **Condition name**, set **Data type** to **Number** (the condition's own Data type, not the metric row's), because the reservoir holds 8,000 liters, enter **From** 0 (an empty reservoir) and **To** 8000 (a full one), and pick a **Color**. Then you can enter the color levels. For example:

   Working up from empty:

   * "Adequate" — **From** 5000, **To** 8000 — green
   * "Plan a refill" — **From** 2000, **To** 5000 — yellow
   * "Refill now" — **From** 0, **To** 2000 — red

   Click **Save** to close the modal.
7. Click **Next** to open the **Appearance** tab.
8. Enter a **Widget name** — for example "Process water" — and an optional **Description**.
9. Under **Widget type**, choose **Pie**. A **Value range** section appears for the metric.
10. Set **Min value** to **0** (an empty reservoir) and **Max value** to **8000** (its full 8,000-liter capacity) — the same range the conditions use. The wedge fills the whole circle at 8,000 liters.
11. Switch on **Display data legend** if useful, then click **Save**.

The result: a solid disc that reads as a strong block of color from across the room — full and green while the reservoir is well stocked, shrinking through yellow to red as it is drawn down. The same steps fit any capacity or proportion reading; change the device, the **Min value**/**Max value**, and the bands to match.

## Worked examples

**Daily throughput against a target** Set the day's target as the **Max value** and a counter that resets each shift as the metric. With **Min value** 0 (nothing produced yet) and **Max value** set to the day's target, the disc fills as the shift progresses — a half-filled disc by midday is on pace. Conditions can hold it red until a minimum output is reached and green once the target is in sight.

**Soil moisture across a planted area** A soil-moisture sensor reports a percentage, so the scale is naturally **Min value** 0 (bone dry) and **Max value** 100 (saturated), with conditions green From 40 To 80, yellow From 20 To 40, red From 0 To 20. The filled disc makes a dry zone obvious at a glance.

## See also

* [Last Data Widget](/dashboards/adding-widgets/last-data-widget) — Full setup reference and the other display types
* [Conditions](/dashboards/adding-widgets/conditions) — Numeric From/To color rules for each metric
* Other display types: [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 fill level as a vertical sight-glass cylinder with the Tube display — tanks, silos, reservoirs.

The Tube display is a vertical cylinder that fills from the bottom as the reading rises between a minimum and a maximum, with tick marks down the side and the value shown on the tube. It reads like a physical sight glass — the fill height *is* the reading.

Tube is the natural choice for anything you already picture as a level. Because the conditions decide the colors, it works equally for "how full" and "how empty" — a tank filling up, or a reserve draining down.

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

## Watch a drop, or watch a rise

The Tube has no built-in "good" or "bad" end. You decide which direction is the problem and paint the conditions to match — the same widget covers two opposite jobs:

* **Monitor a decrease** — when the danger is *running low*. A diesel or heating-oil tank, a chemical reserve, a water cistern: the level falls as it's consumed, so put the warning colors at the **bottom**. The column reads green while well stocked and turns yellow then red as it drains toward empty, so a refill is never a surprise.
* **Monitor an increase** — when the danger is *rising too high*. A sump or drainage pit kept low by a pump: if the pump malfunctions the water has nowhere to go and the level climbs, so put the warning colors at the **top**. The column sits short and green in normal service and rises into a red band near the overflow point, flagging the fault before it floods.

The mechanism is identical — only where you place the red condition changes. Both setups are shown in full below.

## When to choose it

* A genuine physical level — a storage tank, a silo, a cistern, a reservoir, a sump pit.
* A reserve or consumable where the question is "how much is left," and the fill falling toward the bottom is the signal.
* A contained level that must not climb past a safe point, where the fill rising toward the top is the signal.
* Any reading where an operator's instinct is to picture a column rising and falling.

Wherever a value has a meaningful floor and ceiling and "level" is the mental model, the Tube fits — the conditions then decide which end is the one to watch.

## Configure a Tube display

Here is a complete setup for one real case — monitoring the level in a storage tank so you know when to refill it. The tank stands 100 cm tall, and a level sensor reports the current fill in centimeters — so the reading is 0 when the tank is empty and 100 when it is full to the top. Those two numbers, 0 and 100, become the scale for the whole widget, and every condition is a slice of that 0–100 cm height. This is only an example: the same steps fit salt, grain, feed, water, fuel, or any material on a scale — only the device and the numbers change.

1. Open the dashboard in edit mode and click **Last data** in the widget picker. The settings panel opens on the **Datasource** tab, with no data sources yet.
2. Click **Add datasource**. A **Datasource 1** block appears.
3. In the block, click **Choose device** and select the tank's level sensor.
4. Click **Add metric**. A metric row appears.
5. In the row, set **Data type** to **Telemetry**, choose the fill-level reading under **Device metric**, and pick an **Icon**.

   > **This display needs a number.** The **Device metric** list offers every metric type, but a gauge fills against a scale — pick a numeric reading here; a non-numeric text value reads 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 metric is stored, open **Devices → Metrics** — see [Metrics](/devices/metric-templates).
6. Click **Conditions: N** to open the Conditions modal. Set a **Default color** — the color the reading falls back to whenever none of your conditions match the current value — then for each band click **Add condition** and fill the row — enter a **Condition name**, set **Data type** to **Number** (the condition's own Data type, not the metric row's), Because for this example our tank is 100cm in Height enter **From** 0cm (Bottom of the tank) and **To** 100cm , and pick a **Color**. Then you can enter the color levels. For example:

Working up from the bottom:

* "Critical" — **From** 0, **To** 10 — burgundy (a deep red, darker than the next band)
* "Refill now" — **From** 10, **To** 30 — red
* "Refill soon" — **From** 30, **To** 60 — yellow
* "Healthy" — **From** 60, **To** 100 — green

Click **Save** to close the modal. 7. Click **Next** to open the **Appearance** tab. 8. Enter a **Widget name** — for example "Tank level" — and an optional **Description**. 9. Under **Widget type**, choose **Tube**. A **Value range** section appears for the metric. 10. Set **Min value** to **0** (an empty tank) and **Max value** to **100** (full to the top) — the same 0–100 the conditions are built on — and set **Tick marks** to **10** so the tube is divided every 10 cm (each tick takes the color of the band it falls in). 11. Switch on **Display data legend** if you want the metric labeled, then click **Save**.

The result: a cylinder that stands tall and green while the tank is well stocked, drops through yellow and red as the contents run down, and shows a burgundy sliver when it is nearly empty — so a glance tells you when to act. Swap in a different sensor and different band edges and the very same setup watches a salt tank, a grain store, a feed bin, or a chemical drum.

## Worked examples

**Sump or groundwater pump — a rising level** A sump or drainage pit relies on a pump to keep the water low; if the pump fails, the level climbs and the basement floods. Put a level sensor in 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 at the overflow point — set **Min value** 0 and **Max value** 100, then add three conditions: "Normal" — From 0, To 30 — green; "Level rising" — From 30, To 60 — yellow; "Critical — check the pump" — From 60, To 100 — red. In normal service the column is short and green; if the pump quits, the water has nowhere to go and the column climbs into the red band. The sensor matters here: a level sensor reads higher as the water rises, while a top-mounted distance sensor reads lower — set the red condition on whichever value represents high water for the sensor you installed. The Tube makes the rising level visible on the dashboard; for an actual notification, use an [Alarm](/alarm).

**Heating-oil or rainwater tank** Any stored liquid works the same way — a level sensor in a heating-oil tank or a rainwater cistern, with **Min value** 0 for an empty tank and **Max value** set to that tank's own full level. The tube rises as the tank fills and falls as it is drawn down, with conditions coloring the low end so a refill is never a surprise.

## See also

* [Last Data Widget](/dashboards/adding-widgets/last-data-widget) — Full setup reference and the other display types
* [Conditions](/dashboards/adding-widgets/conditions) — Numeric From/To color rules for the fill
* Other display types: [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

Track a reading against thresholds with the Gauge — colored bands show safe, warning, and breach zones.

The Gauge display draws each reading as a marker sliding along a horizontal track. The track is scaled between a minimum and a maximum, and every numeric condition you set becomes a colored band along it — so the marker's position shows operational status, not just a value. The numeric value is shown in full above the track.

This is the display for readings where the position against thresholds is the point: whether a value sits inside its safe band, is drifting toward a limit, or has already crossed one.

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

## When to choose it

* A reading that should stay within an operating window — pressure, RPM, a controlled temperature — where the bands carry the meaning.
* Low-end alerting — a consumable or reserve where the marker dropping into a red band is the warning.
* High-end alerting — a level that should stay low, where the marker climbing into red signals trouble.

The Gauge has no fixed "good" end; your condition bands decide what each end of the track means. Wherever a reading has thresholds, the Gauge makes crossing them visible — the situations above are a starting point, not the limit.

## Configure a Gauge display

Here is a full setup for one real case — watching a sump pit so a pump failure is caught before the basement floods. The pump keeps the water 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) to 100 (water at the overflow point). That 0–100 is the track's scale, and each condition paints one stretch of it. This is one example: a Gauge suits any reading measured against thresholds — only the device and the band edges change.

1. Open the dashboard in edit mode and click **Last data** in the widget picker. The settings panel opens on the **Datasource** tab, with no data sources yet.
2. Click **Add datasource**. A **Datasource 1** block appears.
3. In the block, click **Choose device** and select the pit's level sensor.
4. Click **Add metric**. A metric row appears.
5. In the row, set **Data type** to **Telemetry**, choose the water-level reading under **Device metric**, and pick an **Icon**.

   > **This display needs a number.** The **Device metric** list offers every metric type, but a gauge fills against a scale — pick a numeric reading here; a non-numeric text value reads 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 metric is stored, open **Devices → Metrics** — see [Metrics](/devices/metric-templates).
6. Click **Conditions: N** to open the Conditions modal. Set a **Default color** — the color the reading falls back to whenever none of your conditions match the current value — then for each band click **Add condition** and fill the row — enter a **Condition name**, set **Data type** to **Number** (the condition's own Data type, separate from the metric row's), because the pit is 100 cm deep, enter **From** 0 (the dry floor) and **To** 100 (the overflow point), and pick a **Color**. Then you can enter the color levels. For example:

   Working up from the dry floor:

   * "Normal" — **From** 0, **To** 30 — green
   * "Rising" — **From** 30, **To** 60 — yellow
   * "Critical" — **From** 60, **To** 100 — red

   On a Gauge these conditions render as colored bands along the track. Click **Save** to close the modal.
7. Click **Next** to open the **Appearance** tab.
8. Enter a **Widget name** — for example "Sump pit level" — and an optional **Description**.
9. Under **Widget type**, choose **Gauge**. A **Value range** section appears for the metric.
10. 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 the bands use — and set **Tick marks** to **10**.
11. Switch on **Display data legend** if useful, then click **Save**.

The result: a track whose marker sits low and green while the pump keeps up. If the pump fails, the water rises and the marker travels along the track and crosses into the red band — that crossing is the event you are watching for. One note on the sensor: a level sensor reads higher as the water rises, while a top-mounted distance sensor reads lower — set the red band on whichever value means high water for the sensor you fitted. The Gauge makes the condition visible on the dashboard; for a notification, use an [Alarm](/alarm). The same banded track watches anything measured against limits — only the metric and the band edges change.

## Worked examples

**A consumable running low** Where the danger is at the *low* end, paint the bands the other way. A reserve reported as a percentage runs 0 % (empty) to 100 % (full), so the track takes **Min value** 0 and **Max value** 100. A coolant or reagent tank then gets three conditions: "Top up now" — From 0, To 15 — red; "Getting low" — From 15, To 40 — yellow; "Healthy" — From 40, To 100 — green. The marker sits high and green while the reserve is full and drops toward the red as the process draws it down.

**Staying inside a safe window** Some readings must stay *between* two limits, not above or below one. For a compressor whose pressure works between 0 and 10 bar, the track spans that working range — set **Min value** 0 and **Max value** 10 — then paint a green band across the middle with warning bands on both ends: "Low" — From 0, To 2 — red; "Low warning" — From 2, To 4 — yellow; "Normal" — From 4, To 7 — green; "High warning" — From 7, To 9 — yellow; "High" — From 9, To 10 — red. The marker's position shows at a glance whether the equipment is running where it should, and drift toward either edge is visible before it becomes a fault.

## See also

* [Last Data Widget](/dashboards/adding-widgets/last-data-widget) — Full setup reference and the other display types
* [Conditions](/dashboards/adding-widgets/conditions) — Numeric From/To rules that become the track bands
* Other display types: [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 reading on a circular dial with the Radial Gauge — a configurable sweep angle, tick marks, and condition arcs.

The Radial Gauge draws each reading as a needle on a **circular dial**. The dial is scaled between a minimum and a maximum, the condition bands you define paint colored arcs around it, and a configurable **sweep angle** lets the dial range from a near-full circle to a tight arc. It's the instrument-panel look — the reading you'd expect on a pressure gauge, a tachometer, or a fill indicator.

It is the sixth display type of the [Last Data widget](/dashboards/adding-widgets/last-data-widget), alongside Number, Doughnut, Pie, Tube, and the horizontal [Gauge](/dashboards/adding-widgets/last-data-widget/gauge).

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

## Radial gauge vs. the horizontal Gauge

Both plot a value against a scale with condition bands, so choose by shape and context:

* The [**Gauge**](/dashboards/adding-widgets/last-data-widget/gauge) is a horizontal track — compact, and it lines up neatly when several sit in a row.
* The **Radial Gauge** is a round dial — it reads like a physical instrument and carries more visual presence on a control-center screen, which suits a small number of headline readings rather than a dense row of many.

## When to choose it

* A flagship reading on a NOC or operations dashboard where an instrument dial communicates status instantly across a room.
* A value with a natural full-scale point — pressure against its rated maximum, a reserve against capacity, throughput against a ceiling.
* Any threshold reading where you want condition bands rendered as arcs the eye can read at a glance.

## Configure a Radial Gauge display

The setup follows the standard [Last Data widget](/dashboards/adding-widgets/last-data-widget) flow — add a datasource, choose the device and a numeric metric, and define [Conditions](/dashboards/adding-widgets/conditions). The radial-gauge-specific settings live on the **Appearance** tab once you select the type.

1. Open the dashboard in edit mode and click **Last data** in the widget picker.
2. On the **Datasource** tab, click **Add datasource**, choose the device, and **Add metric** — set **Data type** to **Telemetry** and pick the numeric reading.
3. Click **Conditions: N** and define a **Default color** and one band per status (each with a **From**/**To** range and color). On a Radial Gauge these render as colored arcs around the dial. **Save** the modal.
4. Click **Next** to open **Appearance**, and enter a **Widget name** and optional **Description**.
5. Under **Widget type**, choose **Radial gauge**. The radial settings appear:
   * **Min value** and **Max value** — the two ends of the dial's scale. **Min must be strictly less than Max.**
   * **Tick marks** — how many marks divide the scale around the dial.
   * **Sweep angle** — how far the dial sweeps, in degrees from **0 to 360**. The default is **300**, which leaves a gap at the bottom like a classic instrument; raise it toward 360 for a full ring, or lower it for a tighter arc.
   * **Radial Gauge name** — a short label shown with the dial (pre-filled from the metric, editable).
6. Toggle **Display data legend** if you want the metric listed, then click **Save**.

The dial appears with the needle at the current reading, the condition arcs behind it, and tick marks around the scale — updating as the sensor reports.

## Worked example

**Compressor discharge pressure.** A compressor rated to 10 bar gets a Radial Gauge scaled **Min value** 0, **Max value** 10, with **Tick marks** 10 and the default **Sweep angle** 300. Three condition arcs give it instant meaning: "Normal" From 0 To 7 green, "High warning" From 7 To 9 yellow, "Critical" From 9 To 10 red. On the operations screen the needle sits in the green during normal running and swings toward the red arc as pressure climbs — a glance tells the shift whether the machine is where it should be. To raise a notification on a crossing rather than just show it, pair the widget with an [Alarm](/alarm).

## See also

* [Last Data Widget](/dashboards/adding-widgets/last-data-widget) — Full setup reference and the other display types
* [Gauge Display](/dashboards/adding-widgets/last-data-widget/gauge) — The horizontal-track alternative
* [Conditions](/dashboards/adding-widgets/conditions) — Numeric From/To rules that become the dial's arcs
* Other display types: [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

Control a device from a Kilo dashboard with a Switch, Button, Slider, or Input widget bound to a device command.

Most widgets report. The **Control widget** acts. It puts an interactive control on your dashboard — a **Switch**, **Button**, **Slider**, or **Input** — bound to one of a device's commands, so an operator can change the device's state right next to the readings that tell them whether they need to. It is the dashboard face of [Device Commands](/devices/commands): the command does the work, the widget is the control surface.

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

## Prerequisite — define a command first

A Control widget operates an existing **device command**, so the device must already have one defined on its **Commands & States** tab. If a device has no commands it won't appear in the picker (you'll see *"No controllable devices in this organization"*). Set the command up first — see [Creating Commands](/devices/commands/creating-commands) — then bind the widget to it.

## Shared setup flow

Every Control widget is created the same way; only the **Appearance** fields differ by type.

1. Open the dashboard in **edit mode** and click **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 reflects the device's current state. Click **Next**.
3. On the **Appearance** tab, enter a **Widget name** (required) and optional **Description**, then choose a **Widget type** (below). Fill in that type's fields and click **Save**.

## Choose a control type

| Type                                                                         | Best for                                               | Sends                                        |
| ---------------------------------------------------------------------------- | ------------------------------------------------------ | -------------------------------------------- |
| [Switch](/dashboards/adding-widgets/control-widget/switch)                   | A persistent two-state condition (on/off, open/closed) | An on or off command as you toggle           |
| [Button](/dashboards/adding-widgets/control-widget/button)                   | A one-shot action (reset, open, start)                 | A single command per press                   |
| [Simple Slider](/dashboards/adding-widgets/control-widget/slider-simple)     | A numeric value on a horizontal track                  | A command parameter as you slide             |
| [Circular Slider](/dashboards/adding-widgets/control-widget/slider-circular) | A numeric value on a radial dial                       | A command parameter as you turn the dial     |
| [Vertical Slider](/dashboards/adding-widgets/control-widget/slider-vertical) | A numeric value on an upright track                    | A command parameter as you slide             |
| [Input](/dashboards/adding-widgets/control-widget/input)                     | An exact typed value                                   | A command parameter when you press **Apply** |

The three sliders are the **Slider type** options — **Simple**, **Circular**, and **Vertical** — that you pick after choosing **Slider** as the widget type.

## How it behaves

* **Operate from the dashboard.** Using the control dispatches the bound command through the same pipeline as the device's States tab — same validation, delivery, and execution history.
* **Reflects real state.** The widget reads the **Device metric** and shows the current state, so it stays in sync with the device rather than just remembering the last action.
* **Disabled when it can't act.** If the device is offline or the binding is incomplete, the control is shown disabled rather than sending into the void.

## See also

* [Device Commands](/devices/commands) — define and manage the commands a Control widget operates
* [Creating Commands](/devices/commands/creating-commands) — set up the command to bind
* 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 Kilo IoT dashboard to flip a device between two states — on/off, open/closed.

The **Switch** is the two-state control type. It's a toggle for a condition that persists — running or stopped, open or closed, enabled or disabled — where the operator flips between two states and the dashboard shows which one is currently active.

## When to use it

Reach for a Switch when the device holds a lasting state you want to both **set** and **see**: enabling or disabling a **pump**, energising a **relay**, opening or closing a **valve**, or starting and stopping a **fan**. Pair it with a state metric so the toggle reflects the equipment's real condition, not just the last command sent.

## What you need first

* A controllable device — one with commands defined on its **Commands & States** tab (see [Creating Commands](/devices/commands/creating-commands)).
* A command for each state. This can be one command that takes a state parameter (e.g. `ON, OFF`) or two separate commands.
* A **Device metric** that reports the device's current state, so the switch can show on or off correctly.

## How to set it up

1. Open the dashboard in **edit mode** → **Add widget** → **Control**.
2. **Datasource** tab: choose the **Device** and the **Device metric** that reflects its state. Click **Next**.
3. **Appearance** tab: enter a **Widget name**, then under **Widget type** choose **Switch**.
4. Configure the two **state bindings** — the **On** row and the **Off** row. For each:
   * **Label** — what that state is called on the widget (e.g. "On" / "Off").
   * **Command** *(required)* — the command this state sends.
   * **Expected sensor value** *(required once a command is set)* — what the Device metric reads when this state is active. It's auto-filled from the command where possible; edit it if your sensor reports a different value.
   * If the command takes parameters, set each **Value**.
5. Set the **Switch color** for the **On**, **Off**, and **Disabled** states, toggle **Display labels**, and toggle **Display name and last update**.
6. Click **Save**.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-f29ff1f2f08a32acd480f2e6cc1aa2e108e095f9%2Fcontrol-widget-switch.jpg?alt=media" alt="Switch Control configured with on and off state bindings and switch colors"><figcaption></figcaption></figure>

## What happens when you use it

Toggling the switch dispatches the bound command for the target state through the device's command pipeline (the same one the States tab uses). The widget flips optimistically, then settles to the real state once the Device metric reports back — so if the device rejects or doesn't reach the new state, the switch returns to where it was.

## Common mistakes

* **No state metric bound** — without a Device metric, the switch can send commands but can't show the true state. Always bind the reading that reflects on/off.
* **Wrong expected value** — if the Expected sensor value doesn't match what the device actually reports, the switch will look out of sync. Check the *current value* hint against the field.
* **Only one state has a command** — both the On and Off bindings need a command for a two-way toggle.

## See also

* [Control widget](/dashboards/adding-widgets/control-widget) — overview and the other control types
* [Device Commands](/devices/commands) — define the commands this switch operates


# Button

Add a Button Control to a Kilo IoT dashboard to fire a one-shot device command — reset, open, or start.

The **Button** is the one-shot action type. A press sends a command once. Unlike a Switch, it doesn't represent a lasting state — it triggers something and is done.

## When to use it

Use a Button for momentary or trigger actions where there's no on/off state to hold: **reset** a piece of equipment, trigger a **calibration**, **open a gate**, or **start a process**. If the action is "do this now" rather than "stay in this state," a Button is the right control.

## What you need first

* A controllable device with a command defined on its **Commands & States** tab (see [Creating Commands](/devices/commands/creating-commands)).
* The command that performs the action you want the button to trigger.

## How to set it up

1. Open the dashboard in **edit mode** → **Add widget** → **Control**.
2. **Datasource** tab: choose the **Device** and a **Device metric**. Click **Next**.
3. **Appearance** tab: enter a **Widget name**, then under **Widget type** choose **Button**.
4. Set the **state bindings** with the **Command** the button sends (and any parameter **Value**s), plus the **Expected sensor value** where the action produces a verifiable state.
5. Set the **Button color** (Active / Inactive / Disabled) and the **Button size** — **S**, **M**, or **L** (default M). Toggle **Display name and last update**.
6. Click **Save**.

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

## What happens when you use it

Pressing the button dispatches its command once through the device's command pipeline, and the execution is recorded in the device's **States** tab history like any other command. There's no persistent on/off position to maintain — the button is a trigger.

## Common mistakes

* **Using a Button for a state you need to see** — if you need the dashboard to show whether something is on or off, use a [Switch](/dashboards/adding-widgets/control-widget/switch) instead.
* **Expecting confirmation a momentary action can't give** — a one-shot trigger (e.g. "reset") may not produce a lasting metric change to verify against; that's expected.

## See also

* [Control widget](/dashboards/adding-widgets/control-widget) — overview and the other control types
* [Device Commands](/devices/commands) — define the command this button fires


# Simple Slider

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

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

## When to use it

Use a Simple slider for any value an operator dials up or down where a horizontal control reads naturally: a **motor or fan speed**, a **dimming level**, or a **target setpoint**. If you want a level-style or instrument-style look instead, see the [Vertical Slider](/dashboards/adding-widgets/control-widget/slider-vertical) or [Circular Slider](/dashboards/adding-widgets/control-widget/slider-circular).

## What you need first

* A controllable device with a command on its **Commands & States** tab whose **parameter takes a number** (see [Creating Commands](/devices/commands/creating-commands)).
* A **Device metric** that reports the current value, so the slider shows where the setting sits.

## How to set it up

1. Open the dashboard in **edit mode** → **Add widget** → **Control**.
2. **Datasource** tab: choose the **Device** and the **Device metric** for the live value. Click **Next**.
3. **Appearance** tab: enter a **Widget name**, choose **Widget type → Slider**, then set **Slider type → Simple**.
4. Set the **Command** the slider drives, the **Parameter** it sets, and a starting **Value**.
5. Add **Start and End labels** for the range (for example `150` and `500`) and toggle **Display** to show them; pick a **Slider color** and toggle **Display name and last update**.
6. Click **Save**.

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

## What happens when you use it

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

## Common mistakes

* **Binding a command without a numeric parameter** — a slider needs a parameter it can set to a number; a plain on/off command belongs on a [Switch](/dashboards/adding-widgets/control-widget/switch).
* **Range that doesn't match the device** — set Start/End to the parameter's real minimum and maximum so the full travel maps to valid values.

## See also

* [Control widget](/dashboards/adding-widgets/control-widget) — overview and the other control types
* Other slider layouts: [Circular Slider](/dashboards/adding-widgets/control-widget/slider-circular) · [Vertical Slider](/dashboards/adding-widgets/control-widget/slider-vertical)
* [Device Commands](/devices/commands) — define the command this slider drives


# Circular Slider

Add a Circular Slider to a Kilo dashboard to set a numeric device value, such as valve position, on a radial dial.

The **Circular** slider sets a **numeric value** on a radial dial — drag around the arc and the value follows. It has the look of an instrument gauge, so it draws the eye to a headline setting.

## When to use it

Reach for the Circular slider when a dial reads better than a bar — a **color temperature**, a **valve position** as a percentage, or any single setting you want to stand out on a control screen. For a compact in-row control use the [Simple Slider](/dashboards/adding-widgets/control-widget/slider-simple); for a level-style control use the [Vertical Slider](/dashboards/adding-widgets/control-widget/slider-vertical).

## What you need first

* A controllable device with a command on its **Commands & States** tab whose **parameter takes a number** (see [Creating Commands](/devices/commands/creating-commands)).
* A **Device metric** that reports the current value, so the dial shows where the setting sits.

## How to set it up

1. Open the dashboard in **edit mode** → **Add widget** → **Control**.
2. **Datasource** tab: choose the **Device** and the **Device metric** for the live value. Click **Next**.
3. **Appearance** tab: enter a **Widget name**, choose **Widget type → Slider**, then set **Slider type → Circular**.
4. Set the **Command**, the **Parameter** it sets, and a starting **Value**.
5. Add **Start and End labels** for the range (e.g. `150` and `500`) with **Display** on, pick a **Slider color**, and toggle **Display name and last update**.
6. Click **Save**.

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

## What happens when you use it

Dragging around the dial sends the command with the new value as its parameter. The dial position follows the **Device metric**, so it always reflects the value the device reports.

## Common mistakes

* **Confusing it with the Radial Gauge** — the Circular slider *sets* a value (it's a control); the Last Data [Radial Gauge](/dashboards/adding-widgets/last-data-widget/radial-gauge) only *displays* one.
* **No numeric parameter** — like every slider, it needs a command parameter it can set to a number; 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 layouts: [Simple Slider](/dashboards/adding-widgets/control-widget/slider-simple) · [Vertical Slider](/dashboards/adding-widgets/control-widget/slider-vertical)
* [Device Commands](/devices/commands) — define the command this dial drives


# Vertical Slider

Add a Vertical Slider control to a Kilo IoT dashboard — an upright slider that sets a device value like a level.

The **Vertical** slider sets a **numeric value** on an upright track. It reads like a level — high is more, low is less — which suits values you picture filling up or down.

## When to use it

Use a Vertical slider where an upright control matches the mental model: a **tank-fill target**, a **valve position**, or a level you set by height. For a compact horizontal 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 controllable device with a command on its **Commands & States** tab whose **parameter takes a number** (see [Creating Commands](/devices/commands/creating-commands)).
* A **Device metric** that reports the current value, so the slider shows where the setting sits.

## How to set it up

1. Open the dashboard in **edit mode** → **Add widget** → **Control**.
2. **Datasource** tab: choose the **Device** and the **Device metric** for the live value. Click **Next**.
3. **Appearance** tab: enter a **Widget name**, choose **Widget type → Slider**, then set **Slider type → Vertical**.
4. Set the **Command**, the **Parameter** it sets, and a starting **Value**.
5. Add **Start and End labels** for the range (e.g. `0` and `254`) with **Display** on, pick a **Slider color**, and toggle **Display name and last update**.
6. Click **Save**.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-32947d3c3c119f3819d214ab336a6c2e3bfba1c8%2Fcontrol-widget-slider-vertical.jpg?alt=media" alt="Control widget Vertical slider — an upright track setting a value across a range"><figcaption></figcaption></figure>

## What happens when you use it

Dragging the handle up or down sends the command with the new value as its parameter. The handle follows the **Device metric**, so it reflects the value the device actually reports.

## Common mistakes

* **No numeric parameter** — a slider needs a command parameter it can set to a number; for a two-state device use a [Switch](/dashboards/adding-widgets/control-widget/switch).
* **Range that doesn't match the device** — set Start/End to the parameter's real minimum and maximum so the full travel maps to valid values.

## See also

* [Control widget](/dashboards/adding-widgets/control-widget) — overview and the other control types
* Other slider layouts: [Simple Slider](/dashboards/adding-widgets/control-widget/slider-simple) · [Circular Slider](/dashboards/adding-widgets/control-widget/slider-circular)
* [Device Commands](/devices/commands) — define the command this slider drives


# Input

Add an Input Control to a Kilo IoT dashboard to send an exact typed value — a setpoint or threshold — with Apply.

The **Input** is the exact-value control type. The operator types a precise figure and presses **Apply** to send it — ideal when a slider is too coarse or the value must be exact.

## When to use it

Use an Input when precision matters: a temperature or pressure **threshold**, an exact **setpoint**, or a specific **device parameter**. Where a [Simple Slider](/dashboards/adding-widgets/control-widget/slider-simple) is for dialling a value by feel, the Input is for entering an exact number.

## What you need first

* A controllable device with a command on its **Commands & States** tab whose **parameter accepts the value** you'll type (see [Creating Commands](/devices/commands/creating-commands)).
* A **Device metric** that reports the current value, shown beside the field for reference.

## How to set it up

1. Open the dashboard in **edit mode** → **Add widget** → **Control**.
2. **Datasource** tab: choose the **Device** and the **Device metric** for the current value. Click **Next**.
3. **Appearance** tab: enter a **Widget name**, then under **Widget type** choose **Input**.
4. Set an **Input placeholder** (hint text in the field) and an optional **Input label**.
5. Choose the **Command** the input sends, the **Parameter** it sets, and a default **Value**.
6. Toggle **Display name and last update**, then click **Save**.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-0054c3240c793458b0d9818d62bb969af82df939%2Fcontrol-widget-input.jpg?alt=media" alt="Input Control sending an exact setpoint value with an Apply button"><figcaption></figcaption></figure>

## What happens when you use it

The widget shows the current value and a field. Type a new value and press **Apply** to dispatch the command with that value as its parameter — nothing is sent until you press Apply, so a half-typed number never reaches the device. Whether a value is accepted is governed by the command parameter's definition (for example its min/max), so out-of-range entries are rejected.

## Common mistakes

* **Expecting it to send as you type** — the Input only dispatches on **Apply**.
* **Entering a value outside the parameter's limits** — the command's parameter definition sets the valid range; values outside it won't be accepted.

## See also

* [Control widget](/dashboards/adding-widgets/control-widget) — overview and the other control types
* [Device Commands](/devices/commands) — define the command this input sets


# Chart Widget

Plot a sensor's history as a line or bar Chart widget — current value, trend, average line, and threshold bands.

The Chart widget plots a reading's history as a graph — a line or bars across the last hour, day, week, or month — so you see not just where a value stands now but the trend that brought it there.

A single Chart widget combines four things in one place: the **current value** as a large reading at the top, the **historical graph** — a line or bars over a chosen timeframe — an optional **average line** across that period, and optional **threshold bands** that mark compliant, warning, and breach ranges directly on the graph. An operator sees the reading now, the path it took to get there, and the operational context, without switching views.

Threshold bands also color the **large current reading** at the top — when the live value falls inside a band, that headline number takes the band's color, while the line or bars keep the metric color set in the Datasource tab. So the widget signals status before anyone studies the trace.

A Chart widget tracks one metric. To compare several readings, add a separate Chart widget for each.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-a458c5d7c4f55d3ffc57b7b54ce6ecb05199616c%2Fdashboard-widget-picker.jpg?alt=media" alt="The Kilo widget picker with Chart shown as a separate dashboard widget"><figcaption></figcaption></figure>

## Line and Bar are Chart types

The dashboard picker contains one **Chart** widget. Inside its **Appearance** tab, **Widget type** offers two presentations:

* [Line Chart](/dashboards/adding-widgets/chart-widget/line-chart) — joins readings into a continuous trend.
* [Bar Chart](/dashboards/adding-widgets/chart-widget/bar-chart) — draws a separate bar for each report.

They share the same data source, timeframe, value range, thresholds, average, axes, legend, and **Show metrics below** settings. **Display value on bar** belongs only to Bar and is hidden when Line is selected.

## Configure a Chart widget

Here is a full setup for one real case — tracking a refrigeration unit's temperature across the week, so you see not just the current reading but whether it held compliance the whole time. A temperature sensor on the unit reports in °C. This is one example: a Chart suits any reading whose history matters — only the device and the numbers change.

1. Open the dashboard in edit mode and click **Chart** in the widget picker. The settings panel opens on the **Datasource** tab, with no data sources yet.
2. Click **Add datasource**. A **Datasource 1** block appears.
3. In the block, click **Choose device** and select the refrigeration unit's temperature sensor.
4. Click **Add metric**. A metric row appears.
5. In the row, set **Data type** to **Telemetry**, choose the temperature reading under **Device metric**, and pick a **Color** — this color draws the line (or bars) on the graph and is also the base color of the large current reading at the top.

   > **Can't find your metric?** The **Device metric** list only offers numeric metrics. If a reading you expect is missing, the metric is stored as String or Boolean rather than Integer or Float. Open **Devices → Metrics**, find the metric, and change how it is stored to Integer or Float — provided the device actually reports a number. See [Metrics](/devices/metric-templates).

   A Chart widget tracks **one metric** — once that metric is in place, there is no second metric row to fill in. To compare several readings, build a separate Chart widget for each.
6. Click **Next** to open the **Appearance** tab.
7. Enter a **Widget name** — for example "Cold store temperature" — and an optional **Description**.
8. Under **Widget type**, choose **line** or **bar**. The **line** type draws a continuous curve, best for a reading that changes gradually like temperature; **bar** draws one bar per interval, useful when each individual report is the thing you want to compare. For this case, choose **line**.
9. Set the **Timeframe** — the span of history the graph covers: **Last hour**, **Last day**, **Last week**, or **Last month**. For a weekly compliance review, choose **Last week**.
10. Under **Set value range**, set **From** and **To** — the floor and ceiling of the vertical axis. Pick a window that comfortably contains every temperature the unit reaches: **From** -5, **To** 20 (°C). (A new widget starts at 0–100; change it to suit the reading.)
11. Under **Thresholds**, click **Add threshold** for each operational band. A threshold's **From** and **To** are the lower and upper edge of a colored band on that same -5–20 °C scale; give it a **Label** and a **Color**. For the cold store, add three:

    * "Compliant" — **From** 2, **To** 8 — green
    * "Warning" — **From** 8, **To** 12 — amber
    * "Breach" — **From** 12, **To** 20 — red

    Each threshold has two independent visual switches. **Show fill** paints the band as a colored background across the whole graph; **Show line** draws a boundary line at the band's edges. Turn **Show fill** on for the Compliant band so the safe zone reads as a green wash behind the trace; turn **Show line** on for the Breach band so its lower edge at 12 °C is a hard red line the temperature must not cross.
12. Switch on **Show average value** to add a dashed line at the period's average, labeled "Average" in the legend.
13. **Show vertical axis lines** and **Show horizontal axis lines** add time-axis and value-axis grid lines — turn them on if a grid makes the graph easier to read.
14. Switch on **Display data legend** to list the threshold labels and the average beside the graph.
15. Switch on **Show metrics below** to display the metric name and current reading in a row beneath the graph. This keeps the reading visible when the widget is too small to show the large value clearly.
16. If you chose **bar** at step 8, **Display value on bar** prints each bar's own value on the bar itself, so an operator can read exact figures off the chart instead of estimating them against the axis. The option applies to bar charts only — on a line chart there are no bars to label, so it is not offered.
17. Click **Save** to place the widget on the dashboard.

The result: a widget whose large reading shows the current temperature and whose graph traces the whole week behind it — the green, amber, and red bands making it obvious at a glance whether the load held compliance or drifted toward a breach. The same setup fits any reading with a history worth watching; only the device, the value range, and the bands change.

## How the current reading color works

The large value at the top of the widget defaults to the metric color set in the Datasource tab. When the current value falls inside one of your threshold ranges, the display switches to that threshold's color, and returns to the metric color when the value moves outside every band.

So a cold-store widget shows green while the reading sits in the Compliant band and turns red the instant it climbs into Breach — with no separate configuration for the current reading. The widget makes the situation visible; to be paged when it happens, pair it with an [Alarm](/alarm).

## Thresholds vs conditions

The Chart widget uses **threshold bands** — colored ranges drawn on the historical graph. The full conditions system — named rules, priority order, per-metric defaults — belongs to the Last Data and Image widgets. See [Conditions](/dashboards/adding-widgets/conditions).

## Worked examples

**Server-room cooling — a week of history** A rack air-temperature sensor on a **line** chart, **Last week**, value range 10–40 °C. Three thresholds: green 18–27 °C "Normal", amber 27–32 °C "Warm", red 32–40 °C "Critical". An operator checking the dashboard after a weekend sees at once whether the cooling held steady or spiked into the amber and red during off-hours.

**Vibration monitoring — discrete reports as bars** An equipment vibration sensor reporting amplitude at regular intervals, on a **bar** chart, **Last day**, value range 0–20 mm/s. Three thresholds: green 0–7 mm/s "Normal", amber 7–12 mm/s "Elevated", red 12–20 mm/s "Critical". Each bar is one report interval, so an engineer can pick out exactly which intervals ran rough and line them up against the production schedule. This is the case that earns **Display value on bar** — when the point of the widget is comparing individual reports, having the amplitude printed on each bar saves reading every one off the axis.

**Energy consumption — baseline and peaks** A power meter on a production line, **line** chart, **Last week**. Set the value range to span the line's draw — for example 0–60 kW — then add a green band across the expected production range (say 15–40 kW) and a red band above it for an over-draw. The figures are site-specific: set **From** and **To** to your own baseline and expected peak. Any drift above the expected range then shows immediately as the line leaves the green band.

A Chart suits any reading whose history carries meaning — pressure, flow, humidity, fill level — so treat these as starting points. Wherever "what is it now, and how did it get here" is the question, the Chart widget answers both.

## See also

* [Last Data Widget](/dashboards/adding-widgets/last-data-widget) — The current value on its own, when you do not need the history
* [Line Chart](/dashboards/adding-widgets/chart-widget/line-chart) — Configure and read a continuous trend
* [Bar Chart](/dashboards/adding-widgets/chart-widget/bar-chart) — Compare reports and print values on bars
* [Conditions](/dashboards/adding-widgets/conditions) — Per-metric color rules for the Last Data and Image widgets
* [Adding Widgets](/dashboards/adding-widgets) — Edit mode and the widget picker


# Line Chart

Configure a Kilo Line chart for a metric's history, with threshold bands, an average, and the current value.

A Line chart is one of the two presentations inside the **Chart** widget. It connects consecutive readings into a continuous trace, making gradual movement, drift, cycles, and sudden spikes easy to see.

Use Line for temperature, pressure, energy demand, humidity, and other measurements where the shape of the trend matters more than comparing individual reports.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-60d8820649747df0c38f65f0bc0a985c7e08ece7%2Fchart-widget-line.jpg?alt=media" alt="Kilo Chart appearance settings with Line selected and a line preview with threshold bands"><figcaption></figcaption></figure>

## Configure the Line type

1. Open a dashboard in edit mode and select **Chart** from the widget picker.
2. On **Datasource**, add one device and one numeric metric.
3. Click **Next** and set **Widget type** to **line**.
4. Choose the **Timeframe**: Last hour, Last day, Last week, or Last month, subject to the data retention included in the plan.
5. Set the vertical **Value range** with **From** and **To**.
6. Add any threshold bands, average line, axis lines, and legend needed by operators.
7. Turn on **Show metrics below** when the metric name and current reading should remain visible beneath the plot.
8. Click **Save**.

The **Display value on bar** setting does not appear for Line because there are no bars to label.

## Read the result

The large value shows the latest reading. The line shows how that metric moved over the selected period. If the current reading falls inside a configured threshold, the large value adopts that threshold's color; the line keeps the metric color selected on Datasource.

For a server-room temperature chart, a week-long line makes an overnight cooling failure visible as a rise out of the normal band and shows when the reading returned to baseline.

## See also

* [Chart Widget](/dashboards/adding-widgets/chart-widget) — shared Chart data and appearance settings
* [Bar Chart](/dashboards/adding-widgets/chart-widget/bar-chart) — compare individual reports instead
* [Last Data Widget](/dashboards/adding-widgets/last-data-widget) — show only the latest state


# Bar Chart

Configure a Kilo Bar chart, compare individual reports, and print exact values directly on each bar.

A Bar chart is the second presentation inside the **Chart** widget. Instead of joining readings into a line, it draws each report as a separate bar. This is useful when operators need to compare discrete intervals or read exact individual measurements.

The Bar chart is not a Last Data display and is not a separate choice in the dashboard widget picker. Select **Chart**, then choose **bar** under **Widget type**.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-19138019fd8eb71be00e1b109e919e4ca43d06e8%2Fchart-widget.jpg?alt=media" alt="Kilo Chart appearance settings with Bar selected, values printed on bars, and the metric shown below"><figcaption></figcaption></figure>

## Configure the Bar type

1. Add a **Chart** widget and select one device and one numeric metric on **Datasource**.
2. Open **Appearance** and set **Widget type** to **bar**.
3. Choose the timeframe and vertical value range.
4. Configure threshold bands, average, axis lines, and the data legend as required.
5. Turn on **Show metrics below** to show the metric name and its current reading beneath the plot.
6. Turn on **Display value on bar** to print each report's value on its bar.
7. Click **Save**.

**Display value on bar** is available only while Bar is selected. Kilo hides it for Line charts.

## When values on bars help

Use the labels when the exact difference between adjacent reports matters. For example, a vibration monitor reporting once per production interval can show `7.2`, `9.8`, and `12.4` directly on the bars. An engineer can identify the interval that crossed the operating limit without estimating against the vertical axis.

For a dense chart or a small dashboard tile, labels can compete for space. Keep them off when the overall shape matters more than each number, or enlarge the widget before enabling them.

## See also

* [Chart Widget](/dashboards/adding-widgets/chart-widget) — shared Chart configuration
* [Line Chart](/dashboards/adding-widgets/chart-widget/line-chart) — follow a continuous trend
* [Last Data Widget](/dashboards/adding-widgets/last-data-widget) — display the latest reading without history


# Text Widget

Kilo's Text widget adds headings, notes, or lists of selected devices, rules, and alarms to your dashboard.

A **Text widget** adds headings and instructions to an operations dashboard. It can also list selected devices, rules, or alarm definitions, so operators can see the equipment and automation behind the readings they monitor.

Use a device list next to a site’s air-quality charts, a rule list for entrance monitoring, and an alarm list showing the severity of the definitions used by the team. These lists describe configured resources; they do not replace measurement widgets or the alarm inbox.

## Add a heading or a resource list

1. Open the dashboard and choose **Actions → Edit dashboard**. You need permission to edit it and access to the resources you want to display.
2. Choose **Add widget → Text**.
3. Enter **Widget name**, the heading shown on the tile, and an optional **Description** below it.
4. Select **Data type**. Keep **None** for a heading and note, or choose **Devices**, **Rules**, or **Alarms** for a resource list.
5. For a list, select the entries in **Artifacts**. You can choose several; remove an individual selection to leave it out.
6. Set the display options below, check the preview, and select **Save**.
7. Move or resize the tile, then **Save** the dashboard layout.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-0454f540fef561b9ab45cc8a5d3e87db3a9d6a2f%2Fkilo-text-widget-settings.jpg?alt=media" alt="Kilo Text widget setup with a selected device and display options"><figcaption><p>Choose the data type and resources, then check the preview before saving.</p></figcaption></figure>

## Display options

| Data type | Options                                                                  |
| --------- | ------------------------------------------------------------------------ |
| None      | Widget name and optional description only.                               |
| Devices   | **Number of devices**, **Connector**, **Device provider**, and **Icon**. |
| Rules     | **Number of rules** and **Icon**.                                        |
| Alarms    | **Number of alarms**, **Alarm severity**, and **Icon**.                  |

Counts refer to the selected resources available to the widget. An alarm count is the number of selected alarm definitions, not the number of open incidents. **Alarm severity** displays the definition's severity. Connector and provider details help distinguish device sources where that information is available.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-9f840c6b5c5edabf37c7c726701dbd323dd21056%2Fkilo-text-widget-lists.jpg?alt=media" alt="Kilo dashboard with a configured Text resource list beside measurement widgets"><figcaption><p>Keep the selected resources beside the readings they support.</p></figcaption></figure>

## Use and maintain the list

Open a device by selecting its row in the saved dashboard. Rules and alarms are displayed as list entries; open their platform sections to manage them. Adding a resource to a widget does not change its Application membership or start its automation.

Entries follow the configured selection order. If a selected resource is deleted or is no longer returned to the widget, its entry is omitted and the count reflects the remaining available entries. Edit **Artifacts** to revise the selection as your setup changes.

Organization resource lists are hidden in public/kiosk viewing. Use ordinary headings and notes for information that must appear on a public display.

## When alarm choices do not load

The **Alarms** data type can show **No options** in **Artifacts** even when the organization has alarm definitions. If this happens, use **Alarm → Alarm definitions** to inspect them and **Alarm** to monitor incidents. Device and rule lists can still be configured separately. Do not use an empty alarm-list tile as evidence that the site has no alarms.

## Related tasks

* [Adding Widgets](/dashboards/adding-widgets)
* [Application dashboards](/applications/using-application-dashboards)


# Image Widget

Pin live sensor readings onto any image — floor plan, site photo, equipment schematic — with the Image Widget.

The Image Widget turns a picture into a live dashboard. Upload an image — and it can be **any image at all**: a floor plan, an equipment schematic, a site diagram, a photo of a building, a photo of a piece of equipment such as the silo tanks in the screenshot — then pin live numeric readings onto it, each one sitting exactly where its sensor is.

That is the whole idea: you stop reading a list of device names and instead look at the real place or machine and see what every part of it is doing right now. A plant manager looks at the silo photo and sees which tank is running low; a maintenance engineer looks at an equipment schematic and sees which component is outside tolerance.

Upload a supported image file — a PNG or JPG — of any place, object, or system you want to monitor. Each pinned reading shows its current value, its unit, and an icon, and its color changes as conditions trigger, so status is visible across the whole image at a glance.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-284be31af4fa5ad52272cc667206a271c3e30d82%2Fimage-widget.jpg?alt=media" alt="Image Widget configuration — a photo of silo tanks with sensor pins, beside the live preview"><figcaption></figcaption></figure>

## Configure an Image Widget

Here is a full setup for one real case — monitoring a row of grain silos from a single photo of the site. A level sensor in each silo reports its fill as a percentage. This is one example: the image can be anything, and the steps are the same.

1. Open the dashboard in edit mode and click **Image Widget** in the widget picker. The settings panel opens — and unlike the other widgets, the **Appearance** tab opens first, because you upload the image before you can place anything on it.
2. Enter a name for the widget — for example "Silo levels".
3. The widget starts with one layer, **Layer 1**, already created. Give it a clear **Layer name** ("Silo yard") and upload the image — a photo of the silos. PNG and JPG files are accepted.
4. Click **Next** to move to the **Datasource** tab.
5. Under the layer, click **Add datasource** — this creates an empty datasource block. In the block, click **Choose device** and select the first silo's level sensor.
6. Click **Add metric**. Set **Data type** to **Telemetry**, choose the fill-level reading under **Device metric**, and pick an **Icon**.

   > **Can't find your metric?** The Image Widget only pins numeric metrics. If a reading you expect is missing, the metric is stored as String or Boolean rather than Integer or Float. Open **Devices → Metrics**, find the metric, and change how it is stored to Integer or Float — provided the device actually reports a number. See [Metrics](/devices/metric-templates).
7. Click **Conditions: N** to open the Conditions modal. Set a **Default color**, then for each band click **Add condition** and fill the row — a **Condition name**, **Data type** set to **Number**, the **From** and **To** values, and a **Color**. The pin's color comes entirely from these conditions. For a silo fill level reported as a percentage, add four:

   * "Critical" — **From** 0, **To** 10 — burgundy (a deep red)
   * "Refill now" — **From** 10, **To** 30 — red
   * "Refill soon" — **From** 30, **To** 60 — yellow
   * "Healthy" — **From** 60, **To** 100 — green

   Click **Save** to close the modal. The pin now shows green while the silo is well stocked and drops through yellow and red toward a burgundy sliver as it empties — so a glance at the photo tells the operator which tank to fill.
8. The pin for that sensor appears on the image. **Drag it** onto the silo it belongs to. Use the zoom controls (+ / −) on the preview to place it precisely.
9. Repeat — **Add datasource** for each remaining silo's sensor, add its metric and conditions, and drag its pin onto the right tank. One layer can hold several datasources, and a datasource several metrics.
10. Click **Save** to add the widget to the dashboard.

The result: the site photo with a colored pin on every silo, each showing its live fill percentage — the whole storage yard readable at a glance. The same steps fit any image; only the picture, the devices, and the condition bands change.

## What layers are

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-370799709f2bdc6db5d74c5fe7f70d809b1a267d%2Fimage-widget-layers.jpg?alt=media" alt="An Image Widget with two layers — a silo overview and a cutaway interior view — and the layer switcher"><figcaption></figcaption></figure>

A **layer** is one image view inside the same Image Widget — not a transparent overlay on a single picture. Each layer has its own uploaded image and its own pins. When the widget has more than one layer, a **layer switcher** appears on it; the viewer clicks it to move between the views, so several images and sensor sets live in one widget.

Layers come into their own when one image cannot show everything. Take the silos — a single silo may carry far more than one sensor:

* **Layer 1 — "Silo yard".** The outdoor photo of all the silos, a fill-level pin on each. This view answers *which silo needs attention*.
* **Layer 2 — "Inside Silo 1".** When one silo carries a string of sensors — a multi-point temperature cable running down its interior, say — upload an open, cutaway image of that silo and pin each internal sensor on it. This view answers *what is happening inside that silo*.

On the dashboard the operator clicks the layer switcher to go from the yard overview straight to the inside detail, without leaving the widget or opening a device list. Further layers follow the same pattern — a photo of the conveyor and pump area, a diagram of the control panel — each its own image with its own pins.

Layers fit a multi-floor building just as well. Give each floor its own layer — the ground floor on Layer 1, the floors above on theirs — and pin temperature, humidity, or occupancy at the HVAC points of each. The facilities team uses the layer switcher to walk the building floor by floor from one widget, every floor held to its own spec.

A floor plan here is simply a flat image: the architectural drawings already on file just get uploaded, one per floor — nothing has to be drawn or modeled. The two are different tools: the Image Widget pins live readings onto flat 2D plans you already have, while the [Digital Building Twin](/dashboards/adding-widgets/digital-building-twin) is for drawing and operating a full 3D model of the facility from scratch.

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

To work with layers: **Layer 1** is already there — rename it and upload its image. Click **Add new layer** only when you want another image view in the same widget. **Every layer needs its own image** — if you add a layer and leave it empty, **Next** will not proceed. On the **Datasource** tab, add each datasource and metric under the layer it belongs to, and drag each pin on that layer's own image.

## Worked examples

**Grain silo yard — fill levels at a glance** A photo of the silo site with a fill-level pin on each tank; conditions green above 60%, yellow 30–60%, red 10–30%, burgundy below 10%. A second layer holds a cutaway of the busiest silo with its internal temperature sensors pinned down the cable.

**Equipment schematic — readings on the machine** A schematic of a production line, a vibration reading pinned to each motor and bearing — green 0–7 mm/s, amber 7–12, red above 12. The engineer sees which component is running rough without matching device names to machines.

**Multi-floor building — one layer per floor** Each floor's plan on its own layer, HVAC and temperature pinned per floor — a server floor on a tighter band than the offices.

The image can be anything you can photograph or draw — a tank farm, a switchroom, a cold store, a site map — so treat these as starting points, not limits. Wherever a reading means more when you see *where* it is, the Image Widget puts it there.

## What the widget shows

On the dashboard, each layer shows its image with a colored circular pin at every position you set. Each pin carries the sensor's icon, its current live value, and the unit, and updates in real time as the sensor reports.

**Pin color comes entirely from conditions.** The first matching condition wins; if no condition matches, the pin uses the Default color set in the Conditions modal. The Image Widget visualizes status — to be paged when a reading crosses a limit, pair it with an [Alarm](/alarm).

When a widget has two or more layers, the **layer switcher** lets the viewer move between them. If a layer has no image yet, or the widget has no sensors configured, that area shows a short placeholder message instead.

## See also

* [Conditions](/dashboards/adding-widgets/conditions) — The color rules that drive every pin's color
* [Adding Widgets](/dashboards/adding-widgets) — Edit mode and the widget picker


# Map Widget

Place GPS-reporting assets on an interactive map with the Map widget — current position, live metric, route history.

The Map widget places a GPS-reporting asset on a real outdoor interactive map. The marker shows the asset's current position and the current value of **one selected metric** at a time — speed, cargo temperature, engine on/off status, battery level, or any other sensor the device transmits.

Any device that transmits GPS coordinates works — a vehicle tracker via the Tracker connector, a LoRaWAN GPS tag via LNS, or an MQTT-connected field device. The widget detects location from sensor fields named `lat`/`latitude` and `lon`/`longitude`/`lng`. If those fields exist on the device, it appears on the map.

This is different from the [Image Widget](/dashboards/adding-widgets/image-widget), which works with any static image you upload. The Map widget is for assets that move — vehicles, mobile equipment, field devices.

Place the Map widget on an operations dashboard alongside Last data and Chart widgets to give dispatchers and supervisors at-a-glance situational awareness: asset location, current metric status, and recent route history, all in one view. Date range controls let operators review route history without navigating away from the dashboard.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-ca32513d1a8a22a44162211b1410ec4c7c815fe4%2Fmap-widget-configuration.jpg?alt=media" alt="The Map configuration dialog with its Datasource and Appearance tabs and the widget preview"><figcaption></figcaption></figure>

## Setting up a Map widget

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

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

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

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

1. Click the device selector to choose a tracker or GPS-equipped device. The selector does not pre-filter to devices that already have location data — you can pick any device.
2. After selecting a device, the widget automatically looks for sensors whose names match `lat` or `latitude` for latitude and `lon`, `longitude`, or `lng` for longitude. If matching sensors are found, the marker appears on the map.
3. Non-location sensors from the selected device become available to add as an **additional metric**. Choose one to display its current value on the map marker — speed, cargo temperature, battery level, fuel level, or any numeric field the device transmits.
4. The Map widget supports **exactly one additional metric**. Once selected, the Add metric option disappears.

The marker color reflects any conditions configured on the additional metric. If conditions mark cargo temperature red above 12°C, the marker turns red on the dashboard marker as soon as that threshold is reached.

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

**Widget name** *(required)* — The heading displayed above the map.

**Description** — Optional subtitle.

**Theme** — **Light** or **Dark** map tile color scheme. Independent of the dashboard theme — choose whichever is more readable for the operators who will use it.

**Display data legend** — Toggle to show a legend identifying the displayed metric.

### Step 4 — Save

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

## After placing the widget

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

## Route history controls

* **History** — Click to switch to a date range view.
* **Date range button** — Shows the selected period as **DD.MM.YYYY - DD.MM.YYYY**. Click to change the range.
* **Clear data range** — Returns to the current position view.

When a date range is active, the widget plots the device's recorded locations as a dashed line connecting all positions logged during that period. Up to **500 GPS position points** are rendered per date range.

## Troubleshooting

**No marker on the map:** The widget detects location by looking for sensors named `lat`/`latitude` and `lon`/`longitude`/`lng`. If the device uses different names for its location sensors, the widget cannot find location data. Open the device detail page and check the sensor names — align them to the expected patterns to resolve this.

**Route is empty for the selected date range:** The device was not transmitting during that period, or the GPS did not have a fix. Try a wider date range. If the device has never reported location data, no route will be available.

**Metric value not showing on the marker:** The device has not yet transmitted that field since the widget was configured. Open the device page to confirm whether the metric has any recent values.

## Operational examples

**Fleet vehicle monitoring:** A delivery vehicle transmits GPS position and speed. A Map widget on the depot operations dashboard shows the vehicle's current location with its current speed on the marker — or switch the selected metric to engine on/off status to see whether the vehicle is running while parked at a stop. Conditions on the speed metric can flag the vehicle yellow or red if it exceeds a threshold. The route history lets the operations team review the full day's delivery path after hours.

**Field technician dispatch:** A facilities management team tracks service technicians across a large campus. A Map widget on the NOC dashboard shows each technician's current position with battery level on the marker — so coordinators know who is nearby and available when a new task comes in, without calling each technician.

**Refrigerated transport compliance:** A refrigerated cargo vehicle transmits GPS position and cargo hold temperature. The Map widget shows cargo temperature on the marker with condition-based color: green for compliant (2–8°C), red for breach. Dispatchers can see at a glance whether the load is within spec without drilling into individual device pages. If the marker turns red, they know the location and the temperature simultaneously.

**Delivery route audit:** A logistics supervisor uses the date range controls to review a vehicle's route for a previous day — verifying that the route matched the planned path, checking for unexpected stops, and confirming delivery time windows.

## See also

* [Conditions](/dashboards/adding-widgets/conditions) — Color rules for the marker metric
* [Adding Widgets](/dashboards/adding-widgets) — Edit mode and widget picker


# iFrame Widget

Embed a web page — a BI report, weather map, or live traffic — on a Kilo IoT dashboard with the iFrame Widget.

An iFrame Widget embeds a live external web page inside a dashboard tile. The embedded page keeps working exactly as it does on its own site — it refreshes, animates, and updates in real time — but it now sits beside your Last Data panels, charts, and building views. You point the widget at an **embed URL** from a supported service, give it a name, and it renders in place.

Not every view an operations team needs comes from a sensor. A shift supervisor watching a plant floor may also need the corporate energy report, the regional weather radar, live traffic on the roads into the site, or the status page of a service the site depends on. The iFrame Widget brings those external views onto the same dashboard as your device data, so a single screen tells the whole operational story instead of scattering it across browser tabs.

Because the widget loads a third-party page directly, Kilo only embeds sources from a reviewed list of services that publish safe, embeddable views. That keeps a shared operations dashboard trustworthy: an embedded tile can only ever show a page from a service the platform has vetted, never an arbitrary site pasted in by mistake.

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

## Add an iFrame Widget

This walkthrough embeds a corporate Power BI operations report next to the live device data on a facilities dashboard. The steps are identical for any supported source — only the embed URL changes.

1. Open the dashboard in edit mode and click the **plus button** in the header, then choose **iFrame** in the widget picker. Its tile is labeled *iFrame* with the note "Connect a weather service or something else."
2. The settings panel opens on the **Data source** tab — titled "iFrame configuration" — with a live preview on the right. Find the **Data source** field.
3. Get the **embed URL** from the source service — not the address in your browser bar. On most services this is under **Share → Embed** or a **Get embed code** option. Some services give you a ready link; others give you a full HTML snippet such as `<iframe width="650" height="450" src="https://…/embed…" frameborder="0"></iframe>`. **Paste only the address inside `src="…"`** — the part that starts with `https://`. Leave out the surrounding `<iframe …>` wrapper; the field takes the URL by itself, and a pasted tag is rejected.
4. Paste the embed URL into the **Data source** field. Below it, under **The following services are available**, Kilo lists the sources it supports, grouped by category — use it to confirm your source is covered. The URL must begin with **https\://**. The preview on the right renders the page as soon as the URL is valid and supported; an unsupported or malformed URL shows the message *"Enter a valid https\:// embed URL"* instead of a frame.
5. Click **Next** to move to the **Appearance** tab.
6. Enter a **Widget name** (required) — for example "Site energy report". Add an optional **Description** to note what the embed shows or who owns the source.
7. Click **Save** in the panel, then **Save** in the dashboard header. The report now renders live in its tile alongside your device widgets.

> **Preview stays empty?** Almost always the pasted value isn't a bare embed URL. Check that you copied only the `https://` address from inside `src="…"` (not the whole `<iframe …>` tag), that it starts with `https://`, and that the service appears in the supported list under the field. A normal page URL, an `http://` link, or a service that isn't on the list won't render.

## What you can embed

The supported services are grouped by category in the picker, so you can scan for the one you need. Representative sources in each category:

* **Dashboards & BI** — Power BI, Looker Studio, Tableau, Grafana. Bring an existing corporate report or an operational dashboard onto the same screen as its underlying devices.
* **Maps & location** — Google Maps, OpenStreetMap, Mapbox. Show a site map, a service area, or a route.
* **Weather & air quality** — Windy, Meteoblue, Ventusky, IQAir. Overlay conditions that drive operational decisions — wind for a turbine site, air quality for a ventilation system.
* **Video & camera feeds** — YouTube, Vimeo, Twitch. Embed a published stream or a briefing clip.
* **Transport & flights** — Waze, Flightradar24, FlightAware. Watch live road traffic around a site with a Waze map, or follow inbound air freight.
* **Shipping & parcel tracking** — 17TRACK, AfterShip, TrackingMore. Follow inbound or outbound consignments.
* **Finance & markets** — TradingView, Investing.com, Trading Economics. Watch commodity prices or indices that affect procurement.
* **Status & docs** — Statuspage, Instatus, Google Docs. Pin the status page of a dependency, or a shared runbook.
* **Calendars & forms** — Google Calendar, Google Forms, Microsoft Forms, Calendly. Surface a maintenance schedule or an intake form.

The list of supported services shown in the widget is always the current one. If the service you need isn't there, use the **please submit a request to add the desired resource** link beneath the Data source field, and the team can review it for the allowed list.

## iFrame Widget vs Map Widget

These two are easy to confuse, so keep the distinction clear:

* The **iFrame Widget** embeds an external *web page* — including a third-party map like a Waze traffic view or an embedded Google Map. It shows what that website shows; it knows nothing about your devices.
* The [**Map Widget**](/dashboards/adding-widgets/map-widget) plots one of *your own* GPS-reporting devices on an interactive map and follows its live position. Reach for it when you want to track a vehicle, an asset, or any tracker device registered on the platform — not the iFrame Widget.

## Worked examples

**Facilities dashboard — energy report in context** A building-management dashboard already shows HVAC setpoints, occupancy, and room temperatures from the site's devices. Add an iFrame Widget pointing at the organization's Power BI energy report, and the shift supervisor sees consumption trends beside the equipment producing them — no switching tools to answer "is the load where it should be?"

**Wind-farm operations — weather beside turbines** An operations screen tracks vibration and output per turbine. An embedded Windy map of the site's wind field lets controllers correlate a drop in output with a lull, or anticipate a high-wind curtailment, all on the dashboard the team already watches.

**Distribution center — traffic on the approach** A logistics dashboard monitors dock-door sensors and cold-store temperatures. An embedded Waze live-traffic map of the routes into the site lets the yard team see congestion building and re-stage arrivals before trucks back up at the gate.

## What the widget shows

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

On the dashboard, the iFrame Widget renders the embedded page live inside its tile, right next to your device widgets — above, a Windy weather map sits beside a building twin and a tank-level gauge. The page behaves as it does on its own site: it refreshes and updates on its own schedule, so the widget itself has no separate refresh setting. Resize and reposition the tile in edit mode like any other widget to give a dense report the room it needs.

The iFrame Widget is a viewing surface, not a data source: it doesn't read your devices, feed the Rules Engine, or raise alarms. Use it to bring external context onto the dashboard, and keep device metrics in the widgets built for them — Last Data, Chart, Image, and the Digital Building Twin.

## See also

* [Adding Widgets](/dashboards/adding-widgets) — Edit mode and the widget picker
* [Map Widget](/dashboards/adding-widgets/map-widget) — Track a GPS device's live position (different from embedding a web map)
* [Digital Building Twin](/dashboards/adding-widgets/digital-building-twin) — A live 3D model of a facility


# What Is a Digital Building Twin?

Kilo's 3D Digital Building Twin widget: a dashboard model of a building, its objects colored by sensor data.

The Digital Building Twin is a 3D model of a real facility — drawn, furnished, and wired to your sensors — that lives on a dashboard and recolors itself in real time as readings arrive. It turns a flat list of devices into a spatial picture of the building they monitor: a warehouse, an office floor, a parking lot, a server room, a production hall.

Instead of reading a temperature value in a table and mentally mapping it to "Cold Store 3, north rack," an operator looks at the model and sees the north rack glow red. Instead of scanning a list of parking sensors, a facility manager sees the lot with every occupied bay shaded and every free bay clear. The building twin is the layer that connects the sensor data you already collect to the physical space it describes.

This is a complete building editor built into the platform — no separate modeling tool, no CAD license, no plugin. You draw the structure, place objects from a catalog of 64 ready-made 3D models, bind any of them to a sensor, and define the colors that turn raw readings into an at-a-glance operational view.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-4fc4a46fcd5771d2bb778130d492375f7c876fd9%2F3d_Scene_Screen.jpg?alt=media" alt="Digital Building Twin scene with parking bays color-coded by occupancy (A123 red, A124 green), dumpsters indicating fill state, and per-room sensor status markers"><figcaption></figcaption></figure>

## What can I build with a Digital Building Twin?

* **A scale model of a real building** — draw walls, doors, windows, and fences across multiple floors, in a 2D plan view and a 3D view of the same scene. See [Drawing your building](/dashboards/adding-widgets/digital-building-twin/drawing-your-building).
* **A model from existing plans** — import an architectural drawing as a DXF file instead of drawing from scratch. See [Importing a DXF plan](/dashboards/adding-widgets/digital-building-twin/importing-a-dxf-plan).
* **A model traced from the real world** — sketch a building's outline directly on an aerial map. See [Tracing from the map](/dashboards/adding-widgets/digital-building-twin/tracing-from-the-map).
* **A furnished, equipped space** — place desks, racks, AC units, parking spots, vehicles, and more from the object catalog. See [Placing objects](/dashboards/adding-widgets/digital-building-twin/placing-objects) and the [Object catalog](/dashboards/adding-widgets/digital-building-twin/object-catalog).
* **A live operational view** — bind sensors to objects and define conditional colors so the model reflects facility state as it changes. See [Binding sensors and colors](/dashboards/adding-widgets/digital-building-twin/binding-sensors-and-colors).
* **Pinned readings in 3D space** — drop labeled value markers at exact points in the model. See [Drop-pins and live values](/dashboards/adding-widgets/digital-building-twin/drop-pins-and-live-values).
* **A geographically anchored model** — tie the building and selected points to real GPS coordinates. See [GPS anchoring](/dashboards/adding-widgets/digital-building-twin/gps-anchoring).

## How do I add a Digital Building Twin to a dashboard?

The Digital Building Twin is a dashboard widget. It appears in the widget picker as **Digital building twin**.

1. Open the dashboard you want to add it to and switch it to **edit mode**. (See [Adding Widgets](/dashboards/adding-widgets) for how to open edit mode and reach the widget picker.)
2. In the widget picker, click **Digital building twin**.
3. The full-screen building editor opens. This is where you draw, furnish, and wire the model — every page in this section walks through one part of that work.
4. When the model is ready, click **Save** in the top-right corner. A **Widget name** dialog appears — enter a name for the widget and click **Save** again.
5. The editor closes and the Digital Building Twin appears as a tile on the dashboard, rendering the saved model with live sensor colors.

To come back and change the model later, open the dashboard in edit mode and open the widget's settings — the same full-screen editor reopens with everything you built.

## What does a Digital Building Twin look like on a dashboard?

The dashboard page itself is where the model lives day to day.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-88ec7e7f81ad63aef5f60e60445b370ee91c6294%2Fkilo-dbt-dashboard.jpg?alt=media" alt="A dashboard named IP500 demo Office 3D showing a three-dimensional office floor plan with colored rooms and value labels, a camera pan control at the bottom right, and an Actions button at the top right"><figcaption><p>A dashboard with a Digital Building Twin tile. Rooms take their color from sensor readings, and the small labels show live values. The arrow pad at the bottom right of the tile pans the view. This is a demo dashboard.</p></figcaption></figure>

The **Live Data** indicator beside the dashboard title shows that readings are arriving. To change the model, open **Actions** at the top right.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-09c8ddfea6f4ee73f3ffdb1169b727c4bc09555b%2Fkilo-dbt-actions-menu.jpg?alt=media" alt="The same dashboard with the Actions menu open, listing Share dashboard, Edit dashboard, and Delete dashboard"><figcaption><p>The Actions menu offers Share dashboard, Edit dashboard, and Delete dashboard. Choose Edit dashboard to switch to edit mode and reach the widget settings.</p></figcaption></figure>

Once saved, the widget renders on the dashboard grid like any other tile: it sits in the dashboard's folder hierarchy, follows organization-level sharing and access permissions, and resizes on the grid. The dashboard view is read-only — it shows the model with live colors and value markers, but editing happens only inside the full-screen editor.

If you saved the model in the 2D plan view, the dashboard shows the flat blueprint. If you saved it in the 3D view, the dashboard shows the three-dimensional scene. The camera angle and zoom you leave the editor with are the angle and zoom the dashboard tile opens at.

## Where do I start with a Digital Building Twin?

* New to the editor? Start with the [Editor tour](/dashboards/adding-widgets/digital-building-twin/editor-tour) to learn the toolbars and panels.
* Ready to build? Go straight to [Drawing your building](/dashboards/adding-widgets/digital-building-twin/drawing-your-building).
* Already have a floor plan file? See [Importing a DXF 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 conditional color rules work across widgets


# How to Use the Digital Building Twin Editor

Tour the Digital Building Twin editor — toolbars, Scene panel, camera controls, and floor selector for the 3D modeler.

The Digital Building Twin editor is a full-screen workspace. Everything you do — drawing structure, placing objects, binding sensors, framing the view — happens here. This page is the map: what each toolbar and panel does, and how to move around the scene. The pages that follow go deep on each task; this one gets you oriented.

When you add a **Digital building twin** widget to a dashboard, the editor opens with a starter scene already in place: a building with one floor. You build outward from there.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-b420704070f751bf06a36a6b9e4ec318bf246588%2Fdbt-editor-tour.jpg?alt=media" alt="The Digital Building Twin editor with the Scene panel on the left, the mode toolbar along the bottom, and a partly built floor in the 3D view"><figcaption></figcaption></figure>

## What do the bottom toolbar modes do?

The toolbar centered along the bottom of the screen is where most work begins. It has four modes:

* **Select** — the default. Click objects to select them, move them, and edit their properties. Press **Escape** at any time to return here.
* **Build** — opens a row of eight buttons: four draw tools (**Wall**, **Door**, **Window**, **Fence**), **Trace from map**, **Import from file**, and the one-click **Flat roof** and **Pitched roof** buttons. **Import from file** carries a **Beta** badge and appears only where DXF import is turned on. Use them to create the shell of the building. See [Drawing your building](/dashboards/adding-widgets/digital-building-twin/drawing-your-building), [Tracing from the map](/dashboards/adding-widgets/digital-building-twin/tracing-from-the-map) and [Importing a DXF plan](/dashboards/adding-widgets/digital-building-twin/importing-a-dxf-plan).
* **Furnish** — opens the object catalog: five category tabs (**Furniture**, **Appliance**, **Kitchen**, **Bathroom**, **Outdoor**) and a scrollable strip of 3D models to drop into the scene. See [Placing objects](/dashboards/adding-widgets/digital-building-twin/placing-objects).
* **Sensors** — opens the Sensors panel, where you connect devices and bind their readings to objects in the model. See [Binding sensors and colors](/dashboards/adding-widgets/digital-building-twin/binding-sensors-and-colors).

Click a mode to enter it; click it again to return to Select.

## What is the Scene panel?

The **Scene** panel lists every element in the model as a tree — the building, its floors, and the walls, slabs, items, doors, windows, and zones on each floor. Click any entry to select that element in the 3D view. Double-click an entry (or use the pencil icon) to rename it — giving walls and zones meaningful names like "Loading Dock Wall" or "Server Row A" makes the model far easier to work with when you start binding sensors.

## What can I change in the properties panel?

Select any object and a properties panel opens with the settings for that specific element:

* **Items** (catalog objects) — Name, Position (X, Y height, Z), Rotation (with **+45°** / **-45°** buttons), Scale, and measured Dimensions.
* **Walls** — Length, Height, Thickness, and a **Material** grid (white, brick, concrete, wood, glass, metal, plaster, tile, marble, or a custom color).
* **Doors and windows** — Width, Height, position along the wall, hinge side and swing direction for doors, sill depth for windows.

Every selected object also gets an inline action badge. For catalog items, doors, and windows it carries **Move**, **Duplicate**, and **Delete** buttons; for walls and other structure it carries **Delete** only. The badge works in the **2D view** as well as in 3D, so you can lay out and rearrange a floor entirely from the top-down plan. The properties panel shows the same **Duplicate** button, again only for catalog items, doors, and windows.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-ed7b804f50397be381046177641b755a53476f69%2Fkilo-dbt-editor-3d.jpg?alt=media" alt="The Digital Building Twin editor in 3D view: the scene tree on the left, the floor selector with the 3D / 2D toggle, the Pan, Rotate and Zoom hints at the top, and the Preview, Cancel and Save buttons at the top right"><figcaption></figcaption></figure>

## How do I move the camera?

The editor has two camera modes, switched from the floor selector (see below):

* **3D view** — orbit freely. Left-drag rotates, right-drag pans, the scroll wheel zooms. Hold **Space** to make left-drag pan instead of rotate.
* **2D view** — a straight top-down plan view. Rotation is locked; you can only pan and zoom. This is the cleaner view for laying out walls and reading a floor plate.

The camera you leave the editor with is saved with the widget and becomes the view the dashboard tile opens at, so frame it deliberately before you save. The editor remembers the live camera when you switch between **Edit** and **Preview** and when you go from 3D to 2D and back, so a quick check in 2D never costs you your carefully set angle. The pan offset from the arrow controls is saved too, and a scene you save while in 2D still keeps its 3D angle for the next time someone opens it in 3D. The dashboard shows the saved view exactly as framed, without re-centering on the building.

## What do the Edit and Preview buttons do?

A bar in the top-right corner of the editor holds, from left to right: the **Show sensor pins** toggle (a drop icon with a pin count, shown once at least one metric is pinned), the **Preview** button, **Cancel**, and **Save**.

* **Preview** hides the toolbar and the side panels and renders the model with full-quality lighting, the way it will look on the dashboard. The button then changes to **Edit**.
* **Edit** brings the toolbar and panels back.

The camera carries over in both directions, so switching never loses your framing.

## What does the floor selector do?

A floating stack of floor buttons sits to one side. It lists every floor (labeled **L0**, **L1**, and so on), lets you add or copy a floor above or below, and switches the active floor. It also carries the **3D / 2D** view toggle and, for multi-floor models, a **Stack / Solo** toggle. See [Floors and levels](/dashboards/adding-widgets/digital-building-twin/floors-and-levels).

## How do I undo, redo, or delete something?

* **Undo** — Ctrl+Z (Cmd+Z on Mac).
* **Redo** — Ctrl+Shift+Z (Cmd+Shift+Z).
* **Delete** — select an object and press **Delete** or **Backspace**, or use the Delete button in the properties panel or the inline badge. The building and its floors are protected and cannot be deleted this way.
* **Cancel a tool** — press **Escape** or right-click to drop out of a drawing or placement action back to Select.

## How do I save or leave the editor?

* **Save** — the button in the top-right corner. It opens a **Widget name** dialog; enter or confirm the name and the model is saved to the dashboard.
* **Cancel** — leaves the editor. If you have unsaved changes, the editor asks you to confirm with a **Discard unsaved changes?** dialog — choose **Discard** to leave or **Keep editing** to stay.

## See also

* [Drawing your building](/dashboards/adding-widgets/digital-building-twin/drawing-your-building) — Walls, doors, windows, and fences
* [Floors and levels](/dashboards/adding-widgets/digital-building-twin/floors-and-levels) — Multi-floor models and the 2D/3D toggle
* [Placing objects](/dashboards/adding-widgets/digital-building-twin/placing-objects) — The object catalog and placement


# How to Draw a Building in a Digital Building Twin

Draw walls, doors, windows, and fences for a Digital Building Twin — 2D plan and 3D views of the same scene.

The structure of a Digital Building Twin — its walls, doors, windows, and fences — is what makes the model recognizable as a specific facility. A few minutes of drawing turns a generic box into *your* warehouse, with the loading dock on the east side and the cold store in the corner where it really is. This page covers drawing that structure from scratch.

If you already have an architectural drawing or want to trace the building from a map, you can skip the manual drawing — see [Importing a DXF 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). The three approaches mix freely: import a shell, then draw an interior partition by hand.

## Should I draw in 2D or 3D?

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

* **2D view** is a top-down plan. Rotation is locked, so it behaves like drawing on paper — the natural view for laying out a floor plate accurately.
* **3D view** shows the walls standing up at full height, so you can check the result at eye level.

Switch between them with the **3D / 2D** toggle on the floor selector. A common rhythm is to draw the plan in 2D, then flip to 3D to confirm it.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-09e9cb1004c5c0986abedfe7ce2a6eb20892c1c9%2Fdbt-2d-plan-properties.jpg?alt=media" alt="A two-room floor plan in 2D view, with a window selected and its properties panel open on the right"><figcaption></figcaption></figure>

## How do I draw a wall?

1. On the bottom toolbar, click **Build**. A row of eight buttons appears: **Wall**, **Door**, **Window**, **Fence**, **Trace from map**, **Import from file**, **Flat roof** and **Pitched roof**.
2. Click **Wall**.
3. Click once in the scene to set the wall's **start point**.
4. Move the cursor — a preview of the wall follows, with a live length label in meters.
5. Click a second time to set the **end point**. The wall is created.
6. The tool stays active, so you can immediately draw the next wall. Each wall begins a fresh two-click sequence.

Wall endpoints snap to a grid, which makes it easy to keep corners square and walls aligned. When a new wall crosses an existing one, or ends on it close to its line, the existing wall is split at that point — so you can later select and color each segment independently.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-5df4c5491fa4d425e88957d2f8ba74acd21372eb%2Fdbt-build-tools.jpg?alt=media" alt="The Build row of eight buttons — Wall, Door, Window, Fence, Trace from map, Import from file, Flat roof, Pitched roof — above the mode toolbar"><figcaption></figcaption></figure>

To stop drawing, press **Escape** or right-click, or click **Build** again to leave the mode.

## How do I add doors and windows?

Doors and windows are placed **into** a wall, so draw the walls first.

1. Click **Build**, then click **Door** or **Window**.
2. Click on a wall where the opening should go.
3. The opening is cut into the wall.

Select a door or window with the **Select** tool to fine-tune it in the properties panel:

* **Doors** — Width, Height, position along the wall, **hinge side** (Left / Right), and **swing direction** (Inward / Outward).
* **Windows** — Width, Height, position along the wall, height off the floor, and sill depth.

## How do I draw a fence?

A fence is drawn exactly like a wall — click **Build**, click **Fence**, then click a start point and an end point. Fences are useful for the parts of a site that aren't enclosed building: a yard perimeter, a parking-lot boundary, a fenced compound.

## How do I add a roof?

**Flat roof** and **Pitched roof** are one-click buttons, not draw tools: click one and the roof is created at once from the walls on the active floor. Roofs sit on walls at the standard 3 m wall height.

* **Flat roof** adds a flat **Roof** over each closed wall outline on the floor. A floor with two separate buildings gets two roofs, named **Roof (1)** and **Roof (2)**.
* **Pitched roof** adds a single gable **Roof** with one **Roof segment**, sized to the bounding box of all walls on the floor.

Draw the walls first. With no walls on the active floor, the editor shows the warning **Draw walls before adding a roof** and creates nothing. To remove a roof, select it in the **Scene** panel and press **Delete**.

## How do I change a wall's height, thickness or material?

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

* **Length** — shown for reference.
* **Height** — how tall the wall stands.
* **Thickness** — how thick it is.
* **Material** — a grid of presets (white, brick, concrete, wood, glass, metal, plaster, tile, marble) plus a **custom** color swatch. Material is purely visual — it does not affect sensor binding — but a glass curtain wall or a concrete core makes the model read true to the real building.

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

## How should I name walls and zones?

As the model grows, open the **Scene** panel and give your walls and zones meaningful names — double-click an entry to rename it. "North Dock Wall" is far easier to find later than "Wall 14," and clear names make sensor binding much quicker when you reach that step.

## What are the best tips for drawing a building?

* Draw the outer shell first, then interior partitions. The grid snap keeps everything aligned.
* Work in 2D for accuracy, then switch to 3D to sanity-check heights and openings.
* Undo (Ctrl+Z) steps back through every drawing action, so experiment freely.
* You don't need a perfect model — you need a *recognizable* one. The goal is for an operator to instantly know which part of the building a colored object represents.

## See also

* [Importing a DXF plan](/dashboards/adding-widgets/digital-building-twin/importing-a-dxf-plan) — Start from an existing CAD drawing
* [Tracing from the map](/dashboards/adding-widgets/digital-building-twin/tracing-from-the-map) — Trace the outline from an aerial map
* [Floors and levels](/dashboards/adding-widgets/digital-building-twin/floors-and-levels) — Add and manage multiple floors
* [Placing objects](/dashboards/adding-widgets/digital-building-twin/placing-objects) — Furnish and equip the space


# How to Import a DXF Floor Plan into a Digital Building Twin

Import an architectural DXF drawing into a Digital Building Twin — pick each floor plan, review walls, doors and windows, and add all levels at once.

Most commercial facilities already have an architectural drawing. Rather than redraw a warehouse or office floor wall by wall, you can import that drawing directly. The editor reads **DXF** files — the interchange format every major CAD application can export — recognizes walls, doors and windows, and creates them on the levels you choose. A drawing with several floor plans on one sheet becomes several levels in a single import.

The import is a **beta**. A **Beta** badge sits next to the dialog title, and hovering it shows *DXF import is in beta and may not work perfectly. Check the result after import.* Treat the preview as the proof, and expect that a clean architectural export reads better than a scanned or heavily converted drawing.

## What do I need to import a DXF file?

* A `.dxf` file of the building you want to model. Any CAD package — AutoCAD, BricsCAD, LibreCAD, and others — can export DXF.
* A **text (ASCII) DXF** file. Binary DXF and DWG files are not supported; if the drawing is a DWG, save it as DXF from your CAD tool first.
* The file is read entirely in your browser. Nothing is uploaded when you import it; the walls are saved with the widget like any other part of the twin.

## How do I import a floor plan into a Digital Building Twin?

1. Open the twin in the editor and click **Build** on the bottom toolbar.
2. In the import row of the toolbar, click **Import from file**. (The button sits next to **Trace from map**.) A full-screen dialog titled **Import from file** opens, with the **Beta** badge beside the title.
3. Drag a `.dxf` file onto the dialog, or click **Choose file** under **Import a floor plan**. The empty state reminds you that the file is read in your browser and is not uploaded, and that a DWG must be saved as DXF first.
4. Wait while the dialog shows **Reading file…**. The drawing appears in the preview, and a 360-pixel sidebar opens on the right.
5. Drag a rectangle around one floor plan on the drawing (the preview says **Drag a rectangle around the floor plan you want to import**).
6. Check the recognized walls, doors and windows, then click **Add as {level name}** in the sidebar.
7. Repeat for the other floors.
8. Click **Import levels: N** at the top right. If you never selected anything, the button reads just **Import** and the whole drawing becomes one level.

The sidebar lists the same sequence under its numbered steps:

1. **Drag a rectangle around one floor plan on the drawing**
2. **Check the walls, doors and windows, then add it as a level**
3. **Repeat for the other floors**
4. **Import all levels at once**

Each step is highlighted while it is the current one and shows a check mark when it is done.

If the file can't be read, the preview shows the error with the hint *Make sure it is a text (ASCII) DXF file. Binary DXF and DWG are not supported.* If it reads but contains nothing to turn into walls, the preview says **No supported geometry in this file** — *The file has no lines, polylines, arcs or circles to turn into walls.* DXF files sometimes hold only annotations or dimensions.

## What does each part of the import dialog do?

### Header

* **Import from file** — the title, with the file name underneath once a file is loaded.
* **Cancel** — closes the dialog without changing the twin. It is disabled while the import runs.
* **Import** / **Import levels: N** — creates every level in the list at once. It is disabled until there is something to import, and shows a spinner while it works (the preview reads **Importing…**).

### Preview

The preview shows your drawing as thin lines and overlays what the importer recognized. A legend explains the colors:

* **Drawing lines** — the raw CAD lines.
* **Walls**, **Doors**, **Passages**, **Windows** — recognized structure.
* **Current selection** — the dashed frame of the rectangle you are dragging or just drew.
* **Level to import** — the solid frame around a floor plan you already added.

Drag a new rectangle to replace the current selection. A **Choose another file** button above the preview lets you swap the drawing.

### Levels to import

This section lists every floor plan you added. Each row has:

* A **Level** selector. Options read **{name} (new)** for a level that does not exist yet, **{name} (empty)** for an existing level with nothing on it, and **{name} (replace)** for a level that already has content and will be overwritten. Levels already used by another row are disabled.
* A trash button (**Remove level**) that drops the floor plan from the import.
* A summary line, for example **12 walls · 3 doors · 4 windows**, or **Recognizing walls…** while it works, or **Walls could not be recognized in this area**.

With no selection yet, the section reads *Nothing selected yet. Without a selection the whole drawing is imported as one level.* and shows one **Level** selector for the whole drawing.

When a rectangle is drawn but not yet added, a card appears with its **Level** selector, its summary, and two buttons: **Add as {level name}** and **Clear selection**. Two messages can appear on the card:

* **Another floor already goes to this level.** — pick a different level.
* **Too many walls to import ({count}). Select one floor plan or fewer layers.** — draw a smaller rectangle or switch layers off.

If stairs were found, the card adds **Stairs were recognized and left out**; stairs are not imported.

### Drawing

* The file name.
* **Skipped elements: N. Text, dimensions, hatches and blocks are not imported.** — shown when the drawing carries other CAD elements. A high count is normal.
* **Drawing units** — **Millimeters (mm)**, **Centimeters (cm)**, **Meters (m)**, **Inches (in)**, **Feet (ft)** or **Unitless**. The importer reads the unit declared in the file and preselects it, with the note **Detected from the file**. If the file declares none, you see *The file does not declare its units. Check the scale in the preview.* If you pick a different unit than the file's, you see **Differs from the units declared in the file**. Getting this right makes the building come in at real-world size — if a model is far too large or small, the unit is almost always the cause.
* **Choose another file** — loads a different drawing.
* **Reset file** — clears the loaded file and returns to the empty state.

Warnings from the importer, such as a drawing that was flattened by a PDF conversion or had its blocks exploded, appear here too. For those, go back to the original CAD file if you have it.

### Recognition

* **Detect doors and windows** — turns gaps and door and window symbols in the walls into openings. Turn it off if the drawing produces false doors.
* **Import single lines as walls** — treats lone lines (not double-line walls) as walls. Turn it on for simple outlines.
* **Curve smoothness** — **Low (8)**, **Medium (16)** or **High (32)**: the number of straight segments used for each arc or circle. The note says *Arcs and circles become straight walls. More segments look smoother but add walls.*

The preview re-renders when you change an option, so you can tune the result before importing.

### Layers

A checkbox per CAD layer. Clear a layer — dimensions, furniture, hatches — to keep it out of recognition. Exporting only the wall layers from your CAD tool gives the best result.

## What happens when I replace a level?

If any selected level already has content, clicking **Import levels** first asks **Replace {names}?** and explains *{walls} walls, {openings} doors and windows and {other} other objects on {names} will be deleted. Devices bound to them will be unbound.* Click **Replace** to continue or **Cancel** to go back and choose a different level.

## What can I do after importing a DXF plan?

The imported walls behave exactly like walls you draw by hand. Select any of them to set height, thickness, and material, add doors and windows, and continue building. If the import isn't quite right, **Undo** (Ctrl+Z) reverses it, and you can adjust the drawing units or layers and try again.

A typical workflow: import the shell from DXF, switch to the **2D view** to confirm the layout, then draw any interior partitions the CAD file didn't include and move on to furnishing.

## What are the best tips for importing a DXF plan?

* If the building imports at the wrong size, the **Drawing units** setting is wrong — change it and import again.
* One drawing with several floor plans on it needs one rectangle per floor; give each a different **Level**.
* Clean DXF files import cleanly. If a drawing is cluttered with non-wall layers, switch those layers off.

## See also

* [Drawing your building](/dashboards/adding-widgets/digital-building-twin/drawing-your-building) — Draw or adjust structure by hand
* [Tracing from the map](/dashboards/adding-widgets/digital-building-twin/tracing-from-the-map) — Build from an aerial map instead
* [Floors and levels](/dashboards/adding-widgets/digital-building-twin/floors-and-levels) — How levels are named and added


# How to Trace a Building from the Map

Trace a building outline from an aerial map in the Digital Building Twin — polygon to walls with real GPS anchor.

When you don't have a CAD drawing, you can build the shell of a Digital Building Twin straight from an aerial map. Open the map, find the building, click around its outline, and the editor turns the traced polygon into walls — and records where that building sits on the planet.

This is the right approach for sites you can see from above but don't have plans for: a depot, a yard, a parking lot, an outbuilding, a whole campus footprint. It is also how a building gets its **GPS anchor** — the trace stores a real-world geographic origin on the building, which is the foundation for the location-aware features described in [GPS anchoring](/dashboards/adding-widgets/digital-building-twin/gps-anchoring).

## How do I open the map?

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

Pan and zoom the map to frame the building you want to trace. Use the navigation controls in the corner, or drag and scroll as you would on any web map.

## How do I trace a building?

1. Click **Trace building** to enter trace mode. The cursor becomes a crosshair and a hint appears: *Click on the map to add building corners*.
2. Click each **corner** of the building's outline in turn. Each click drops a point; the points connect into the polygon you're tracing.
3. Work your way around the full perimeter. The toolbar shows a running **point count**.
4. If you misplace a point, click **Undo** to remove the last one. **Reset** clears the trace and starts over. **Pause** stops adding points without discarding the ones you have.
5. When the outline is complete — at least three points — click **Import**.

The traced polygon is converted into one wall per edge, placed on the floor that is currently active. The map dialog closes and you're back in the editor with the building shell in place.

## What does map tracing store?

Importing a traced building does two things:

* **Creates the walls** — one wall per edge of the polygon, on the active floor.
* **Stores the GPS origin and anchors on the building** — because the trace was drawn on a real map, the editor records the geographic coordinates of the outline. That anchor travels with the building when the widget is saved, and it's what later GPS features build on. See [GPS anchoring](/dashboards/adding-widgets/digital-building-twin/gps-anchoring).

## What do I do after tracing?

The traced walls are ordinary walls — select any of them to set height, thickness, and material, add doors and windows, draw interior partitions, and furnish the space. The trace gives you a correctly-proportioned, correctly-placed shell; everything inside it you build as normal.

## What are the best tips for tracing?

* Zoom in close on the map before tracing — the more of the building fills the screen, the more accurately you can place each corner.
* Trace the outline in order, going around the perimeter once. Don't jump across the building between clicks.
* For an L-shaped or irregular building, click a point at every corner, including the inside corners.
* Use **Pause** if you need to pan the map mid-trace, then resume clicking.

## See also

* [GPS anchoring](/dashboards/adding-widgets/digital-building-twin/gps-anchoring) — What the geographic anchor enables
* [Drawing your building](/dashboards/adding-widgets/digital-building-twin/drawing-your-building) — Add interior structure after tracing
* [Importing a DXF plan](/dashboards/adding-widgets/digital-building-twin/importing-a-dxf-plan) — Build from a CAD drawing instead


# How to Add Floors to a Digital Building Twin

Model a multi-floor building in a Digital Building Twin: add or delete floors, switch levels, and pick a view.

Few facilities are single-story. An office building has floors stacked on top of each other; a warehouse has a mezzanine; a site has a basement plant room under the ground floor. A Digital Building Twin models all of them in one widget — each floor is its own layer of the same model, with its own walls, objects, and sensor bindings.

This page covers adding floors, moving between them, and the two ways to view a multi-floor model.

## What does the floor selector show?

A floating stack of floor buttons sits to one side of the editor. It is the control center for everything to do with floors:

* Each floor is a button, labeled **L0**, **L1**, **L2**, and so on. The highest floor is at the top of the stack, the lowest at the bottom — the same order they sit in the real building.
* The **active floor** is highlighted. Everything you draw, place, or bind goes onto the active floor.
* Click any floor button to make that floor active and bring it into focus.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-1997806e9634e6032511cc0bf3f563b692ab054d%2Fdbt-floor-selector.jpg?alt=media" alt="The floor selector stack showing floor L0 with the add and duplicate controls and the 3D / 2D toggle"><figcaption></figcaption></figure>

## How do I add a floor?

* Click the **+** button at the **top** of the stack to add a floor **above** the highest one.
* Click the **+** button at the **bottom** of the stack to add a floor **below** the lowest one.

A new floor gets a slab (a floor plate) traced from the walls of the closest floor that has any, or from that floor's existing slabs, so it starts with a footprint instead of empty space. If no floor has walls or slabs yet, it gets a default 10 m × 7 m plate. From there you draw its walls, place its objects, and bind its sensors independently.

A common pattern for a multi-story building: add all the floors first, then work through them one at a time — make a floor active, build it out, move to the next.

## How do I copy a floor?

Next to each **+** button sits a **Copy floor above** or **Copy floor below** button (a copy icon). It clones the active floor onto a new floor stacked above the highest floor or below the lowest one, together with its walls, doors, windows and placed objects. If the source floor has no slab, a slab is traced from its walls so the copy still has a floor.

Sensor bindings and pins are not copied. A device stays on the floor where you placed it, so bind the copy's sensors yourself.

## How do I delete a floor?

Select the floor in the stack, then click the **delete** icon on its button. A model must keep at least one floor, so the delete control only appears when there is more than one.

## How do I view a multi-floor model?

Below the floor buttons, the selector carries two view toggles.

### 3D / 2D

Switches the camera between the **3D view** (orbit the model freely) and the **2D view** (a locked top-down plan). This is the same toggle described in the [Editor tour](/dashboards/adding-widgets/digital-building-twin/editor-tour). Draw and lay out in 2D; review in 3D.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-cb00441a09946b3d5d32e698f339181f29dfe75f%2Fkilo-dbt-2d-editor-scene.jpg?alt=media" alt="The Digital Building Twin editor in 2D view: a top-down floor plan with a room selected, its name and material swatches in the properties panel on the right, and live sensor values on the plan"><figcaption></figcaption></figure>

### Stack / Solo

This toggle controls how floors are shown, and only appears when the model has more than one floor:

* **Stack** — every floor is drawn in its real position, stacked vertically. You see the whole building at once. Best for a final review and for framing the dashboard view.
* **Solo** — only the active floor is shown; the others are hidden. Best while you are working — a single floor with no clutter from the levels above and below.

A typical rhythm: work in **Solo** so each floor is uncluttered while you build it, then switch to **Stack** to see the whole building before you save.

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

The dashboard tile renders the model from the camera angle, view mode and level you leave the editor with, including the pan offset, and shows it as saved without re-centering on the building. For a multi-floor building, framing the model in **Stack** with a slight 3D tilt gives the dashboard a clear, whole-building view. If a particular floor is what matters most — the production floor, the floor with the critical cold store — frame that one and save.

## What are the best tips for working with floors?

* Name your floors something meaningful in the **Scene** panel — "Ground Floor," "Mezzanine," "Plant Room" — instead of leaving them as L0, L1, L2.
* Build floor by floor. Switching to **Solo** keeps the floor you're working on free of visual noise.
* Sensor bindings are per-object, so a sensor on the third floor and a sensor on the ground floor stay correctly placed no matter which floor is active.

## See also

* [Editor tour](/dashboards/adding-widgets/digital-building-twin/editor-tour) — The 3D/2D toggle and camera controls
* [Drawing your building](/dashboards/adding-widgets/digital-building-twin/drawing-your-building) — Build out each floor
* [Binding sensors and colors](/dashboards/adding-widgets/digital-building-twin/binding-sensors-and-colors) — Wire sensors on every floor


# How to Place Objects in a Digital Building Twin

Place 3D objects — desks, racks, parking bays, AC units — into a Digital Building Twin from the object catalog.

Walls make a building; objects make it *the* building. A row of desks turns an empty floor plate into an open-plan office. A parking spot turns an outdoor slab into a bay you can monitor. The objects you place are also what most sensors bind to — a sensor reads "occupied," and the desk it's bound to changes color.

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

## How do I open the object catalog?

1. On the bottom toolbar, click **Furnish**.
2. A row of five category tabs appears — **Furniture**, **Appliance**, **Kitchen**, **Bathroom**, **Outdoor** — above a scrollable strip of object thumbnails.
3. Click a category tab to load its objects into the strip. Scroll the strip to browse them.

## How do I place an object?

1. With **Furnish** open, click an object's thumbnail in the strip to select it.
2. Move the cursor into the scene — a preview outline of the object follows it.
3. Click where you want the object to go. The object is placed.
4. The tool stays armed, so you can keep clicking to place more copies of the same object. Pick a different thumbnail to switch objects.
5. Press **Escape** or right-click to stop placing.

Objects snap to a fine grid as you place them, so a row of desks or a line of parking spots lands evenly spaced without fiddling.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-2502b6960b0421ed7fa9a611d2ef72289a505a6f%2Fdbt-object-catalog.jpg?alt=media" alt="The Furnish mode open, with the category tabs and the scrollable strip of object thumbnails above the mode toolbar"><figcaption></figcaption></figure>

### How do I rotate an object while placing it?

For objects that sit on the floor, press **R** or **T** while placing to rotate the preview by 45° before you click. This lets you face a desk, angle a vehicle, or orient a rack the right way as you drop it in.

### How do wall-mounted objects work?

Some objects belong on a wall rather than the floor — wall-mounted AC units, TVs, shelves, wall sinks. When you place one of these, it attaches to the wall surface your cursor is over and orients itself to face into the room. Slide the cursor up or down the wall to set its mounting height.

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

Switch to **Select** and click an object to open its properties panel:

* **Name** — rename the object so it's easy to find in the Scene panel and when binding sensors.
* **Position** — X, Y (height), and Z, each adjustable precisely.
* **Rotation** — set the Y angle directly, or use the **+45°** / **-45°** buttons.
* **Scale** — a single uniform scale, useful when a catalog object needs to be a little larger or smaller than its default size.
* **Dimensions** — the object's measured size, shown for reference.

The selected catalog item, door, or window also gets an inline badge floating above it with quick **Move**, **Duplicate**, and **Delete** buttons (walls show only **Delete**). **Duplicate** is the fast way to lay out repeated objects — place one desk exactly how you want it, then duplicate it down the row. A duplicate keeps the original's name instead of gaining a "copy" suffix, so copying one window fifty times does not leave fifty names to clean up (rename the ones you will bind sensors to). In the **2D view** the same badge is available, and **Move** works there too: pick the new spot on the plan and an item changes its floor position, while a door or window attaches to whichever wall you pick, the same way it does when first placed.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-c0380b805f9eeb27d8b00fbb77b9389ed4554ee3%2Fkilo-dbt-2d-move-duplicate.jpg?alt=media" alt="The Digital Building Twin editor in 2D view with a computer selected: the inline Move, Duplicate and Delete badge above it, and the properties panel with Position, Rotation, Scale and a Duplicate button on the right"><figcaption></figcaption></figure>

## How do parking spots work?

The **Parking Spot** object (in the **Outdoor** category) has one extra property: a **Spot #** field. Give each bay its real designation — "A12," "L2-44" — and that number shows on the spot in the model. When you duplicate a numbered parking spot, the number increments automatically, so you can lay out a whole row of correctly-numbered bays in seconds. Parking spots and occupancy sensors work well together — see [Binding sensors and colors](/dashboards/adding-widgets/digital-building-twin/binding-sensors-and-colors).

## What are the best tips for placing objects?

* Place the objects that will carry sensors first — the desks, racks, bays, and equipment you actually monitor — then add decorative objects if you want the model to read more naturally.
* Use **Duplicate** plus the grid snap to lay out repeated objects fast.
* Rename objects as you place them. "Rack B7" is far easier to bind a sensor to than "Office Table 23."
* You don't need to furnish every corner. Place what matters operationally; the model's job is clarity, not interior decoration.

## See also

* [Object catalog](/dashboards/adding-widgets/digital-building-twin/object-catalog) — Every object, by category
* [Binding sensors and colors](/dashboards/adding-widgets/digital-building-twin/binding-sensors-and-colors) — Wire objects to live readings
* [Drawing your building](/dashboards/adding-widgets/digital-building-twin/drawing-your-building) — Build the structure objects sit in


# What Objects Are in the Digital Building Twin Catalog?

Browse the Digital Building Twin catalog of 64 scaled 3D objects, from furniture and appliances to outdoor items.

The editor includes a built-in catalog of 64 ready-made 3D objects, organized into five categories. This page is the reference inventory — what's in each category and how to think about using it. For the mechanics of dropping objects into a model, see [Placing objects](/dashboards/adding-widgets/digital-building-twin/placing-objects).

Every object is a measured, properly-scaled 3D model, so a desk is desk-sized and a parking spot is the size of a real bay. That accuracy matters: a model built from correctly-scaled objects reads true, and an operator trusts what they see.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-2502b6960b0421ed7fa9a611d2ef72289a505a6f%2Fdbt-object-catalog.jpg?alt=media" alt="The object catalog strip with its category tabs and 3D model thumbnails"><figcaption></figcaption></figure>

## Which furniture objects are in the catalog?

General-purpose objects for offices, interiors, and workspaces:

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

When you're laying out an office or workspace, **Office Table** and **Office Chair** do most of the work — place them as desks and workstations, then bind occupancy or environmental sensors to them. **Column** helps mark the structural grid of a large floor plate. None of this is prescriptive — the categories are a palette, and how you combine them is up to you.

## Which kitchen objects are in the catalog?

Objects for break rooms, canteens, and kitchen areas:

Stove, Fridge, Counter, Microwave.

## Which bathroom objects are in the catalog?

Fixtures for washrooms and facilities:

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

## Which appliance objects are in the catalog?

Equipment and building services — often the objects you most want to monitor:

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

This category carries the building-services objects that map directly to operational monitoring: **AC Unit** for climate zones, **Smoke Detector** for fire-safety coverage, **Water Boiler** and **Gas Water Heater** for plant rooms, and the **Water Pump** and **Water Softener** objects for water-treatment installations. Bind a sensor to one of these and the equipment itself shows fault or status color in the model.

## Which outdoor objects are in the catalog?

Objects for yards, lots, perimeters, and site-level modeling:

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

If you're modeling a car park or a yard, **Parking Spot** is the object to reach for — it carries a **Spot #** label, and an occupancy sensor binds straight to it. **Traffic Barrier** and **Gate** stand in for access-control points. **AC Condenser** and **Rooftop AC Unit** represent the outdoor side of HVAC plant. The waste-container objects suit facility and waste monitoring — bind a fill-level sensor to a dumpster and the container shades as it fills.

## What is the difference between wall-mounted and floor objects?

Most objects stand on the floor. Some are designed to mount on a wall — wall AC units, TVs, shelves, and wall sinks — and snap to a wall surface when you place them, facing into the room. The catalog handles this automatically; you don't choose a mount type, you just place the object and it behaves correctly. See [Placing objects](/dashboards/adding-widgets/digital-building-twin/placing-objects) for placement detail.

## What should I model first in a building twin?

How far you take a building twin is up to you — some teams model every desk and partition, others place only what carries a sensor. What matters is that the model is *legible*: that anyone looking at it instantly knows which part of the building a colored object represents. A practical way to start:

1. Place the objects that carry sensors first — desks, racks, parking spots, AC units, pumps, the equipment you actually monitor.
2. Add structural and contextual objects — columns, a reception layout — so the space is recognizable.
3. From there, model as much or as little as serves your team. Empty floor space is perfectly fine; so is a richly detailed twin. Let the way your operators read the model guide how far you take it — and don't feel bound by these examples, the catalog is there to represent whatever your site actually contains.

## See also

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


# How to Bind Sensors to a Digital Building Twin

Bind sensors to Digital Building Twin objects and define color rules — turn a 3D drawing into a live operational view.

This is the step that makes a Digital Building Twin worth building. Up to now the model is a 3D drawing of a facility. Binding sensors turns it into a live operational view: a sensor reads "occupied" and the desk it's bound to turns red; a probe reports 14°C and the cold store it's bound to turns from green to amber.

A **binding** connects one sensor reading to one or more objects in the model, plus a set of color rules that decide what color those objects show at any given value. This page covers building that connection.

## How do I open the Sensors panel?

On the bottom toolbar, click **Sensors**. The Sensors panel opens, headed **Source**. This is where every binding is configured.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-7bb7b25118c6db5d6283c10dd7ff02e4a553b60e%2Fdbt-sensors-panel.jpg?alt=media" alt="The Sensors panel open on the right of the editor, headed Source, with Add datasource and the GPS Anchors section"><figcaption></figcaption></figure>

## How do I add a data source?

A data source is a device.

1. Click **Add datasource**. A new data-source card appears.
2. Click **Choose device** and pick the device whose readings you want to use.
3. The card now shows the device name. Add as many data sources as you need — one per device.

## How do I add a metric?

Each data source exposes the device's individual sensor readings as **metrics**.

1. On the data-source card, click **Add metric**.
2. In the **Device metric** dropdown, choose the reading you want — temperature, occupancy, fill level, status, and so on.
3. Repeat to add more metrics from the same device.

Each metric is one binding. A device with a temperature sensor and an occupancy sensor gives you two metrics, and you bind each to different objects.

## How do I bind a metric to objects?

1. On the metric, click **Configure**. The metric enters binding mode and its editor expands.
2. The editor shows the prompt **Click objects on the scene to bind them**.
3. Click any object in the 3D model — a desk, a parking spot, an AC unit, a wall, a whole floor zone. Each object you click is added to this metric, and appears in the editor's **Bound** list.
4. Bind as many objects as the reading should drive. To unbind one, remove it from the Bound list.
5. When you're done, click **Done**.

One metric can drive several objects at once — bind a single zone-temperature sensor to every desk in that zone and they all recolor together. The metric's **Bound** count shows how many objects it currently drives.

## How do I define sensor colors?

A binding's editor carries the color rules. Two things control what an object shows:

* **Unit** — a text field at the top of the binding editor (for example `°C` or `%`). Whatever you type is appended to the value, with no space added, on pins and in the test readout, so `13.4` with unit `°C` reads `13.4°C`.
* **Default color** — the color used when no condition matches. Set it with the **Default** color picker beside the **Unit** field.
* **Conditions** — the rules that map readings to colors. Click the **+** (**Add condition**) button next to the **Conditions** heading to create one; it adds a red condition named **Rule** covering 0 to 100, which you then edit. Each condition has:
  * a **color**,
  * a **Name** (a label like "Occupied," "Breach," "Warning"),
  * a **Data type** — **Number**, **String**, or **Boolean**,
  * and a value test that depends on the type:
    * **Number** — a **From** / **To** range. The condition matches when the reading falls inside it.
    * **String** — a single **Value**. The condition matches when the reading equals it exactly.
    * **Boolean** — a **True** / **False** setting. The condition matches when the reading matches it.

Conditions are evaluated in order, and the **first one that matches wins**. If none match, the object shows the default color. This is the same conditional-color system used by the Last Data, Chart, and Image widgets — see [Conditions](/dashboards/adding-widgets/conditions) for the full reference.

## How do I test sensor colors?

A binding's editor includes a **Value** slider, a fixed 0 to 100 scale with the current value and unit shown beside it. It appears only while the bound sensor isn't sending live data. Drag the slider and watch the bound objects recolor in real time — it's the fastest way to confirm your conditions before the model goes on a dashboard. Once the device is reporting, the binding shows the real **Current value**, rounded to at most two decimals for readability, and the model reflects live readings.

## What can I do with sensor bindings?

**Parking availability.** Bind an occupancy sensor's status metric to a parking spot. Add two String conditions: `occupied` → red, `vacant` → green. The bay shows its real-time state; a lot full of these reads at a glance.

**Cold-chain compliance.** Bind a temperature probe to the cold-store zone. Add Number conditions: 2–8°C green ("Compliant"), 8–12°C amber ("Warning"), set the default color red for anything above. A supervisor sees compliance status without opening a single device page.

**Equipment and HVAC fault visibility.** Bind a status sensor to an AC unit or a pump. A Boolean condition — fault `true` → red — turns the equipment red in the model the moment it faults, so the failure is located as well as flagged.

**Facility occupancy.** Bind motion or occupancy sensors to the desks or zones of an office floor. Occupied desks shade one color, free desks another — space utilization becomes a picture instead of a report.

These four are a small sample of what binding makes possible. Any sensor in your deployment can drive any element of the model — if you can describe what a reading means for a place, you can make the twin show it. Let your own deployment suggest the rest.

## What are the best tips for binding sensors?

* Name objects clearly in the **Scene** panel before you bind — clicking the right desk is much easier when it's called "Rack B7."
* Bind one metric to many objects when they share a reading; bind separate metrics when each object has its own sensor.
* Use the test slider to prove every condition before you save.
* Keep conditions few and meaningful — three bands (good / warning / critical) usually communicate more clearly than ten.

## See also

* [Conditions](/dashboards/adding-widgets/conditions) — The full conditional-color reference
* [Drop-pins and live values](/dashboards/adding-widgets/digital-building-twin/drop-pins-and-live-values) — Show the numeric value in the scene
* [Placing objects](/dashboards/adding-widgets/digital-building-twin/placing-objects) — Add the objects sensors bind to


# How to Show Live Sensor Values in a Digital Building Twin

Drop labeled pins into a Digital Building Twin — show live sensor readings with name, value, color.

Conditional color tells an operator *that* something needs attention — a red zone, an amber unit. Sometimes they also need the **number**: not just "the cold store is in breach" but "the cold store is at 13.4°C." A drop-pin puts that exact reading in the model, anchored to the spot it belongs to.

A pin is a marker placed at a specific point in the scene. It shows the metric's name and its current value with units, and the pin itself takes the same conditional color as the reading — so it's both a label and a status light.

## How do I pin a metric to the scene?

Pins are created from the Sensors panel, on a metric you've already set up (see [Binding sensors and colors](/dashboards/adding-widgets/digital-building-twin/binding-sensors-and-colors)).

1. On the bottom toolbar, click **Sensors** and find the metric you want to pin.
2. On that metric, click **Pin to scene**.
3. The editor enters pick mode and shows the prompt **Click on the scene to pin this metric**.
4. Click the point in the model where the pin should sit — over the cold store, beside the pump, on the parking bay.
5. The pin appears at that point, showing the metric name and current value.

A pinned metric then offers two controls: **Re-pin** to move the marker to a new spot, and **Unpin** to remove it.

## What does a pin show?

Each pin is a teardrop marker with a label floating above it. The label carries the metric's name and its current value with units — for example `Temperature` and `13.4°C`. The device name is dropped from the label when the metric name starts with it. Readings are rounded for display to at most two decimal places, with trailing zeros dropped, so a sensor that reports `15.392933316005998` shows as `15.39°C`; text and other non-numeric readings are shown as they arrive. The marker and label are colored by the metric's conditions, exactly the way bound objects are colored: a reading in the "breach" band makes the pin red, a reading in the "compliant" band makes it green.

So a pin does two jobs at once — it reports the precise number, and it shows status through color without anyone having to read the number at all.

## How do pins work across floors?

A pin belongs to the floor it was placed on. In a multi-floor model, a pin placed on the third floor shows when the third floor is in view and stays out of the way on the others — so a tall building doesn't end up with every floor's pins overlapping. See [Floors and levels](/dashboards/adding-widgets/digital-building-twin/floors-and-levels).

## How do I show or hide sensor pins?

The Sensors panel header has a **Show sensor pins** toggle. It appears once at least one metric is pinned, and switches every pin in the model on or off at once.

Turn pins **off** for a clean, color-only view — useful for a wall-display dashboard where the shape and color carry the message. Turn them **on** when operators need the exact figures. Whichever way the toggle is set when you save the widget is how the dashboard tile shows it.

## When should I use a pin instead of color?

Color-only is enough for many objects — a parking bay doesn't need a number, occupied or free is the whole story. Reach for a pin when the value itself matters:

* A cold store or freezer where the exact temperature is the compliance record.
* A tank or silo where the fill percentage drives a refill decision.
* A plant-room pump where pressure or flow is the reading an engineer acts on.
* Any point where "how bad" matters as much as "there's a problem."

Pin the handful of readings that operators genuinely need as numbers, and leave the rest to color. A model peppered with pins is as hard to read as a spreadsheet; a few well-placed pins draw the eye exactly where it should go.

## See also

* [Binding 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) — Anchor scene points to real-world coordinates


# How to Anchor a Digital Building Twin to GPS Coordinates

GPS anchoring for a Digital Building Twin, set automatically from a map trace or by hand, point by point.

A Digital Building Twin is a model of a real place — and a real place has a location on the planet. GPS anchoring records that location: it ties the building, and selected points inside it, to actual latitude and longitude coordinates. This gives the model a geographic frame of reference and lays the spatial groundwork for location-aware operations.

This page covers the two ways a model gets anchored, and how to manage anchors from the Sensors panel.

## How can I anchor a building to a real location?

### Anchor by tracing from the map

When you build the shell of a model by [tracing it from the aerial map](/dashboards/adding-widgets/digital-building-twin/tracing-from-the-map), the trace is drawn on real-world coordinates. Importing the trace stores a **GPS origin** and a set of anchors on the building automatically — no extra step. If you traced your building from the map, it is already anchored.

### Anchor selected points by hand

You can also place anchors manually, on any model — including one drawn from scratch or imported from DXF. This is done in the **GPS Anchors** section at the bottom of the Sensors panel.

1. On the bottom toolbar, click **Sensors**, and find the **GPS Anchors** section.
2. Click **Add by click**. The editor enters pick mode with the prompt **Click on the scene to pick a point**.
3. Click a point in the model — a building corner, a known reference position.
4. A small form appears showing the point you picked. Enter its real-world **Latitude** and **Longitude**.
5. Click **Save**. The anchor is added to the list, labeled **A**, **B**, **C**, and so on.

Add as many anchors as you need. Two or three known points — the corners of the building, a surveyed reference — are enough to fix the model firmly in real-world space.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-7bb7b25118c6db5d6283c10dd7ff02e4a553b60e%2Fdbt-sensors-panel.jpg?alt=media" alt="The GPS Anchors section at the bottom of the Sensors panel with the Add by click control"><figcaption></figcaption></figure>

## What is the center point?

As you add anchors, the editor computes a **Center** — the average position of all the anchors, in both geographic and model coordinates. The Center is shown at the top of the anchor list with its latitude and longitude. It represents the model's overall geographic position: where, on a real map, this building sits.

## How do I manage GPS anchors?

The GPS Anchors section lists every anchor with its coordinates. Each anchor can be removed individually. A visibility toggle shows or hides the anchor markers in the model, so you can keep them visible while you're setting the model up and hide them for a clean operational view.

## What does GPS anchoring enable?

GPS anchoring gives the Digital Building Twin something a plain 3D model doesn't have: a true position in the world. The building and its anchored points are no longer floating in an abstract space — they have coordinates.

This is the spatial base that location-aware operations build on. A model that knows where it is, and where key points inside it are, can be related to other geographic data — site maps, regional views, the physical position of assets and people. Anchoring is the groundwork: it puts the building on the map so that spatial workflows have real coordinates to work from.

## What are the best tips for GPS anchoring?

* If you trace the building from the map, anchoring is already done — check 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: surveyed corners, a site datum, a GPS reading taken on location.
* Spread anchors out — points at opposite corners of the building fix it more firmly than two points close together.
* Hide the anchor markers once the model is set up, so the dashboard view stays focused on sensor status.

## See also

* [Tracing from the map](/dashboards/adding-widgets/digital-building-twin/tracing-from-the-map) — Anchoring happens automatically when you trace
* [Drop-pins and live values](/dashboards/adding-widgets/digital-building-twin/drop-pins-and-live-values) — Mark live readings at scene points
* [Editor tour](/dashboards/adding-widgets/digital-building-twin/editor-tour) — Finding the Sensors panel


# Conditions

Configure per-metric color conditions on widgets — green, yellow, red rules turn raw sensor readings into status.

Conditions are per-metric color rules that turn a raw sensor reading into operational status. Instead of an operator looking at a number and deciding whether it's acceptable, the widget shows green, yellow, or red based on rules you define. The same sensor type in two different contexts can have completely different condition sets — a temperature of 4°C in a cold storage unit is compliant (green), but the same reading in a pharmaceutical cleanroom may be out of specification (red).

## Which widgets use conditions

Conditions are available for **Last data** and **Image** widgets. Each metric in these widgets has its own independent set of conditions.

The **Chart** widget uses a different approach — appearance-level threshold bands on the graph and a per-metric color picker. See [Chart Widget](/dashboards/adding-widgets/chart-widget).

## Metric type note

The metric selectors in the Last data and Image widgets surface numeric sensor types (INTEGER and FLOAT). In practice, conditions on these widgets will be Number-type conditions matching numeric readings. The conditions modal also exposes String and Boolean data type options — these are covered below — but their use requires a widget that can select a sensor of those types.

## How to open the Conditions modal

1. Open the widget's settings panel and go to the **Datasource** tab.
2. Find the metric row for the sensor you want to configure.
3. Click the **Conditions button** — labeled **"Conditions: N"** where N is the current condition count.

## What the Conditions modal contains

**Title:** "Conditions" / **Subtitle:** "The conditions set first will be considered as a priority"

**Header (applies to the whole metric):**

* **Device metric** — Read-only. Identifies which sensor this modal is for.
* **Unit** — A free-text field for the unit shown next to the value on the widget (for example `42 cm`). Type **any unit** — `mm`, `cm`, `m`, `in`, `L`, `gal`, `bar`, `ppm`, `°C`, anything. There is no fixed list and no percentage assumption: it's whatever label you enter. The field pre-fills with the sensor's own unit; change it to whatever fits. Your condition **From / To** values are plain numbers expressed in this unit (so `From 0 To 30` means 0–30 of whatever you set here).
* **Icon** — Change the display 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.

**Per condition:**

* **Condition name** *(required)* — A label like "Compliant", "Warning", or "Breach". Must not be empty.
* **Data type** — Number, String, or Boolean (see below)
* **Value fields** — Depend on the data type
* **Color** — The color displayed when this condition matches
* **Delete** — Remove this condition

**Add condition** — Creates a new condition. Default: name "Condition N", type Number, range 0–100, primary color.

No limit on the number of conditions per metric.

**Save** (disabled while validation errors exist) / **Cancel**

## Priority: first match wins

Conditions are evaluated top to bottom. The first condition in the list that matches the current reading determines the color. If a sensor reads 10°C and your first condition matches readings from 8–12°C, that condition's color is used — subsequent conditions are not checked.

Order your conditions from most specific to most general, or from highest priority to lowest.

## Value fields by data type

### Number *(primary operational path)*

**From** and **To** fields — both are optional. Either or both can be left empty to create open-ended ranges:

* **Empty From** — matches any value below To (no lower bound)
* **Empty To** — matches any value above From (no upper bound)
* **Both filled** — From must be ≤ To

Examples:

* From 2, To 8 → matches readings between 2 and 8
* From 8 (no To) → matches any reading at or above 8
* (no From), To 2 → matches any reading at or below 2

### Number conditions — running/stopped and open/closed states

Control and status sensors often report binary state as an integer: 1 when active or open, 0 when stopped or closed. Number conditions map those values to operational labels:

* Condition "Running" — Number, From 1, To 1 — blue
* Condition "Stopped" — Number, From 0, To 0 — gray

Operational examples:

* Pump status: 1 = "Running" (blue), 0 = "Stopped" (gray)
* Valve position: 1 = "Open" (green), 0 = "Closed" (gray)
* Equipment interlock: 1 = "Engaged" (green), 0 = "Not engaged" (red)

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. Available in the conditions modal but requires a widget that surfaces a String-type sensor — Last data and Image widget selectors do not surface String sensors.

### Boolean

A **True / False** dropdown. Matches the reading exactly. Available in the conditions modal but requires a widget that surfaces a Boolean-type sensor — Last data and Image widget selectors do not surface Boolean sensors.

## Color fallback hierarchy

1. **Matched condition color** — Color of the first matching condition
2. **Default color** — Set in the modal header; applies when no condition matches
3. **Platform default** — Applies when no default color is set in the modal

## Operational examples

### Keeping a reserve topped up

A level sensor on something that must stay full — a coolant or reagent reserve, a water tank feeding a process — reports its level in whatever unit you choose. Set that unit in the modal's **Unit** field (it accepts anything — `mm`, `cm`, `m`, `in`, `L`…); here we'll read the depth in **centimeters** of a roughly one-meter tank. Three Number conditions then turn the reading into an at-a-glance refill status — and because the **first matching condition wins**, order them most-urgent 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://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-6f0179a593f498544216bcda1071027fd9d4f89e%2Fconditions.jpg?alt=media" alt="Conditions modal with three fill-level rules — Refill 0–30 red, Getting Low 30–50 amber, Normal Level 50–100 green"><figcaption></figcaption></figure>

On the widget the metric reads green while the reserve is healthy, turns amber as it draws down, and goes red the moment it crosses into the refill zone — so an operator restocks before it runs dry. To be alerted off the dashboard as well, pair the same threshold with an [Alarm](/alarm).

### Number conditions — same sensor type, two contexts

**Refrigeration unit:**

* "Compliant" — From 2, To 8 — green
* "Warning" — From 8, To 12 — yellow
* "Breach" — From 12 (no upper limit) — red

**Pharmaceutical cleanroom (same sensor type, different spec):**

* "Normal" — From 20, To 22 — green
* "Elevated" — From 22, To 24 — yellow
* "Out of spec" — From 24 (no upper limit) — red

Both measure temperature in °C. The hardware is the same. The conditions encode what those temperatures mean in each specific environment.

### Number conditions — open-ended bounds for threshold monitoring

A liquid storage tank sensor reporting fill level in its configured unit (here, percent — but the **Unit** field accepts any unit):

* "Critical" — (no From), To 10 — red
* "Low" — From 10, To 30 — yellow
* "Adequate" — From 30 (no upper limit) — green

The first condition catches everything below 10% with no need to specify a lower limit. The last condition catches everything above 30% with no upper limit needed. You only define where the meaningful boundaries are.

The same pattern applies to battery levels, tank volumes in liters, pressure in bar, or any operational metric where the scale matters but only the boundary zones need explicit definition.

### String conditions — device status sensors

If a sensor reports text status values (for example, "OK", "DEGRADED", "FAULT"), String conditions map each value to a color:

* "OK" — String, Value: OK — green
* "Degraded" — String, Value: DEGRADED — yellow
* "Fault" — String, Value: FAULT — red

The widget shows the right color for each status without any numeric evaluation.

### Boolean conditions — binary state sensors

For sensors that report True/False state (running/stopped, open/closed, active/idle):

* True = one color and label, False = another color and label

For example, a pump running status: True → blue "Running", False → gray "Idle". Or an equipment safety interlock: True → green "Engaged", False → red "Not engaged".

## See also

* [Last Data Widget](/dashboards/adding-widgets/last-data-widget) — Apply conditions to sensor readings and gauges
* [Image Widget](/dashboards/adding-widgets/image-widget) — Apply conditions to drive pin colors on the image


# Organizing Dashboards

Organize many Kilo IoT dashboards into folders with drag-and-drop reordering — multi-site deployments stay scannable.

As your deployment grows, so does your collection of dashboards. A handful of dashboards is easy to scan in the sidebar, but when you're managing views across multiple buildings, floors, and teams, a flat list becomes unmanageable. Folders let you group dashboards by site, purpose, or team — and drag-and-drop reordering lets you put the most critical views at the top.

## Opening the dashboard management modal

Click the **gear icon** (tooltip: **"Dashboard settings"**) next to the Dashboards section in the sidebar. The management modal opens with the title **"Dashboard settings"** and the subtitle **"Create folders and rearrange dashboards and folders with a drag-and-drop gesture"**.

If you have no dashboards yet, the modal displays **"No dashboards yet"** in the center.

## Creating a folder

At the top of the management modal, a text input lets you create a new folder:

1. Enter a folder name. The placeholder reads **"My folder"**.
2. Click **Create folder**.

If you leave the name blank and try to create, the validation message **"Folder name is required"** appears.

Folders appear in the sidebar as expandable groups. Click a folder to expand it and see the dashboards inside.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-5a46f0dd78340623a83ca4ed4f85ed1cd356ce92%2Fdashboard-settings-folders.jpg?alt=media" alt="The Dashboard settings modal with the folder name field and two folders listed alongside a top-level dashboard"><figcaption></figcaption></figure>

### Folder structure

The folder system supports **one level of nesting** — folders can contain dashboards, but folders cannot contain other folders. This keeps the hierarchy flat and predictable:

```
Dashboards
├── Building A           (folder)
│   ├── Temperature Overview
│   └── Cold Chain Compliance
├── Building B           (folder)
│   └── HVAC Monitoring
└── Executive Summary    (top-level dashboard)
```

## Reordering with drag-and-drop

The management modal displays all your dashboards and folders in a tree view. You can drag items to:

* **Reorder** dashboards and folders within the list.
* **Move a dashboard into a folder** by dragging it onto the folder.
* **Move a dashboard out of a folder** by dragging it to the root level.

Changes are reflected immediately in the sidebar ordering.

## Deleting a folder

To delete a folder from the management modal, click the **delete icon** (trash) next to the folder name. A confirmation dialog appears:

**"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."**

Click **Yes, delete** to confirm. This removes the folder and every dashboard it contains permanently.

## Deleting a dashboard from management

Individual dashboards can also be deleted from the management modal. The confirmation reads:

**"Are you sure you want to delete {dashboard name} dashboard?"**

**"Once deleted, this action cannot be undone."**

Click **Yes, delete** to confirm.

## Closing the modal

Click **Ok** to close the management modal. All changes to folder structure and ordering are already applied.

## Naming conventions for multi-site operations

A few conventions help teams navigate large dashboard collections:

* **Name folders by location** — "Building A", "Warehouse East", "DC-Frankfurt". This maps directly to physical sites.
* **Name dashboards by function** — "Temperature Overview", "Access Monitoring", "Energy Consumption". Function-based names stay useful even as devices change.
* **Avoid generic names** — "Dashboard 1" or "Test" become impossible to identify at scale.

## Related pages

* [Creating Dashboards](/dashboards/creating-dashboards) — Create the dashboards that go into your folders.
* [Adding Widgets](/dashboards/adding-widgets) — Populate dashboards with device data.


# Real-Time Data

How Kilo IoT delivers real-time sensor data to dashboards and Overview — and what to check when updates stop.

The Kilo IoT Server delivers device data to your dashboards and overview page in real time. When a sensor reports a new reading, that reading appears on screen without requiring a page refresh or manual action. This page explains the two Live Data surfaces, how real-time delivery works, and what to check when data is not appearing as expected.

## Two Live Data surfaces

The platform displays real-time status in two places, each with different behavior:

### Overview page: Live Data button

On the [overview page](/overview), the header shows a **"Live Data"** label with a clickable icon button. Hovering over the button shows the tooltip **"New data is automatically displayed"**.

**This is an interactive button.** Clicking it triggers a manual data refresh — the overview queries for the latest device and gateway information and updates the summary cards. This is useful when you've just registered a new device or made a configuration change and want to see the result immediately rather than waiting for the automatic refresh cycle.

### Dashboard header: Live Data indicator

On any [dashboard](/dashboards), the header shows a **"Live Data"** label with a small icon. Unlike the overview button, **this is a status indicator, not a button** — it has no click action, no tooltip, and no hover effect.

The label identifies the dashboard's live-data view; it does not report connection health or prove that a sensor has just sent a reading. Check the widget's last-update time and the device's last-reported time when freshness matters. The label disappears when you enter edit mode (replaced by the dashboard metadata edit icon).

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-4295c8c4c14446be13469380f6bd1e34628289f3%2Fdashboard-live-data.jpg?alt=media" alt="A dashboard header showing the Live Data indicator beside the dashboard name, with a widget updating"><figcaption></figcaption></figure>

## How real-time delivery works

The server uses a persistent connection between your browser and the platform to push data updates as they happen:

1. **Device sends data** — A sensor transmits a new reading through its connector (LoRaWAN, tracker, or other protocol).
2. **Server processes the reading** — The data passes through normalization and is stored for historical queries.
3. **Push to browser** — Simultaneously, the reading is pushed to any active browser session that is viewing a relevant dashboard or widget.
4. **Widget updates** — Dashboard widgets displaying the affected metric refresh their displayed value without a page reload.

This architecture means that a temperature sensor reporting every 60 seconds will update your dashboard widget every 60 seconds — the latency is determined by the device's reporting interval, not by the platform's delivery mechanism.

For integrators building external systems that consume real-time data, the platform supports **SSE (Server-Sent Events)** and **WebSocket** protocols. Dashboard widgets use these same mechanisms internally. If you're building custom integrations that need live data streams, these protocols provide the foundation.

## The "Waiting for live data" state

When a dashboard or widget is connected to the real-time stream but no data has arrived yet, the interface may display **"Waiting for live data"**. This is a normal state that occurs when:

* A device has been registered but hasn't sent its first reading yet.
* The device's reporting interval hasn't elapsed since the dashboard was opened.
* The device is offline or its connector is not active.

## Troubleshooting data delays

If data is not appearing in real time:

1. **Check the device status** — Open the device detail page and confirm it is online and sending data. Look at the last-seen timestamp.
2. **Check the connector** — Ensure the connector associated with the device is active and connected.
3. **Check the gateway** *(LoRaWAN devices)* — If the device uses a LoRaWAN gateway, verify the gateway is online and within range.
4. **Refresh the browser** — In rare cases, the persistent connection between the browser and server may need to be re-established. A page refresh resolves this.
5. **Click the Live Data button** *(overview only)* — On the overview page, clicking the Live Data button forces a manual data refresh.

## Related pages

* [Overview Page](/overview) — Where the clickable Live Data button lives.
* [Adding Widgets](/dashboards/adding-widgets) — Configure widgets that display real-time data.
* [Creating Dashboards](/dashboards/creating-dashboards) — Build the dashboards that receive live updates.


# Sharing Dashboards

Share a Kilo IoT dashboard through a password-protected link with View or Control access, then revoke it.

Not everyone who needs to see your data should have an account on the Kilo IoT Server. An auditor reviewing twelve months of cold chain records, a client checking the conditions in the warehouse space they lease, a tablet bolted to a wall on the factory floor — none of them need a seat in your organization, and provisioning one for them is administrative overhead you will have to unwind later.

A **share link** solves this. It publishes one dashboard — not your deployment, not your device inventory, not your settings — behind a password you set, at a URL you can rotate or destroy at any moment. Visitors open the link, enter the password, and get the dashboard in a full-screen, kiosk-style view. They see live data. They see nothing else.

The link is scoped to a single dashboard and carries its own permission level, independent of your organization's access policies. That separation is the point: sharing a dashboard with an outside party never widens what that party can reach.

This page covers creating, protecting, rotating, and revoking share links. To build the dashboard you intend to share, see [Creating Dashboards](/dashboards/creating-dashboards) and [Adding Widgets](/dashboards/adding-widgets).

## Opening the sharing dialog

1. Open the dashboard you want to share.
2. Click the **actions menu** (three-dot icon) in the dashboard header.
3. Select **Share dashboard**.

The **Dashboard access** dialog opens, with the helper text **"Protect the link with a password and choose what visitors can do"**.

Before you have created a link, the dialog shows **"No link yet. Set a password and generate one."** — nothing is published, and nothing is reachable from outside your organization, until you generate a link yourself.

## Choosing who can reach the dashboard

The dialog offers two access options:

* **Only organization users can access** — described as *"Organization users can view and edit the dashboard according to the organization's permissions"*. This is the closed state. The dashboard behaves exactly as it always has: your organization's permissions decide who sees it and who can change it. No external link exists.
* **Anyone with the link, no account needed** — this is the shared state. Anyone holding the link and the password reaches the dashboard without signing in.

Treat the second option the way you would treat any credential you hand outside the building. The link is not guessable, but it is bearer access — whoever has it, and the password, gets in. That is what makes it useful for a contractor's tablet, and what makes rotation discipline matter.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-a630b6ff61e7c2b70535d0ede03bef12c924df71%2Fdashboard-share-org.jpg?alt=media" alt="The Dashboard access dialog set to organization users only, showing the dashboard link"><figcaption></figcaption></figure>

## Choosing what visitors can do

Once the dashboard is shared by link, choose the permission level the link carries:

* **View** — *"Can view the dashboard, but cannot edit widgets"*. Visitors read the data. They cannot reconfigure a widget, change a threshold, or alter the dashboard in any way.
* **Control** — visitors can operate devices from the dashboard's [Control widgets](/dashboards/adding-widgets/control-widget).

**Control is an actuation permission, not a viewing permission.** A Control link lets an anonymous visitor press a button, throw a switch, or move a slider that sends a real command to real hardware. If the dashboard carries a Control widget bound to a ventilation damper, a pump, or a door release, then everyone with that link and password can operate it.

Grant Control only when operating the equipment *is* the job the link exists for — a floor tablet that adjusts a line, a maintenance station that resets a machine. For everyone whose job is to look at numbers, use **View**. If a dashboard mixes read-only monitoring with control surfaces and you only want to expose the monitoring half, build a separate dashboard with the Control widgets left out and share that one instead.

## Setting the password and generating the link

The link cannot exist without a password — there is no unprotected mode.

1. In the **Password** field (placeholder **"Enter a password"**), enter the password visitors will use.
2. A minimum length is enforced. If the password is too short, the dialog rejects it and tells you the minimum number of characters required.
3. Click **Generate link**.
4. The link is created and a toast confirms: **"Share link created"**.
5. Click **Copy link**. A toast confirms **"Link copied to clipboard"**.

The link points at a URL of the form `/dashboards/{dashboard-id}/fullscreen?t=…` and opens the dashboard full screen — no sidebar, no navigation, no platform chrome. That kiosk-style presentation is deliberate: it is what makes the link suitable for a wall display in an operations center or a permanently mounted tablet, not just for sending to a person.

Send the link and the password over separate channels. A link pasted into an email alongside its own password is a single interception away from being useless as a control.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-161860eea1496f555806e6559eacb8d62424ad2b%2Fdashboard-share-public-link.jpg?alt=media" alt="The Dashboard access dialog set to anyone with the link, showing the View and Control choice, the password field and Generate link"><figcaption></figcaption></figure>

## Changing the password

To rotate the password while keeping the same URL in circulation:

1. Open **Share dashboard** on the dashboard.
2. Enter the new password in the **Password** field.
3. Click **Change password**. A toast confirms **"Password changed"**.

Everyone still holding the link now needs the new password. The URL itself is unchanged, so displays and bookmarks pointing at it stay valid — you only redistribute the password. This is the lighter of the two rotation options and the right one when the link itself has not leaked.

## Regenerating the link

Regenerating mints a new URL and destroys the old one.

1. Open **Share dashboard** on the dashboard.
2. Click **Regenerate link**.
3. A confirmation appears: **"Regenerate share link?"** — **"The previous link will stop working immediately."**
4. Confirm. A toast confirms **"Share link regenerated"**.
5. Click **Copy link** to copy the new URL and distribute it to the people who should still have access.

The break is immediate and total. Anything pointing at the old URL — a bookmarked tab on a wall display, a link in a contractor's ticket, a saved page on a floor tablet — stops working the moment you confirm. That is the intended behavior, but it means regeneration is a planned operation: know which screens you will need to re-point before you click.

**When to regenerate rather than change the password:** regenerate when the URL itself may be in the wrong hands — a device was lost, a link was forwarded outside the intended group, or a person with the link has left the project. Changing the password alone does not help if the URL has spread further than you can account for.

## Revoking the link

Revoking ends external access entirely and cannot be undone.

1. Open **Share dashboard** on the dashboard.
2. Click **Revoke**.
3. A confirmation appears: **"Revoke share link?"** — **"The link will stop working immediately and cannot be restored."**
4. Click **Yes, revoke**. A toast confirms **"Share link revoked"**.

The dashboard itself is untouched — its widgets, data, and history all remain, and your organization's users keep working with it normally. Only outside access ends.

Revoke rather than regenerate when the sharing arrangement is over: the audit closed, the contract ended, the pilot finished. Leaving a live link in place for a relationship that has ended is the most common way dashboard access outlives its reason to exist.

## What visitors see

When someone opens the link, the platform asks for the password: **"Password required"** — **"This dashboard is protected. Enter the password to continue."** After entering the correct password, the dashboard loads full screen with live data.

Messages a visitor may encounter:

| Message                                                                          | What it means                                                                                                                                                                                                                    |
| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **"Wrong password"**                                                             | The password is incorrect. If you rotated it with **Change password**, send the visitor the current one.                                                                                                                         |
| **"Too many attempts. Please try again later."**                                 | Repeated failed attempts have been rate-limited. Access recovers after a wait — this is brute-force protection working as intended.                                                                                              |
| **"This share link is no longer valid"**                                         | The link was revoked, or regenerated and replaced. Send the current link, or generate a new one.                                                                                                                                 |
| **"This dashboard session has expired. Please reopen the link you were given."** | The visitor's session has aged out. Reopening the link and re-entering the password restores access. On an unattended wall display, this is what you will see if the screen has been sitting on the dashboard for a long period. |
| **"Access denied"** / **"You do not have permission to access this dashboard"**  | The visitor is attempting something the link's permission level does not allow — most often operating a control on a **View** link. If they legitimately need to actuate devices, raise the link to **Control**.                 |

## Share to TV — a different mechanism

The same area offers a separate, longer-standing option: **Share to TV**, described as *"Open this dashboard on a TV or tablet with a non-expiring key. Create an API key in Settings → API Keys (with device control scope to operate devices), then paste it here."*

The two are for different problems. A **share link** is password-protected, revocable, and session-based — it is for *people*: an auditor, a client, a contractor, someone whose access should end when their reason for having it ends. **Share to TV** is built from an [API key](/settings/api-keys) and does not expire — it is for a *permanently mounted display* that should come back up on its own after a power cut without anyone walking over to re-enter a password. If that display needs to operate devices rather than just show them, its API key needs device control scope.

Reach for the share link by default. Reach for Share to TV when the screen is fixed, unattended, and expected to stay logged in indefinitely.

## Tips and best practices

* **Match the permission to the job.** View for anyone who reads data; Control only where operating equipment is the actual purpose of the screen. The default assumption for an outside party should be View.
* **Split dashboards by audience, not by convenience.** A client-facing dashboard with only the metrics that client is entitled to see is safer and clearer than sharing your internal operations view and hoping nobody scrolls. Building a second, narrower dashboard costs minutes — see [Creating Dashboards](/dashboards/creating-dashboards).
* **Separate the link from the password in transit.** Different channel, different message.
* **Rotate on personnel change.** When someone with a link leaves the project or the contractor rotates staff, regenerate the link. Do not rely on them forgetting the URL.
* **Keep an inventory of what is shared.** Share links are per-dashboard and easy to create; that is exactly why they accumulate. Periodically open the dashboards you have shared and confirm each live link still has a reason to exist. Revoke the ones that do not.
* **Plan regeneration around your displays.** Know which wall screens and tablets point at a link before you break it, so you are not chasing dead screens across a site afterward.
* **Prefer Change password for routine hygiene.** It rotates the secret without disturbing any mounted display that already has the URL loaded.

## Related pages

* [Creating Dashboards](/dashboards/creating-dashboards) — Build and name the dashboard before you share it.
* [Adding Widgets](/dashboards/adding-widgets) — Choose what a visitor will actually see.
* [Control Widget](/dashboards/adding-widgets/control-widget) — What a Control link lets a visitor operate.
* [API Keys](/settings/api-keys) — Create the scoped key that Share to TV uses.


# Connectors

Connect device protocols to Kilo IoT — LNS (LoRaWAN), Tracker (OBD2/CAN/GPS), MQTT, Mioty, and the Emulator in one pipeline.

Connectors bring equipment using different communication methods into the same Kilo workspace. Once readings are mapped, a meter, a LoRaWAN sensor, and an MQTT-connected controller can feed the dashboards, rules, and alarm workflows your team already uses.

A **connector** is the configured software connection that receives those messages. A **gateway** or MIOTY **base station** is physical radio equipment; a registered **device** identifies the equipment and its readings. Choose the connection for your hardware, then [register its devices](/devices/registering-devices).

## Connector types

Kilo IoT Server supports the following connector types:

| Type         | Protocol             | Status | What it connects                                                                                                                                                                                                                 |
| ------------ | -------------------- | ------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **LNS**      | LoRaWAN              | GA     | The server's built-in LoRaWAN Network Server. Manages LoRaWAN device communication automatically.                                                                                                                                |
| **Tracker**  | OBD2 / CAN bus / GPS | GA     | Vehicle trackers — OBD2, CAN bus, and standalone GPS vehicle tracking devices. Includes preconfigured templates for over 2,000 vehicle tracker models.                                                                           |
| **MQTT**     | MQTT                 | GA     | Direct MQTT device connections. Two variants: **External MQTT** connects to your own broker (up to 10 per organization); **Cloud MQTT** uses a platform-provisioned broker with dedicated credentials per connector (unlimited). |
| **Mioty**    | MIOTY                | GA     | The MIOTY service center binding for your organization. Provisions a BSSCI address that your MIOTY base stations connect to, and unlocks the MIOTY endpoint fields on the device form.                                           |
| **Emulator** | — (generated data)   | GA     | Devices that generate their own telemetry, so you can build and test a deployment before any hardware arrives — then swap the device to a real connector when it does.                                                           |

Each organization can have **one LNS connector** and **one Tracker connector**. MQTT connectors come in two variants with different limits: External MQTT — up to 10 per organization; Cloud MQTT — unlimited.

## The Connectors page

Navigate to **Connectors** in the sidebar to see the connectors table. The table shows all connectors configured for your organization with the following columns:

| Column                 | Description                                                 |
| ---------------------- | ----------------------------------------------------------- |
| **Name**               | The connector name (assigned automatically during creation) |
| **Last data received** | When the connector last received data from a device         |
| **Connected devices**  | Number of devices registered through this connector         |
| **Creation date**      | When the connector was added                                |

### Row actions

Each connector row has action buttons:

* **Add device** — Opens the device registration dialog with this connector preselected — a shortcut into the shared registration flow.
* **Remove connector** — Removes the connector from the organization. A confirmation dialog appears before deletion.

Click anywhere on a connector row to open that connector's detail page, where you can manage gateways (for LNS) or view and manage connected devices.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-6a3c1faede259343e5764c3199e96c1ad468bbd5%2Fconnectors-list.jpg?alt=media" alt="The Connectors page listing connectors with last data received, connected device count and row actions"><figcaption></figcaption></figure>

## Adding a connector

1. From the **Connectors** page, click **Add connector** in the top-right corner.
2. In the dialog, select a **Connector type** from the dropdown:
   * **LNS** — if your organization does not already have an LNS connector
   * **Tracker** — if your organization does not already have a Tracker connector
   * **External MQTT** — connects to your own MQTT broker (up to 10 per organization)
   * **Cloud MQTT** — platform-provisioned broker; each connector gets its own dedicated credentials (unlimited)
   * **Mioty** — binds your organization to the MIOTY service center and provisions its BSSCI address
   * **Emulator** — generates device data with no hardware, so you can build and test before your sensors arrive (one per organization)
3. Click **Add**.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-3b4399167729628f590f8314b876b6d1c2296cfb%2Fconnector-type-list.jpg?alt=media" alt="The Add connector dialog with the Connector type dropdown open, listing the types still available to this organization"><figcaption></figcaption></figure>

Types that are limited to one per organization disappear from the dropdown once you have one, so the list you see is the set still available to you.

For LNS, Tracker and Emulator connectors, no additional configuration is required during creation — the server handles the integration automatically. For External MQTT, configure broker connection details after creation. For Cloud MQTT, the platform generates and displays credentials immediately after creation.

## What's next

Once a connector is in place, you can:

* **Configure the LNS connector** — manage LoRaWAN gateways and connected devices, and explore LoRaWAN protocol reference material including frequency bands by country. See [LNS Connector](/connectors/lns-connector).
* **Configure the Tracker connector** — onboard vehicle trackers (OBD2, CAN bus, standalone GPS). See [Tracker Connector](/connectors/tracker-connector).
* **Configure an MQTT connector** — connect PLCs, energy meters, building management systems, or any MQTT-capable hardware. Use External MQTT to connect your own broker, or Cloud MQTT to have the platform provision a broker endpoint for you. See [MQTT Connector](/connectors/mqtt-connector).
* **Configure the Mioty connector** — bind your organization to the MIOTY service center, get its BSSCI address, and unlock base station registration and MIOTY endpoint fields. See [MIOTY Connector](/connectors/mioty-connector).
* **Add the Emulator connector** — stand up devices that generate their own telemetry, so dashboards, rules and alarms can be built and proven before any hardware is on site. See [Emulator Connector](/connectors/emulator-connector).
* **Register devices** — add devices through any connector and configure their Digital Twin. See [Registering Devices](/devices/registering-devices).


# LNS Connector

Activate the built-in LoRaWAN Network Server via the LNS connector — no external LNS to configure, no credentials swap.

Kilo's LNS connector gives your deployment a built-in **LoRaWAN Network Server**: the software that manages communication between LoRaWAN sensors, their radio gateways, and the platform. You can bring sensor readings into dashboards and automation without installing and maintaining a separate network server.

LoRaWAN is the wireless protocol used by the sensors and gateways. Add the LNS connector, connect a compatible **Basics Station** gateway, and register your devices. Kilo handles the network-server side; the gateway provides the radio connection at your site.

## Adding the LNS connector

1. Navigate to **Connectors** in the sidebar.
2. Click **Add connector**.
3. In the **Connector type** dropdown, select **LNS**.
4. Click **Add**.

The connector is created immediately with the name assigned automatically. No additional configuration is needed — the server's LoRaWAN network integration activates for your organization.

Each organization can have only one LNS connector. If your organization already has one, the LNS option will not appear in the dropdown.

## Inside the LNS connector

Click the LNS connector row in the connectors table to open it. The page is a summary — connector type, creation date, connected device count, and when data last arrived — and it states that this connector type has no editable settings. Everything the connector enables is worked on elsewhere in the sidebar:

* **Gateways** — Register and monitor the gateways that carry LoRaWAN traffic. See [LoRaWAN Gateways](/gateways).
* **Devices** — Register and manage the devices themselves. See [Registering Devices](/devices/registering-devices) and [Device Management](/devices/device-management).

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-417361c33db85f2682f626469e11724907c9ec85%2Fconnector-lns-detail.jpg?alt=media" alt="The LNS connector page showing connector type, creation date, connected devices and last data received"><figcaption></figcaption></figure>

## LoRaWAN Reference

The LNS connector uses LoRaWAN — a long-range, low-power wireless protocol designed for IoT. These reference pages cover the protocol, frequency bands, and the built-in network server:

* [What is LoRaWAN?](/connectors/lns-connector/what-is-lorawan) — Protocol overview, core benefits, and ideal use cases
* [LoRaWAN Frequencies](/connectors/lns-connector/lorawan-frequencies) — Regional frequency bands by country and compliance guidance
* [LoRa 2.4 GHz](/connectors/lns-connector/lora-2g4) — The global 2.4 GHz ISM band for cross-border and high-throughput deployments
* [LR-FHSS](/connectors/lns-connector/lr-fhss) — Frequency-hopping for massive-scale networks and interference resistance
* [Built-in Network Server](/connectors/lns-connector/built-in-lns) — How the integrated LPWAN server eliminates external infrastructure

For the device-level setup, follow [LoRaWAN Devices](/devices/lorawan-devices). It covers the physical identifier, connection fields, measurement mapping and checking retained history.


# What is LoRaWAN?

What is LoRaWAN? A long-range, low-power wireless protocol for battery sensors on campuses, farms, and cities.

LoRaWAN (Long Range Wide Area Network) is a wireless communication protocol built for IoT deployments. It enables small, battery-powered devices to transmit data over long distances while consuming minimal energy. LoRaWAN builds on LoRa radio modulation to deliver secure, bidirectional communication between distributed field devices — sensors, trackers, meters — and centralized management systems.

For operators managing device fleets across warehouses, campuses, agricultural land, or urban infrastructure, LoRaWAN provides a connectivity layer that scales from a handful of sensors to tens of thousands of devices per gateway — without recurring cellular fees or dedicated wiring.

## Core Benefits

### Long-Range Communication

LoRaWAN transmits over several kilometers — up to 15 km in open rural terrain and 2–5 km in dense urban environments. This makes it effective for hard-to-reach sites, remote installations, and facilities spread across wide geographic areas where Wi-Fi or cellular coverage is impractical.

### Low Power Operation

Devices are engineered for energy efficiency. Many LoRaWAN sensors run for years on a single battery, making them suitable for field deployments where power infrastructure is unavailable or where frequent battery replacement would be operationally expensive.

### Two-Way Secure Communication

LoRaWAN supports bidirectional communication — data travels both to and from the device. This enables remote configuration and command delivery. All transmissions are secured with end-to-end encryption, protecting data integrity across the entire communication path.

### Scalability

A single LoRaWAN gateway can serve thousands of devices simultaneously. The protocol supports network architectures ranging from localized sensor clusters to national or multi-site infrastructure — making it cost-effective whether you are instrumenting one building or an entire supply chain.

### Mobility and Location Awareness

The LoRaWAN protocol defines geolocation capabilities that can be leveraged where supported by the network infrastructure — useful for asset monitoring, logistics, and fleet management scenarios where devices move between zones or sites.

## Ideal Use Cases

LoRaWAN is best suited for deployments where devices send small data packets at regular intervals, power efficiency is critical, and connectivity must extend across large or challenging environments.

| Industry                 | Example Applications                                                               |
| ------------------------ | ---------------------------------------------------------------------------------- |
| Smart Cities             | Street lighting control, parking systems, air quality monitoring, waste management |
| Smart Buildings          | Energy metering, environmental monitoring, occupancy detection, leak sensors       |
| Logistics & Supply Chain | Asset tracking, cold chain compliance, condition-based alerts                      |
| Agriculture              | Soil moisture monitoring, irrigation automation, livestock tracking                |
| Industrial IoT           | Equipment condition monitoring, predictive maintenance, remote metering            |
| Healthcare               | Patient movement tracking, bed and asset location, elder care alerting             |
| Utilities & Environment  | Smart metering (gas, water, electricity), flood sensors, environmental alerts      |

## Why Choose LoRaWAN for Your Deployment?

LoRaWAN delivers a distinct advantage for IoT infrastructure that needs to cover large areas, run on minimal power, and remain cost-effective over multi-year operational horizons. Networks built on LoRaWAN are:

* **Low-maintenance** — devices operate autonomously for years without battery changes or physical intervention
* **Flexible** — a single protocol serves indoor and outdoor environments, urban and rural terrain, fixed and mobile assets
* **Infrastructure-light** — no dedicated wiring, no SIM cards, no recurring connectivity fees per device

Whether you are building a nationwide utility metering network, instrumenting a multi-site industrial operation, or deploying environmental sensors across agricultural land, LoRaWAN provides the connectivity framework to connect your devices at scale.

For how the Kilo IoT Server integrates LoRaWAN, see [Built-in Network Server](/connectors/lns-connector/built-in-lns). For regional frequency bands and compliance, see [LoRaWAN Frequencies](/connectors/lns-connector/lorawan-frequencies).


# LoRaWAN Frequencies

LoRaWAN regional bands — EU868, US915, AU915, AS923, IN865 — and how to pick the right band when registering a device.

> **Reference only.** This page is provided as a general guide. The frequency data may not be 100% accurate or up to date. Always verify the correct frequency band for your country with your local radio regulations authority before deploying devices. Use at your own risk.

LoRaWAN operates in unlicensed sub-gigahertz frequency bands that vary by country and region. These bands are classified as ISM (Industrial, Scientific, and Medical) or SRD (Short Range Device) frequencies — free to use provided that devices comply with regional restrictions on transmission power, duty cycle, and channel access.

When registering a LoRaWAN device on the Kilo IoT Server, you select the frequency band in the **Band** field of the connection configuration. The band must match your gateway's configuration and your region's radio regulations.

## How to Choose the Right Band

In most cases, LoRaWAN devices purchased from suppliers in your country are pre-configured for the correct regional frequency. If you are in Australia and purchase a LoRaWAN temperature sensor from a local supplier, that sensor will almost certainly operate on AU915 — the correct band for your region. Cross-border procurement or international deployments require explicit frequency verification.

## Common Regional Frequency Plans

| Region                               | Frequency Band | 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 (Japan, Korea, Vietnam, others) | AS923          | 920–928 MHz (regional variants AS923-1, AS923-2, AS923-3)        |
| South Korea                          | KR920          | 920–923 MHz                                                      |
| India                                | IN865          | 865–867 MHz                                                      |
| Russia                               | RU864 / EU868  | 864–870 MHz                                                      |
| China                                | CN470          | 470–510 MHz                                                      |
| China (alternate)                    | CN779          | 779–787 MHz                                                      |
| Global (license-free)                | ISM2400        | 2.4 GHz (see [LoRa 2.4 GHz](/connectors/lns-connector/lora-2g4)) |

Each region has specific rules for permitted output power, channel spacing, and duty cycle limits. Devices must be configured for the correct band before deployment.

## License-Free Operation

LoRaWAN is designed for license-exempt radio frequencies — you do not need to obtain or pay for spectrum licenses. However, compliance with national radio regulations is required, particularly regarding transmission power limits, airtime usage, and channel access protocols.

## Frequency Plan Disclaimer

The frequency information below is provided for reference purposes. While we have made efforts to ensure accuracy, Kilo IoT does not assume responsibility for its precision. Operators deploying gateways and devices are strongly advised to verify local regulations and legal requirements for radio frequency usage before deploying any IoT solution. Compliance with applicable laws is the responsibility of the deploying organization.

## Frequencies by 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           |


# LoRa 2.4 GHz

LoRa 2.4 GHz in Kilo IoT — global license-free deployment, higher throughput, and more channels than sub-GHz LoRa.

LoRa is a radio technology for transmitting small messages from low-power devices. **LoRa 2.4 GHz** uses the 2.4 GHz radio band, rather than the sub-GHz bands used in many LoRaWAN deployments. It is a radio option, not a separate IoT Server or software connector.

Use this guide to understand where that option fits before selecting equipment. Devices and gateways must support the same radio configuration; a sub-GHz gateway cannot receive 2.4 GHz transmissions. Check equipment compatibility and local radio requirements before planning a deployment, and see the [LNS connector](/connectors/lns-connector) for the platform connection.

## Why 2.4 GHz Matters for Deployments

### Global, License-Free Operation

The 2.4 GHz ISM band is available worldwide without region-specific regulatory approvals. A single device hardware design can be manufactured and deployed across multiple countries without modifying the radio configuration or going through additional certifications. This significantly simplifies procurement, logistics, and inventory management for organizations operating across borders.

### Higher Data Throughput

Compared to sub-GHz LoRa, the 2.4 GHz band supports higher data rates. This makes it well-suited for applications where devices need to transmit larger payloads or communicate more frequently — without compromising battery life.

### Expanded Channel Availability

Operating at 2.4 GHz provides more frequency channels than traditional sub-GHz ISM bands. This reduces congestion in crowded radio environments and gives network designers greater flexibility when scaling device density within a site.

### Coexistence with Other Wireless Technologies

The 2.4 GHz spectrum is shared with Wi-Fi, Bluetooth, and Zigbee. LoRa 2.4 GHz is engineered to coexist with these technologies, making it practical for environments like industrial facilities, smart buildings, or commercial campuses where multiple wireless systems operate in parallel.

### Adequate Range for Most IoT Use Cases

While higher frequencies generally reduce transmission range, LoRa at 2.4 GHz can still achieve several kilometers of line-of-sight coverage — up to 8–10 km under optimal conditions. Indoor performance remains effective, making it suitable for building-level and campus-level deployments.

### Cost-Effective and Battery-Friendly

Modules for 2.4 GHz LoRa are similarly priced to their 868 MHz and 915 MHz counterparts, and remain well-suited for low-power, battery-operated devices.

## When to Use LoRa 2.4 GHz

LoRa 2.4 GHz is a strong choice for:

* **Global or cross-border deployments** — international asset tracking, logistics, or supply chain monitoring where devices move between regulatory regions
* **High-data IoT applications** — scenarios requiring increased bandwidth and channel density beyond what sub-GHz bands provide
* **Dense wireless environments** — factories, commercial buildings, and campuses where Wi-Fi, Bluetooth, and other 2.4 GHz systems are already operating
* **Larger payload transmissions** — low-power image or audio data where slightly higher throughput is required while staying energy-efficient

When registering a device on the Kilo IoT Server, select **ISM2400** in the Band field to configure a device for the 2.4 GHz band.

For sub-GHz regional frequency bands, see [LoRaWAN Frequencies](/connectors/lns-connector/lorawan-frequencies). For an overview of the LoRaWAN protocol, see [What is LoRaWAN?](/connectors/lns-connector/what-is-lorawan).


# LR-FHSS

LR-FHSS in Kilo IoT — frequency-hopping LoRaWAN extension that scales to millions of devices for utility metering.

LR-FHSS (Long Range Frequency Hopping Spread Spectrum) is an extension of the LoRaWAN protocol that uses frequency-hopping techniques to dramatically increase network capacity and interference resistance. For large-scale deployments — utility metering, wide-area sensing, satellite connectivity — LR-FHSS enables device densities that are impractical with standard LoRa modulation.

## Key Capabilities

### Massive Network Capacity

LR-FHSS can support thousands to millions of devices within the same network. By distributing each transmission across multiple frequency channels, it reduces the collision probability that limits standard LoRa in high-density scenarios. This makes it viable for deployments like city-wide metering infrastructure or national environmental monitoring grids.

### Superior Scalability

Standard LoRa transmissions occupy a single channel for their entire duration. LR-FHSS spreads each transmission across a broader slice of the available spectrum, dramatically reducing collision risk. The result is denser deployments with less interference and improved overall network throughput.

### Strong Interference Resistance

The frequency-hopping nature of LR-FHSS makes it inherently resistant to narrowband interference and channel noise. Even in crowded RF environments — industrial sites, urban areas with many competing radio systems — LR-FHSS maintains reliable data delivery.

### Improved Indoor Penetration

LR-FHSS maintains robust communication links with devices installed deep indoors or underground — utility meters in basements, sensors behind thick concrete walls — without requiring additional gateways to compensate for signal attenuation.

### Regulatory Compliance

In regions with strict dwell time regulations (limits on how long a signal can occupy a single channel), LR-FHSS naturally spreads transmissions over time and frequency. This enables longer-range and larger-payload communications while staying within legal constraints — a significant advantage for deployments in regulated markets.

### Long-Range Connectivity

With a link budget comparable to or better than classic LoRa at low data rates, LR-FHSS supports very long-range communication. This is particularly valuable for rural deployments, remote infrastructure monitoring, and satellite-based IoT networks.

## Hardware Compatibility

Many existing LoRa chipsets — including the Semtech SX1261, SX1262, and LR1110 — already support LR-FHSS through firmware updates. This means existing deployments can be upgraded to LR-FHSS capability without replacing hardware, and mixed networks (standard LoRa + LR-FHSS devices) can coexist on the same infrastructure.

## When to Use LR-FHSS

LR-FHSS is best suited for:

* **Massive metering deployments** — water, gas, and electric utility networks with tens of thousands of endpoints
* **Rural or remote areas** — limited gateway coverage where each gateway must serve a large number of devices
* **Satellite and long-range terrestrial IoT** — networks where devices communicate over extreme distances
* **Regulated environments** — markets with strict dwell time or duty cycle requirements

## Trade-offs

* **Longer time on air** — LR-FHSS packets generally spend more time transmitting than standard LoRa packets. However, the frequency-hopping avoids collisions more effectively, resulting in better overall efficiency in high-density networks.
* **Optimized for low gateway density** — LR-FHSS delivers its greatest advantage when few gateways serve many devices. In dense urban environments with many gateways, standard LoRa may still offer better per-gateway throughput.

For an overview of the LoRaWAN protocol, see [What is LoRaWAN?](/connectors/lns-connector/what-is-lorawan). For regional frequency bands, see [LoRaWAN Frequencies](/connectors/lns-connector/lorawan-frequencies).


# Built-in Network Server

Kilo IoT Server includes a managed LoRaWAN Network Server — no separate LNS to deploy, joins and downlinks automatic.

In any LoRaWAN deployment, the network server is the critical middleware layer between your gateways and your applications. It manages device authentication, session handling, message routing, uplink deduplication, and downlink scheduling. Without a network server, raw radio packets from gateways cannot be processed into usable application data.

Traditionally, deploying a LoRaWAN network meant setting up and maintaining a separate network server — either open-source or commercial — integrating it with your gateways, configuring device profiles, and connecting it to a separate platform for visualization and automation. That operational overhead scales with the size of the deployment and adds ongoing maintenance burden.

## How the Kilo IoT Platform Handles This

The Kilo IoT Server includes a fully managed LoRaWAN Network Server (LNS) directly within the platform. There is nothing to install, configure, or maintain separately. When you add an LNS connector and register gateways, the built-in network server activates automatically for your organization.

All core network server functions are handled transparently:

* **Join requests** — Device authentication and session key generation for over-the-air activation (OTAA)
* **Uplink processing** — Receiving, deduplicating, and routing data from devices through gateways
* **Downlink scheduling** — Queuing and delivering commands and configuration updates to devices
* **Message deduplication** — When multiple gateways receive the same device transmission, the server deduplicates automatically

## What This Means for Your Deployment

* **No third-party network server required** — no separate LNS to procure, deploy, or maintain
* **No additional hosting burden** — the network server is managed as part of the platform
* **Immediate integration** — device data flows directly into dashboards, automation rules, alarm evaluations, and historical queries without additional integration work
* **Reduced time to deployment** — from gateway registration to live data in minutes, not days

By embedding the network server into the platform, the Kilo IoT Server eliminates an entire infrastructure layer from your LoRaWAN deployment — letting your team focus on the devices and the data, not on network plumbing.

For an overview of the LoRaWAN protocol, see [What is LoRaWAN?](/connectors/lns-connector/what-is-lorawan). For gateway setup, see [Gateways](/gateways).


# MIOTY Connector

Bring MIOTY devices into Kilo Cloud — enterprise service-center networking with dashboards, widgets, automation rules, and alarms.

The MIOTY connector brings your radio network into **Kilo Cloud's full IoT platform**. Kilo Cloud includes the enterprise Kilo Center service center; your MIOTY endpoint readings can then feed widgets and dashboards, take part in automation rules, and raise alarms with escalation.

MIOTY is a low-power wireless protocol. Its **base stations** are radio gateways, and its **endpoints** are communicating sensors or devices. The connector is the software connection between that network and your Kilo organization. Add it, connect your base stations, and register the endpoints to build the application around their readings.

Kilo Center comes three ways. If you only need networking and want to run it yourself, [Kilo Center Community Edition](/kilo-mioty-service-center) is the free, open-source service center, provided as is. If the network must stay on your own infrastructure with commercial support, Kilo licenses and installs the Enterprise edition on your premises. Use Kilo Cloud when you want the Enterprise service center run for you, together with the platform's application capabilities.

For the wireless protocol, see [What is MIOTY?](/connectors/mioty-connector/what-is-mioty). For operating your own service center, see [Kilo MIOTY Service Center](/kilo-mioty-service-center).

## Why the connector exists

MIOTY endpoints do not reach the network the way LoRaWAN devices do. There is no packet-forwarding gateway in the path. Endpoints transmit to **base stations**, and each base station holds a persistent, certificate-secured (mTLS) session to a service center using **BSSCI** — the Base Station Service Center Interface, the standard control protocol between the two.

That session has to terminate somewhere specific to you. The Mioty connector is what creates your organization's endpoint on the service center: when you add it, the server provisions a **BSSCI address** that your base stations connect to. Everything downstream — station identity, certificate issuance, endpoint attachment, telemetry — flows through that address.

Without a Mioty connector, the MIOTY surface is simply not there. The **Mioty Base Stations** tab does not appear on the Gateways page, and the MIOTY fields on the device form are unavailable with the message **"Create a Mioty connector first"**.

## Adding the Mioty connector

1. Navigate to **Connectors** in the sidebar.
2. Click **Add connector**.
3. In the **Connector type** dropdown, select **Mioty**.
4. Click **Add**.

The connector is created immediately and appears in the connectors table with its BSSCI endpoint address provisioned for your organization. No further configuration is required at the connector level — the work of pairing hardware happens at base station registration, where each station gets its own certificate bundle.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-fb79f52568a3bf3f7d6a4a0f6daa699373c070af%2Fmioty-connector.jpg?alt=media" alt="The Mioty connector showing its BSSCI address and organization ID with the Base Stations, Devices and Blueprints tabs"><figcaption></figcaption></figure>

## What the connector unlocks

Once the Mioty connector exists, two parts of the server become available:

| Surface                     | Where         | What you do there                                                                 |
| --------------------------- | ------------- | --------------------------------------------------------------------------------- |
| **Mioty Base Stations** tab | Gateways page | Register base stations, download their certificates, monitor status and last-seen |
| MIOTY device fields         | Device form   | Enter the End Point EUI, network parameters, and security keys for each endpoint  |

The BSSCI address is what you hand to the base station hardware, alongside the certificate pair it downloads during registration. You will see it again on each station's Overview and Settings — copying it from a station's detail page is usually more convenient than copying it from the connector, because that is where the matching certificates live.

## Planning your MIOTY deployment

* **Base stations first, endpoints second.** An endpoint has nowhere to attach until at least one base station is registered and online. Register the station, confirm it comes up, then commission endpoints against it.
* **Collect endpoint credentials before you commission.** Each endpoint needs its End Point EUI and Network Session Key. These come from the manufacturer, usually on a label or in a shipped provisioning file, and they are far easier to capture at the bench than on a pole.
* **Decide your blueprint strategy early.** MIOTY telemetry stays undecoded until a blueprint is bound to the device. If you are rolling out a few hundred units of one model, author or select the blueprint once and reuse it across the fleet.
* **Scale with base stations, not connectors.** A multi-site MIOTY deployment grows by adding base stations under your organization's BSSCI endpoint — coverage and density are a radio-infrastructure question, not a connector question.

## What's next

* **Register base stations** — bring your MIOTY radio infrastructure online with its BSSCI address and certificates. See [MIOTY base stations](/gateways/mioty-base-stations).
* **Commission endpoints** — enter EUIs, network parameters, and session keys for each MIOTY sensor. See [MIOTY Devices](/devices/mioty-devices).
* **Decode payloads** — bind a blueprint so raw endpoint telemetry becomes named, normalized measurements. See [MIOTY Blueprints](/devices/mioty-blueprints).

## MIOTY Reference

If you are still deciding whether MIOTY is the right radio for a site, these pages cover the protocol itself rather than the connector. Read them in order — each one hands off to the next:

* [What is MIOTY?](/connectors/mioty-connector/what-is-mioty) — Telegram splitting, base stations, and what ETSI TS 103 357 actually specifies
* [Core Benefits of MIOTY](/connectors/mioty-connector/core-benefits-of-mioty) — Interference resistance, endpoint density, range, power, and mobility
* [Ideal Use Cases for MIOTY](/connectors/mioty-connector/ideal-use-cases-for-mioty) — Plant floors, metering rollouts, moving assets, and rotating machinery
* [Why Choose MIOTY?](/connectors/mioty-connector/why-choose-mioty) — How MIOTY and LoRaWAN differ, and which constraints should decide between them


# What is MIOTY?

MIOTY explained — the ETSI TS 103 357 LPWAN protocol that uses telegram splitting for interference-resistant IoT.

MIOTY is a wireless protocol for sending small messages from low-power devices to radio receivers called **base stations**. A network built for that kind of communication is a **low-power wide-area network**, or LPWAN. It is useful for applications such as meter readings and equipment monitoring.

MIOTY uses **telegram splitting**: it divides a message into smaller radio transmissions spread over time and frequency, which the receiver uses to reconstruct the message. This helps it tolerate interference. Actual reception still depends on equipment, installation, and radio conditions.

The protocol carries the radio traffic. The [MIOTY connector](/connectors/mioty-connector) links that network to Kilo IoT Server, where registered devices supply readings for dashboards, rules, and alarms.

***

### Telegram Splitting — the Core Idea

#### The message is protected, then broken into radio bursts

When an endpoint has data to send, MIOTY does not transmit that data as a single packet. The message — the *telegram* — is first encoded with forward error correction and interleaved, then divided into small sub-packets. A short telegram becomes **24 radio bursts**, each lasting only about **15 milliseconds**; longer payloads add further bursts. Each burst carries a fragment plus the information needed to place it back in sequence.

The redundancy matters more than the splitting. The error-correcting code is applied *before* the split and spread across every burst, so no single burst is critical — losing one costs you a slice of redundancy, not a piece of the message.

#### The bursts are scattered across frequency and time

Those sub-packets are then transmitted across **different frequencies and at different points in time**. No two fragments sit on the same channel at the same instant, and the full transmission is deliberately spread across several seconds and two dozen carriers rather than concentrated. A single interferer — a motor, a welding rig, a competing radio, a burst of broadband noise — can only ever occupy a narrow slice of that spread.

#### The receiver reconstructs the message from what survives

The base station collects the bursts it heard and reassembles the telegram. Crucially, it does not need all of them. Because the error correction is spread across the whole transmission, the receiver **reconstructs the complete message even when up to 50% of the radio bursts are lost** to interference or collision.

Read that precisely, because it is easy to inflate: it means half the *bursts within one message* can be destroyed and that message still arrives intact. An interferer has to take out more than half of a single transmission, across both time and frequency, to cost you one reading. What would be a failed delivery for a single-packet protocol is, for MIOTY, an ordinary successful one.

#### Why this changes the outcome

Interference stops being a binary event. In a conventional single-packet transmission, a collision destroys the message and the endpoint must retry — burning battery and adding to the congestion that caused the problem. With telegram splitting, a collision destroys a fragment. The rest of the telegram still arrives, the message still decodes, and no retry is needed. This is why MIOTY holds up on factory floors, inside metal-dense buildings, and on assets that are moving through changing RF conditions.

***

### How a MIOTY Network Is Built

MIOTY's architecture is worth understanding on its own terms, because it does not map one-to-one onto other LPWAN topologies.

#### Endpoints

Endpoints are the sensors and trackers in the field. Each one is identified by an **EUI**, and its traffic is protected using a **network session key** established when the endpoint is attached to the network. Endpoints are battery-powered and designed for long service lives — they wake, transmit a short telegram as scattered bursts, and return to sleep. Because successful delivery does not depend on retries, the energy cost of a message stays predictable even in congested environments.

#### Base stations

Endpoints transmit to **base stations**. A base station listens across the spectrum, captures the sub-packets from every endpoint in range, and performs the reassembly and error correction that turn those fragments back into telegrams. A single base station is designed to serve **thousands of endpoints** — the protocol's collision tolerance is precisely what makes that density workable rather than theoretical.

There is no packet-forwarding gateway in the LoRaWAN sense here. The base station is not a transparent relay pushing raw radio frames upstream; it is the point where the telegram becomes a message.

#### The service center

Base stations connect to a **service center** using **BSSCI** (Base Station Service Center Interface), the standardized interface between the two. That connection is certificate-secured with mutual TLS, so each side authenticates the other and the link between the field and the network is encrypted end to end. The service center is where endpoints are provisioned, where base stations are attached, and where uplinks are handed onward to applications.

***

### Range, Scale, and Power

The figures below come from Fraunhofer IIS and the MIOTY Alliance. Each one depends on its conditions, so they are stated with them — a number without its assumptions is not much use when you are planning a site.

|                                | Figure                                                                                                                              | Conditions                                                             |
| ------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------- |
| **Range**                      | Up to **15 km** in flat, rural terrain; around **5 km** in urban centers                                                            | Sub-GHz, license-free bands                                            |
| **Endpoints per base station** | Up to **110,000**                                                                                                                   | At roughly 2.5 km range — not at the 15 km figure above                |
| **Messages per base station**  | Up to **3.5 million per day**                                                                                                       | Ultra-low-power mode, small payloads, endpoints reporting about hourly |
| **Battery life**               | Around **10 years** on a single 2,200 mAh AA cell at one message every 15 minutes; **20 years and beyond** at lower reporting rates | Depends on payload size, interval, and cell chemistry                  |
| **Speed**                      | Up to **120 km/h** at full performance                                                                                              | Endpoints on moving assets                                             |
| **Data rate**                  | Around **500 bit/s**                                                                                                                | Sub-GHz; \~2.4 kHz carrier spacing                                     |

Those properties reinforce each other. Robustness reduces retries; fewer retries preserve both battery life and airtime; preserved airtime is what lets a single base station carry so many endpoints. The density figure is a dividend of the interference tolerance, not an independent claim.

The mobility number deserves a note, because it is the one people assume is marketing. It isn't a waveform trick — spreading a telegram across seconds and carriers means a moving endpoint samples many moments and many channels instead of betting the message on one, and the base station's signal processing is what lifts the workable speed to 120 km/h. Fraunhofer measured the penalty for a fading channel versus a static one at under 2 dB.

***

### MIOTY on Kilo IoT

Kilo supports MIOTY alongside LoRaWAN, so the protocol is a design choice rather than a platform commitment. Once your endpoints are reporting, they behave like any other device on the platform: normalized data, dashboards, rules, and alarms all work the same way regardless of which radio delivered the reading.

* To bring MIOTY data into your Kilo organization, add the [MIOTY connector](/connectors/mioty-connector).
* To register and manage the base stations serving your endpoints, see [MIOTY base stations](/gateways/mioty-base-stations).
* To run your own service center infrastructure, see the [Kilo MIOTY Service Center](/kilo-mioty-service-center): the free, open-source Community edition, or the Enterprise edition that Kilo licenses and installs on your premises.

Continue with [Core Benefits of MIOTY](/connectors/mioty-connector/core-benefits-of-mioty) to see what telegram splitting buys you in practice.

***

MIOTY is a registered trademark of the MIOTY Alliance. For the specification and the wider ecosystem, see [mioty-alliance.com](https://mioty-alliance.com).


# Core Benefits of MIOTY

Core MIOTY benefits — interference resistance, massive endpoint density, long range, low power, and mobility.

MIOTY is a low-power wireless protocol for devices that send small messages, such as meter readings. Its key technique, **telegram splitting**, spreads parts of each message across time and radio frequencies so a receiver can reconstruct the message despite some lost parts.

That design can help when many sensors share a radio environment or interference makes reception difficult. The sections below explain its interference tolerance, device density, power use, and mobility considerations. Use these as design factors alongside a site assessment, rather than as a guarantee of range or delivery for every installation.

For the basic network components, start with [What is MIOTY?](/connectors/mioty-connector/what-is-mioty).

***

#### Interference Resistance in Hostile RF

This is MIOTY's headline property, and it is worth stating precisely: **up to half of a message's radio bursts can be destroyed and the message still arrives intact.** Not half of your messages — half of one transmission. An interferer has to take out more than 50% of a single telegram, spread across both time and frequency, to cost you one reading.

That changes what interference *is*. For a single-packet protocol, a collision is a lost message and a retry. For MIOTY, a collision costs a fragment that the error correction was already carrying redundancy for. Environments that punish conventional transmissions — factory floors with variable-frequency drives and welding equipment, plant rooms packed with metal, sites crowded with competing radio traffic — degrade MIOTY gracefully instead of breaking it.

#### Massive Endpoint Density

A single base station serves **up to 110,000 endpoints** and handles **up to 3.5 million messages a day** — the latter with endpoints in low-power mode sending small payloads roughly hourly. Note the range these figures assume: the endpoint count is measured at around 2.5 km, not at MIOTY's maximum reach. Density and distance are a trade you make per site.

Those numbers are a dividend of collision tolerance rather than an independent claim. When overlapping transmissions stop destroying each other, you can pack far more devices into the same spectrum before the network saturates. For a metering rollout or a site-wide sensor fleet, that is the difference between a handful of base stations and a fleet of them.

#### Long Range

MIOTY reaches **up to 15 km in flat, rural terrain** and around **5 km in urban centers**, in license-free sub-GHz spectrum. That is competitive with other LPWAN technologies rather than exceptional — the distinguishing behavior is at the edges. In dense industrial environments, where obstruction and interference erode link margin, robustness keeps distant and deeply buried endpoints reporting instead of intermittently dropping out. A link that merely *reaches* is not the same as a link that *delivers*.

#### Low Power, Long-Lived Endpoints

Robustness is what protects the battery. A protocol that loses messages to interference must retransmit, and every retransmission is energy spent and airtime consumed. Because a MIOTY message that meets interference usually still arrives the first time, the energy budget per reading stays predictable — including in exactly the congested conditions that would drain a less tolerant device fastest.

In practice: roughly **10 years on a single 2,200 mAh AA cell** at one message every 15 minutes, and **20 years or more** at lower reporting rates. As always, the interval and the payload size decide it — a figure without them is a marketing number.

#### Reliability for Devices in Motion

MIOTY endpoints work at speeds of **up to 120 km/h** at full performance. An endpoint on a moving asset passes through a constantly changing radio environment: reflections shift, obstructions come and go, and the channel that was clear a second ago is not. Spreading a telegram across seconds and two dozen carriers means the transmission samples many moments and many channels rather than betting the whole message on one — and the base station's signal processing is what lifts the workable speed to 120 km/h.

The measured effect is small enough to be worth quoting: Fraunhofer puts the penalty for a fading channel versus a static one at **under 2 dB**. Movement is close to free.

#### Standardized and Secured

MIOTY is an ETSI standard — **TS 103 357**, TS-UNB — not a proprietary scheme, so endpoints and base stations from different vendors interoperate against a published specification. Endpoints are identified by an **EUI** and their traffic is protected with a **network session key**, while base stations reach the service center over **BSSCI** on a certificate-secured mutual TLS connection. Both hops of the path — over the air and over the backhaul — are authenticated and encrypted.

#### How Can I Run MIOTY on Kilo?

MIOTY runs on Kilo without you hosting any of it: the Enterprise edition of our service center is built into Kilo Cloud, so endpoints land straight in the rules engine, alarms, and dashboards. If you would rather run the network yourself, the Community edition — [Kilo Center](/kilo-mioty-service-center) — is free, open source, self-hosted, and provided as is. And if the network has to stay on your premises with commercial support, Kilo licenses and installs the Enterprise edition there. See [Why Choose MIOTY?](/connectors/mioty-connector/why-choose-mioty) for how that choice plays out.

***

### The Compounding Effect

These benefits are not independent line items. Interference resistance produces fewer retries; fewer retries preserve battery life and free airtime; free airtime raises the number of endpoints one base station can carry; higher density means fewer base stations for the same coverage. One property at the physical layer propagates all the way up to the cost of the deployment.

Next: [Ideal Use Cases for MIOTY](/connectors/mioty-connector/ideal-use-cases-for-mioty).


# Ideal Use Cases for MIOTY

Where MIOTY fits best — factory floors, utility metering, moving assets, rotating machinery, buildings, farms.

MIOTY is a wireless protocol suited to low-power sensors sending small amounts of data, such as utility readings or equipment status. Sensors transmit to base stations; a service center handles the traffic before an application uses the readings.

Consider MIOTY for metering, building monitoring, and industrial sensing where cabling is difficult or many devices share the radio environment. Its [telegram-splitting design](/connectors/mioty-connector/what-is-mioty) helps reception tolerate interference. Choose equipment and test reception for the actual site: the examples below describe possible applications, not guaranteed coverage or customer results.

***

### Common Applications

| **Domain**                     | **Example Applications**                                                                   |
| ------------------------------ | ------------------------------------------------------------------------------------------ |
| **Factory Floor Sensing**      | Process monitoring, environmental sensing near drives and welding cells, safety interlocks |
| **Utility & Sub-Metering**     | Water, gas, heat, and electricity metering at portfolio scale; basement and riser meters   |
| **Logistics & Asset Tracking** | Tags on moving pallets, containers, tools, and rolling stock across yards and warehouses   |
| **Condition Monitoring**       | Vibration and temperature on motors, pumps, gearboxes, fans, and other rotating machinery  |
| **Large Building Portfolios**  | Multi-site environmental sensing, occupancy, leak detection, plant room monitoring         |
| **Agriculture at Scale**       | Soil, microclimate, silo, irrigation, and livestock sensing across large landholdings      |

***

### Why Telegram Splitting Suits Each

#### Factory-floor sensing in high-interference environments

A production hall is one of the worst radio environments in industry: variable-frequency drives, welding equipment, contactors, and motors generate broadband noise, while steel structure and racking reflect and block signals unpredictably. A single-packet transmission has to find a clean channel at a clean moment. A MIOTY telegram does not — its bursts are scattered across the spectrum and across time, so a noise source that dominates one band or one instant only removes fragments the receiver can already do without.

#### Utility and sub-metering at scale

Metering is a density problem before it is a range problem. Thousands of meters, each sending small readings on a schedule, all contending for the same spectrum, many of them in basements, ducts, and risers with poor link margin. Collision tolerance is what lets one base station carry that population without the network degrading as meters are added, and the same robustness pulls readings out of the deeply buried locations where metering equipment is invariably installed. Fewer base stations for the same billing coverage is a direct capital saving.

#### Logistics and asset tracking in motion

A tag on a moving pallet is a moving radio problem. Multipath conditions change continuously, the endpoint passes behind obstructions, and the channel quality at the moment of transmission is unknowable in advance. Spreading the telegram across many frequencies and many time slots means the transmission samples a range of conditions instead of gambling on one. Deep fades take fragments; the message still arrives.

#### Condition monitoring on rotating machinery

Vibration and temperature sensors sit on or beside the machines that generate the electrical noise — mounted on metal, surrounded by metal, often in the least accessible corner of the plant. These are also the sensors you least want to lose, because their value lies in an unbroken trend: a gap in the data is a gap in the failure signature you are trying to detect before it becomes a shutdown. MIOTY's tolerance for interference keeps that series continuous where the interference is worst.

#### Large building portfolios

Across a portfolio, coverage is fought floor by floor: concrete slabs, elevator shafts, plant rooms, and firebreaks all attenuate. Every base station you add is an install, a network drop, and an ongoing maintenance obligation multiplied across every building. MIOTY's combination of endpoint density and robustness in obstructed structures keeps infrastructure lean, so a portfolio rollout scales by adding sensors rather than by re-engineering coverage each time.

#### Agriculture at scale

Large landholdings invert the usual problem: coverage is broad, mains power is absent, and site visits are expensive. Endpoints must run for years untouched, spread across fields, silos, and outbuildings. MIOTY's low-power operation and long range fit the geography; its robustness matters around the metal and machinery of grain stores, barns, and pump houses, where the infrastructure that most needs monitoring is also the noisiest.

***

### Where Another Protocol May Fit Better

MIOTY is not the answer to every deployment, and Kilo does not require you to pick one protocol for your whole estate. Where the radio environment is benign, device counts are modest, and you want the widest possible choice of off-the-shelf sensors, [LoRaWAN](/connectors/lns-connector/what-is-lorawan) remains an excellent fit — and the two can coexist across your organization. Choose MIOTY when interference, density, or motion are the constraints that decide whether your data arrives.

Next: [Why Choose MIOTY?](/connectors/mioty-connector/why-choose-mioty).


# Why Choose MIOTY?

MIOTY vs LoRaWAN — how telegram splitting, base stations, and BSSCI decide which LPWAN protocol fits your site.

Choosing an LPWAN protocol is a question about your environment, not about which technology is better in the abstract. MIOTY, LoRaWAN, and LR-FHSS all deliver small messages from battery-powered devices over long distances. They differ in what they assume about the world those messages travel through — and that assumption is what should decide your choice.

MIOTY assumes the channel is hostile and the device population is large, and designs for both from the physical layer up.

***

### The Case for MIOTY

#### Robustness is built in, not bolted on

Most reliability strategies are reactive: detect the failure, then retry. MIOTY is proactive. By splitting every telegram into sub-packets spread across frequency and time, and reconstructing the message from a partial set of them, it treats loss as the expected condition rather than the exception. There is no retry storm to manage in congested conditions, because the first attempt usually succeeds even when part of it does not arrive.

#### Density without degradation

Networks tend to degrade as they fill, because more devices means more collisions and more collisions means more retries — a feedback loop that gets worse exactly when the deployment gets valuable. When collisions cost fragments instead of messages, that loop does not close. Thousands of endpoints per base station is what this buys you, and it is what makes site-wide or portfolio-wide rollouts practical on modest infrastructure.

#### An open, standardized foundation

MIOTY is specified by ETSI as **TS 103 357** — currently part 2, version 2.1.1 (2024) — under the name TS-UNB. You are buying against a published standard with a multi-vendor ecosystem behind it, not a single supplier's interpretation of one. Endpoint and base station vendors implement the same specification, and the [MIOTY Alliance](https://mioty-alliance.com) maintains the ecosystem around it. The base station to service center interface, **BSSCI**, is specified separately by the Alliance.

***

### MIOTY and LoRaWAN, Side by Side

Kilo supports both. The comparison below is technical orientation for choosing the right tool for a given site — not an argument against either protocol.

|                           | **MIOTY**                                                  | **LoRaWAN**                                           |
| ------------------------- | ---------------------------------------------------------- | ----------------------------------------------------- |
| **Standard**              | ETSI TS 103 357 (TS-UNB)                                   | LoRaWAN specification (LoRa Alliance)                 |
| **Core technique**        | Telegram splitting — sub-packets across frequency and time | LoRa chirp spread spectrum modulation                 |
| **Handling interference** | Reconstructs the telegram from a partial set of bursts     | Message-level delivery; a collision costs the message |
| **Field infrastructure**  | Base stations reassemble telegrams                         | Gateways forward packets to a network server          |
| **Backhaul interface**    | BSSCI over certificate-secured mutual TLS                  | Packet forwarding to the network server               |
| **Device ecosystem**      | Growing industrial vendor base                             | Very large, mature, broad sensor catalog              |
| **Sweet spot**            | Noisy, dense, or moving deployments                        | Broad general-purpose IoT with wide hardware choice   |

#### Where the architectures genuinely differ

The structural distinction is worth stating plainly, because it shapes how you plan a site. In LoRaWAN, gateways forward radio packets onward and the network server does the protocol work — the gateway is a relay. In MIOTY, the **base station** is where the sub-packets are collected and the telegram is reassembled; it is doing the reconstruction, not passing raw frames along. Base stations then connect to a **service center** over **BSSCI**, on a certificate-secured mutual TLS link. There is no packet-forwarding gateway in the LoRaWAN sense, so plan MIOTY coverage around base stations and their backhaul, not around a gateway fleet.

***

### How to Decide

Choose **MIOTY** when:

* Interference is a known constraint — plant floors, heavy machinery, dense metal structure, crowded spectrum
* You are deploying thousands of endpoints and want to keep base station count down
* Devices are moving, or the environment around them changes
* Missed readings have a real cost — compliance records, billing data, failure trends

Choose **LoRaWAN** when:

* The radio environment is reasonably clean and device counts are moderate
* The widest possible catalog of off-the-shelf sensors matters to your build
* You want the most established LPWAN ecosystem for a general-purpose deployment

And it is not either-or. Nothing stops you running MIOTY where the RF is hard and LoRaWAN where it is not — within one Kilo organization, on the same dashboards, feeding the same rules. Once data is on the platform it is normalized, so the protocol that carried a reading stops mattering the moment it arrives.

***

### A Network Server, or a Platform

There is a second decision behind the protocol one, and it is worth separating: a MIOTY network server and an IoT platform are not the same product.

A service center moves messages. It manages base stations and endpoints, handles uplinks and downlinks, and hands the data onward. That is a necessary layer and a demanding one — but on its own it gives you telemetry, not answers. Everything you actually want to *do* with a reading — chart it, alert on it, act on it, keep it for an audit — happens somewhere else.

Kilo gives you three ways to run it:

* **Kilo Center — the Community edition.** Our open-source MIOTY service center. Self-host it, own the infrastructure end to end, and integrate it with whatever you run downstream. It is a MIOTY network server: base stations, endpoints, traffic, and an operator console. See [Kilo MIOTY Service Center](/kilo-mioty-service-center).
* **Kilo Cloud — the Enterprise edition, built in.** The Enterprise edition of the service center runs inside Kilo Cloud, so there is no MIOTY infrastructure for you to host at all. Register a [MIOTY connector](/connectors/mioty-connector), point your base stations at it, and your endpoints arrive on a full IoT platform rather than a bare network server.
* **Kilo Center — the Enterprise edition on your premises.** When the network has to stay on your own infrastructure, Kilo licenses and installs the Enterprise edition there, with commercial support, multi-tenancy, and the enterprise MIOTY capabilities. [Contact Kilo](https://kiloiot.io/contact/) to ask for it.

The Kilo Cloud path is what changes MIOTY from a data feed into an operation. The same readings land in the rules engine, alarms with escalation, dashboards, the Digital Building Twin, multi-tenant access control, and the audit trail — the machinery the rest of your fleet already uses. A MIOTY endpoint and a LoRaWAN sensor become the same kind of object the moment their data is normalized, and a single rule can reason across both.

### Starting a MIOTY Deployment on Kilo

Data from MIOTY endpoints reaches your organization through the [MIOTY connector](/connectors/mioty-connector), and the base stations serving those endpoints are registered and managed under [MIOTY base stations](/gateways/mioty-base-stations).

***

MIOTY is a registered trademark of the MIOTY Alliance.


# Tracker Connector

Connect OBD2, CAN bus, and GPS vehicle trackers to Kilo IoT Server with the Tracker connector and its model templates.

The Tracker connector enables the Kilo IoT Server to accept data from vehicle trackers — OBD2, CAN bus, and standalone GPS vehicle tracking devices. The server includes preconfigured templates for over 2,000 vehicle tracker models.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-7d05dee62a2965a7d2787758ed08315cd3d34741%2Ftracker-connector.jpg?alt=media" alt="Add connector dialog with Tracker selected as the connector type"><figcaption></figcaption></figure>

## Adding the Tracker connector

1. Navigate to **Connectors** in the sidebar.
2. Click **Add connector**.
3. In the **Connector type** dropdown, select **Tracker**.
4. Click **Add**.

The connector is created immediately. Each organization can have only one Tracker connector.

## Inside the Tracker connector

Click the Tracker connector row in the connectors table to open it. This shows the shared device list. When registering a device through the Tracker connector, the **Connection** tab includes tracker-specific fields: **Unique ID**, **Device model**, and a **Url for GPS tracker** endpoint.

For device registration and management, see [Registering Devices](/devices/registering-devices) and [Device Management](/devices/device-management).


# How Do I Connect Devices With the MQTT Connector?

Bring MQTT-capable devices into Kilo IoT — Cloud MQTT (platform-provisioned broker) or External MQTT (bridge yours).

The MQTT connector brings readings from meters, controllers, and edge systems into Kilo's dashboards and automation. You can connect equipment that already publishes MQTT messages or use an edge bridge to translate another protocol, then map its fields to readings your rules can use.

**MQTT** is a messaging protocol. A **broker** receives messages and forwards them to subscribers; a **topic** is a named message channel, such as a meter's readings channel. Kilo's configured MQTT connection receives those messages and associates them with registered devices.

Choose **Cloud MQTT** for a broker endpoint and credentials supplied by Kilo, or **External MQTT** to connect a broker you already operate.

Two variants are available:

| Variant           | How the broker is provided                                                                                       | Limit                     | Best for                                                                                                                 |
| ----------------- | ---------------------------------------------------------------------------------------------------------------- | ------------------------- | ------------------------------------------------------------------------------------------------------------------------ |
| **External MQTT** | Your own broker — cloud-hosted, on-premise, or in a facility network, as long as it is reachable by the platform | Up to 10 per organization | Connecting existing infrastructure that already publishes to MQTT                                                        |
| **Cloud MQTT**    | Platform-provisioned — the server provides a dedicated broker endpoint and credentials per connector             | Unlimited                 | New deployments, pilots, and remote sites where you want MQTT ingestion without operating broker infrastructure yourself |

Use External MQTT when you already have a broker running. Use Cloud MQTT when you want the platform to provide one — you give the connector a name, the platform provisions the rest.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-59ff88df13cfb333c0d43d07db13c3eed0b3a449%2Fmqtt-connector-type-selector.jpg?alt=media" alt="The Add connector dialog with External MQTT and Cloud MQTT in the connector type list"><figcaption></figcaption></figure>

> **Scope.** This documentation covers MQTT telemetry ingestion and device mapping. Sending commands the other way — controlling a connected device with downlinks — is set up per device under [Device Commands](/devices/commands).

## Where Can I Learn More About MQTT in Kilo?

* [What MQTT is](/connectors/mqtt-connector/what-is-mqtt) — Protocol primer for engineers new to MQTT or refreshing the model.
* [Cloud MQTT](/connectors/mqtt-connector/cloud-mqtt) — Provisioning a platform-managed broker for a connector.
* [External MQTT](/connectors/mqtt-connector/external-mqtt) — Connecting an existing broker, including network reachability, authentication, and verification.
* [Topics and device routing](/connectors/mqtt-connector/topics-and-device-routing) — How topic patterns, device-ID extraction, and the Mapping tab work together. Read before registering devices.
* [Troubleshooting](/connectors/mqtt-connector/troubleshooting) — Diagnosing connection, topic-match, and Logs-tab issues.

For the hardware/edge-gateway side of the integration — Modbus, BACnet, OPC-UA, Sparkplug B, and Zigbee2MQTT bridges that publish MQTT into the connector — see [MQTT Edge Gateways](/gateways/mqtt-edge-gateways) under Gateways.

***

## How Do I Add an External MQTT Connector?

1. Navigate to **Connectors** in the sidebar.
2. Click **Add connector**.
3. Select **External MQTT** from the **Connector type** dropdown and click **Add**. The **Add external MQTT connector** form opens.
4. Fill in the configuration form:

   | Field          | Required | Details                                                                                                                                                                                                                                                                          |
   | -------------- | -------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
   | **Name**       | Yes      | Display name for this connector                                                                                                                                                                                                                                                  |
   | **Broker URL** | Yes      | Full URL with scheme and port. The broker must be network-reachable from the platform — a broker accessible only on an isolated local network will not connect. Accepted schemes: `mqtt://`, `mqtts://`, `tcp://`, `ssl://`. Example: `mqtts://broker.facility.example.com:8883` |
5. In **Transport**, decide how the connection is secured and what to read. **Encrypt the connection (TLS)** switches on automatically for `mqtts://` and `ssl://` addresses and adds **CA Certificate** and **Server name (SNI)**. **MQTT version** defaults to 5.0, and **Topics to read** stays empty to read the whole broker. The [External MQTT guide](/connectors/mqtt-connector/external-mqtt#how-do-i-set-mqtt-encryption-server-name-version-and-topic-filter) explains each control.
6. Choose an **authentication method** from the tabs:

   | Method            | What to fill in                                                                                                                                                                                       |
   | ----------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
   | **Anonymous**     | No credentials required                                                                                                                                                                               |
   | **Basic**         | Username and Password (password has a show/hide toggle)                                                                                                                                               |
   | **Certification** | Two file upload buttons: **Client Certificate** and **Private Key**. Upload each file — do not paste PEM content. Encryption is held on for this method, and the CA Certificate goes in **Transport** |
   | **JWT Token**     | **Token** field with a show/hide button and a copy button. The platform submits only the token for JWT authentication                                                                                 |
7. Click **Add connector** (the button reads **Save** when you edit an existing connector). **Test connection** is disabled for now and shows **Coming soon**.

The connector appears in the connectors table, and the app opens the new connector on its **Diagnostics** tab. Click a row later to reopen it on **Settings**. Broker ports the platform does not support cannot be saved; the URL field lists the **Supported ports**.

***

## How Do I Add a Cloud MQTT Connector?

1. Navigate to **Connectors** in the sidebar.
2. Click **Add connector**.
3. Select **Cloud MQTT** from the **Connector type** dropdown.
4. Enter a **Name** for the connector.
5. Click **Add**.

The platform provisions a dedicated broker endpoint and displays the generated credentials:

| Credential       | Details                                                                                                                                                                                                        |
| ---------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Broker URL**   | The managed MQTT endpoint. Copy it using the copy button.                                                                                                                                                      |
| **Topic prefix** | All messages published to this connector must use this prefix. It keeps your data organized under the connector's assigned namespace. Copy it using the copy button.                                           |
| **Username**     | Assigned automatically. Copy it using the copy button.                                                                                                                                                         |
| **Password**     | Shown once. **Copy it immediately.** If lost, rotate the credentials from the connector settings — devices will need to be reconfigured with the new password. In edit mode, a regenerate button is available. |

#### How Do I Connect Devices to Cloud MQTT?

Configure your devices or gateway software to publish to the provided endpoint. Key details before connecting:

* **The Broker URL is the complete endpoint** — copy it exactly as shown. It uses MQTTS (TLS) on port 1884. Configure your devices accordingly; this is not the standard port 1883.
* **All published topics must start with the Topic prefix.** The full topic your device publishes to is `{Topic prefix}/{device topic}` — for example, if the prefix is `iot/abc123/xyz789` and your device publishes power readings, you might publish to `iot/abc123/xyz789/EM-4492/power`.
* **Routing templates on the device do not include the prefix.** When configuring the device ID topic on the Connection tab, enter only the device-level portion — for example `{{deviceId}}/power`. The platform strips the prefix before routing.

No broker infrastructure on your end is required — the platform manages the broker.

***

## How Do I Register a Device on an MQTT Connector?

Each device that publishes through an MQTT connector must be registered individually. Registration maps the MQTT topic structure and payload format to the server's device model.

1. On the **Connectors** page, click **Add device** in this connector's row, or go to **Devices → Registering Devices** and select this connector.
2. Complete the standard device fields (name, connector, template).

> **Device ID = topic segment, character for character.** Whatever you enter as the device's identifier must match the device-level topic segment your hardware publishes exactly. A device ID is 1–64 characters, and case and spaces are preserved and significant, so `EM 4492` does not match a device publishing on `EM-4492`, and `em-4492` does not match `EM-4492`. Use the same exact string in the device record and on the publishing side.

3. Open the device's **Connection** tab. It holds the **Topic for defining Device ID** section and the **Topic Telemetry** section described below.
4. Open the separate **Mapping** tab to link the incoming keys to normalized metrics.

### How Do I Set the MQTT Topic on the Connection Tab?

The Connection tab tells the connector where to find the device identifier in each MQTT message and which topics carry telemetry. [Topics and device routing](/connectors/mqtt-connector/topics-and-device-routing) walks through the segment builder and the **Resolved** preview in detail.

#### MQTT Topic for device ID *(required)*

The MQTT topic pattern this device publishes to. Use `{{deviceId}}` to mark the segment of the topic that contains the device identifier. Saving without it shows **MQTT topic is required** or **Device ID topic is required**.

**Example:** If your energy meter publishes to `facility/meters/EM-4492/power`, enter:

```
facility/meters/{{deviceId}}/power
```

The platform extracts `EM-4492` from that segment and routes all matching messages to this device's Digital Twin.

#### Where to get the device ID

* **Topic** *(default)*: the ID is extracted from the `{{deviceId}}` segment of the topic.
* **Payload**: the ID is taken from a field inside the JSON payload. When selected, the **Payload template** field becomes required. Its placeholder reads **Specify the path to the device ID**, and the helper shows an example such as `deviceInfo.deviceId`. **Payload preview** shows the payload the platform sees.

For a payload `{"device": {"id": "EM-4492"}, "power": 4.2}`, enter this in **Payload template**:

```
device.id
```

#### Topic Telemetry *(optional)*

Telemetry topic rows define how individual measurements are extracted from MQTT messages.

For devices that publish a flat JSON payload on a single topic, such as building management systems or PLCs publishing a status object, you can skip this section. The platform parses all keys from the JSON payload automatically, and nested objects are flattened into dot-notation paths (for example, `{"device": {"temperature": 22.5}}` becomes `device.temperature`). The Mapping tab is still required: each payload key needs a row with a matching **Device data key** to become a normalized platform metric. Add telemetry topic rows only when you need explicit per-topic control, for example when metric values sit in the topic path rather than the payload.

| Field                        | Details                                                                                                                                                                                                                                                  |
| ---------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **MQTT Topic for telemetry** | Topic pattern for this row, using the `{{deviceId}}` placeholder                                                                                                                                                                                         |
| **Device data key**          | Names the source key arriving from MQTT. It must match what the device publishes, and every telemetry row needs one (**Device data key is required**). It does not create a platform metric on its own; the Mapping tab links it to a normalized metric. |

**Add new topic** adds a telemetry topic row.

**Apply all** uses the device ID topic pattern as a prefix to generate telemetry topic templates for rows that already have a **Device data key**. It builds per-topic patterns from the device ID topic and does not copy its value verbatim.

#### Placeholder reference

| Placeholder    | Where used                                 | What it does                                                                                                                                                                                                                                                                                                                                                 |
| -------------- | ------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `{{deviceId}}` | Device ID topic, telemetry topic templates | Marks the topic segment containing the device identifier                                                                                                                                                                                                                                                                                                     |
| `{{value}}`    | Telemetry topic templates                  | Marks a topic segment whose content is the measurement value itself, for example `meters/EM-4492/230.5` where `230.5` is the reading. Do not use `{{value}}` for segments that name the metric (like `power` or `voltage`). The token is optional: a telemetry topic without it reads the value from the message body and stores it under the row's data key |

***

### How Does the MQTT Mapping Tab Work?

The Mapping tab links incoming MQTT data to normalized platform metrics. This is where raw device values become queryable sensor data in the Digital Twin.

The **Device data key** in the Mapping tab must match the key published in the MQTT message (or the Device data key defined on the Connection tab). Without a match the data is ignored. The helper text above the table says so: **"If the Device data key is not filled in, the data will be ignored."**

The table has these columns, left to right:

| Column              | Type      | Details                                                                                                          |
| ------------------- | --------- | ---------------------------------------------------------------------------------------------------------------- |
| **Device data key** | Dropdown  | Lists keys this device actually sends. Empty until at least one publish has arrived. A row left empty is ignored |
| **Value**           | Read-only | Current live value received from the broker                                                                      |
| **Last update**     | Read-only | Timestamp of the most recently received value                                                                    |
| **Normalized key**  | Dropdown  | Select from sensor templates; includes a "+ Add new metric" option                                               |
| **Unit**            | Read-only | Derived from the selected template                                                                               |
| **Type**            | Read-only | Integer, Float, String, or Boolean, derived from the template                                                    |
| **Data type**       | Dropdown  | **Telemetry** is the only option                                                                                 |
| (actions)           | Icon      | The **Remove** button deletes the row                                                                            |

**Add key** adds a new empty mapping row.

#### Why Is the Device Data Key Dropdown Empty Until the Device Publishes?

The **Device data key** column is a dropdown populated from payload keys actually received from the device, not a free-text input. Before the first publish arrives, the dropdown is empty and the rows cannot be completed.

Registering an MQTT device is therefore a two-pass workflow:

1. Add a row per metric, select the **Normalized key** from the templates dropdown (or use **+ Add new metric** to create one), and leave the **Device data key** empty.
2. Click **Save**. The device record is persisted.
3. Confirm the device is publishing — for an MQTT-producing edge gateway, that the gateway process is running and the device has emitted at least one message.
4. Reopen the device. The **Device data key** dropdown now lists keys received from the most recent publishes.
5. Match a key to each mapping row.
6. Click **Save** again.

#### Why Does the Value Column Update but the Logs Tab Stay Empty?

The Mapping tab's **Value** column reflects the most recent payload — a live snapshot. Values appear here as soon as topic matching succeeds, even before Device data keys are populated.

The **Logs** tab is per-sensor history. It is populated only by publishes that arrive *after* Device data keys are saved. After the second pass of the workflow above, generate a fresh publish (a wake-on-event from the device, a scheduled report, or for development gateways a poll request) to confirm the Logs tab is receiving records.

#### How Do I Refine MQTT Mapping After Data Arrives?

MQTT mapping is not a one-shot operation. Initial registration is often based on the operator's expectation of what the device or edge gateway will publish; the first real payload frequently reveals additional keys — vendor-defined diagnostic fields, undocumented state fields, nested objects with useful sub-paths. Treat the Mapping tab as a place to revisit:

1. After live data has been arriving for a representative period, reopen the device record.
2. Inspect the **Device data key** dropdown and the **Value** column to see what the device is actually publishing.
3. Add Mapping rows for fields the deployment now wants to track (a diagnostic field for predictive maintenance, a state field that became operationally relevant, a nested vibration sub-metric, and so on).
4. Pick the right Normalized key for each new row.
5. Save.
6. Trigger a fresh publish so the Logs tab begins collecting history for the new mappings.

This iterative refinement is the expected workflow, particularly for vendor-mixed fleets where payload schemas vary subtly across firmware revisions of nominally-identical devices.

#### Which Metric Type Fits an MQTT Payload Value?

When a device publishes an enumerated state as a string (for example an actuator publishing `"OPEN"`/`"CLOSED"`, or a Zigbee `state` field with `"ON"`/`"OFF"`), the value arrives as a string even though the concept is binary. Map these to a **String** metric, not Boolean. A reading that does not fit the metric's Type is rejected and not stored, so a Boolean metric never receives `"ON"`.

For Zigbee2MQTT-bridged devices, the [zigbee2mqtt.io](https://www.zigbee2mqtt.io/supported-devices/) device pages list each feature with a type. Translate as follows:

| Z2M feature type | Metric Type              | Notes                                           |
| ---------------- | ------------------------ | ----------------------------------------------- |
| `binary`         | **String**               | Values are `"ON"`/`"OFF"` strings, not booleans |
| `numeric`        | **Float** or **Integer** | Pick Integer for whole-number ranges            |
| `enum`           | **String**               | Enumerated values arrive as strings             |
| `text`           | **String**               | Free-form text                                  |

#### How Do I Find Out Which Keys a Device Publishes?

The Mapping tab does not auto-detect keys. Three discovery methods, in order of practicality:

1. **The device's documentation or vendor data sheet.** Industrial devices typically ship with a payload schema or topic catalog.
2. **For Zigbee2MQTT-bridged devices**, the device page at `https://www.zigbee2mqtt.io/devices/{modelId}.html` lists the Exposes set. Note that real payloads may include keys not on the device page — trust the live payload over the documentation when they differ.
3. **Subscribe to the broker and inspect the live payload** — `mosquitto_sub` against the broker (or the Logs tab once at least one mapping row resolves) shows the JSON payload directly. Every top-level key is a valid Device data key.

***

## What Should I See After the MQTT Connector Is Set Up?

After the connector is configured and devices are registered:

* The connector's row in the **Connectors** table shows **Last data received** updating as messages arrive, and **Connected devices** counts the registered devices.
* The connector's **Diagnostics** tab shows the live connection, incoming messages and activity (see [Troubleshooting](/connectors/mqtt-connector/troubleshooting)).
* Each device's Digital Twin updates with incoming telemetry — viewable on the device detail page and in dashboards.
* Rules engine conditions referencing these device metrics evaluate in real time.

***

## Why Is My MQTT Connector Not Receiving Data?

A short list — see [Troubleshooting](/connectors/mqtt-connector/troubleshooting) for diagnostic recipes covering authentication failures, certificate mismatches, the empty-Logs-tab pattern, and verification tooling.

**No data arrives after connection:**

* For External MQTT: verify the broker URL scheme (`mqtt://`, `mqtts://`, `tcp://`, or `ssl://`), confirm the broker is reachable from the public internet (Kilo IoT Server connects out to your broker), and double-check credentials.
* For TLS (Certification auth): verify the CA certificate matches the broker's certificate chain, and that the client certificate and private key are a matching pair.
* For Cloud MQTT: confirm that your devices are publishing to the correct Broker URL and Topic prefix, and that the username and password are correct. If the password was lost, rotate it from the connector settings.

**Device is registered but no data appears:**

* Compare the registered device ID topic against the exact topic the device publishes to. Topics are case-sensitive and must match exactly.
* Confirm the `{{deviceId}}` placeholder position lines up with the actual device ID segment in the topic.
* Confirm the device ID is character-for-character identical to the device-level segment. Case and spaces are significant.
* If using Payload source: verify the Payload template resolves correctly against the actual payload structure.

**Mapping tab Value column updates but Logs tab is empty:** This is the most common pattern when Device data keys are saved after the most recent publish arrived. The Logs tab is populated only by publishes received *after* Device data keys are saved. Trigger a fresh publish — a device wake-up, a scheduled report, or a `/get` poll for development gateways — and the Logs tab will populate.

**Metric values missing or showing wrong keys:**

* Check that the Device data key in the Mapping tab matches the key in the MQTT payload exactly (case-sensitive).
* If relying on automatic JSON parsing (no telemetry topics defined): the platform flattens the entire JSON payload, including nested objects, into dot-notation keys — for example, `{"device": {"temperature": 22.5}}` becomes accessible as `device.temperature`. Use these dot-notation paths in the Device data key column of the Mapping tab.

**Cloud MQTT password lost:** The password cannot be retrieved after creation. Rotate the credentials from the connector settings and reconfigure devices with the new password.

**Device fails to save on a Cloud MQTT connector:** If saving a device on a Cloud MQTT connector fails, contact support. Support can help complete the registration through the supported API-assisted path.

***

## What Are Some Examples of MQTT Connector Setups?

**Factory PLC — per-topic telemetry:** A PLC publishes discrete measurements to separate MQTT topics on a plant-floor broker (`mqtts://plc-broker.plant.example.com:8883`). External MQTT connector, username/password auth. Device ID topic: `plant/line-a/{{deviceId}}/data`. One telemetry topic row per measurement (cycle\_time, reject\_count, temperature). Each row maps to a normalized platform metric in the Mapping tab.

**Building HVAC system — flat JSON payload:** A building management system publishes a JSON status object per device on a single topic. The payload is flat JSON, so no telemetry topic rows are needed — all keys are automatically parsed. Device ID is in the topic segment. Mapping tab maps each JSON key to the appropriate normalized metric.

**New site deployment — Cloud MQTT:** A remote facility site needs MQTT ingestion but the team doesn't want to operate a broker. A Cloud MQTT connector is created; the platform provisions a broker endpoint. Energy meters and environmental sensors are configured to publish to the provided endpoint and topic prefix. No broker infrastructure to manage — the platform handles it.

**Sub-metering energy system:** Energy meters publish individual readings (kWh, kW, voltage, current) to separate topics. Telemetry topic rows map each topic to a named Device data key. The Mapping tab links each Device data key to normalized platform metrics. All readings aggregate into a single device Digital Twin.

***

## What Should I Read Next After Setting Up MQTT?

* [Registering Devices](/devices/registering-devices) — Complete device registration and Digital Twin configuration.
* [Connectors](/connectors) — Overview of all connector types.

For the device-level setup, follow [MQTT Devices](/devices/mqtt-devices). It covers the physical identifier, connection fields, measurement mapping and checking retained history.


# What MQTT Is

What is MQTT? A lightweight pub-sub IoT protocol — brokers, topics, QoS — and how it maps to the Kilo connector.

MQTT is a messaging protocol for exchanging small messages between devices and software. A sender **publishes** a message to a named channel called a **topic**. A server called a **broker** receives it and forwards it to clients that **subscribe** to that topic.

For example, a building meter can publish its reading to `building-a/meter-1/state`. Kilo receives the message through an [MQTT connector](/connectors/mqtt-connector) and maps it to the registered device and its readings. The broker transports the message; device routing and decoding determine what the reading means.

Use [Cloud MQTT](/connectors/mqtt-connector/cloud-mqtt) when Kilo should supply the broker connection details, or [External MQTT](/connectors/mqtt-connector/external-mqtt) when your deployment already has a broker.

## Architectural roles

Three roles participate in any MQTT exchange:

* **Broker** — the routing fabric. Devices and applications connect to the broker; the broker matches publishers to subscribers based on topic patterns and handles delivery according to the QoS level requested. The broker is the single connection point for every MQTT participant; there is no peer-to-peer fallback.
* **Publishers** — produce messages to topics. Industrial publishers in practice include PLCs with MQTT firmware, edge gateways translating Modbus / BACnet / OPC-UA to MQTT, vendor-specific bridges (Zigbee2MQTT, ESPHome), and custom embedded firmware on field devices.
* **Subscribers** — consume messages. The Kilo IoT Server's MQTT connector is a subscriber. Multiple subscribers can consume the same topics independently — your existing dashboard, on-premise historian, and the platform can all receive the same data without coordination.

```
Field devices ──┐
PLCs ───────────┤
Bridges ────────┼──> Broker ──> Subscribers (Kilo, historian, dashboards, ...)
Edge gateways ──┘
```

Devices are typically both publishers (reporting telemetry) and subscribers (receiving setpoints, configuration, downlinks). The broker is the always-present middle.

## Topics: the routing key

Each MQTT message carries a **topic** — a slash-separated UTF-8 string. The broker uses topics to match publishers to subscribers; subscribers register interest in patterns using `+` (single-level wildcard) and `#` (multi-level wildcard at the end). Topics are not predefined; the publishing party chooses the topic, and a topic catalog is established by convention or vendor agreement.

Common conventions in industrial deployments:

* **Hierarchical topic structure by site/asset/metric** — for example, `plant-3/line-a/extruder-04/temperature` or `building-12/floor-2/ahu-1/setpoint`. This makes wildcard subscriptions natural for site-wide aggregation.
* **Vendor-prefixed schemes** for protocol bridges — e.g. `zigbee2mqtt/{friendlyName}`, `tasmota/{deviceName}/SENSOR`, `mosquitto/+/state`. The Kilo IoT Server supports any topic shape through the **Device ID Topic** pattern field — see [Topics and device routing](/connectors/mqtt-connector/topics-and-device-routing).
* **Sparkplug B namespaces** for OPC-UA-style hierarchies — e.g. `spBv1.0/{group}/DDATA/{node}/{device}`. The platform consumes these as ordinary MQTT topics; Sparkplug-specific decoding is handled by the publishing edge gateway.

The platform's connector configuration treats topics as patterns: on each device you build the topic out of segments and mark the one that carries the device identifier, and the platform extracts the identifier from that position when each message arrives.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-7c85ab64d7dcc1cbb595a0bfedd518158c2ecd2f%2Fdevice-mqtt-topic-builder.jpg?alt=media" alt="The MQTT topic builder on a device Connection tab with a locked connector prefix, a text segment, a Device ID segment and the resolved preview"><figcaption></figcaption></figure>

## Payloads: structured JSON in practice

The MQTT protocol itself is payload-agnostic — bytes go in, bytes come out. In production deployments JSON is overwhelmingly the format of choice for new systems, with occasional Sparkplug B (Protocol Buffers) and proprietary binary formats for legacy bridges. The Kilo IoT Server's MQTT connector parses JSON payloads automatically — flat objects, nested objects (flattened to dot-notation paths), and primitive values are all handled.

A typical industrial telemetry payload:

```json
{
  "timestamp": "2026-01-15T14:32:18Z",
  "temperature": 78.4,
  "pressure": 4.21,
  "vibration": {"rms": 0.42, "peak": 1.8},
  "status": "running"
}
```

When mapped to platform metrics, `temperature`, `pressure`, `vibration.rms`, `vibration.peak`, and `status` each become an addressable Connector Key. The Mapping tab links each Connector Key to a normalized metric, which is what then flows into the Digital Twin, the rules engine, and historical storage.

For readings carried in topic segments, configure **Topic Telemetry** on the device's **Connection** tab. JSON payloads normally need no telemetry rows. See [Topics and device routing](/connectors/mqtt-connector/topics-and-device-routing#topic-telemetry) for the editor's supported patterns.

## QoS, retained messages, last-will

Three protocol features come up enough in industrial deployments to be worth stating explicitly:

* **QoS levels** — 0 (at most once), 1 (at least once), 2 (exactly once). The platform's connector handles whatever QoS the publisher uses; pick the level that matches your operational tolerance for duplicates vs. drops. QoS 2 has the highest broker overhead and is typically reserved for control commands or critical state changes.
* **Retained messages** — flagged messages that the broker stores and replays to new subscribers on connect. Useful for current-state advertisement (e.g. "online/offline" announcements). If the broker delivers retained messages to the platform as standard subscribed publishes, they can be mapped like any other payload — verify against your broker's behavior.
* **Last-will and testament (LWT)** — a message the broker publishes on the publisher's behalf if it disconnects unexpectedly. Common pattern: a device's LWT publishes `"offline"` to its status topic, so subscribers see disconnection state changes without polling. If your broker delivers LWT messages to the connector as standard MQTT publishes, they can be mapped like any other payload.

These features are configured by the publishing party, not by the connector. The connector accepts whatever the broker delivers.

## Why MQTT for industrial IoT

The protocol's adoption in commercial deployments is driven by three properties that map cleanly to operational requirements:

* **Bandwidth efficiency.** Wire-format overhead is small enough for cellular-attached field devices and high-density wireless deployments. Keep-alives and pings are configurable to fit available connectivity windows.
* **Decoupled producers and consumers.** Adding a new subscriber (a historian, a third-party analytics platform, the Kilo IoT Server) does not require reconfiguring publishers. Operations teams can roll out new consumers without touching the field.
* **Mature ecosystem.** Mosquitto, HiveMQ, AWS IoT Core, Azure IoT Hub, and many other brokers exist. Most modern industrial protocol bridges (Modbus-to-MQTT, BACnet-to-MQTT, Sparkplug B edge gateways) ship with first-class MQTT publishing.

For deployment-specific configuration, continue to [Cloud MQTT](/connectors/mqtt-connector/cloud-mqtt) for platform-managed brokers, or [External MQTT](/connectors/mqtt-connector/external-mqtt) for connecting an existing broker.


# Cloud MQTT

Provision a managed Cloud MQTT broker in Kilo IoT — dedicated endpoint and credentials per connector, ideal for pilots.

Cloud MQTT is Kilo's managed option for receiving MQTT device messages. An MQTT **broker** is the server that receives published messages and forwards them to subscribers. Kilo supplies the broker endpoint, login credentials, and a topic prefix for your connection, so you can connect equipment without operating your own broker.

Point MQTT-capable devices or edge gateways at the supplied endpoint. You still need to register each device and configure [topic routing](/connectors/mqtt-connector/topics-and-device-routing) so Kilo can associate messages with its readings. Use [External MQTT](/connectors/mqtt-connector/external-mqtt) if an existing broker must remain the source.

## When Cloud MQTT is the right choice

* **Greenfield ingestion.** No existing broker; running one would add infrastructure scope without operational benefit.
* **Vendor-provided MQTT firmware.** A device or gateway is configured to publish MQTT to an internet-reachable endpoint, and a managed endpoint is preferable to spinning up infrastructure.
* **Remote sites with constrained operations.** A site has cellular or satellite uplink and limited on-site IT; pointing publishers at a managed cloud endpoint is operationally simpler than running a local broker.
* **Pilot deployments.** Validating an MQTT integration before committing to broker infrastructure investment.

When an existing broker is already in place — a Mosquitto cluster on-premise, AWS IoT Core, an enterprise HiveMQ instance, or another broker product — see [External MQTT](/connectors/mqtt-connector/external-mqtt) instead.

## Provisioning the connector

1. Navigate to **Connectors** in the sidebar.
2. Click **Add connector**.
3. Select **Cloud MQTT** from the **Connector type** dropdown.
4. Provide a **Name** for the connector (operational label, e.g. `Plant 3 Line A Telemetry`).
5. Click **Add**.

The platform provisions the broker endpoint and displays four credentials:

| Field            | Behavior                                                                                                                                                                                                                                                     |
| ---------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| **Broker URL**   | The complete managed endpoint, including scheme and port. Uses MQTTS (TLS) on port 1884. Copy verbatim — the scheme and port are part of the credential.                                                                                                     |
| **Topic prefix** | The unique namespace prefix for messages routed to this connector. Every message your devices publish must begin with this prefix. The prefix has the shape `iot/{org}/{connection}` — two opaque segments identifying your organization and this connector. |
| **Username**     | Generated by the platform. Copy it exactly; the publishing side must use the same value, character for character.                                                                                                                                            |
| **Password**     | A randomly-generated secret. Shown once. **Copy and store securely on creation.** Recovery is not possible — only rotation.                                                                                                                                  |

The password is not stored in a retrievable form. Treat the post-provisioning copy as the only opportunity to capture it; missing the moment requires regenerating credentials and reconfiguring all publishers.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-691dc81cf7b5b5b70a2d03bb1b54474ecdedeb41%2Fconnector-cloud-mqtt-credentials.jpg?alt=media" alt="A newly provisioned Cloud MQTT connector showing the broker URL, topic prefix, username and one-time password with copy buttons"><figcaption></figcaption></figure>

## Integration model

Cloud MQTT publishers connect outbound to the managed broker. Three details matter:

* **TLS on port 1884.** Configure your publisher's MQTT client to use the `mqtts://` scheme on port 1884. Do not assume port 1883 — the managed broker does not accept plaintext connections. The broker certificate is signed by a publicly-trusted CA, so no client-side CA bundle is required for standard libraries.
* **Topic prefix is mandatory on every published topic.** A device publishing energy readings must publish to `{Topic prefix}/{your topic}` — for example, `iot/{org}/{connection}/meters/EM-4492/power`. Messages published outside the prefix are not delivered to this connector.
* **The Topic prefix is stripped before device routing.** When you configure a device's Device ID Topic on the Connection tab, you specify only the device-level portion (`meters/{{deviceId}}/power` or similar). The platform handles the prefix internally.

For Zigbee2MQTT-bridged devices specifically, the Z2M `base_topic` setting in `configuration.yaml` should be `{Topic prefix}/zigbee2mqtt`. Z2M then publishes each device under `{Topic prefix}/zigbee2mqtt/{friendlyName}`, and the device-level topic seen for routing is `zigbee2mqtt/{friendlyName}`.

## Verifying ingestion

After publisher startup, open the connector's detail page. The **Last data received** field updates within seconds of the first publish. For Z2M-bridged setups, the bridge's own `bridge/state` retained-message announcement is the first thing the broker accepts — that's typically when **Last data received** first appears, before any device has reported.

If **Last data received** does not update after the publisher reports a successful broker connection, the most common causes are wrong port (1883 vs 1884), wrong TLS scheme, or topic prefix mismatch. See [Troubleshooting](/connectors/mqtt-connector/troubleshooting) for the full diagnostic sequence.

## Credential rotation

Rotate Cloud MQTT credentials when:

* The original password was lost or never captured.
* A credential leak is suspected.
* A team transition or contractor offboarding warrants rotation.
* A compliance policy requires periodic rotation.

To rotate:

1. Open the connector detail page.
2. In edit mode, regenerate the password.
3. Capture the new password immediately.
4. Update every publishing client (firmware configuration, Z2M `configuration.yaml`, edge gateway settings) with the new password.
5. Restart publishers to pick up the new credential.

The username and Topic prefix remain stable across rotation. Only the password changes.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-61a0901e718f0ec3cac6dfea6a1d92ce4ac12381%2Fconnector-mqtt-settings.jpg?alt=media" alt="The Settings tab of a Cloud MQTT connector, with the password masked and a regenerate button beside it"><figcaption></figcaption></figure>

## Limits

Cloud MQTT connectors are unlimited per organization. Use multiple connectors to scope namespaces by site, vendor, or operational team — each connector has its own Topic prefix and credentials, and access can be managed independently per connector.

For the device-level setup, follow [MQTT Devices](/devices/mqtt-devices). It covers the physical identifier, connection fields, measurement mapping and checking retained history.


# How to Connect an External MQTT Broker

Connect Kilo IoT Server to your own MQTT broker — Mosquitto, AWS IoT Core, HiveMQ — with TLS, MQTT version control, topic filters and routing.

External MQTT connects Kilo IoT Server to an MQTT broker you already operate. A **broker** receives device messages and forwards them to subscribers; Kilo connects to it and subscribes to the named message channels, or **topics**, used by your deployment.

Choose this option when equipment already publishes to an existing broker. Have its address and authentication details ready, and ensure it is reachable from Kilo. Then [route the messages](/connectors/mqtt-connector/topics-and-device-routing) to registered devices and readings. [Cloud MQTT](/connectors/mqtt-connector/cloud-mqtt) is the alternative when Kilo should provide the broker connection.

## When Should I Use External MQTT?

* **An existing broker is already part of operations.** Devices already publish to it; multiple subscribers (historians, dashboards, integration platforms) already consume from it. Adding the platform as one more subscriber is operationally simpler than rerouting publishers.
* **Compliance or data-residency requirements** specify that telemetry must transit through your own broker before reaching SaaS consumers.
* **Hybrid architectures** where on-premise edge processing happens before a subset of telemetry is forwarded to the platform.

For deployments without an existing broker, [Cloud MQTT](/connectors/mqtt-connector/cloud-mqtt) is the lower-overhead path.

## Does My MQTT Broker Need to Be Reachable From the Internet?

Kilo IoT Server connects out to your broker, so the broker must be reachable from the public internet via DDNS, port forwarding, or a dedicated public IP. A broker accessible only on a private VLAN is not reachable from the platform's cloud control plane.

The standard production pattern is a public IP or DDNS hostname for the broker, with firewall rules controlling which sources can connect.

For development or pilot deployments, an exposure tunnel can work for short-lived testing, but note that running an exposure tool does not by itself confirm Kilo can reach the broker. After saving the connector, **publish a test message and confirm Last data received updates** in the **Last data received** column of the Connectors list (the connector's **Diagnostics** tab shows the same traffic in more detail). This is the only way to verify end-to-end reachability.

## How Do I Set MQTT Encryption, Server Name, Version and Topic Filter?

Encryption is its own setting, separate from how you sign in. That matters in practice: most production brokers want a username and password **and** an encrypted channel, and you can now configure exactly that on one connector. The **Transport** section of the form holds these controls:

| Control                          | What it does                                                                                                                                                                                                                                                                                                                                                                       |
| -------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Encrypt the connection (TLS)** | Encrypts everything between Kilo and your broker. Typing an encrypted address such as `mqtts://` or `ssl://` switches it on for you, and the form refuses to save an encrypted address while the switch is off, so the two cannot disagree. With **Certification** authentication the switch is held on, because a client certificate is presented during the encrypted handshake. |
| **CA Certificate**               | Appears once encryption is on. Upload the certificate authority that signed your broker's certificate when it is not a publicly trusted one. After you save, the field reads **CA Certificate — saved** with a remove button, so you can see a certificate is stored without it ever being displayed again.                                                                        |
| **Server name (SNI)**            | Appears once encryption is on. Set it when the broker serves several hostnames behind one address, or when its certificate names a host other than the one in the URL.                                                                                                                                                                                                             |
| **MQTT version**                 | **Default (5.0)**, **3.1**, **3.1.1** or **5.0**. Pick **3.1.1** or **3.1** for older brokers and gateways that do not speak version 5.                                                                                                                                                                                                                                            |
| **Topics to read**               | The topics Kilo subscribes to on your broker. **Leave empty to read the whole broker**, or narrow it to the branches you actually need so a busy broker does not flood the platform with traffic you will never route.                                                                                                                                                             |

Below the **Broker URL** field, **Supported ports** lists the ports the platform will connect to. A URL on any other port is flagged and cannot be saved, so a firewall-friendly port is worth choosing before you build the broker side.

If you change the address, server name, CA certificate or encryption on a connector that stores a secret, Kilo asks you to enter the credentials again. A stored secret is only kept while the connection it protects is unchanged. Two red messages in the form tell you when this applies:

* **This address uses an encrypted scheme — turn encryption on or change the address to mqtt://.** The Broker URL starts with `mqtts://` or `ssl://` while **Encrypt the connection (TLS)** is off. Switch encryption on, or use an `mqtt://` address.
* **The connection now points elsewhere or is sent differently, so enter the credentials again.** You changed the transport of a saved connector, so the stored password, token or key is no longer applied. Re-enter it on the authentication tab; **Save** stays disabled until you do.

The placeholders in the fields show the expected shape: `mqtt://broker.example.com:1883` for **Broker URL**, `broker.example.com` for **Server name (SNI)** and `device/#` for **Topics to read**.

## Which Authentication Methods Does External MQTT Support?

The connector supports four authentication methods, selectable on creation:

| Method            | When to use                                                                                                                                                                         | Configuration fields                                                                                                                    |
| ----------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- |
| **Anonymous**     | Development brokers only. **Do not use for production exposed brokers** — anyone on the internet who finds the broker can publish or subscribe.                                     | None                                                                                                                                    |
| **Basic**         | Username + password authentication. The most common configuration for production deployments; switch on **Encrypt the connection (TLS)** so the credential is protected in transit. | Username, Password                                                                                                                      |
| **Certification** | TLS mutual authentication using client certificates. Highest assurance; standard for regulated deployments.                                                                         | Client Certificate file and Private Key file (uploaded as files; do not paste PEM content). The CA Certificate is set in **Transport**. |
| **JWT Token**     | Token-based authentication compatible with brokers that validate JWTs (e.g. AWS IoT Core with custom authorizers, or other brokers with JWT plugins).                               | Token                                                                                                                                   |

Every method except **Anonymous** shows a **Security** heading above its fields. On **Basic** the **Password** field has an eye button that shows or hides what you typed. On **JWT Token** the **Token** field has an eye button and a copy button, and copying shows **Copied to clipboard**.

For Certification, the **Client Certificate** and **Private Key** files form the client side of an mTLS exchange; the broker must be configured to trust the CA that signed your client certificate and to validate the certificate against it. If your broker's own certificate is not publicly trusted, upload its CA in **Transport** as the **CA Certificate**; with Certification selected, encryption is held on so that field is always available. Upload the private key as a plain key file; the form has no field for a key passphrase.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-7661d9ad2428fc3480dc9a5a10ce04df86d99f9f%2Fconnector-external-mqtt-form.jpg?alt=media" alt="The Add external MQTT connector dialog on the Certification tab, with upload buttons for the client certificate and private key and the CA certificate in the Transport section"><figcaption></figcaption></figure>

## How do I add an external MQTT connector, step by step?

1. In the main menu choose **Connectors**. The page lists your connectors with **Name**, **Last data received**, **Connected devices**, and **Creation date**, and each row has **Add device** and **Delete** buttons.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-03565a867da1c65d8768ab7a41fbed720671313b%2Fkilo-connectors-list.jpg?alt=media" alt="The Connectors page listing six connectors with an Add connector button at the top right"><figcaption><p>The Connectors page. Select Add connector at the top right to start.</p></figcaption></figure>

2. Select **Add connector**. A small dialog asks for the **Connector type**. Choose **External MQTT** and select **Add**. **Cancel** closes the dialog.
3. The **Add external MQTT connector** form opens.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-083f9d783163c1aff02ce42eb079d66d7ce96453%2Fkilo-mqtt-external-form.jpg?alt=media" alt="The Add external MQTT connector form with Name, Broker URL, a Transport section with the TLS switch, MQTT version and Topics to read, and the Anonymous, Basic, Certification and JWT Token tabs"><figcaption><p>The form with encryption off. Authentication defaults to Anonymous, and Add connector stays disabled until the form is valid.</p></figcaption></figure>

4. Fill in the top of the form:

   | Field          | Required | Details                                                                                                                                                                                                                                                |
   | -------------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
   | **Name**       | Yes      | Operational label, for example `Plant 3 Mosquitto` or `North America Broker Cluster`.                                                                                                                                                                  |
   | **Broker URL** | Yes      | Full URL with scheme and port, for example `mqtts://broker.facility.example.com:8883`. The line below it, **Supported ports: …**, lists the ports Kilo will connect to; the list comes from the platform, and a URL on any other port cannot be saved. |
5. In **Transport**, set the encryption and the topics. Switching **Encrypt the connection (TLS)** on adds **CA Certificate** and **Server name (SNI)** to the form.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-d8a66d2f03e6a2e759c2c5435dcbed9e3924baae%2Fkilo-mqtt-external-form-tls.jpg?alt=media" alt="The same form after switching on Encrypt the connection (TLS), which adds a CA Certificate upload button and a Server name (SNI) field"><figcaption><p>With encryption on, the form adds CA Certificate and Server name (SNI) next to the MQTT version and Topics to read controls.</p></figcaption></figure>

6. Choose the authentication tab: **Anonymous**, **Basic**, **Certification**, or **JWT Token**, and complete its fields. The tab text explains the choice; for example **Anonymous** says *No authentication required. The broker must accept anonymous connections.*
7. Select **Add connector**. The button stays disabled until the name, the Broker URL on a supported port and the credentials of the chosen method are filled in, and while a red message is showing. **Cancel** closes the form without saving. **Test connection** sits between the two buttons but is disabled for now and shows **Coming soon** when you hover it, so you confirm the connection by [publishing a test message](#how-do-i-verify-that-the-mqtt-connection-works) instead.

The connector appears in the connectors table, and the app opens it on its **Diagnostics** tab. The connector page has two tabs: **Settings**, which holds the form, and **Diagnostics**, which shows the **Connection**, **Incoming** and **Activity** sections (see [Troubleshooting](/connectors/mqtt-connector/troubleshooting)). If the broker drops the connection briefly, Kilo reconnects and re-subscribes on its own, so a short broker restart does not leave the connector silently deaf. The **Last data received** and **Connected devices** values sit in the connector's row in the Connectors list.

## How do I change an external MQTT connector later?

On the **Connectors** page, select the connector's name to open its page. On the **Settings** tab, an external MQTT connector shows **Edit external MQTT connector**, the same form with the saved values. **Save** replaces **Add connector**. You can rename the connector or change the transport without re-entering a password, token or key, and a stored secret shows only as saved, never as text. Two exceptions apply:

* Changing the address, SNI, CA certificate, encryption or the authentication method while a secret is stored makes the red message above appear, and you enter the credentials again.
* On **Certification** you can replace just the client certificate or just the private key. The half you do not pick stays as it was.

A saved CA certificate shows as **CA Certificate — saved** with a trash button. Select it to remove the certificate, or pick a new file to replace it.

## How Do I Verify That the MQTT Connection Works?

End-to-end reachability is confirmed only by an actual publish landing in the platform. After saving the connector:

1. Publish a test message to your broker on any topic the connector subscribes to.
2. Open the **Connectors** list in Kilo, or the connector's **Diagnostics** tab.
3. Confirm **Last data received** updates within a few seconds, or that the message appears under **Incoming**.

A simple one-shot test from a host that can reach the broker:

```bash
mosquitto_pub \
  -h broker.facility.example.com -p 8883 \
  --cafile /path/to/ca.crt \
  -u {username} -P {password} \
  -t "test/connectivity" \
  -m '{"hello":"world"}'
```

(Substitute scheme/port and credentials for your broker's authentication method.)

If **Last data received** does not update after a successful local publish, see [Troubleshooting](/connectors/mqtt-connector/troubleshooting). The most common causes are firewall rules between the platform's egress and your broker, IP-allowlist mismatches, expired tunneling sessions when using ngrok for testing, or wrong TLS configuration on the broker side.

## How Do I Run a Self-Hosted Mosquitto Broker for Testing?

For deployments that need a quick reference for setting up a self-hosted Mosquitto broker for testing or pilot purposes, the minimal Docker compose looks like:

```yaml
services:
  mosquitto:
    image: eclipse-mosquitto:2
    container_name: mosquitto
    restart: unless-stopped
    ports:
      - "1883:1883"
    volumes:
      - ./mosquitto/config:/mosquitto/config
      - ./mosquitto/data:/mosquitto/data
```

`mosquitto.conf`:

```
listener 1883
allow_anonymous false
password_file /mosquitto/config/passwd
persistence true
persistence_location /mosquitto/data/
log_dest stdout
```

Two operational notes:

* **`log_dest stdout`** is preferred over file-based logging in containerized deployments. Bind-mounted log directories often fail under SELinux/AppArmor or due to ownership mismatches; container stdout is collected by the Docker logging driver.
* **Port 1883 conflicts.** On developer or shared infrastructure, port 1883 may already be bound (e.g. a kubectl port-forward, another local broker). `ss -tlnp \| grep 1883` identifies the binding process. Remap the host-side port (e.g. `"1885:1883"`) and forward the new host port instead — the container internal port can remain 1883 for in-network publishers.

For TLS termination, a separate reverse-proxy or Mosquitto's native TLS configuration (out of scope here — see Mosquitto documentation) is required before public exposure.

## How Many External MQTT Connectors Can I Add?

The platform allows up to 10 External MQTT connectors per organization. If you need more broker integrations than that, contact support while you plan the deployment.

For the device-level setup, follow [MQTT Devices](/devices/mqtt-devices). It covers the physical identifier, connection fields, measurement mapping and checking retained history.


# How Does MQTT Topic and Device Routing Work?

Configure Kilo MQTT topic segments, payload identifiers, topic-value extraction and measurement mapping, with examples and validation.

MQTT routing identifies which digital device a message belongs to and which readings it contains. A **topic** is the message's named channel; the **payload** is its content. Configure routing on the device's **Connection** tab, then connect received fields to measurement templates on **Mapping**.

For a complete first-device walkthrough, start with [MQTT Devices](/devices/mqtt-devices). This reference covers the routing controls, including payload-based identifiers and readings carried inside topic names. Broker setup remains in [Cloud MQTT](/connectors/mqtt-connector/cloud-mqtt) and [External MQTT](/connectors/mqtt-connector/external-mqtt).

## What does the MQTT topic look like on the platform?

For Cloud MQTT, the publisher's full topic begins with the connection's **Topic prefix**, such as `iot/{org}/{connection}`. The editor displays that prefix as a locked leading segment; configure the device-level pattern after it. Do not type the prefix twice.

For External MQTT, there is no Cloud prefix to add. Build a pattern matching the topic the equipment publishes to your own broker. For example, `meters/EM-4492/data` matches `meters/{{deviceId}}/data` with Device ID `EM-4492`.

The read-only **Resolved preview** includes the Cloud prefix when applicable and substitutes the entered Device ID. It is a preview of the pattern, not evidence that a message arrived.

## How do I build the device ID topic?

**MQTT Topic for device ID** is a segment builder on **Connection**. A slash separates each segment.

| Control                | Behavior                                                                                                                                               |
| ---------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ |
| **+ → Text segment**   | Add a literal topic component, such as `meters`, `zigbee2mqtt`, or `data`. Type it exactly as the publisher sends it.                                  |
| **+ → Device ID**      | Add the identifier position. The builder permits one Device ID segment; the add option is unavailable when one is already present.                     |
| Drag handle            | Reorder segments to match the topic. For example, move Device ID between `meters` and `data`.                                                          |
| Segment remove control | Remove editable text segments. The Device ID segment is locked in Topic mode; switch to Payload mode to remove it when changing the identifier source. |
| Locked prefix          | Cloud MQTT's connection prefix; it cannot be edited or removed here.                                                                                   |
| **Resolved preview**   | Shows the resulting topic using the entered identifier. A value placeholder in telemetry patterns is displayed as `value`, not as a real reading.      |

Use `{{deviceId}}` as the identifier placeholder when reading a serialized pattern in these examples. It is not a literal device name. Topic templates are case-sensitive; matching requires the expected segments and positions. Telemetry templates reject `#`, unknown placeholders and unclosed placeholders. The two recognized placeholders are `{{deviceId}}` and `{{value}}`.

## How do I read the device ID from the payload?

**Where to get the device ID** offers **Topic** and **Payload**. Topic is the initial choice and extracts the Device ID segment. Payload mode reads the identifier from JSON instead:

1. Choose **Payload**.
2. Build the message topic without a Device ID segment, for example `building/readings`.
3. In **Payload template**, enter a dot-separated path, such as `deviceInfo.deviceId`.
4. Check **Payload preview**, which illustrates the JSON object around that path.
5. Set the device's **Device ID** to the value carried at that path and save.

For example, this message on `building/readings` identifies device `room-1`:

```json
{"deviceInfo": {"deviceId": "room-1"}, "temperature": 21.4}
```

The topic must be non-empty in either mode. Payload mode needs the payload path; its topic patterns must omit the Device ID placeholder. When changing modes, update both the selector and the segments so they agree. Topic mode instead needs the Device ID placeholder in the device pattern and every configured telemetry row.

## Why must the device ID match the extracted topic segment exactly?

**Device ID** accepts 1–64 characters: ASCII letters, digits, spaces, periods, underscores and hyphens. MQTT IDs preserve their case and spaces. Use the same identifier on the publishing side and in the platform. `room-1` and `Room-1` do not match.

For Zigbee2MQTT, use the device's friendly name. A simple name such as `LivingRoomSensor` is convenient. If the physical identity needs changing after binding, follow [device replacement](/devices/device-management) on the same twin rather than deleting the twin and its measurement associations.

## How do I configure Topic Telemetry? <a href="#topic-telemetry" id="topic-telemetry"></a>

### When to configure telemetry topics <a href="#telemetry-topics-when-to-configure-them" id="telemetry-topics-when-to-configure-them"></a>

Leave **Topic Telemetry** empty when a message carries its measurements in JSON. For example, `{"temperature":21.4,"battery":92}` provides the data keys `temperature` and `battery`. Nested objects produce dot-separated paths: `{"vibration":{"rms":0.42}}` provides `vibration.rms`.

Use the topic telemetry editor when the **value itself appears in a topic segment**. For example, the publisher sends on `meters/EM-4492/voltage/230.5`:

| Row field or action          | How it works                                                                                                                                                                                                                                                                                                                                 |
| ---------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Add new topic**            | Adds a row with a pinned **value** segment. Add text/Device ID segments to match the publisher.                                                                                                                                                                                                                                              |
| **MQTT Topic for telemetry** | For this example, build `meters/{{deviceId}}/voltage/{{value}}`. The value segment identifies the reading `230.5`; it is not the word `voltage`.                                                                                                                                                                                             |
| **value** segment            | Optional. A caption under the row tells you which mode it is in: **The value is read from the value segment of the topic**, or **No value segment: the value is read from the message payload**. Reposition the segment to match the publisher's topic, remove it when the reading travels in the message body, and add it back at any time. |
| **Device data key**          | Required on every telemetry row, with or without a value segment (a row missing its key shows **Device data key is required** and cannot be saved). Enter the name under which the reading should appear, such as `voltage`. Map this key to a measurement on **Mapping**.                                                                   |
| Row remove control           | Removes that telemetry rule from the edited configuration. Save to apply the removal.                                                                                                                                                                                                                                                        |
| **Apply all**                | Replaces every existing row's topic pattern with the device-ID topic plus a value segment, unless that pattern already contains one. It preserves the rows' data-key names. Review each row afterward and restore different literal segments such as `voltage` or `current` where needed. It does not create rows or save the device.        |

Some equipment publishes one reading per topic and puts the value in the message body instead, for example a controller that sends `device/260/ap/5/upload` with the body `0`. For that case, build the topic without a value segment and give the row a data key such as `outlet_state`. Kilo then stores the message body under that key. Before this was optional, such devices could not be set up in the web interface, and opening and saving one configured elsewhere could silently break its telemetry; now stored patterns are shown exactly as they are saved.

In Payload identifier mode, telemetry rows omit Device ID and the message must still contain the identifier at the configured JSON path. A matching topic value takes precedence over a payload field with the same key.

The incoming parser can also accept JSON fields or raw payload data; that does not mean the topic editor exposes every possible protocol format. For plain non-JSON messages without a telemetry extraction row, inspect the incoming `raw` key and map it only when it represents the value you need. Binary vendor formats need an appropriate upstream conversion; recognizing a topic hierarchy alone does not decode Sparkplug or other binary payloads.

## What is the difference between the Connection and Mapping tabs? <a href="#connection-and-mapping-tabs" id="connection-and-mapping-tabs"></a>

**Connection** contains topic routing and identity. **Mapping** contains measurement rows. These are separate device tabs. Saving a matching topic pattern does not automatically create every measurement in the received message.

After changing routing, click the device's **Save** button. Segment previews and **Apply all** only update the form. Empty telemetry rows are not a substitute for a complete value-extraction rule: fill its pattern and data key or remove the row. Read-only users cannot change routing.

## Why is the Device data key dropdown empty at first?

The **Device data key** dropdown lists incoming fields received for the bound source. Save the connection, let a message arrive, then complete the mappings and save again. If you created template rows before the first message, retain those rows and fill their data keys once available.

See [MQTT Devices](/devices/mqtt-devices#map-messages-to-retained-measurements) for the walkthrough and [mapping controls](/devices/device-management#metrics-tab) for every column and action.

## What does the Data type column do in the MQTT mapping? <a href="#mapping-data-type" id="mapping-data-type"></a>

The device-mapping form offers **Telemetry**. Use it for measurements and reported states that you want to record. The broader metric catalog's metadata/attribute categories are not additional choices in this mapping form. **Data type** is separate from the template's value **Type**.

## Which metric Type fits each incoming MQTT value? <a href="#payload-type-metric-type-translation" id="payload-type-metric-type-translation"></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                   |

A Zigbee2MQTT feature described as binary can publish either booleans or configured string values. Inspect the actual payload rather than assigning a type from the feature category alone. Numeric strings can be converted to numeric templates; integer conversion truncates decimal values toward zero. Boolean conversion accepts true/false and 0/1 forms, but not `"ON"`/`"OFF"`. Incompatible readings are rejected individually, not stored as nulls. See [metric conversion rules](/devices/metric-templates).

## Why does the Value column update but the Logs tab stay empty?

**Value** and **Last update** show the latest received field snapshot. **Logs** shows recorded measurements after valid mappings are saved. Allow a fresh message after mapping; earlier messages are not retroactively normalized.

MQTT history uses the time the platform receives the message. Fields named `timestamp`, `ts`, or `time` remain ordinary payload fields; they do not backdate the stored measurement. Buffered messages received after a disconnection therefore are not automatically placed at their original device time.

### How do I refine MQTT mapping after data arrives?

Return to **Mapping** when firmware or requirements change. Inspect new keys, add the needed templates, select compatible types, save and allow a fresh publish. Keep existing measurement rows when replacing hardware so the twin retains their 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.


# How to Troubleshoot MQTT Connection and Data Problems

Troubleshoot MQTT integrations by failure phase — broker connection, TLS, authentication, topic routing, Last data.

Diagnostic recipes for MQTT integrations on the Kilo IoT Server, organized by where the failure surfaces. Work through these in order — most issues fall into one of the first three phases, and the diagnostic sequence narrows the root cause efficiently.

Before working through the phases below, let the platform tell you which one you are in. A single silent device reports its own state on its **Connection** tab — whether the broker is reachable, whether a publish arrived on an unexpected topic, and whether its values were stored; see [Device Diagnostics](/devices/device-diagnostics). When several devices go quiet at once, open the connector from the Connectors list and select its **Diagnostics** tab (MQTT connectors only; opening a connector right after you add it lands here). Three stacked sections appear: **Connection** shows whether the broker link is healthy, with a title and detail line; **Incoming** describes what is arriving, and lists unmatched topics with a count (**seen**) and last-seen time when the connector is still discovering; **Activity** is a timestamped list of recent events, or **No activity yet**. If the panel cannot load it says **Diagnostics unavailable**. That reading usually points straight at the phase to start from.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-75962349d5b88a1ca37a4962d28169765ae1fad9%2Fconnector-mqtt-diagnostics.jpg?alt=media" alt="The Diagnostics tab of an MQTT connector showing the Connection, Incoming and Activity sections before any device has published"><figcaption></figcaption></figure>

## Why Can't My Device Connect to the MQTT Broker?

**Symptom:** the publisher (an edge gateway, a Zigbee2MQTT instance, custom firmware) reports it cannot connect to the broker. **Last data received** (in the Connectors list) never updates.

| Failure pattern                                                        | Root cause                                                                    | Resolution                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| ---------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `connection refused` / `network unreachable` (Cloud MQTT)              | Wrong host, port, or scheme                                                   | Verify the publisher uses `mqtts://` on port 1884 — not the default 1883. Re-copy the Broker URL from the connector's Settings tab.                                                                                                                                                                                                                                                                                                                                                                                  |
| `connection refused` / `network unreachable` (External MQTT)           | Network reachability                                                          | The platform connects out to your broker. Verify the broker is reachable from the public internet (DDNS hostname resolves, port forward active, firewall allows the platform's egress range).                                                                                                                                                                                                                                                                                                                        |
| `bad TLS handshake` / `certificate verify failed`                      | TLS configuration                                                             | For Cloud MQTT, the certificate is publicly-trusted — verify the publisher uses the system CA store. For External MQTT, verify CA Certificate, Client Certificate, and Private Key files were uploaded as separate files (not pasted PEM content), and that the Private Key is a plain key file without a passphrase. If the broker's certificate names a different host than the URL, set **Server name (SNI)** to the name on the certificate; if a private CA signed it, upload that CA under **CA Certificate**. |
| Broker closes the connection immediately after connect (External MQTT) | Protocol version mismatch, or the broker's access rules reject the connection | Set **MQTT version** to the version the broker supports (older brokers often need **3.1.1**), and check the broker's access rules for the account Kilo signs in with.                                                                                                                                                                                                                                                                                                                                                |
| `authentication failed` / `not authorized`                             | Wrong credentials                                                             | Re-verify Username and Password. For Cloud MQTT, if the password was lost, rotate from the connector settings (the original is not retrievable). For Basic auth on External MQTT, check the broker's password file is correct.                                                                                                                                                                                                                                                                                       |
| `auth failed (JWT)`                                                    | Token issues                                                                  | Verify the JWT is valid (not expired), signed with the correct key for the broker's validator, and has the required claims (subject, topic permissions).                                                                                                                                                                                                                                                                                                                                                             |

If your own broker restarts or the network drops for a short time, the External MQTT connection recovers by itself: Kilo reconnects and re-subscribes to your **Topics to read** without any action on your side. Check **Last data received** after the broker is back before assuming anything is wrong.

For Z2M-bridged setups specifically, the Z2M log shows the connection state explicitly:

```
docker compose logs zigbee2mqtt | grep -E "Connecting|Connected|MQTT|Error"
```

`Connected to MQTT server` confirms the publisher side. Absence of that line indicates a Phase 1 failure regardless of what the platform shows.

## Why Does Last Data Received Not Update After a Successful Connection?

**Symptom:** the publisher reports a successful broker connection. Logs show successful publishes. **Last data received** in the Connectors list remains empty.

For Cloud MQTT, this is a topic-prefix mismatch. Every published topic must begin with the connector's Topic prefix exactly. Verify:

* The publisher's topic configuration uses the **full** Topic prefix from the connector page (typically `iot/{org}/{connection}`).
* For Z2M, `mqtt.base_topic` in `configuration.yaml` is `{Topic prefix}/zigbee2mqtt`.
* For custom firmware, every publish call prepends the prefix.

For External MQTT, this is a reachability or subscription mismatch:

* Run a one-shot test publish from a host that can reach your broker:

  ```bash
  mosquitto_pub -h {broker-host} -p {port} \
    --cafile {ca-bundle} \
    -u {username} -P {password} \
    -t "test/connectivity" -m '{"hello":"world"}'
  ```

  If **Last data received** still does not update, the platform cannot reach your broker. Investigate firewall rules, IP allowlists, or expired tunneling sessions when using ngrok for testing.
* For brokers behind NAT with port forwarding, verify the external port is open and forwarded to the broker's host port. Common misconfigurations include forwarding to the wrong host IP, blocking the source IP, or having a firewall rule that supersedes the port forward.

## Why Is the Device Mapping Tab Empty When Data Is Arriving?

**Symptom:** the connector receives messages (Last data received is current), but a registered device's Mapping tab Value column shows nothing.

Two causes are common:

* **The device ID topic pattern does not match the publishing topic.** Verify the pattern by comparing it character for character to a topic from the publisher's logs. Common mistakes: leading slash, missing intermediate segments, mismatched case, mismatched plurality (`meter` vs `meters`).
* **Device ID differs from the publisher’s identifier.** Compare the configured ID with the actual topic segment or payload field, including case and spaces. MQTT IDs preserve both. Keep the existing twin when replacing a bound identity: see [MQTT Devices](/devices/mqtt-devices).

To verify what the publisher is actually sending:

```bash
# For Z2M:
docker compose logs zigbee2mqtt | grep "MQTT publish" | grep -v bridge | tail -5

# For other gateways: subscribe directly to the broker
mosquitto_sub -h {broker} -p {port} -t '#' -v
```

The topic shown in those output lines is the topic your device ID topic pattern and device ID need to match against.

## Why Is the Logs Tab Empty While the Mapping Tab Shows Values?

**Symptom:** Open a registered device. Mapping tab shows live values and Last update timestamps. Logs tab is empty.

This is the most common operational confusion when commissioning a new MQTT device. The two tabs read from different stores:

* **Mapping tab Value column** = live snapshot of the most recent payload. Updates on every accepted publish, regardless of whether Device data keys are populated.
* **Logs tab** = per-sensor history, populated only by publishes received *after* Device data keys are saved.

If the most recent publish arrived before Device data keys were saved, that publish never reaches Logs. Older publishes are not retroactively normalized.

Resolution: generate a fresh publish after saving Device data keys. Methods:

* **Wait for the device's next scheduled report** — for sensors on a periodic publish cadence.
* **Trigger a state change at the device** — for actuators with COV-on-state-change semantics.
* **Issue a poll request from the gateway** — for gateways with a `/get`-style read-poll mechanism.
* **Send a test publish from the broker side** — for development scenarios, `mosquitto_pub` to the device's topic with a representative payload.

After at least one publish arrives post-save, the Logs tab populates and continues to receive subsequent traffic.

## Why Are MQTT Readings Rejected During Normalization?

**Symptom:** An incoming key has a value, but its mapped measurement does not receive a fresh history entry.

Check the template's Type against the actual value. For example, `"ON"`/`"OFF"` need String, not Boolean. Incompatible readings are rejected for that measurement; they are not stored as null values. Check device diagnostics for the reason. If changing a template, review the effect on measurement identity first; replacing a template is not the same as correcting the incoming key.

## Why Do Two MQTT Devices Show Each Other's Values?

**Symptom:** two device records appear to receive each other's telemetry, or a single device shows alternating values from different sources.

This is a device ID topic collision. If two devices publish to topics that both match a single topic pattern at different `{{deviceId}}` values, but the device ID on one record matches both, both publishes route to that record.

Verify:

* Each device record has a unique Device ID.
* Publishing-side topics produce unique values at the `{{deviceId}}` placeholder position.
* No publisher is misconfigured to publish under another device's identifier.

## How Do I Reset Cloud MQTT Credentials?

When a credential needs to be rotated:

1. Open the connector from the Connectors list (the **Settings** tab).
2. In edit mode, regenerate the password.
3. Capture the new password immediately; the original is not retrievable after regeneration.
4. Update every publishing client (firmware configuration, Z2M `configuration.yaml`, edge gateway configuration) with the new password.
5. Restart publishers to pick up the rotation.

The username and Topic prefix do not change on rotation.

## How Do I Change External MQTT Credentials?

For Basic auth, change the password on the broker side and update the connector's authentication configuration. For Certification (TLS client cert), reissue the client certificate and re-upload. For JWT, regenerate the token and update the connector. Then open the connector on the **Settings** tab and enter the new credential. A stored secret shows only as saved, never as text, and changing the address, encryption or authentication method asks you to re-enter it (see [External MQTT](/connectors/mqtt-connector/external-mqtt#how-do-i-change-an-external-mqtt-connector-later)). Change the credential on the broker first, so the connector never holds one the broker rejects.

## Where Can I Get More MQTT Help?

* [Topics and device routing](/connectors/mqtt-connector/topics-and-device-routing) — for routing configuration details.
* [External MQTT](/connectors/mqtt-connector/external-mqtt) — for broker-side configuration of self-hosted brokers.
* [MQTT Edge Gateways](/gateways/mqtt-edge-gateways) — for industrial edge-gateway integration patterns (under Gateways).


# Emulator Connector

The Emulator connector generates device data in Kilo IoT, so you can build and test a full deployment before any hardware arrives.

The Emulator connector lets you run the Kilo IoT Server with **no hardware at all**. Devices bound to it generate their own telemetry, so dashboards fill up, rules fire, and alarms escalate exactly as they will on site — while your sensors are still in a box, still on order, or still being specified.

Then comes the part that makes it more than a demo: **when the real device arrives, you point the same device at a real connector and keep everything you built.** The dashboards, the rules, the thresholds and the escalation chains stay exactly as they are. Only the source of the data changes.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-928657ca903ee1870f4d8a1fa155f9cfe5779c68%2Femulator-connector-list.jpg?alt=media" alt="The Connectors page showing an Emulator connector alongside a Mioty connector"><figcaption></figcaption></figure>

## What the Emulator is for

Three situations where it changes how a project runs:

* **Evaluating the platform.** See your use case working — a cold room breaching its limit, an escalation chain reaching a phone — before committing to hardware.
* **Building ahead of delivery.** Sensor lead times are measured in weeks. The configuration work does not have to wait for them: build the deployment now, and go live the day the hardware lands.
* **Testing what you cannot easily reproduce.** Freezer failures, tank run-dry, a value that only misbehaves at −30 °C. You can produce the exact reading that should trigger an alarm, on demand, instead of waiting for it to happen for real.

## Adding the connector

Go to **Connectors → Add connector**, choose **Emulator**, and save. That is the entire setup.

The Emulator connector has **no settings to configure** — no credentials, no endpoint, no certificates. It exists purely so devices have something to bind to, and there is one per organization.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-7f20581d4cde13a1fa38aa62d07f365fb5ff96e6%2Femulator-connector-settings.jpg?alt=media" alt="The Emulator connector page confirming it has no editable settings"><figcaption></figcaption></figure>

## Working with emulated devices

Everything else happens on the device, not here. Once the connector exists, you bind a device to it from the device's **Connection** tab, choose what it measures — by hand or from a device preset — set how often it reports, and drive its values from the device's **Emulator** tab.

**See** [**Emulated Devices**](/devices/emulated-devices) for the full workflow: the device fields, presets, data types, sending values on demand, running commands against an emulated device, cloning one, and the swap to real hardware when it arrives.

## What's next

* **Create your first emulated device.** See [Emulated Devices](/devices/emulated-devices).
* **Build automations against emulated data** so they are proven before go-live. See [Rules Engine](/rules-engine).
* **Rehearse an escalation chain** without waiting for a real failure. See [Alarms](/alarm).
* **Have the assistant do it for you** in plain language. See [Building with AI](/ai-assistant/building-with-ai).


# Devices

Understand IoT digital twins in Kilo: connect hardware, replace sensors, and keep an asset's measurement history together.

A **Digital Twin** in Kilo IoT Server is a persistent digital device representing something you monitor or control: a refrigerator, a pump, a vehicle, or an individual sensor. Its name, measurements, history, and configuration belong to that digital record. Physical hardware supplies the readings through a connector and can be replaced without creating a new twin.

This is useful whenever the equipment you care about lasts longer than the sensor measuring it. A refrigeration operator needs the temperature record for **Refrigerator 1**, even after its original probe is replaced. Building the monitoring around the refrigerator's twin keeps that record together across hardware changes.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-eaeba72c93f4e732f1a3607c8462b587ca1b73a5%2Fdeviceslist.jpg?alt=media" alt="Kilo Devices list showing the digital devices in a deployment"><figcaption><p>Each entry is a digital device with its own identity, configuration, and measurements.</p></figcaption></figure>

## What does the Devices page show?

Open **Devices** in the main menu.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-40e5a8c66ca09f9c2d2ea7f1617e6cc468fb9828%2Fkilo-devices-list.jpg?alt=media" alt="The Devices page with a Search by name box, Metrics and Add device buttons, and a table of devices with Status and Creation date columns and Edit, Clone, and Delete buttons on each row"><figcaption><p>The Devices page in a demo organization. A green dot and a time such as "4 mins ago" mean the device reported recently.</p></figcaption></figure>

* **Add device** (top right) starts the registration flow for a new device. See [Registering Devices](/devices/registering-devices).
* **Metrics** opens the shared metric catalog. See [Metrics](/devices/metric-templates).
* **Search by name** filters the list as you type.
* The **Device name** and **Creation date** headers sort the table. The **Status** column shows when each device last reported; the time and the dot update on their own while the page is open, so you do not need to refresh.
* **Edit** opens the device editor (see [Emulated Devices](/devices/emulated-devices#what-does-each-tab-of-the-device-editor-show) for a tour of its tabs), **Clone** creates a copy, and **Delete** removes the device after a confirmation.

## How an IoT digital twin connects to hardware

Three parts work together:

| Part             | What it represents                                          | Refrigerator example                                   |
| ---------------- | ----------------------------------------------------------- | ------------------------------------------------------ |
| Digital device   | The lasting record of the monitored object                  | Refrigerator 1, with its name, photo, and measurements |
| Connected source | The hardware or emulator supplying data through a connector | A LoRaWAN temperature probe                            |
| Measurements     | The readings mapped onto the twin                           | Temperature in °C and the probe's battery level        |

A digital device has one connected source at a time. That source can provide several measurements. Supported source types include LoRaWAN, MIOTY, MQTT-connected equipment, vehicle trackers, and the Emulator. A protocol adapter can bring other equipment in through MQTT; the connector must receive a supported payload and the readings must be mapped.

A **metric template** defines what a measurement means, including its unit and value type. A **connector key** is the field name arriving from the source. Mapping connects the two, so a probe reporting `temp_c` and its replacement reporting `temperature` can feed the same temperature measurement on the twin. See [Metrics](/devices/metric-templates).

## Replacing a refrigeration probe without starting over

Consider a pharmaceutical refrigerator whose probe is replaced after a failure or because it no longer meets the operator's calibration requirements:

1. Register a digital device named **Refrigerator 1** and connect the installed probe.
2. Map its temperature reading to a temperature metric in °C. Add a [chart](/dashboards/adding-widgets/chart-widget/line-chart) and configure an [alarm](/alarm) for the operating limits appropriate to the installation.
3. When the probe needs replacing, open **Refrigerator 1** and detach its physical device from the **Connection** tab.
4. Bind the replacement probe to that same digital device. Reconnect its incoming fields to the existing measurement rows.
5. Check the new values and timestamps, then review a history range spanning the replacement.

The refrigerator keeps its identity and existing measurement history. Dashboard and rule references to those retained measurements continue to refer to the same record. The new probe supplies future readings; it does not erase the old probe's readings or fill a gap when no probe was reporting.

Follow [Replace a physical sensor](/devices/device-management#replace-a-physical-sensor) for the detailed procedure. Keep the existing measurement rows when changing a source: deleting and recreating them is a different operation from remapping their incoming fields.

## Build around the asset's lifecycle

The same model supports more than replacement. Create the digital device before commissioning hardware, give it an asset-oriented name, and add a photo that helps the team recognize it. Use **Application** to associate it with the solution it belongs to. Use the [Emulator](/devices/emulated-devices) to prepare dashboards and automation with generated readings before connecting real equipment.

Once hardware reports, the twin's measurements can feed dashboards, alarm conditions, and rules. Where the hardware supports it, [commands](/devices/commands) also let users or rules request an action and check reported feedback. Replacing an actuator requires checking its command payloads and routing against the new model, even when the twin stays the same.

Across multiple refrigerators or sites, consistent metric definitions let the team compare the same kinds of readings while each asset keeps its own record.

## How long history is retained

History remains subject to the retention period included in your plan or agreed for your organization. Replacing a probe does not reset that period or extend the lifetime of older readings.

For longer-term refrigeration records or other compliance and operational needs, contact the team to discuss extended retention. See [Data retention](/settings/subscription#data-retention) for plan limits and the request route.

## Choose the source for your digital twin

| Source                           | Start here                                                                                          |
| -------------------------------- | --------------------------------------------------------------------------------------------------- |
| LoRaWAN sensor                   | [LoRaWAN Devices](/devices/lorawan-devices) — profiles, radio identity, decoding and first readings |
| MQTT publisher or bridged sensor | [MQTT Devices](/devices/mqtt-devices) — connect messages to a twin and its measurements             |
| GPS tracker                      | [Tracker Connector](/connectors/tracker-connector) — tracker identity, model and reporting endpoint |
| MIOTY endpoint                   | [MIOTY Devices](/devices/mioty-devices) — endpoint configuration and blueprint decoding             |
| Generated readings               | [Emulated Devices](/devices/emulated-devices) — prepare a deployment before hardware arrives        |

## In this section

* [Registering Devices](/devices/registering-devices) — the shared registration flow, and the fields each connector type asks for.
* [Device Management](/devices/device-management) — replace a physical sensor while keeping its twin, manage mappings, and review history.
* [Device Diagnostics](/devices/device-diagnostics) — why a device is silent: reception status, pipeline, and the event feed.
* [Metrics](/devices/metric-templates) — units, metric keys and templates that normalize raw sensor data across manufacturers.
* [Payload Decoding and Connector Keys](/devices/payload-decoding) — see which fields a device reports and what values they carry.
* [MIOTY Devices](/devices/mioty-devices) and [MIOTY Blueprints](/devices/mioty-blueprints) — commissioning MIOTY endpoints and decoding their payloads.
* [Emulated Devices](/devices/emulated-devices) — devices that generate their own data, so you can build before the hardware arrives.
* [Device Commands](/devices/commands) — defining, confirming and dispatching the actions a device can perform.


# Registering Devices

Register a device in Kilo IoT Server through an LNS, MIOTY, Tracker, MQTT, or Emulator connector and map its metrics.

Registration creates a **Digital Twin**: the lasting digital record of the asset or monitoring point you want to follow. For example, create **Refrigerator 1**, then connect the temperature probe installed inside it. The probe supplies data; the refrigerator's digital record keeps its identity when that probe changes.

Create the name and optional photo first, then configure the connection and measurements. You can create the record before binding hardware, or use the [Emulator](/devices/emulated-devices) to generate readings while preparing the deployment. See [Devices](/devices) for how digital twins, sources, and measurements fit together.

If you are replacing hardware on an existing asset, use [Device Management](/devices/device-management#replace-a-physical-sensor) instead of registering a new twin.

## Prerequisites

Before registering a device, you need:

* **A connector** — at least one LNS, Mioty, Tracker, MQTT (Cloud or External) or Emulator connector must be set up. See [Connectors](/connectors) and the [MQTT Connector](/connectors/mqtt-connector) documentation.
* **Device identifiers** — for LoRaWAN devices: the Device EUI and AppKey (typically printed on the device or its packaging). For MIOTY endpoints: the End Point EUI and Network Session Key. For tracker devices: the Unique ID provided by the manufacturer. For MQTT devices: the device-level topic segment the device publishes under, used as the Device ID on the device record; it must match the published segment exactly, including case and spaces. **Emulated devices need none of this** — you choose the Device ID yourself.
* **For MQTT devices only — the device must be publishing before mapping can be completed.** The Device data key dropdown in the Mapping tab populates from payload keys actually received from the device. See the [MQTT-specific behavior section](#mqtt-specific-behavior) below for the two-pass workflow.

## Where to start

There are two entry points for device registration — both open the same device form:

1. **Devices** — Click **Devices** in the sidebar. This page shows all devices across all connectors. Click **Add device** in the top-right corner.
2. **Connector row action** — From the **Connectors** page, click the **+ Add device** button on any connector row. The page opens with that connector pre-selected.

The device form is laid out for small screens as well as desktop, so you can register hardware from a phone while standing at the installation point.

## Phase 1 — Create the device profile

The form opens in **Add device** mode, showing only the **Device info** section. No tabs or navigation are visible yet — the first step is simply to identify the device.

* **Device photos** — Optionally upload photos of the physical device for visual identification.
* **Device name** — Enter a descriptive name (required). Use a naming convention that scales across your deployment — for example, including the location or device type in the name.

Click **Save**. The Digital Twin is created with just the name and optional photo. The form automatically transitions to edit mode.

For an asset that will outlast its sensor, use the asset's name here. Keep the probe's hardware identifier in **Connection**. This makes it clear which identity should remain when you replace the probe.

## Phase 2 — Configure connection, metrics, and logs

After the first save, the device form shows **Device info**, **Connection**, **Mapping** and **Logs** tabs, and a **Next** button for navigating between them. This is where you bind the device to a connector and configure its data. Two more tabs appear when they apply: **Commands & States** on a device that can receive downlinks, and **Emulator** on a device bound to the Emulator connector.

### Connection tab

This tab binds the Digital Twin to the device that feeds it through a connector. The dropdown lists the connectors your organization actually has, by name and type, and the fields below it change to match the one you pick.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-0b1b2e7c7299f6756315a0c0b160108d1f843f07%2Fdevice-connector-type-list.jpg?alt=media" alt="The Connection tab of a device with the connector type dropdown open, listing the organization&#x27;s connectors by name and type"><figcaption></figcaption></figure>

#### For LoRaWAN devices (LNS connector)

Select the LNS connection and configure the sensor's Device EUI, AppKey, profile, codec and reporting interval. Follow [LoRaWAN Devices](/devices/lorawan-devices) for the complete field reference and commissioning procedure.

#### Add to Vault

Store the device's EUI/key pair separately in [Key Vault](/reports/key-vault). See [LoRaWAN identity and credentials](/devices/lorawan-devices#identity-and-credentials) for the device controls.

#### Code functions (codec)

The LoRaWAN codec translates binary uplinks into named fields. Templates can supply it; a custom profile needs a compatible codec. See [Templates and manual profiles](/devices/lorawan-devices#templates-and-manual-profiles).

#### Data sending interval

Tell the platform the reporting schedule configured on physical hardware. The initial value is 1 hour; select a positive whole number and minute/hour/day/week/month. This does not change the hardware's schedule. For an emulator, it instead controls generation; see [Emulated Devices](/devices/emulated-devices).

#### For vehicle trackers (Tracker connector)

1. **Connector type** — Select the Tracker connector from the dropdown.
2. **Unique ID** — Enter the tracker's unique device identifier.
3. **Device model** — Search and select from the tracker model library. Start typing to filter the list.
4. **Url for GPS tracker** — After selecting a model, a panel appears showing the endpoint URL. Click the copy button to copy it, then configure your tracker to send data to this URL.

#### For MQTT devices (Cloud or External MQTT)

Select your MQTT connection, enter the physical Device ID, and configure topic routing on **Connection**. Save and let a message arrive before completing **Mapping**. Follow [MQTT Devices](/devices/mqtt-devices) for the full workflow and [Topics and device routing](/connectors/mqtt-connector/topics-and-device-routing) for advanced options.

#### For MIOTY endpoints (Mioty connector)

Select the Mioty connector from the dropdown and the form presents the MIOTY parameter set — End Point EUI, short address, network session key and counters. These fields, their valid ranges and the blueprint that decodes the endpoint's payloads are documented in full on [MIOTY Devices](/devices/mioty-devices).

#### For emulated devices (Emulator connector)

Select the Emulator connector and the device generates its own telemetry instead of receiving it — no identifiers, no credentials, no hardware. You give it a Device ID, choose what it measures (by hand or from a device preset), and set how often it reports. An extra **Emulator** tab then lets you drive its values directly.

This is how you build a deployment before the sensors arrive, and swap the same device onto real hardware when they do. See [Emulated Devices](/devices/emulated-devices).

### Mapping tab

See [mapping controls](/devices/device-management#metrics-tab) for every column, inline metric creation, and immediate template-change/removal behavior.

This tab maps the device's raw sensor data to normalized measurement definitions. A LoRaWAN profile supplies the network configuration and codec. Add the measurement templates you need, then map their incoming connector keys after the source reports.

#### Connector keys — see what the device sends

Once the device is connected and transmitting, the Mapping tab displays a **connector keys table** showing every field in the device's raw payload. Each row shows the field name (exactly as the device sends it — e.g., `t`, `temp1`, `humidity_pct`), its current value, and the last update timestamp. This is the live payload from the device, updated in real time.

Come back to this table whenever you need to know what a device reports and in what form — writing a rule condition, or setting the expected value on a command. See [Payload Decoding and Connector Keys](/devices/payload-decoding).

#### Mapping raw fields to metric templates

This is where you turn cryptic device output into meaningful, labeled measurements. When you map a raw connector key (like `t`) to a metric template (like "Temperature", unit: °C, type: Float), you are giving that raw field a human-readable identity. From that point on, dashboards, automation rules, alerts, and historical queries all display "Temperature (°C)" — not the raw field name the device firmware sends.

To normalize a raw field:

1. **Add a metric** — Click **Add key** and select a metric template from the dropdown (e.g., "Temperature", unit: °C, type: Float). The Unit, Type, and Data type columns auto-fill from the template. If the template you need does not exist, create one in [Metrics](/devices/metric-templates) first.
2. **Select the connector key** — In the **Device data key** dropdown for that metric, choose the raw field name that corresponds to this measurement (e.g., select `t` for a device that sends temperature as `t`).
3. **Save** — The mapping takes effect immediately. Normalized data flows through dashboards, automation rules, alarm evaluations, and historical queries.

If the Connector key is not filled in, the data for that metric will be ignored.

Repeat for each measurement the device reports. Multiple metrics can be mapped in a single session.

#### Any device, any payload format

A device does not need a library preset to supply measurements. It does need a compatible connector and decoding path: a LoRaWAN codec, a supported MQTT message shape, or the appropriate adapter. Once named fields arrive, map the readings you need. See [LoRaWAN Devices](/devices/lorawan-devices) and [MQTT Devices](/devices/mqtt-devices).

#### MQTT-specific behavior

Save the connection and routing, wait for a received message, then select its **Device data key** for each measurement and save. A fresh message after mapping starts recording history; old messages are not backfilled. See [MQTT Devices](/devices/mqtt-devices#map-messages-to-retained-measurements).

### Logs tab

The Logs tab is initially empty. After the device begins sending data, this tab displays retained measurement values and timestamps.

Click **Save** again to persist the connection and metrics configuration.

If **Save** is unavailable, check your device-edit permission, required fields, and subscription status. Creating an additional digital device also requires capacity in the plan. An existing twin can be saved before attaching hardware.

## After saving

The device appears in the device lists across the server — in the connector's device table, in Devices, and in any dashboards or automation rules that reference it.

For LoRaWAN devices, data begins flowing once the physical device sends a join request and the server accepts it. For tracker devices, data begins flowing once the tracker starts sending data to the configured URL endpoint.

Registering a device here does not make it join. A LoRaWAN device joins one network at a time, so a unit that was previously commissioned elsewhere — returned from another site, bought used, or run on a different platform — stays joined to that network until it is reset and sends a fresh join request. Factory-fresh hardware joins on its own; anything with a history usually needs a reset first. See [Before anything arrives: joining the network](/devices/device-diagnostics#before-anything-arrives-joining-the-network).

If the device is registered but no data is arriving, open its **Connection** tab and read the reception status — it reports whether the device has reached the network, whether messages are being received, and whether the values in them are being stored, with the specific next step for each case. See [Device Diagnostics](/devices/device-diagnostics).

## What's next

* **Configure metric templates** before or after registration to control how raw data is normalized. See [Metrics](/devices/metric-templates).
* **Edit device properties** at any time through the same dialog. See [Device Management](/devices/device-management).
* **Diagnose a silent device** from its Connection tab. See [Device Diagnostics](/devices/device-diagnostics).
* **Register a MIOTY endpoint** and its protocol-specific fields. See [MIOTY Devices](/devices/mioty-devices).
* **Start without hardware** and swap to the real device when it arrives. See [Emulated Devices](/devices/emulated-devices).

## Entering secret keys

The **AppKey** field reveals the value while you type. Leaving the field or pressing Enter masks it again; use the eye control when you need to inspect it. A key loaded from a QR code remains masked. Check the value without leaving it visible in screenshots or shared screens.


# Device Management

Manage a digital twin, replace its physical sensor, reconnect measurements, and review retained history in Kilo IoT Server.

A digital device is the lasting record of the asset or monitoring point you manage. Its physical source can change while the twin keeps its name, measurements, and stored history. Open the device to update its details, replace hardware, check incoming readings, or review history. For the full concept and refrigeration example, see [Devices](/devices).

## Opening a device's detail page

There are several ways to open the detail page for an existing device:

* **From Devices** — Click any device row in the **Devices** list in the sidebar. The device detail page opens showing that device's current state.
* **From a connector** — Open its connected-device list and select the existing device. **+ Add device** starts a new registration; it is not the replacement workflow.
* **Edit button** — Click the edit icon (pencil) on any device row to go directly to the device detail page.

## Replace a physical sensor

Use this procedure when the monitored asset stays the same but its hardware needs replacing. For example, keep **Refrigerator 1** when replacing a temperature probe that has failed or no longer meets your calibration requirements.

You need permission to edit devices, the replacement hardware's identifiers and connection settings, and access to the connector it will use. Record the existing measurement names, units, connector keys, and the time of the change. Arrange any necessary monitoring coverage during the replacement: the platform cannot record measurements that no device sends.

1. Open **Devices** and select the existing digital device, such as **Refrigerator 1**.
2. Check its measurement rows and recent **Logs**. Keep the temperature measurement that already contains the refrigerator's history.
3. Open **Connection**. For a bound LoRaWAN probe, click the X control labeled **Detach physical device** beside **Device EUI**. Detaching takes effect immediately; it is not deferred until the next **Save**. The digital device and its measurement channels remain, while the old physical binding and source mappings are removed.
4. Enter the replacement's **Device EUI**, **AppKey**, and matching device profile. Check its decoder and **Data sending interval**, then click **Save**. For another supported source type, use that connector's identifier and configuration fields.
5. Open **Mapping**. For each existing measurement, select the replacement's incoming **Connector key** and click **Save**. For example, change the source of the existing temperature measurement from `temp_c` to `temperature`. Check that the new value is in the same unit and format.
6. Wait for a new transmission. Confirm that **Value** and **Last update** change, and use the **Connection** diagnostics if they do not.
7. In **Logs**, choose a date range spanning the change. Check readings from before and after replacement, then check the dashboard and any rules using those measurements.

**Keep the existing measurement rows.** Change their connector keys instead of removing the rows and creating new ones. Stored history and dashboard/rule references belong to those measurements; reusing a name is not the same as retaining the original measurement.

Detaching hardware is also different from deleting the digital device. If a replacement fails to connect, keep the twin and use [Device Diagnostics](/devices/device-diagnostics) to check reception and mapping. Earlier readings remain subject to your [retention period](/settings/subscription#data-retention).

For an emulator-to-hardware change, use the dedicated [go-live workflow](/devices/emulated-devices#going-live-swapping-to-a-real-device), which changes the source without first detaching it.

## Swap between an emulator and hardware

**Swap connection** is available when there is an eligible connection involving the emulator: emulator to real hardware, or real hardware to emulator. It is not a physical-to-physical replacement control.

1. Open **Connection** and click **Swap connection**. The connection picker shows eligible destinations and unlocks the target identity fields.
2. Choose the destination, fill its required configuration, and review mappings and commands for the new source.
3. Click **Save** to apply the swap. **Cancel swap** exits swap editing before saving and restores the original connection fields.
4. Confirm the new source supplies the expected readings. Keep the retained measurement identities; generated readings and real readings both remain subject to the history retention period.

For one physical sensor replacing another, use **Detach physical device**, bind the replacement and restore its key mappings. Detach takes effect immediately; it does not wait for the page's Save button. It removes the physical binding and source mappings while retaining the twin and its measurement channels.

## Device info tab

The Device info tab contains the device's identity and visual reference:

* **Device photos** — Upload, replace, or remove photos of the asset or its hardware. A refrigerator photo can remain useful after its probe is replaced.
* **Device name** — Update the display name at any time. A consistent naming convention (e.g., including location or device type) helps when managing large fleets.
* **Application** — Choose the solution this device belongs to, or **Default** for no named application.

**Photo controls:** Use **Add photo** or drag PNG/JPG files onto the upload area. You can keep up to three photos; the UI recommends 5 MB per photo. The first photo is the cover. Use the remove control on a photo to remove it from the edited list, then save. The name is required; **Application** assigns the twin to a named setup, or **Default** leaves it outside a named application. Save profile changes before leaving the page.

## Connection tab

The Connection tab manages the twin's current data source. The source's hardware identifier belongs here; the asset's lasting name belongs in **Device info**. The available fields depend on the connector type.

### Connector selection

The **Connector type** dropdown shows available connectors in your organization. A link below the dropdown directs you to the [Connectors](/connectors) section if you need to add a new connector.

Changing the connector re-binds the device to a different data source, and is offered **only for pairs that involve the Emulator** — emulator to real, or real back to emulator. To replace one physical source with another, detach the old source and bind the replacement to this twin. See [Emulated Devices](/devices/emulated-devices#going-live-swapping-to-a-real-device).

### For LoRaWAN devices (LNS connector)

Follow [LoRaWAN Devices](/devices/lorawan-devices) for every identity, profile, codec and reporting-interval field. Existing physical identifiers are locked; detach before replacing hardware. Keep the same digital device and measurement rows, then restore the source-key mappings.

### For vehicle trackers (Tracker connector)

* **Unique ID** — The tracker's device identifier. Locked once bound.
* **Device model** — Search and select from the tracker model library.
* **Url for GPS tracker** — The endpoint URL displayed after selecting a model. Copy this URL and configure the physical tracker to send data to it.

## Mapping tab <a href="#metrics-tab" id="metrics-tab"></a>

The **Mapping** tab connects incoming data keys to retained measurement channels. Use the same measurement rows when a sensor is replaced: changing an incoming key is different from replacing the measurement itself.

| Column or control    | Purpose and configuration                                                                                                                                                                                                                                                                                                                           |
| -------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Device data key**  | Select a received source field, such as `temperature` or `vibration.rms`. This is the incoming connector key. Options appear after messages arrive; a blank choice records nothing for this measurement. Save changes to this key with **Save**.                                                                                                    |
| **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 defining the measurement. Only Telemetry templates are offered. A template already assigned to this device is disabled in the dropdown.                                                                                                                                                                                  |
| **Unit**             | The template's unit, shown for reference. Set or change it in [metric templates](/devices/metric-templates); the mapping does not perform unit conversion.                                                                                                                                                                                          |
| **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**          | Add a mapping row, then select a template and an incoming key.                                                                                                                                                                                                                                                                                      |
| **+ Add new metric** | Opens **Add Metric** from the Normalized key dropdown. Enter a non-empty **Normalized key**, choose **Type** (initially String), and keep **Data type** as Telemetry. **Add** creates the template and selects it; **Cancel** closes without creating it. This compact dialog has no unit selector; use the full metric catalog to configure units. |
| **Remove**           | Removes the row and its measurement assignment immediately on a saved device. This is not the procedure for changing hardware.                                                                                                                                                                                                                      |

Selecting a template adds its measurement immediately on an existing device. Selecting a different template on an existing row removes the old measurement assignment and creates the new one. Closing the page without clicking Save does not undo those actions. Preserve templates during replacement and change only source-key assignments, then save.

After saving mappings, allow a fresh message and check **Logs**. A field can appear in the incoming snapshot before its mapping is complete; older messages are not backfilled. Match template types to the actual values: `"ON"` and `"OFF"` are strings, while `true` and `false` are booleans. See [metric templates](/devices/metric-templates) for conversion and rejection rules.

## Asset identification <a href="#user-metadata" id="user-metadata"></a>

Use the device name, photo, and application assignment to identify the monitored asset. Keep calibration certificates, installation notes, and maintenance records in your organization's record-keeping system; device measurement history is not a maintenance log.

## Commands & States tab

For devices that can receive downlinks — MQTT devices, LoRaWAN devices, and emulated devices with **Support commands** enabled — a **Commands & States** tab appears. This is where you define the actions a device can perform and dispatch them on demand, turning the Digital Twin from a read-only record into a control surface. The full workflow has its own section: see [Device Commands](/devices/commands).

## Logs tab

The Logs tab displays stored readings for the digital device's attached measurements, within the available retention period. It can therefore show readings from an earlier physical source as well as its replacement when you keep those measurements. A status indicator in the device header reflects its live connection and logging activity, so you can tell at a glance whether new data is currently flowing in.

**Log entries are grouped by the minute.** All readings received within the same minute are collected under a single group header — so even when several batches arrive in the same minute, the view stays tidy. Click a group header to expand or collapse the readings inside it. Each entry within a group shows:

| Column    | Description                      |
| --------- | -------------------------------- |
| **Key**   | The measurement's normalized key |
| **Type**  | The data type of the value       |
| **Value** | The received value               |

**Date filtering:** Click the date button in the top-right corner of the Logs section to open a date range picker. You can select a preset range (e.g., "Last week") or define a custom date range to narrow the log view. This is especially useful for investigating specific incidents or reviewing data from a particular time window.

The Logs tab shows you the readings themselves. If the readings are missing and you need to know *why* — whether messages reached the platform at all, whether their keys matched your sensors, and whether the values were stored — read the reception status, pipeline, and event feed on the **Connection** tab. See [Device Diagnostics](/devices/device-diagnostics).

The date button shows the current preset or date range. Choose a quick range or a custom start/end range and click **Apply changes**. **Clear filter** resets the selection. Available dates and presets are limited by your plan's retention. **Timestamp** identifies each reading; **Key** is the normalized measurement name, followed by **Type** and **Value**. Expand/collapse the minute groups to inspect individual readings. **No logs found** means no retained readings match the range; check mapping and a fresh message before widening it. If loading fails, reload the page.

## Copying a device

Click the copy icon on a device row to create a new device pre-filled from that one. The form arrives carrying the original's **name**, its **metric-template rows**, its **connection selection and settings**, and its **images**. Identity is deliberately not carried: give the copy its own name and its own device identifier before saving.

For a physical device, the copy creates new measurement rows from the selected templates. Open the saved copy and assign its **Connector keys**; pre-filled source mappings are not saved onto the new measurement identities.

An emulator copy also carries its generated signal configuration, reporting interval, command-support setting, and preset commands. Give it a new **Device ID** before saving. See [Copying an emulated device](/devices/emulated-devices#copying-an-emulated-device).

Copying creates another digital device with its own measurements and history. It does not transfer historical readings. Use the original twin when replacing hardware on the same asset.

## Common management tasks

| Task                                   | Where           | How                                                                                             |
| -------------------------------------- | --------------- | ----------------------------------------------------------------------------------------------- |
| Rename a device                        | Device info tab | Edit the Device name field and save                                                             |
| Re-bind to a different physical device | Connection tab  | Detach the current physical device, enter new identifiers, then reconnect existing measurements |
| Change from manual to template profile | Connection tab  | Check "Use device profile templates" and select Brand/Model/Profile                             |
| Add a new measurement type             | Mapping tab     | Add a row, select a metric template, map the connector key                                      |
| Investigate missing data               | Logs tab        | Filter to the expected time range and review the entries                                        |
| Copy a device configuration            | Device list     | Click the copy icon on a device row to create a new device with the same settings               |
| Delete a device                        | Device list     | Click the delete icon on a device row and confirm                                               |

For metric template setup, see [Metrics](/devices/metric-templates). Use an asset-oriented name and application assignment to keep related devices recognizable.

## Organize the device in an application

On **Device Info**, use **Application** to associate this device with an operational solution. Choose **Default** to leave it outside named applications, then save. The device can belong to one application at a time. See [Organizing Content](/applications/organizing-content).

## Protocol setup references

Use [LoRaWAN Devices](/devices/lorawan-devices) or [MQTT Devices](/devices/mqtt-devices) for the complete connection fields, then return here for common profile, mapping and history controls.


# Device Diagnostics

Read a device's reception status, pipeline, and event feed to find out why telemetry isn't arriving.

Commissioning a sensor is the moment when a deployment is most likely to go quiet. The device is registered, the profile looks right, the mapping table is filled in — and nothing appears on the dashboard. The question that follows is always the same: is the hardware asleep, is the radio out of range, is the payload arriving but landing nowhere, or is everything working and the device simply hasn't reached its next scheduled report?

Device diagnostics answers that question directly. Instead of leaving you to infer the state of the integration from an empty chart, the platform reports what it has actually seen from the device — whether a message reached the server, whether the keys inside it matched your sensors, and whether the resulting values were written to history. Each unhealthy state comes with the specific thing to check and a shortcut to the screen where you fix it.

## Why it matters

Without diagnostics, a silent device is indistinguishable from a misconfigured one. An engineer commissioning fifty cold chain probes across a distribution center has no way to tell the difference between a probe that is out of gateway range and a probe that is transmitting perfectly into a mapping that was never completed. Both look like an empty dashboard, and both cost a site visit.

Diagnostics separates those cases at the source. A probe that has joined the network but sent no uplinks is a radio or scheduling question. A probe whose payload is decoding into keys that were never mapped is a two-minute fix from your desk. Knowing which one you are looking at is the whole point.

## Where to find it

Open the device and switch to the **Connection** tab. Diagnostics appears alongside the connection settings, in three blocks:

| Block                | What it answers                                                            |
| -------------------- | -------------------------------------------------------------------------- |
| **Reception status** | Is data arriving right now, and is it being kept?                          |
| **Pipeline**         | Over the recent window, how far did messages get — routed, mapped, stored? |
| **Event feed**       | Message by message, what happened and when?                                |

Read them in that order. Reception status gives you the verdict, Pipeline gives you the pattern, and the Event feed gives you the individual evidence.

## Reception status

The reception status block resolves the device's whole ingestion path into one state, with a short line of supporting detail beneath it. A **RECEPTION** heading marks the block, and a **LIVE** or **NO DATA** indicator (shown as **Live** or **Idle** in compact form) reflects whether traffic is currently flowing.

While the block is loading you see **Loading reception status…**. If the diagnostic data cannot be retrieved, the block reads **Diagnostics unavailable** — the device itself is unaffected; retry the tab.

### The states, and what to do about each

| Status                                                                                      | What it means                                                                                                                                                                                                                        | Your next step                                                                                                                                                                                                                                                                     |
| ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Receiving & storing**                                                                     | The healthy state. The supporting line reads `{{count}} sensors mapped · last value {{last}}`. Messages arrive, keys match your sensors, and values are being written to history.                                                    | Nothing. If the line also says `{{count}} more keys available, unmapped`, the device is sending fields you have not mapped yet — worth reviewing if you want them on dashboards.                                                                                                   |
| **Sending data — set up mapping to keep it**                                                | The device is transmitting and its payload decodes cleanly — `{{count}} keys decoded · none mapped yet` — but no key is connected to a sensor, so nothing is retained.                                                               | Use **Set up mapping** or **Map a key** to open the mapping and connect at least one incoming key to a sensor. Values start accumulating from the next message onward.                                                                                                             |
| **Data arrives but nothing is stored**                                                      | *"Data is arriving but nothing is stored yet."* Messages reach the platform, but no value survives to history — typically a mapping gap or a decoder producing different keys than the ones your sensors expect.                     | Click **Fix mapping**. Compare the keys in the Event feed against your mapped sensors. If the keys look wrong rather than merely unmapped, check the payload decoder on this tab.                                                                                                  |
| **Hasn't reported — device looks offline**                                                  | *"Device was reporting but has gone quiet."* The device worked before and has stopped. The supporting line — `Expected every {{interval}} {{unit}} · last seen {{last}}` — tells you the schedule the platform is measuring against. | This is field work: check the device power or battery, confirm it is still within range of a gateway, and make sure the sending schedule has not changed. If the device's real schedule changed, correct **Data sending interval** on this tab so it is not flagged unnecessarily. |
| **Waiting for first data** / **Waiting for the first uplink** / **No uplinks received yet** | The device record exists but the platform has never received anything from it.                                                                                                                                                       | Give it one reporting interval to transmit. If the window passes, work through **WHAT TO CHECK** below — and if the unit was ever used on another network, see [Before anything arrives: joining the network](#before-anything-arrives-joining-the-network).                       |
| **Reached network — waiting for data**                                                      | `Joined the network · no uplinks yet`. For a LoRaWAN device this is good news: credentials are correct and the radio link works. The device has simply not sent a payload yet.                                                       | Wait one reporting interval. If it stays here, the device is joining but not transmitting — check its sending schedule and power state.                                                                                                                                            |

**The status keeps itself current.** You do not need to reload the page to see a change. Last-seen time is re-read about every 30 seconds while the page is open, and the label and status dot age on their own clock, so a device that has stopped reporting moves from green to gray in front of you instead of sitting on "Just now" until someone refreshes. A device that sends once a minute stays green between readings. The same live status is used in the Devices list, text widgets, info cards and the devices listed inside an application.

One more supporting line appears when a device is configured but idle: `{{count}} sensors configured · 0 receiving values`. Your sensors exist, but none of them is being fed. Treat it the same way as *Data arrives but nothing is stored* — the mapping is where to look.

### Before anything arrives: joining the network

The reception states above describe a lifecycle, and it is worth reading them in order:

**Waiting for first data** → **Reached network — waiting for data** → **Receiving & storing**

The step between the first two is the one that catches people out, because it happens entirely on the device side and the platform can only wait for it.

An LPWAN device is not simply "configured" onto a network — it has to **join** one. A LoRaWAN device sends a **join request**, the network server validates it against the DevEUI and AppKey you registered, and answers with a join accept. Only then does the device have a session and start sending uplinks. A MIOTY endpoint does the equivalent: it **attaches** through a base station, which is what moves the platform to *Reached network — waiting for data*. Until that handshake happens, a device record on the platform is just a record — correct credentials and all.

**A device belongs to one network at a time.** This is the part that surprises people. A device that was previously commissioned somewhere else — a unit returned from another site, hardware bought second-hand, a sensor that was on a different platform or a previous operator's network, or a demo unit that came back from a trade stand — is still joined to that network. It will not join yours simply because you registered it here. It is not looking for a new network; as far as its firmware is concerned it already has one.

The symptom is distinctive: the device sits on **Waiting for first data** indefinitely while every setting you can check is correct. The DevEUI matches. The AppKey matches. It is powered, it is in range, and the reporting interval has come and gone several times. Nothing in **WHAT TO CHECK** resolves it, because none of those things is wrong.

The fix is to **reset the device** so it sends a fresh join request. The procedure is manufacturer-specific — a magnet swipe, a button hold, a reed switch, a power cycle of a particular length, or a downlink command — so check the vendor's instructions for your model rather than guessing. Some devices distinguish a plain restart from a full rejoin, and only the latter clears the previous session.

Once it re-joins, the status moves to *Reached network — waiting for data* and then to *Receiving & storing* on the device's next scheduled transmission.

Two related cases worth recognizing:

* **A device that joined once and then stopped** is a different problem. That is *Hasn't reported — device looks offline*, and it points at power, range, or schedule — not at joining. A device does not silently un-join.
* **A device that keeps returning to&#x20;*****Waiting for first data*** after a successful join usually means the credentials on the platform and the credentials burned into the device disagree in a way that lets the join fail quietly. Re-enter the DevEUI and AppKey — [Scan QR code](/devices/registering-devices) removes the transcription risk — and reset the device again.

### WHAT TO CHECK and WHILE YOU WAIT

Alongside an unhealthy or pending status, the platform lists the relevant checks under a **WHAT TO CHECK** heading, and — when the state is simply early — the shorter **WHILE YOU WAIT** list. The items you will see include:

* Confirm the device is powered on and transmitting
* Check the device power or battery
* Make sure it is within range of a gateway / Confirm it is still within range of a gateway
* Check that AppKey and DevEUI match the device
* Check the payload decoder matches this device
* Check that the connection settings are correct
* Confirm the device is sending on its schedule
* Make sure the sending schedule has not changed
* Give it one reporting interval to transmit
* Map at least one incoming key to a sensor

The list is state-aware, so it is worth reading rather than skimming: a device that has joined the network will not be asked about AppKey and DevEUI, because that question is already answered.

One thing the list cannot tell you is whether the device is still joined to a network it was used on before yours — that is invisible from the platform's side. If every item here checks out and the device has still never reported, that is the case to suspect: see [Before anything arrives: joining the network](#before-anything-arrives-joining-the-network).

Every item points at a setting you control. AppKey, DevEUI, the payload decoder, and the connection settings all live on this same **Connection** tab. The sending schedule is set on the device itself and mirrored into **Data sending interval** — see [Device Management](/devices/device-management). Mapping lives on the **Mapping** tab, and the **Fix**, **Fix mapping**, **Set up mapping**, and **Map a key** actions take you there directly.

### MQTT devices

MQTT integrations have their own reception states, because there are two links to verify — the platform's connection to your broker, and the device's publishing behavior on it. Two fields frame the diagnosis: **Expected topic** shows the topic the device record is configured for, and **Published to** shows the topic a message actually arrived on.

| What you see                                                                                                                      | What it means                                                                                                                                                                                                                                            | Your next step                                                                                                                         |
| --------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- |
| **Broker connected** — *"Your broker is reachable and Kilo is subscribed"*                                                        | The connector side is healthy.                                                                                                                                                                                                                           | Move on to the device side.                                                                                                            |
| **Connecting to your broker…**                                                                                                    | The subscription is being established.                                                                                                                                                                                                                   | Give it a moment. If it persists, verify the connector settings.                                                                       |
| **Kilo can't reach your broker** — *"Check the broker URL and credentials in the connector settings."*                            | The platform cannot establish the subscription, so no device on this connector can deliver data.                                                                                                                                                         | Open the connector and correct the broker URL and credentials. See [MQTT Troubleshooting](/connectors/mqtt-connector/troubleshooting). |
| **Kilo hasn't set up this connector on its broker**                                                                               | The connector was saved, but the platform has not finished creating its subscription. The hint reads *"Re-save the connector to retry the setup."*                                                                                                       | Open the connector, click save again, and re-check.                                                                                    |
| **Kilo can't check this connector's broker link**                                                                                 | The platform could not determine the state of the link. The hint reads *"Re-save the connector to retry the setup, then contact support if it persists."*                                                                                                | Re-save the connector; if the message stays, contact support.                                                                          |
| **Waiting for messages from your broker…**                                                                                        | The subscription is live on a connector that uses your own broker; nothing has been delivered yet. The checks listed: your broker is reachable and Kilo is subscribed, the device publishes to the expected topic, the device ID resolves as configured. | Wait one reporting interval, then work through those three checks.                                                                     |
| **Waiting for the device to publish to the Kilo broker…**                                                                         | The subscription is live; this device has not published yet.                                                                                                                                                                                             | Wait one reporting interval, then confirm the device is running and pointed at the right broker.                                       |
| **A message arrived on a topic this device isn't set up for** — *"Update the topic above, or change where the device publishes."* | A publish reached the platform but its topic does not match this device record. Compare **Published to** against **Expected topic**.                                                                                                                     | Correct the topic on this tab to match what the device actually publishes, or reconfigure the device to publish to the expected topic. |
| **No publish topic is configured yet — set one above.**                                                                           | The device record has no topic to match against.                                                                                                                                                                                                         | Set the publish topic on this tab.                                                                                                     |

When the device is publishing correctly, the block confirms the conditions that had to be true for the message to land: *"The device publishes to the expected topic"*, *"The payload is valid JSON"*, *"The device ID resolves as configured"*, and — for devices using platform-issued credentials — *"It is connected with its generated MQTT credentials"*.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-07b02a3b6b38dbf6d816333a43e95834c65e0d92%2Fdevice-reception-status.jpg?alt=media" alt="The reception banner reading Receiving and storing, live, with the mapped sensor count and last value time"><figcaption></figcaption></figure>

## Pipeline

The Pipeline block counts how far messages got over the recent period, broken down into **Routed**, **Mapped**, and **Stored**.

These counts are a rolling recent window, not a lifetime total. The window is stated in the block's own label — **Stats over the last {{days}} days** — so read that label before drawing conclusions. A device that was misconfigured last quarter and fixed last week will show clean counts here; the window has moved past the incident.

Read the three numbers as a funnel:

* **Routed high, Mapped zero** — messages are arriving and being matched to this device, but no key is connected to a sensor. Mapping is the fix.
* **Mapped high, Stored zero** — keys matched but values did not persist. Check the mapping rows and the sensor types they point at.
* **All three zero** — nothing has reached this device record at all. This is a reception problem, not a mapping problem; go back to the reception status block.
* **All three tracking together** — the integration is healthy.

If the block reads **No pipeline data**, the platform has nothing to count for this device in the current window — the same conclusion as all three at zero.

## Event feed

The Event feed is the message-by-message record behind the summary. Where the pipeline counts tell you *how often*, the feed tells you *which message, when, and why*.

| Column      | What it shows                                                                       |
| ----------- | ----------------------------------------------------------------------------------- |
| **Time**    | When the platform processed the event                                               |
| **Stage**   | Which step of the pipeline the row describes — Routed, Mapped, Converted, or Stored |
| **Outcome** | Whether that step succeeded — OK, Skipped, Truncated, Dropped, or Error             |
| **Detail**  | The specifics for that step                                                         |

Before any data exists you see **No events yet** and *"Events will appear here once the device sends data."* — expected for a device that has not transmitted.

The feed loads in pages. Click **Load more** to fetch the next page; it shows **Loading…** while fetching and **All records loaded** once you have reached the end of the available history. Individual rows offer **Details** to expand the full context of an event and **Hide** to collapse it again. **See reception status** takes you back to the summary block at the top.

### What these statuses mean

The feed includes its own legend under the heading **What these statuses mean**:

| Term          | Meaning                                                                                                          |
| ------------- | ---------------------------------------------------------------------------------------------------------------- |
| **Routed**    | The message reached the platform and was matched to this device.                                                 |
| **Mapped**    | Incoming keys were matched to your configured sensors.                                                           |
| **Converted** | Sensor values were adjusted to the type each sensor expects.                                                     |
| **Stored**    | Sensor values were saved to history.                                                                             |
| **OK**        | This step completed successfully.                                                                                |
| **Skipped**   | Intentionally not processed (for example, no matching mapping or an unexpected topic). Not necessarily an error. |
| **Truncated** | The value was adjusted to fit the declared sensor type and saved with some loss.                                 |
| **Dropped**   | The value did not match the declared sensor type and was not saved.                                              |
| **Error**     | This step failed and needs attention.                                                                            |

**Skipped is the row that misleads people.** It is not a failure — it is the platform telling you it made a deliberate decision. A `Mapped / Skipped` row means a key arrived that no sensor claims; if that key matters to you, map it. If it does not, the row is correct behavior and you can ignore it. An `Error` row is the opposite: something broke and the message did not complete its step. Expand it with **Details** and act on what it reports.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-b78f00fd615f50cdf45f8b217081076bb0a68e16%2Fdevice-event-feed.jpg?alt=media" alt="The event feed listing each stage with its outcome and detail, showing routed and stored measurements"><figcaption></figcaption></figure>

## Reading the feed to fix a device

A practical sequence when a device is not delivering data:

1. Open the device and go to the **Connection** tab.
2. Read the reception status. If it names a specific problem — unmapped keys, an unexpected topic, an unreachable broker — use the action button next to it (**Fix**, **Fix mapping**, **Set up mapping**, **Map a key**) and resolve it there.
3. If the status says the device is waiting or quiet, check the supporting line for the interval and last-seen time, then work through **WHAT TO CHECK**.
4. Look at the Pipeline counts to see where in the funnel messages stop, keeping the window in the **Stats over the last {{days}} days** label in mind.
5. Open the Event feed and find the most recent rows at that stage. Expand a row with **Details** to see exactly which key or topic was involved.
6. Apply the fix, then wait for one reporting interval and re-read the block. Values are stored from the next qualifying message onward — earlier messages are not reprocessed, so a fresh transmission is what confirms the repair.

Connector keys appear in the mapping automatically once the device transmits — you do not need to type them in. That is why the order matters: get the device transmitting first, then map what actually arrived.

## Connector diagnostics

Diagnostics also exists one level up, for MQTT connectors. Open **Connectors**, click a connector, and its page has two tabs: **Settings** and **Diagnostics**. Other connector types show **Settings** only. After you add an MQTT connector the app opens its **Diagnostics** tab straight away.

The **Diagnostics** tab stacks three sections, each answering a different question about every device on the connector:

* **Connection** — whether the platform can reach and use your broker. A status icon, a title and a line of detail. The states are the connector rows in the table above, plus **Connecting to your broker…** and **Broker connected**.
* **Incoming** — what is arriving on the connector. When messages show up on a topic no device is set up for, they are listed with a `{{count}} seen` figure so you can tell which topic to add or correct.
* **Activity** — the connector's recent event history. Before any traffic, it reads **No activity yet**. If the diagnostic data cannot be loaded, it reads **Diagnostics unavailable**.

To register a device against the connector, use **Add device** on the connector's row in the Connectors list.

Use connector diagnostics when *several* devices are silent at once. That pattern usually points at the connector or the broker, not the hardware. Use device diagnostics when one device is silent while its neighbors are fine.

For broker-side, TLS, authentication, and topic-routing problems, see [MQTT Troubleshooting](/connectors/mqtt-connector/troubleshooting).

## Check a replacement source

After replacing hardware, the twin's old readings may still be visible. Check **Last update** to establish that the replacement is reporting now. Reception without stored values points to the decoding or mapping step: reconnect the replacement's fields to the retained measurement rows.

Keep the digital device while resolving the connection. Creating another twin or removing its measurements does not fix a missing transmission and separates the asset from its existing record. See [Replace a physical sensor](/devices/device-management#replace-a-physical-sensor).

## Tips

* **Set Data sending interval honestly.** Diagnostics measures "gone quiet" against the interval you entered. A probe that reports once a day but is configured as hourly will be flagged offline twenty-three times a day, and a genuinely dead sensor configured as monthly will stay green for weeks.
* **Check the reception status before opening a ticket.** *Sending data — set up mapping to keep it* is a desk fix. *Hasn't reported — device looks offline* is a site visit. The distinction is worth thirty seconds.
* **Watch the pipeline window during commissioning.** The counts cover the days named in the **Stats over the last {{days}} days** label, so a device fixed an hour ago still carries its failed messages in the count. Judge a fresh fix by the newest Event feed rows, not by the totals.
* **Unmapped keys are an opportunity, not an error.** When a healthy device reports `{{count}} more keys available, unmapped`, the hardware is sending measurements you are not yet using — a vibration sensor may be reporting temperature alongside it, at no extra cost in battery or airtime.
* **Diagnostics complements the Logs tab, it does not replace it.** Diagnostics explains *why* processing went the way it did. The Logs tab shows the stored measurement readings. See [Device Management](/devices/device-management).

## Readings rejected because of their type

A decoded key can reach the platform without producing a stored value. If its value cannot be converted to the mapped metric's type, the event feed reports the mismatch; an Integer mapping also warns when it truncates decimals. Check the key, the template type, and the latest payload together. See [value conversion](/devices/payload-decoding#values-keep-the-form-the-device-sent).

Reception diagnostics uses the configured interval, or one hour when no valid interval is set. It is separate from the command screen's 30-minute last-seen check. A device with no last-seen time is waiting for data rather than proven offline.


# Metrics

Find, create, and manage the shared metrics that give device readings consistent names, units, and data types across Kilo.

A metric tells Kilo what a device reading means and how to store it. It combines a **normalized key**, such as `temperature`, with a unit, value type, and data type.

The two type fields answer different questions: **Data type** says whether the information is telemetry, device metadata, or a custom attribute; **Type** says whether its value is stored as a Float, Integer, String, or Boolean.

This shared definition lets devices from different manufacturers use the same dashboards and rules. One device may send `temp_c` and another may send `t_celsius`; mapping both raw keys to the `temperature` metric gives Kilo one consistent reading to work with.

## Open the metric catalog

Go to **Devices → Metrics**.

The list contains every metric available to your organization. Each row shows its normalized key, unit of measurement, value type, and data type.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-ed3c1be9b2a75b0e07c088fe56868df26c9c7732%2Fkilo-devices-metrics.jpg?alt=media" alt="The Devices / Metrics page listing metrics with Normalized key, Unit of measurement, Type and Data type columns, search and filter controls, and Add metric at the top right"><figcaption><p>The Metrics catalog. The pencil icon at the end of a row edits a metric and the trash icon deletes it. The number beside the title is the count of metrics.</p></figcaption></figure>

To reach this page, open **Devices** in the main menu and select **Metrics** at the top right, beside **Add device**. The arrow beside the title returns you to the device list.

Use the controls above the list to find a metric:

* **Search** matches the normalized key.
* **All units** filters by unit and includes metrics without a unit. Select the units and click **Apply**.
* **All types** filters by String, Integer, Float, or Boolean and applies immediately.
* **All data type** filters by Telemetry, Device metadata, or Custom attributes and applies immediately.
* **Sort by** orders metrics by **Newest** or **Oldest**.

The unit, type, and data-type filters accept several values at once.

Metrics created by your organization provide an edit (pencil) and a delete (trash) action at the end of the row. Metrics supplied by Kilo do not, because their definitions are shared across deployments.

## Create 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://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-fd3829f5218ccbc60aaa3bbcc39f7bc14730c86e%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                                  | Examples                                           |
| --------------------- | ------------------------------------------- | -------------------------------------------------- |
| **Telemetry**         | Readings that change over time              | Temperature, humidity, battery level, pressure     |
| **Device metadata**   | Information the device reports about itself | Firmware version, hardware revision                |
| **Custom attributes** | Information your organization adds          | Installation date, asset tag, maintenance interval |

Choose **Telemetry** for readings you want to retain and use in dashboards or rules. Device metadata and Custom attributes categories exist in the catalog, but are not offered as telemetry mappings; selecting a category does not create a working value-entry or storage workflow.

### Type

Choose how Kilo stores the value:

| Type        | Use it for            | Examples                      |
| ----------- | --------------------- | ----------------------------- |
| **Float**   | Numbers with decimals | `22.5`, `67.3`, `3.28`        |
| **Integer** | Whole numbers         | `85`, `-120`, `42`            |
| **String**  | Text                  | `"open"`, `"standby"`         |
| **Boolean** | True or false         | Motion detected, alarm active |

The mapped type also controls conversion before storage. See [incoming value conversion](/devices/payload-decoding#values-keep-the-form-the-device-sent), including numeric text, integer truncation, and rejected Boolean values.

Chart widgets and the gauge-style Last Data displays require an Integer or Float metric. The Last Data **Value** display can also show text and Boolean values.

### Normalized key

The normalized key is the standard name for the measurement, independent of the raw name sent by a device.

Open **Normalized key** and either select an existing key or choose **Create a new normalized key**. Use a descriptive name such as `soil_moisture`, not a device-specific name such as `sensor_3_value`. Lowercase names with underscores keep the catalog consistent.

Each normalized key can belong to only one metric. If the selected key 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 Kilo cannot be renamed or removed.

### Unit of measurement

Select the unit displayed beside the value, such as °C, %, lx, or mV. Choose an existing unit or select **Create a new unit** and enter the symbol exactly as it should appear.

The unit is optional for every data type. Many real readings have none: a door state is true or false, a status is a word, and a metric created from a device's own mapping may carry no unit. Add one when it helps people read the value, and leave it out when it does not.

Units are created, renamed, and deleted from this field. Units supplied by Kilo cannot be renamed or removed.

## Edit a metric

Metrics are shared across your organization, not configured separately for each device. Editing a metric changes the definition for every device mapped to it.

1. Find the metric under **Devices → Metrics**.
2. Click the pencil icon at the end of its row. The **Edit Metric** dialog opens.
3. Update the required fields: **Data type**, **Type**, **Normalized key**, and the optional **Unit of measurement**.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-b33b0289ac44f3d436c78699721657903dc11efb%2Fkilo-devices-edit-metric.jpg?alt=media" alt="The Edit Metric dialog with Data type, Type, Normalized key, an optional Unit of measurement, and Cancel and Save buttons"><figcaption><p>The Edit Metric dialog. Its subtitle reminds you that the unit of measurement is optional.</p></figcaption></figure>

4. Click **Save**.
5. A confirmation titled **Are you sure you want to edit "{name}"?** explains that *the devices it's assigned to will automatically update their settings to reflect the changes.* Select **Yes, edit** to apply the change, or close the dialog to keep things as they were.

You can change the data type of an existing metric only while no device uses it. If a device is still mapped to the metric, the dialog stays open and says: *This metric is attached to devices. Detach it from all of them to change its data type.* Remove it from those mappings first, then change the type. Saving an edit keeps the metric's description as it was.

If only one device needs a different definition, create a new metric for that device. Replacing its existing template creates a different measurement assignment; it is not the history-preserving source remap used for hardware replacement.

## Delete a metric

Click the trash icon on a metric created by your organization and confirm the action.

A confirmation titled **Are you sure you want to delete "{name}"?** appears; select **Yes, delete** to remove it.

Kilo refuses to delete a metric that is still mapped to a device. A dialog titled **"{name}" is used in other devices.** explains: *To delete the metric, you need to unbind it from all devices where it is used.* Select **Okay**, remove the mapping from every device that uses it, then try again. The same dialog appears when you try to delete a normalized key or a unit that devices still use, from the key or unit dropdown.

## Map a device reading to the metric

Creating a metric does not connect it to a device automatically. Open the device's **Mapping** tab and map the raw key sent by the device to the normalized metric.

After several device types map their raw temperature keys to `temperature`, the same dashboard widget, rule, or query can use all of them without manufacturer-specific logic.

## Keep a measurement through sensor replacement

A metric template describes a kind of reading; each digital device has its own measurement using that template. **Refrigerator 1** and **Refrigerator 2** can both use the temperature template while keeping separate histories.

When replacing Refrigerator 1's probe, keep its existing temperature row and change the **Connector key** to the field supplied by the replacement. For example, the old probe may send `temp_c` and the new one `temperature`. Keeping the measurement lets future values join its existing history and keeps dashboard and rule references attached.

A unit label does not convert a value. If the replacement reports Fahrenheit or a scaled integer instead of °C, adjust the source or decoder to produce the expected value before mapping it. See [Replace a physical sensor](/devices/device-management#replace-a-physical-sensor).

## Troubleshooting

| 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 device sends a numeric value.                                                          |
| A metric is missing from a device mapping                         | Confirm its **Data type** is Telemetry.                                                                                                 |
| A normalized key cannot be selected                               | Another metric may already use it. Search the catalog for that key.                                                                     |
| Save is refused because the metric is attached to devices         | The data type cannot change while devices use the metric. Detach it from every device mapping, or create a new metric for the new type. |
| The edit and delete icons are unavailable                         | The metric, key, or unit was supplied by Kilo and cannot be changed.                                                                    |
| Delete is refused                                                 | Remove the metric from every device mapping before deleting it.                                                                         |

## See also

* [Registering Devices](/devices/registering-devices) — map raw device data during registration
* [Device Management](/devices/device-management) — change mappings on an existing device
* [Chart Widget](/dashboards/adding-widgets/chart-widget) — display numeric metrics over time


# Payload Decoding and Connector Keys

See which fields your device reports in Kilo IoT Server and how its connector keys map to the metrics you use.

A device transmits a compact payload — a handful of bytes, or a small JSON message. A **decoder** turns that payload into named fields, and those fields are what the rest of the platform works with. When you write a rule, build a dashboard widget, or tell a command which sensor to check, you are working with values that came out of the decoder.

Two names are involved, and they are usually not the same:

* A **connector key** is the field name your decoder produces — `t`, `socket_status`, `humidity_pct`. It comes from the device's firmware and its codec.
* A **metric** is the name you gave that field when you mapped it — *Temperature*, *Socket status*. This is the name shown on dashboards, in rules, and in the command editor.

Knowing which connector key sits behind which metric — and what values it actually carries — is what lets you write a condition or a verification check that works the first time.

## See what your device is reporting

Open the device and go to its **Mapping** tab. The connector keys table lists every field the device has actually sent, with:

* the **field name** exactly as the device sends it
* its **current value**
* the **last update** time

This is live data from the device, refreshed as new messages arrive, and it is the quickest way to answer "what does this device report, and in what form?". Copy the value from here when you need to match it elsewhere — a rule condition, a dashboard condition, or the expected value on a command.

A device that has not transmitted yet shows nothing. Wait for its next scheduled message, or trigger one from the device itself.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-c89aa3cc83a6eb8450e714f1bc3e886fab53343d%2Fdevice-mapping-connector-keys.jpg?alt=media" alt="The Mapping tab listing each device data key with its live value, last update and the metric it feeds"><figcaption></figcaption></figure>

## Where the decoder lives

For **LoRaWAN**, use **Code functions** on **Connection**. A device profile template supplies its codec; for a manual profile, provide the manufacturer's compatible codec. Save changes and inspect a fresh transmission.

For **MIOTY**, select a [blueprint](/devices/mioty-blueprints) on the connection form. For **MQTT**, configure the message format and field extraction in the MQTT mapping settings; a LoRaWAN Code functions field does not decode MQTT messages. Tracker fields come from the tracker integration, and emulator keys come from its configured signals.

See [Registering Devices](/devices/registering-devices) for connection-specific setup.

## Mapping keys to metrics

Mapping is what connects a connector key to a metric template, giving the raw field a readable name, a unit, and a type. Once mapped, that measurement appears under its metric name everywhere in the platform.

Do this from the same Mapping tab — see [Registering Devices](/devices/registering-devices#mapping-raw-fields-to-metric-templates) for the step-by-step, and [Metrics](/devices/metric-templates) to create a template that doesn't exist yet.

A connector key that is never mapped keeps arriving but has nowhere to go: it will not appear in rules, dashboards or command verification.

## How incoming values become stored measurements <a href="#values-keep-the-form-the-device-sent" id="values-keep-the-form-the-device-sent"></a>

The connector-key view shows incoming values. Before saving measurement history, Kilo applies the mapped metric's **Type**:

| Type    | Accepted input and stored result                                                                                                                                  |
| ------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Float   | A number or numeric text, such as `"22.5"`, becomes a numeric value. Non-numeric and non-finite values are rejected.                                              |
| Integer | Numeric input becomes a whole number. Fractional parts are truncated toward zero: `22.9` becomes `22`, with a diagnostic warning. Use Float when decimals matter. |
| Boolean | Accepts true/false, text `true`/`false` regardless of case, and numeric or text `0`/`1`. Text such as `ON`, `OFF`, or `yes` is rejected.                          |
| String  | Stores text; other input values are converted to text.                                                                                                            |

A value incompatible with its mapped type is not stored for that measurement. Other valid fields can still be processed. Check the **Connection** event feed for type-mismatch or truncation details, and compare incoming values with **Logs**, which shows stored readings.

For a relay reporting `ON` and `OFF`, use a String metric or change the decoder to return a Boolean. Set rule conditions and [command verification](/devices/commands/verification#expected-value) to match the stored measurement type. Unit labels do not convert or rescale values.

## Testing a mioty decoder before you rely on it

MIOTY devices decode through a blueprint rather than a code function, and blueprints come with **Decode preview** — run the decoder against a sample payload and inspect the fields it produces before you attach it to real devices. See [MIOTY Blueprints](/devices/mioty-blueprints).

For LoRaWAN, save the codec and inspect the next message. For MQTT, save the extraction settings and generate a fresh publish. In both cases, inspect the incoming keys and stored measurements.

## When the fields aren't what you expected

**Keys are arriving but nothing appears in rules or dashboards.** The keys have not been mapped to metrics yet. Open the Mapping tab and map the ones you want to use.

**The keys are not the ones you expected.** The decoder is producing different field names than the sensors on the device are looking for — a common result of a codec written for a different firmware or hardware revision. Compare the names in the connector keys table against your mappings, and either update the mappings or replace the codec.

**Nothing is decoded at all.** Check that the device is transmitting, then check the codec itself. [Device Diagnostics](/devices/device-diagnostics) shows how many keys were decoded from the most recent messages.

## A new probe can use different field names

Replacing a refrigerator's probe may change its payload without changing what you measure. Decode the new payload first, then connect its temperature field to the twin's existing temperature row in **Mapping**. Keep the unit and value format consistent so historical and new readings remain comparable.

Use the connector keys table to confirm the replacement is reporting; use **Logs** to inspect stored measurement history. The live connector fields are not an archive of the old hardware's payloads. See [Device Management](/devices/device-management#replace-a-physical-sensor).

## Related

* [Registering Devices](/devices/registering-devices) — Device setup, codecs, and the mapping workflow
* [Metrics](/devices/metric-templates) — Normalized names, units, and value types
* [Device Diagnostics](/devices/device-diagnostics) — What the device last sent and whether it decoded
* [Confirming Commands](/devices/commands/verification) — Using a metric and its value to verify a command


# LoRaWAN Devices

Connect LoRaWAN sensors to Kilo digital twins: device profiles, keys, decoding, measurement mapping, commands and replacement.

A **LoRaWAN device** sends small readings over a radio link to a gateway. Kilo's LNS connector receives those messages through its built-in LoRaWAN Network Server. The physical sensor supplies the data; its **digital twin** keeps the name, measurement channels, and retained history you use in dashboards and automation.

For example, a refrigeration operator can keep **Refrigerator 1** as the lasting temperature record when a probe is replaced for maintenance or calibration. Choose this connection for compatible LoRaWAN hardware; a Wi-Fi or Zigbee sensor needs a different connection path.

## Before you start

* Create the [LNS connector](/connectors/lns-connector) and arrange coverage from a connected [LoRaWAN gateway](/gateways/lorawan-gateways). Gateway installation and network activation are separate from registering the sensor.
* Obtain the sensor's **Device EUI**, **AppKey**, model, frequency band, class and a compatible payload codec from the manufacturer. Match the band to the hardware and gateway; see [LoRaWAN Frequencies](/connectors/lns-connector/lorawan-frequencies).
* You need permission to create/edit devices and capacity in your subscription to add another twin. Read-only users can inspect the configuration but cannot save changes.

## Connect the sensor to its digital twin

1. Open **Devices → Add device**, or use **Add device** on the LNS connector row.
2. Enter **Device name**, such as **Refrigerator 1**, optionally add photos, and click **Save**. This creates the digital record before binding hardware. See [shared registration steps](/devices/registering-devices) for profile and Application settings.
3. Open **Connection** and choose your LNS connection under **Connector type**.
4. Enter the sensor identity and configure its profile using the reference below.
5. Set **Data sending interval** to the sensor's actual reporting schedule, then click **Save**.
6. Follow the manufacturer's commissioning procedure to make the sensor join this network. Registration alone does not initiate a radio join. Previously commissioned hardware may need a rejoin/reset procedure; use the manufacturer's instructions rather than assuming power-cycling is enough.
7. After an uplink arrives, open **Mapping**, map the decoded readings, and save. Wait for another uplink, then check **Logs** for recorded measurements.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-0b1b2e7c7299f6756315a0c0b160108d1f843f07%2Fdevice-connector-type-list.jpg?alt=media" alt="Kilo Connection tab with the available LoRaWAN LNS connection in the connector picker"><figcaption><p>Select the LNS connection that will receive this sensor's radio traffic.</p></figcaption></figure>

### Identity and credentials

| Control                    | What to enter or do                                                                                                                                                                                                                                                                                                                                                                                     |
| -------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Connector type**         | Select the LNS connection in your organization. If it is missing, follow **Connector section** to create it. A saved physical binding locks the connection and identity during ordinary editing.                                                                                                                                                                                                        |
| **Device EUI**             | The manufacturer's 8-byte identifier: 16 hexadecimal characters, displayed in byte pairs. This identifies the physical sensor, not the asset's name. It becomes read-only after binding.                                                                                                                                                                                                                |
| **Scan QR code**           | Scan a compatible label with your browser's camera. The scanner can fill Device EUI and, when present in the code, AppKey. Review the result. If no camera is available or permission is denied, enter the values manually.                                                                                                                                                                             |
| **AppKey**                 | The sensor's 16-byte activation key, entered as 32 hexadecimal characters. Use the key configured on the hardware. A profile template does not supply your individual sensor's key. Typing reveals the key; leaving the field or pressing Enter hides it again. The eye control reveals/hides a non-empty key, and a key loaded from a QR scan stays hidden. Avoid displaying it in shared screenshots. |
| **Add to Vault**           | Save the EUI/key pair to [Key Vault](/reports/key-vault) while the credentials are available. Vault storage is separate from saving the device's connection.                                                                                                                                                                                                                                            |
| **Detach physical device** | Immediately removes the hardware binding. Use it for replacement, then bind the new hardware to this twin. Keep the existing measurement rows and remap their incoming keys; see [replacement and history](/devices/device-management).                                                                                                                                                                 |

### Templates and manual profiles

A **device profile** supplies radio settings and a **codec**, the JavaScript that translates the sensor's binary uplinks into named readings. It does not create the measurement mappings for you.

| Control                          | Configuration                                                                                                                                                                                                                                                                                                                              |
| -------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| **Use device profile templates** | Enable to select a known profile. Disable to enter the profile manually. Review the populated fields before saving, especially if firmware or regional variants differ.                                                                                                                                                                    |
| **Brand** (template selector)    | Choose the manufacturer. This determines which models are available.                                                                                                                                                                                                                                                                       |
| **Model** (template selector)    | Choose the hardware model. This determines the available regional profiles.                                                                                                                                                                                                                                                                |
| **Profile**                      | Choose the matching regional profile. Selection loads the profile's class, band and codec into the form; it can replace values you previously entered.                                                                                                                                                                                     |
| **Class A / Class C**            | Required. Choose the class actually supported/configured on the sensor. Class A receives downlinks in windows following uplinks; Class C listens between transmissions. Selecting Class C here does not convert Class A hardware into a continuously listening device. Both classes may have command definitions; delivery timing differs. |
| **Brand / Model** (text fields)  | Required manufacturer and model names for the saved profile. These remain available for review/editing after template selection.                                                                                                                                                                                                           |
| **Band**                         | Required regional radio plan. Options include EU868, US915, AU915, AS923, KR920, IN865, RU864, CN470, CN779, EU433 and ISM2400. Use the plan matching the sensor and gateway.                                                                                                                                                              |
| **Code functions**               | Review or paste the manufacturer's compatible JavaScript codec. Without a suitable decoder, receiving a radio message does not guarantee usable measurement fields. Changes take effect for subsequent messages after saving; they do not decode old history again.                                                                        |
| **Data sending interval**        | A positive whole-number interval with **minute**, **hour**, **day**, **week**, or **month** units. The initial value is **1 hour**. Match the hardware's actual schedule. This tells reception diagnostics when data is expected; it does not reconfigure the physical sensor's transmission schedule.                                     |

Use the manufacturer-provided codec for the exact model and payload format. The **Code functions** editor can also contain the codec's downlink encoder. The command guide explains when a command uses that encoder or supplies its own [custom encoder](/devices/commands/creating-commands).

## Map the readings you need

A probe might decode to `temperature` and `battery`. On **Mapping**, click **Add key**, choose a **Normalized key** template, then select the corresponding **Device data key**. Choose a temperature template with the correct unit and Float type for decimal readings. Save the key assignments and allow a new uplink to arrive.

The template defines meaning, unit and value type; selecting °C does not convert a Fahrenheit reading. **Value** and **Last update** help identify the received field. **Logs** shows retained measurements after mapping. See [mapping controls](/devices/device-management#metrics-tab), [metric templates](/devices/metric-templates), and [payload interpretation](/devices/payload-decoding) for all fields and conversion rules.

## Commands and ongoing operation

After the physical binding is saved, compatible devices offer **Commands & States**. Use **Add new command** to configure an action supported by the hardware. LoRaWAN commands require **fPort** and an encoded payload; **Confirmed downlink** controls radio acknowledgement, while verification settings check reported results. See [Creating Commands](/devices/commands/creating-commands) and [verification](/devices/commands/verification).

For **Refrigerator 1**, the same mapped readings can feed a chart and an alarm. If the probe is replaced, retain the twin and its measurement rows, then reconnect the new probe's decoded fields. The retained history remains subject to your subscription's retention period.

## If readings do not arrive

| What you see                                   | What to check                                                                                                                        |
| ---------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------ |
| Save cannot complete                           | Required identity/profile fields, device-edit permission, subscription restrictions, and whether the identifier is already assigned. |
| No join or uplink                              | Gateway reception, matching regional band, EUI/AppKey, hardware power and the manufacturer's join procedure.                         |
| Uplinks arrive but expected fields are missing | Codec compatibility, firmware version and actual decoded keys.                                                                       |
| Values appear but history is empty             | Saved key mappings, compatible template types, and a fresh uplink after saving.                                                      |
| Unexpected missing-data status                 | The actual reporting schedule and configured Data sending interval. Command execution has its own last-seen check.                   |

Continue with [device diagnostics](/devices/device-diagnostics) for reception status and processing errors.


# MIOTY Devices

Commission a MIOTY endpoint in Kilo IoT — End Point EUI, short address, network session key, and counters.

Register a MIOTY endpoint in Kilo Cloud to use its readings throughout the platform: place them on widgets, compare them in charts, evaluate them in rules, and notify a team through alarms. Cloud's enterprise KiloCenter service center handles the network communication beneath that application.

An **endpoint** is the physical sensor, meter, or other device communicating through a MIOTY **base station**, its radio gateway. Its Kilo device record brings the identity, settings, and readings together.

Before registration, set up the [MIOTY connector](/connectors/mioty-connector) and have the endpoint's identifiers and network key from its manufacturer or provisioning process. Those values associate the correct hardware with its record. A [blueprint](/devices/mioty-blueprints) supplies the decoding specification needed to turn its messages into named readings.

This page explains the MIOTY-specific fields. For naming, metrics, logs, and saving the device, follow [Registering Devices](/devices/registering-devices).

The endpoint supplies data to a [digital twin](/devices). Name the twin for the asset you monitor, such as **Refrigerator 1**, and keep the endpoint's EUI in its connection settings. Commissioning another endpoint for the same asset should retain that twin and its measurement rows; review the replacement's blueprint and map its decoded fields before relying on new readings.

## Prerequisites

* **A Mioty connector.** Without it, the MIOTY fields are unavailable and the form reports **"Create a Mioty connector first"**. See [MIOTY Connector](/connectors/mioty-connector).
* **At least one base station online.** Endpoints attach through base stations. See [MIOTY base stations](/gateways/mioty-base-stations).
* **Endpoint credentials from the manufacturer** — the End Point EUI and the Network Key, normally on the unit's label or in a shipped provisioning file.

## Selecting the connector

On the device form, select the Mioty connector as the connector type. The form then presents the MIOTY parameter sections described below.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-efd0a6126726a159d2df9c9f5e08eb7d5a3dbb7b%2Fkilo-mioty-device-connection.jpg?alt=media" alt="The Connection tab of a saved MIOTY device: Swap connection link, End Point EUI with Add to Vault, Short Address, Carrier Offset, Communication Settings, Advanced MIOTY Settings, counters and masked Network Key"><figcaption></figcaption></figure>

## Basic

* **End Point EUI** — the endpoint's unique identifier, exactly 16 hexadecimal characters. This is the address the network knows the unit by. The field's hint reads **16 hex characters (e.g., 01-23-45-67-89-AB-CD-EF or 0123456789ABCDEF)**, so you can type or paste it with or without dashes. A value that is not 16 hex characters is rejected.

## Network

These fields describe how the endpoint places its telegrams on air.

* **Short Address** — the compact identifier the endpoint uses on the radio link, entered in hexadecimal. Valid values run from **0001** to **FFFF**; zero is not a valid short address and will be rejected. Assign short addresses deliberately across a site rather than at random — a scheme tied to zone or line makes a large rollout far easier to reason about later.
* **Carrier Offset (Hz)** — optional. Shifts the endpoint's carrier within the band. Set it when the manufacturer's commissioning data or your site's frequency plan calls for it; leave it alone otherwise. It must be a whole number from 0 to 2147483647. The hint on the field is candid that it is informational: KiloCenter stores the value but does not send it to the base stations.
* **Type EUI** — read-only. This is filled in from the blueprint you select or author for the device, and identifies the endpoint's payload type. You do not enter it by hand. See [MIOTY Blueprints](/devices/mioty-blueprints).

## Communication

* **Bidirectional (BiDi)** — a checkbox for bidirectional communication. Enable it for endpoints that must receive as well as transmit.
* **Pre-Attachment (PreAtt)** — a checkbox for pre-attachment. Pre-attached devices are sent to the base stations as soon as they are created, which suits devices with pre-shared keys. Leave it off for devices that attach over the air, and use **Attach** on the device page for those (see below). A unidirectional endpoint cannot attach over the air, so the form keeps it pre-attached and says so; switching a new endpoint to bidirectional turns pre-attachment off for you.

Both settings are properties of how the unit is configured and specified by the manufacturer. Match the form to the hardware rather than choosing preferences here.

## Attach and Detach: control the endpoint from its device page

Registering a device record and having the base stations serve it are two different things, so the **Connection** tab of a saved MIOTY device carries a **mioty endpoint** panel that shows where the endpoint stands and lets you change it:

While the panel loads it reads **Loading endpoint status…**, and if the platform cannot get the status it reads **Endpoint status unavailable**; reload the page to try again. Once it loads, it shows:

* **Attach status** reads **Attached**, **Detached**, **Attaching** or **Unknown** (KiloCenter may report a state the platform does not know yet), next to **Last seen**, which says **Not heard yet** until the first uplink arrives.
* **Attach** sends a pending configuration to the base stations or brings a detached endpoint back into service.
* **Detach** stops service on purpose. A dialog titled **Detach the endpoint?** asks you to confirm first because **the base stations stop serving this device: its uplinks are no longer received and no downlinks are sent until it is attached again.** Confirm with **Detach**; if the request fails, a toast reads **Failed to detach the endpoint**. It is the clean way to take an endpoint out of service without deleting its twin, history or rules.
* **Configuration pending** appears in orange when you have changed settings that the base stations have not received yet, worded **Configuration pending: the base stations keep the previous settings until the endpoint is attached again.** Click **Attach** after editing a live endpoint.

Users with view-only access see the status but not the buttons.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-9770221a6cb2f4963d93840f0bb1de18e2f6b027%2Fkilo-mioty-device-attach-status.jpg?alt=media" alt="The mioty endpoint panel of a MIOTY device showing Attach status Attached, Last seen Not heard yet, the Attach and Detach buttons and the Reception panel waiting for first data"><figcaption></figcaption></figure>

## Advanced MIOTY Settings

These checkboxes tune the endpoint's radio behavior and exist for deployments that need them. Set them to match the endpoint's own configuration:

* **Dual Channel Mode** — two frequency channels for reliability and capacity, at the cost of more power use
* **DL Repetition** — repeats downlink messages for reliability in poor signal conditions
* **Wide Carrier Offset** — uses the wide carrier offset range
* **Long DL Interblock Distance** — uses a longer downlink interblock distance

Use the manufacturer's provisioning values. If a parameter is not documented, confirm it with the supplier before changing it; omitting it from a commissioning sheet does not establish what the hardware uses.

## Counters

* **Last Packet Counter** — the packet counter position.
* **Attach Counter** — the attachment counter.

Both are **0** for a new device, and you enter them only while creating it: after the device is saved they become read-only, so a stray edit cannot misalign a running endpoint. A note under the pair says so: **Counters are set when the device is created. KiloCenter keeps them up to date afterwards.** They exist so that a device record can be aligned with an endpoint that already has history — for example when you are migrating a unit that has been running elsewhere. For a unit out of the box, leave them at zero.

Aligning the counters lines up the *record*. It does not move the endpoint onto your network. A MIOTY endpoint attaches to one network at a time, and a unit that was running on another service center is still attached there — it will not appear under your base stations because you created a device record for it. Reset the endpoint so it attaches again, following the manufacturer's procedure for your model. Once a base station picks it up, the device's **Connection** tab moves to *Reached network — waiting for data*. See [Device Diagnostics](/devices/device-diagnostics) for how that lifecycle reads on the platform.

## Security

* **Network Key** — required. Exactly 32 hexadecimal characters. This is the key that secures the endpoint's link to the network; without a valid one the device cannot be saved.
* **Application Key** — optional. Provide it where the endpoint's payload is application-encrypted. You can clear it later, and the field's hint spells out what that does: clearing the key removes application-layer encryption for this device. Only clear it when the endpoint itself no longer encrypts its payload.

### Add to Vault

Endpoint credentials have a way of ending up out of reach — on a label on a unit that is now sealed inside an enclosure on a pipe rack. Click **Add to Vault** on the device form to store the End Point EUI and Network Key pair in Key Vault, where they are recoverable independently of the hardware and the sticker.

Do it at commissioning, while the credentials are still in front of you. Recovering a unit whose Network Key you no longer have on file means opening the enclosure — and some manufacturers only give the key back over a wired connection, if they give it back at all. See [Key Vault](/reports/key-vault).

## Validation — what blocks a save

The form will not save until these hold:

| Field                          | Requirement                                                    | What you see if it fails                                                                                                                                        |
| ------------------------------ | -------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **End Point EUI**              | Exactly 16 hexadecimal characters                              | The field reports that the EUI must be 16 hex characters                                                                                                        |
| **Short Address**              | Hexadecimal, in range **0001**–**FFFF**                        | The field is rejected; zero is not valid                                                                                                                        |
| **Network Key**                | Exactly 32 hexadecimal characters, required, and not all zeros | The field reports *Network Key must be 32 hex characters* or *Network Key must not be all zeros*; KiloCenter cannot attach an endpoint whose key is zero-filled |
| **Carrier Offset**             | Optional; a whole number from 0 to 2147483647                  | The field reports the allowed range                                                                                                                             |
| **Application Key**            | Optional; 32 hexadecimal characters when supplied              | The field reports an invalid key                                                                                                                                |
| **Last Packet** and **Attach** | Whole numbers from 0 to 4294967295                             | The field reports an invalid counter                                                                                                                            |

If registration reports an EUI conflict, check for an existing endpoint registration and confirm which twin should own that physical device. Do not create another twin to work around a replacement binding.

## Decoding telemetry

A MIOTY endpoint's telemetry is **not decoded until a blueprint is selected for it**. Until then the device is registered and attached, but its payloads are not turned into named measurements — which means nothing usable reaches dashboards, rules, or history.

Blueprint Configuration lives on the same device form. You can pick an existing blueprint from the catalog or author a new one from JSON, and the choice is copied onto the device as its own independent snapshot. That snapshot model is what makes it safe to change catalog templates on a production fleet.

To check a decoder before you rely on it, use **Test decoder** in the blueprint section: paste a **Sample payload (hex or base64)**, choose the **Format** (a drop-down when the blueprint lists its formats; otherwise a number field whose helper text reads **User data format of the uplink (0-255)**) and click **Run test**. If the payload cannot be decoded, the result area shows **Decode failed** or the error detail the decoder reports. The **Decoded result (read-only)** shows what the endpoint's real messages will turn into. The result clears itself whenever you change the payload, the format, the blueprint or the model, so you never read an answer that belongs to an earlier input. See [MIOTY Blueprints](/devices/mioty-blueprints).

## What's next

* **Bind a blueprint** so the endpoint's payloads decode into named fields. See [MIOTY Blueprints](/devices/mioty-blueprints).
* **Map metrics** to normalize decoded fields across manufacturers. See [Metrics](/devices/metric-templates).
* **Complete the shared registration flow** — device info, Metrics, Logs. See [Registering Devices](/devices/registering-devices).

## Inspect keys privately

**Network Key** and the optional **Application Key** use the same secret-field controls: typing reveals the value, leaving the field or pressing Enter masks it, and the eye control changes visibility. Values loaded from a QR code remain masked. Keep keys hidden when sharing registration screenshots.


# MIOTY Blueprints

Decode MIOTY payloads in Kilo IoT with blueprints — System vs Custom catalog and per-device snapshots.

A MIOTY **blueprint** turns a device's compact radio payload into named fields you can use in Kilo, such as temperature, battery level, or a meter reading. Choose the decoder matching your endpoint, then map those fields to metrics for dashboards, rules, and alarms.

The blueprint is the decoding specification; the **endpoint** is the communicating sensor or meter. Keeping the decoder associated with its device model makes the same interpretation reusable when you add more units of that model.

A blueprint is stored as JSON, a structured text format, and is associated with a device-type identifier called `typeEui`. Choose the blueprint that matches the endpoint's model and payload format; registering a device alone does not decode its telemetry.

The catalog is arranged as **Manufacturer → Device Model → Blueprint**. Use **Blueprint Configuration** on the [MIOTY device form](/devices/mioty-devices) to select an existing entry or define a custom one.

A blueprint describes the endpoint's payload; the digital twin identifies the asset. When changing endpoint models on an existing twin, choose the decoder for the replacement and map its output onto the retained measurements. Check units as well as field names so values before and after the change are comparable. See [Device Management](/devices/device-management#replace-a-physical-sensor).

## The idea that matters most: per-device snapshots

When you select a blueprint for a device, it is **copied onto that device as an independent snapshot**.

The device is not a live pointer into the catalog. It carries its own copy of the decoder. Which means:

* **Editing a catalog blueprint does not change devices already bound to it.** They keep running on the copy they were commissioned with.
* **Removing a catalog entry later does not break devices already using it.** They keep decoding on their snapshot; the device form then shows **Pinned snapshot (source template deleted)** and the entry can no longer be chosen for new devices.
* **Two devices of the same model can run different blueprints.** A pilot batch on a corrected decoder and a production fleet on the proven one is a normal state, not a conflict.
* **A new version reaches a device only when you explicitly apply it.** Nothing about a catalog edit propagates on its own.

This is the same model the platform uses for LoRaWAN codecs, and it exists for a specific reason: on a fleet of several thousand endpoints, an accidental decoder edit that silently rewrote how every unit interpreted its payload would be an outage you would discover through your dashboards. The snapshot boundary means catalog work and production behavior are separate concerns. You improve a template freely; you roll it out on your schedule.

## System and Custom catalogs

The catalog is split into two, and the two are never mixed in one list — you switch between them.

| Catalog    | Who can see and use it                                                          | Who can change it                                                                                                                                               |
| ---------- | ------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **System** | Everyone — manufacturers, models, and blueprints are usable by any organization | Not in the device form. With **System** selected the form is read-only and says **System catalog is read-only. Switch to Custom to create or edit blueprints.** |
| **Custom** | Your organization                                                               | Users with permission to edit the device can create blueprints and add versions to their own models in the device form                                          |

Using a System blueprint on a device creates **only the snapshot on that device**. Nothing is copied into your Custom catalog, and your Custom catalog stays exactly as you built it.

The practical split: System covers the hardware the platform already knows. Custom is where your own decoders, your vendor-specific variants, and your firmware-revision corrections live.

## Using an existing blueprint

This is the path for hardware the catalog already covers.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-c4f5c231486fd0af3eabc8d9693327065e87f476%2Fdevice-mioty-blueprint-config.jpg?alt=media" alt="The Blueprint Configuration section of a MIOTY device with the Custom and System catalog toggle, the Use existing blueprint checkbox and the Manufacturer dropdown"><figcaption></figcaption></figure>

1. On the device form, open the **Connection** tab and find **Blueprint Configuration**.
2. Use the **Custom / System** toggle first. **Custom** is your organization's catalog; **System** is the shared one. A chip next to the toggle shows which catalog is active.
3. In **Custom**, tick **Use existing blueprint**. In **System** the pickers are always shown and the checkbox is not.
4. Select the **Manufacturer**.
5. Select the **Device Model**. The list narrows to that manufacturer's models.
6. Select the **Blueprint Version**. Each entry reads like `name (version)`.

The decoder specification appears under **Blueprint specification (read-only)** for review, followed by the **Test decoder** panel, and the **Type EUI** auto-fills on the device form and is not editable — it comes from the blueprint. Save the device, and the blueprint is snapshotted onto it.

Once that has happened the device is labeled **Pinned snapshot**, so you can see at a glance that what you are reading belongs to this device rather than to the shared catalog entry. If the catalog blueprint it was copied from has since been deleted, the label reads **Pinned snapshot (source template deleted)** — the device is unaffected and keeps decoding on its own copy, but the label tells you there is no longer a catalog entry behind it to compare against.

The **first blueprint created for a model becomes the default for new devices of that model** — so once a model is set up correctly, commissioning the rest of the fleet is a matter of selecting the model.

## Authoring a new blueprint

Take this path when the catalog does not cover your hardware, or when a firmware revision decodes differently from the existing entry.

1. Set the **Custom / System** toggle to **Custom** and clear **Use existing blueprint**. Authoring is not available in the System catalog.
2. **Manufacturer** — select an existing one, or choose **+ Add new manufacturer**, type a **New manufacturer name**, and click **Add**.
3. **Device Model** — pick an existing model, or choose **+ Add new model** and fill **Device model name** and the optional **Device model description**. If the name duplicates a model under that manufacturer, the form flags it — check whether you actually want to add a version to that model instead.
4. For an existing model, a **Blueprint Version** list appears. Pick a version to edit it, or choose **+ New version**. A note reminds you that editing a template updates it for new devices only.
5. **Blueprint version (e.g. 1.0.0)** — enter a version. Version deliberately, not incidentally; this string is what your team will use to tell two decoders apart in a year. The field is locked while you edit an existing version.
6. **Blueprint specification (JSON)** — paste the decoder into **Paste blueprint JSON**. It must be valid JSON and must contain a `typeEui` of exactly 16 hexadecimal characters.
7. When the specification is valid, a helper displays the parsed value — **"Type EUI: …"** — confirming what the device will be bound to.
8. Check the result in **Test decoder** (below), then click **Save Blueprint** (**Save changes** when you edited an existing version). A toast confirms *"Blueprint created"*, and the new model, version, and Type EUI are filled into the device form.

### Validation messages

| Message                                                 | What it means                                                                                                                                       |
| ------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |
| **"Blueprint specification must be valid JSON"**        | The pasted text does not parse. Check for a trailing comma, a truncated paste, or smart quotes from a document.                                     |
| **"typeEui must be 16 hex characters"**                 | The `typeEui` field is present but not exactly 16 hexadecimal characters.                                                                           |
| A message directing you to **"Use existing blueprint"** | The `typeEui` is already used by an existing model. That payload type is already in the catalog — select it rather than creating a competing entry. |

That last one is worth understanding rather than working around. The `typeEui` identifies a payload type. If it already exists, the correct move is to use the existing model — and if you need a different decoder for it, add a version to that model.

## Which other messages can the Blueprint Configuration section show?

| Message or control                                                               | What it means                                                                                                                                                                                                                                                                                                                          |
| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **System catalog is read-only. Switch to Custom to create or edit blueprints.**  | You have the **System** toggle selected. The form does not author System entries; switch to **Custom** to author your own.                                                                                                                                                                                                             |
| **This device model has no default blueprint. Pick a version above.**            | The model exists but no version is marked as its default. Choose a **Blueprint Version** yourself.                                                                                                                                                                                                                                     |
| **+ Add new manufacturer**                                                       | Opens **New manufacturer name**; type the name and click **Add**.                                                                                                                                                                                                                                                                      |
| **+ Add new model**                                                              | Opens **Device model name** and **Device model description (optional)**. A model name that already exists under the manufacturer is flagged: **A device model with this name already exists under this manufacturer**.                                                                                                                 |
| **+ New version**                                                                | Authors another version under an existing model. **Blueprint version (e.g. 1.0.0)** is flagged if it exists already: **A blueprint with this version already exists for this device model**. The note under the list says **Editing a template updates it for new devices only; devices already attached keep their pinned snapshot.** |
| **Save Blueprint** / **Save changes**                                            | The button reads **Save Blueprint** for a new blueprint and **Save changes** when you edit an existing one.                                                                                                                                                                                                                            |
| **The source blueprint was deleted and no snapshot is pinned to this endpoint.** | The catalog entry is gone and the device never received a snapshot, so there is nothing to show. Pick another blueprint.                                                                                                                                                                                                               |

## Decode preview

In **Test decoder**, enter a known **Sample payload (hex or base64)**, choose the **Format** (the user-data format of the uplink) and click **Run test**. Read **Decoded result (read-only)** or the red error beneath the input, which says **Decode failed** or gives the decoder's own error detail. This previews decoding without requiring a live transmission.

Use it. A blueprint that parses as JSON is not the same thing as a blueprint that decodes correctly — scaling factors, byte order, and signed values are the classic places a decoder is syntactically perfect and semantically wrong. A sample payload with a known value takes a minute at the bench and saves you from discovering the problem as a temperature chart that reads plausibly and is off by a factor of ten. Take a payload from the device's own documentation, or from a unit you have already commissioned.

## Applying a new version

Because devices run on snapshots, a new blueprint version reaches a device only when you apply it:

1. Author the new version under the same manufacturer and model.
2. Open the device you want to move.
3. In Blueprint Configuration, select the new **Blueprint Version**.
4. Save.

Roll out to one device first and confirm its decoded fields against the live payload before you move the fleet. The snapshot model is what makes this staged rollout possible — the rest of the fleet is untouched while you verify.

## Tips

* **Author once, commission many.** For a fleet rollout, get the blueprint right on one unit with **Test decoder**, then let the model default carry the rest.
* **Version on firmware, not on dates.** When a vendor ships a firmware revision that changes the payload, that is a new blueprint version. Name it so the connection is obvious.
* **Prefer System where it fits.** If the System catalog covers your hardware, use it — you get the decoder without owning its maintenance, and your device still gets its own snapshot. To make changes to a System entry, ask your administrator or Kilo.
* **Map metrics after decoding.** A blueprint produces named fields; metric templates normalize those fields into a vocabulary shared across manufacturers. See [Metrics](/devices/metric-templates).

## What's next

* **Commission the endpoint** — the MIOTY device form section by section. See [MIOTY Devices](/devices/mioty-devices).
* **Normalize the decoded fields** — map them to your deployment's measurement vocabulary. See [Metrics](/devices/metric-templates).


# MQTT Devices

Connect MQTT equipment to Kilo digital twins, configure device routing, map readings, check history and replace hardware.

An **MQTT device** supplies readings to Kilo by publishing messages to an MQTT broker. It can be equipment with its own MQTT client or a sensor connected through a bridge. The broker connection carries messages; the device's routing settings associate them with a **digital twin**, and its mapping turns message fields into stored measurements.

For example, an energy meter connected through an MQTT bridge can supply power and cumulative energy readings to **Workshop Energy Meter**. Operators can compare usage over time without making the bridge identity the asset identity.

## Before you start

* Set up a [Cloud MQTT](/connectors/mqtt-connector/cloud-mqtt) connection when Kilo provides the broker, or [External MQTT](/connectors/mqtt-connector/external-mqtt) when your equipment already publishes to another broker. Those guides cover broker addresses, credentials and connectivity.
* Have the publisher's exact topic and a sample payload available. Configure the hardware or bridge to publish before completing measurement mapping.
* You need device-create/edit permission and available subscription capacity for a new twin. Read-only access lets you inspect settings without changing them.

For industrial protocol adapters, see [MQTT Edge Gateways](/gateways/mqtt-edge-gateways). A bridge must publish a payload the configured routing can interpret; MQTT connectivity alone does not imply automatic decoding of every vendor format.

## Connect one device

1. Open **Devices → Add device**, or choose **Add device** from your MQTT connector row.
2. Enter **Device name**, such as **Workshop Energy Meter**, optionally add photos, and click **Save**. See [shared registration steps](/devices/registering-devices) for profile and Application settings.
3. On **Connection**, select your MQTT connection under **Connector type**. Enter **Device ID** as `EM-4492` for this example.
4. In **MQTT Topic for device ID**, add a **Text segment** containing `meters` and a **Device ID** segment. Keep **Where to get the device ID** set to **Topic**. The device-level pattern is `meters/{{deviceId}}`.
5. Compare **Resolved preview** with the publisher's actual topic. For Cloud MQTT, the preview includes the locked connector prefix, and the publisher must include that prefix too. For External MQTT, use the publisher's full topic without adding a Cloud prefix.
6. Leave **Topic Telemetry** empty for the JSON example below. Set **Data sending interval** to the expected reporting cadence, then click **Save**.
7. Let the publisher send a fresh message. Open **Mapping** and select templates and received keys for the measurements you need. Save, then allow another message to arrive.
8. Open **Logs** and select a date range containing that message. Confirm the mapped measurements have recorded values.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-7c85ab64d7dcc1cbb595a0bfedd518158c2ecd2f%2Fdevice-mqtt-topic-builder.jpg?alt=media" alt="Kilo MQTT device Connection settings with Device ID, topic segments, resolved preview and reporting interval"><figcaption><p>The Cloud prefix is locked; build the device topic from text and Device ID segments.</p></figcaption></figure>

### Example topic and payload

| Setting                   | Example                                                                            |
| ------------------------- | ---------------------------------------------------------------------------------- |
| Digital device name       | `Workshop Energy Meter`                                                            |
| Device ID                 | `EM-4492`                                                                          |
| Device-level topic        | `meters/EM-4492`                                                                   |
| Cloud publishing topic    | `{Topic prefix}/meters/EM-4492` — substitute the prefix supplied by your connector |
| External publishing topic | `meters/EM-4492`                                                                   |

```json
{"power": 824.5, "energy": 1284.2}
```

Map `power` to a Float template in W and `energy` to a Float template in kWh, **only if those are the units supplied by the meter**. Mapping labels units; it does not rescale the values.

## Connection fields and actions

| Control                                | How to configure it                                                                                                                                                                                                                                                                                                                                 |
| -------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Connector type**                     | Select the Cloud or External MQTT connection receiving this publisher's messages. **Connector section** opens connection setup if the required connection is missing.                                                                                                                                                                               |
| **Device ID**                          | Required, 1–64 characters: ASCII letters, digits, spaces, `.`, `_` or `-`. MQTT identifiers preserve case and spaces. Match the extracted topic segment or payload identifier exactly; `Sensor1` and `sensor1` differ. The identity is locked after binding. A simple whitespace-free name is convenient, but spaces are not automatically removed. |
| **MQTT Topic for device ID**           | Build the topic pattern matching the messages you want this device to receive. The Cloud prefix is read-only; do not enter it again as a text segment.                                                                                                                                                                                              |
| **Where to get the device ID**         | **Topic** reads the Device ID segment. **Payload** reads a field inside the message; configure its **Payload template** and remove the Device ID segment from the device topic pattern.                                                                                                                                                             |
| **Payload template / Payload preview** | In Payload mode, enter a dot-separated path such as `deviceInfo.deviceId`. The preview illustrates the expected JSON shape; it does not publish or validate a message.                                                                                                                                                                              |
| **Topic Telemetry**                    | Optional rows for values carried in topic segments. Leave empty for ordinary JSON payloads. See the [routing reference](/connectors/mqtt-connector/topics-and-device-routing#topic-telemetry) for every row control, including **Apply all**.                                                                                                       |
| **Data sending interval**              | Positive whole number and **minute**, **hour**, **day**, **week**, or **month**. Starts at **1 hour**. Match your publisher's expected cadence; this setting does not change the publisher's schedule. For event-driven sensors, consider their heartbeat/reporting behavior when interpreting missing-data diagnostics.                            |
| **Detach physical device**             | Removes the saved binding immediately. Use it to replace a publisher on the same twin, then restore routing and map its incoming fields to the existing measurements.                                                                                                                                                                               |
| **Save**                               | Saves the device connection, routing and key assignments. Review any error before assuming new messages follow the edited configuration. **Apply all** and topic previews do not save.                                                                                                                                                              |

The [Topics and Device Routing](/connectors/mqtt-connector/topics-and-device-routing) reference explains segment editing, validation, nested payloads, topic-value extraction and arrival timestamps.

## Map messages to retained measurements

**Mapping** lists available incoming keys alongside the templates you assign. Click **Add key**, select the **Normalized key**, and choose a **Device data key**. The key dropdown is populated from received messages, so it may be empty until the device publishes after its connection is saved.

You can save the connection first and return to mapping once keys arrive. If you already added template rows, keep them and complete their key assignments. The **Value** and **Last update** columns show received field snapshots; they do not prove that history has been recorded. A blank data-key selection records nothing for that measurement. Save mappings and wait for a fresh publish: earlier messages are not backfilled.

The mapping **Data type** is **Telemetry**, including reported switch states you want to record. The template's **Type** determines how a value is interpreted. For example, `"ON"`/`"OFF"` need String; actual `true`/`false` can use Boolean. An incompatible value is rejected for that measurement rather than saved as a null reading.

See [mapping controls](/devices/device-management#metrics-tab) for Unit, Type, inline metric creation, removal and the effect of replacing a template. Revisit mapping when firmware begins publishing useful additional fields.

## Commands and replacing hardware

A saved MQTT binding can expose **Commands & States**. A receiving device must subscribe to the configured command topic and understand the command payload; receiving telemetry alone does not establish that capability. Use [Creating Commands](/devices/commands/creating-commands) for topic addressing, JSON parameters, encoders and feedback verification.

When hardware changes, keep **Workshop Energy Meter** and its existing measurements. Follow [device replacement](/devices/device-management), update the physical Device ID and routing, and reconnect the new keys. Review command topics and expected feedback too. History already retained under those measurement identities stays associated with the twin, subject to the retention period.

## If setup does not work

| Symptom                                            | Next check                                                                                                                             |
| -------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- |
| Connection cannot be saved                         | Non-empty topic, matching identifier mode/path, valid Device ID, required telemetry row fields, permissions and duplicate identifiers. |
| Broker receives messages but no device keys appear | Compare the resolved topic, Cloud prefix, identifier spelling and payload path with a real message.                                    |
| Keys appear but Logs is empty                      | Check saved mapping, compatible types, a fresh message and the selected history range.                                                 |
| Only some readings are missing                     | Inspect actual payload fields and normalization errors; nested JSON fields use dot-separated names.                                    |
| Old buffered readings appear with a recent time    | MQTT measurements use arrival time. A `timestamp` payload field is ordinary data, not an instruction to backdate history.              |

See [MQTT Troubleshooting](/connectors/mqtt-connector/troubleshooting) and [device diagnostics](/devices/device-diagnostics).


# Emulated Devices

Create an emulated device in Kilo IoT — device presets, data keys and types, reporting interval, and the swap to real hardware.

An emulated device registered on the Kilo IoT Server is a Digital Twin like any other — same profile, same dashboards, same rules, same alarms. What is specific to it is that the platform generates its telemetry instead of receiving it from hardware. That makes it the way to build and prove a deployment before any sensor exists.

This page covers the Emulator-specific fields on the device form and the Emulator tab. The surrounding registration workflow — naming the device, the Mapping tab, the Logs tab, saving — is the shared flow documented in [Registering Devices](/devices/registering-devices).

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-3821bbabd3b8fae17eaac44f13b63813b5e5044f%2Femulator-device-metrics.jpg?alt=media" alt="An emulated device configured from a device preset, showing its metrics with their data types"><figcaption></figcaption></figure>

## Prerequisites

* **An Emulator connector.** One per organization, with nothing to configure. See [Emulator Connector](/connectors/emulator-connector).
* **Nothing else.** No credentials, no identifiers from a manufacturer, no gateway, no radio coverage. That is the point of it.

## Selecting the connector

On the device form, open the **Connection** tab and choose the Emulator connector as the connector type. The form then presents the fields below.

| Field                     | What it does                                                                                                                                                                                                                                                                                  |
| ------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Device ID**             | The identifier this emulated device reports under. 1–64 characters, using letters, digits, spaces, `.`, `_` and `-`. It must be **unique across the whole platform**, not just within your organization, so a readable but specific value such as `cold-room-01` works better than `sensor1`. |
| **Data sending interval** | How often the device emits a reading, as a number plus a unit (for example 10 minutes). Choose something close to the real sensor's reporting rate so your rules behave realistically.                                                                                                        |
| **Support commands**      | Turn this on to give the device a **Commands & States** tab, so you can define and run commands against it exactly as you would against physical hardware. See [Device Commands](/devices/commands).                                                                                          |
| **Use device preset**     | Start from a real device model instead of typing metrics by hand.                                                                                                                                                                                                                             |

Unlike every other connector, the interval here is not a description of a schedule the hardware already keeps — it is the schedule. The platform emits on it.

## What does each tab of the device editor show?

Open **Devices** in the main menu and select **Edit** at the end of a device's row, or open a device from an application's **Content** tab. The **Edit device** page has a row of tabs: **Device info**, **Connection**, **Emulator** (only for emulated devices), **Commands & States** (only when **Support commands** is on and commands are enabled for your account), **Mapping**, **Attributes**, **Calculated data**, and **Logs**. **Attributes** and **Calculated data** appear only when those features are enabled for your account; if you do not see them, they are not switched on yet. The screens below are an emulated device from an installed solution.

### Device info

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-facbdeab5ba8a888fb11066f94ac54a3dceebac5%2Fkilo-solutions-device-info.jpg?alt=media" alt="The Device info tab of Edit device with an Add photo box, a Device name field, and an Application menu"><figcaption><p>The Device info tab. Select Next to continue to the Connection tab.</p></figcaption></figure>

* **Add photo** accepts a PNG or JPG by drag and drop or by browsing; about 5 MB is the recommended size. A photo makes the device easy to spot in lists.
* **Device name** (required) is the name shown on dashboards, in rules, and in lists.
* **Application** adds the device to an application so it travels with that application's dashboards, rules, and alarms. Leave it on **Default** to keep the device standalone. The link under the field opens your applications list.

### Connection

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-8e8f748de286aa7bb05ef1fd263213cd8996d53a%2Fkilo-solutions-device-connection.jpg?alt=media" alt="The Connection tab of an emulated device showing Connector type Emulator, a Swap connection link, Device ID, Data sending interval, Support commands, device data keys with data types, and a Reception panel reading Receiving and storing LIVE"><figcaption><p>The Connection tab of an emulated device. The Reception panel at the bottom confirms that readings are arriving.</p></figcaption></figure>

* **Swap connection** (top right) starts swapping this device to a real connector. [Going live](#going-live-swapping-to-a-real-device) walks through it.
* **Connector type** shows the connector in use. For a device that already exists it is read-only, with a link to the **Connector section** for adding new connectors.
* **Device ID** is the identifier the device reports under, shown grayed out once created.
* **Data sending interval** sets how often the emulator emits a reading: a number and a unit such as minute.
* **Support commands** gives the device a **Commands & States** tab.
* **Use device preset** starts from a real device model instead of hand-typed metrics.
* Each row holds a **Device data key**, a **Data type** (Integer, Boolean, and so on), an **Emulator** button that opens the generation settings for that metric, and a trash icon that removes the metric. **Add device data key** adds another row, and **Save** stores the changes.
* The **Reception** panel at the bottom summarizes the live state, for example **Receiving & storing** with a **LIVE** badge, how many sensors are mapped, and when the last value arrived. **Details** expands it.

### Emulator

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-78b7bc893fee80e40293d007bbaf6812485a2031%2Fkilo-solutions-device-emulator.jpg?alt=media" alt="The Emulator tab listing each device data key with a Value field, Save and Send once buttons"><figcaption><p>The Emulator tab. Each metric has a value box, a Save button, and a Send once button.</p></figcaption></figure>

The tab explains itself: *Manually set the value to test rules and alarms. Data is sent considering the data sending interval. Send once transmits a single reading.* Every metric has a read-only **Device data key**, a **Value** box (a number box showing the placeholder **For example: 42**, or a menu for true and false values), **Save** to pin the value, and **Send once** to transmit a single reading. **Send once** stays disabled until you enter a value.

### Mapping

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-bd81e8fd5df45948bca32c955fbba0746103c18a%2Fkilo-solutions-device-mapping.jpg?alt=media" alt="The Mapping tab with columns Device data key, Value, Last update, Normalized key, Unit, Type and Data type, and a delete icon on each row"><figcaption><p>The Mapping tab shows each metric's latest value and how it maps to a normalized key.</p></figcaption></figure>

The columns are **Device data key** (the raw name), **Value** and **Last update** (the latest reading), **Normalized key** (the shared metric name; see [Metrics](/devices/metric-templates)), **Unit**, **Type**, and **Data type**. The trash icon on a row removes that metric, and **Save** stores the changes. The line under the title reminds you that these metrics are defined by the device configuration, so you add or rename them on the **Connection** tab.

## Starting from a device preset

Ticking **Use device preset** opens a list of real sensor models. Pick the one you have — or the one you have on order — and the platform fills in that model's actual measurements for you.

A multi-sensor preset, for instance, fills in its full set of readings — temperature, humidity, air quality and the rest — each with the right data type, and sets a sensible reporting interval. It is the fastest way to get a realistic device, and it means the metric names you build dashboards against are the ones the real sensor will send.

> **A preset replaces the current metric configuration and interval.** If rows already exist, confirm **Replace the current metrics?** before applying it. Saving can remove measurements and their accessible history when they are no longer in the configuration. Select a preset before collecting operational data. Turning off **Use device preset** keeps the current rows; it does not restore the previous configuration.

**Device presets are not** [**device profile templates**](/devices/registering-devices#for-lorawan-devices-lns-connector)**.** A LoRaWAN device profile template configures how a physical device talks to the network — class, band, codec. A device preset describes what an emulated device *measures*, and exists only on the Emulator.

## Defining metrics by hand

Without a preset — or alongside one — use **Add device data key** to define each measurement:

* **Device data key** — the metric name, such as `temperature`. This is what dashboards, rules and mappings refer to.
* **Data type** — `Float` for anything with decimals, `Integer` for whole numbers, and the other supported types for booleans and text. See [Metrics](/devices/metric-templates) for how types normalize across a deployment.

Use **Float** for decimal readings. Manual **Integer** inputs must be whole numbers: `1.5` is rejected. Enter decimal values with a dot, such as `1.5`, rather than a comma.

## The Mapping tab shows the emulator's own definition

An emulated device's readings live in its emulator configuration, so the **Mapping** tab reads from that configuration rather than from a separate list of sensors. That keeps the two from drifting apart:

* Deleting a row on **Mapping** removes the metric from the emulator configuration, together with its mapping, when you save. It no longer comes back after a save under a new sensor ID without a data key.
* The **Device data key** column and the platform name are read-only. The key belongs to the emulator configuration, and the platform name is derived from it.
* There are no **Add new metric** buttons on this tab, because a new metric needs generation settings that only **Connection** collects. Add the key there with **Add device data key**, then return to **Mapping**.
* Changing which metric a row uses swaps that row's metric cleanly, instead of leaving the old one behind as a second row claiming the same key.

## Configure generated behavior

On **Connection**, click **Emulator** beside a data key to adjust how it behaves:

| Data type        | Settings                                                                                                                                                                                                                                                                                      |
| ---------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Integer or Float | A **Range** with **From** and **To** (values never leave it), a **Baseline** with **Holds around**, and a **Variability** slider from **Steady** to **Jumpy** that sets how widely the value wanders around the baseline. From must be below To, and the baseline must lie within that range. |
| Boolean          | **Default state** and **Activity**: Rare, Occasional, or Frequent changes away from it.                                                                                                                                                                                                       |
| String           | **Values & weights** and **Stickiness**, which controls how long a value is held. Use 1–32 nonempty values, each at most 64 characters, with positive whole-number weights totaling 100%.                                                                                                     |

Click **Apply** to keep the settings, or **Reset** to return the window to its defaults, then save the device. Use plausible ranges for the scenario: a refrigeration temperature signal needs different settings from an air-quality signal. **Data sending interval** accepts whole minutes, hours, or days, from one minute to one day. A **second** unit (5 seconds minimum) appears in the unit menu only when it is enabled for your account.

An emulator configuration accepts up to **50 signal keys** and **20 preset command definitions**. Each key must be nonempty and at most **256 characters**. Manual text overrides are limited to **256 characters**.

## Sending values

Once the device is saved, its **Emulator** tab lists every metric with two controls:

* **Save** pins a value. The device keeps reporting that value on its interval, which is how you hold a tank at 8% or a freezer at −18 °C while you watch a rule react.
* **Send once** transmits a single reading immediately, without changing what the device reports afterwards. This is the one to use when you want to trip a threshold on demand.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-2695eeadc51725a02749cf5f8a5ce62cb3d764fe%2Femulator-manual-value.jpg?alt=media" alt="The Emulator tab with a temperature value entered and Send once ready to transmit"><figcaption></figcaption></figure>

Sending a value is a **write action** — it feeds history, rules and alarms exactly as real telemetry does. A user with read-only access can view an emulated device but cannot inject readings into it. See [Users and Permissions](/account/users-and-permissions).

Clear a pinned input and click **Save** to resume generated values. For dropdown inputs, choose **No manual value** and save. **Send once** requires a value and leaves the stored pin unchanged. Save a newly added metric before trying to pin or send its value.

## Running commands against an emulated device

With **Support commands** enabled, the device gets a **Commands & States** tab and behaves like controllable hardware. This is what lets you build and rehearse a closed loop before the equipment exists: a rule detects a condition, sends a command, and the alarm records that it happened. Commands addressed to the emulator affect its generated state. A rule using its readings can still control other connected equipment, so check the rule's actions before sending a generated value.

An emulator command changes generated state. Its editor offers **No verification** only and has no radio acknowledgement; use fresh readings to inspect the resulting state. See [Creating Commands](/devices/commands/creating-commands) and [Executing Commands](/devices/commands/executing-commands).

## Going live: swapping to a real device

This is the step the Emulator is built around. When the hardware arrives, open the device's **Connection** tab and change the connector from **Emulator** to the real one — LoRaWAN, for instance — then supply the identifiers the physical device needs.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-ab1c3c7b8c3c1f3f07be752212a48df88c51910a%2Fkilo-solutions-swap-connection.jpg?alt=media" alt="The Connection tab in swap mode with an empty Connector type menu and a Cancel swap link where Swap connection was"><figcaption><p>Selecting Swap connection puts the tab in swap mode: the link becomes Cancel swap and Connector type opens for a new choice. Nothing changes until you choose a connector and select Save.</p></figcaption></figure>

1. On the **Connection** tab select **Swap connection**. The link becomes **Cancel swap**, and **Connector type** becomes an editable menu.
2. Open **Connector type** and choose the real connector, for example LoRaWAN or MQTT.
3. Enter the identifiers the physical device needs, then select **Save**. To back out, select **Cancel swap**.

Everything else about the device stays: its name, its place on your dashboards, the rules bound to it, its alarm definitions and escalation chains. You are replacing the source of the data, not rebuilding the deployment.

The swap is deliberately restricted to pairs that involve the Emulator — emulator to real, or real back to emulator. Swapping directly between two physical connector types is not offered, because the device identifiers and payload mappings differ enough that the mapping has to be rebuilt anyway.

> Going the other way is just as useful: move a real device onto the Emulator to reproduce a problem, then move it back.

### Check the transition to measured data

The twin keeps its measurement history across the swap, including generated readings. Note when real measurements begin so synthetic temperatures are not mistaken for a refrigerator's observed operating conditions. Use a separate demonstration twin when simulated readings must remain outside the asset's operational record.

Check the real source's connector keys and map them to the retained measurements. Confirm fresh values and timestamps before relying on dashboards or alarms. For replacement of existing physical hardware, see [Device Management](/devices/device-management#replace-a-physical-sensor).

## Copying an emulated device

Copying preserves the emulator's signal definitions and generator settings, reporting interval, **Support commands** setting, and preset command definitions. The form clears **Device ID**: supply a new unique identifier and review the device name before saving.

The saved copy receives its own measurements and begins a separate history. Earlier readings remain with the original twin. Check the copied signal settings before using it in rules, and inspect fresh values after saving.

If the device record saves but the emulator configuration fails, reopen **Connection**, correct the reported problem, and save again. An empty set of generated readings does not mean the copy inherited the original history.

See [Device Management](/devices/device-management#copying-a-device).

## Ask the assistant to do it

The whole workflow above is available in plain language through the [IoT AI Assistant](/ai-assistant). It can list the available device presets, provision an emulated device, read and update its configuration and interval, send a one-off reading, and take the device live onto a real **LoRaWAN** connection when your hardware arrives. It can also move any real device onto the Emulator. Swapping an emulated device onto a Mioty, Tracker or MQTT connector is a manual step on the Connection tab — the assistant does not offer it.

## What's next

* **Build automations against emulated data** so they are proven before go-live. See [Rules Engine](/rules-engine).
* **Rehearse an escalation chain** end to end without waiting for a real failure. See [Alarms](/alarm).
* **Complete the shared registration flow** — device info, Metrics, Logs. See [Registering Devices](/devices/registering-devices).


# Device Commands

Send downlink commands from Kilo IoT Server to control devices — by hand, from a rule, or by asking the AI assistant.

Monitoring tells you what a device is doing. **Commands** let you change it. With Device Commands, the Kilo IoT Server stops being a one-way data pipe and becomes a two-way control plane: you define the actions a device can perform, then dispatch them on demand from the device page, from a dashboard, or automatically from a [rule](/rules-engine/running-device-commands).

Almost anything a device can be told to do is a command. Switch a relay or smart plug on or off. Dim a luminaire to 40% and set its color temperature to 4000 K. Push a new temperature setpoint to an HVAC controller. Open or close a valve. Reboot a gateway-attached controller, change its reporting interval, or write a configuration register. If the hardware accepts a downlink, the platform can send it — and it sends it the same way whether the device speaks **MQTT** or **LoRaWAN**.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-2a84a855f44382b67cb5c0993fc3924e2ba71320%2Fdevice-command-states.jpg?alt=media" alt="The Commands &#x26; States tab on a device, listing commands and recent executions"><figcaption></figcaption></figure>

Commands belong to the [digital device](/devices) and operate through its current physical connection. When replacing an actuator, review its command routing, payload, and feedback measurements before sending a command: keeping the twin does not make different hardware models understand the same instructions.

## Why it matters

Without an integrated command layer, controlling a device means leaving the platform: a separate vendor app, a hand-built MQTT publisher, a script that crafts raw downlink bytes, or a field technician with a laptop. Each of those is an unmanaged path with no audit, no verification, and no shared definition of what "turn it on" actually means for a given model.

Device Commands collapses that into one modeled, reusable, auditable surface:

* **Define once, reuse everywhere.** A command is a named action with typed parameters. Operators execute it without ever seeing the raw payload, byte layout, or topic.
* **Protocol-agnostic control.** The same command concept covers an MQTT downlink to a smart plug and a LoRaWAN downlink to a Class C controller — the platform handles the encoding and delivery for each.
* **Closed-loop confidence.** Commands can verify that the device actually acted, not just that the message left the building (see [Confirming Commands](/devices/commands/verification)).
* **Full execution history.** Every dispatch is recorded with the parameters it carried, its outcome, and when it happened — so operations and compliance teams can see exactly what was sent to a device and what came of it.

## Where commands live

Commands are managed on the device's detail page, under the **Commands & States** tab. The tab has two sub-tabs:

* **Commands** — the design surface. Define, edit, and remove the actions a device can perform. See [Creating Commands](/devices/commands/creating-commands).
* **States** — the operations surface. Execute available commands and review the lifecycle and result of every past execution. See [Executing Commands](/devices/commands/executing-commands).

The **Commands & States** tab appears for devices that can receive downlinks:

* **MQTT devices** — any device connected through an MQTT connector.
* **LoRaWAN devices** — a saved physical attachment makes commands available. Class A receives downlinks after an uplink; Class C can listen between uplinks. Choose settings and timing that match the hardware.
* **Emulated devices with Support commands enabled** — an [emulated device](/devices/emulated-devices) behaves like controllable hardware, which lets you define and rehearse a full command workflow before the equipment exists.

A device is considered **controllable** once it has at least one command defined — that is also what makes it selectable for a dashboard [Control widget](/dashboards/adding-widgets/control-widget).

## Prerequisites

Before you can control a device, make sure:

1. **The device can receive downlinks** — it is connected over MQTT, it is a LoRaWAN device that accepts downlinks, or it is an [emulated device](/devices/emulated-devices) with **Support commands** enabled. The **Commands & States** tab itself appears only when commands are enabled for your account.
2. **At least one command is defined** — an empty device exposes nothing to execute. Start in [Creating Commands](/devices/commands/creating-commands).
3. **You have the access to manage or execute commands** — defining commands and dispatching them are governed by your organization's access policy.
4. **Parameters are valid** — when a command takes inputs (a brightness level, a setpoint), the values must satisfy the limits set on each parameter before the command will send.

## How control fits together

There are five ways to send a command to a device:

* **From the device page** — the **States** tab, where you execute any of the device's commands and review their history.
* **From a dashboard** — a [Control widget](/dashboards/adding-widgets/control-widget) binds a command to a Switch or Button so anyone with dashboard access can operate the device without opening its detail page.
* **From a rule** — the [Rules Engine](/rules-engine) can now dispatch a command automatically when a condition is met, using an Execute Command node. The same command you run by hand is sent by the rule with no one in the loop — so an out-of-bounds reading at 3 a.m. closes the valve itself. See [Running Device Commands](/rules-engine/running-device-commands).
* **By asking the assistant** — the built-in [IoT AI Assistant](/ai-assistant) lists what a device can do, runs one of those commands after showing you what it will send and waiting for your confirmation, then reports whether it was delivered. See [Building with AI](/ai-assistant/building-with-ai).
* **From your own AI client** — connect ChatGPT, Claude or any other MCP client and it can do the same, scoped to your permissions and recorded like any other dispatch. See [MCP Server](/api/mcp-server).

Every route ends in the same place: the command definitions on this tab, the same execution pipeline, and the same history. Defining a command well is what makes all five safe.

The Alarm system works alongside all of them: it makes sure the right people are told when a condition is met — whether or not a rule has already acted on it. Acting and alerting are complementary, and a single rule can do both: contain the problem with a command *and* raise the alarm so the team knows.

Continue to [Creating Commands](/devices/commands/creating-commands) to define your first action.


# Creating Commands

Define a device command in Kilo IoT Server — MQTT or LoRaWAN routing, typed parameters, payload encoding, and a test.

A command is a reusable, named action with typed inputs. You build it once in the command editor; afterward, operators run it from the **States** tab or a dashboard without touching topics, byte layouts, or payload templates.

To start, open the device's **Commands & States** tab, stay on the **Commands** sub-tab, and click **Add new command**. The editor has Identity, Routing, Payload, and Verification sections. An emulator omits Routing, so its sections are numbered differently.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-b842588354cc2fb0d6baf4ba38908dd00e1ffc8d%2Fdevice-commands-empty.jpg?alt=media" alt="The Commands sub-tab of a device with no commands defined yet and the Add new command button"><figcaption></figcaption></figure>

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-e5d148689cf5bd708377bbea23e9bbbc92f79a5c%2Fdevice-command-editor.jpg?alt=media" alt="The command editor showing the Identity, Routing, and Payload sections"><figcaption></figcaption></figure>

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-16b7e4a311ed70cc19da5994658025d94848e3fe%2Fkilo-mioty-command-delivery.jpg?alt=media" alt="The command editor of a MIOTY device: 1. Identity, 2. Delivery with the Confirmed downlink switch, and 3. Payload with Send as-is or Process with encoder"><figcaption></figcaption></figure>

## 1. Identity

Give the command a clear, action-oriented name — this is what operators see when they execute it.

* **Command name** — Required. Use an imperative label such as `Reboot controller`, `Set brightness`, or `Open valve`. Names must be unique on the device; reusing one raises *"A command with this name already exists on this device."*
* **Description** — Optional but recommended. One line on what the command does and when to use it.

## 2. Routing

Routing tells the platform *where* and *how* the message is addressed. The fields differ by protocol.

### MQTT devices

* **MQTT topic** — Where the message is published on the broker. Required.
  * For a Cloud MQTT connection, the read-only **topic prefix** is shown and you supply the remainder (for example `mqtt-test-01/set`). The device must subscribe to the full topic — prefix plus your value.
  * For an External MQTT connection, enter the full topic exactly as it is published on your broker (for example `devices/light-01/cmd`).
  * A topic must be at most 500 characters, must not contain the wildcards `#` or `+`, must not have empty segments (`a//b`), and must not begin with `iot/`, `external/`, or `external-downlink/` — those prefixes are reserved for the platform's own traffic.
* If another command on the same connection already publishes to the topic you enter, the editor flags the overlap so you can avoid accidentally colliding two actions on one topic.
* fPort and Confirmed downlink do not apply to MQTT — those are LoRaWAN settings. (MIOTY has its own **Delivery** switch, described below.)

### LoRaWAN devices

* **fPort** — Required. The LoRaWAN port the downlink is addressed to, an integer between **1 and 223**.
* **Confirmed downlink** — A toggle:
  * **On — wait for MAC ACK:** the network waits for the device to acknowledge receipt at the radio layer.
  * **Off — fire-and-forget at MAC layer:** the downlink is sent without waiting for an acknowledgment.
  * Turn this **on** if you intend to verify the command with *Query after ack* in section 4 — that strategy waits for the acknowledgment, so it cannot be saved against an unconfirmed downlink.
* LoRaWAN downlinks are raw bytes, so the payload always goes through an encoder — the send-as-is mode offered for MQTT is not available here.

### MIOTY devices

A MIOTY downlink is addressed by the endpoint itself, so the editor shows no fPort and no MQTT topic. Where a LoRaWAN command has a **Routing** step, a MIOTY command has **2. Delivery** ("How the device confirms that it received the command."), which holds one switch labeled **Confirmed downlink**. Its helper text reads: *The device is asked to answer right after it receives the command, so the confirmation comes back at once instead of with its next scheduled uplink.* The switch states are:

* **On — the device answers right after it receives the command.** The confirmation comes back at once.
* **Off — the confirmation comes with the next scheduled uplink.**

The editor reminds you that a MIOTY downlink is sent after the next uplink in which the device opens a receive window, so a command is not delivered the instant you press send; plan for the device's reporting rhythm. Both payload modes are offered, and an encoded command always carries its own encoder, because there is no codec on the MIOTY path. All three verification strategies are available. If the service center reports no result before its deadline, the execution says *Delivery outcome unknown: the mioty service center reported no result by the deadline.* instead of guessing. See [MIOTY Devices](/devices/mioty-devices).

### Emulated devices

An emulator needs no MQTT topic or fPort. Its direct payload must be an object whose keys match the generated data keys, such as `{"valve_open": true}`. If you choose encoded mode, provide a custom encoder returning that object. Enable **Support commands** on the device first.

### Devices that cannot take commands

Tracker-connected devices are receive-only on the platform: they report in, and there is no downlink path back to them. They do not offer a Commands tab.

## 3. Payload

This section defines the message body and the inputs that shape it.

### Parameters

Parameters are the typed inputs an operator fills in at execution time — a brightness percentage, a setpoint, a mode. Click **Add Parameter** for each one. Per parameter:

* **Name** and **Description** — the description is shown to operators in the Execute dialog, so make it useful.
* **Type** — one of:
  * **Integer** / **Float** — numeric, with optional **Min**, **Max**, and **Default**. A default outside the range is rejected, and **Max** must be greater than **Min**.
  * **String** — with an optional comma-separated **Enum** (for example `auto, manual, off`), and a **Default**.
  * **Boolean** — with a **Default** of `No default`, `true`, or `false`.

Typed parameters are what make commands safe to hand to an operator: a setpoint can't be sent out of range, and a mode can only be one of the allowed values.

### Building the message body

**MQTT** offers two modes:

* **Send as-is** — Publish the JSON body directly. Best when the device or an upstream consumer accepts JSON.
* **Process with encoder** — Run the body through an encoder function before publishing.

In encoder mode (and always for LoRaWAN, where downlinks must be raw bytes), you define an **Encoder input template** — the JSON object passed to the codec, using `{{ parameterName }}` placeholders to substitute the operator's inputs. Every placeholder must match a parameter defined above. For LoRaWAN, the platform notes that downlinks are bytes, so an encoder is always required; you can use the encoder in the device codec or turn on **Use custom encoder JS** to override it with a per-command function.

For encoded MQTT commands, **Custom encoder** is required; there is no fallback to a LoRaWAN codec. An encoded emulator command also requires its own encoder and returns a data object rather than radio bytes.

For MQTT commands that send a payload verbatim (direct mode), you provide the **Direct payload** here, which is sent as written — `{{ parameterName }}` substitution still applies for typed values. The target **MQTT topic** is set in section 2 (Routing), not here.

## Try Encoder

Whenever a command uses an encoder, the editor includes a **Try Encoder** tool (titled **Code function** for LoRaWAN, **Custom encoder** for MQTT). Enter test inputs and run it to see exactly what will be transmitted before you save:

* the encoded **Output**, or an **Error** if the function failed
* the result as **Hex** and **Base64**, plus the payload **Size** in bytes
* any **Console log** output and the execution time

This turns payload encoding from a guessing game into a verifiable step — you confirm the bytes are right before a single command ever reaches a device.

## 4. Verification

The fourth section decides how the platform confirms the command actually took effect — send and forget, wait for the device's next uplink, or poll the device after it acknowledges. It is where you declare which sensor should change and what it should read.

This section has a page of its own: see [Confirming Commands](/devices/commands/verification). To find out which values the device reports back — and in what form — see [Payload Decoding and Connector Keys](/devices/payload-decoding).

## Review commands after hardware replacement

Open each retained command and check **Routing**, **Payload**, and **Verification** against the replacement model. A different protocol, command format, or feedback field needs corresponding changes here. Keep feedback bound to the appropriate retained measurement, and confirm the new hardware reports the expected result before returning a control to routine use.

## Saving

Click **Save** to add the command to the device. It immediately appears in the **Commands** list and on the **States** tab, ready to execute. To change it later, reopen it from the Commands list with **Edit**; to remove it, use **Delete**. Deleting a command that other commands still reference as their query command fails until those references are removed.

## Next

* Decide how the platform confirms a command worked — see [Confirming Commands](/devices/commands/verification).
* Run a command and watch its lifecycle — see [Executing Commands](/devices/commands/executing-commands).

## Which messages can the command editor show?

Fields turn red and show a message under them while something blocks **Save**. Fix the field and the message disappears.

| Where                       | Message                                                                                                                                                            | What to do                                                                                                                                                                                       |
| --------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| **1. Identity**             | **Command name is required**                                                                                                                                       | Enter a name in **Command name**.                                                                                                                                                                |
| **1. Identity**             | **A command with this name already exists on this device.**                                                                                                        | Names must be unique per device; pick another.                                                                                                                                                   |
| **2. Routing** (MQTT)       | **MQTT topic is required**                                                                                                                                         | Fill **MQTT topic**. The helper reads **Full topic as it is published on your broker.**, or, when a topic prefix is shown, **The device must subscribe to the full topic: prefix + this value.** |
| **2. Routing** (MQTT)       | **Heads-up: N other command(s) on this connection use the same topic: …**                                                                                          | Not an error. Two commands publish to the same topic, and the message lists them as device / command.                                                                                            |
| **2. Routing** (LoRaWAN)    | **fPort is required** and **fPort must be an integer between 1 and 223**                                                                                           | Enter a whole number from 1 to 223. **Confirmed downlink** reads **On — wait for MAC ACK** or **Off — fire-and-forget at MAC layer**.                                                            |
| **3. Payload** (parameters) | **Max must be greater than Min**                                                                                                                                   | Raise Max or lower Min on that parameter.                                                                                                                                                        |
| **3. Payload** (parameters) | **Default value … is outside the \[min, max] range.**                                                                                                              | Pick a default inside the range.                                                                                                                                                                 |
| **3. Payload** (encoded)    | **Encoder input template must be a JSON object**                                                                                                                   | The template must be valid JSON in curly braces.                                                                                                                                                 |
| **3. Payload** (encoded)    | **Empty template produces an empty downlink. Add at least one key (encoded by the Connection codec), or turn on the custom encoder to build the payload in code.** | Add a key to the template, or switch on the custom encoder.                                                                                                                                      |
| **3. Payload** (direct)     | **Direct payload must be valid JSON** and **Empty payload produces an empty downlink. Add at least one key.**                                                      | Fix the JSON or add a key.                                                                                                                                                                       |
| **3. Payload**              | **Placeholder {{ name }} does not match any parameter defined above.**                                                                                             | Every `{{ placeholder }}` needs a parameter with the same name.                                                                                                                                  |
| **4. Verification**         | **Add at least one expected state to verify the result.**                                                                                                          | Click **Add State**. See [Confirming Commands](/devices/commands/verification).                                                                                                                  |
| **4. Verification**         | **Expected value is required**                                                                                                                                     | Type a literal value or a `{{ parameter }}`.                                                                                                                                                     |
| **4. Verification**         | **This sensor is no longer mapped on the device. Pick another metric.**                                                                                            | The sensor was removed from the device's mapping; choose a mapped one.                                                                                                                           |
| **4. Verification**         | **No sensors mapped on this device yet**                                                                                                                           | Map sensors first in the device's **Mapping** tab (the **Mapping section** link under the list opens it).                                                                                        |

## Parameter and editor actions

**Add Parameter** creates another input. Give each parameter a distinct non-empty **Name** and select Integer, Float, String or Boolean. Use the same name inside `{{ parameterName }}` placeholders. The **Remove** control deletes that parameter from the edited command; update payload and expected-value placeholders that referred to it before saving.

Numeric **Min** and **Max** are optional bounds; if both are supplied, Max must exceed Min. An optional numeric **Default** must fit the range. For String, **Enum (comma-separated, optional)** defines allowed values; separate choices with commas, and choose a matching Default when using one. 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** lists inputs available to your function. Fill **Test inputs** for the parameter values, then use **Try Encoder** to inspect output or an error and any console messages. This previews encoding; it does not send 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. Read-only access disables editing. To execute a saved command, follow the execution guide; configuring its payload does not itself operate the hardware.


# Confirming Commands

How Kilo IoT Server confirms a command took effect — no verification, next-uplink check, or query after the ack.

Command verification helps you follow a request through to device feedback. After sending a saved command, Kilo can compare a reported reading with the state you expected, such as a valve's reported position. That gives operators more information than a delivery receipt alone.

Verification is optional: choose **No verification**, **Wait for next uplink** (the next incoming message), or **Query after acknowledgement**, according to the command and device. Sending or accepting a command does not by itself prove physical execution.

Emulated devices offer **No verification** only. Their generated values can exercise dashboards and rules, but do not verify delivery to physical hardware.

Configure the check per command in **section 4** of the [command editor](/devices/commands/creating-commands). The strategies below explain what each result can tell you.

## No verification

Fire-and-forget. The command is sent and the platform does not check the result.

With this strategy, an execution is marked **Delivered as soon as the downlink is accepted for delivery — not when the device acts on it.** (The green **Delivered** status means exactly that: sent, but unverified — distinct from **Confirmed**, which only a verification strategy can produce. The warning the editor shows under this option says the execution is marked *Confirmed*; in the execution list the status you will see is **Delivered**.) There is no guarantee the action had any effect. This is appropriate for non-critical, idempotent actions where a missed command is harmless and will be re-sent anyway, but never rely on it as proof that something physically changed.

## Wait for next uplink

After the command is sent, the platform waits for the device's next regular uplink and checks it against the **expected sensor states** you define. When the reported values match, the execution is confirmed.

This suits devices that report on a schedule and reflect their state in normal telemetry — for example, a controller that includes its current setpoint or relay position in every uplink.

## Query after ack

The most thorough option. After the device acknowledges the command, the platform sends a **query command** — a small read that pokes the device for its current state — and matches that query's uplink response against the expected states.

On a LoRaWAN device, turn **Confirmed downlink** on in section 2 (Routing) before choosing this strategy. The query is sent once the device acknowledges the command, so there has to be an acknowledgment to wait for — the command will not save otherwise. If you would rather not use a confirmed downlink, choose *Wait for next uplink*.

* **Query command** — Select an existing query command, or **create a new one** inline. A query command is a dedicated, lightweight command type: a **state-polling read with no operator parameters**, so there is nothing to fill in at execute time. It is always itself set to **No verification** — the query *is* the verification step, and its uplink is what gets checked, so it carries no verification block of its own. Any command that takes no parameters and uses No verification can serve as a query command and appears in this list. Once saved it appears in the Commands list, flagged as suitable as a query, and can be reused by any other command's *Query after ack*.
* In the **New query command** dialog you define the payload that polls the device. For MQTT devices, choose whether to **Send as-is** (deliver the payload exactly as written) or **Process with encoder** (run it through the device's encoder first).
* The query runs after the device acks, and its response is evaluated against the expected states below.

Use this when a device does not volunteer its state in routine uplinks but will answer a direct read.

## Expected sensor states

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-790ad766b881ec2bfe4167b00af37dd8014e79b3%2Fkilo-command-verification-expected-states.jpg?alt=media" alt="Section 4 Verification of the command editor with Wait for next uplink selected: the Expected sensor states list with the Add State button and the message Add at least one expected state to verify the result, and the Convergence timeout field"><figcaption></figcaption></figure>

Both *Wait for next uplink* and *Query after ack* check the device's reported telemetry against the states you declare here. Click **Add State** to add a row, and fill in the two fields below. Add at least one row — the command will not save without it, and a row only counts when both its **Metric** and its **Expected value** are filled in. The editor flags the incomplete field in place (*Select a metric* or *Expected value is required*) and keeps **Save** disabled, so a half-filled row can no longer be dropped silently and leave the command saved without the check you thought you had.

### Metric

Select the sensor that the command changes. A command that switches a relay is checked against the sensor reporting the relay's state, not against battery level or signal strength.

The dropdown lists the device's sensors under the names you gave them when mapping — the same names you see on dashboards and in rules. Those names are not the field names inside your decoder: a decoder that outputs `socket_status` may appear here as *Socket status*. To see which sensor carries which decoded field, open the device's Mapping section — see [Payload Decoding and Connector Keys](/devices/payload-decoding).

Choose a sensor that is already mapped and receiving readings. Unmapped sensors also appear in this list, and a command checked against one never receives a value to compare, so verification cannot confirm the expected state. If the device has no sensors mapped yet, the editor links you to the Mapping section to set them up first.

### Expected value

Enter the value the sensor should report once the command has taken effect. Write it exactly as the device reports it — open the device's Mapping section and read the sensor's current value to see the form to copy.

**For a text state**, type it directly. Match the reported spelling, for example `ON` for a device reporting `ON`.

**For a number or a true/false state**, reference a command parameter instead of typing the value: enter `{{ parameterName }}` and declare that parameter as Integer, Float, or Boolean in the payload section. A value you type is always treated as text, so a typed `1` looks for the text `1` and will not match a device reporting the number 1.

**To follow the operator's input**, use the same `{{ parameterName }}` reference — a "set brightness" command can check that the device now reports whatever brightness was requested. The name must match a parameter defined in the payload section; the editor flags it if it does not.

| The sensor reports  | Enter                                          |
| ------------------- | ---------------------------------------------- |
| `ON`                | `ON`                                           |
| `open`              | `open`                                         |
| `60` (a number)     | `{{ level }}`, with **level** declared Integer |
| `true` (true/false) | `{{ state }}`, with **state** declared Boolean |

If a command keeps finishing as *Soft warning* even though the device clearly responded, check this field first: compare what you entered against the value the sensor is actually reporting in the Mapping section.

## Convergence timeout

The **Convergence timeout** is how long the platform waits for the reported state to match before it gives up.

* Leave it empty to use the platform default of **1.5 × the device's data sending interval**. Set that interval accurately on the device first, because the default follows it.
* Or enter a positive whole number of seconds, up to **86400** (24 hours). The editor does not flag a value it cannot use: an empty box, zero, a negative number or text silently falls back to the default above, and the server rejects anything over 86400 when you save.
* If the window passes without a match, the execution is marked **Soft warning** rather than Failed — the platform could not confirm the expected result within the window. Check Details to distinguish missing acknowledgement from missing state feedback. This distinction matters operationally: a soft warning is "we couldn't confirm," not "it definitely failed."
* Review the execution details before sending the action again, especially if repeating it could have another effect.

## Choosing a strategy

| Strategy             | Confirms                                        | Best for                                            |
| -------------------- | ----------------------------------------------- | --------------------------------------------------- |
| No verification      | Dispatch status, without a reported-state check | Low-stakes, repeatable actions                      |
| Wait for next uplink | Reported state on the next scheduled message    | Devices that report their state routinely           |
| Query after ack      | Reported state from a direct query              | Devices that answer reads but don't volunteer state |

Once verification is set, move on to [Executing Commands](/devices/commands/executing-commands) to dispatch the command and watch the result. For the whole sequence on one device — payload, verification and execution — see [Example: Smart Socket](/devices/commands/smart-socket-example).


# Executing Commands

Dispatch device commands from the States tab in Kilo IoT Server and track each to confirmed, soft-warning, or failed.

Once a device has commands defined, the **States** sub-tab of the **Commands & States** tab is where you operate it. It shows what you can run, lets you dispatch a command with its parameters, and records the outcome of everything you've sent.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-e74a4f82293990804b0f2c1f00d28c14a5309a51%2Fdevice-command-execute.jpg?alt=media" alt="The Execute command dialog, setting a parameter value before dispatch"><figcaption></figcaption></figure>

## Available commands

The **Available commands** table lists every command defined on the device:

| Column           | Shows                                  |
| ---------------- | -------------------------------------- |
| **Name**         | The command's action-oriented name     |
| **Description**  | What it does                           |
| **Parameters**   | How many typed inputs it takes         |
| **Verification** | How the platform confirms the result   |
| **Execute**      | The action that dispatches the command |

If the table is empty, the device has no commands yet — open the **Commands** sub-tab and define one (see [Creating Commands](/devices/commands/creating-commands)).

## Executing a command

Click **Execute** on a command to open the **Execute command** dialog.

* If the command has no parameters, the dialog simply confirms there is nothing to set — press **Execute** to send it.
* If it takes parameters, fill in each **Value**. Numeric inputs show their allowed range (for example `Min: 0 - Max: 100`), and the dialog enforces the limits defined on the command, so you can't dispatch a value the device would reject.
* Click **Execute** to dispatch, or **Cancel** to back out.

The command is sent to the device and the platform begins tracking it according to the command's verification strategy.

## When a device is offline

The States view disables **Execute** when the device's last-seen time is more than 30 minutes ago. The banner shows when it was last seen. This is separate from reception diagnostics, which uses the configured reporting interval: a healthy hourly device can therefore show as offline for interactive commands between reports.

If no last-seen time is available, this banner does not establish reachability. Check the connection and fresh telemetry. After sending, review **Recent executions** for delivery or verification results before deciding whether to send again.

## Recent executions

Every dispatch is logged in the **Recent executions** table, giving you a running history of control activity on the device:

| Column      | Shows                               |
| ----------- | ----------------------------------- |
| **Command** | Which command was run               |
| **Started** | When it was dispatched              |
| **Updated** | When its status last changed        |
| **Status**  | The lifecycle outcome (below)       |
| **Details** | A plain-language note on the result |

### Execution status

The platform collapses the full delivery lifecycle into five clear outcomes:

* **Pending** — In flight. The command has been dispatched and is moving through delivery and (if configured) verification.
* **Confirmed** — Verified success. Verification was configured, and the device's reported state matched what was expected.
* **Delivered** — The downlink was accepted for delivery, but the command uses **No verification**, so the platform isn't checking whether the device acted on it. The command went out; its effect is unverified by design — distinct from the verified **Confirmed**.
* **Soft warning** — Receipt or the expected state was not confirmed in time. Read Details to distinguish missing acknowledgement from missing feedback; the status does not establish that the device acted.
* **Failed** — The command did not go through. The **Details** column explains why — for example a validation failure or a full device downlink queue.

The **Details** text gives the human-readable reason behind each status, so triaging a problematic command rarely requires leaving the page.

### Common reasons in the Details column

When a command lands on **Soft warning** or **Failed**, the Details column names the cause in plain language. The ones you'll see most often:

| What Details says                                                                      | What it means                                                                                                             |
| -------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- |
| Device downlink queue is full.                                                         | The device's pending-downlink queue is saturated — wait or clear it before re-sending.                                    |
| Validation failed.                                                                     | The request didn't pass validation — check the command's parameters and payload.                                          |
| Payload too large for the device.                                                      | The encoded payload exceeds what the device accepts at its current data rate.                                             |
| Sent, but the device didn't confirm receipt.                                           | The downlink went out but no acknowledgment came back (confirmed downlinks).                                              |
| Sent, but the device didn't confirm the expected state in time.                        | Delivered, but the expected sensor state didn't arrive within the convergence window.                                     |
| Delivery outcome unknown: the mioty service center reported no result by the deadline. | A MIOTY command left, but the service center gave no result in time. Check the device's next uplink before sending again. |
| Device offline — command not delivered in time.                                        | The device wasn't reachable within its receive window.                                                                    |
| No gateway available to reach the device.                                              | No gateway was in range to transmit the downlink.                                                                         |
| Broker authentication failed.                                                          | The MQTT connection rejected the publish — check the connector's credentials.                                             |
| The command couldn't be sent. Please try again later.                                  | A transient dispatch error — retry.                                                                                       |
| Invalid payload — check the command.                                                   | The payload was malformed for the device — revisit the encoder or template.                                               |

These are the common cases; other messages can appear, and the platform passes through the underlying reason when it has a more specific one.

## Operating commands from a dashboard

For day-to-day control, you don't have to open the device detail page at all. Add a [Control widget](/dashboards/adding-widgets/control-widget) to a dashboard, bind it to a controllable device's command, and anyone with access to that dashboard can operate the device with a single Switch or Button — backed by the same execution pipeline and history described here.

You can also dispatch a command by asking. The built-in [IoT AI Assistant](/ai-assistant) will list a device's commands, run one after showing you what it is about to send and waiting for your confirmation, and then report the delivery status — and an external client connected over the [MCP Server](/api/mcp-server) can do the same. Either way the dispatch runs through the pipeline described on this page and lands in the same history.

## Related

* [Creating Commands](/devices/commands/creating-commands) — define the actions a device can perform
* [Confirming Commands](/devices/commands/verification) — set how the platform verifies a result
* [Example: Smart Socket](/devices/commands/smart-socket-example) — build and verify two commands end to end
* [Control widget](/dashboards/adding-widgets/control-widget) — put a command on a dashboard
* [Building with AI](/ai-assistant/building-with-ai) — run a command by asking the assistant
* [MCP Server](/api/mcp-server) — run a command from ChatGPT, Claude or another AI client


# Example: Smart Socket

Build on and off commands for a smart socket in Kilo, run them from the device, and check that each one worked.

This walkthrough builds two commands on one device and verifies that they worked. It uses an illustrative mains-powered LoRaWAN socket and byte layout. Use the port, payload, and feedback values specified for your actual model; these example bytes are not a universal socket command.

Follow it in order — each section produces something the next one needs.

## Before you start

* The LoRaWAN socket is registered and transmitting. This example uses Class C for responsiveness; Class A receives downlinks after an uplink.
* You can see its readings on the **Mapping** tab.

## 1. Find out how the device reports its state

Open the device and go to the **Mapping** tab. Look through the connector keys table for the field that carries the relay state, and note two things: the field name, and the value it is showing right now.

For this socket:

| Connector key   | Current value |
| --------------- | ------------- |
| `socket_status` | `off`         |

That value is what a verification check will compare against later, so write it down exactly as it appears — `off`, not `OFF` or `false`.

If the field is not mapped to a metric yet, map it now: the command editor selects sensors by their metric name, so an unmapped field cannot be used to verify anything. See [Payload Decoding and Connector Keys](/devices/payload-decoding).

In this example `socket_status` is mapped to a metric named **Socket status**.

## 2. Create the Turn ON command

Open **Commands & States → Commands** and click **Add new command**.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-e5d148689cf5bd708377bbea23e9bbbc92f79a5c%2Fdevice-command-editor.jpg?alt=media" alt="The command editor with the identity, routing and payload sections of a device command"><figcaption></figcaption></figure>

**1. Identity**

* **Command name** — `Turn ON`

**2. Routing**

* Set the **fPort** specified for your socket and turn **Confirmed downlink** on.

**3. Payload**

This command takes no parameters — it always sends the same thing — so add none, and define the payload the encoder should build. The illustrative payload uses three bytes: channel `0x08`, type `0x70`, and the state, `0x01` for on.

Set **Encoder input template** to `{"relay_on": true}`, enable **Use custom encoder JS**, and enter:

```javascript
function encodeDownlink(input) {
  return { bytes: [0x08, 0x70, input.data.relay_on ? 0x01 : 0x00] };
}
```

Use **Try Encoder** to check the result before saving. It shows the encoded output in hex and base64 with its size in bytes, so you can confirm the payload is `08 70 01` before the command ever reaches the device.

**4. Verification**

Choose **Wait for next uplink** — the socket reports its state in every routine message, so there is no need to poll it.

Under **Expected sensor states**, click **Add State**:

* **Metric** — *Socket status*
* **Expected value** — `on`

Use the spelling reported by the mapped String measurement. If your model reports `ON` instead, use `ON`. See [Confirming Commands](/devices/commands/verification#expected-value).

Click **Save**.

## 3. Create the Turn OFF command

Repeat the steps above with three changes:

* **Command name** — `Turn OFF`
* **Encoder input template** — `{"relay_on": false}`, producing the state byte `0x00`
* **Expected value** — `off`

Everything else stays the same.

## 4. Run them and check the result

Go to the **States** tab, find **Turn ON** in the Available commands list, and click **Execute**.

Watch the entry appear in **Recent executions**:

1. It starts as **Pending** while the downlink is on its way.
2. When the socket's next message arrives reporting `socket_status: on`, the execution turns **Confirmed** — the platform has seen the device in the state you asked for.

Run **Turn OFF** and the same thing happens in reverse.

## If the execution never confirms

An execution that stays unconfirmed until its window closes is marked **Soft warning**. Read its Details to see whether acknowledgement or state confirmation was missing. Work through these in order:

1. **Check the value.** Open the Mapping tab and read what `socket_status` reports now. If the socket switched but reports `1` rather than `on`, the expected value has to match that form — and a typed literal is always text, so use a `{{ parameterName }}` reference to a Boolean or Integer parameter instead.
2. **Check the metric.** Make sure the Metric you selected is the one fed by `socket_status`, and that it is mapped and receiving readings.
3. **Check the window.** The default window is 1.5 × the device's data sending interval. If that interval is not set on the device, set it — see [Convergence timeout](/devices/commands/verification#convergence-timeout).
4. **Check the payload.** Run **Try Encoder** again and compare the bytes against the manufacturer's documentation.

## Next

* Put the two commands on a dashboard with a [Control widget](/dashboards/adding-widgets/control-widget) so the team can switch the socket without opening the device.
* Let a rule operate the socket on its own — see [Running Device Commands](/rules-engine/running-device-commands).


# Cameras

Bring cameras from every site and brand into one Kilo workspace, keep your hardware, and store recordings in your own cloud.

Open **Cameras** in the main navigation to use **Lens**, Kilo’s camera monitoring product.

**Lens** brings video cameras into Kilo IoT Server alongside devices, sensor readings, rules, and alarms. It gives teams a common place to view compatible cameras and use camera motion as an input to operational workflows.

Existing cameras need not become a separate replacement project. A business with different camera brands in New York, Washington, and London can connect compatible RTSP feeds to the same Kilo organization. Operators gain a shared platform for video and IoT information instead of relying on a different manufacturer's application for each installation.

Lens exists for four reasons:

* **One place for every site.** Cameras from different brands and offices appear in one organization, with one access model.
* **Keep the hardware you own.** Any camera that offers a compatible RTSP stream can connect, so a rollout does not start with a replacement budget.
* **Smart features without smart cameras.** Motion zones and rules run off the camera, so older cameras gain features through software updates.
* **Video next to your sensors.** Camera readings use the same rules, alarms, and dashboards as every other device, and recordings can be kept in storage you own.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-b41dbcfa6839273a1bb27c572513f6616e2bf4c0%2Fkilo-lens-live-view.jpg?alt=media" alt="Two different camera brands together in the Kilo Lens workspace"><figcaption><p>Tapo and HiLook cameras connected to the same Kilo organization, shown in Preview mode.</p></figcaption></figure>

## Why use Kilo Lens?

### What problem does Lens solve for companies with several offices?

Picture a company with offices in Berlin, London, Cologne, Amsterdam, and Washington, D.C. Each office bought its cameras at a different time, from a different vendor. The camera industry is as fragmented as IoT, so every vendor ships its own phone app, and security staff end up switching between several of them. Nothing shows all offices together, and nobody can easily answer who has access to which camera.

Lens puts every compatible camera into one Kilo organization. You open one **Live view**, save a [videowall](/lens/videowalls) for each site, and manage access in one place. Each member of the organization gets **Edit**, **View**, or **No access** to Cameras. Only **Edit** opens Lens, so you decide per person who can see video, and you remove a departing colleague once. Access is set per feature, not per location, so use separate organizations if two sites must never share a camera list.

### Do you have to replace your cameras to use Lens?

No. Lens connects to the RTSP stream that a wide range of IP camera models can provide, and supported ONVIF cameras also expose discovery and camera controls. Check your model's stream settings in [RTSP Camera URLs](/lens/rtsp-camera-urls) before you buy anything. A site can adopt Lens one camera at a time and keep its existing recorders and wiring.

### How does Lens make a simple camera smart?

Expensive cameras do their analysis on a chip inside the camera. Lens moves that work off the camera. Today, you draw a motion zone on any feed, and Twin watches only that area for changing pixels. A loading-dock camera from several years ago can raise an alarm when someone moves near the door, with no built-in analytics. See [Motion Zones](/lens/motion-zones).

Detection today is motion inside the zones you draw. It does not recognize people, vehicles, or plates. Understanding what a camera sees is the direction we are building toward, not a feature you can use today.

### Where do you keep the recordings?

You can keep clips on the Twin host, or send an encrypted copy to your own Amazon S3, Google Cloud Storage, or Walrus storage. You pay your storage provider directly, and your own retention policy applies. See [Cloud Archive](/lens/cloud-archive).

### What changes when video sits next to your sensors?

Each camera becomes a device in Kilo, with a **Camera motion** reading and a **Camera status** reading. Rules, alarms, and dashboards treat them like any temperature or door sensor. Today a rule can combine a camera's motion with a door sensor's state and raise an alarm. Because both live in one platform, later automations can reach across the two kinds of device.

### How does video help physical AI?

Physical AI means AI that acts in the real world, including robots, machines, and buildings. A robot only knows what its own sensors report. Kilo is the operating system that lets those devices share context, and cameras are a rich source of it.

Here is an illustration, not a shipped feature. A security robot patrols a university campus. A wireless sensor on a door on the far side of the campus reports that it opened after hours. Because both are connected to Kilo, the door event is visible to every connected system, and a camera pointed at that door provides the picture. In the same way, a camera that reads a license plate could pass the result to a gate controller. We describe these as examples of what cross-device automation makes possible. Lens does not read plates today. For how Kilo governs AI that acts on devices, see [Physical AI](/physical-ai).

## What does Lens add to the cameras you already have?

### Can you see cameras from different brands in one place?

Yes. Different camera brands at different locations usually mean a different app, recorder and login for each. With Lens, compatible cameras from any manufacturer, at any number of sites, appear in one Kilo organization. Operators watch them in one place and save [videowalls](/lens/videowalls) for each site or task.

### Who can see and change the cameras?

Many camera systems give access through a shared login on each camera or recorder. In Kilo, access to cameras is set per user: **Edit** opens Lens, while **View** and **No access** do not (see [Roles and Page Access](/account/roles-and-page-access)). When someone leaves the team, you remove their access in Kilo once, without changing anything on the cameras. The local Twin administrator login stays separate from users' Kilo accounts (see [Access and Troubleshooting](/lens/access-and-troubleshooting)).

### What must be settled before cameras record people?

Recording people needs a lawful purpose, notice to the people recorded and limits on access and retention, and Kilo's confirmation that the service is ready for that use. See [What must I settle before cameras record people?](/trust-security-compliance/privacy-and-data-protection#cameras-that-record-people)

### Can an old camera become a smart camera?

Yes. Lens does not need analytics inside the camera. The camera only has to capture video and offer it as an RTSP stream, which most IP cameras can do, including older models. The processing happens off the camera: Twin, at your site, detects motion inside the zones you draw and can record locally, and Kilo uses each camera's motion reading in rules and alarms together with your other sensors.

For example, a loading dock has an older camera above the dock door and a wireless door sensor on the door. Draw a motion zone around the door in Twin. When the camera reports motion there, a rule checks the door sensor's state and raises an alarm if the door is open.

### Where is Lens going?

We are adding more AI to Lens. It runs off the camera, on the platform, where there is room for larger models and more advanced logic than a chip inside a single camera can hold. Because the processing does not depend on the camera's own hardware, cameras that are already installed, including older ones, gain new features through software updates instead of replacement. Today, Lens detection is motion inside selected zones; it does not recognize people or objects.

## How do Lens and Twin work together?

**Twin** is the edge program you install at your site. It is the digital twin of one physical camera: it connects to that camera's video stream on your network and links the camera to Lens, which runs in the cloud. Twin runs as a Docker container. Each Twin connects to **one camera**: twenty cameras require twenty Twin containers. Multiple containers can run on a suitable host, with separate configuration and enough processing, network, and storage capacity for the workload.

```mermaid
flowchart LR
  A[IP camera A] --> B[Twin A on site]
  C[IP camera B] --> D[Twin B on site]
  B --> E[Lens in the cloud]
  D --> E
  E --> F[Live viewing]
  E --> G[Camera readings and rules]
  G --> H[Operational alarms]
```

RTSP is a standard way for an IP camera to provide a video stream. A broad range of camera manufacturers support it. Twin connects to that stream; supported ONVIF cameras can also expose discovery and camera controls. Check your camera's stream settings and credentials before installation.

## Where does Kilo Lens fit?

| Deployment                       | Practical use                                                                                   |
| -------------------------------- | ----------------------------------------------------------------------------------------------- |
| Security and property management | Check entrances and shared areas while monitoring environmental or equipment readings.          |
| Smart cities                     | Bring compatible cameras from public spaces into the same platform as other IoT infrastructure. |
| Traffic monitoring               | Observe roads, junctions, or access points alongside relevant sensor information.               |
| Public transportation            | View stations, stops, and depots and configure responses to motion in selected areas.           |
| Distributed enterprises          | Reuse different camera brands across offices and facilities with organization-managed access.   |

The per-camera Twin model lets deployments expand camera by camera and site by site. Size each site's host and connection for its actual feeds, and check organization subscription limits when expanding.

## How can an existing camera get a new role?

Suppose an entrance camera sees a busy pavement, stairs, and an office door. Drawing a motion zone around the doorway lets Twin detect movement there without using the entire scene as the trigger. The camera does not need built-in AI for this selected-area motion detection.

The resulting motion reading can start a Kilo rule. The rule can evaluate a condition and raise an alarm whose notification behavior you configure. This connects visual monitoring to the same automation system used by other IoT devices.

Use [motion zones](/lens/motion-zones) and [camera rules and alerts](/lens/camera-rules-and-alerts) together to build this example. Zone-based motion detects changing pixels; it does not identify people, vehicles, or the reason for movement.

## How do I keep operational views ready?

Create [videowalls](/lens/videowalls) to save selected feeds in layouts tailored to a site or task. Arrange and resize panels for a security desk, transport hub, or property portfolio, then reopen the wall for routine monitoring.

## How do I connect my first camera?

1. [Install Twin](/lens/installing-twin) at the camera's site — or let [Kilo Hub](/kilo-hub) do it: it finds the cameras and starts one Twin per camera on a Raspberry Pi (about six or seven cameras) or a computer (as many as its hardware can record).
2. [Connect and pair the camera](/lens/connecting-a-camera) with the correct Kilo organization.
3. [Open live video](/lens/watching-live-video).
4. Configure motion, a rule, and optional [local recording](/lens/local-recordings) or a [cloud archive](/lens/cloud-archive).

Download Twin from the official [chirpiot/lens-twin Docker Hub repository](https://hub.docker.com/r/chirpiot/lens-twin). Organization permissions control who can use Lens; [access and troubleshooting](/lens/access-and-troubleshooting) explains the current requirements.

For ongoing administration, see [Managing Cameras](/lens/managing-cameras). To connect an account-backed camera or HomeKit accessory, see [Provider Camera Sources](/lens/connecting-cloud-camera-sources).


# Installing Twin

Install one official Twin Docker container per camera, with persistent configuration volumes and local storage.

Twin is the edge digital twin of one camera. Install it on a Docker host at the customer's site so that it can reach the camera locally and connect to Lens in the cloud. A twenty-camera installation uses twenty containers, each with its own configuration and identity.

{% hint style="info" %}
**Prefer not to use a terminal?** [Kilo Hub](/kilo-hub) installs Docker, finds the cameras on the network and starts one Twin per camera from a window. Run it on a [Raspberry Pi](/kilo-hub/raspberry-pi) for up to about six or seven cameras, or on a [computer](/kilo-hub/computer) for as many as its hardware can record. This page is the manual route.
{% endhint %}

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-b1ac9bea3d5e1ef716281e1a57d2182846ec55fd%2Fkilo-twin-tapo-live.jpg?alt=media" alt="Twin dashboard showing a connected camera and Lens connection"><figcaption><p>A configured Twin shows the local camera and its connection to Lens.</p></figcaption></figure>

## What does the Twin host need?

Use a Docker-capable host with an **amd64** or **arm64** processor. On Linux, run Docker Engine. On Windows or macOS, run Docker Desktop with Linux containers and keep Docker Desktop running while the cameras are in use. It needs access to the camera's RTSP stream, an internet connection for Lens, and sufficient CPU, memory, and bandwidth for the chosen feeds. If recording locally, allocate persistent storage and configure retention.

Obtain the camera's RTSP URL and camera credentials from its administrator or manufacturer. A substream can reduce the work required for previews and motion detection. Keep the local Twin administration interface on a trusted network.

The official image and available versions are on [Docker Hub: chirpiot/lens-twin](https://hub.docker.com/r/chirpiot/lens-twin). The examples use version 1.1.0, the first Twin version that can back up recordings to cloud storage ([cloud archive](/lens/cloud-archive)); an older Twin keeps recording locally.

### Verify the Docker engine

If Docker is not installed, use the [official installation guide](https://docs.docker.com/get-started/get-docker/). Start Docker Desktop on Windows or macOS and wait for the engine to be ready, with Linux containers selected. For a Linux host, start Docker Engine using the [service instructions for that installation](https://docs.docker.com/engine/daemon/start/).

Check access from the same terminal and user account that will launch the container:

```sh
docker info
```

The command must return server information without connection or permission errors. A successful `docker --version` only establishes that the CLI is installed; it does not prove the engine is running or accessible. Resolve failures using [Access and Troubleshooting](/lens/access-and-troubleshooting#how-do-i-diagnose-a-lens-problem) before proceeding.

Keep both the Docker engine and host available throughout camera operation. Host sleep, shutdown, or stopping Docker interrupts every Twin on that host.

## How do I start a Twin?

The following Bash example publishes the administration interface only on the Docker host's loopback address. It prompts for a **temporary Twin setup password** rather than putting the password in shell history. Use a unique value and retain it until account setup is complete. For Windows, use the [PowerShell command](#can-i-run-twin-on-windows-or-macos).

```bash
read -rsp 'Temporary setup password for this Twin: ' TWIN_PASSWORD
printf '\n'
export TWIN_PASSWORD
docker run -d --name camera-01-twin --restart unless-stopped \
  -p 127.0.0.1:8080:80 \
  -e TWIN_USERNAME=admin -e TWIN_PASSWORD \
  -v camera-01-config:/home/twin/data/config \
  -v camera-01-recordings:/home/twin/data/recordings \
  chirpiot/lens-twin:1.1.0
unset TWIN_PASSWORD
```

Open `http://127.0.0.1:8080` on that host and complete the account setup below. On a remote server, use your established secure administrative access, such as an SSH tunnel, to reach this local port.

### First login and current password

Twin has **no default production username or password** and requires initial credentials on a fresh installation. The example supplies `admin` through `TWIN_USERNAME`; the prompt supplies the temporary setup password through `TWIN_PASSWORD`. Keeping `admin` is allowed.

For administrators using the installation command displayed in Lens, replace its `CHANGE-ME` placeholder with a unique temporary password. Do not use the literal placeholder. The inline value can be read in shell history and container settings, so do not reuse a password from another account.

The initial credential secures the installation before commissioning is complete. Twin then requires you to set the permanent credential in its local browser interface:

1. Log in with the configured initial username (`admin` in the example) and temporary password.
2. In **Set your credentials**, supply the temporary password as **Current password**.
3. Set the permanent credential in **New password**, then repeat it in **Confirm new password**.
4. Keep **New username (optional)** empty to retain the current username, or provide a replacement.
5. Choose **Save and continue** to complete setup.
6. Log in again with the permanent password and the retained or replacement username.

These are local Twin credentials, separate from the operator's Kilo account and the camera's own login.

If someone else installed Twin, obtain the initial credentials from that administrator. There is no universal factory password to enter. Use the initial password supplied when this particular Twin was installed.

Choose a new password with at least eight non-space characters, including uppercase and lowercase letters, a number, and a symbol. You can change your local login later by opening your user menu and choosing **Change password**.

The credential variables initialize a new installation only; changing them does not reset an account already saved in the configuration volume. Keep that volume when replacing or upgrading the container to preserve the saved credentials, identity, and settings.

## How do I add more cameras to a Twin?

Repeat the setup with a different container name, host port, and both volume names for every camera. For example, `camera-02-twin` can use port `8081` and `camera-02-config` and `camera-02-recordings`.

Do not share or clone a populated configuration volume between Twins. Each instance generates its own **Twin Key** on first startup, and that key identifies it when paired with Lens. Keep the original configuration when restarting or upgrading the same camera's Twin.

Recording is off on a fresh installation. Complete [Connecting a Camera](/lens/connecting-a-camera), then enable [local recording](/lens/local-recordings) if required.

## Can I run Twin on Windows or macOS?

Run the [Docker engine check](#verify-the-docker-engine) before either example. The Bash command above applies to macOS; on Windows, use PowerShell and supply a temporary setup password when prompted:

```powershell
$twinInitialSecret = Read-Host 'Temporary setup password for this Twin' -AsSecureString
$env:TWIN_PASSWORD = [System.Net.NetworkCredential]::new('', $twinInitialSecret).Password
docker run -d --name camera-01-twin --restart unless-stopped `
  -p 127.0.0.1:8080:80 `
  -e TWIN_USERNAME=admin -e TWIN_PASSWORD `
  -v camera-01-config:/home/twin/data/config `
  -v camera-01-recordings:/home/twin/data/recordings `
  chirpiot/lens-twin:1.1.0
Remove-Item Env:TWIN_PASSWORD
```

Open the same local address and complete [First login and current password](#first-login-and-current-password). The Docker host must be able to reach the camera's private IP address. If automatic camera discovery does not reach the camera from Docker Desktop, enter the camera address or RTSP stream manually.

## How do I restart or upgrade Twin?

For a normal restart, run `docker restart camera-01-twin`. For an image upgrade:

1. Back up the Twin's persistent configuration and any recordings you need to keep.
2. Select the intended image version from the official Docker Hub repository and pull it with `docker pull chirpiot/lens-twin:<version>`.
3. Stop and remove only the old container with `docker stop camera-01-twin` and `docker rm camera-01-twin`.
4. Run the installation command again with the new image tag and the **same** configuration and recording volume names, port, and other installation options.
5. Sign in with the saved local credentials and verify local video and the Lens connection.

Do not remove the volumes during an upgrade. Replacing the container briefly interrupts its camera feed; the retained configuration keeps the camera's identity and pairing.


# Lens Workspace Tour

Tour the Kilo Lens workspace menu by menu: Live view, Videowalls, Recordings, Cameras, and Storage, with what every control on each screen does.

Lens is the part of Kilo where cameras from every site and brand live together. This page walks through the workspace screen by screen so you know where to click and what each control does before you set anything up. Each screenshot shows the whole platform window.

## How do I open the Lens workspace?

In the main Kilo menu, choose **Cameras**. The main menu is replaced by the Lens menu. **Back to Kilo** takes you to the rest of the platform; it is always available, even when other entries are switched off for your organization.

The Lens menu has these entries, from top to bottom:

| Menu entry                                     | What it opens                                                                |
| ---------------------------------------------- | ---------------------------------------------------------------------------- |
| **Live view**                                  | Every camera you can see, with a preview or live picture for each            |
| **Videowalls**                                 | Saved layouts of selected cameras. Your saved walls are listed underneath it |
| **Add videowall**                              | Creates a new wall. A gear icon beside it opens wall settings                |
| **Recordings**                                 | Saved recordings from all cameras, local and archived                        |
| **Cameras**                                    | The inventory of connected cameras and each camera's settings                |
| **Back to Kilo**                               | Leaves the Lens workspace and returns to the main Kilo menu                  |
| **Storage** (below **Back to Kilo**)           | Storage connectors that hold your cloud archive                              |
| **Contact support**, language, **Dark** switch | Help, interface language, and dark or light theme                            |

Every Lens screen needs **Edit** access to Cameras. A member with only **View** access, or with **No access**, does not get Lens: opening a Lens address shows **You do not have camera management access for this organization.** The **Recordings** and **Storage** entries are separate features that your organization must have switched on; if one is missing from your menu, ask your administrator or contact support. The same applies to the **Recording**, **Recording Area**, and **Storage** tabs on a camera's page. See [Access and Troubleshooting](/lens/access-and-troubleshooting).

## What does the Cameras screen show?

Open **Cameras** in the Lens menu to see your inventory.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-a1a70d2849c20f1fb0f057c32e53942508715925%2Fkilo-lens-cameras-list.jpg?alt=media" alt="The Kilo Lens Cameras page listing two cameras that are offline, each with Edit and Delete buttons and the Lens menu on the left"><figcaption><p>The Cameras page in list view. In this demo organization both cameras are offline, which is why their status reads Offline.</p></figcaption></figure>

* **Setup guide** (top right) opens a step-by-step guide that walks you through installing Twin, adding the camera, and pairing. It is the quickest route if this is your first camera.
* **Add camera** starts registration of a new camera. You paste the Twin Key shown in the camera's Twin, and Lens registers the camera and gives you a one-time token to enter in the Twin. [Connecting a Camera](/lens/connecting-a-camera) covers the whole procedure.
* **Search cameras...** filters the list by name. Use it when many sites share one organization.
* The **list** and **grid** buttons beside the search box switch between a compact table and a card layout.
* The table columns are **Status** (**Online** or **Offline**; a camera that is registered but not yet paired shows **Waiting for the Twin**, and one whose one-time token ran out shows **Pairing window expired**), **Name** (a link that opens the camera's detail page), **Last Twin activity** (when the camera's Twin last contacted the platform), and **Capabilities**, which shows tags such as **onvif** and **ptz** when the camera exposes them.
* **Edit** at the end of a row renames the camera. **Delete** removes it from Lens after a confirmation.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-292f4f4314b9d70d611356e62998327caf73b645%2Fkilo-lens-edit-camera.jpg?alt=media" alt="The Edit camera dialog with a Camera name field and a Save button over the dimmed Cameras page"><figcaption><p>Edit camera lets you change only the name. A name such as Entrance or Loading bay is more useful than the camera model.</p></figcaption></figure>

Selecting **Edit** opens a small dialog with one field, **Camera name**, and a **Save** button. Renaming changes the name everywhere the camera appears, including videowalls and rules, and does not require a new Twin or pairing.

## What do I see on the Recordings screen?

Open **Recordings** in the Lens menu to browse saved clips from every camera.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-f1862725350c9d528c85745562ebbb47c073578f%2Fkilo-lens-recordings.jpg?alt=media" alt="The Recordings page with the All devices filter, Date range button, sort menu, and Export, Clear filters, and Refresh buttons, showing No recordings found"><figcaption><p>Recordings with no clips yet. The same screen lists archived recordings once cameras record.</p></figcaption></figure>

* **All devices** is a search box. Type part of a camera name and pick a camera to show only its recordings. The list loads matches as you type, so it works with large inventories.
* **Date range** opens a calendar with quick ranges. Pick a start and end date to limit the list to that period. The button then shows the dates.
* The sort menu switches between **Newest first** and **Oldest first**.
* **Export** (top right) is grayed out until you tick at least one recording. See the export steps below.
* **Clear filters** resets the camera, date range, sort order and your selection. **Refresh** reloads the list and clears your selection.
* Recordings are grouped under the day they started, in cards of 20 per page. Use the page numbers under the cards to move between pages.
* Each card has a checkbox, the camera and time range, the duration, and, where they apply, a state label such as **Unreadable**, **Archive disconnected — key erased**, **Storage period ended** or **Kept on the camera**. Tick the checkbox to select the recording for export. A recording that cannot be played has its checkbox disabled, and Lens drops it from your selection if it becomes unreadable. Your selection stays when you move between pages.
* Select a card (anywhere except the checkbox) to open the recording detail page.

### How do I export recordings as a ZIP file?

1. On **Recordings**, tick the checkbox on each recording you want, across any pages.
2. Select **Export**. The dialog asks **Export this recording as a ZIP package?** or **Export** *N* **recordings as a ZIP package?**
3. Select **Confirm**. The dialog shows a progress bar with **Preparing your download package…** and a seconds counter. You can select **Dismiss** and keep working; the package keeps preparing.
4. When the dialog says **Your export package is ready.**, select **Download package**. The ZIP opens in a new browser tab. If it does not, you see **Failed to get download link. Please try again.** (allow pop-ups for the platform and select the button again).
5. If preparation fails, the dialog shows the reason or **Export failed. Please try again.** Select **Close** and start again.

### What is on the recording detail page?

Select a recording card to open its page. A breadcrumb (**Recordings** › camera name and date) takes you back to the list.

* **Download** (top right) saves the recording as an MP4 file. While it runs, **Downloading the recording…** with a **Cancel download** button appears under the header. In Chrome and Edge a save dialog lets you pick the folder, so large files stream to disk. Other browsers hold the file in memory, so a file above 1 GiB fails with **This file is larger than 1 GiB. Download it in Chrome or Edge.** If the save dialog could not open in time, select **Download** again when the toast says **Click Download again to choose where to save it.** For a file above 1 GiB the toast reads **This file is larger than 1 GiB. Click Download again to choose where to save it.**
* **Delete recording** or **Remove from archive** appears for archived recordings. [Cloud Archive](/lens/cloud-archive) explains the difference and the confirmations.
* **Export** packages this one recording as a ZIP file, the same way as above.
* The player plays the recording. Under it, **Show live** swaps the player for the camera's live picture; the button then reads **Show playback** to switch back.
* **Media info** (right side) lists **Format**, **Size**, **Duration**, and **Camera**.
* **Screenshots** (below) holds still frames. Select **Capture** to save the frame at the current playback position. Until then it says **No screenshots captured yet.** Select a thumbnail to enlarge it. **Capture** is hidden when the recording cannot be played.
* If a recording cannot be played, the player area explains why instead of showing video: for example **This recording was damaged on upload and can't be played.**, **The storage kept this recording for its paid period. It is no longer available.**, or **This browser can't play this recording. Download it instead.** [Access and Troubleshooting](/lens/access-and-troubleshooting) lists the messages and fixes.

## What does a videowall look like?

Videowalls show several cameras at once. Select a wall name under **Videowalls** to open it. The top of the page shows tiles for **Viewers**, **Panels online**, **HD streams**, and **SD streams**, and each camera panel has a **Preview** and **Live** switch and a full-screen button. A camera that is offline shows **Camera is offline** in its panel instead of a stale picture.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-b727d982cf18bb1712917ca4a8403c3800e8642d%2Fkilo-lens-videowall-offline.jpg?alt=media" alt="A videowall named Office Security with Viewers, Panels online, HD streams and SD streams tiles and two camera panels showing Camera is offline"><figcaption><p>A videowall with two panels. Both cameras are offline in this demo, so each panel says Camera is offline.</p></figcaption></figure>

**Return All to Home** in the top right returns every panel to its saved position, and the menu with three dots next to it holds the wall's other actions. [Videowalls](/lens/videowalls) explains how to build and edit walls.

## Where do I configure storage for cloud archive?

Choose **Storage** in the Lens menu, below **Back to Kilo**. The page is titled **Storage connectors**. Until you add one it shows **No storage connectors configured yet** and an **Add storage connector** button. [Storage Connectors](/lens/storage-connectors) walks through every field, and [Cloud Archive](/lens/cloud-archive) explains how a connector is used.

## What is the next step?

Open a camera from the list to see its detail page, with the **Details**, **Recording**, **Recording Area**, and **Storage** tabs. [Camera detail page](/lens/camera-detail-settings) covers every setting on those tabs.


# Connecting a Camera

Connect a camera to Kilo Lens: set its RTSP stream in Twin, pair Twin with a connection token, and verify the link.

Connecting a camera has two parts: Twin must reach its local video source, then Lens must associate that Twin with your organization. The camera's password belongs in Twin's camera settings; the Lens connection token is a separate credential used for pairing.

Before starting, [install one Twin for this camera](/lens/installing-twin), have its stream details available, and select the intended organization in Kilo. You need permission to manage cameras and available device capacity.

For ready-to-adapt stream addresses, see [RTSP Camera URLs](/lens/rtsp-camera-urls), including Tapo and HiLook/Hikvision examples.

## How do I configure the local camera for Twin?

1. Open Twin and sign in.
2. Open **Settings → Camera Connector**.
3. Enter the camera's RTSP address, including its local credentials, in **Main stream URL**. Select **Test main stream** to check it.
4. If the camera provides a substream, enter it in **Low-resolution stream URL** for lighter preview and motion processing. Leaving this empty uses the main stream.
5. Select **Save**, then verify the picture on the Twin dashboard.
6. For supported movement and preset controls, configure **ONVIF address**, **ONVIF username**, and **ONVIF password** in the ONVIF section. Select **Test ONVIF**, then that section's **Save**. **Discover ONVIF cameras → Scan** can help find cameras on the local network.

Use a name that identifies the camera's location and purpose, such as `Main office entrance`. Copy the **Twin Key** shown by Twin. It is generated for this installation and is not an editable camera serial number.

## How do I pair Twin with Lens?

1. In Kilo, select **Cameras** to enter Lens.
2. Choose **Add camera**.
3. In the **Add camera** dialog, read the note: **Set up the Twin first: it generates the key below and shows it read-only. A camera cannot be added ahead of its Twin.** Enter a **Camera name** and paste the **Twin Key** from the Twin (leading or trailing spaces are trimmed). The second **Add camera** button stays disabled until both fields are filled. Select it.
4. If Lens refuses, a red message under the fields tells you why:
   * **This Twin Key is already registered. If this is a cloned image, generate a new key in the Twin.** The camera already exists; use **Reconnect Twin** instead.
   * **You do not have permission to add cameras in this organization.** Ask an administrator for Edit access to Cameras.
   * **Your subscription plan has no room for another device. Remove one or upgrade the plan.**
   * **The video service is unavailable, so the camera was not created. Try again in a moment.**
   * **The camera could not be added. Try again.**
5. The dialog changes to **Pairing token**. It says **Camera registered. In the Twin's Lens Connector tab, enter the Lens API URL and this one-time connection token, then save**, and shows:
   * **Lens API URL**, with a copy button (**Copy Lens API URL**).
   * **Connection token**, hidden at first. Select the eye icon (**Reveal connection token** or **Hide connection token**) and the copy button (**Copy connection token**).
   * **Expires** and the time. Pair before then.
   * A warning that the token is shown only once and cannot be retrieved later. If it expires or is lost, remove and re-add the camera, or use **Reconnect Twin** on the camera to issue a new one.
6. In Twin, open **Settings → Lens Connector**.
7. Paste the **Lens API URL** and the **Connection token** from the dialog into Twin.
8. Select **Save** in Twin. Allow Twin to apply the connection settings.
9. Back in Lens, select **Done**. **Done** is disabled until you have copied the token; if the browser blocks copying, the dialog says **Copying is unavailable here — select the token above and copy it by hand before closing.** If the address cannot be loaded the dialog says **Lens API URL is not configured. Set it in Lens Settings before pairing a camera.** and offers **Retry**; the button then reads **Close**, and you create a new token with **Reconnect Twin** once the address is available. Then check the camera's connection state.

The **Status** badge in the camera list shows **Waiting for the Twin** or **Pairing window expired** for a camera whose token has not been entered yet, so you can see which cameras still need it. The **Paired** state itself is on the camera's page, under **Details → Lens connection**.

Use the API URL supplied for your Lens environment, not the URL of the platform's ordinary web page. A development token and endpoint belong together; do not mix them with production.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-7a3b9b2f10ae0007990eed33db23f9aca1d30d99%2Fkilo-twin-hilook-live.jpg?alt=media" alt="The local Twin dashboard confirms camera and Lens connections"><figcaption><p>Check both connection indicators and the camera picture after pairing.</p></figcaption></figure>

## How do I check that the camera is connected?

Open the camera and start live video. An online status confirms the connection, while a successful stream confirms that the full viewing path works. Check both before handing the camera over to operators.

The first time you open **Cameras** with no cameras, the page offers **Connect your first camera**: **Lens connects to cameras through Twin. Complete these steps once to start streaming and recording.** Its steps open the Twin install guide and the **Add camera** dialog. Later, **Setup guide** at the top right of **Cameras** reopens the same walkthrough.

Repeat this process for every camera with its own Twin and unique key. If the camera already exists and needs a new pairing token, use **Reconnect Twin** on that camera rather than creating a duplicate. See [Access and Troubleshooting](/lens/access-and-troubleshooting).




---

[Next Page](https://docs.kiloiot.io/llms-full.txt/1)

