LooT Manuals
Deutsch

Charts, dashboards, time ranges and workflows

List, show, create and delete saved charts, dashboards, named time ranges and workflows of a tenant, with definition files for charts, dashboards and workflows.

Overview#

Charts, dashboards, time ranges and workflows are objects of a tenant: whoever belongs to the tenant sees the ones they have permission for. In the workbench you build them with the mouse; on the command line you list, copy and delete them, and you create them from a definition file in JSON. This pays off for templates that you roll out to many tenants, for versioning in a repository and for recurring set-ups.

CommandPurpose
loot chart list, loot chart show, loot chart create, loot chart deleteSaved charts, see Charts
loot dashboard list, loot dashboard show, loot dashboard create, loot dashboard deleteDashboards with displays and inputs, see Dashboards
loot timerange list, loot timerange create, loot timerange deleteNamed time ranges, see Time
loot workflow list, loot workflow show, loot workflow create, loot workflow deleteWorkflows (graphical canvases), see Workflows

The groups loot chart, loot dashboard, loot timerange and loot workflow themselves do nothing; --help lists their subcommands.

Rules that apply to all four kinds:

  • Every command needs --tenant <tenant> (name or id of the tenant), except show and delete of dashboards and workflows when you give the id of the object.
  • Every member of the tenant may create objects. Listing shows only objects you may read. Deleting needs the permission Manage on the object; whoever created it has it. Deleting removes only the object itself: the nodes, data sources and components it shows stay.
  • The name of an object is unique within the tenant, ignoring case. For show and delete you give the id or, with --tenant, the name.
  • --json exists only on the list commands of charts, dashboards and workflows (not on timerange list) and on loot workflow show. loot chart show and loot dashboard show always print JSON.
  • Times follow the rules of the introduction: without an offset local time, with --utc UTC.

Definition files#

loot chart create, loot dashboard create and loot workflow create read a JSON file with an object at the top. The file may contain // comments and trailing commas. Instead of the id of a node you write its path (the field node, or ref for workflows); loot looks it up and fills in everything else. A path without a slash counts relative to the tenant, as long as you gave the tenant by name: with --tenant Brewery, Plant.Line1.Temperature means Brewery/Plant.Line1.Temperature. If you give the tenant by id, write full paths. A file may name only nodes that exist and that you may read; otherwise the command ends with an error naming the series, control or box.

loot chart list#

Lists the saved charts of a tenant.

text
loot chart list --tenant <tenant> [--json]
OptionMeaning
--tenant <tenant>Required. Name or id of the tenant
--jsonPrints the charts as JSON instead of a table
console
$ loot chart list --tenant Brewery
Id  Name                           Typ       Serien  Ersteller  Geändert
--  -----------------------------  --------  ------  ---------  --------------------------------
12  Wort temperature and pressure  Line      2       alice   2026-11-28T09:14:00.000000+01:00
13  Vibration spectrum             Spectrum  1       alice   2026-11-29T16:02:00.000000+01:00

The columns show id, name, chart type, number of series, creator and time of the last change. A dash stands for "unknown".

loot chart show#

Prints the definition of a chart as JSON.

text
loot chart show <chart> --tenant <tenant>
Argument or optionMeaning
<chart>Id of the chart or its name
--tenant <tenant>Name or id of the tenant. For charts always give it, also with an id.

The output is an object with the id, name, creator, revision, times and your rights (canWrite, canManage), and the actual definition in the field definition. That part has the form of a definition file and is the best template for your own: build a chart in the workbench, save it and read it with loot chart show.

console
$ loot chart show "Wort temperature and pressure" --tenant Brewery
{
  "id": 12,
  "name": "Wort temperature and pressure",
  "definition": {
    "title": "Wort temperature and pressure",
    "type": "Line",
    …
  },
  "schemaVersion": 2,
  …
}

loot chart create#

Creates a chart from a definition file.

text
loot chart create --tenant <tenant> --file <file> [--name <name>]
OptionMeaning
--tenant <tenant>Required. Name or id of the tenant
--file <file>Required. JSON file with the definition (see below)
--name <name>Name of the chart (unique in the tenant). Without it the title in the file is taken.

A minimal chart with two lines, the pressure on the right axis:

