@malysus/node-red-contrib-mqtt-auto 2.2.1
Node group for NodeRed that maintains multiple MQTT connections and you can change connection credentials during runtime.
node-red-contrib-mqtt-auto: FORK of node-red-contrib-mqtt-auto to integrate fixes
This node is intended to facilitate connection and change of connection credentials at runtime.
mqtt-auto-connect

msg.payload = {
"client_id": "clientid",
"host": "locahost",
"user": "user",
"password": "password",
"reconnect_t" : 1, // 0 No Reconect 1 AutoReconnect
};
mqtt-auto-disconnect

msg.client_id = "client_id";
mqtt-auto-status

mqtt-auto-subscribe

msg.client_id = "client_id";
msg.topic = "topic";
mqtt-auto-unsubscribe

msg.client_id = "client_id";
msg.topic = "topic";
mqtt-auto-publish

msg.client_id = "client_id";
msg.paydload = "my_message";
msg.topic = "topic";
msg.options={}; #