BACnet was developed by the American Society of Heating, Refrigeration and Air Conditioning Engineers Inc., abbreviated as ASHRAE. Published as an American standard in 1995, BACnet has been an ISO 16484-5 standard since 2003. BACnet offers open and interoperable building automation. Many technologies and network topologies are supported such as ETHERNET, ARCNET LAN, MS/TP, or PTP. It offers great flexibility as well as lower maintenance and installation costs in building automation and control.
This driver supports BACnet/IP, BACnet MS/TP and BACnet/SC (Secure Connect). Most BACnet features are supported, including COV subscriptions, alarms and events, BBMD and foreign device registration, trend logs, schedules and calendars, time synchronisation and EDE import/export.
This tutorial showcases the configuration of the BACnet IP on the Universal IoT Gateway. In the topology, there is 2 other BACnet devices on the local network area (LAN), and on the VPN interface one foreign BACnet device. In this example, it will be shown how to route a value from the foreign device (26.0.0.77) to one of the local devices (192.168.178.66).
The first step is to insert the BACnet IP/MSTP gateway. Each BACnet gateway is one BACnet device, and the BACnet device can interact on multiple IP and/or MSTP interfaces. Here we setup the BACnet device name to Universal IoT Gateway and the BACnet device id to 888. By clicking on the highlighted + button, multiple IP interfaces can be added. Here 2 interfaces are used, one on 192.168.178.67/24 the LAN (note that here the /24 netmask must be correct because the BACnet protocol uses broadcast packets for device discovery), and 26.0.25.114 for the VPN interface.
When the BACnet driver is started for the first time, the %bac:local is created and contains the general information about the local device (i.e. the BACnet driver process itself). By right-clicking on this address, it is possible to insert local objects.
The BACnet driver administration interface is separated in two parts, the Local server tab, where objects were added in previous section, and the Clients tab.
To discover the devices of the network, open the Clients tab and choose Broadcast → Send command "Who is". The gateway broadcasts a who-is packet on all its interfaces; each device that receives it answers with an i-am packet containing its device identifier, its vendor identifier and its segmentation capabilities. For five minutes after the command, every device that answers is added to the Clients table automatically. Broadcasts do not cross IP routers or VPN links: in this example discovery works on the LAN interface only, and the device on the VPN interface has to be inserted manually (next section) or reached through a BBMD or a foreign device registration (section 2.1).
The Send command "I am" entry is not implemented yet. To make the gateway announce itself, use the gateway option Send "Iam" at start.
As the VPN IP interface 26.x.x.x does not support the broadcast traffic, it is not possible to add the devices automatically with the discovery. In this context, it is needed to do a manual insertion of this device.
After the insertion, the driver tries to get the BACnet device id by sending unicast BACnet requests. If the BACnet device id cannot be retrieved automatically, it may be necessary to define it manually. To do so, the Instance column can be edited as shown below. When the communication with the device works, the BACnet device name should appear.
Each BACnet device has one special object of type Device whose instance is the BACnet device id. That device object contains many information about the device such as its name and its supported BACnet services / features. One of these properties is the BACnet device objectList. This property is particularly useful because it contains the list of all the objects present on that device. By reading this property, it is possible to browse the device, e.g. to retrieve the list and import all its BACnet objects. Right-click the device and choose Import all objects to insert every supported object of the device with its properties. On a device with many objects, choose List objects instead: the gateway reads the object list and lets you tick only the objects you need (objects already present are greyed out). Both commands are also available for several selected devices at once, and a running import can be cancelled. Import all objects does not insert notificationClass objects: to receive the alarms of a device (section 4.3), add its notification class with List objects or Insert object.
In this tutorial the local BACnet device on 192.168.178.67 acts as a data client and subscribe to an object for COV (Change Of Value) reporting. The target device, here 192.168.178.66, monitors the present value of the object property and checks the subscription list and the change criteria. When the change criteria are met the target device sends notifications of the new value to the subscriber(s) (here 192.168.178.67). Each object row has a COV column. Click the cell to switch between unsubscribe and subscribe (in the address form the field is called Subscribe). The subscription uses the gateway COV Lifetime and is renewed automatically. Configurations made with older versions may store true/false, which have the same meaning.
As not all devices support COV subscriptions, it is sometimes needed to poll BACnet objects. Each BACnet object property can be polled independently, but usually only the presentValue is polled. The polling is configured in the Polling column. That column is hidden by default and need to be displayed in the table. In this tutorial, the BACnet device with ip address 192.168.178.99 is polled every minute to update its present values as shown in the screenshot below. The value is a period in milliseconds (60000 = one minute); a cron expression is accepted as well. Note that the polling should be used as sparsely as possible because it can cause traffic congestion, especially when using BACnet MSTP.
In this example we create a route between the source address %bac:26.0.0.77/analogValue:133 and the destination address %bac:192.168.178.66/analogValue:1. Note that in this case only the object values are routed, but for other use cases it is also possible to route the other object properties.
To republish objects of client devices on the gateway's own BACnet server, select one or several objects in the Clients tab, right-click and choose Route property to local. For each selected object the gateway creates a local object, inserts the chosen property of the remote object and creates a route from the remote property to the local one.
| Field | Description |
|---|---|
| Property | Property of the remote objects to route, usually presentValue. |
| Polling | Optional polling period written on the remote property addresses (see section 3.5). |
| Object name suffix | Text appended to the remote object name to build the name of the local object. |
| Object type | Type of the local objects (default analogValue). |
| Object instance | Instance of the first local object; the next ones take the following numbers, so a free range is needed. |
| Object property | Property of the local object that receives the value, usually presentValue. |
| Transform value | Optional transform function applied by the routes. |
For a complete proxy project (objects of several controllers republished on the gateway's BACnet device, with their alarms), see BACnet proxy: republishing the objects and alarms of other devices.
While the default addressing scheme is good for the BACnet internal communication, humans enjoy visualizing their BACnet network using the BACnet device names and BACnet object names. The screenshot below shows how to activate this alternative view. Note that it is possible to do routings and build logic circuits using this simplified address naming scheme.
The BACnet gateway has many parameters.
| Label | JSON Key | Description |
|---|---|---|
| Device ID | id | Instance number of the gateway's own device object. It must be unique on the BACnet network. Allowed values: 1 to 4194301 (0 is replaced by 700; with a larger value the driver does not start). The form proposes 700: change it as soon as several gateways share the same network. |
| Vendor ID | vendorId | The vendor id as defined in the list of assigned vendors. |
| Vendor name | vendorName | Vendor name announced by the gateway (default Weble). |
| Model name | modelName | Model name announced by the gateway (default EY-GTW103S). |
| Cluster ID | cluster | If not 0, the driver runs in the same process as the other drivers that have the same cluster ID, which saves memory (see Gateway clusters). |
| COV Lifetime | covLifetime | Lifetime in seconds of the change of value subscriptions. Each subscription is automatically renewed when it expires. Devices that execute SubscribeCOV or SubscribeCOVProperty (COV servers) accept all lifetime values in the range 1 through 28800 seconds (8 hours). |
| Bacnet process ID | bacnetProcessIdType | OS PID (default) or fixed. The BACnet process identifier is sent with the COV subscriptions and with the entry the gateway writes in the recipientList of remote notification classes. With OS PID it changes at every driver restart; choose fixed to keep the same identifier across restarts. |
| Fixed process ID | bacnetProcessId | Identifier used when the type is fixed (0 to 4294967295). Only shown in that case. |
| Manage status flags | manageStatusFlags | Array of four flags in the order [IN_ALARM, FAULT, OVERRIDDEN, OUT_OF_SERVICE] telling which status flags of the local objects the gateway manages itself (1) or leaves to the application (0). The form shows IN_ALARM and OVERRIDDEN; FAULT and OUT_OF_SERVICE are always managed. Default [1,1,1,1]. |
| Alarms from routes | externalEvents | For proxy installations, where local objects are copies of objects of other devices. When checked, the local device no longer derives alarms from the values of its local objects (alarmValue, highLimit, lowLimit); their alarm state is set only by writes to the %bac:local/.../events addresses (see section 4.7). |
| Send "Iam" at start | sendIamAtStart | Broadcasts or not the "iam" packet at startup. Note that frequent automatic broadcasts are discouraged in order to avoid traffic congestion. |
| Default priority | defaultPriority | Defines the default write priority (ranging from 1 to 16) when a value is written to a device supporting the priorityArray property. |
| On error value | onErrorValue | Value given to an object or property address of a client device when its read fails (error answer or timeout) more than Error retries times in a row. Empty (default) = the last value is kept. The text $error is replaced by the error message; a numeric text is converted to a number. In all cases the status of the address shows the error (! …) and returns to online at the next successful read. |
| Error retries | errorRetries | Number of consecutive read errors tolerated (0 to 6, default 0) before the address is flagged in error and On error value is applied. |
| Object value | objectValue | Determines whether BACnet object addresses hold only the presentValue property or a JSON object containing all properties. |
| IP interfaces | ip | A list (array) of IP interfaces as described in the following section. |
| MSTP interfaces | mstp | A list (array) of MSTP interfaces as described in the following section. |
| BACnet/SC channels | sc | A list (array) of BACnet/SC channels, see section 2.3. |
BACnet can communicate on several different networks, so a list of multiple IP interfaces can be configured with the following parameters.
| IP Label | JSON Key | Description |
|---|---|---|
| Interface | ip[n].interface | The IP interface identifier, either the interface name such as eth0 or the ip address and mask such as 192.168.1.99/24. |
| Port | ip[n].port | The IP port (default 47808) |
| Network number | ip[n].networkNumber | BACnet network number of this interface (1–65534), used only when the gateway routes BACnet messages between its interfaces. In the current version the value is ignored (the driver uses 0) because the router mode cannot be enabled from the form. Leave 0. |
| Time sync mode | ip[n].timeSyncMode | none (default), server or client. server: the gateway broadcasts its time on this interface. client: the gateway sets its own system clock from the time received on this interface. |
| Broadcast interval(ms) | ip[n].timeSyncBroadcastMs | server mode only. Period of the time broadcasts in milliseconds; 2000 ms when left empty. |
| UTC time format | ip[n].timeSyncUtc | server mode only. Sends the time as UTC (UTCTimeSynchronization) instead of local time. |
| BBMD enabled | ip[n].bbmd | If activated, the device acts on the interface as a BACnet Broadcast Management Device (BBMD). It is used to forward multicast/broadcast messages to other BBMDs lying on different networks. |
| BBMD peers | ip[n].bbmds | The list of BBMD peers. Their parameters are described in the BBMD table below. If the address of the gateway itself is in the list, it is removed automatically. |
| Foreign registrations | ip[n].foreignRegistrations | This device registers itself as a foreign device to the BBMDs listed in this parameter. Upon receipt of the message, the BBMD adds this device as a foreign device to its Foreign-Device-Table (FDT) and starts a timer equal to the Time-to-Live parameter (hereafter "ttl"). Their parameters are described in the Foreign registration table below. |
| BBMD Label | JSON Key | Description |
|---|---|---|
| Address | ip[n].bbmds[m].address | The IP address of the BBMD peer. |
| Netmask | ip[n].bbmds[m].netmask | The IP netmask of the BBMD peer (default 255.255.255.255). |
| Port | ip[n].bbmds[m].port | The IP port of the BBMD peer. |
| Foreign Registration Label | JSON Key | Description |
|---|---|---|
| Address | ip[n].foreignRegistrations[m].address | The IP address of the BBMD to which this device registers itself as a foreign device. |
| Port | ip[n].foreignRegistrations[m].port | The IP port of the BBMD to which this device registers itself as a foreign device. |
| TTL (seconds) | ip[n].foreignRegistrations[m].ttl | Time to live of the foreign device registration (minimum 10, default 120). The registration is renewed automatically. |
BACnet can communicate on several different networks, so a list of MSTP interfaces can configured with the following parameters.
| MSTP Label | JSON Key | Description |
|---|---|---|
| Serial Port | mstp[n].port | Serial port of the MSTP rs485 line. |
| BaudRate | mstp[n].baudRate | 9600, 19200, 38400 (default), 57600, 76800 or 115200. All devices of the line must use the same value. |
| Serial ID | mstp[n].serialId | MS/TP MAC address of the gateway on the RS-485 line (default 1). The gateway is a master node: use an address between 0 and 127 that no other device uses. |
| Max Masters | mstp[n].maxMasters | Default 127. Setting this parameter permits to limit unnecessary MS/TP polls sent to find new masters that do not exist. This is especially important when this device has the highest MAC address / serial id on the serial line. |
| Network number | mstp[n].networkNumber | BACnet network number of this interface (1–65534), used only when the gateway routes BACnet messages between its interfaces. In the current version the value is ignored (the driver uses 0) because the router mode cannot be enabled from the form. Leave 0. |
| Time sync mode | mstp[n].timeSyncMode | none, client or server. Specifies whether the device acts as a time synchronization server or client on this interface. |
| UTC time format | mstp[n].timeSyncUtc | When using UTC time synchronization (UTC=Universal Time Coordinated) the time is transmitted as GMT (Greenwich Mean Time = local time London). The timer converts the time to GMT before sending. |
| Broadcast interval(ms) | mstp[n].timeSyncBroadcastMs | Only applies if the time sync mode is server. The time synchronization server broadcasts the current time periodically. The period is defined by this milliseconds interval. |
BACnet/SC (Secure Connect) carries BACnet over TLS-encrypted WebSocket links (wss://) to a BACnet/SC hub. Each channel of the list is one BACnet/SC node; the gateway can also be the hub itself. Certificates are files stored on the device: give an absolute path, or a path relative to data/bacnet-sc/. For a step-by-step setup (gateway as node or as hub), see BACnet/SC: connecting a gateway to a hub, or using it as the hub.
| Label | JSON key | Description |
|---|---|---|
| Hub address (wss://host:port) | sc[n].hubUri | Address of the hub, e.g. wss://10.0.0.5:47808. Leave empty when the hub runs on this device. ws:// is unencrypted and meant for debugging only. |
| Failover hub address | sc[n].failoverUri | Optional second hub, used alternately with the primary hub after each connection failure. |
| Own certificate file (p12, or cer + key) | sc[n].ownCertificate | Certificate of this device with its private key: a .p12/.pfx file, or a .cer/.crt/.pem file with a .key file of the same name next to it. Mandatory with wss://. |
| Certificate password | sc[n].ownCertificatePassword | Password of the .p12/.pfx file (empty if none). |
| Trusted certificates file (CA) | sc[n].trustedCertificates | The CA that signed the hub certificate (and the node certificates when this device is the hub), or these certificates themselves. .pem (several certificates allowed), .cer or .p12. |
| Validate hub certificate | sc[n].validateHubCertificate | Checked by default. When unchecked any hub is accepted: debugging only. |
| Hub on this box | sc[n].hubEnabled | The device is the BACnet/SC hub: it accepts the other nodes and relays their messages. The node of this channel connects to it automatically when the hub address is empty. |
| Hub port | sc[n].hubPort | TCP listening port of the hub (default 47808). The other nodes connect to wss://<device ip>:<port>. |
| Hub without TLS (debug) | sc[n].hubPlain | The hub listens in ws://, without encryption or certificates. Debugging only. |
| Require TLS 1.3 | sc[n].tls13Only | Leave unchecked on current Linux devices: TLS 1.3 is not available there and the link would fail. Unchecked, the best available TLS version is negotiated. |
| Heartbeat (s) | sc[n].heartbeatSeconds | Interval of the heartbeats sent to the hub (default 30, 0 = none). |
| Reconnect delay (s) | sc[n].reconnectDelay | Delay before a new connection attempt (2 to 30, default 5). |
| VMAC (12 hex, optional) | sc[n].vmac | Address of this node on the BACnet/SC network. When empty it is derived from the gateway and stays the same across restarts. |
| Network number | sc[n].networkNumber | Same as for an IP interface (see the remark there). |
The driver does not start if the hub address is empty while Hub on this box is unchecked, if the hub address does not start with wss:// or ws://, or if wss:// is used without an own certificate.
Devices reached through BACnet/SC are addressed by their VMAC, e.g. %bac:sc_0123456789AB/analogValue:1/presentValue.
{
"name": "Bacnet Device 1",
"driver": "bacnet",
"description": "",
"active": 1,
"json": {
"vendorId": 80,
"vendorName": "Weble",
"modelName": "EY-GTW103S",
"id": 777,
"covLifetime": 600,
"manageStatusFlags": [
1,
1,
1,
1
],
"sendIamAtStart": false,
"defaultPriority": 16,
"onErrorValue": "",
"errorRetries": 0,
"objectValue": "presentValue",
"bacnetProcessIdType": "OS PID",
"bacnetProcessId": 0,
"externalEvents": false,
"ip": [
{
"interface": "eth0",
"port": 47808,
"networkNumber": 0,
"timeSyncBroadcastMs": "",
"bbmds": [],
"foreignRegistrations": []
}
],
"mstp": [],
"sc": []
}
}
{
"name": "Bacnet Foreign Device",
"driver": "bacnet",
"description": "",
"active": 1,
"json": {
"vendorId": 80,
"vendorName": "Weble",
"modelName": "EY-GTW103S",
"id": 1239,
"covLifetime": 600,
"manageStatusFlags": [
1,
1,
1,
1
],
"sendIamAtStart": false,
"defaultPriority": 16,
"onErrorValue": "",
"errorRetries": 0,
"objectValue": "presentValue",
"bacnetProcessIdType": "OS PID",
"bacnetProcessId": 0,
"externalEvents": false,
"ip": [
{
"interface": "26.0.0.77/8",
"port": 47808,
"networkNumber": 0,
"timeSyncBroadcastMs": "",
"bbmds": [],
"foreignRegistrations": []
}
],
"mstp": [],
"sc": []
}
}
BACnet address names all start with the %bac: prefix:
%bac:local[/<objectType>:<instance>[/<property>]]
%bac:<device>[><routed device>][/<objectType>:<instance>[/<property>]]
%bac:<device>[/<objectType>:<instance>]/events
<device>: an IPv4 address with an optional UDP port (192.168.178.66, 192.168.178.66:47809), an MS/TP MAC address (0–127) or a BACnet/SC VMAC (sc_ followed by 12 hexadecimal digits).><routed device>: for a device behind a BACnet router. The first part is the router (first hop), the part after > is the final device, optionally preceded by its BACnet network number (DNET): %bac:192.168.1.2>3:12 is the MS/TP device with MAC 12 on network 3, reached through the router 192.168.1.2. In the address form these are the Routing target and Network number (DNET) fields.<property>: one of the properties of section 3.2, events (section 4.4), or a custom property written custom_<property id>_<data type>, e.g. custom_85_float (section 3.3; client devices only).There are 3 types / levels of BACnet addresses:
local as it can operate over multiple networks, while client devices are identified either by [ip address][:optional udp port] (the port is 47808 if omitted) for BACnet/IP, or by their MS/TP MAC address 0 to 127 for a device on a serial line of the gateway. Note that if the client BACnet device is behind a BACnet router, the address of the device contains the routing addresses chain. Example of a chained address : %bac:192.168.1.2>2, where 192.168.1.2 is the BACnet ip to mstp router, and 2 is the final client MSTP mac address.analogValue, binaryValue, ...) coupled with their instance number ranging from 0, 1, 2, ... up to 4194302. Example : multiStateValue:44. Object type and property names are case-sensitive and must be written exactly as in the tables below.presentValue, objectName, description, etc...The table below shows examples of addresses of different types
| prefix | device | object | property | description |
|---|---|---|---|---|
%bac: |
local |
The local BACnet device of the BACnet driver. | ||
%bac: |
192.168.178.66 |
Another BACnet device on the local ip address 192.168.178.66. | ||
%bac: |
12 |
The BACnet serial MSTP device with MSTP MAC address 12. | ||
%bac: |
local |
/analogValue:1 |
The analog value object with instance 1 of the local BACnet device. | |
%bac: |
local |
/analogValue:1 |
/presentValue |
The present value property of the analog value object with instance 1 of the local BACnet device. |
%bac: |
12 |
/binaryValue:4 |
/objectName |
The object name property of the binary value object with instance 4 of the MSTP BACnet device with MAC address 12. |
%bac: |
192.168.1.2>3:12 |
/analogInput:4 |
/presentValue |
Present value of analog input 4 of the MS/TP device 12 on network 3, behind the router 192.168.1.2. |
%bac: |
sc_0123456789AB |
/binaryValue:1 |
Binary value 1 of a BACnet/SC device. | |
%bac: |
192.168.178.66 |
/analogValue:1 |
/custom_85_float |
Property 85 of the object, decoded as a float. |
%bac: |
192.168.178.99 |
/events |
Last event received from, or acknowledgment sent to, this device. |
New BACnet objects types can be added on customer request. Please find below the list of currently supported BACnet object types.
| Object type | Local BACnet device | Clients BACnet devices | Description |
|---|---|---|---|
| device | Device objects are special, each BACnet device has one device object whose instance is the device id. This object will contain a note of who made it (the vendor), and often a firmware version. | ||
| analogInput | Analog inputs are typically sensor values. You can’t write to an analog input, they are read-only. | ||
| analogOutput | Analog outputs are typically physical outputs that touch the field and often can be overridden by a user. Valve commands, fan speeds, and boiler fire rate outputs are represented as Analog Outputs. | ||
| analogValue | An analog value can be thought of as an internal point; they don’t typically represent a physical value. You can read and write analog value points. They could be setpoints, override commands, or anything else the programmer decided. | ||
| largeAnalogValue | Same as an standard analogValue object, but the presentValue is encoded with double precision (64 bits instead of the 32 bits floating point). | ||
| integerValue | A 32-bit signed integer value ranging from -2147483648 to 2147483647 | ||
| positiveIntegerValue | A 32-bit unsigned integer value ranging from 0 to 4294967295 | ||
| binaryInput | Binary inputs are typically used to represent a physically measured two-position state of something. They are read-only BACnet objects. | ||
| binaryOutput | Binary outputs typically represent a physical digital output. | ||
| binaryValue | These are internal points that don’t typically represent a physical value. This could be used to “enable” a heating system by operator control, or maybe to represent some internal logic in a way that can be overridden by the operator. A nice thing about BACnet objects and binary values is that the “text” can be something other than “ON” and “OFF”. | ||
| bitstringValue | A bitstring value object is used to represent a sequence of single bit 1/0 values/flags that are always taken together as a group. | ||
| multiStateInput | These are just like binary inputs, except they can represent many states. Each can be descriptively labelled, allowing a system to distill the mode of a complicated sequence with one simple point. These are less likely to represent physical points, and more likely to represent some state of a process that cannot be changed by the user. | ||
| multiStateOutput | Just like binary outputs, but for more states. These can often be overridden by a user. Useful for process states, like “morning warm up”, “normal”, “standby”, etc. | ||
| multiStateValue | Just like binary values, but for more states. | ||
| notificationClass | This object provides a means to send alarm messages (Event Notification Messages) that are generated by other objects to any BACnet device. | ||
| trendLog | This object type archives a property of a referenced object (typically analog objects) . | ||
| trendLogMultiple | Same as the trendLog object, but can log multiple objects instead of 1. | ||
| schedule | The schedule object is defined by the standard as a periodic schedule of events that may repeat within a range of dates. The schedule object is categorized into two types of days: Normal Days in a Week and Exception Days | ||
| calendar | The calendar object type defines a list of calendar dates, which might be thought of as "holidays," "special events," or simply as a list of dates. Those can be referred to in the schedule object exceptionSchedule property. | ||
| accumulator | The accumulator object allows you to count pulses, which are often provided by energy meters. The accumulator objects can feed their Present Values to the Pulse Meter Object. | ||
| lifeSafetyPoint | The Life Safety Point object type defines a standardized object whose properties represent the externally visible characteristics associated with initiating and indicating devices in fire, life safety and security applications. | ||
| lifeSafetyZone | The Life Safety Zone object type defines a standardized object whose properties represent the externally visible characteristics associated with an arbitrary group of BACnet Life Safety Point and Life Safety Zone objects in fire, life safety and security applications. | ||
| lightingOutput | The lighting output is analog in nature. The physical output level, or non-normalized range, is specified as the linearized percentage (0% to 100%). It allows a third-party BACnet device to control lights. |
The table below is the list of exploitable BACnet properties. Note that some other properties are supported by the BACnet device itself in order to comply with the BACnet protocol, but not present in the software user interface for exploitation.
| Property | Description |
|---|---|
| GENERAL CATEGORY | |
| objectName | This is the name of the BACnet object. It is mandatory and should be unique. |
| description | A text description of the BACnet object, it normally has no impact on the operations and solely there as an additional information / documentation for technicians or users. |
| statusFlags | Contains four Boolean flags such as [1,0,1,0]that indicate the general health of the object. By reading these attributes, you can achieve a clearer picture of the object status. The four flags meaning are in order "In Alarm", "Fault", "Overridden", and "Out of Service". |
| presentValue | The current value of the object. BACnet has ways of telling you if the present value is valid – it uses a property called Reliability. |
| priorityArray | Applies to all objects that are writeable by client devices such all object types ending with Value or Output. An object can be written at different priorities ranging from 1 (higher priority) to 16 (lower priority). The actual value of the object is the highest defined priority. Priorities without values have the null value in the priority array. |
| relinquishDefault | The default presentValue when the priorityArray has only null values. |
| outOfService | true or false. Standard BACnet flag telling that the object is decoupled from its physical input or output. On a local schedule it also pauses the automatic scheduling. |
| minPresValue maxPresValue | Optional limits of numeric objects (analog, integer, positive integer, large analog). On a local object, a BACnet write of the present value or of the relinquish default outside these limits is refused with VALUE_OUT_OF_RANGE. Values written by the gateway itself (routes, logic, web interface) are not limited. An empty value removes the limit. |
| units | The BACnet engineering units of the presentValue such as degreesCelsius (C°) for a temperature in Celsius. The full list of units with their codes is in the BACnet reference tables. |
| reliability | This property provides an indication of whether the presentValue or the operation of the physical I/O in question is “reliable” as far as the BACnet Device or operator can determine and, if not, why. It can be used to indicate errors when routing from some other protocol such as modbus to bacnet. The list of values is in the BACnet reference tables. |
| activeText inactiveText |
The activeText property contains the text to be used by visualization software for binaryInput, binaryOutput, and binaryValue objects when their presentValue is equal to 1. The inactiveText property contains the text displayed when the presentValue is equal to 0. |
| stateText | For multistate objects it defines the text of each state in an array. Example : ["OFF", "LOW", "MED", "HIGH"]. According to the standard, the series should start with the presentValue number 1 (not zero) and continue to the highest state, ie here 1 = "OFF", 2 = "LOW", 3 = "MED", and 4 = "HIGH". |
| EVENTS CATEGORY | |
| covIncrement | For analogInput, analogOutput, and analogValue defines the minimum change of value (COV) between the last published value and the new value necessary to send to the subscribed BACnet devices the new value in the COV notification. Example: 0.01. |
| alarmValue | For binaryInput, binaryOutput, and binaryValue objects, it defines the OFFNORMAL value (1 or 0) for alarms / events. |
| highLimit lowLimit deadband |
The concept is that the analog object’s presentValue is continuously compared with highLimit and lowLimit. If the presentValue becomes less than the lowLimit, or greater than the highLimit, then the object changes from the normal state to the high limit or low limit state. Once the value becomes greater than the (lowLimit + deadband) or less than the (highLimit - deadband) then the object returns to the normal state. |
| limitEnable | Specifies whether the lowLimit and highLimit properties apply (1) or not (0). Example : [1,0] enables the lowLimit but disables highLimit. |
| eventEnable | EventEnable is used for notifications and it consists of 3 bits indicating if the 3 type of state transitions [OFFNORMAL, FAULT, NORMAL] do trigger (1) or do not trigger (0) an event/alarm notification. Example: [1,1,0]. |
| eventMessageTexts | This property is used to construct the text appearing in state transition events [OFFNORMAL, FAULT, NORMAL]. The default value is ["off-normal", "fault", "normal"] |
| notificationClass | Specifies the notification class object id used to send events / alarms. |
| notifyType | Defines the type of notifications between alarm, event, or ack_notification. |
| NOTIFICATION CLASS CATEGORY | |
| ackRequired | It is an array of 3 booleans such as [1,1,0] stored in notificationClass objects (alarms / events) that specifies whether or not acknowledgments are expected for event state transitions [OFFNORMAL, FAULT, NORMAL]. |
| priority | Priorities for event state notification transitions [OFFNORMAL, FAULT, NORMAL]. Example : [0, 255, 127]. The range of priorities spans from 0 (high priority) to 255 (low priority). |
| recipientList | Applies to notificationClass objects. This property lists all the BACnet client devices subscribed to this notification class. When events / alarms class are triggered, those are sent to the list of recipients. |
| TRENDLOGS CATEGORY | |
| logDeviceObjectProperty | Applies to trendlog objects, defines the object identifier to record values from. Example : {"device":888,"type":"analogValue", "instance":1, "property":"presentValue"} here logs values for the presentValue of the analogValue object with instance 1 of device id 888 (could be our own local device or another device in the network). |
| logInterval | Interval in seconds to add new values in the trendlog buffer. If configured to 60, it will take new samples every minutes. Only applies if the logging type is polling. |
| loggingType | POLLING (0) or COV (1). Logs values at specific time intervals or on change of values. |
| recordCount | It defines for trendLog objects the number of data points present in the record buffer. |
| stopWhenFull | It defines for trendLog objects whether the recording stops or continues when the buffer is full. |
| totalRecordCount | It defines for trendLog objects the total number of recorded points since the process started (can be higher than the bufferSize). |
| bufferSize | It defines for trendLog objects the maximum number of recorded values kept in the buffer (maximum number of data points in the trend plot). |
| notificationThreshold | For trendLog objects that have a notification class: number of new records after which a "buffer ready" notification is sent, so that a BACnet supervisor knows when to fetch the log. |
| SCHEDULE CATEGORY | |
| weeklySchedule | Each day of the week has its own schedule that may be different from the schedule for other days. BACnet calls these weekly schedules. A weekly schedule is used every week throughout the year and represents "normal" operation. Example{ "monday":[ { "time":"08:00", "value":1 }, { "time":"17:00", "value":0 } ], "tuesday":[ { "time":"08:00", "value":1 } ], "wednesday":[ { "time":"08:00", "value":1 }, { "time":"17:00", "value":0 } ], "thursday":[ { "time":"08:00", "value":1 }, { "time":"17:00", "value":0 }, { "time":"19:00", "value":1 }, { "time":"23:30", "value":0 } ], "friday":[ { "time":"08:00", "value":1 }, { "time":"17:00", "value":0 } ], "saturday":[ { "time":"00:00", "value":0 } ], "sunday":[ { "time":"10:00", "value":1 }, { "time":"17:00", "value":0 } ] } |
| exceptionSchedule | Exception days are days when you do not want the weekly schedule to operate, such as holidays. They can be defined as specific dates, ranges of dates, week-and-day patterns, or by reference to a calendar object. Example[{ "type":"date", "year":2025, "month":"january", "date":1, "day":"any", "priority":8, "schedule":[ { "time":"00:00", "value":1 }, { "time":"13:00", "value":0 } ] }, { "type":"range", "start_date":{ "date":1, "day":"any", "month":"january", "year":2024 }, "end_date":{ "date":"last", "day":"any", "month":"december", "year":2024 }, "priority":8, "schedule":[ { "time":"00:00", "value":0 }, { "time":"08:30", "value":null }, { "time":"09:00", "value":1 }, { "time":"18:55", "value":null } ] }, { "type":"weekAndDay", "month":"any", "week":"any", "day":"monday", "priority":8, "schedule":[ { "time":"04:30", "value":1 }, { "time":"11:00", "value":0 }, { "time":"21:30", "value":null } ] }, { "type":"calendar", "instance":1, "priority":4 } ] |
| scheduleDefault | Value taken by the schedule when neither the exception schedule nor the weekly schedule gives a value for the current time. |
| effectivePeriod | Defines the range of dates within which the Schedule object is active. |
| listOfObjectPropertyReferences | List of objects and their properties that are updated by the schedule. |
| priorityForWriting | Defines the priority at which the referenced attributes are commanded. The priority defined here corresponds to the Priority parameter of the Write Property service. 1 is the highest priority and 16 is the lowest. |
| dateList | List of dates defined as entries to the calendar object. Each entry is either an individual date, range of dates, or month/week-of-month/day-of-week specification. If the current date matches any calendar entry, the Present Value is set to 1. Should be used as a reference in the schedule object exceptionSchedule property. |
objectIdentifier is not an address of its own: it is the <type>:<instance> part of the object address (in %bac:local/analogValue:2, the object identifier is analogValue:2).
The present value of a local schedule is computed every 10 seconds in this order: the exception schedule entry in effect, otherwise the weekly schedule of the current day, otherwise scheduleDefault. A null value in a list means "no value here, use the next level". The result is written to every reference of listOfObjectPropertyReferences with the priority priorityForWriting. The presentValue of a schedule cannot be written. To pause a schedule without deleting it, right-click the schedule object and choose Disable scheduling (status scheduling off); Enable scheduling resumes it.
In BACnet client devices, a property that is not in the list of section 3.2 can be read as a custom property: enter its Property ID and the Data type used to encode and decode it (boolean, uint, int, float, double, string, bitstring, enum, date or time). The address then ends with custom_<property id>_<data type>, e.g. %bac:192.168.178.66/analogValue:1/custom_85_float. Custom properties are not available on local objects.
The standard property identifiers are listed in the BACnet reference tables.
The example below shows the insertion of one custom property with property id 85 (presentValue) and datatype float.
The priority array is a special property that applies to all objects that are writeable by client devices such all object types ending with Value or Output. There are 16 priorities, 16 being the lowest. On restart, each slot in the array is set to a null (unused) state. When the command is received the BACnet device updates the slot in the Priority Array that corresponds to the commanded priority with the new value. The device continuously looks through the priority array of each commandable property and looks for the highest priority slot that is not null. It uses that value to update the Present Value. For example the following priorityArray: [null, null, null, null, null, null, null, 3, null, null, null, null, null, null, null, 1] has the value 3 on priority 8 and the value 1 on priority 16, so its actual presentValue is 3 (the one with the highest priority). To reset or empty a priority slot (set to NULL), it's required to send a command to the point to relinquish (give up control). This is like a normal write command, but with the specific null value and the priority to reset.
| Priority Level | Application |
|---|---|
| 1 | Manual-Life Safety |
| 2 | Automatic-Life Safety |
| 3 | Available |
| 4 | Available |
| 5 | Critical Equipment Control |
| 6 | Minimum On/Off |
| 7 | Available |
| 8 | Manual Operator |
| 9 | Available |
| 10 | Available |
| 11 | Available |
| 12 | Available |
| 13 | Available |
| 14 | Available |
| 15 | Available |
| 16 | Available |
By default when writing a value to objects supporting the priorityArray property the default priority defined in the gateway "Default priority" is used.
However it is possible to write on any priority by wrapping the value into an object and defining the priority in the "priority" key, and the value in the "value" key as shown in the screenshot below for priority 8.
In order to write at another specific priority in a route, the source value transform function can be defined to wrap the value in an object and specify the priority. It can be done either using graphical blocks,
or directly as a Javascript function.
function writeAtPriority8(v){
return {
"priority" : 8,
"value" : v
}
}
In order to reset a priority, it is the same as writing a value except the value must be null (either the raw null value or the string "null").
{
"priority" : 8,
"value" : null
}
Here is below an example of a Javascript routing function writing at priority 8 and resetting the priority after 10 minutes.
function resetAfter10min(v, source, destination, infos){
var self = this;
clearTimeout(infos.context.timeout)
infos.context.timeout = setTimeout(function(){
// no new value has been routed for 10 minutes: release priority 8
self.writeValue(destination, {
"priority" : 8,
"value" : null
})
}, 1000*60*10)
return {
"priority" : 8,
"value" : v
}
}
Priorities can also be released automatically after a delay in milliseconds, with the address parameter resetPriority described in section 3.5.
The table below lists the parameters of BACnet addresses. Which ones are shown depends on the tab (Local server or Clients) and on the address level (device, object or property).
| Label | JSON key | Applies to | Description |
|---|---|---|---|
| Polling (column) / Polling (ms) (form) | polling | Client device and property addresses | Read period. A number of milliseconds (e.g. 60000), a cron expression, or several of them separated by ; (e.g. 5000;0 * * * *). Empty = no polling. Entries that are neither a positive number nor a valid cron expression are ignored. On a device address, polling re-reads the device name and refreshes its online status. The column is hidden by default. |
| COV (column) / Subscribe (form) | cov | Client object addresses | unsubscribe or subscribe; subscribe + autoack is also available on notificationClass objects (see section 4.3). |
| String encoding | stringEncoding | Client device addresses | Character set used to decode the texts of this device (object names, descriptions…). AUTO (default) trusts the encoding announced by the device; force another one (e.g. ISO8859_1, WINDOWS_1252, GBK) when names are displayed with wrong characters. Applied immediately. |
| Default Priority | defaultPriority | presentValue of objects whose type ends with Value or Output | Write priority (1–16) used for this object when the written value does not specify one. Empty = the gateway Default priority. |
| (JSON only) | resetPriority | Same addresses as Default Priority | JSON object giving, per priority, the delay in milliseconds after which the priority is released, e.g. {"16": 40000, "8": 16000}. There is no form field: set it in the address JSON. |
| (JSON only) | confirm | Client notificationClass objects |
true to receive events as confirmed notifications (see section 4.3.3). |
| Store value | remanent | Local property addresses | never, always or a duration. By default presentValue, priorityArray, statusFlags and the record counters of trend logs are not stored, and the other properties are. |
| Number of object | – | Insert object form | Creates this number of objects with consecutive instance numbers. |
{
"alias": null,
"name": "%bac:local/analogValue:1/presentValue",
"description": null,
"log": null,
"json": {
"remanent": false
}
}
{
"alias": null,
"name": "%bac:local/binaryValue:32/relinquishDefault",
"description": null,
"log": null,
"json": {
"remanent": true
},
"value_string": "0"
}
{
"name": "%bac:192.168.178.67/analogValue:3/objectName",
"json": {},
"value_string": "\"analogValue:3\""
}
The Weble gateway supports both ends of the BACnet event mechanism: it can receive EventNotification messages from remote devices it is subscribed to, and it can emit them on its own — either by forging events from the local server, or by sending AcknowledgeAlarm requests to remote devices. This section describes the underlying concepts, the /events addressing scheme, and how to subscribe a gateway to a remote notificationClass.
Change-of-Value (COV) and Events are two independent mechanisms in the BACnet specification. They serve different purposes and use different services:
| COV | Events | |
|---|---|---|
| Purpose | Track a property's value | Report threshold transitions / alarms |
| Subscription service | SubscribeCOV |
Modify the recipientList of a notificationClass |
| Notification service | COVNotification |
EventNotification |
| Triggered by | Any property change | Intrinsic reporting evaluating limits, deadbands, fault states |
| Acknowledgment | None | Optional, via AcknowledgeAlarm |
The COV column in the BACnet object table behaves differently depending on the object type:
SubscribeCOV registration.notificationClass objects it controls the registration in the device's recipientList — see §4.3.A notificationClass object (NC) is a configuration container on a BACnet device that defines:
| Property | Description |
|---|---|
recipientList |
The recipients (IP addresses or device IDs) that receive EventNotification messages emitted by any object referencing this NC |
ackRequired |
Which transitions require an acknowledgment — array of three booleans [offnormal, fault, normal] |
priority |
Per-transition priority (3 levels) |
Instrumented objects (analogInput, binaryValue, ...) reference an NC through their notificationClass property, which contains the NC instance number. For example, an analogValue:1 with notificationClass: 6 is bound to the notificationClass:6 object on the same device — when the AV's intrinsic reporting fires, the EventNotification is sent to all recipients listed in that NC's recipientList.
To receive events from a remote device, the gateway must register itself in the appropriate NC's recipientList. There is no SubscribeEventNotification service in BACnet — the registration is done by writing to the NC's recipientList property, see §4.3.
Format of a recipientList entry (to add a recipient to a local notification class by hand, write the whole list to its recipientList property):
[{
"address": "dev_1234",
"processIdentifier": 1,
"confirm": false,
"daysOfWeek": [1,1,1,1,1,1,1],
"fromTime": "00:00:00",
"toTime": "23:59:59",
"transition": [1,1,1]
}]
address is dev_<device id> or the address of a device (e.g. 192.168.178.50); transition enables the notifications for [OFFNORMAL, FAULT, NORMAL]. All seven keys are required.
notificationClassTo receive events from a remote device, the gateway must be present in that NC's recipientList. This is done from the BACnet object table by setting the COV column on the corresponding notificationClass address.
notificationClassFor notificationClass objects the COV column accepts three values:
| JSON value | Label in UI | Behavior |
|---|---|---|
"unsubscribe" |
unsubscribe | Not registered. If previously registered, removes the gateway entry from the remote recipientList. |
"subscribe" |
subscribe | Registers the gateway in the remote recipientList. |
"subscribe + autoack" |
subscribe + autoack | Registers AND automatically emits an AcknowledgeAlarm to the remote device for each incoming event that has ackRequired: true. |
JSON example — subscribe to NC 1 on a remote device:
{
"name": "%bac:192.168.178.99/notificationClass:1",
"json": {
"cov": "subscribe"
}
}
There is no SubscribeEventNotification service in the BACnet specification — registration goes through the NC's recipientList property:
AddListElement service to insert the gateway entry into the recipientList. If the device does not implement AddListElement, a fallback path is used — the full recipientList is read, the new entry is appended (with deduplication), and the entire list is rewritten.RemoveListElement service. Same fallback if unsupported.The gateway registers itself as dev_<its Device ID> with its BACnet process identifier, and renews the registration every COV Lifetime. The /events address of the device is created automatically when the first event is received; the object-level /events address is created too when the object address already exists.
confirm parameterBy default the gateway registers itself with confirm: false — the remote device sends EventNotification messages as Unconfirmed, with no transport-level acknowledgment. This is the right default for most installations: it minimizes traffic and avoids retries on noisy networks.
To force Confirmed delivery (the device expects a SimpleAck for each event), set "confirm": true in the address JSON:
{
"name": "%bac:192.168.178.99/notificationClass:1",
"json": {
"cov": "subscribe",
"confirm": true
}
}
For the conceptual difference between Confirmed EventNotification (transport-level) and AcknowledgeAlarm (application-level), see §4.6.
recipientList is checked before each retry, so an unsubscribe that already succeeded will not retry.cov: "unsubscribe"), it automatically retriggers an unsubscribe to clean up./events addressOnce subscribed (or for the local server), events are exposed on the gateway through dedicated /events addresses. These addresses are also used to emit events and acknowledgments — writing to them triggers the corresponding BACnet service.
Two levels of /events addresses exist on the gateway:
| Address | Scope |
|---|---|
%bac:<device>/events |
Global — every event emitted by or sent to that remote device |
%bac:<device>/<type>:<instance>/events |
Object-specific — only events for that object on that device |
For the local server (the BACnet identity exposed by the gateway):
| Address | Scope |
|---|---|
%bac:local/events |
Global — every event emitted or acknowledged locally |
%bac:local/<type>:<instance>/events |
Object-specific |
/events addressThe /events addresses are inserted from the table interface by selecting the events object type in the BACnet form. When events is selected the instance, property and additional parameter fields are hidden — only the device (or local) and an optional object scope are required.
{
"name": "%bac:192.168.178.99/events",
"json": {}
}
{
"name": "%bac:192.168.178.99/analogValue:1/events",
"json": {}
}
The current value of an /events address is the last event observed at that scope. The exact semantics depend on direction:
%bac:<client>/events — last EventNotification received from that remote device, OR last AcknowledgeAlarm sent to that device (confirmation that the ack was emitted).%bac:local/events — last EventNotification emitted by the local server (via forgeEvent or intrinsic reporting), OR last AcknowledgeAlarm received from an external client.JSON example — EventNotification received from a remote device on %bac:192.168.178.99/events:
{
"ackRequired": true,
"deviceIdentifier": ["device", 2112],
"eventType": "EVENT_CHANGE_OF_VALUE",
"fromState": "NORMAL",
"message": "off-normal",
"notificationClass": 1,
"notifyType": "alarm",
"objectIdentifier": ["analogValue", 1],
"priority": 127,
"processIdentifier": 26511,
"timestamp": "4/29/2026 8:38:14 AM",
"toState": "HIGH_LIMIT"
}
Key fields:
| Field | Meaning |
|---|---|
deviceIdentifier |
The device that raised the event |
objectIdentifier |
The object the event refers to |
notificationClass |
The NC instance that distributed the event |
fromState / toState |
The transition (e.g. NORMAL → HIGH_LIMIT) |
ackRequired |
Whether an acknowledgment is expected |
notifyType |
"alarm", "event" or "ack_notification" |
priority |
Event priority (per the source NC's priority array) |
timestamp |
When the device emitted the event |
EventNotification and AcknowledgeAlarmThere are two distinct levels of acknowledgment in BACnet — they are easy to confuse but unrelated:
Confirmed / Unconfirmed EventNotification — transport-level. The recipient sends a SimpleAck ("I received your packet"). This is analogous to a TCP ACK and only confirms delivery of the network message. It is configured per recipient in the recipientList via the confirm flag (see §4.3.3).
AcknowledgeAlarm — application-level. An operator (or a system) sends an AcknowledgeAlarm to the device to signal "I have seen this alarm, it is being handled". The device updates its ackedTransitions and replies with an EventNotification of notifyType: "ack_notification" to all its recipients to confirm the alarm has been acknowledged.
A device can therefore emit a Confirmed EventNotification (transport-acked at packet level) that is never AcknowledgeAlarm-ed (no operator action), and conversely an Unconfirmed event can be acknowledged by an operator hours later.
Writing to an %bac:local/events address emits an EventNotification from the local BACnet server to the recipients of the local NC referenced in the payload. This is how the gateway exposes its own internal state as BACnet alarms.
| Address | Effect |
|---|---|
%bac:local/events |
Emits an EventNotification. The object identifier is taken from the objectIdentifier field of the JSON payload. |
%bac:local/<type>:<instance>/events |
Same as above; object identifier comes from the address. |
JSON example — emit a HIGH_LIMIT event for analogValue:1 from the local server:
{
"ackRequired": true,
"eventType": "EVENT_CHANGE_OF_VALUE",
"fromState": "NORMAL",
"message": "off-normal",
"notificationClass": 1,
"notifyType": "alarm",
"objectIdentifier": ["analogValue", 1],
"priority": 127,
"timestamp": "4/29/2026 8:38:14 AM",
"toState": "HIGH_LIMIT"
}
Once written, the event is sent over BACnet to every recipient of notificationClass:1 on the local server. The address value is updated to reflect the emitted event, with an additional _forged: true metadata field (see §4.9).
Errors when writing to %bac:local/events
| Error | Meaning |
|---|---|
notificationClass_object_not_found_<N> |
The local object notificationClass:<N> named in the event does not exist. |
recipientList_not_found, recipientList_empty |
The local notification class has no recipient: nobody is subscribed, so nothing can be sent. Read %bac:local/notificationClass:<N>/recipientList; a supervisor normally adds itself to this list when it subscribes. |
missing objectIdentifier |
The write was made on %bac:local/events without an objectIdentifier field. |
Adding "_populate": true to the payload only updates the alarm table of the local device (what a supervisor reads with GetEventInformation) without sending a notification. With the gateway option Alarms from routes, writes to the /events addresses are the only source of the alarm state of local objects.
AcknowledgeAlarm to a remote deviceWriting to an %bac:<client>/events address with a JSON payload tagged type: "acknowledge" emits an AcknowledgeAlarm BACnet service to the remote client. This is how an operator-driven acknowledgment is sent out from the gateway.
| Address | Effect |
|---|---|
%bac:<client>/events with type: "acknowledge" |
Sends an AcknowledgeAlarm to the client device. The objectIdentifier field of the JSON identifies the object to acknowledge. |
%bac:<client>/<type>:<instance>/events with type: "acknowledge" |
Same; object identifier comes from the address. |
JSON example — acknowledge a HIGH_LIMIT alarm on analogValue:1 of a remote device:
{
"type": "acknowledge",
"objectIdentifier": ["analogValue", 1],
"state": 3,
"text": "operator_01",
"eventdate": "4/29/2026 8:38:14 AM",
"ackdate": "4/29/2026 8:45:00 AM",
"processIdentifier": 57
}
| Field | Meaning |
|---|---|
type: "acknowledge" |
Marks this payload as an acknowledgment (Weble internal shape, not a BACnet event) |
objectIdentifier |
The object being acknowledged |
state |
The acknowledged state (3 = HIGH_LIMIT, encoded as uint) |
eventdate |
Original timestamp of the event being acknowledged |
ackdate |
Timestamp of the acknowledgment |
text |
Free-form operator text |
processIdentifier |
Process identifier of the acknowledging entity |
After the AcknowledgeAlarm is sent, the remote device typically replies with a follow-up EventNotification of notifyType: "ack_notification" confirming the acknowledgment.
Fields prefixed with an underscore are Weble-internal metadata that may appear in the JSON read from /events addresses. They are not part of the BACnet protocol — the BACnet stack ignores them on emission.
| Field | Where it appears | Meaning |
|---|---|---|
_forged: true |
%bac:local/events |
The event was emitted by a write to the address (not by intrinsic reporting on a local object) |
_autoack: true |
%bac:<client>/events |
The acknowledgment was generated by subscribe + autoack mode (§4.3.1), not by an explicit write |
_source: "<ip>" |
%bac:local/events (acknowledge) |
IP address of the external client that issued an AcknowledgeAlarm to the local server |
When a local object has a notificationClass property referencing an NC that does not exist (for example notificationClass: 0 while no notificationClass:0 object is defined), the property status displays a warning:
! notificationClass:0 not found
This validation runs at driver startup, whenever the property changes value, and whenever a notificationClass object is inserted or removed.
EDE (Engineering Data Exchange) is the usual file format to hand a BACnet point list over to another integrator.
EDE.csv, State-Texts.csv, Unit-text.csv and Object-types.csv.EDE.csv file. The objects listed in the file are created under that device with their name, description, units and state texts. Warning: the objects of that device that are not listed in the file are deleted first..zip or .csv): its objects are created on the local device. In the Clients tab, the lines of the file are attached to the client devices already present whose device identifier matches.%bac:local): asks the device for its active alarms and events and displays them.trendLog object): chart of the records currently held in the trend log buffer.| Symptom | What to check |
|---|---|
| No device appears after Who is | Discovery uses broadcasts: give the interface by its name (e.g. eth0), or by its IP address with the real netmask (e.g. 192.168.1.99/24). Broadcasts do not cross routers or VPN links: insert the device manually, or use a BBMD / foreign device registration. |
The device name stays [no name] |
The gateway could not read the name of the device object. For a device inserted manually, check its device identifier in the Instance column of the device row (section 1.4); otherwise check with the Monitor that the device answers. |
| An address is refused when saved | Object type and property names are case-sensitive; an MS/TP address must be between 0 and 127. |
The status of an address starts with ! |
The last read or subscription failed; the text is the error returned by the device. See Error retries and On error value. |
A property status shows ! notificationClass:N not found |
The local object refers to a notification class that does not exist (section 4.10). |
| Values do not update | Subscribe the object (COV column) or, if the device does not support COV, set a polling period on the property. |
The gateway does not start (invalid bacnet device id, invalid bacnet IP address) |
Check the Device ID (1 to 4194301) and the Interface of each IP interface. |