Deploying Node-Red Flows

When you come to deploying a flow you have four (node-red v0.2)options as shown below: Although the choices appear obvious the effect of the options isn’t and can cause some confusion.

Continue reading

Working with JSON Data And JavaScript Objects in Node-Red

JSON is popular format for encoding data sent over the Internet, and also stored in files. In computing, JavaScript Object Notation (JSON) is an open-standard file format that uses human-readable text to transmit data objects consisting of attribute–value pairs and array data types (or any other serializable value). –wiki

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.

Continue reading

Node-Red HTTP Request Node for Beginners

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 Request Sending and receiving JSON data to a website or API. etc The node will send a request and receive the response. The node handles both the request and response. Note: if you are not familiar with the http protocol then I suggest you read the http basics tutorial.

Continue reading

Using the Node-Red Function Node- Beginners Guide

The function node is used to run JavaScript code against the msg object. The function node accepts a msg object as input and can return 0 or more message objects as output. This message object must have a payload property (msg.payload), and usually has other properties depending on the proceeding nodes.

Continue reading

Installing and Starting Node-Red

Installing Node Red Node-Red is a node application and before you Install node red you will need to first install node. Here are the instructions: Installing Node on Windows Installing Node on Linux Using a Package Manager Then you can Install node red on Windows and Linux (including raspberry pi) using:

Continue reading

Creating Flows- Node-Red Admin Basics

To administer node-red you will need to go the admin url. The admin url is the machine name or IP address followed by the port number. e.g  127.0.0.1:1880/ if you are running the browser on the same machines as node-red. localhost:1880/ – steve-laptop:1880/ when running node-red on a remote machine 192.168.1.154:1880/ I currently run node-red on a Raspberry Pi and use a second machine (windows 10) to create flows.   Using The Node Red Admin User Interface (UI) When you open the node-red admin screen for the first time you should start with an empty work space as shown in

Continue reading

How to Create a Basic Node-Red Dashboard

The node red dashboard is an add-on module that lets you create live dashboards. It is an optional module and it is not installed by default. You can install the dashboard nodes using npm make sure you are in your .node-red folder when you run the command: npm install node-red-dashboard or from inside node-red just as you install other nodes.

Continue reading