Node-RED Flow Manager is a Home Assistant custom component that allows you to monitor and control your Node-RED flows directly from the Home Assistant dashboard. It discovers your flows automatically and creates a Switch entity for each one, allowing you to enable or disable complex automations with a single toggle.
-
Auto-Discovery: Automatically fetches all flows (tabs) from your Node-RED instance.
-
Real-time Control: Enable/Disable flows instantly via
switchentities. -
Flow Parameters: Display and edit flow environment variables directly from Home Assistant using
textandnumberentities. -
Debug Visibility: Monitor real-time debug node output for each flow via
sensorentities. -
Secure Connection: Supports username/password authentication and SSL/TLS.
-
Status Monitoring: See at a glance which automation flows are active.
-
Dynamic Updates: Integration polls Node-RED every 120 seconds to automatically discover new flows and environment variables.
-
Manual Refresh: Use the "Refresh Flows" button on the Node-RED Service device to instantly check for changes.
-
Configuration URL: Direct link to the flow in Node-RED from the Home Assistant Device page.
Manage your flow settings without opening the Node-RED editor.

- Home Assistant: Version 2023.1.0 or newer (recommended).
- Node-RED: Accessible via network (e.g., addon or separate container).
- If using Node-RED Addon in HA: Ensure the "credential_secret" is set if you want to use authentication, or simpler, use the internal URL
http://nodered.home:1880(hostname and port may vary).
- If using Node-RED Addon in HA: Ensure the "credential_secret" is set if you want to use authentication, or simpler, use the internal URL
Installing via Home Assistant Community Store (HACS) ensures you get automatic updates.
- Open HACS: Navigate to HACS from the Home Assistant sidebar.
- Add Custom Repository:
- Click the three dots (menu) in the top-right corner.
- Select Custom repositories.
- Repository URL:
https://github.com/VilniusTechnology/ha-node-red-flow-manager - Category: Select Integration.
- Click Add.
- Install:
- Search for Node-RED Flow Manager in the HACS integrations list.
- Click Download.
- Restart: Restart Home Assistant for the custom component to be loaded.
- Download: Download the
node-flow-managerzip or clone the repository. - Copy Files:
- Locate the
custom_componentsfolder in your Home Assistant configuration directory (usually/config/). - Copy the
custom_components/node_red_flow_managerfolder from this project into your HAcustom_componentsfolder. - Directory structure should look like:
/config/custom_components/node_red_flow_manager/__init__.py /config/custom_components/node_red_flow_manager/manifest.json ...
- Locate the
- Restart: Restart Home Assistant.
Once installed, you need to add the integration to Home Assistant.
- Navigate to Settings > Devices & Services.
- Click the + ADD INTEGRATION button in the bottom right.
- Search for Node-RED Flow Manager.
- Fill in the connection details:
| Field | Description | Example |
|---|---|---|
| Host | The hostname or IP address of your Node-RED instance. | 192.168.1.100 or localhost or nodered.home depending on your setup. |
| Port | The port Node-RED is listening on. | 1880 (default) |
| Username | (Optional) Username if adminAuth is enabled in Node-RED. |
admin |
| Password | (Optional) Password for the above user. | password123 |
| Verify SSL | Check this if using HTTPS with a valid certificate. | Unchecked (default) |
| Public URL | (Optional) External URL to link to Node-RED from HA. | http://nodered.home |
- Click Submit. If the connection is successful, you will be prompted to assign the device to an area.
- To change these settings later (e.g. update Public URL), go to the integration card and click Configure.
- Navigate to Settings > Devices & Services.
- Click on Devices within the Node-RED Flow Manager integration card.
- Each Flow (Tab) in Node-RED appears as its own Device.
- Click on a Flow Device to see all its controls (Switch, Params, Debug) and a link to open it in Node-RED.
- The Node-RED Service device contains the Refresh Flows button.
- Turn Off: Disabling the switch will set the underlying Node-RED flow to
disabled: true. The flow will stop processing messages immediately. - Turn On: Enabling the switch sets
disabled: false. The flow resumes operation.
- Each environment variable in a Node-RED flow is automatically exposed as a Text or Number entity.
- Changing these values in Home Assistant updates the Node-RED flow configuration safely (without losing other settings).
- A Debug Sensor is created for each flow.
- The sensor state shows the latest debug message.
- The
historyattribute contains the last 20 debug messages with timestamps and node IDs.
To manually force an update of the flows (e.g., after adding a new flow in Node-RED):
- Navigate to Settings > Devices & Services.
- Select the Node-RED Flow Manager integration.
- Click on the Node-RED Service device.
- Press the Refresh Flows button.
You can now use these switches in Home Assistant automations!
Example: Disable "Holiday Mode" flow when you arrive home.
automation:
- alias: "Disable Holiday Automations"
trigger:
- platform: state
entity_id: group.family
to: "home"
action:
- service: switch.turn_off
target:
entity_id: switch.holiday_lights_flowTo remove the integration:
- Remove Integration Entry:
- Go to Settings > Devices & Services.
- Find Node-RED Flow Manager.
- Click the three dots on the integration card and select Delete.
- Remove Component Files:
- If installed via HACS:
- Open HACS > Integrations.
- Find Node-RED Flow Manager.
- Click the three dots and select Remove.
- If installed manually:
- Delete the
custom_components/node_red_flow_managerdirectory from your configuration folder.
- Delete the
- If installed via HACS:
- Restart: Restart Home Assistant.
If you find this integration useful and want to support its development:
- "Failed to connect": Ensure the Host/IP is reachable from the Home Assistant container. If running Node-RED as an addon, try using the container name (e.g.,
a0d7b954-nodered). - Authentication Error: Verify your Node-RED
settings.jsadminAuthconfiguration. - Entities not showing: Only "Tabs" are created as switches. Sub-flows or individual nodes are not currently supported.
