Troubleshooting
Why a device MQTT connection creates no tags in Designer
Short answer
Seeing the device's messages in a desktop MQTT client proves only that the broker link works. Designer shows no tags because MQTT Engine builds tags only from Sparkplug B birth and data messages or from topics mapped in a supported custom namespace; a plain-MQTT device feeds the broker but never the tag provider. Confirm the published topic and payload format first, then choose Sparkplug B, a custom namespace, or a translator.

On this page
- What a desktop MQTT client proves about the fault
- Where the path from device to tag stops
- Choose the ingestion path before configuring anything
- Five checks on the captured message
- Worked example: one tank input published as tank01/input1
- Configure the path you chose
- The decision for each capture
- Questions asked
Messages from the device are arriving at the broker — your desktop MQTT client proves that much. What it does not prove is the step that actually creates tags. MQTT Engine builds tags from exactly two things: a Sparkplug B birth and data sequence, or topics that a configured custom namespace maps into tags. A general-purpose edge device publishing plain MQTT keeps the broker busy and Designer empty at the same time, so the fault lives in payload interpretation, not in wiring, addressing or the network. Confirm the published topic and payload format first, then commit to the ingestion path that matches them.
What a desktop MQTT client proves about the fault #
Your desktop client holds its own broker connection and its own subscription filters. When it displays the device's messages, four facts are established and nothing more:
- The device is powered, attached to the network and pointed at a reachable broker address.
- The broker listener accepted the device's connection and credentials.
- At least one of the client's subscription filters matches the topics the device publishes.
- The payload bytes arrive intact, so you can copy and inspect them.
What no desktop client can show is whether MQTT Engine subscribes to the same listener with permission to read those topics, or whether it can interpret the payload once it arrives. The client is a spectator: it plays no part in tag creation, and its healthy display can coexist with an empty tag tree in Designer.
Where the path from device to tag stops #
Walk the chain in order: the device publishes, the broker forwards to every matching subscriber, MQTT Engine subscribes and interprets, the tag provider holds the result, and Designer reads tags out of the tag provider. Designer never lists broker topics — it browses tag providers only. In this failure the first two links work and the third is missing: Engine either is not subscribed where the device publishes or cannot interpret what arrives, so the provider stays empty no matter how busy the broker is.
The device also never connects to MQTT Transmission. Transmission publishes Ignition tag data outward, MQTT Distributor is the broker endpoint the device actually talks to, and Engine is the module that subscribes inward and builds tags. Installing all three does not create the interpretation step by itself, and a healthy broker connection can coexist with an empty Engine tag tree whenever the incoming namespace or payload is not recognized.
One address deserves a second look while you compare clients. A loopback broker address typed into a module running on the Ignition server points at that same server; the same string typed into the edge device points at the device itself. The device must carry the server's address or hostname, and only software running on the server may use the loopback form.
Choose the ingestion path before configuring anything #
MQTT, the OASIS publish/subscribe standard, moves bytes between clients that share a broker and defines nothing about what the bytes mean. Sparkplug B, the Eclipse Sparkplug specification, adds a fixed topic namespace, a typed metric encoding and the birth/data lifecycle that let a receiver build a tag tree on its own. That difference decides the whole approach:
| Approach | What the device must publish | What you configure on the receiving side | Choose it when |
|---|---|---|---|
| Direct Sparkplug B | The Sparkplug topic namespace with birth and data messages | Only a working Engine connection; Engine exposes each metric as a tag | The device documentation lists Sparkplug B as a protocol |
| Custom namespace | Plain topics with a stable payload format | A namespace covering the topics plus a mapping from payload values to tags | The device publishes plain MQTT and the payload fits a mapping the installed Engine version supports |
| Translator in front | Anything the translator can parse | The translator republishes valid Sparkplug B, births included, or writes tags directly | The payload cannot be represented by direct ingestion |
An MQTT checkbox in the device menu does not establish Sparkplug support, because a broker speaks plain MQTT to every client and Sparkplug is a publishing discipline on top of it; the verification is its own topic, covered in MQTT broker support is not Sparkplug support. Check the device's documented protocol list before selecting the first row. A plain-MQTT publisher also pushes the entire interpretation burden onto the receiver, which is the same pattern behind a Home Assistant setup that shows nothing until the receiving side is configured — the RUT241 MQTT publisher troubleshooting walkthrough traces exactly that failure.
Five checks on the captured message #
- Record the complete topic string and the raw payload from the desktop client. Copy the raw bytes rather than the client's formatted view, because a formatted tree can hide what the payload really is.
- Operate the input once through a permitted test, or use a spare input, and confirm a fresh message arrives with the changed value; never force a field input that feeds an interlock just to watch a tag update.
- Split the captured topic on the
/separator and compare the first level against the Sparkplug namespace version. - Read the device's protocol setting and manual for the format it claims to publish: a claimed Sparkplug connection needs visible birth messages, not merely a topic that resembles the namespace.
- Check Engine's connection status and diagnostics, and separate connection or authorization failures from messages that arrive but fail interpretation.
Worked example: one tank input published as tank01/input1 #
Inputs: the captured topic tank01/input1 with payload 1. These are illustrative captures for this tank-monitoring case — substitute the topic and payload your own client recorded, because the rule does not change with the strings.
The rule in words: MQTT Engine interprets a topic as Sparkplug B only when it follows the fixed namespace shape — the namespace version spBv1.0, then Group ID, Edge Node ID and Device ID, then the message type, five /-separated levels in total with the first one fixed. The three identifier levels in the middle are where most mistakes land; how the Sparkplug topic namespace and its three-level limit work walks each level.
The arithmetic: split tank01/input1 on / and you get two levels, tank01 and input1. The first level is tank01, not spBv1.0, and two levels is short of the five the namespace requires — two independent disqualifications. Engine therefore has no built-in interpretation for the topic: the broker forwards the message, Engine ignores it, the tag provider receives nothing and Designer shows no tags. The payload being a clean 1 changes nothing, because interpretation runs on the topic and payload format together and the topic fails first.
The decision: a capture whose first level is not spBv1.0 will never become tags on its own, so no amount of broker, wiring or firewall work fixes this case. Either map a filter such as tank01/# in a custom namespace the installed Engine version supports and define what the payload value means, or move the publishing side to Sparkplug B. Had the capture instead read spBv1.0/Plant/Tank01/IO1/DBIRTH — five levels, fixed first level — the fault would sit elsewhere: a session that never republished its births, or a Group or Edge Node ID colliding with another publisher.
Configure the path you chose #
If the device documents Sparkplug B
- Set the device's protocol to Sparkplug B per its documentation and assign a Group ID and Edge Node ID that no other publisher on the broker uses; the naming rules for Sparkplug B group, edge node and device IDs keep the tag hierarchy from colliding.
- Restart the publishing session so the birth messages go out again. Engine builds its tag tree from births, so a device that has been publishing data since before an identifier correction needs that fresh session before anything appears.
- Browse the Engine tag provider in Designer: each metric declared in the births should appear as a tag with a data type and quality.
If the device publishes plain MQTT and the payload maps
- Confirm the installed Engine version actually offers custom namespaces; not every build does, and where the feature is absent the translator route below is the only plain-MQTT option.
- Add a namespace whose topic filter covers the captured topic and define the mapping from payload to tag values; when the namespace exists and the tags still do not, the usual causes are collected in why MQTT Engine custom namespaces create no tags.
- Apply the namespace change, let Engine resubscribe, and browse the provider again.
If the payload cannot be mapped
- Put a translator on a host that reaches both the device's broker and the Ignition server, and have it parse the captured payload and republish properly typed Sparkplug B metrics with births — or have it consume the device's JSON and write tags directly, the approach in writing tags on an edge gateway from an MQTT JSON payload.
- Verify one tag end to end: toggle the test input once and watch the tag's value and quality change in Designer before building any display.
The decision for each capture #
- First level is the Sparkplug namespace version: the device is a genuine Sparkplug publisher, so the fix is on the session side — republish the births after any identifier change — and the tags appear in Designer once the tree is rebuilt.
- First level is anything else and the payload maps cleanly: configure the supported custom namespace; the mapping, not the broker, is what creates the tags.
- First level is anything else and nothing can parse the payload: put a translator in front of Engine that republishes Sparkplug B or writes tags directly.
- No client on that broker sees any messages: stop — the fault is upstream of interpretation entirely and is the connection failure covered in fixing a PLC MQTT client that never reaches your broker.
The captured plain-MQTT stream is not wasted while you decide: a consumer built for plain topics, such as Telegraf, whose MQTT routing creates one measurement per topic, can log the tank values into a database in the meantime. In every case the rule is the same: the broker's job ends at forwarding bytes, and the tags begin where a receiver interprets them.
Questions asked
The device configuration only offers MQTT. Does that mean it can publish Sparkplug B?
No. An MQTT menu that asks for a server address, port, credentials and topic names describes plain MQTT. Sparkplug B support shows up as a separate protocol choice, with fields for a Group ID, an Edge Node ID and birth and data behaviour. Check the device's documented protocol list rather than the presence of an MQTT setting; if the manual lists only MQTT, plan on a custom namespace or a translator.
Clients keep disconnecting each other while I test. Can that also leave Designer empty?
Yes, and it is a separate fault from missing payload interpretation. A broker allows one active session per client identifier, so the edge device and your desktop client must not share one. When they do, each new connection drops the previous session and messages arrive in bursts or stop entirely. Give every client a distinct identifier, then re-check whether tags appear; if the topic still fails the namespace check, interpretation remains the fault.
A tag finally appears. How do I confirm it is live before building the display?
Open the tag browser in Designer, note the tag's value and quality, then operate the physical input once through a permitted test. A live tag changes value and reports good quality within the device's publish interval. A tag that holds its initial value means the mapping exists but no fresh publication is arriving, which points back to the device's publish settings rather than the tag configuration.
One device message carries several values. Will that become several tags?
Yes, if the format defines each value. A Sparkplug B birth message can declare many metrics in one message, and Engine creates one tag per metric. For plain MQTT, the custom namespace mapping must say how the payload is parsed into individual values; if the installed module cannot parse that payload, either split the values across separate topics or put a translator in front that republishes them as separate Sparkplug metrics.


