emergency_status
Check emergency stop latch status for a printer or entire fleet to identify active e-stops blocking print commands. Returns active state, reason, source, timestamp, and interlock status.
Instructions
Get the emergency stop latch status for one printer or the entire fleet.
Returns whether an emergency stop is active and whether the printer is
locked from printing operations. When an e-stop is active, all print
commands are blocked until ``clear_emergency_stop()`` is called with an
acknowledgement note.
:param printer_name: Query a specific printer, or omit for all printers.
:param include_unlatched: When True, include printers that have no active
latch. Defaults to False (only active latches).
:returns: Latch state per printer: ``active`` (bool), ``reason``,
``source``, ``timestamp``, and whether critical interlocks prevent
clearing.
See also: ``emergency_stop()``, ``clear_emergency_stop()``.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| printer_name | No | ||
| include_unlatched | No |