Getting started
Install
Section titled “Install”From your Node-RED user directory (usually ~/.node-red):
npm install @fgjcarlos/node-red-tesseraRestart Node-RED. A new tessera category appears in the palette.
Try the demo
Section titled “Try the demo”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.
Your first dashboard
Section titled “Your first dashboard”- Drag a stat node onto the workspace and open it.
- Next to Page, click the pencil to create a page. Inside it, create the app (title, theme, accent).
- Wire an inject node (repeat every second, payload
$random() * 100as JSONata) into the stat. - Deploy and open http://localhost:1880/tessera.
The value updates live. Open the page in a second browser: both stay in sync.
Build visually
Section titled “Build visually”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.
Add controls
Section titled “Add controls”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.
Choose what’s in your palette
Section titled “Choose what’s in your palette”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.
Next steps
Section titled “Next steps”- Messages: the full
msg.payload/msg.uicontract. - Layout: sizing widgets on the grid (12 columns by default).
- Examples: importable flows, one per feature.
- Components: every widget with live examples.
- Choose what’s in your palette: disable the groups of nodes you don’t use.