Data source examples
- Last UpdatedFeb 20, 2025
- 1 minute read
- PI System
- Adapter for BACnet 1.2
- Adapters
Use one of the following examples as a template for your BACnet data source configuration.
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"
}
REST URLs
|
Relative URL |
HTTP verb |
Action |
|---|---|---|
|
api/v1/configuration/<ComponentId>/DataSource |
GET |
Retrieves the data source configuration. |
|
api/v1/configuration/<ComponentId>/DataSource |
POST |
Creates the data source configuration. The adapter starts collecting data after the following conditions are met:
|
|
api/v1/configuration/<ComponentId>/DataSource |
PUT |
Configures or updates the data source configuration. Overwrites any active data source configuration. If no configuration is active, the adapter starts collecting data after the following conditions are met:
|
|
api/v1/configuration/<ComponentId>/DataSource |
DELETE |
Deletes the data source configuration. After the request is received, the adapter stops collecting data. |
Note: Replace <ComponentId> with the Id of your BACnet component. For example, BACnet1.