json
{
  "type": "Line",
  "title": "Wort temperature and pressure",
  "options": {
    "showGrid": true,
    "showLegend": true,
    "left": { "min": 0, "max": 100 }
  },
  "series": [
    { "node": "Plant.Line1.Temperature", "name": "Temperature" },
    { "node": "Plant.Line1.Pressure", "axis": "Right" }
  ]
}
console
$ loot chart create --tenant Brewery --file wort.json
Chart 12 angelegt: Wort temperature and pressure

The fields:

FieldMeaning
typeChart type: Line, Step, Points, Area, Bars, ThreeD, Spectrum, Pie, Treemap, Histogram, Box, Heatmap, Bubble or Scatter. An unknown type is shown as a line.
titleTitle; it is also the name if you give no --name. A chart needs a name by one of the two ways.
optionsOptional. showBand (min-max band, default true), showGrid (default true), showLegend (default true), left and right for the two y axes (each with min, max, isLogarithmic) and stacking (None, Stacked or Percent, for area charts). Further sub-objects hold the settings of special charts (threeD, spectrum, analysis); their field names are easiest to take from a chart saved in the workbench.
seriesThe series, one per node.
series[].nodePath of the node (or the id of the node in nodeId). loot fills in name, value type, unit, parent and data-volume flag from the node.
series[].nameName in the legend. Default: name of the node.
series[].colorColor as hex, such as #4f8cff. Without it, the next free one of the palette is taken.
series[].axisLeft (default) or Right
series[].unitOwn display unit for this series. Default: your setting.
series[].role3dIn 3D, scatter and bubble charts the role of the series: X, Y, Z or Size. Series without a role are not drawn there.

Fields that you give win over the ones loot fills in. Text nodes are drawn as markers in line, step, points, area and bar charts. The charts and their types are explained in Charts; there you also find the time window the chart uses (a chart stores none).

A 3D chart that places three nodes on the axes:

json
{
  "type": "ThreeD",
  "title": "Temperature, pressure, flow",
  "series": [
    { "node": "Plant.Line1.Temperature", "role3d": "X" },
    { "node": "Plant.Line1.Pressure", "role3d": "Y" },
    { "node": "Plant.Line1.Flow", "role3d": "Z" }
  ]
}

loot chart delete#

Deletes a chart. The nodes of its series stay.

text
loot chart delete <chart> --tenant <tenant>
Argument or optionMeaning
<chart>Id of the chart or its name
--tenant <tenant>Name or id of the tenant. For charts always give it.
console
$ loot chart delete 12 --tenant Brewery
Chart 12 gelöscht.

loot dashboard list#

Lists the dashboards of a tenant.

text
loot dashboard list --tenant <tenant> [--json]
OptionMeaning
--tenant <tenant>Required. Name or id of the tenant
--jsonPrints the dashboards as JSON instead of a table
console
$ loot dashboard list --tenant Brewery
Id  Name       Steuerelemente  Ersteller  Geändert
--  ---------  --------------  ---------  --------------------------------
7   Line 1     3               alice   2026-11-29T10:30:00.000000+01:00
8   Brewhouse  12              alice   2026-11-30T08:05:00.000000+01:00

loot dashboard show#

Prints a dashboard with all its controls as JSON.

text
loot dashboard show <dashboard> [--tenant <tenant>]
Argument or optionMeaning
<dashboard>Id of the dashboard or its name
--tenant <tenant>Name or id of the tenant. Needed when you give the dashboard by name.

The output contains name, description, rights and in controls every control with type, position, size, settings (config) and pins. The pins refer to nodes by id (nodeId).

loot dashboard create#

Creates a dashboard, empty or with controls from a file.

text
loot dashboard create --tenant <tenant> --name <name> [--file <file>]
OptionMeaning
--tenant <tenant>Required. Name or id of the tenant
--name <name>Required. Name of the dashboard (unique in the tenant, at most 200 characters)
--file <file>JSON file with description and controls. Without a file an empty dashboard is created.

A dashboard with a gauge, a switch and a button:

