Skip to content
Download

Publish to MQTT

Sends a message to a topic on an MQTT broker — Mosquitto, Zigbee2MQTT, Tasmota, ESPHome.

An action in the Smart Home group. Its type is action.mqtt_publish.

Port Label Flow Type
in in execution in
out out execution out
topic Topic data in String
payload Message data in String
state state data out Object{topic: String, published: Boolean, error: String}
Field Key Default Notes
Broker broker chosen from MQTT_BROKER
Topic topic chosen from MQTT_TOPIC
Message payload
Delivery quality AT_LEAST_ONCE AT_LEAST_ONCE, AT_MOST_ONCE, EXACTLY_ONCE
Ask the broker to keep this message retain false