Reusing Logic in Node‑RED with Subflows
Learn how Node‑RED subflows let you encapsulate repeated MQTT‑function‑SMTP patterns into a reusable unit, with a worked temperature‑alert example and notes on debugging and versioning.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Learn how Node‑RED subflows let you encapsulate repeated MQTT‑function‑SMTP patterns into a reusable unit, with a worked temperature‑alert example and notes on debugging and versioning.
Learn how to use the localfilesystem context store in Node-RED to ensure your flow and global variables survive restarts and deploys.
A practical function-node pattern for Node-RED that validates MQTT payloads defensively, normalizes output, reports health via node status, and persists state across restarts — plus the event-loop limits you need to respect.
Learn how Node‑RED subflows let you package reusable node groups, expose ports, and keep every instance in sync—cutting maintenance overhead in IoT flows.
Node-RED flows fail silently due to unmet dependencies or misconfigured credentials. Follow this diagnostic guide to identify and resolve common issues.
Node‑RED subflows let you bundle nodes into reusable components, exposing only the ports you need. This guide walks through creating a simple "add‑ten" subflow, shows JSON export, and covers limits and common pitfalls.
Learn how to diagnose and fix the loss of global and flow variables in Node-RED after a restart by configuring local filesystem context storage.
When a Node-RED flow uses the core split node to consume a large dataset returned by an external API, the runtime forwards each array element as fast as the Node.js event loop permits. There is no built-in back-pressure or bounded queue, so if a downstream HTTP request or database write is slower than the source, in-flight messages accumulate in memory. Pagi