Rule action: MQTT publish
The MQTT action publishes a message to a broker of your choice when a rule fires — handy for driving other systems or actuators.
Configure:
| Field | Meaning |
|---|---|
mqtt_broker_url |
Target broker (e.g. mqtts://host:8883) |
mqtt_topic |
Topic to publish to |
mqtt_payload |
Message body |
mqtt_qos |
0, 1, or 2 |
mqtt_retain |
Retain the message on the broker |
mqtt_username / mqtt_password |
Broker credentials |
Connections are pooled and reused. MQTT actions require a plan that allows them — see plans & limits.