Commands
BuiltA command is an instruction sent to a component: power on, select an input, set a volume. Its command type says what it sets, the driver on one of the component’s endpoints says how, and the outcome is recorded with its evidence.
Reading a component’s commands
Section titled “Reading a component’s commands”A component’s Activity tab carries its Commands above its events: what the component was told and where each command stands, newest first. A command in flight wears its phase, queued (waiting for its outpost to take it), delivered (its outpost has it, and the next observation settles it), awaiting reply or awaiting observation, with its settle window counting down beside it; a terminal one reads settled, failed or timed out, with why. Hover the phase for what it means for that command. A fire-and-forget command such as a reboot has nothing to observe, so its outpost’s report decides it: settled once the outpost carried it out, failed when it could not, and timed out when no report arrives within ten minutes of its issue. The list refreshes every second while anything is in flight.
The arrow at a row’s end opens the command in place: its arc, the issue’s time and each later step (delivered to its outpost, answered, settled) as how long after the issue it came; why it settled, failed or timed out; how it settles (from the component’s reply or an observation of what it sets), its window, the endpoint, outpost and driver that carried it, and who issued it; and the evidence: the component’s reply (the endpoint’s login and anything it labels a credential masked before it was stored, or withheld when that login could not be read), or the observed sample that matched. A timed-out command says where it stopped: queued for an outpost that never took it, delivered with no answer, or answered with nothing observed after.
Issuing a command
Section titled “Issuing a command”Issue a command (with command:issue, which the Operator role carries) sits in the section’s
header wherever a driver attached to one of the component’s endpoints binds a command, and offers
only those commands, since only those reach it. Pick the command, then fill in what it takes. The
form is generated from the command’s own schema, so it never asks you to know a value:
- a command that sets a state with named values (set-power: on, off, standby; set-input: the inputs a display lists) is a list to choose from;
- a number shows its range and unit beside the field (a volume is 0 to 1 ratio) and refuses what falls outside it, with the range in the message, before anything is sent;
- a true or false value (set-mute) is a switch;
- free text appears only where the type declares no values at all;
- a command that takes params (an outlet number on a PDU) shows each as its own field, with its range.
A fire-and-forget command such as a reboot takes no value. Then Issue. A toast follows the new command live, from queued to its outcome, and its Open brings you to its row here, opened.
When none can reach the component
Section titled “When none can reach the component”A component no driver can command says why where its history would be: which drivers its endpoints use that bind no command (an SNMP driver reads, it does not set), which drivers do offer commands (its product’s own driver first, each with the commands it binds), and Add an endpoint, which opens the form to attach one.
From an alarm
Section titled “From an alarm”An alarm’s row carries Send command beside Acknowledge and Snooze, wherever the alarm is
listed: the component’s Overview, the Alarms page and a system’s alarms. It opens the same form with
the component already filled in, so a display that went dark is told to turn on from the alarm that
says so, without leaving it. The button is drawn only for a person with command:issue, and only
where a driver on one of the component’s endpoints binds a command. The alarm clears when the
component’s next reading satisfies its rule, as it does for any other cause; the command is not tied
to the alarm it answered, and the alarm’s history does not yet list it.
Reading a component’s commands takes command:read, which every viewer holds; a viewer reads the
history and the evidence and gets no Issue button.
From the CLI: omniglass component command issue <name> --command-type <type> [--value <v>] [--wait],
omniglass component command list <name> [--status <s>], and omniglass component command get <name> <id>
(commands).