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

The following fields are exposed in the node’s Properties panel in the UI. Types map to UI widgets (e.g. string → text input, number → numeric, boolean → toggle, select → dropdown, json → JSON editor).

KeyLabelTypeDefaultDescription / Notes
hostHoststringlocalhostHostname or IP of the MQTT broker.
portPortnumber1883MQTT broker TCP port.
topicTopicstringfusionhub/outputTopic to publish incoming data to.

Example node definition

A full node definition in config.json looks like the block below. Paste it under the sinks key of your config, keyed by the node’s instance name (any identifier; it doesn’t have to match the node ID).

{
  "sinks": {
    "mqttPublisher": {
      "inputEndpoints": [],
      "settings": {
        "host": "localhost",
        "port": 1883,
        "topic": "fusionhub/output"
      }
    }
  }
}

Field reference

FieldPurpose
inputEndpointsList of upstream endpoints this node connects to (outEndpoint / dataEndpoint values from upstream nodes).
inputDataFilterOptional whitelist of data types. Messages whose type isn’t in the list are dropped at the subscriber.
settingsAll user-configurable fields — see the Properties table above.

Connections can also be declared at the top-level connections array when settings.explicitConnections is true, as an alternative to filling inputEndpoints on each node.

Loading documentation…