Skip to main content
Build with NR Connect2 min read

Add a profile widget

Show the signed-in user and notification controls in your dashboard.

On this page

Add and verify a profile widget

  1. Connect your instance and install FlowFuse Dashboard 2.0.
  2. Add an nrc profile (ui-nr-connect-profile) node. Choose app-bar placement or assign it to a dashboard group.
  3. Deploy, then open the dashboard through your NR Connect address while signed in.
  4. Confirm your identity appears. Local access is expected when browsing directly over the LAN.

Profile & push widget (ui-nr-connect-profile)

The ui-nr-connect-profile node (found in the dashboard 2 palette category as nrc profile) displays the signed-in NR Connect user (name, email, role badge, and avatar with initials fallback), an integrated Push Notifications toggle, and a Sign out button inside FlowFuse Dashboard 2.0.

Scroll sideways to view all columns.

PlacementBehavior
App bar (top-right)Renders a compact avatar button in Dashboard 2.0's #app-bar-actions slot that opens a profile & push menu on every page. Requires the dashboard title bar to be visible.
In groupRenders a clean profile card with the push notifications toggle directly inside a Dashboard 2.0 group alongside your other widgets.
  • Customize visible controls in the node settings: toggle Show email, Show role, Show sign-out button, Include push notifications switch (plus custom label and status helper text), and Automatically sync existing browser push subscription to re-register already-granted browsers on load.
  • Signed-in users can opt in or out of browser push notifications on their phone or desktop directly from the profile menu or card.
  • Emits status events (push, push_subscribed, push_unsubscribed) on its output port, so you can log opt-ins or react to foreground alerts in Node-RED.
  • Clicking Sign out automatically unregisters the current browser's push subscription before clearing the session.

Local / LAN preview behavior

When opened directly on your LAN without going through .nr-connect.com, the widget renders a neutral Local access state and hides the push switch and Sign out button.