emergency_trip_input
Emergency stop a 3D printer using an external physical input. Designed for devices like ESP32 or wired buttons, with optional token authentication.
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 |