Compared

n8n vs Node-RED: Which Automation Engine Belongs in a Homelab?

Both tools draw boxes and arrows, both call themselves automation, and comparison threads treat them as rivals. They are barely competitors: one grew up inside the smart home, the other inside the SaaS stack. The deciding facts are a license clause and the direction of an integration.

Published Nov 25, 2026

The short answer

Pick Node-RED if your automations live inside Home Assistant's world — it is free in the fullest sense (Apache 2.0), feather-light, and its Home Assistant integration runs in both directions. Pick n8n if your automations reach outside the house — SaaS apps, webhooks, AI steps, business workflows — and accept its fair-code license: self-hosting the Community edition is free, but it is not open source in the OSI sense, and building a paid product on top of it is prohibited. They overlap less than their comparison threads suggest: one is a smart-home automation engine, the other is a workflow platform that can also talk to your house.

The Home Assistant connection

Node-RED's HA integration is genuinely bidirectional. The WebSocket nodes let flows react to state changes and call services — and the Companion integration goes the other way, creating Home Assistant entities from Node-RED: sensors, switches, and buttons that live in HA but are driven by your flows. That second direction is the one people miss, and it makes Node-RED feel less like a sidecar and more like an extension of HA itself. n8n connects to Home Assistant through its API and webhooks — perfectly workable for triggering and reacting, but it is a client of HA, not a resident.

Licensing: the difference that actually matters

Node-REDn8n
LicenseApache 2.0 — OSI open sourceSustainable Use License ("fair-code") — not OSI open source
Self-host costFreeFree (Community edition)
RestrictionsNone materialNo white-labeling; no charging others for access to it
Cloud pricing modeln/a (FlowFuse is a separate commercial layer)Per execution — Starter at $20 for 2,500 executions (checked Nov 2026)
Current version5.0.10 (Nov 17, 2026)2.49.x stable line (late Nov 2026); a 3.x line is in pre-release

The n8n license is the single most misreported fact in this comparison. "Free and open source" is half right: the source is available and self-hosting is free, but the Sustainable Use License reserves commercial rights — you may not rebrand it or sell access to it. For a homelab that distinction is academic. For anyone dreaming of a side business built on workflows, it is the whole ballgame, and Node-RED's Apache 2.0 has no such fence.

Feel and fit

Node-RED flows are wires and function nodes — closer to the metal, happier with JavaScript snippets, and light enough to run beside anything (it is a Node.js app content with a few hundred megabytes). Its community depth in the smart-home world is unmatched: if a weird device can be automated, someone has published the flow. n8n's canvas is the modern SaaS aesthetic — hundreds of polished service integrations, credentials managed as first-class objects, executions you can inspect and replay, and AI/agent steps as native building blocks. Its per-execution cloud pricing tells you who it is for: workflows that are worth fractions of a cent each, in volume.

The practical homelab verdict: run Node-RED for the house (it is probably already one app install away in your HA add-on store), and reach for n8n when a workflow's center of gravity is outside the house — the spreadsheet, the CRM, the inbox, the AI summary. Running both is not indecision; it is the natural border between the two tools.

Official documentation and references

Frequently asked questions

Is n8n open source?

Not in the OSI sense. n8n is "fair-code" under its Sustainable Use License: source-available, free to self-host (Community edition), but white-labeling and charging others for access are prohibited. Node-RED is Apache 2.0 — fully open source with no comparable restriction.

Which is better with Home Assistant?

Node-RED, and it is not close: its WebSocket nodes plus the Companion integration make it bidirectional — flows react to HA, and Node-RED can create entities inside HA. n8n talks to Home Assistant through its API and webhooks as an external client.

How much does n8n cost self-hosted?

The Community edition is free to self-host. n8n Cloud is priced per execution — Starter was $20 for 2,500 executions when checked in November 2026. Self-hosting removes the meter, not the license terms.

Can I run both n8n and Node-RED?

Yes, and many homelabs do: Node-RED for device-and-house automation where its HA integration shines, n8n for workflows centered on outside services, webhooks, and AI steps. They solve adjacent problems.

Related guides