The Node-RED Platform
Flow-based programming for the Internet of Things
The Node-RED website: https://nodered.org/
Installation of the Node-RED platform, on Ubuntu 18.04, requires three packages
be installed; node.js, npm, and Node-RED itself.
Also See: https://nodejs.org/en/about/
distribute code as well as to manage dependencies in your projects. It is written
PEAR for PHP, or CPAN for Perl.
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
How to Create a Basic Node-Red Dashboard:
Running Node-Red on a Raspberry Pi:
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:
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
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