alm.list()

alm.list() → object

Returns the status of every registered alarm, organised by group.

Returns

object e.g. {"UV":{"Reactor A Run Failure":0}} — 0 means not alarming; otherwise the active priority.

Example

let faults = alm.list();
print(string(faults)); // {"UV":{"Reactor A Run Failure":0}}