Node-RED logo The Node-RED Platform

  1. Node.js logo node.js
  2. npm logo npm
  3. Node-RED logo Node-RED
  4. Installation of Node-RED on Ubuntu 18.04 using snap
  5. Running node-red deamon on Ubuntu
  6. Node-Red Dashboard
  7. snmpb icon Installing "snmpb" on Ubuntu 18.04
  8. SNMP Command Line Tools On Ubuntu 18.04
  9. APC MIB's Downloads
  10. snmp and Node-RED
  11. SNMP References
  12. Node-Red and GPIO's
  13. Installing on Rpi4 Buster


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.

Installing npm:

Updating npm:


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

This is NOT the prefered method of installation unless using the snap installation method on a regular basis.




Running node-red deamon on Ubuntu


Node-Red Dashboard

How to Create a Basic Node-Red Dashboard:

Running Node-Red on a Raspberry Pi:


snmpb icon Installing "snmpb" on Ubuntu 18.04

SnmpB is an SNMP MIB browser written in QT. It supports SNMPv1, SNMPv2c & SNMPv3. SnmpB can browse/edit/load/add MIB files and can query SNMP agents. It also supports agent discovery, trap events, and graph plotting.
Load the snmpb sniffer:
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


SNMP References


Node-Red and GPIO's


Raspberry Pi GPIO:

Running Node-Red on the Raspberry Pi:

A Simple Relay Controller:

Expand Raspberry Pi GPIOs with I2C Port Expander:

A set of Node-RED nodes to interact with Pi GPIO using the RPi.GPIO python library that is part of Raspbian:

Control Raspberry Pi GPIO using node-RED:


Installing on Rpi4 Buster

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