The Node-RED Platform

Node-RED logo

Flow-based programming for the Internet of Things

The Node-RED website:


Installation of the Node-RED platform, on Ubuntu 18.04, requires three packages be installed; node.js, npm, and Node-RED itself.


Node.js logo node.js

Node.js is an open-source, cross-platform JavaScript run-time environment that executes JavaScript code outside of a browser. Node.js lets developers use JavaScript to write command line tools and for server-side scripting—running scripts server-side to produce dynamic web page content before the page is sent to the user's web browser. Consequently, Node.js represents a "JavaScript everywhere" paradigm,[7] unifying web application development around a single programming language, rather than different languages for server side and client side scripts.


Also See:


npm logo npm

Npm is a JavaScript package manager which can be used to install, share, and distribute code as well as to manage dependencies in your projects. It is written entirely in JavaScript as an inspiration from the other similar projects like PEAR for PHP, or CPAN for Perl.


Node-RED logo Node-RED

outputs the following:

Node-RED can now be accessed on the local browser at


Installation of Node-RED on Ubuntu 18.04 using snap




Installing "snmpb" on Ubuntu 18.04

Load the snmpb sniffer:
snmpb icon
Data Returned:

SNMP OIDs Required for Rack PDU 2G Products (AP86XX, AP88XX, AP89XX):


SNMP Command Line Tools On Ubuntu 18.04



The command snmptranslate -On PowerNet-MIB::sPDUOutletCtl.1 produces the conversion to the OID format need by Node-RED .

In order to query any Rack PDU 2G units via SNMP, the subtree is located at that the following OID: .


APC MIB's Downloads

APC MIB's can be downloaded here:

Or third party sites such as Joshua Tobin github site that hosts a Versiom 4.0.3 APC PowerNet MID:

Or Chet Luther github site taqht hosts a version 3.4.3 APC PowerNet MIB

At this stage I do not know which version is preferable.

APC FAQ on PowerNet:


snmp and Node-RED



Glenn Lyons VK4PK
Ver:gnl2019mmdd - pre published v0.9