Product Documentation

FairCom Edge IoT Database

Previous Topic

Next Topic

Using Node-RED with MQTT

Node-RED is a browser-based, drag-and-drop editor that greatly simplifies the creation of applications by describing flow between hardware devices, APIs, and online services. It includes a palette of nodes, which can be used by simply dragging them into your application. The palette of nodes can be easily extended to add new capabilities. Node-RED is built on Node.js. Its lightweight and efficient event-driven, non-blocking model makes it ideal to run at the edge of the network on low-cost hardware, such as the Raspberry Pi.

FairCom Edge provides an MQTT (Message Queuing Telemetry Transport) broker for use in Node-RED projects. If you are using MQTT in your project, this is a simple way to add persistence on the edge. FairCom Edge also includes a generic node for connecting c-tree as a persistent data store in a Node-RED application. Once installed, FairCom Edge is represented in the node palette so you can quickly add persistence to your Node-RED application.

When using MQTT, simply add the FairCom Edge MQTT Broker to your application. FairCom Edge appears in your palette and you can quickly add persistence to your application.

Let's get started - A tutorial and guide to setup and installation is available in the section titled Node-RED Using the FairCom Edge MQTT Broker.

For more about support for MQTT provided by FairCom, see FairCom MQTT Reference Guide in the on-line documentation.