Skip to main content

BACnet Explorer

The BACnet Explorer lets you discover BACnet/IP devices on your network, browse their objects and properties, monitor live values, trend data over time, manage alarms, and map BACnet data points to GEM zones.

Open BACnet Explorer

Licensing

BACnet is a premium integration. Adding a bacnet / bacnet_ip device — and opening the BACnet Explorer — requires the BACnet product in your license. Core drivers are always included, and existing devices keep running if a license later changes. See License.

Prerequisites

Create a BACnet device in System > Devices with the driver set to bacnet_ip. You can create multiple BACnet devices if needed (for example, to communicate on different network interfaces).

Reaching devices across subnets or a VPN

BACnet/IP discovery normally relies on a broadcast Who-Is, which only reaches the local subnet. A device on another subnet, or one reachable only over a VPN / overlay network (netbird, WireGuard, etc.), never receives that broadcast — so it never appears and every command fails with invalid bacnet device id. Binding to a different network interface does not change this; the interface field is only a local bind, not a way to target a remote device.

There are two ways to reach such a device:

  • Static Peers (directed Who-Is) — set the Static Peers attribute on the BACnet device (in System > Devices, Connection group) to a comma/space/newline-separated list of device IPs (or ip:port). The driver sends a directed (unicast) Who-Is to each peer on connect and on every Who-Is interval. The device replies with iAm and is then read/written over unicast like any other — discovered automatically, no need to know its BACnet instance number ahead of time. This is the right choice for a VPN/overlay IP (e.g. a netbird 100.x address), since unicast UDP traverses the tunnel where broadcast does not. The port defaults to the device's BACnet/IP port when omitted.
  • BBMD Address — for a true other-subnet network behind a BACnet router, point BBMD Address at a BBMD on the remote subnet to register as a foreign device. Use this when you need to participate in the remote subnet's broadcasts; for a single directly-reachable device, Static Peers is simpler.

When using Static Peers over a VPN, leave the interface bind on auto-detect (0.0.0.0) or set it to the GEM host's own VPN IP — do not bind to a LAN-only interface, or the device's reply can't route back.

Toolbar

The toolbar at the top of the page is shared across all tabs:

FieldDescription
GEM DeviceSelect which BACnet/IP device (GEM driver instance) to use.
Network InterfaceSelect which network interface to bind the BACnet stack to. Shows available interfaces with their IP addresses (e.g., eth0 (192.168.1.50)).
ButtonDescription
Set InterfaceSaves the selected network interface, reloads the device, and sends a Who-Is broadcast.
Clear InterfaceRemoves the network interface binding (after a confirmation prompt) and reverts the device to auto-detect (0.0.0.0).
RefreshRe-queries the BACnet device for discovered devices and refreshes the explorer tree.
Export CSVExports the discovered device list (ID, name, model, vendor, address) to a CSV file.
warning

You must select both a GEM Device and a network interface, then click Set Interface, before BACnet discovery will work. The BACnet stack needs to bind to a specific network interface to send and receive BACnet/IP packets.

Tabs

The page has eight tabs: Explorer, Watch List, Trending, Alarms, Zone Mapping, Network Tools, Diagnostics, and Settings.


Explorer Tab

The Explorer tab is a split-pane view with a device/object tree on the left and a property browser on the right.

Device Tree (Left Panel)

After discovery, all BACnet devices appear in the tree. Click a device to expand it and load its details. The tree shows:

  • Device name, ID, and IP address for each device
  • Device info bar showing model, vendor, firmware, object count, and RPM support
  • Object groups organized by BACnet object type (analog input, binary output, etc.)
  • Object filter to search objects by name or instance number

Objects are loaded in two phases with a live progress bar driven by server-side bacnet_object_progress events:

  1. Reading object list — fetching the full object-list array.
  2. Reading object names — pulling object_name for every discovered object.
tip

The driver tries the most efficient path each device supports: a single segmented ReadProperty(object-list), then RPM-paged walks (50 indices per call), then parallel single reads. Devices that fail the whole-array read are remembered so subsequent loads skip straight to the paged path.

