I had an external Node-RED setup that I was looking forward to migrating into Home Assistant, only to discover several limitations in the Node-RED community add-on that made this nearly impossible. Consequently I created a new add-on to avoid these limitations and make some further improvements, and I offer it here.
Node-RED Plus
Currently providing Node-RED v4.1.0, this add-on has the following improvements over the existing Node-RED add-on:
Works with FlowFuse Dashboard (aka Dashboard 2.0) out-of-the-box, replacing the deprecated Node-RED dashboard. The latter can still be installed separately if needed. Dashboard 2.0 elements such as UI LED and UI iframe that don’t work properly with the community add-on do work with this add-on.
The /endpoint path prefix (httpNodeRoot) is now customizable, and is eliminated by default. This means your dashboard is accessible from e.g. /dashboard or /ui instead of /endpoint/ui.
The Node-RED projects feature can now be enabled directly from within the add-on’s configuration.
The direct access port now supports IPv6 as well as IPv4.
English translations have been added to the configuration options for friendliness and convenience.
The add-on otherwise works much the same as the existing add-on. Several internal bits have also been improved and optimized to support the above changes.
Installation
To install, first add the MARS add-on repository to your Home Assistant:
Please let me know if you encounter any difficulty installing or using the add-on, or if you would like to provide additional translations for the configuration options.
This add-on is now synchronized with the latest version of the upstream add-on (20.2.1). In addition, the add-on is now installed from pre-built images so there should never be any further problems like were encountered above, and both installation and updates are now much quicker.
The latest version of the Node-RED Plus add-on now has these additional features:
Node-RED v4.1.3
FlowFuse Dashboard v1.30.2
Default contextStorage supports both transient (memory) and persistent (filesystem) context storage. Persistent context storage options can be configured directly in the add-on configuration. Persistent context storage will be backed up automatically with the add-on.
Node-RED telemetry is now disabled by default, and can be enabled in the add-on configuration.
Static files are served from /config/static by default.