Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Sparkplug B Publishers

For the following example, eACM is collecting data from a device named “Device1”.

AUTOSOL MQTT’s SparkplugB publisher has a GroupID of “LocalGroup” and NodeID of “FirstNode” (set on the SparkplugB Sparkplug B tab).

What topics should appear in the broker?

...

If communications are lost, or AUTOSOL MQTT is stopped, a node death message will arrive, signalling signaling to all subscribers that the node is down:

Code Block
spBv1.0/LocalGroup/NDEATH/FirstNode

As SparkplugB Sparkplug B is not a human readable format, a Sparkplug Decoder is needed to resolve the contents of these messages.

Standard Publishers

For the following example, eACM is collecting data from a device named “Device1”, with the tag “Tag1”.

AUTOSOL MQTT’s Standard publisher has a NodeID of “LocalNode” (set on the MQTT tab).

What topics shoudl appear in the broker?

When AUTOSOL MQTT starts up, tag data will appear with the topic:

Code Block
LocalNode/Device1/Tag1

It has a timestamp reflecting time of publication and the payload is the value of the tag.

When AUTOSOL MQTT stops, or when communication with the end device is lost, a death message will indicate that the node is offline with the topic:

Code Block
LocalNode/DEATH