ww_mqtt_3
Pushes messages to an MQTT broker.
# Config fields, showing default valuesoutput: label: "" ww_mqtt_3: urls: - tcp://localhost:1883 client_id: "" topic: "" # No default (required) qos: 0 retained: false write_timeout: 5s connect_timeout: 30s keepalive: 60s auth: username: "" password: ""
Uses mqtt output component found in wombatwisdom/components.
Fields
urls
List of MQTT broker URLs to connect to.
Type: array
Default: ["tcp://localhost:1883"]
client_id
Unique client identifier. If empty, one will be generated.
Type: string
Default: ""
topic
Topic to publish to. Can contain interpolation functions.
Type: string
qos
Quality of Service level (0, 1, or 2)
Type: int
Default: 0
retained
Set the retained flag on published messages
Type: bool
Default: false
write_timeout
Timeout for write operations
Type: string
Default: "5s"
connect_timeout
Connection timeout
Type: string
Default: "30s"
keepalive
Keep alive interval
Type: string
Default: "60s"
auth
Authentication configuration
Type: object
auth.username
Username for authentication
Type: string
Default: ""
auth.password
Password for authentication
Type: string
Default: ""