Publishes a message to an MQTT broker topic. Common for IoT actuation and telemetry forwarding.
When to use
- Command smart devices (lights, relays, HVAC).
- Forward processed data to a central broker.
- Integrate with Home Assistant, Mosquitto, or cloud MQTT.
Properties
| Property | Type | Description |
|---|---|---|
| Broker Host | text | Hostname or IP. Default localhost. Supports {{$var.mqttHost}}. |
| Port | number | Default 1883. |
| Username | text | Optional broker username. |
| Password | secret | Optional broker password. |
| Topic | text | Target topic. Required. |
| Payload | textarea | Message body; JSON or plain text. |
| Merge pipeline input into payload | toggle | Default on. |
| Retain Message | toggle | MQTT retain flag. |
| QoS | select | 0 At most once, 1 At least once (default), 2 Exactly once. |
Outputs
Confirmation with topic, payload echo, and broker ack metadata.