@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.

npm install @malysus/node-red-contrib-mqtt-auto

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

Conectar
msg.payload = {

  "client_id": "clientid",
  "host": "locahost",
  "user": "user",
  "password": "password",
  "reconnect_t" : 1, // 0 No Reconect  1 AutoReconnect
};

mqtt-auto-disconnect

Conectar
msg.client_id = "client_id";

mqtt-auto-status

Conectar

mqtt-auto-subscribe

Conectar
msg.client_id = "client_id";
msg.topic = "topic";

mqtt-auto-unsubscribe

Conectar
msg.client_id = "client_id";
msg.topic = "topic";

mqtt-auto-publish

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

See Mqtt documentation

Node Info

Version: 2.2.1
Updated 1 month, 3 weeks ago
License: ISC
Rating: not yet rated

Categories

Actions

Rate:

Downloads

6 in the last week

Nodes

  • mqtt-auto-connect
  • mqtt-auto-disconnect
  • mqtt-auto-subscribe
  • mqtt-auto-publish
  • mqtt-auto-unsubscribe
  • mqtt-auto-status

Keywords

  • node-red
  • mqtt

Maintainers