Files

13 lines
320 B
INI

[idle_timeout]
gcode:
{% if printer.pause_resume.is_paused %}
M117 Idle, turning off hotend
SET_HEATER_TEMPERATURE HEATER=extruder TARGET=0
{% else %}
TURN_OFF_HEATERS
M84
{% endif %}
timeout: 600
# Idle time (in seconds) to wait before running the above G-Code
# commands. The default is 600 seconds.