Versions Compared

Key

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

...

Note

MQTT Engine must have a client connection to a broker to use the publish mechanism. This is configured here

If the MQTT Engine client connection is configured to use Primary Host ID, the client will include an MQTT Will message in its connect message with a topic in the format "spBv1.0/STATE/primary_host_id" and a payload {"online" : false, "timestamp" : 1668114759262}.
When the MQTT Engine client goes off-line, the broker will publish the MQTT Will message

LWT

on behalf of

the client for any non Sparkplug B

MQTT Engine for MQTT clients subscribing on this topic.



MQTT Message Publishing via Ignition Script:

...