Data Sources
Register, test, and manage connections to plant floor systems and external data.
Overview
The Data Sources page provides a unified view of all connected systems:
- Register new sources with connection details
- Test connectivity before saving
- Browse tags and metadata from each source
- Monitor connection health
Source List
Navigate to Connect > Data Sources to see all registered sources:
| Column | Description |
|---|---|
| Name | Source identifier |
| Type | Protocol (PI, OPC-UA, Modbus, MQTT, SQL, HTTP) |
| Tags | Number of available data points |
| Status | Connection health |
| Last Tested | When connectivity was last verified |
Adding a Data Source
- Click Add Data Source
- Select the protocol type
- Fill in connection parameters (host, port, credentials)
- Click Test Connection to verify
- Save the source
Supported Protocols
| Protocol | Parameters |
|---|---|
| OPC-UA | Endpoint URL, security policy, certificate |
| AVEVA PI | PI Web API URL, authentication |
| Modbus TCP | Host, port, unit ID, register map |
| MQTT | Broker URL, topic, QoS, credentials |
| SQL (PostgreSQL, MySQL) | Host, port, database, credentials |
| HTTP/REST | Base URL, headers, authentication |
Connection Testing
Every source supports a Test Connection button that:
- Validates network connectivity
- Checks authentication credentials
- Confirms protocol compatibility
- Reports latency
Test results appear inline with pass/fail status and error details if applicable.
Tag Discovery
Click a source to browse its tags:
- Search by tag name
- Filter by category or equipment
- View tag metadata (units, description, data type)
Editing and Deleting
- Click a source row to edit connection parameters
- Use the delete action to remove a source (pipelines using it will be affected)
Querying Data
- Select tags to query
- Set time range (last hour, day, week, custom)
- Choose aggregation (raw, 1m, 5m, 1h averages)
- Click Run Query
Export Data
Query results can be exported to:
- CSV file
- JSON format
- Direct to InfluxDB