Skip to content

Getting started

From your Node-RED user directory (usually ~/.node-red):

Terminal window
npm install @fgjcarlos/node-red-tessera

Restart Node-RED. A new tessera category appears in the palette.

In Node-RED open Menu → Import → Examples → @fgjcarlos/node-red-tessera → tessera-demo, deploy, and open http://localhost:1880/tessera. It simulates a small plant: live values, a chart, controls, a batches table, a production page (text, status, progress, dropdown, inputs and notifications) and a shift page (date range, bar and pie charts, an alarm list and a template) and a media & forms page (a pre-filled form, an image, a camera and an embedded page, all served by the flow itself, so it works offline).

Smaller examples, one per feature, are in the same menu: see Examples.

  1. Drag a stat node onto the workspace and open it.
  2. Next to Page, click the pencil to create a page. Inside it, create the app (title, theme, accent).
  3. Wire an inject node (repeat every second, payload $random() * 100 as JSONata) into the stat.
  4. Deploy and open http://localhost:1880/tessera.

The value updates live. Open the page in a second browser: both stay in sync.

Instead of configuring widgets one by one, open the visual builder: in the Node-RED editor, Tessera tab in the right sidebar → Edit layout. Drag widgets or a whole page template onto the page, arrange them, set their properties, then Apply: the new widgets appear as nodes in a Tessera UI flow, ready to wire.

Input widgets (button, switch, slider, dropdown, input, date / time, form, table row clicks, bar/pie clicks and alarm list acknowledgements) send a message when someone uses them:

{ "payload": true, "topic": "pump", "_client": { "id": "c3-lq0z1" } }

Wire them into your logic, and wire your logic back into any widget to display results.

Tessera’s nodes come in groups, one per category. In Node-RED open Menu → Manage palette → Nodes, find @fgjcarlos/node-red-tessera, and disable the groups you don’t use: their nodes leave the Node-RED palette and the builder’s palette.

Group Nodes
tessera (always on) base, page, notification, section
tessera-indicators stat, text, status, progress, gauge
tessera-charts chart, bar, pie
tessera-data table, alarm list
tessera-controls button, switch, slider
tessera-inputs dropdown, input, date / time, form
tessera-media image, camera, embed
tessera-advanced template

Turning a group off doesn’t make your dashboards smaller or faster: a browser only ever downloads the widgets its pages use. It just keeps the palette tidy.

  • Node-RED won’t disable a group while its nodes are in your flows (the button shows in use). Delete those nodes and deploy first.
  • Templates that need a disabled widget are hidden in the builder. The tessera-demo example uses every group.