If a device silently drops name reads for a range of objects (typically points behind an offline field-bus trunk on a supervisory controller), the name sweep gives up on the remaining names after 25 consecutive timeouts rather than spending an APDU timeout on every object. Affected objects display as type_instance (e.g. analog_input_1401) in the tree; selecting one still reads its live properties on demand.

Property Browser (Right Panel)

Select an object in the tree to view its properties. The property browser shows:

ColumnDescription
PropertyThe BACnet property name.
IDThe BACnet property identifier number.
ValueThe current value. Writable properties appear in blue — click to edit inline.

The units property is shown with a friendly label in parentheses after the raw enum number — for example 64 (degrees fahrenheit) — so you don't have to look up the BACnet EngineeringUnits codes. The number is the value on the wire; the label is resolved server-side from the standard enumeration.

Writable properties: present_value, description, object_name, out_of_service, relinquish_default, cov_increment, notification_class, event_enable, high_limit, low_limit, deadband, and limit_enable. When editing present_value, a priority selector (P1–P16) appears.

To enumerate an object's properties the driver reads the device's Property_List and then batch-reads the values. Property_List only became mandatory at BACnet protocol revision 14, so older controllers reject the read; for those the driver falls back to the standard required-property set for the object type (present value, status flags, units, and so on) instead of showing an empty list.

Toolbar buttons:

ButtonDescription
RefreshRe-reads all properties from the device.
WatchAdds the current object to the Watch List for live monitoring.
Priority ArrayLoads and displays the 16-level BACnet priority array for the object.

Priority Array

The priority array section shows all 16 priority levels with their current values. The winning (highest active) priority is highlighted in green. For each active priority level, you can click Relinquish to release that priority's command.


Watch List Tab

The Watch List monitors multiple BACnet objects simultaneously by polling their present values at a configurable interval.

Adding Items

Add objects to the watch list by selecting an object in the Explorer tab and clicking Watch in the property browser.

Controls

ControlDescription
Start Polling / StopToggles automatic polling of all watch items.
RatePoll interval: 1s, 2s, 5s, 10s, or 30s.
Read AllPerforms a single read of all items.
ClearRemoves all items and stops polling.

Watch Table

ColumnDescription
NameObject name.
TypeBACnet object type.
DeviceBACnet device ID.
InstanceObject instance number.
ValueCurrent present value (flashes yellow on change).
DeltaChange from previous reading (green for increase, red for decrease).
UpdatedTimestamp of last read.
COVChange of Value subscription status. Click to toggle.

COV Subscriptions

Each watch item has a COV badge. Click OFF to subscribe to Change of Value notifications from the BACnet device (1-hour lifetime). Click COV to unsubscribe. COV provides push-based updates instead of polling, which is more efficient for slowly changing values.

note

COV support depends on the remote BACnet device. If the device does not support COV for a given object type, the subscription will fail with a warning message.


The Trending tab charts live BACnet values over time using interactive graphs.

Setup

  1. Add objects to the Watch List first.
  2. In the Trending tab, select items from the sidebar by checking their checkboxes.
  3. Click Start Trending to begin collecting data.

Controls

ControlDescription
Start / Stop TrendingToggles data collection.
RateSample interval: 1s, 2s, 5s, or 10s.
TypeChart type: Line or Area.
Max PointsMaximum data points per series (100, 200, 500, or 1000). Older points are trimmed.
CSVExports all trend data to a CSV file.
ClearStops trending and clears all chart data.

Statistics Bar

When trending is active, a statistics bar below the chart shows min, max, average, and current values for each series.


Alarms Tab

The Alarms tab queries BACnet alarm summaries and event information from devices.

Controls

ControlDescription
DeviceSelect a discovered BACnet device to query.
LoadQueries alarm summary and event information.
FilterFilter alarms: All, Active, or Normal.
Auto-RefreshToggles periodic re-query (every 30 seconds).

Alarm Table

Lists alarms with object type, instance, state (color-coded badge), and acknowledgment status. Click an alarm row to select it for acknowledgment.

