@malysus/node-red-contrib-mqtt-auto
v2.1.0
Published
Node group for NodeRed that maintains multiple MQTT connections and you can change connection credentials during runtime.
Downloads
8
Readme
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";
...