Skip to content

Examples

Tessera ships importable flows, each one small and self-explaining: a comment node on its tab says what it shows and how to try it, and the data is simulated with inject and function nodes, so they run offline.

In the Node-RED editor open Menu → Import → Examples → @fgjcarlos/node-red-tessera. The examples are in folders named as in the sections below; pick one, Import, Deploy, and open the page it names (the URL is in its comment and in this page).

If the Examples entry is missing, the package is not installed in that Node-RED: see Getting started.

Any combination works side by side. Node-RED runs one dashboard (at /tessera), so each example adds its pages to the top bar of the same dashboard instead of making its own: ids, page paths and tag names are unique across the examples, and an automatic test checks it. Import each example once.

A few examples are about a dashboard setting (the theme, the navigation, the grid). They change it on their dashboard node and say so in their comment: when you import one of them, the setting applies to every page.

In the editor menu they are in the folder 01 Getting started.

One page: an inject every second drives a simulated temperature into a stat and a chart; a slider sets the setpoint the simulation follows and a button resets it. The comments on the flow explain each wire.

Page: /tessera/#/start.

The Getting started example on its page in the dark theme

The three things every widget understands. A slider’s msg.payload sets a stat; a button sends msg.ui to rename it; Last output shows what a widget sends, as JSON. Open the page in two browser tabs: Reply to me answers only the tab that clicked (the message keeps its _client), Tell everyone answers both. See Messages.

Page: /tessera/#/message-contract.

The Message contract example on its page in the dark theme

In the editor menu they are in the folder 02 Widgets.

A stat with warn and alarm limits, gauge zones, bar and tank progress, text with format, Markdown and colour by state, and status as LED, pill or tile, fed by a simulated plant.

Page: /tessera/#/w-indicators.

The Indicators example on its page in the dark theme

A live two-series line chart with a 2-minute backfill and gaps, grouped and stacked-horizontal bars, a donut and a pie. Click a bar or a slice to send it.

Page: /tessera/#/w-charts.

The Charts example on its page in the dark theme

A table in replace mode (row click), append mode (a live log) and automatic-column mode, and the alarm list with raise, clear, acknowledge, reset and history.

Page: /tessera/#/w-data.

The Data example on its page in the dark theme

Buttons in every variant and size with confirmation, loading state and JSON, timestamp or boolean payloads; switches and sliders with and without passthru, driven from the flow.

Page: /tessera/#/w-controls.

The Controls example on its page in the dark theme

A searchable typed dropdown with msg.options, number, pattern and password inputs, four date/time modes, a five-field form, lock and unlock, and pre-fill.

Page: /tessera/#/w-inputs.

The Inputs and forms example on its page in the dark theme

A snapshot image reloading every 3 s, an image as a Buffer, a simulated MJPEG camera with on/off, and an embed of a report that follows the theme. The flow serves all of it, so it works offline.

Page: /tessera/#/w-media.

The Media example on its page in the dark theme

The template widget: an HTML tank SVG with style and script, a Svelte 5 component, and a frameless card changed by msg.ui. A Drain and a Send setpoint button make the round trip.

Page: /tessera/#/w-advanced.

The Template widget example on its page in the dark theme

In the editor menu they are in the folder 03 Layout and design.

Every layout but screen, one page each (the picture is Sidebar left), the regions setting and icons. The pages are listed in the top bar.

Page: /tessera/#/l-layout-grid.

The Page layouts example on its page in the dark theme

Free placement with col and row, a tinted section, and msg.ui changing a section’s title and fill.

Page: /tessera/#/l-placement.

The Free placement and sections example on its page in the dark theme

Pages with a title, an icon and an order, and synoptic links (cmd.goto) between them. The comments explain the navigation styles and the kiosk mode.

Page: /tessera/#/l-nav-overview.

The Navigation example on its page in the dark theme

The screen layout: a synoptic bound to tags (PSCR1) filling the page, with a chart below.

Page: /tessera/#/l-process-screen.

The Process screen example on its page in the dark theme

Toasts and dialogs sent to everyone or to one browser, msg.ui, msg.dismiss, and the answer of a dialog.

Page: /tessera/#/l-notifications.

The Notifications example on its page in the dark theme

My view, a °C/°F choice that belongs to one browser, and Who am I answering to the browser that asked.

Page: /tessera/#/l-per-browser.

The Per-browser content example on its page in the dark theme

The design tokens painted by a template, warn and alarm colours that follow a slider, colours set with msg.ui and series colours. The base fields that change the whole dashboard are explained in the comment.

Page: /tessera/#/l-theming.

The Theming and design example on its page in the dark theme

In the editor menu they are in the folder 04 HMI.

A simulated PLC feeding a tessera-tags node, with aliases and source keys, and an LED, stats, a progress bar and a gauge bound by tag. Stop PLC shows No data. The CSV import is explained in the comment. See Tags.

Page: /tessera/#/h-tags.

The Tags example on its page in the dark theme

Library symbols, routed pipes, value and text labels with rules and a blinking alarm. The same diagram in the Tessera theme and in ISA-101.

Page: /tessera/#/h-synoptic-basics.

The Synoptic basics example on its page in the dark theme

What a click does: auto, faceplate, command or none; set and pulse; page links between an overview and a detail page; zoom on the detail; and a last command tile. Two pages, Plant overview and Line detail.

Page: /tessera/#/h-plant-overview.

The Synoptic interaction example on its page in the dark theme

Eleven general equipment templates and custom signals, a prefix with one per-signal override, Start and Stop, the faceplate, and Trip. See Equipment.

Page: /tessera/#/h-equipment.

The Equipment cards example on its page in the dark theme

Two culture-tank cards and a feeder, an oxygen-dip alarm, and the feeder driving its Feeder signal.

Page: /tessera/#/h-aquaculture.

The Aquaculture equipment example on its page in the dark theme

Three full applications that combine the features the way a real project would: a Process-screen overview, equipment cards, alarms, trends and controls, all fed by a simulated plant (a function node you replace with your PLC driver). Each one has a short video of what it is for. Random faults clear by themselves after a while, so a demo never stays down. Each app has eight or so pages: on a narrow window the top bar folds them into a menu.

A two-line water treatment plant: a Process-screen overview linked to the line pages, pump faceplates with Start and Stop, equipment cards, trends and alarms (high and low level, pump trips). Pages wt-overview, wt-line-1 and wt-line-2.

Page: /tessera/#/wt-overview.

A recirculating fish farm: the loop synoptic, culture-tank and feeder cards, O₂ and temperature alarms, a feeding schedule with controls and a daily feed table. Pages ras-farm, ras-tanks and ras-feeding.

Page: /tessera/#/ras-farm.

A bottle packaging line with a line state machine, OEE (availability, performance, quality), counters, a shift table and downtime reasons (dropdown to table). Pages pk-line, pk-oee and pk-machines.

Page: /tessera/#/pk-line.

Four files that predate the groups, at the top level of the examples menu. They are used by the docs and the tests, so their names stay.

Example What it shows
tessera-demo The showcase: a small plant over six pages (overview, control, batches, production, shift, media and forms).
tessera-tags A simulated PLC feeding a tessera-tags node, widgets bound by tag, and No data when the PLC stops. See Tags.
equipment-demo Eleven equipment cards of a general plant and an aquaculture tank. See Equipment.
tags-sample.csv Known tags to import in the tags node (not a flow: it is not in the menu). See Tags.

The conventions the examples follow (names, id prefixes, one dashboard, offline simulation) are in examples/README.md in the repository.