← All native models

Model fields

config:mqtt_publish

MQTT Publish Node Config

MQTT publish node configuration. Device is optional - if present, message targets that device only.

object
deviceIdOptional

Optional device to send to, or a {{ … }} expression. When given, only that device receives the message.

string
messageRequired

The message to send, written directly or as a {{ … }} expression.

string
rpcOptional

When true, wait for the device to reply.

boolean
topicRequired

The topic to publish to.

string