Files
klipper-macros/macros/print/idle_timeout.cfg
T

23 lines
647 B
INI
Raw Normal View History

# Idle timeout: heaters and motors off when the printer is idle
# [dynamicmacros]
# configs: Macros/dynamicmacros.cfg
# [gcode_button kill_switch]
# pin: gpio7
# press_gcode: M112
[idle_timeout]
gcode:
TURN_OFF_HEATERS
iHEATER_OFF ; Turns off the chamber heater
M84
# reset paused flag
{% if printer.pause_resume.is_paused|lower == 'false' and park|lower == 'true'%}
_TOOLHEAD_PARK_PAUSE_CANCEL
{% endif %}
_STATUS STATE=ready
# A list of G-Code commands to execute on an idle timeout. See
# docs/Command_Templates.md for G-Code format. The default is to run
# "TURN_OFF_HEATERS" and "M84".
timeout: 85400 # 24 hours