Written by Miloslav Bien, Tuesday 22 November 2022
Two magic words connected with the IoT world? Yes, Node-RED. We have been enabling our customers to work with this software (in Advantech routers) already for some time now.
The purpose of this post is not to explain how the Node-RED works, but rather to explain the installation options in our routers. If you decide to use Node-RED, you have two installation options.
The second option is to use the Docker container solution and install Node-RED using the standard Docker "image" way. In this case, we are not responsible for the correct operation of Node-RED as a router hardware and software producer - Docker image is publicly available written by community authors, and ready for download on the Internet for free use.
Both solutions lead to the same goal – running Node-RED on our routers, but they differ in details that may be important for application operation. The first option gives you stability assurance as we work with the Node-RED as a „closed application“ and test Router App nodes with this “locked” Node-RED edition. In exchange, you need to accept that our „locked“ Node-RED edition is not up to date and running behind the Node-RED community releases. You may avoid this if you feel it is important for you by using installation option two for selected router models – Node-RED as a Docker image gives you a chance to work with the newest Node-RED community releases and nodes available on the Internet. Further differences between those 2 installation options would be well noticed from the table below.
|Node-Red via RouterApps||Node-Red via Docker|
|SmartStart SL305||Yes||Yes, Node-Red:minimal*|
|Set of nodes adapted for and tested with Advantech routers||Yes||No|
|Router specific nodes||Yes||No|
|Latest versions of Node-Red|
(update from the Internet)
|Size consumed in the filesystem||Low||High|
|Preconfigured HTTPS with router certificates||Yes||No|
|Installing as a single file||No||Yes|
|npm installation support|
(JS only or pre-compiled bins for ARM v7)
Pull an image or a repository from a registry:
* docker pull nodered/node-red:2.2.3-12-minimal (actual version)
** docker pull nodered/node-red:latest