# Value Mapping in BuildingPro Suites

Value mapping allows raw data (e.g., numerical or boolean values) to be translated into meaningful colors, texts, or categories. This function is used to display information more clearly—for example, in widgets, floors, or attributes.

## Value Mapping for Attributes

Value mapping for attributes automatically translates numerical values into descriptive texts. These texts can be displayed in many places in BuildingPro Suites—e.g., in the Smart View, in widgets, or in the detail view of an asset—and help to present technical measured values in an understandable way.

### Purpose

Value mapping in *Eliona* automatically translates numerical values of an attribute into descriptive texts. This representation makes technical measured values more understandable and facilitates their interpretation in everyday life. The texts appear, for example:

* in the *Smart View*,
* in widgets,
* in the detail view of an asset.

Configuration is done either directly in the attribute or centrally via the [-> Asset modeling](https://docs.buildings.ability.abb/collection/mandatory-base/assets/asset-modeling-create-templates).

### Configuration

<figure><img src="https://3489494878-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9GvUpaatBiReR43XFSMg%2Fuploads%2FjcChWuwrUYFedpgrzKu5%2FWerte%20mapping%20(1).png?alt=media&#x26;token=83c1ba6f-5449-4f88-84b0-7f18905e24c4" alt=""><figcaption></figcaption></figure>

In **\[A]**, multiple mapping fields can be added.

A mapping consists of pairs of **limit value → result text**:

* **\[B]** Left field: The limit value that serves as the upper bound for a value range
* **\[C]** Right field: The text that should be displayed if the measured value is below the corresponding limit value

The rule is:

> All values that are **less than** the defined limit value are assigned to the respective text.

**Note on order** The entries do not have to be sorted manually—*Eliona* internally interprets the mapping list correctly, from the **highest to the lowest limit value**. The order of the input lines is therefore **not decisive** for the logic, but it is for clarity during configuration.

### Example evaluation

Given the following configuration:

| Limit Value | Result           |
| ----------- | ---------------- |
| 100         | Critical         |
| 50          | Warning          |
| 10          | Normal Operation |

**Evaluation:**

* A value of **7** → Normal Operation
* A value of **30** → *Warning*
* A value of **75** → Critical
* A value of **99.9** → Critical
* A value of **101 or more** → *No mapping*, the original value is displayed (if no higher limit value is defined)

#### Notes

* The entries should be defined without gaps if every value is to be assigned to a text.
* If no mapping applies, the original value is displayed.

***

## Value Mapping in Widgets

In widgets, a **value mapping** can be used to interpret numerical data both **visually (color)** and **semantically (text)**. This assignment improves the readability of values and supports a faster assessment of the status.

### Purpose

The mapping allows for a clear classification of numerical values into categories—such as "Normal Operation," "Warning," or "Critical." In addition, each status can be assigned its own color, which is immediately recognizable in the display (e.g., progress bar or number field).

### Use case

#### Visualize door status with value mapping

<div align="left"><figure><img src="https://3489494878-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9GvUpaatBiReR43XFSMg%2Fuploads%2FG7UqmumVdwl0u2pU8T3P%2Fimage.png?alt=media&#x26;token=e66e421f-55c0-4266-8627-9a5d13c2ecc3" alt="" width="239"><figcaption></figcaption></figure></div>

This mapping assigns the text *Locked* with a brown display to all values ≤ 0, while values up to 1000 are displayed with *Unlocked* and a green color. In practice, this means that:

* Sensor values such as `0` → *Locked*
* Sensor values `1` to `100` → *Unlocked*

{% hint style="info" %}
The mapping can be expanded as desired by clicking on **"Add mapping."** Make sure that the value ranges are covered without gaps if every possible value is to be assigned.
{% endhint %}

### Display in the Widget

<div align="left"><figure><img src="https://3489494878-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9GvUpaatBiReR43XFSMg%2Fuploads%2FH9aPXUgJ8KBlrn0UwySv%2Fimage.png?alt=media&#x26;token=27651452-5551-407b-bcd7-48bc12c0b342" alt=""><figcaption></figcaption></figure></div>

In a widget, e.g., in the overview of a building, the following appears immediately visible for each door (front or back entrance):

* **Text**: *Locked* or *Unlocked*
* **Color**: Visual highlighting to match the status

***

## Value Mapping on the Floor (POIs and Polygons)

In the *Floor* module, areas of a digital plan—such as **polygons** or **POIs**—can be automatically colored depending on the current attribute value. This is done via **value mapping**, in which numerical values are assigned to specific **colors**. The color visualization helps to quickly recognize statuses directly in the spatial context.

### Purpose

This function allows for the display of statuses or measured values directly in the context of a floor plan or building area. The color coding helps to recognize critical situations more quickly or to visually confirm normal operating statuses.

Examples:

* Color-code temperature ranges in production facilities
* Highlight power consumption of individual devices
* Clearly display door or window status

### Configuration

Configuration is done directly in the POI or polygon editor on the floor. Under the *Value Mapping* section, you can define value limits to which a color is assigned:

* **Limit value:** Defines the upper limit of a value range
* **Color:** The color that is applied when the measured value is less than or equal to the limit value

### Example configuration

<div align="left"><figure><img src="https://3489494878-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9GvUpaatBiReR43XFSMg%2Fuploads%2FOwAJAnjud8RAZe9JIaB9%2Fimage.png?alt=media&#x26;token=313a7147-3126-4db6-bf29-d7caae0edf79" alt="" width="359"><figcaption></figcaption></figure></div>

This configuration means:

* Values less than or equal to 90 → **Green**
* Values less than or equal to 93 → **Yellow**
* Values less than or equal to 10000 → **Red**

<figure><img src="https://3489494878-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9GvUpaatBiReR43XFSMg%2Fuploads%2FSQX0yF9sDMIpuxvpmBBa%2Fimage.png?alt=media&#x26;token=fa6ffcea-dcb8-40c1-b3ab-15438fb07e5c" alt=""><figcaption></figcaption></figure>

#### Notes

* The color mappings apply exclusively to numerical data.
* The color display does not replace numerical values, but supplements them visually.
* If no suitable limit value is found, the selected **default color** is displayed![](https://3489494878-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9GvUpaatBiReR43XFSMg%2Fuploads%2FLV5OFhHqw0W73RmllInB%2Fimage.png?alt=media\&token=6581d6c1-33cc-4d12-bc46-9190416e7b17)


---

# Agent Instructions: Querying This Documentation

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

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

```
GET https://docs.buildings.ability.abb/collection/academy/value-mapping-in-eliona.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

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