Alarm states: Normal (green), Fault (red), Offnormal (amber), High Limit, Low Limit, Life Safety Alarm (red, pulsing).

Acknowledging Alarms

After selecting an alarm, an acknowledgment form appears. Enter an optional message and click Acknowledge to send an alarm acknowledgment to the BACnet device.

Events Table

Below the alarms, an events table shows event information including object, event state, event type, and notify type.

note

Alarm summary and event information support varies by BACnet device. Some devices may not implement these services.


Zone Mapping Tab

The Zone Mapping tab maps BACnet objects to GEM zones for automated monitoring and control.

Mapping a Point

The form reads top to bottom:

  1. Select an object in the Explorer tab first — the Zone Mapping tab shows the selected object.
  2. Pick the ① Subsystem and ② Zone the object belongs to. Use + New Zone (enabled once a subsystem is chosen) to create one inline — see Creating a zone inline.
  3. Choose what it ③ Maps to from the grouped dropdown (Climate / Lighting / Shade / Power / Generic), then set the Direction toggle to Read or Write. Read-only functions (Temperature, Power, Energy) lock the toggle to Read. For anything outside the list, type a name in the custom field — it's prefixed with bacnet_ and normalized to lowercase-with-underscores (e.g., "Fault Code" with direction Read becomes bacnet_fault_code_read). The grey preview shows the exact attribute that will be written.
  4. Optionally click Test Read to fetch the object's live present value through the gateway before committing — the value (or the error) renders inline, so you confirm you picked the right point without leaving the tab.
  5. Click Map Point.

The BACnet object reference is stored as a zone attribute in the format device_id,object_type,object_instance.

The former Point Type field (a category-tab row plus a read X / write X dropdown) is replaced by Maps to + the Direction toggle. The attribute names written are unchanged, so existing mappings are unaffected.

Creating a zone inline

If the zone doesn't exist yet, click + New Zone under the Zone picker (it activates once a subsystem is selected). Enter a name (lowercase letters, numbers, underscores) and an optional display label, then Create Zone. The new zone is created in the chosen subsystem, assigned to this BACnet device so polling picks it up immediately, and auto-selected.

Zone not assigned to this device

