Susi Server

MQTT Publisher

Node ID: mqttPublisher · Role: Sink · Realtime config: no

Description

Publishes pipeline data to an MQTT broker topic as JSON. Useful for integrating FusionHub with IoT dashboards, remote consumers, or message-based architectures.

Inputs / Outputs

Config aliases

MqttSink, mqttSink, mqttPublisher

Properties

Each row shows the setting’s label in the node’s Properties panel and, in code, its key in the node’s settings object in the config file. A setting omitted from the config file uses the default shown here.

PropertyTypeDefaultDescription
Host hoststringlocalhostHostname or IP of the MQTT broker.
Port portnumber1883MQTT broker TCP port.
Topic topicstringfusionhub/outputTopic to publish incoming data to.

Example node definition

A minimal entry in config.json looks like the block below. Paste it under the sinks key, keyed by an instance name of your choice. All settings are optional: anything not listed under settings uses the default from the Properties table above. See The configuration file for how the sections and endpoint wiring work.

{
  "sinks": {
    "mqttPublisher": {
      "inputEndpoints": [],
      "settings": {}
    }
  }
}
Loading documentation…