Autocommit from 2026-07-06 12:00:04

Klipper version: v0.13.0-464-g48f0b3ca

Moonraker version: v0.10.0-2-g3e29720

Mainsail version: v2.17.0
This commit is contained in:
nka
2026-07-06 12:00:04 -04:00
parent fb3bbf5dd3
commit 02d1d6ebe0
3 changed files with 21 additions and 12 deletions
+18 -9
View File
@@ -792,17 +792,26 @@ gcode:
[idle_timeout]
timeout: 1800
gcode:
M84; TURN_OFF_MOTORS
TURN_OFF_HEATERS
UPDATE_DELAYED_GCODE ID=delayed_printer_off DURATION=60
[delayed_gcode delayed_printer_off]
initial_duration: 0.
gcode:
{% if printer.idle_timeout.state == "Idle" %}
PRINTER_OFF
# In pause state, Only the nozzle is turned OFF
{% if printer.print_stats.state == "paused" %}
SET_HEATER_TEMPERATURE HEATER=extruder TARGET=0
{% else %}
# Standby/Idle or complete, can be turned off.
M84 ; Motors Off
TURN_OFF_HEATERS
UPDATE_DELAYED_GCODE ID=delayed_printer_off DURATION=60
{% endif %}
[delayed_gcode delayed_printer_off]
initial_duration: 0
gcode:
# Can only be turned off if not paused.
{% if printer.idle_timeout.state == "Idle" and printer.print_stats.state != "paused" %}
printer_off
{% endif %}
[exclude_object]
[include mainsail.cfg]