Using the Control UI Node With Flow Example

The control UI node allows dynamic control of the dashboard. A typical use is for creating dynamic menus. A dashboard consists of tabs and groups. Dashboard nodes are placed in groups and groups are placed on tabs as shown in the diagram below: Click to rate this post! [Total: 4 Average: 5]

Continue reading

Using the Node-Red Chart Node

The chart node is used to display input data in various chart forms.(line, pie, bar etc).

The input data is usually time based but doesn’t need to be.

The input data can be real time or inserted from a database or log file

Continue reading

Node-Red Web Server -HTTP-IN and HTTP Response Nodes

To implement a web server with node-red you require two nodes. They are: http-in -accepts requests from a client. http-response -responds to requests from a client. The http-in node is the web server, and needs to be configured to accept a URL request. Click to rate this post! [Total: 4 Average: 5]

Continue reading

Using the Exec Node to Run External Commands

The exec node allows you to take any existing system command, python program or script that you have written and run it from node-red and incorporate the results in you flow. The exec node takes a single input and has three outputs. Click to rate this post! [Total: 2 Average: 3.5]

Continue reading

Using the Node-Red Template Node

There are two template nodes in node-red. They are the HTML template node and the dashboard template node. In this tutorial we will discuss the HTML template node which is a core node, and is located in the function section. Click to rate this post! [Total: 4 Average: 5]

Continue reading

Node-Red Initialising Flow Data on Startup

Often you want your flow to start with known conditions. For example you may have a flow that records various sensors, and have alarms set when the sensors exceed a given value. As an example you may want to trigger an alarm when the temperature falls below 3 degrees or exceeds 30 degrees Centigrade. Click to rate this post! [Total: 2 Average: 5]

Continue reading

Node-Red – Storing IOT Data in a SQL Database

IOT data from sensors and other devices usually comes as either a text string usually with key value pairs or more commonly as JSON encoded data. Databases accept a variety of data formats the most common are INT and TEXT. Click to rate this post! [Total: 3 Average: 5]

Continue reading

Beginners Guide to the Node-Red Settings.js File

Node red uses a settings file called settings.js located in in the user .node-red (dot node-red) folder in their home directory. You can create your own settings file and customise it either by copying the existing file or using the file available from Github here. On Linux the settings.js file is copied from the /usr/lib/node-modules/node-red/ folder to your .node-red folder in your home directory when you start node-red, and there is no settings.js file present. Click to rate this post! [Total: 1 Average: 5]

Continue reading

Using the Node Red Status Node

In Node red any node can report status information in the visual editor. The screen shot below shows the MQTT node. It shows a green circle to indicate that it is connected and the text connected underneath the node. Click to rate this post! [Total: 1 Average: 5]

Continue reading

Node-Red HTTP Request Node for Beginners

In node-red there are three core http nodes. http-in -Used to configure a web server http response – used with http-in to send responses. http request – used for making http requests i.e an http client. The http request node can be used for. Retrieving web pages from a website Making API Requests Sending and receiving JSON data to a website or API. etc The node will send a request and receive the response. The request node handles both the request and theĀ  response. Note: if you are not familiar with the http protocol then I suggest you read the http basics tutorial. Click to rate this post! [Total: 2 Average: 5]

Continue reading