{"library":"node-red-contrib-aedes","title":"Node-RED MQTT Broker (Aedes)","description":"This Node-RED contribution provides an embedded MQTT broker directly within a Node-RED instance, eliminating the need for an external MQTT server like Mosquitto. Based on the actively maintained Aedes library (version 1.0 as of package version 1.x.x), it offers standard MQTT TCP and WebSocket support, including SSL/TLS, and various message persistence options (in-memory, MongoDB, file snapshotting). The current stable version is 1.2.0, with releases occurring as needed to track Aedes updates and Node-RED compatibility. It serves as a modern replacement for older Node-RED MQTT broker nodes that relied on the unmaintained Mosca library, distinguishing itself by its direct integration and modern backend.","language":"javascript","status":"active","last_verified":"Sun Apr 19","install":{"commands":["npm install node-red-contrib-aedes"],"cli":null},"imports":["N/A","npm install node-red-contrib-aedes","N/A"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"// Step 1: Install the Node-RED contribution package\n// This command should be run in your Node-RED user directory (e.g., ~/.node-red)\n// or via the Node-RED Palette Manager GUI.\n// Execute in your terminal:\n// npm install node-red-contrib-aedes\n\n// Step 2: Restart Node-RED\n// After successful installation, restart your Node-RED instance.\n// For example, by running 'node-red' in your terminal or restarting its service.\n\n// Step 3: Access and Configure in Node-RED Editor\n// - Open your Node-RED editor (typically at http://localhost:1880).\n// - Find the 'Aedes MQTT Broker' node in the MQTT category of the palette.\n// - Drag this node onto your flow canvas.\n// - Double-click the node to open its configuration panel.\n// - Configure desired settings, such as TCP port (e.g., 1883), WebSocket port (e.g., 8080),\n//   SSL/TLS settings, and message persistence options.\n// - Deploy your flow to start the embedded MQTT broker.\n\nconsole.log(\"Aedes MQTT Broker node installed and ready for configuration in Node-RED editor.\");\n// For testing, connect any MQTT client to the configured broker (e.g., mqtt://localhost:1883).","lang":"javascript","description":"Installs the Aedes MQTT broker node into your Node-RED environment, making it available in the palette for graphical configuration and deployment within your Node-RED flows.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}