emergency_trip_input
Triggers an emergency stop on a 3D printer from an external hardware button or device. Accepts a printer name and optional authorization token to prevent unauthorized stops.
Instructions
Trip emergency stop from an external hardware bridge.
Designed for physical input devices (ESP32, PLC, wired push buttons)
that call this endpoint over HTTP to trigger a software e-stop. This
is different from ``emergency_stop()`` which is for agent/software-
initiated stops.
If ``KILN_ESTOP_INPUT_TOKEN`` is configured, the request must include
a matching ``token`` or it will be rejected.
:param printer_name: Printer to emergency-stop.
:param input_name: Label for the input source (default
``"external_button"``).
:param token: Authorization token -- required when
``KILN_ESTOP_INPUT_TOKEN`` is set.
:param note: Optional free-text note describing the trigger reason.
See also: ``emergency_stop()``, ``emergency_status()``.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| token | No | ||
| input_name | No | external_button | |
| printer_name | Yes |