Docs · Protocols
BACnet: devices, objects, priorities, COV, trend logs, alarms, schedules, EDE, BACnet/SC
OTDeck is a BACnet/IP client (Annex J, UDP 47808) and a BACnet/SC node
(Annex AB, a TLS 1.3 WebSocket to a hub): it finds devices with Who-Is,
reads their objects and properties, keeps a watch list fresh with COV
subscriptions, writes present values at a priority, reads trend logs,
shows and acknowledges alarms, edits schedules and calendars and exports
EDE files. Everything here works against the built-in
simulator (device 2601 “Boiler 7” on 127.0.0.1:47809, and device 2602
“Boiler 7 (SC)” behind the simulator’s hub on wss://127.0.0.1:47810), so
you can try it without a building controller.
In scope in this version: BACnet/IP over IPv4, foreign device registration with a BBMD, devices behind a BACnet router (MS/TP networks reached through the router), and BACnet/SC through a hub (Pro; see BACnet/SC). Not in scope: a direct MS/TP serial link and BACnet/IPv6.
Connect
Add connection → BACnet device:
- Device or router address: the IP of the device, or of the BACnet/IP router in front of MS/TP devices. Leave it empty to discover the subnet by broadcast instead. Port is 47808 unless the device uses another.
- Device instance: optional. With an address, OTDeck checks that the device there has that instance; with a broadcast, only that device is listed.
- A connection with an address is pinned to it: only the device at that
address (or the devices behind the router there) can be listed, watched,
written or acknowledged on it, even though the UDP socket is shared and
sees every I-Am on the network; Discover on such a connection asks
that address, and Add or a
device:N/…id for a device elsewhere is refused. Make a connection per device or router, or a broadcast connection for the subnet. One exception: a device on another UDP port of the same host (192.168.1.20:47809on a connection to192.168.1.20) can be added with Add by typing its address, because the typed address is your explicit choice; Discover and the I-Am answers the socket sees still keep to the connection’s own port, and another host stays refused. - Local interface or address and Local UDP port: OTDeck binds UDP
47808 on every interface by default, because devices answer a broadcast
Who-Is to that port. Name an interface (
en0,eth0) or a local IPv4 address on a computer with several networks. One socket is shared by every BACnet connection and by Find devices. - BBMD (folded): to reach devices on other IP subnets, register with their BBMD as a foreign device (host, port 47808, TTL 60 s; renewed by itself). Broadcasts then go through the BBMD.
- Timeout and Retries: 3 s and 2 retransmissions per read by default. Writes are sent once, never retransmitted: when no answer comes back, OTDeck says so and you read the value to see whether it was applied.
On connect OTDeck sends a Who-Is to the address (or a broadcast), reads the device object (name, vendor, model, firmware, protocol revision, max APDU, segmentation) and subscribes to the watch list. A device that answers no Who-Is by unicast is asked for its identifier with ReadProperty instead.
The left column lists the devices the connection knows; Discover sends
another Who-Is (with an optional instance range), Add adds one by
address: 10.0.0.7 (the connection’s port, 47808 unless set) or
10.0.0.7:47809 for a device that listens on another UDP port (an IPv4
address or a host name; [address]:port parses for IPv6 but BACnet/IP is
IPv4 only). The port must be 1–65535; port 0, a missing port after : or
a malformed address is refused under the field with what is wrong, and
nothing is sent. Adding needs no plan (Free). The object tree below is the
device’s object list, grouped by object type, with the object names.
Object ids are written as analog-input:1 (the connection’s device) or
device:2601/analog-input:1 (a connection that sees several devices);
ai:1, bv:3, msv:2 and the other short forms are accepted when typing.
What each object type is, its properties and how commanding and COV work
for it: the BACnet object reference (one page per type).
Properties and the priority array
Select an object: OTDeck reads every property the device lists for it (Property_List; older devices get the standard set of their object type) with ReadPropertyMultiple, batched to the device’s max APDU, or property by property on devices without RPM.
- The present value is shown large with its units and status flags (in-alarm, fault, overridden, out-of-service); an out-of-service or in-alarm object carries a badge.
- Binary values show as
active/inactive, multi-state values with their state text (Auto (2)), units as symbols (°C,kPa,%). - A commandable object (outputs, values with a priority array) shows the 16 slots of its priority array, the active one marked, each set slot with a Relinquish action, and the relinquish default.
Slow devices, detected behaviour
A device without ReadPropertyMultiple that answers a second late takes tens of seconds for a connect, the properties of an object or a trend log. The status bar shows what is being read and how far it got (“reading the properties of analog-output:1 · 12 of 34 properties · 8 s”) with Cancel; a cancelled property read shows what came so far. The object panel reads every property once (Read reads them again) and then only the present value, status flags, out of service and the priority array every 2 seconds and right after a write: one request with ReadPropertyMultiple, four without.
What OTDeck learnt about a device and works around (no
ReadPropertyMultiple, APDU 206 without segmentation, SubscribeCOV refused,
pages halved, Weekly_Schedule written whole…) is listed under Detected
behaviour in the device object’s panel. The device row shows how many
there are (an error as a red !); click it to open the panel.
Protocol_Services_Supported and Protocol_Object_Types_Supported are shown
by name (ReadProperty, ReadPropertyMultiple, SubscribeCOV…), the raw
bits under them.
Writes, priorities and relinquish
Write… on a point writes its Present_Value at a priority (WriteProperty
with priority). The value is typed by the object’s data type: a number for
analog objects, active/inactive (or on/off, 1/0) for binary ones, a
state number or name for multi-state ones. The dialog shows the value as
it will be sent before you confirm.
- Priority: the connection’s write priority (16, the lowest, by default) or one you pick. An object with no priority array is written without one.
- Relinquish (NULL): writes NULL at the priority, so the next lower
active slot, or the relinquish default, takes over. Each set slot of the
priority array has a Relinquish action; the value
nullin the agent tools does the same. - Priorities 1–8 are refused by default. 1 and 2 are manual and automatic life safety, 3–8 are reserved for critical equipment control: a value written there overrides every normal command (schedules, the BMS) until it is relinquished. Turn on Allow priority 1–8 in the connection settings only when the device needs it; the backend refuses such a write with a clear error otherwise, for the app and for agents alike (Connection roles and safety).
A write is a write: Pro, refused on read-only connections, the name
typed on production, and every write (also a refused one) in the write log
as bacnet.write with the object, the value and the priority.
Other properties
Besides Present_Value OTDeck writes a fixed list of properties, the ones a commissioning technician changes on site. In the properties panel each of them has a pencil (shown on hover) that opens an editor for its type:
| Property | Objects | Editor |
|---|---|---|
| High_Limit, Low_Limit, Deadband | points with intrinsic reporting | a number (in the device’s own type: REAL, Double, Unsigned or Integer); Deadband 0 or more |
| Limit_Enable | analog points | low-limit and high-limit check boxes |
| Event_Enable | points | to-offnormal, to-fault, to-normal check boxes |
| Time_Delay, Time_Delay_Normal | points | seconds |
| Notify_Type | points | alarm or event |
| Out_Of_Service | points | true or false, with a warning |
| COV_Increment | analog points | a number, 0 or more |
| Object_Name, Description | any object | text; a name is not empty, at most 255 characters, no control, bidirectional or invisible characters |
| Priority | notification classes | three numbers 0–255: to-offnormal, to-fault, to-normal |
| Ack_Required | notification classes | to-offnormal, to-fault, to-normal check boxes |
| Recipient_List | notification classes | a table of entries: device or address recipient, process, days, time window, transitions, confirmed |
Nothing else can be written; the backend refuses any other property, and a point property on a notification class (or the other way round), by name. Review… reads the property again and shows the confirmation: the value now on the device and the value after the write, line by line for a Recipient_List, the data type, how it is sent and what the write does besides (warnings below). On a production connection the connection name is typed as for any write. What the confirmation showed is pinned: when the value on the device, the new value, the method or the device’s address differ when you press Write, nothing is sent and OTDeck says so. A value the device already has is not sent.
The write is one WriteProperty without a priority (these properties are not commandable), sent once. Afterwards OTDeck reads the property back: the toast says “read back” when the device keeps what was sent, or what it reads instead (a device that clamps or rounds the value). Refusals are said in words: the property is read-only on this device (write-access-denied), the value is outside the range the device allows (value-out-of-range), another object already has this name (duplicate-name), the device expects another data type, does not take the character set, has no room for more entries, is busy, or does not allow the write (password, access control). A name or description goes in UTF-8, or in ISO 8859-1 when the device used it for the old value and the text fits.
Warnings in the confirmation:
- Out_Of_Service = true disconnects the point from the field: Present_Value no longer follows the sensor (an input) or no longer drives the physical output, the controller’s logic and alarms see whatever is written to Present_Value, Status_Flags shows out-of-service. Setting it back to false says the point follows the field again.
- Clearing a flag of Event_Enable (the transition is no longer reported), Limit_Enable (the limit is no longer checked) or Ack_Required (the transition no longer waits for an acknowledgement).
- Object_Name: a head-end, a graphic or an EDE list that binds the point by name loses it. Notify_Type: alarm and event are shown and acknowledged differently.
Recipient_List. The editor starts from the list as read now (a list longer than 256 entries, or one OTDeck cannot decode whole, is not written). Add, edit or delete entries; Add this computer fills in OTDeck’s address towards the device. OTDeck then picks the service:
- only entries added: AddListElement with those entries;
- only entries removed: RemoveListElement with those entries;
- anything else (an entry edited, or added and removed together): WriteProperty of the whole list, with a warning: an entry the head-end adds or changes between OTDeck’s read and the write would be lost, so OTDeck refuses the write when the list it reads just before sending differs from the one in the confirmation.
A device without AddListElement / RemoveListElement (Reject
unrecognized-service, or the service refused) gets a clear refusal and
nothing is changed; Write the whole list instead in the confirmation
then sends the whole list the same way. Entries OTDeck added with
Receive notifications here keep their own record
(bacnet-recipients.json); an entry removed here is forgotten from that
record the next time the Recipients sub-tab reads the list.
A property write is a write: Pro, refused on read-only connections,
the name typed on production, in the write log as bacnet.write (an
AddListElement as bacnet.recipient-add, a RemoveListElement as
bacnet.recipient-remove) with <object> <Property> as the target, the
old and the new value whole, the method and whether it read back. AI
agents can ask for these writes (except Recipient_List) through the
approval window (AI agents).
COV and polling
A watched point is subscribed with SubscribeCOV (lifetime 300 s, renewed by OTDeck while it is watched): the device sends every change of Present_Value and Status_Flags, and the watch list shows COV. When the device refuses (no COV, too many subscriptions) the point is polled every Polling interval (1 s by default) and shows POLL, with the reason on hover. Turn Subscribe to changes (COV) off in the connection to poll everything.
Polled reads are one ReadPropertyMultiple per device, batched to its max APDU; production connections send one request at a time. Values reach the trend panel and recordings like OPC UA values do (Trend on an object).
Trend logs
A trend-log object (the Trend log tab, or Trend log on the object) is read with ReadRange of its Log_Buffer:
- Last N records (Record_Count is read first), From position (N records from a 1-based position) or a Time range (the records between two times, at most N).
- At most 10 000 records per read, 100 per page, 200 pages, 4 MB of items and one minute; the read says when it stopped at a limit.
- A read returns at most the Record_Count the log had when the read began, each record once: a log that grows during a slow read (a device that answers a second late logs on meanwhile) cannot show more records than it holds, and a record a page boundary returns twice is dropped (the read says how many).
- Records show their time, value, kind (real, boolean, log-status, failure…) and status flags, in a table and on a chart. Export CSV saves the numeric records (Pro, like every export).
The simulator’s trend-log:1 logs the supply temperature every second
(buffer 3600).
Alarms
OTDeck shows which objects are in alarm, which points are configured to report alarms and who receives them, can make itself a recipient so the device’s notifications reach the laptop, keeps those notifications across restarts and puts them in the commissioning report.
The alarm monitor and the Alarms key
With a BACnet connection open, an Alarms key appears in the top bar next to Rules. It counts the alarms that wait for an acknowledgement on every open BACnet connection: red with any, amber when objects are still in alarm but every transition is acknowledged, grey at 0. A click opens the Alarms tab of that connection.
The count comes from the alarm monitor: in the background OTDeck reads GetEventInformation (GetAlarmSummary on older devices) of every device of the connection, every 10 s on lab and staging connections and every 30 s on production ones. A device that does not answer is asked less and less often (up to every 5 minutes); a notification from a device asks for a round at once (at most every 10 s on production connections, every 3 s on others, so a device that floods notifications cannot make OTDeck poll the whole connection non-stop). When the window has been hidden for 10 minutes (minimised, or covered by a full-screen head-end) the monitor does not stop: it reads every 60 s (every 120 s on production connections), so a new alarm still raises a system notification, and it returns to its normal rate with a round at once when the window is shown again. Turn it off per connection with Alarm monitor (connection settings, BACnet block; it applies at once, as does a change of role): the Alarms tab still reads while it is open.
A new alarm (an object going off-normal or into fault, seen by the monitor or arriving as a notification) raises a system notification, through the same limits as watch rules: one per object every 10 s, ten a minute, then one summary. Each occurrence is announced once (an alarm that returns to normal and trips again is announced again); a device OTDeck reads for the first time, at connect or added later, does not announce the alarms it already had. It is on by default; Notify on new BACnet alarms in the connection settings turns it off.
Active
The Active sub-tab lists every object that is not in the normal state
or still waits for an acknowledgement: its event state (high-limit,
offnormal, fault, normal…), the most urgent priority still waiting,
and the three transitions (to-offnormal, to-fault, to-normal), each
acknowledged or waiting, with the device’s time stamp and priority. On a
connection with several devices, All devices shows what the monitor
read last on each of them, without new requests. Filter by Waiting for
ack, Active, a priority group of Annex M (life safety 0–31, property
safety 32–63, supervisory 64–95, trouble 96–127, other 128–255) and the
name. The tab itself reads a device every 3 s on lab connections, every 10 s
on staging and every 30 s on production ones.
Ack sends AcknowledgeAlarm for one transition with the time stamp the
device reported for it (the device refuses a stale one). That is a write:
Pro, refused on read-only connections, the name typed on production,
logged as bacnet.ack with the object and the transition. The
acknowledgement source the device records is OTDeck · <your user name>,
so the operators of the building see who acknowledged.
The ⋯ menu of a row opens the object in the tree, makes a watch rule prefilled from its alarm settings (Above High_Limit or Below Low_Limit, or Outside both, the deadband and Time_Delay as the on-delay), adds it to a point checkout sheet expecting the alarm back to normal (the sheet’s Alarm column), or puts its value on the trend.
Notifications
The event notifications that reach OTDeck are kept in bacnet-events.jsonl
in the data folder (rotated at 1 MiB, one old file kept), so the
Notifications sub-tab shows them after a restart too, by device and by
transition (to off-normal, fault, normal, acknowledgements). Only
notifications from devices of the connection, sent from their own
addresses, are kept: BACnet does not authenticate them.
Configured
Configured lists the objects of the device that report events (GetEnrollmentSummary), one row each: event type, current state, priority, notification class, the transitions Event_Enable reports, the limits and deadband, Time_Delay and Notify_Type. A ⚠ marks a row that looks wrong: Event_Enable without to-normal (the return to normal is never reported), a notification class the device does not have, or Event_Detection_Enable off. A device without GetEnrollmentSummary (it was deprecated in 2010 and many devices lack it) gets the list built from the properties of its point objects (up to 2000), marked “built from properties”.
Recipients
Recipients shows the Notification Class objects of the device: the
priority of each transition, which ones need an acknowledgement, and the
Recipient_List as a table (days, time window, the recipient as
device:1234 or 192.168.1.20:47808, process, confirmed or not,
transitions). OTDeck’s own entry is marked.
A device sends its notifications only to the recipients in this list.
Receive notifications here adds OTDeck with AddListElement: an address
recipient with this computer’s IP address towards the device and OTDeck’s
UDP port, process 1, every day, all day, all transitions, unconfirmed
unless you tick Confirmed notifications. Remove OTDeck takes it out
with RemoveListElement. Both are writes: Pro, refused on read-only
connections, the name typed on production, logged as
bacnet.recipient-add and bacnet.recipient-remove with
device:N/notification-class:K and the recipient.
OTDeck remembers the entries it added (bacnet-recipients.json) and
reminds you on the Alarms tab while one is still there: remove it before
you leave the site, or the controller keeps sending to an address that is
gone (and retries confirmed notifications). An entry is OTDeck’s only when
OTDeck recorded adding it: other entries on port 47808 with process 1 (a
head-end, a colleague’s OTDeck) are never taken for OTDeck’s and cannot be
removed from here (they can be changed deliberately in the Recipient_List
editor of the properties panel, Other properties). A recorded entry at an address this computer no longer
has (DHCP, VPN) is marked old address, with Remove and Update
address; one that is gone from the list (removed by the head-end, a
device reset) is forgotten when the Recipients sub-tab reads the list. An
entry at this computer’s address that OTDeck did not record shows as anyone
else’s; Receive notifications here finds it there and records it. AI
agents cannot change recipients at all.
When OTDeck cannot add itself it says why: the device does not support AddListElement (add OTDeck in the head-end by hand, with the address and process shown, or edit the Recipient_List in the properties panel and write it whole, see Other properties), the list is full, the device is behind a router (the recipient needs a network number; add it in the head-end), or the connection is BACnet/SC. If an alarm is in the list but no notification arrived 5 minutes after you subscribed, the Active sub-tab says so: a firewall or NAT is probably dropping UDP from the device (Troubleshooting).
Free and Pro
Viewing alarms, notifications, the configured objects and the recipients, the monitor and its notifications are Free. Acknowledging, adding or removing OTDeck as a recipient and changing the alarm set-up (limits, enables, delays, notification class priorities, Ack_Required and Recipient_List, Other properties) are writes to the controller: Pro. The “BACnet alarms” section of the commissioning report is Pro with the report.
Simulator
The simulator’s analog-input:1 (Supply temperature) has a HighTemperature
alarm above 90 °C (notification class 1 “Boiler alarms”, acknowledgement
required on every transition): set the setpoint (analog-output:1) to 95
and watch it trip, acknowledge it, set the setpoint back and acknowledge
the to-normal transition. binary-input:1 (Pump running) reports an event
when it reads Stopped for 5 s (notification class 2 “Boiler warnings”, no
acknowledgement; stopping the pump with binary-output:1 trips it).
Boiler alarms starts with an empty Recipient_List, so Receive
notifications here can be tried; Boiler warnings has a foreign device
recipient (device:9001).
Schedules and calendars
A schedule object (type 17) or a calendar object (type 6) opens in the Schedule tab (pick it in the tree, or Schedule on the object). The whole object is read at once: for a schedule its present value, Schedule_Default, Effective_Period, Weekly_Schedule, Exception_Schedule, List_Of_Object_Property_References (the properties it writes, with the target’s name; read-only) and Priority_For_Writing; for a calendar its present value and Date_List.
- Week grid: Monday to Sunday, each day its time-value entries (from
that time on, the schedule’s value is this). Add an entry with +,
change its time (24 h,
07:00or07:00:30) or value, remove it with ×; Copy puts one day’s entries on other days (pick them, or Weekdays / All). Days you changed are highlighted. - Values are typed by the schedule’s data type, taken from
Schedule_Default, else from the entries already there, else from the
first target: binary schedules take
active/inactive, a multi-state target its state names, Real a decimal number, Unsigned a whole number.nullhands over to the next lower layer (an exception’snulllets the week apply again). A schedule with no type anywhere only takesnull. - Exceptions (BACnetSpecialEvent): a period, which is a date
(
2026-12-24,*-12-24every year,*for any field, monthodd/even, daylast/odd/even, a weekday after a space), a date range, a week-and-day pattern (month, week of the month or one of the last-7-days weeks, weekday), or a reference to a calendar of the device; its own time values; and an event priority, 1 highest to 16. - Date list of a calendar: dates, ranges and week-and-day entries in the same forms; the calendar’s present value is true on those days.
Edits stay in the panel until Write weekly schedule…, Write
exceptions… or Write date list…. The confirmation reads the object
again and shows the property now on the device and after the write, line
by line, and the days that change; what it showed is pinned (a write whose
new value or device address differs when you press Write is refused,
nothing is sent). A schedule write is a device write: Pro, refused on
read-only connections, the name typed on production, and logged as
bacnet.write with the object, the property and the new value in one line.
Weekly_Schedule is written by day when fewer than seven days change (WriteProperty with an array index 1–7 per changed day). A device that refuses a write by index (an Error, Reject or Abort) gets the whole week in one write instead, and OTDeck remembers that for the device (“Weekly_Schedule written whole” in its workarounds). Exception_Schedule, Date_List and Effective_Period are always written whole. Schedule properties carry no priority.
The simulator has schedule:1 Occupancy schedule (binary: weekdays
07:00–18:00 active, Saturday 09:00–13:00, Sunday off), one exception that
references calendar:1 Holidays (Christmas every year, 2026-12-31 to
2027-01-01, the last Monday of May) at priority 10, and Schedule_Default
inactive. Its present value follows the clock and goes to binary-value:2
Occupancy at priority 16; change the week and watch Occupancy follow.
EDE export
Export EDE… under the device list writes the Engineering Data Exchange files of the BACnet Interest Group Europe (B.I.G.-EU), layout 2.3, that integrators import into management stations and engineering tools: the selected device or all devices the connection knows. The save dialog asks for the main file; the three files go into that folder:
<name>_EDE.csv, semicolon separated, CRLF lines, UTF-8. A header block (# Engineering-Data-Exchange - B.I.G.-EU,PROJECT_NAME= the connection name,VERSION_OF_REFERENCEFILE1,TIMESTAMP_OF_LAST_CHANGEas dd.mm.yyyy,AUTHOR_OF_LAST_CHANGEOTDeck and its version,VERSION_OF_LAYOUT2.3), the mandatory/optional line, the column names, then one row per object: keyname (<device>_<type>_<instance>), device obj.-instance, object-name, object-type (number), object-instance, description, present-value-default (Relinquish_Default), min-present-value and max-present-value (Min/Max_Pres_Value, 1 and Number_Of_States for multi-state objects), settable (Y for objects with a priority array), supports COV (Y for points unless the device’s Protocol_Services_Supported says no SubscribeCOV), hi-limit and low-limit (High_Limit, Low_Limit), state-text-reference, unit-code, an empty vendor-specific-address and notification-class.<name>_StateTexts.csv:#State Text Reference, then per reference number the texts (Inactive_Text and Active_Text of binary objects, State_Text of multi-state ones); objects with the same texts share a number.<name>_Units.csv:#Encoding of BACnet Engineering Units, the code and the unit text of every engineering unit.
Cells never contain the separator or a line break (a ; in a name becomes
,). The export reads the object list and, per 20 objects, one
ReadPropertyMultiple (property by property on devices without it); what
could not be read is listed in the result. Pro, like every export.
MS/TP
MS/TP devices (RS-485) are reached through a BACnet/IP router: give the router’s address as the device address, and Discover lists the routed devices with their network number and MAC; OTDeck addresses them through the router. A direct serial MS/TP link is not supported.
BACnet/SC
BACnet Secure Connect (ASHRAE 135 Annex AB) replaces UDP with a WebSocket over TLS 1.3 to a hub; every node holds an operational certificate issued by the installation’s CA, and the hub forwards messages between the nodes. OTDeck is a node: set Transport to BACnet/SC in the connection and give it
- the primary hub URI (
wss://hub.site:4443/hub;wssonly) and, when the site has one, the failover hub URI: OTDeck uses the failover while the primary is down, keeps retrying the primary and switches back; - the operational certificate, its private key and the CA
certificate as PEM files. The profile stores the paths, never the key.
The certificate must carry the device UUID as a
urn:uuid:subject alternative name; Device UUID is assigned when the profile is first saved and kept, as the standard requires. The VMAC is random per session. A copy of the connection (Duplicate) gets a UUID of its own, a shared project file never carries one (each member’s node takes the UUID its certificate names), andotdeck-mcpconnects as a node of its own with a UUID per process: two connections with one UUID would replace each other on the hub every reconnect interval (AB.6.2.3).
The checks are the ones of AB.7.4: the hub’s certificate must be valid now
and directly signed by one of the CA certificates in the CA file (no
chain building, no system trust store); the hub checks OTDeck’s certificate
the same way against its own CA list. The file in the CA field must be a
CA certificate (the CA basic constraint, a key usage that allows signing
certificates), and a hub certificate that names extended key usages must
include server authentication. Note what the standard’s minimum means: any
operational certificate of the installation (a controller’s, say) is
accepted as the hub unless Verify the hub’s host name is on; that
option is off by default as the standard asks, and worth turning on where
hub certificates carry the host name. A redirect from the hub is never
followed: the connection ends with http-unexpected-response-code. The connection
status shows which hub serves (primary or failover) and, when the hub
cannot be reached, the Network Port style error code (for example
tls-server-certificate-error for a hub signed by another CA,
tcp-connection-refused for a hub that is down); the connector retries
with the Reconnect waits (2 s doubling to 60 s by default) and
Heartbeat (60 s by default, 3–300) keeps the connection alive.
Getting a certificate (CSR flow). Generate CSR writes a new P-256
private key (node-key.pem, mode 0600) and a request (node.csr, CN = the
connection name, SAN urn:uuid:<device UUID>) into the profile’s folder
under the app directory; hand node.csr to the installation’s CA (its
configuration tool), put the certificate it returns into the certificate
field and the CA’s own certificate into the CA field. The dialog shows the
certificate’s subject, expiry, whether the key matches and whether the CA
file signed it.
Create test CA + certificate is for the simulator’s hub and a test
bench only: it makes a CA of its own and a certificate signed by it. A site
hub trusts the installation’s CA, not this one. The simulator’s own test CA
lives in sim-bacnetsc/ in the app directory (with the hub’s and the
device’s certificates and an identity for OTDeck); Welcome → Add the
simulated BACnet/SC hub creates a profile with those files.
Each Generate CSR writes a new key and request named by the time, so a
request already sent to the CA keeps its key.
Discover sends Who-Is through the hub (a broadcast to every node); devices
are listed by their VMAC (02:B5:B8:2B:9B:B9), and Add takes a VMAC
instead of an IP address. Everything else (objects, properties, the watch
list with COV, writes and relinquish, trend logs, alarms, agents) works as
over BACnet/IP: the hub connection replaces the UDP socket, nothing above
it changes.
Connecting over BACnet/SC is Pro (the same feature as the OPC UA certificate manager); a Free profile can be saved and its CSR or test certificate made, and connecting shows the upgrade hint.
Not in this version: a direct connection between nodes (node switch, Address-Resolution answers “not supported”, all traffic goes through the hub, which the standard allows), TLS KeyUpdate on demand (a long-lived connection is refreshed by reconnecting), CRL/OCSP fetching, the hub function as a site hub (the built-in one is for the simulator and tests) and the 2024 additions (Hello/Identity options).
AI agents
browse lists the devices and objects of a BACnet connection, read_nodes
reads present values with units and status flags, read_history reads a
trend-log object and list_events the alarms of one device or of all of
them, with priority, notification class and the transitions waiting, the
notifications OTDeck received and, with include_enrollment, the objects
configured to report events. read_nodes
on a schedule or calendar object also returns it whole in schedule (the
week Monday first, the exceptions with their period and priority, the
effective period, the default, the targets, or the date list). Schedules
are read-only for agents: a schedule write goes only through the Schedule
tab. On a connection
set to Read and write for agents (Pro), write_nodes asks to write
present values at the connection’s write priority (null relinquishes),
or with property one of the other properties except
Recipient_List (the window shows the property, the value now and the new
one, how it is sent and the same warnings as the editor, Out_Of_Service
included), and ack_alarm to acknowledge a transition; each one opens the approval window
with the object, the whole value as sent, the priority each object is
written at (or “no priority” for an object without a priority array, and a
warning for a reserved priority 1–8), the device and the address it is
reached at, or the alarm and its state, and nothing happens until you allow
it (AI agents (MCP)). What the window showed is what goes out: a write
whose conversion or device address differs at the moment you allow it (for
a property: whose value on the device changed too), or an acknowledgement
whose alarm changed, is refused instead. Agents never change a
Recipient_List.
Troubleshooting
“BACnet/SC hub wss://…: … (tls-server-certificate-error)”. The hub’s
certificate is not directly signed by a certificate in the CA file (or is
expired): ask the installation for the CA that signed the hub, not a parent
of it. tls-client-authentication-failed is the other way round: the hub
does not trust OTDeck’s certificate (its CA is not in the hub’s list, or the
CSR was signed by another CA). tcp-connection-refused / a DNS error:
check the URI and port.
“no answer from the device (timeout)”. Check the address, that the device is on this subnet (or reachable through its BBMD), and that the firewall lets UDP 47808 in and out: BACnet/IP answers come back to OTDeck’s port 47808, and some firewalls drop unsolicited UDP. On Windows, allow OTDeck for private networks when the firewall asks.
“UDP port 47808 is taken by another BACnet application”. Only one program can bind 47808 on an address. Stop the other one (YABE, a BMS client, bacnet-stack tools), or set another Local UDP port in the connection: unicast to a device still works, but broadcast discovery then sees no answers (devices answer to 47808), so add devices by address.
Discover finds nothing on a computer with several networks. The broadcast went out on another interface: set Local interface or address to the one on the BACnet subnet. On Windows, bind the local address of that interface rather than its name.
Devices on another IP subnet are not found. Broadcasts do not cross IP routers: register with the subnet’s BBMD (the BBMD block in the connection) or add the devices by address.
A write is refused with “priorities 1-8 are refused”. See Writes above: turn on Allow priority 1–8 only when this device needs it.
“this device does not support AddListElement”. Older controllers cannot change a Recipient_List element by element. Add OTDeck in the head-end by hand with the address and process the message names, or test alarms by polling (the Active sub-tab and the monitor work without being a recipient).
Notifications do not arrive after Receive notifications here. See Troubleshooting.
“the device refused the acknowledgement”. The transition was acknowledged meanwhile, or the device wants a time stamp OTDeck does not have (GetAlarmSummary-only devices): read the alarms again.
Values freeze on COV. The device stopped notifying (a reboot, the subscription dropped): OTDeck falls back to polling on the next renewal and says so in the Mode column; reconnect to subscribe again.