Node-RED Install MQTT Broker AEDES
You can use the MQTT protocol in Node-RED without an external MQTT broker like Mosquitto.
Select manage palette (AlT + Shift + P) from the main menu.
Select the install tab.
Type AEDES in the search. The node-red-contrib-aedes will be displayed. Select the install button on the right-hand side.
Your MQTT broker will now be installed.
The Aedes broker node will be under the network on the left-hand side. Simply click and drag it onto your workspace.
Here is a comparison of MQTT brokers:
https://github.com/mqtt/mqtt.org/wiki/server-support
Our Node-RED Series can be viewed here:
https://accautomation.ca/series/node-red-iot-enabling-software/
This will involve installing, communicating to the PLC, HMI (dashboards), saving to a SQL database, and analyzing the data with spreadsheets.
There are several reasons why we are using Node-RED. Here are just a few.
- Built on top of the most dependable programming language, JavaScript.
- JavaScript is flexible and easy to work with on web browsers, server-side, IoT, IIoT projects, etc.
- Visual flow type interface making programming easy.
- Node will allow JavaScript code to run directly on a computer.