Setting mqtt out node properties from json string

Hi,
Is it possible to set the properties of a mqtt out node e.g. server name, port, protocol, username, password etc from a function in node red? Along the same line as msg.qos=2 and msg.retain=false and msg.topic="my/topic"

yes.

From the built in help...

Demo...

1 Like

Thanks Steve-Mcl, much appreciated.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.