A zone is only polled by a BACnet device when the zone — or its subsystem — is assigned to that device. If you select a zone that isn't, an amber notice warns that this device won't poll it. Click Bind to <device> to assign the zone to the current device (a lightweight rebind that doesn't reconnect the device), or map it anyway if you intend to bind it later. Zones created with + New Zone are bound automatically.

Functions

The Maps to dropdown groups functions by category. Each function plus the Read/Write toggle produces the attribute name below:

Climate Points
Attribute writtenDescription
bacnet_setpoint_readRead setpoint
bacnet_setpoint_writeWrite setpoint
bacnet_cool_setpoint_readRead cooling setpoint
bacnet_cool_setpoint_writeWrite cooling setpoint
bacnet_heat_setpoint_readRead heating setpoint
bacnet_heat_setpoint_writeWrite heating setpoint
bacnet_temperature_readRead temperature sensor
bacnet_humidity_readRead humidity sensor
bacnet_humidity_writeWrite humidity value
bacnet_fanmode_readRead fan mode
bacnet_fanmode_writeWrite fan mode
bacnet_systemmode_readRead system mode
bacnet_systemmode_writeWrite system mode
bacnet_occupied_readRead occupied state
bacnet_occupied_writeWrite occupied state
bacnet_bypass_override_readRead bypass override state
bacnet_bypass_override_writeWrite bypass override state
Lighting, Shade, Power & Generic Points
Attribute writtenDescription
bacnet_level_readRead level (lighting)
bacnet_level_writeWrite level (lighting)
bacnet_state_readRead on/off state
bacnet_state_writeWrite on/off state
bacnet_position_readRead position (shades)
bacnet_position_writeWrite position (shades)
bacnet_power_readRead power
bacnet_energy_readRead energy
bacnet_generic_readGeneric read
bacnet_generic_writeGeneric write

Existing Mappings

Below the mapping form, a table shows all existing zone attribute mappings for the currently selected BACnet object. Each mapping can be removed with the delete button.


Network Tools Tab

The Network Tools tab provides BACnet network management commands.

Device Discovery (Who-Is)

Send a Who-Is broadcast to discover devices. Optionally specify a device ID range (low/high) to limit the broadcast. Leave the range empty for a global broadcast — results appear in the Explorer tab.

Device Management

Select a discovered device to view its info card (name, model, vendor, ID, address, firmware).

Time Synchronization

Send the server's current time to a BACnet device. Choose between local time sync and UTC time sync.

Reinitialize Device

Send a coldstart or warmstart reinitialize command to a remote BACnet device. Requires confirmation before sending.

warning

Reinitializing a device will restart it and may cause it to be temporarily unavailable. Use with caution in production environments.

Communication Control

Control whether a remote BACnet device talks on the network. Pick an ActionEnable, Disable, or Disable Initiation (the device stops initiating messages but still responds) — optionally set a Duration (min), and click Send. Set the duration to 0 for indefinite. Requires confirmation.

warning

Disabling communication may make the device unreachable until the duration expires or communication is re-enabled.


Diagnostics Tab

The Diagnostics tab surfaces the BACnet driver's runtime health signals so an integrator can debug write failures, priority lockouts, COV subscription staleness, and transport-level errors without grepping logs.

Summary Cards

Quick-glance counters across the driver state:

  • Mapped zones — total BACnet zones currently in memory
  • Priority lockouts — zones flagged with priority_lockout=true (a higher-priority slot is holding the value, so writes at our default priority are ignored)
  • Zones w/ unsupported points — zones where the driver has marked specific points as priority-unsupported after repeated priority-array read failures
  • Recent write failures — count of write errors in the ring buffer (last 20)
  • COV subs — active Change-of-Value subscriptions, with a stale count if any have failed renewal 3+ times
  • Consecutive op failures — current run of failed reads/writes (the watchdog trips a recycle once this crosses the threshold AND no op has succeeded in ~2 min)
  • Client recycles — how many times the underlying BACnet client has been torn down and rebuilt since boot

Client Health

Watchdog state and the last transport-level error message. A non-zero recycle count is informative, not necessarily bad — a single recycle after a transient blip is expected. Sustained recycles point at flapping interfaces or unreachable controllers.

COV Subscriptions

Per-subscription detail: device ID, object, subscribe ID, lifetime (s), seconds since last renewed, and the renewal failure count. Stale rows (3+ failures) highlight in red — the value-on-change stream is dead until you re-subscribe.

Priority Lockouts

Zones where a higher BACnet priority slot is currently winning, so our default-priority writes are silently rejected by the device. Investigate by reading the priority array from the Explorer tab.

Priority-Unsupported Points

Per-(zone, point) entries the driver has given up on after 3 consecutive priority-array read failures. Subsequent writes still go through but skip priority handling. To re-check, clear the <point>_priority_supported attribute on the zone.

In-Memory Priority Failure Counters

A live tally of priority-array read failures per (zone, point) since the driver was last loaded. A count is shown only while it is climbing; once it reaches 3 the point is promoted to the Priority-Unsupported Points list above and the result is persisted on the zone's _priority_supported attribute. Use this table to spot a point that is intermittently failing priority reads before it gets locked out.

Recent Write Failures

Ring buffer of the last 20 write errors with structured diagnostics — device, object, property, ASN.1 tag, JS value type, priority, array index, and the error message. Class:2 Code:9 in the error column means the device rejected the ASN.1 tag — compare the tag column to the value_type to find the mismatch.

Toolbar

  • Refresh — re-query the driver
  • Auto-refresh — poll every 10 seconds

Settings Tab

The Settings tab shows the current BACnet connection configuration:

  • Selected GEM BACnet device (ID, name, driver) — click the device name to open its full configuration in an in-place modal without leaving the Explorer (your device selection and discovery state are preserved)
  • Current network interface binding
  • Number of discovered devices

This tab also contains descriptions of the GEM Device and Network Interface fields for reference.

  • Devices — Creating the BACnet/IP device
  • Zones — Zone configuration
  • Attributes — Zone attribute mappings