Explainer
What to verify before a Node-RED dashboard control example goes live
Short answer
Treat a vendor quick-start dashboard flow as a starting point only: import it, install only the node packages it references, map every monitoring and control endpoint to a confirmed signal, deploy where an unintended output cannot move equipment, and verify a known input follows before any authorized command.

On this page
A quick-start dashboard example hands you a working flow, not a commissioned system. It proves that I/O nodes and dashboard widgets can share one flow; it does not prove they can run your process. Four checks decide whether the example may go live: resolve every node type the flow references, map each monitoring and control endpoint to a confirmed signal, deploy where an unintended output cannot move anything, and watch a known input follow on screen before you send the first authorized command. Work them in that order and the example becomes a verified application; skip one and the missing piece is usually the one that moves a valve.
What a quick-start example actually gives you #
The example bundles two jobs in one flow: it presents process data on dashboard widgets, and it sends dashboard clicks back toward the I/O layer. That is the documented purpose, and it is the only thing a clean import proves. The flow carries no documented compatibility list — no controller firmware level, no node package versions — and it defines no interlocks, no fail-safe output states and no behavior for a lost dashboard link.
The pieces it is usually built from are documented separately. WAGO lists Node-RED as an engineering tool for its CC100, PFC200 and TP600 controllers, and its node set @wago/node-red-io-api addresses the I/O bus of WAGO Linux PFC controllers. A separate community project, node-red-contrib-kbus_deprecated, reads and writes analog, digital and temperature modules on the KBUS of Generation 2 PFC200 controllers and is published as a beta. Treat the imported flow as a structure to verify, not a specification to trust.
Resolve the missing node types before the flow runs #
When the flow lands in an editor whose palette lacks its node types, Node-RED reports the missing types and holds the flows that use them stopped. That list is the example's real dependency declaration — read it instead of guessing packages. If the flows stopped before you could open the editor at all, restart in safe mode, which loads the editor without executing the flows; the safe-mode and rollback procedure after a Node-RED crash from a node install shows what to expect on the way back.
Search the flows for each missing type and install only the package that provides it, through the palette manager or your offline workflow. Dashboard widgets live in their own package, so an empty UI after a deploy usually means the UI nodes themselves are missing — why a Node-RED dashboard says to add UI nodes after deploy covers that exact case. Once the flow runs, pin the installed package versions; installing vendor Node-RED nodes offline and pinning them keeps a later palette update from changing node behavior under a running flow.
Map every endpoint to a confirmed signal #
Build the mapping table before the first deploy against real I/O. One row per dashboard element, and nothing goes live without a row:
| Dashboard element | Confirmed signal | Type | Direction | Proof at the terminal |
|---|---|---|---|---|
| Run-status lamp (example) | digital input, slot 1, channel 3 | boolean | input | toggle the input at the terminal, lamp follows |
| Speed setpoint slider (example) | analog output, slot 2, channel 1 | 0–100 % mapped to 4–20 mA | output | loop meter reads the worked example below |
| Start/stop button (example) | digital output, slot 2, channel 2 | boolean | output | command with the actuator disconnected, meter the contact |
Those rows show the shape; your slots, channels and scaling come from the module list actually mounted behind the controller. For each monitoring element, confirm the channel, the data type and the engineering unit, including any scaling function sitting between the I/O node and the widget. For each control element, confirm the channel it drives, the states it may command, and what stands between the click and the coil. Commit to one rule: an element you cannot map to a named channel and type does not go live — delete it from the flow rather than leave it clickable.
Deploy where an unintended output cannot move anything #
Make the first deploy harmless by construction: actuators disconnected, drives in a commissioning state, or a simulator in place of the output, so a wrong command arrives nowhere that can move a valve or start a motor.
One safety note belongs here. A dashboard flow is general-purpose software: IEC 60204-1 requires that emergency stop and guarding interlocks remain effective independently of it, through hardwired means or validated safety software. The example defines no interlocks and no fail-safe states, and none may be inferred from the presence of a dashboard.
Keep the command path deliberate. Put monitoring and control on separate branches inside the flow, the way publish and control are kept separate in a Node-RED IO data MQTT setup, so a monitoring fault cannot inject a command. Define what every output does on flow restart and on dashboard link loss, and test both — do not accept whatever the last message left latched. Decide who may command, too: a default Node-RED install has authentication unconfigured, so the editor and dashboard stay open until you configure them, and what per-user login on a Node-RED dashboard really requires goes beyond a checkbox.
Verify monitoring, then control #
Verify in that order, because monitoring is how you will see whether control worked.
-
Drive one known physical input — toggle a spare digital input at the terminal — and confirm the dashboard value follows it with the right type and unit. A value that stays put or tracks the wrong channel means the mapping table is wrong; fix it before anything else.
-
Worked example, analog setpoint. Suppose the flow maps the slider's 0–100 % linearly onto an analog output scaled 4–20 mA; confirm that mapping inside the flow's scaling function before trusting it. At 60 % the expected loop current is 4 mA + (60/100) × 16 mA = 4 mA + 9.6 mA = 13.6 mA. With a meter in the loop at the terminal, 13.6 mA confirms both the scaling and the channel. A reading near 12.0 mA means the flow actually mapped 0–100 % onto 0–20 mA (60/100 × 20 mA = 12.0 mA) and dropped the 4 mA offset — fix the scaling before go-live.
-
Issue one authorized command per control element with the actuator still disconnected, then confirm at the terminal — meter the contact or the loop, not the dashboard's own echo. The echo proves a message left the widget; only the terminal proves the I/O acted.
-
Repeat each control check with the actuator connected, still under the no-load condition the deploy section set up.
The go-live decision #
- Missing node types still listed: the flow is not running. Install only the packages the flow references, pin the versions, and retest before anything else.
- An endpoint without a confirmed channel, type and scaling: not live. Map it or delete the element.
- Any safety role attached to the dashboard: not live on that machine. Move the function to hardwired or validated safety software.
- Known input verified on screen and every command verified at the terminal with outputs unable to act: cleared to go live, with the restart and link-loss states you defined and tested in place.
When the verified flow earns a permanent home, put it on hardware meant to sit in a panel and run continuously — an industrial mini PC or a dedicated controller — and leave the bench machine out of the control path.
Questions asked
How do I find the package a missing Node-RED node type needs?
Read the type name from the missing-node-type list, then search the Node-RED package library for that exact type rather than for the example's name. The library entry that lists the type among its nodes is the package to install. Install it, reload the editor, and re-check the list until no type is missing. Installing unrelated packages that merely sound relevant adds untested code to a flow that will command equipment.
Should I use the beta community KBUS package or the vendor node set?
Treat them as different tools. The documented WAGO node set @wago/node-red-io-api addresses the I/O bus of WAGO Linux PFC controllers, while node-red-contrib-kbus_deprecated is a beta community project that reads and writes analog, digital and temperature modules on the KBUS of Generation 2 PFC200 controllers. For a flow that will command equipment, prefer the vendor-documented node set for your controller and keep the beta package on the bench.
What happens to my outputs when the Node-RED flow restarts?
Node-RED sends no command just because a flow restarts; an output node acts only when a message reaches it, so the I/O typically holds whatever state the last message left. That held state is not automatically a safe state. Decide the intended state for every output on startup and on dashboard link loss, write that behavior into the flow explicitly, and prove it by restarting the flow and pulling the link during your terminal-metered tests.
Can I lock the dashboard to individual operators?
Only with authentication configured, because a default Node-RED install leaves the editor and the dashboard open to anyone who reaches the address. Role-based access for dashboards is a real project: the admin API, the editor and the UI each need their own decision about who gets in and what they may change, and middleware or an identity provider is often part of the answer on a plant network.
