MQTT Message
Starts when a message arrives on an MQTT topic — a Zigbee button, a sensor, any device that publishes.
A trigger in the Smart Home group.
Its type is trigger.mqtt_message.
Declared ports
Section titled “Declared ports”| Port | Label | Flow | Type |
|---|---|---|---|
out |
out | execution out | — |
message |
Message | data out | Object{topic: String, payload: String, retained: Boolean, qos: Int, receivedAt: DateTime} |
Configuration
Section titled “Configuration”| Field | Key | Default | Notes |
|---|---|---|---|
| Broker | broker |
— | chosen from MQTT_BROKER |
| Topic | topicFilter |
— | chosen from MQTT_TOPIC |
| Message contains | payloadContains |
— | — |
| Also fire on messages the broker had stored | includeRetained |
false |
— |