Multi-user Dashboards with Node-RED Dashboard 2.0

I am a farily new chap here, and was going through the documentation and also checked this article out:

So far I only installed the @flowfuse/node-red-dashboard but I don't see how I could access the FlowFuse dashboard mentioned in step 1, or install the User Addon as mentioned in step 2. Is this not available in a self hosted option?

Hi @nygma2004 - we have a few details here, there are in fact three products/libraries in play:

  • Node-RED: The drag and drop editor, can be installed and run locally (or anywhere you like for that matter) via npm, docker or a Cloud provider.
  • FlowFuse: Platform to help you manage multiple Node-RED instances, remotely and cloud-hosted. FlowFuse also can be installed locally, or via docker, kubernetes, or you can just sign up and use it on FlowFuse Cloud (one of the Cloud Providers for Node-RED).
  • Node-RED Dashboard 2.0: Open source package, primarily developed by FlowFuse, that adds in a collection of UI and Chart nodes to Node-RED for building custom UI. Does not require FlowFuse at all, can just be used with core Node-RED.

Forgive me is some that was already known, just wanted to make sure clarity was provided in the three components being used!

So, Step 1, the FlowFuse UI is available when using FlowFuse to run your Node-RED instances, but would not be available if just using Node-RED standalone.

The User Addon currently isn't available in self-hosted FlowFuse, but @Marian is working on some details here and may be able to provide some more information.

1 Like

Thanks a lot for the lengthly explanation. I assumed it is somehow related to FlowFuse.
My setup is self-hosted, so probably will wait for future details if this would be available at all.

Are you running/managing Node-RED through a self-hosted FlowFuse, or just running Node-RED directly?

I am running Node-Red directly. I installed it manually on my server and that's it. Since Dashboard 2.0 came out, I added the custom set of nodes to Node-Red and that's where I am right now. I just starting to understand how FlowFuse and Dashboard 2.0 is related to each other.

Is it intended that, eventually, the dashboard will support multiple users independently of FlowFuse?

Got you, so FlowFuse is a standalone platform that can help you run/manage Node-RED Instances, and provides the options you saw in Step 1.

Node-RED Dashboard 2.0 is a separate package from the FlowFuse product (we, FlowFuse, the company, just happen to be the maintainers of it on GitHub), hence the @flowfuse/ leading text in the package name.

The only feature in Node-RED Dashboard 2.0 that is exclusive to instances of Node-RED running on FlowFuse (the platform) is the msg._client.user data being appended to all messages (as it uses the user object that FlowFuse provides with it's own authentication).

Out of the box, you can add authentication to Node-RED yourself: Securing Node-RED : Node-RED, but any user objects, etc. aren't then by default include dby default within Dashboard events.

Thanks. I can see there is a Free tier from FlowFuse in the self hosted version, so I can install and play around with it. Can "import" and existing installation to FlowFuse? I have loads implemented in my current instance already, I don't want to mess it up.

Hi @nygma2004, the Personalized Multi-User Dashboard plugin, @flowfuse/node-red-dashboard-2-user-addon, is available in our FlowFuse Certified Nodes catalog, accessible to our Teams and Enterprise customers. This is also available for our Self-Hosted customers who wish to use the Personalized Multi-User Dashboard; therefore, we provide all necessary configurations upon request to get started.

For importing to FlowFuse, I would recommend our Tools Plugin for migrations, available at Node-RED Tools plugin • FlowFuse Docs. The Node-RED Tools Plugin is a module that you can install into any Node-RED instance running outside of FlowFuse. The current version of the plugin allows you to create a new Instance Snapshot using the flows you have locally and push them into an instance on FlowFuse.

At present, there are no plans to offer access to the Personalized Multi-User Dashboard plugin outside of FlowFuse. However, devices (Node-RED remote instances managed by FlowFuse) are supported. If you have a specific case you would like to discuss, here is my meeting link, and I would be more than happy to talk about your case. Meeting Link

I don't personally have a requirement, but this is one of the features most often asked about here on the forum. Hence my interest.

I guess most requiring this will be commercial users so perhaps FlowFuse is an appropriate route for them.

1 Like

I've been wondering if the multi-user feature will still work if a device goes offline. Or in other words, I assume that it would still work even if there is no permanent connection to the flow-fuse service / server?

1 Like