Learn about PI Point Naming for MQTT Sparkplug
- Last UpdatedJan 14, 2025
- 1 minute read
The Sparkplug specification requires the following topic structure:
namespace/group_id/message_type/node_id/[device_id] where the device_id is optional.
The connector creates PI points using the Sparkplug topic namespace. The PI points are named as follows:
Prefix Point.Connector Name.Data source name/namespace/group_id/node_id/[device_id]/name
For example, if a message is published to the topic:
spBv1.0/Edge Group/DDATA/Edge Node 1/Edge Device 1 for a tag with the name Test/Test Tag, a point is then created with the following name:
Prefix Point.Connector name.Data source name/spBV1.0/Edge Group/Edge Node 1/Edge Device 1/Test/Test Tag
Note: The Prefix Point can be customized using the PI Data Collection Manager