To install Node-RED first Node.js must be installed. Download package for Node.js could be found on this page: https://nodejs.org/en/download/
After downloading and installing Node.js just a short command in Node.js command prompt will install Node-RED (for Windows users only): npm install -g --unsafe-perm node-red
More information about installation for different platforms is given here.
Once installed Node-RED will be accessed from browser on 127.0.0.1:1880 (by default).
Just drag and drop nodes, wire connections, create flows and deploy.
Node-RED Programming Information
Node-RED Installing Palletes
Installing palletes is an easy task. just go to upper right corner and click Settings->Palletes->Install tab and search for pallete. When found needed pallete click install and that's all. The pallete's nodes will be found at left bar in Node-RED.
Import programs in Node-RED
To import program in Node-RED first copy in clipboard the desired program from text file, then go to upper right corner, click Import->Clipboard and paste the text in appeared window.
About Denkovi Software Examples
All our products that supports communication through Node-RED have download link to an example in section Software Examples.
All examples provided use dashboard plugin. Additional palletes might be needed for different examples. An example screenshot of SmartDEN IP-32IN is given below.
- Due to the specific of the communication (HTTP GET requests), it is strongly recommend to log-out from the denkovi hardware device web server when working with Node-RED because either the communication will not be established either the user will be logged-of automatically every time when a request come from Node-RED server.
- Before start the Node-RED, please be sure the HTTP / XML / JSON settings are done properly, as the image below:
Specificly, please be sure the parameters Enable XML Access and Multiple XML Access are enabled and Encrypt XML Password is disabled.