ams_filament_drying
Start or stop an AMS 2 Pro / AMS HT active dry cycle.
Instructions
Start or stop an AMS 2 Pro / AMS HT active dry cycle.
Bambu printers with an AMS 2 Pro or AMS HT dry filament in place.
This controls that dryer.
To START (``mode=1``): set ``temp_c`` (drying temperature),
``duration_min`` (> 0), and ``cooling_temp_c`` -- which must be
>= 45, or the printer silently ignores the command. A start is
checked against the unit's own ceiling (AMS 2 Pro 65 C, AMS HT 85 C)
before it is sent; when Kiln cannot run that check, nothing is sent and
the answer says why. To STOP (``mode=0``): only ``ams_id`` is needed,
and a stop is always sent.
Only Bambu printers with an AMS 2 Pro / AMS HT support this; other
printers and plain AMS / AMS Lite units return an error.
:param ams_id: AMS unit index (0-based).
:param mode: 1 to start drying, 0 to stop.
:param duration_min: Dry-cycle length in minutes (> 0 to start).
:param temp_c: Drying temperature in C (required to start; capped
at the unit's max -- AMS 2 Pro 65 C, AMS HT 85 C).
:param cooling_temp_c: Cooldown temperature in C (>= 45 to start).
:param humidity: Optional target humidity.
:param rotate_tray: Optional tray-rotation flag.
:param printer_name: Target printer. Omit for the default printer.
:returns: Dict with the dispatched command and a status message.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | ||
| ams_id | Yes | ||
| temp_c | No | ||
| humidity | No | ||
| rotate_tray | No | ||
| duration_min | No | Default: 0. | |
| printer_name | No | ||
| cooling_temp_c | No |