> For the complete documentation index, see [llms.txt](https://docs.greenstack.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.greenstack.dev/fundamentals/building-engineering/connectivity/building-automation.md).

# Building Automation

## Configuring BACnet

{% hint style="warning" %}
Before you begin, you must have an active edge device with a BACnet connector configured.  See the [Planning for BACnet](#planning-for-bacnet) section.
{% endhint %}

To configure BACnet:

1. **Login** to the **Green Stack Console** and navigate to **Building Engineering**

### Adding BACnet Devices

To add BACnet devices:

1. Select a **Site** from the system profile tree
2. Expand **Connectivity** and select the **Building Automation** folder

{% tabs %}
{% tab title="BACnet Discovery" %}
To add devices via BACnet discovery:

1. Click **Add Devices**
2. **Select** the discovered **devices** you'd like to add
3. Click **Import Devices** to save the devices
   {% endtab %}

{% tab title="Manually" %}
To add a BACnet device manually:

1. Select **Manual Entry** from the **Add Devices menu**
2. Provide a **Device Name**, **Device Instance**, and brief **description**
3. Provide additional optional fields as desired
4. Click **Save Device** to save the device
   {% endtab %}
   {% endtabs %}

### Adding BACnet Points

To add BACnet points in a managed BACnet device:

1. Select a **BACnet device** from the system profile tree
2. Select the **Points** tab

{% tabs %}
{% tab title="BACnet Discovery" %}
To add points via BACnet discovery:

1. Click **Add Points**
2. **Select** the discovered **points** you'd like to add
3. Click **Import Points** to save the points
   {% endtab %}

{% tab title="Manually" %}
To add a BACnet point manually:

1. Select **Manual Entry** from the **Add Points menu**
2. Select a **Point Type** from the dropdown
3. Provide a **Point Name**, **Object Instance**, and brief **description**
4. Provide additional optional fields as desired
5. Click **Save Point** to save the device
   {% endtab %}
   {% endtabs %}

## BACnet Alarming

Managed BACnet point alarms are automatically annunciated to the Green Stack console by default. The behavior of the alarm and its priority are determined by the configuration of the BACnet point and its associated notification class.&#x20;

#### Alarm Priority

When a new alarm is received, it is prioritized by the assigned notification class priority.

<table><thead><tr><th width="210">NC Priority</th><th width="174">Alarm Priority</th><th>Alarm Level</th></tr></thead><tbody><tr><td><strong>0-63</strong></td><td>PRI1</td><td><mark style="color:red;">CRITICAL</mark></td></tr><tr><td><strong>64-127</strong></td><td>PRI2</td><td><mark style="color:orange;">WARN</mark></td></tr><tr><td><strong>128-191</strong></td><td>PRI3</td><td><mark style="color:yellow;">CAUTION</mark></td></tr><tr><td><strong>192-255</strong></td><td>PRI4</td><td><mark style="color:blue;">NOTICE</mark></td></tr></tbody></table>


---

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

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

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

```
GET https://docs.greenstack.dev/fundamentals/building-engineering/connectivity/building-automation.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.

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.
