code: function MQTTMsgBusStatusInNode(config) {
          RED.nodes.createNode(this, config)
  
          this.qos = parseInt(config.qos)
  
          if (isNaN(this.qos) || this.qos < 0 || this.qos > 2) {
              this.qos = 2
          }
  
          this.source = config.source
          
          if (typeof this.source === 'undefined'){
              this.source = "+"
          } else if (this.source == "") {
              this.source = "+"
          }
  
          this.client     = config.client
          this.clientConn = RED.nodes.getNode(this.client)
  
          this.broker     = this.clientConn.broker
          this.brokerConn = RED.nodes.getNode(this.broker)
  
          var node = this
  
          if (this.brokerConn) {
              this.status({fill:"red", shape:"ring", text:"node-red:common.status.disconnected"})
  
              this.topic = topicStatusSubscribe(this.clientConn, this.source)
  
              node.brokerConn.register(this)
  
              this.brokerConn.subscribe(this.topic, this.qos, function(topic, payload, packet) {
                  onStatusHandler(node, node.brokerConn, topic, payload)
              }, this.id)
  
              if (this.brokerConn.connected) {
                  node.status({fill:"green", shape:"dot", text:"node-red:common.status.connected"})
              }
  
              this.on('close', function(done) {
                  if (node.brokerConn) {
                      node.brokerConn.unsubscribe(node.topic, node.id)
                      node.brokerConn.deregister(node, done)
                  }
              })
          } else {
              this.error(RED._("msgbus.errors.missing-config"))
          }
      }
docs: ****************************************************************************************************************