Configuration examples
- Last UpdatedFeb 20, 2025
- 2 minute read
- PI System
- Adapter for BACnet 1.2
- Adapters
The following tables provide examples for all configurations available for AVEVA Adapter for BACnet.
Note: The examples in this topic are using the default port number 5590. If you selected a different port number, replace it with that value.
System components configuration with two BACnet adapter instances
[
{
"componentId": "BACnet1",
"componentType": "BACnet"
},
{
"componentId": "BACnet2",
"componenttype": "BACnet"
},
{
"componentId": "OmfEgress",
"componentType": "OmfEgress"
}
]
Adapter configuration
{
"System": {
"Logging": {
"logLevel": "Information",
"logFileSizeLimitBytes": 34636833,
"logFileCountLimit": 31
},
"HealthEndpoints": [
{
"id": "CONNECT data services",
"endpoint": "https://<OMF endpoint>",
"clientId": "<clientid>",
"clientSecret": "<clientsecret>"
}
],
"Components": [
{
"componentId": "OmfEgress",
"componentType": "OmfEgress"
},
{
"componentId": "bacnet-1",
"componentType": "BACnet"
}
],
"General": {
"enableDiagnostics": true,
"metadataLevel": "Medium",
"healthPrefix": null
}
},
"bacnet-1": {
"Logging": {
"logLevel": "Information",
"logFileSizeLimitBytes": 34636833,
"logFileCountLimit": 31
},
"DataFilters": [
{
"id": "DuplicateData",
"absoluteDeadband": 0,
"percentChange": null,
"expirationPeriod": "01:00:00"
}
],
"DataSource": {
"ipAddress": "127.0.0.1"
},
"DataSelection": [],
"Schedules": [
{
"id": "1",
"period": "00:00:05",
"offset": "00:00:00"
}
]
},
"OmfEgress": {
"Logging": {
"logLevel": "Information",
"logFileSizeLimitBytes": 34636833,
"logFileCountLimit": 31
},
"DataEndpoints": [
{
"id": "AVEVADataHub",
"endpoint": "https://uswe.int-datahub.capdev-connect.aveva.com/api/v1/tenants/52d22eb0-3cbd-4433-8b5a-7a790624cd76/namespaces/528ac247-c253-45d9-b2e1-da3395c45b35/omf",
"clientId": "none",
"clientSecret": "{{none}}"
}
]
}
}
Data source configuration
The following are representations of data source configurations for the BACnet adapter.
BACnet router data source example
The following is an example of a valid BACnet data source configuration:
{
"ipAddress": "192.168.1.1",
"port": 47808,
"maxConcurrentNetworkRequests" : 0,
"requestDelay": "00:00:00",
"allowedConsecutiveFailedRequests": 3,
"reconnectInterval": "02:00:00"
}
BACnet routed device data source example
The following is an example of a valid BACnet routed device data source configuration:
{
"ipAddress": "192.168.1.1",
"port": 47808,
"maxConcurrentNetworkRequests" : 1,
"requestDelay": "00:00:00",
"allowedConsecutiveFailedRequests": 3,
"reconnectInterval": "02:00:00",
"deviceID": 1,
"networkNumber": 100,
"macAddress": "12"
}
Data selection example
The following is an example of a valid BACnet data selection configuration with different data collection modes. Because the last item has Selected set to false, data will not be collected for it.
[
{
"selected": true,
"name": "10.12.112.40_14.AnalogInput90",
"streamId": "10.12.112.40_14.AnalogInput90",
"deviceIPAddress": "10.12.112.40",
"deviceId": 14,
"objectType": "AnalogInput",
"objectId": 90,
"dataCollectionMode": "Poll",
"scheduleId": "Schedule1"
},
{
"selected": true,
"name": "10.12.112.40_14.AnalogInput95",
"streamId": "10.12.112.40_14.AnalogInput95",
"deviceIPAddress": "10.12.112.40",
"deviceId": 14,
"objectType": "AnalogInput",
"objectId": 95,
"dataCollectionMode": "SubscribeCovProperty",
"propertyIdentifier": "PresentValue",
"covIncrement": 0.5,
"scheduleId": "Schedule1"
},
{
"selected": false,
"name": "10.12.112.40_16.AnalogOutput70",
"streamId": "10.12.112.40_16.AnalogOutput70",
"deviceIPAddress": "10.12.112.40",
"deviceId": 16,
"objectType": "AnalogOutput",
"objectId": 70,
"dataCollectionMode": "SubscribeCov",
"scheduleId": "Schedule2"
}
]