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.
Import one
Section titled “Import one”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.
Import several
Section titled “Import several”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.
Getting started
Section titled “Getting started”In the editor menu they are in the folder 01 Getting started.
Getting started
Section titled “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.
Message contract
Section titled “Message contract”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.
Widgets
Section titled “Widgets”In the editor menu they are in the folder 02 Widgets.
Indicators
Section titled “Indicators”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.
Charts
Section titled “Charts”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.
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.
Controls
Section titled “Controls”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.
Inputs and forms
Section titled “Inputs and forms”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.
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.
Template widget
Section titled “Template widget”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.
Layout and design
Section titled “Layout and design”In the editor menu they are in the folder 03 Layout and design.
Page layouts
Section titled “Page layouts”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.
Free placement and sections
Section titled “Free placement and sections”Free placement with col and row, a tinted section, and msg.ui changing a section’s title and fill.
Page: /tessera/#/l-placement.
Navigation
Section titled “Navigation”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.
Process screen
Section titled “Process screen”The screen layout: a synoptic bound to tags (PSCR1) filling the page, with a chart below.
Page: /tessera/#/l-process-screen.
Notifications
Section titled “Notifications”Toasts and dialogs sent to everyone or to one browser, msg.ui, msg.dismiss, and the answer of a dialog.
Page: /tessera/#/l-notifications.
Per-browser content
Section titled “Per-browser content”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.
Theming and design
Section titled “Theming and design”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.
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.
Synoptic basics
Section titled “Synoptic basics”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.
Synoptic interaction
Section titled “Synoptic interaction”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.
Equipment cards
Section titled “Equipment cards”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.
Aquaculture equipment
Section titled “Aquaculture equipment”Two culture-tank cards and a feeder, an oxygen-dip alarm, and the feeder driving its Feeder signal.
Page: /tessera/#/h-aquaculture.
Complete apps
Section titled “Complete apps”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.
Water treatment
Section titled “Water treatment”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.
Aquaculture RAS farm
Section titled “Aquaculture RAS farm”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.
Packaging line
Section titled “Packaging line”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.
Earlier examples
Section titled “Earlier examples”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. |
Write your own
Section titled “Write your own”The conventions the examples follow (names, id prefixes, one dashboard, offline simulation) are in examples/README.md in the repository.