json
{
  "description": "Overview of line 1",
  "controls": [
    {
      "type": "gauge", "x": 0, "y": 0, "width": 3, "height": 2,
      "config": { "title": "Wort temperature", "min": 0, "max": 100, "unit": "°C", "warnFrom": 85, "warnTo": 100 },
      "pins": [ { "id": "in", "node": "Plant.Line1.Temperature" } ]
    },
    {
      "type": "switch", "x": 3, "y": 0, "width": 3, "height": 2,
      "config": { "title": "Heater" },
      "pins": [ { "id": "out", "node": "Plant.Line1.Heater" } ]
    },
    {
      "type": "button", "x": 6, "y": 0, "width": 3, "height": 2,
      "config": { "title": "Cleaning", "mode": "command", "label": "Start" },
      "pins": [ { "id": "out", "node": "Plant.Line1", "command": "StartCleaning" } ]
    }
  ]
}
console
$ loot dashboard create --tenant Brewery --name "Line 1" --file line1.json
Dashboard 7 angelegt: Line 1 (3 Steuerelemente)

A control has these fields:

FieldMeaning
typeKind of control (table below). Required.
x, yPosition in grid cells (the grid has 12 columns). Default: 0.
width, heightSize in grid cells. Default: 3 by 2. Two controls must not cover the same cells.
configSettings of the control as an object, for example title, unit, decimals, min, max.
pinsThe connections to nodes. Every pin has an id and a node (path; or nodeId with the id).

Pins: displays read through the pin in, inputs write through the pin out; the joystick has out (X) and outY (Y), the trend in to in4 for up to four series. A pin may also carry "property" (name, unit, description or children) to show a property of the node instead of its value, and a button in the mode command the "command" that it triggers on the node of the pin (the name of a command of that node, see loot command list).

Kind (type)Control in the workbench
gauge, number, led, text, sparkline, trend, bar, traffic, map, record, log, age, spectrum, labelDisplays: Gauge, Number display, LED, Text display, Sparkline, Trend, Bar, Traffic light, Map, Record, Event log, Age, Spectrum analyzer, Label
knob, slider, switch, button, numberInput, choice, joystickInputs: Knob, Slider, Switch, Button, Number input, Choice, Joystick

Common settings are title (default: the path of the node), unit (empty: the unit of the node), decimals, min and max (gauge, bar, knob, slider, number input), step (inputs), warnFrom and warnTo (gauge), onText and offText (LED, switch, text), label (button), mode (button: pulse for a bool pulse into the node or command for a command) and stale (Age: seconds after which a value counts as stale). choice takes its choices in options, written like "0=Off; 1=On". All settings of a control are shown in the Properties view of the workbench, see Dashboards.

A dashboard holds up to 200 controls. The nodes must exist and be readable; the pins only name them. Whether a button's command exists on the node is not checked when creating: the pin stays open, as with a deleted node.

loot dashboard delete#

Deletes a dashboard with its controls. The nodes stay.

text
loot dashboard delete <dashboard> [--tenant <tenant>]
Argument or optionMeaning
<dashboard>Id of the dashboard or its name
--tenant <tenant>Name or id of the tenant. Needed when you give the dashboard by name.
console
$ loot dashboard delete "Line 1" --tenant Brewery
Dashboard 7 gelöscht.

loot timerange list#

Lists the named time ranges of a tenant: your own and the shared ones.

text
loot timerange list --tenant <tenant>
OptionMeaning
--tenant <tenant>Required. Name or id of the tenant
console
$ loot timerange list --tenant Brewery
Id  Name                Sichtbarkeit  Definition
--  ------------------  ------------  ------------------------------------------------------------------------------------
4   Last brewing day    geteilt       {"mode":"fixed","start":"2026-11-28T05:00:00.0000000Z","end":"2026-11-28T17:00:00.0000000Z"}
5   Incident 29 Nov     persönlich    {"mode":"fixed","start":"2026-11-29T21:10:00.0000000Z","end":"2026-11-29T22:40:00.0000000Z"}

Sichtbarkeit is persönlich (only you) or geteilt (all members of the tenant). The column Definition shows the stored definition as the server keeps it; ranges created in the workbench may also be of the kinds "until now" and "calendar".

loot timerange create#

Creates a fixed time range with a start and an end. Ranges of the kinds "until now" and "calendar" you create in the workbench.

text
loot timerange create --tenant <tenant> --name <name> --from <time> --to <time> [--shared]
OptionMeaning
--tenant <tenant>Required. Name or id of the tenant
--name <name>Required. Name of the time range (unique in the tenant)
--from <time>Required. Start, ISO 8601; without an offset local time (with --utc UTC)
--to <time>Required. End, like --from. It must lie after --from.
--sharedVisible to all members of the tenant. Without it the range is personal. Sharing needs the tenant permission to publish time ranges.
console
$ loot timerange create --tenant Brewery --name "Incident 29 Nov" --from 2026-11-29T22:10 --to 2026-11-29T23:40
Zeitbereich 5 angelegt: Incident 29 Nov

