MESSAGE BROKERS

MQTT actions

5 actions you can wire into a flow, alongside everything else in the Message Brokers integration.

Every MQTT action

  • MQTT: Clear Retained ValueDelete a topic's stored last known value, so new subscribers no longer receive a stale reading. Live messages on the topic are unaffected.
  • MQTT: Get Retained ValueRead a topic's last known value: the message the broker has retained. Use it to ask 'what is the current temperature?' without waiting for the next reading. Check the Found output to branch on whether the topic has a stored value.
  • MQTT: Publish and Await ReplyPublish a request to one topic and wait for the answer on a reply topic: ask a device a question and get its response in a single step. Check the Replied output to branch on whether an answer came back.
  • MQTT: Publish MessagePublish a message to a topic on an MQTT broker. Choose the delivery guarantee (QoS) and optionally retain the message so the next subscriber receives it immediately.
  • MQTT: Wait for MessagePause the flow and wait for the next message on a topic, up to a timeout. Use it to wait for a device to report back mid-flow. Check the Received output to branch on whether a message actually arrived.

Also in Message Brokers

Put MQTT in a flow

These actions sit on the same canvas as every other integration, so a MQTT step can follow a form, a schedule or a message without any glue code.