From cd8395676e620a11c92cef5d0256f1c7c184c56a Mon Sep 17 00:00:00 2001 From: pi Date: Thu, 24 Apr 2025 21:47:09 +1000 Subject: [PATCH] s_idle_timeout.cfg modified - 24/04/25 - 21:47:05 --- printer_data/config/CUSTOM/s_idle_timeout.cfg | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/printer_data/config/CUSTOM/s_idle_timeout.cfg b/printer_data/config/CUSTOM/s_idle_timeout.cfg index e69de29..9161980 100644 --- a/printer_data/config/CUSTOM/s_idle_timeout.cfg +++ b/printer_data/config/CUSTOM/s_idle_timeout.cfg @@ -0,0 +1,12 @@ +[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.