The range is stored in UTC. In the workbench it appears in the Time ranges view and in the selection list of the time bar (Time).

loot timerange delete#

Deletes a time range. Needs the permission Manage on the range.

text
loot timerange delete <time-range> --tenant <tenant>
Argument or optionMeaning
<time-range>Id or name of the time range
--tenant <tenant>Required. Name or id of the tenant
console
$ loot timerange delete "Incident 29 Nov" --tenant Brewery
Zeitbereich 5 gelöscht.

loot workflow list#

Lists the workflows of a tenant (only those you may read).

text
loot workflow list --tenant <tenant> [--json]
OptionMeaning
--tenant <tenant>Required. Name or id of the tenant
--jsonPrints the workflows as JSON instead of a table
console
$ loot workflow list --tenant Brewery
Id  Name          Ersteller  Rechte  Geändert
--  ------------  ---------  ------  --------------------------------
3   Line 1 flow   alice   Manage  2026-11-29T11:45:00.000000+01:00

The column Rechte shows your highest right on the workflow: Read, Write or Manage.

loot workflow show#

Shows a workflow with its boxes.

text
loot workflow show <workflow> [--tenant <tenant>] [--json]
Argument or optionMeaning
<workflow>Id of the workflow or its name
--tenant <tenant>Name or id of the tenant. Needed when you give the workflow by name.
--jsonPrints the workflow with all boxes as JSON
console
$ loot workflow show "Line 1 flow" --tenant Brewery
Workflow 3: Line 1 flow
Beschreibung: From sensor to dashboard
Ersteller: alice
Revision: 6
Rechte: Manage
Geändert: 2026-11-29T11:45:00.000000+01:00
Kasten  Art        Objekt  X    Y    Breite  Höhe
------  ---------  ------  ---  ---  ------  -----
31      Node       103     0    0    220     140
32      Node       104     0    180  220     140
33      Dashboard  7       320  0    220     140
34      Note       -       320  200  240     120

The table lists id, kind, id of the shown object, position and size of every box. Boxes of objects that you may not read are missing.

loot workflow create#

Creates a workflow, empty or with boxes from a file.

text
loot workflow create --tenant <tenant> --name <name> [--description <text>] [--file <file>]
OptionMeaning
--tenant <tenant>Required. Name or id of the tenant in which the workflow is created
--name <name>Required. Name of the workflow (unique in the tenant, ignoring case)
--description <text>Description. Wins over description in the file.
--file <file>JSON file with description and items (the boxes)
json
{
  "description": "From sensor to dashboard",
  "items": [
    { "kind": "Node", "ref": "Plant.Line1.Temperature", "x": 0, "y": 0 },
    { "kind": "Node", "ref": "Plant.Line1.Pressure", "x": 0, "y": 180 },
    { "kind": "Dashboard", "ref": "Line 1", "x": 320, "y": 0 },
    { "kind": "Note", "text": "Check the pressure daily", "x": 320, "y": 200 }
  ]
}
console
$ loot workflow create --tenant Brewery --name "Line 1 flow" --file flow.json
Workflow 3 angelegt: Line 1 flow (4 Kästen)
Field of a boxMeaning
kindNode, DataSource, Usage (a component usage), Dashboard, Note or Group
refThe object: for Node its path, for DataSource, Usage and Dashboard its name in the tenant. Not used for Note and Group.
textOnly Note and Group: the text of the note or the name of the group
x, yPosition on the canvas. Default: 0.
width, heightSize. Default: 220 by 140 for objects, 240 by 120 for notes and groups.

The file describes boxes only. The links between them are the existing assignments, connections and bindings, which the canvas shows by itself where both ends have a box (see Workflows). Create connections with loot connection. An object may have only one box per workflow.

loot workflow delete#

Deletes a workflow with its boxes. The objects it shows stay.

text
loot workflow delete <workflow> [--tenant <tenant>]
Argument or optionMeaning
<workflow>Id of the workflow or its name
--tenant <tenant>Name or id of the tenant. Needed when you give the workflow by name.
console
$ loot workflow delete 3
Workflow 3 gelöscht.
A product of Rheinwert Datentechnik · rheinwert.deVersion: LooT 0.9.10