npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@jsgorana/node-red-dashboard-2-scada

v1.0.0

Published

HP-HMI / ISA-101 SCADA widget kit for Node-RED Dashboard 2.0 — SVG mimic/synoptic displays, equipment faceplates with RBAC, declarative tag bindings, and a built-in symbol library

Downloads

312

Readme

@jsgorana/node-red-dashboard-2-scada

HP-HMI / SCADA widget kit for Node-RED Dashboard 2.0 — SVG synoptic/mimic displays and equipment faceplates, driven by declarative tag bindings. ISA-101 styled, with a built-in symbol library.

License Node-RED Dashboard 2.0

One package, two Dashboard 2.0 nodes:

| Node | What it does | |------|--------------| | ui-scada-mimic | Render a process SVG and animate it from tag values — fill levels, colors, text, visibility, rotation — with no per-screen JavaScript. | | ui-scada-faceplate | Equipment faceplate (motor / valve / PID) with alarm state display, setpoint entry, write-confirmation, interlock checks, and server-side RBAC + audit. |

A library of ISA-101 / HP-HMI SVG symbols (pump, motor, valves, tank, conveyor, breaker, bargraph, multistate indicator, mini-trend, pipe) is bundled in.

SCADA mimic widget rendering a tank and pump in Node-RED Dashboard 2.0

The kit is protocol-agnostic — it consumes a normalized tag map from any upstream node (OPC UA, Modbus, MQTT, Sparkplug, …) and bundles no drivers.

Install

npm install @jsgorana/node-red-dashboard-2-scada

Or via Menu → Manage palette → Install and search for the package name. Requires Node-RED >=4.0, Node.js >=22, and @flowfuse/node-red-dashboard >=1.0 (Dashboard 2.0). Both nodes appear in the palette under the dashboard 2 group alongside the stock widgets.

Quick start

Import a bundled example — Menu → Import → Examples → @jsgorana/node-red-dashboard-2-scadamimic-tank-pump or faceplate-pid-rbac — and deploy.

A minimal mimic binding set:

{
  "bindings": [
    { "selector": "#TK01_fill", "source": "TK01.level",
      "target": { "type": "level", "axis": "y", "max": 152 },
      "transform": { "default": "0", "quality": { "onBad": "0" } } },
    { "selector": "#P101_body", "source": "P101.run",
      "target": { "type": "style", "name": "fill" },
      "transform": { "valueMap": { "true": "#5c85d6", "false": "#9e9e9e" }, "default": "#bdbdbd" } }
  ]
}

Feed the node a tag map:

msg.payload = { "TK01.level": 76.1, "P101.run": true };
return msg;

Faceplate writes & RBAC

The faceplate gates operator writes: a client-side confirmation, then server-side authorization (browser-asserted roles are never trusted). Output 1 is the allowed write/state; output 2 is the audit stream (emitted for both allowed and denied writes). The server gate enforces roles, engineering limits, optional setpoint rate limits, interlock blocking, and separate alarm action roles for acknowledge, shelve, and out-of-service.

PID faceplate with setpoint entry and Write SP / Auto / Manual controls

Symbol library

The bundled HP-HMI symbols are accessible programmatically:

const { catalog, getSymbol } = require('@jsgorana/node-red-dashboard-2-scada/symbols');

Each symbol has documented, bindable element ids (status text, value text, level, alarm shape/text). See the symbol catalog.

Documentation

License

Apache-2.0 © 2026 jsgorana. See NOTICE for acknowledgements.