Troubleshooting
Why MQTT Engine ignores enabled true in a DBIRTH
Short answer
MQTT Engine receives and decodes the DBIRTH, then does not apply the enabled property to the UDT member tags: the prg custom property with a BoundPropertySetDiff proves the metric reached tag materialization. The behavior changed between Engine 4.0.16 and 4.0.18, and the same payload still fails on Engine 4.0.29 with Ignition 8.1.48, so an upgrade alone is not the fix. Align the publisher's payload with a reference birth from MQTT Transmission, then re-test.

On this page
Your DBIRTH is not being lost on the wire. MQTT Engine decodes the enabled property from the payload and then does not apply it to the UDT member tags: the members stay disabled and acquire a prg custom property holding a BoundPropertySetDiff that names VOL with a suggested Float4 type. That artifact is produced only during tag materialization, so the publisher, the broker, the subscription and the Sparkplug decoder have all done their jobs. The behavior changed between Engine 4.0.16 on Ignition 8.1.26, where it works, and Engine 4.0.18 on Ignition 8.1.31, where it fails, and the same payload still fails on Engine 4.0.29 with Ignition 8.1.48, so an upgrade alone is not the fix. The resolving move is a payload comparison against a reference birth published by MQTT Transmission.
Where the enabled property stops #
The symptom spans four handoffs. Take one reading at each, in order, and stop at the first that fails.
| Handoff | Reading to take | Pass condition |
|---|---|---|
| Publisher to broker | captured outbound DBIRTH | the member metric carries property key enabled, Boolean type 11, value true |
| Broker to Engine | connection state, subscription, received payload | Engine receives the same bytes on the intended server connection |
| Engine decoder | decoded metric name, datatype, properties | enabled survives the decode as type 11 with value true |
| Tag provider | effective Enabled setting, custom properties | the member enables and no prg diff appears |
- The DBIRTH never arrives or is refused: a delivery fault, covered in the next section.
- The decoded metric has no
enabledkey at all: the serializer dropped it or a property filter removed it, and the filter path is traced in why MQTT Engine filtered namespaces works backwards. - The decoded metric carries
enabledtrue, the member stays disabled andprgappears: tag-side property reconciliation. That is your case, and everything from the payload comparison onward applies.
Rule out delivery only when the diff is absent #
When prg shows up on exactly the tags you tried to enable, delivery is proven, because the diff cannot exist unless the metric reached the tag provider. Skip the broker work entirely.
When the diff is absent, confirm three things before touching any tag: the Python application and MQTT Engine connect to the same broker endpoint, comparing the configured host and port on both sides; the Engine server subscription covers the group and node that publish this birth; and a capture of the outbound DBIRTH matches the inbound copy metric for metric. A healthy TCP connection proves none of this by itself. If Engine rejects the birth or it never lands, follow the trace in why Ignition rejects a Sparkplug DBIRTH with a Rebirth request; a collector that logs the DBIRTH but never the DDATA is the different failure covered in why an MQTT collector logs DBIRTH but ignores DDATA.
Compare the NBIRTH with the DBIRTH #
Capture both births from one session and lay the definition member beside the instance member.
| Field | NBIRTH definition | DBIRTH instance | What it shows |
|---|---|---|---|
isDefinition |
true | false | the instance resolves against the same template |
| metric datatype | 9 | 9 | no type mismatch on the wire |
| property key | enabled |
enabled |
exact spelling; enable is not the key |
| property type | 11 | 11 | Boolean in both messages |
| property value | false | true | the requested state changes at the device birth |
The instance also carries real values, 601.692 on VOL, so value delivery is not in question; only the property application fails. Note what the pair does not show: the Sparkplug specification defines property sets generically, and mapping the enabled key onto a tag's Enabled setting is MQTT Engine's own convention. That is why a payload that worked on one Engine release can be declined on the next with no byte changed.
Check the chronology before trusting the pair. The captured NBIRTH carries timestamp 1746523599049 and the captured DBIRTH carries 1745324626000, both milliseconds since the epoch. The gap is 1746523599049 − 1745324626000 = 1,198,973,049 ms, and at 86,400,000 ms per day that is 1,198,973,049 ÷ 86,400,000 ≈ 13.9 days: the instance birth is stamped almost fourteen days before the definition it depends on. Either the two captures come from different sessions, or the publisher's clock and birth ordering are wrong. The specification requires the node birth ahead of the device birth, so correct the clock, publish NBIRTH first and DBIRTH second, and record a fresh paired trace so timing cannot contaminate the property test.
Read the prg diff before changing anything #
The failing tags carry this value on the prg property: BoundPropertySetDiff[modified={name=VOL, suggestedType=Float4},removed=[]]. Read it as a statement from Engine: it computed a property-set modification for the member VOL, removed nothing, and the modification never became an Enabled change on the tag. Before you change anything:
- Record the member's effective Enabled value and whether it is inherited from the UDT definition, configured directly, or bound to a UDT parameter. The module's change history puts the last enabled-property fixes in 4.0.26, around Enabled applied through bound properties, so a bound Enabled is the prime suspect.
- Compare an affected member with one that enables correctly on the same gateway, inheritance and binding state included. The delta between the two members is worth more than the diff string itself.
- Leave the Enabled checkbox alone. Engine rewrites the configuration of tags it provisioned on every birth, so a manual edit is overwritten at the next DBIRTH or Rebirth, and it destroys the evidence the comparison test needs.
If the property is intact in the decoded DBIRTH and the diff appears only at materialization, keep the paired payloads and the tag export together: they are the input for the reference test and, if it comes to that, the module defect report.
What the version history rules out #
| Ignition | MQTT Engine | Result on this payload |
|---|---|---|
| 8.1.26 | 4.0.16 | the DBIRTH flips the members to enabled |
| 8.1.31 | 4.0.18 | the members stay disabled |
| 8.1.31 | 4.0.21 | the Engine release paired with that Ignition version; no result recorded for this payload |
| 8.1.48 | 4.0.29 | the same failure, with the prg diff present |
Two conclusions follow. The regression window for this payload opens after 4.0.16. And because the failure survives on the newest tested pair, the history dates the change without clearing it, so do not plan an upgrade as the fix. Before testing any other pairing, verify it against the third-party module downloads and compatibility matrix for each gateway release, and change one component at a time, replaying the same birth sequence after each change so payload, tag state and software version stay separable.
The Transmission reference test and the decision #
The decisive experiment isolates the serializer: publish the same template with the same enabled states through MQTT Transmission, the companion publisher module, and diff its births against your Python publisher's.
- Save the failing NBIRTH/DBIRTH pair and export the affected tags with
prg, inheritance and bindings included. - On a bench gateway, run MQTT Transmission, publish a template definition with the members disabled, then an instance with the same members enabled, and capture both births.
- Diff the pairs on property encoding, meaning the keys and values arrays and Boolean type 11, on the template reference (name, version,
isDefinitionflags), on member order, timestamps and the Sparkplug topic namespace of each publish. - If the reference enables its members on the same gateway, the delta between the two payload representations is the defect: change the Python serializer to match the reference representation and publish a clean sequence, NBIRTH first, then DBIRTH.
- Re-test on a fresh DBIRTH every time; DDATA never carries the property, as why Sparkplug B sends DBIRTH once and DDATA only on change explains, and a Rebirth request replays the sequence without restarting the publisher.
- If the reference also fails on the existing tags, remove the affected instance tags and let the fresh DBIRTH rebuild them, then re-test. That separates stale tag state from payload encoding.
The decision, per outcome:
- The property is missing at the decoder: fix the serializer or the filter and deliver
enabledas type 11. The wire path was the defect. - The property decodes,
prgis present, and the reference works: align the serializer with the reference encoding. Done is when the members enable and no new diff appears. - Rebuilt tags enable where the old ones did not: tag state was the variable. Keep the aligned serializer and close it out.
- Rebuilt tags still refuse the property under both payloads: a module defect, so submit the paired payloads and the tag export. Until it is fixed, Engine 4.0.16 with Ignition 8.1.26 remains the last pairing shown applying the property; run it only as a bridge on an isolated segment, because it forgoes every later fix.
Questions asked
What does suggestedType Float4 mean in the prg diff?
Float4 names the four-byte floating-point type, which is Sparkplug datatype 9, already the datatype of the VOL metric, so the diff reports no type conflict. The modified entry names the member Engine wanted to change, and the empty removed list means nothing was dropped. The diff is a record of a change that was computed but never applied as an Enabled update, which is why it points at property reconciliation rather than the wire.
Could a property filter be stripping enabled before it reaches the tag?
A filter removes the key upstream of the tag, so a filtered member would show no prg diff at all and simply sit at its definition's disabled state. On your tags the diff is present, which rules filtering out for those members. If a decoded metric turns up with the enabled key missing entirely, audit the property filter settings on the Engine server instead of the tag configuration.
Where do I capture the payloads for the comparison?
At two points: on the publisher side, log the serialized bytes just before the publish call; on the broker side, subscribe a plain debug client to the node and device birth topics and save exactly what it receives, ideally beside a broker packet log. Comparing the two copies is what proves the subscription path, and the saved pair becomes the reference for every later diff.
Is the prg property itself harmful, and should I delete it?
Treat it as evidence, not a fault. It is a custom property Engine wrote while reconciling the property set, and the value path does not depend on it, which is why your values keep arriving. Deleting it removes the trail without changing the outcome, and the next birth writes it again while the underlying mismatch remains. Record it, then fix the encoding or the tag state.


