From 5ea2a9fa22533e2d268ee75bc5aef12182d3d810 Mon Sep 17 00:00:00 2001
From: Ben Hardill The second output will user presence and status in msg.payload. The To field is optional. If not set uses the msg.topic property of the message. If you are joining a room then the To field must be filled in. Uses the simple-xmpp module - you may also need to pre-configure your xmpp settings as per below. Either add to your settings.js file...xmpp : { jid : "yourid", password: "password" },
Or create a file xmppkeys.js containing
-module.exports = { jid: "yourid", password: "password" }-
This must be located in the directory above node-red.
+