Automation Maker #002 - Install Node-RED on a PLC


=== UPDATE ====

The recommended way to install node.js and npm is now through the PLCnext Store.

After installing node.js from the Store, log in to the PLC as "admin" and proceed with node-red installation using npm.

Useful links:

Sample flow on the Node-RED website

Commands to install Node-RED:

ipkg install node (install node.js from the PLCnext Store)
npm install -g node-red

Note: The errors seen during Node-RED installation relate to the optional bcrypt package.
To avoid these errors, install gcc, make, and python 2, before installing Node-RED:

ipkg install gcc
ipkg install make
ipkg install python27
npm install -g node-red --python=python2 --unsafe-perm