Node Red MQTT broker node based on aedes.js
npm install node-red-contrib-aedesYou can use the MQTT protocol in Node-RED without an external MQTT broker like Mosquitto.
!Node.js CI




To install the node from the command-line, you can use the following command from within your user data directory (by default, ``$HOME/.node-red`):`sh`
npm install node-red-contrib-aedesFlows
Just put this node on Node-RED and hit the deploy button. The MQTT Broker will run on your Node-RED instance.
!flows
When your Node-RED server address is https://yourserver/, you can set the WebSocket to bind to, e.g., "/ws/mqtt" path, to have wss://yourserver/ws/mqtt WebSocket at port 443.
You can also bind the WebSocket to the root "/" path and having wss://yourserver/ WebSocket listening at port 443 (or ws://yourserver/ at port 80`).