> 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 dynamically by asking a question.

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

```
GET https://docs.greenstack.dev/fundamentals/building-engineering/connectivity/building-automation.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
