Configure data source
- Last UpdatedFeb 20, 2025
- 1 minute read
- PI System
- Adapter for BACnet 1.2
- Adapters
To use the BACnet adapter, you must configure the data source to receive data.
Note: This procedure uses cURL commands for REST endpoint configuration, but other options are available. For more information, see Configuration tools.
Complete the following steps to configure the BACnet data source.
-
Use the PUT method in conjunction with the following endpoint to initialize the configuration:
api/v1/configuration/<ComponentId>/DataSource.
-
Using a text editor, create an empty text file.
-
Copy and paste an example configuration for a BACnet router or routed device into the file.
For sample JSON, see Data source examples.
-
Update the example JSON parameters for your environment.
For a table of all available parameters, see Data source parameters.
-
Save the file as ConfigureDataSource.json.
-
Open a command line session. Change directory to the location of ConfigureDataSource.json.
-
Enter the following cURL command (which uses the PUT method) to initialize the BACnet data source configuration.
curl -d "@ConfigureDataSource.json" -H "Content-Type: application/json" -X PUT "http://localhost:5590/api/v1/configuration/BACnet1/DataSource"
Note: If you installed the adapter to listen on a non-default port, update 5590 to the port number in use.
If using a component ID other than BACnet1, update the endpoint with your chosen component ID.