
What is this?
Node-RED is a visual programming tool where you connect “nodes” by drawing lines between them to build automation flows. You don’t need to write code — you drag, drop, and wire together inputs (like an MQTT sensor reading), processing (like a threshold check), and outputs (like sending an alert or writing to a database).
It runs in a web browser, so any device on the network can be used to build and edit flows. The flows run on the edge device itself, without needing a cloud connection.
Note: This catalog ships the base Node-RED image only. Community-contributed nodes vary in license and quality — evaluate before installing additional nodes in production.
Example: how a factory uses it
A process engineer needs to send an email alert when a boiler’s pressure sensor exceeds 4.5 bar. Instead of writing Python scripts and configuring cron jobs, they open Node-RED in their browser, drag in an MQTT-input node (subscribed to boiler/pressure), connect it to a switch node (threshold > 4.5), and wire that to an email node. The whole flow takes five minutes to build — and they can see the live data flowing through each node in real time.
Network Topology
graph LR
subgraph Inputs
MQTT_IN[MQTT Broker
sensors/#]
MODBUS[Modbus TCP
PLC registers]
end
subgraph Edge Gateway
NR[Node-RED
:1880 Editor + Dashboard]
end
subgraph Outputs
MQTT_OUT[MQTT Broker
actuators/#]
GRAFANA[Grafana
:4318 OTLP]
DASH[Dashboard
:1880/ui]
end
MQTT_IN -->|subscribe| NR
MODBUS -->|poll| NR
NR -->|publish| MQTT_OUT
NR -->|traces + metrics| GRAFANA
NR -->|live UI| DASH
Import this app
Paste this into your Margo manager to import the app:
public.ecr.aws/g2n4p2m7/belden-margo:1.1.1_nodered-margo-manifest
Run: oras pull public.ecr.aws/g2n4p2m7/belden-margo:1.1.1_nodered-margo-manifest
Made by
Technical details
Deployment Profiles
- PROPOSED — quadlet (WG-PROPOSAL-02)
Systemd-native deployment using Podman Quadlet unit files. Designed for edge devices and single-machine environments with systemd. Supports amd64 and arm64 including Raspberry Pi.
Application Description (margo.yaml)
apiVersion: margo.org/v1alpha1
kind: ApplicationDescription
id: com-belden-nodered
metadata:
name: "Node-RED"
version: 1.1.0+nodered-margo-manifest
description: "Flow-based programming tool for wiring together hardware devices, APIs, and online services in IoT and automation workflows"
catalog:
application:
tagline: "Low-code flow programming for IoT and automation"
tags:
- "iot"
- "industrial"
- "mqtt"
- "monitoring"
- "sensors"
- "edge-computing"
organization:
- name: "Belden Inc."
site: "https://www.belden.com"
deploymentProfiles:
- id: "quadlet-v1"
type: "quadlet"
description: "Systemd-native deployment using Podman Quadlet unit files.
Designed for edge devices and single-machine environments with systemd.
Supports amd64 and arm64 including Raspberry Pi."
requiredResources:
cpu:
cores: 0.1
architectures:
- amd64
- arm64
memory: "256Mi"
storage: "1Gi"
interfaces:
- type: ethernet
components:
- name: "nodered-quadlet"
properties:
repository: oci://public.ecr.aws/g2n4p2m7/belden-margo
revision: 1.1.0_nodered-quadlet
wait: true
timeout: "5m0s"
parameters:
# ---------------------------------------------------------------------------
# MQTT
# ---------------------------------------------------------------------------
mqttBroker:
value: "192.168.1.203"
targets:
- pointer: "MQTT_BROKER"
components:
- nodered-quadlet
mqttPort:
value: 31883
targets:
- pointer: "MQTT_PORT"
components:
- nodered-quadlet
mqttTopic:
value: "sensors/vl53l0x/#"
targets:
- pointer: "MQTT_TOPIC"
components:
- nodered-quadlet
# ---------------------------------------------------------------------------
# Dashboard
# ---------------------------------------------------------------------------
dashboardPort:
value: 3000
targets:
- pointer: "DASHBOARD_PORT"
components:
- nodered-quadlet
logLevel:
value: "info"
targets:
- pointer: "LOG_LEVEL"
components:
- nodered-quadlet
historySize:
value: 1000
targets:
- pointer: "HISTORY_SIZE"
components:
- nodered-quadlet
# ---------------------------------------------------------------------------
# Virtual Sensors
# ---------------------------------------------------------------------------
virtualSensorsEnabled:
value: true
targets:
- pointer: "VIRTUAL_SENSORS_ENABLED"
components:
- nodered-quadlet
virtualSensorsCount:
value: 4
targets:
- pointer: "VIRTUAL_SENSORS_COUNT"
components:
- nodered-quadlet
virtualSensorsRateHz:
value: 10
targets:
- pointer: "VIRTUAL_SENSORS_RATE_HZ"
components:
- nodered-quadlet
# ---------------------------------------------------------------------------
# Sensor Daemon
# ---------------------------------------------------------------------------
sensorDaemonMode:
value: "synthetic"
targets:
- pointer: "SENSOR_DAEMON_MODE"
components:
- nodered-quadlet
sensorDaemonSensorName:
value: "sensor-0"
targets:
- pointer: "SENSOR_DAEMON_SYNTHETIC_SENSOR_NAME"
components:
- nodered-quadlet
# ---------------------------------------------------------------------------
# OpenTelemetry
# ---------------------------------------------------------------------------
otelEnabled:
value: false
targets:
- pointer: "OTEL_ENABLED"
components:
- nodered-quadlet
otelEndpoint:
value: "http://grafana:4318"
targets:
- pointer: "OTEL_EXPORTER_OTLP_ENDPOINT"
components:
- nodered-quadlet
otelServiceName:
value: "nodered"
targets:
- pointer: "OTEL_SERVICE_NAME"
components:
- nodered-quadlet
otelServiceVersion:
value: "1.0.0"
targets:
- pointer: "OTEL_SERVICE_VERSION"
components:
- nodered-quadlet
otelDeploymentEnvironment:
value: "edge"
targets:
- pointer: "OTEL_DEPLOYMENT_ENVIRONMENT"
components:
- nodered-quadlet
otelDeviceId:
value: ""
targets:
- pointer: "OTEL_DEVICE_ID"
components:
- nodered-quadlet
otelLogLevel:
value: "WARN"
targets:
- pointer: "OTEL_LOG_LEVEL"
components:
- nodered-quadlet
otelExporterHeaders:
value: ""
targets:
- pointer: "OTEL_EXPORTER_OTLP_HEADERS"
components:
- nodered-quadlet
configuration:
sections:
- name: "MQTT"
settings:
- parameter: mqttBroker
name: "Broker"
immutable: false
schema: mqttBrokerSchema
- parameter: mqttPort
name: "Port"
immutable: false
schema: mqttPortSchema
- parameter: mqttTopic
name: "Topic Pattern"
immutable: false
schema: mqttTopicSchema
- name: "Dashboard"
settings:
- parameter: dashboardPort
name: "HTTP Port"
immutable: false
schema: dashboardPortSchema
- parameter: logLevel
name: "Log Level"
immutable: false
schema: logLevelSchema
- parameter: historySize
name: "History Buffer Size"
immutable: false
schema: historySizeSchema
- name: "Virtual Sensors"
settings:
- parameter: virtualSensorsEnabled
name: "Enable Virtual Sensors"
immutable: false
schema: virtualSensorsEnabledSchema
- parameter: virtualSensorsCount
name: "Sensor Count"
immutable: false
schema: virtualSensorsCountSchema
- parameter: virtualSensorsRateHz
name: "Update Rate (Hz)"
immutable: false
schema: virtualSensorsRateHzSchema
- name: "Sensor Daemon"
settings:
- parameter: sensorDaemonMode
name: "Mode"
immutable: false
schema: sensorDaemonModeSchema
- parameter: sensorDaemonSensorName
name: "Sensor Name"
immutable: false
schema: sensorDaemonSensorNameSchema
- name: "OpenTelemetry"
settings:
- parameter: otelEnabled
name: "Enable"
immutable: false
schema: otelEnabledSchema
- parameter: otelEndpoint
name: "OTLP Endpoint"
immutable: false
schema: otelEndpointSchema
- parameter: otelServiceName
name: "Service Name"
immutable: false
schema: otelServiceNameSchema
- parameter: otelServiceVersion
name: "Service Version"
immutable: false
schema: otelServiceVersionSchema
- parameter: otelDeploymentEnvironment
name: "Deployment Environment"
immutable: false
schema: otelDeploymentEnvironmentSchema
- parameter: otelDeviceId
name: "Device ID"
immutable: false
schema: otelDeviceIdSchema
- parameter: otelLogLevel
name: "SDK Log Level"
immutable: false
schema: otelLogLevelSchema
- parameter: otelExporterHeaders
name: "Exporter Headers"
immutable: false
schema: otelExporterHeadersSchema
schema:
- name: mqttBrokerSchema
dataType: string
allowEmpty: false
- name: mqttPortSchema
dataType: integer
minValue: 1
maxValue: 65535
allowEmpty: false
- name: mqttTopicSchema
dataType: string
allowEmpty: false
- name: dashboardPortSchema
dataType: integer
minValue: 1
maxValue: 65535
allowEmpty: false
- name: logLevelSchema
dataType: string
allowEmpty: false
options:
- error
- warn
- info
- debug
- name: historySizeSchema
dataType: integer
minValue: 10
allowEmpty: false
- name: virtualSensorsEnabledSchema
dataType: boolean
allowEmpty: false
- name: virtualSensorsCountSchema
dataType: integer
minValue: 1
maxValue: 20
allowEmpty: false
- name: virtualSensorsRateHzSchema
dataType: integer
minValue: 1
maxValue: 50
allowEmpty: false
- name: sensorDaemonModeSchema
dataType: string
allowEmpty: false
options:
- synthetic
- gpio
- name: sensorDaemonSensorNameSchema
dataType: string
allowEmpty: false
maxLength: 64
- name: otelEnabledSchema
dataType: boolean
allowEmpty: false
- name: otelEndpointSchema
dataType: string
allowEmpty: true
- name: otelServiceNameSchema
dataType: string
allowEmpty: true
- name: otelServiceVersionSchema
dataType: string
allowEmpty: true
- name: otelDeploymentEnvironmentSchema
dataType: string
allowEmpty: true
- name: otelDeviceIdSchema
dataType: string
allowEmpty: true
- name: otelLogLevelSchema
dataType: string
allowEmpty: false
options:
- ERROR
- WARN
- INFO
- DEBUG
- name: otelExporterHeadersSchema
dataType: string
allowEmpty: truePodman Quadlet Units
PROPOSED — quadlet (WG-PROPOSAL-02)nodered.container
[Container]
Image=docker.io/nodered/node-red:5.0.0-debian
PublishPort=1880:1880
Volume=nodered-data.volume:/data
Volume=${QUADLET_DIR}/settings.js:/data/settings.js:ro,z
[Service]
Restart=always
Environment=QUADLET_DIR=%E/containers/systemd
[Install]
WantedBy=default.target
nodered-data.volume
[Volume]
Container Images
| Image Reference |
|---|
docker.io/nodered/node-red:5.0.0-debian |
License
Apache-2.0