When to use Node-RED instead of the native dashboard
The native iGromi OS dashboard covers most cases (time series, OEE, alarms). Node-RED comes in when you need custom logic: combining variables from different machines with your own formula, building a bespoke Andon screen, or integrating a third-party system with no native connector.
Step 1: Enable the Node-RED module
- In the iGromi OS portal, go to Edge Apps > Node-RED.
- Enable it on the Bridge or Edge Node where you want the flows to run (it runs as an isolated container, without affecting the rest of the system).
- Open the visual editor via the Open Editor button — it launches in a new tab.
Step 2: Connect the iGromi node
The module ships with its own nodes (igromi-in / igromi-out) already authenticated against the local Unified Namespace:
- Drag an
igromi-innode onto the canvas. - Pick the tag from the asset tree — no need to type MQTT topics by hand.
Step 3: Build the visual interface
- Install the
node-red-dashboardpalette from Menu > Manage palette. - Wire your
igromi-innode to agaugeorchartwidget. - Group the widgets into tabs by line or area.
- Deploy with the Deploy button.
- The dashboard is reachable at
http://[edge-ip]:1880/ui.
Step 4: Custom logic (example)
To compute your own indicator, for instance real-time energy cost:
- Add a
functionnode between the powerigromi-in(kW) and the electricity tariff. - Write the formula in JavaScript inside the node (e.g.
msg.payload = msg.payload * tariffPerKwh;). - Send the result to an
igromi-outnode to publish it back as a calculated tag, also available in the native dashboard.
Note: Anything you publish with
igromi-outlands in the Unified Namespace like any other tag — it can be used in alarms, reports or OEE without duplicating logic.