Data source examples
- Last UpdatedNov 13, 2025
- 1 minute read
- PI System
- Adapter for MQTT 1.4
- Adapters
The following are examples of valid MQTT data source configurations:
Minimal data source configuration
{
"hostNameOrIpAddress" : "125.0.0.0" ,
"port" : 8765
}
Complete data source configuration
{
"hostNameOrIpAddress": "125.0.0.0",
"port": 8883,
"protocol": "Tcp",
"tls": "Tls12",
"username": null,
"password": null,
"clientId": "Test-Client-Id",
"clientCertificateThumbprint": null,
"clientCertificatePassword": null,
"mqttVersion": "3.1.1",
"validateServerCertificate": true,
"timeZone": "UTC",
"streamIdPrefix": "MyPrefix.",
"defaultStreamIdPattern": "{Topic}.{ValueField}"
}
Generic data source configuration
},
"hostNameOrIpAddress": "mqtt://broker.example.com",
"port": 1883,
"protocol": "Tcp",
"tls": "none",
"username": "mqttUser",
"password": "{{SecretPassword}}",
"clientId": "mqtt-client-01",
"mqttVersion": "3.1.1",
"streamIdPrefix": "MyPrefix.",
"defaultStreamIdPattern": "{Topic}.{ValueField}"
}