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
+3 -3
View File
@@ -285,7 +285,7 @@ gcode:
SET_GCODE_VARIABLE MACRO=RESUME VARIABLE=extruder_restore_temp VALUE={printer.extruder.target} SET_GCODE_VARIABLE MACRO=RESUME VARIABLE=extruder_restore_temp VALUE={printer.extruder.target}
##### end of definitions ##### ##### end of definitions #####
SAVE_GCODE_STATE NAME=PAUSE_state SAVE_GCODE_STATE NAME=PAUSE_state
SET_IDLE_TIMEOUT TIMEOUT={(sensor.pause_timeout)|float} # increase printer timeout #SET_IDLE_TIMEOUT TIMEOUT={(sensor.pause_timeout)|float} # increase printer timeout
BASE_PAUSE BASE_PAUSE
G91 G91
G1 E-{e} F2100 G1 E-{e} F2100
@@ -314,7 +314,7 @@ gcode:
G1 E{e} F2100 G1 E{e} F2100
G90 G90
M118 O2S: Temperatures restored, resmume printing! M118 O2S: Temperatures restored, resmume printing!
SET_IDLE_TIMEOUT TIMEOUT=600 # restor klipper default printer timeout to 10 min #SET_IDLE_TIMEOUT TIMEOUT=600 # restor klipper default printer timeout to 10 min
RESTORE_GCODE_STATE NAME=PAUSE_state MOVE=1 RESTORE_GCODE_STATE NAME=PAUSE_state MOVE=1
BASE_RESUME BASE_RESUME
# SET_LED LED=OrbiLED RED=1.0 GREEN=1.0 BLUE=1.0 # SET_LED LED=OrbiLED RED=1.0 GREEN=1.0 BLUE=1.0
@@ -325,7 +325,7 @@ gcode:
CLEAR_PAUSE CLEAR_PAUSE
#SDCARD_RESET_FILE #SDCARD_RESET_FILE
BASE_CANCEL_PRINT BASE_CANCEL_PRINT
SET_IDLE_TIMEOUT TIMEOUT=600 # restor klipper default printer timeout to 10 min #SET_IDLE_TIMEOUT TIMEOUT=600 # restor klipper default printer timeout to 10 min
[gcode_macro T0] [gcode_macro T0]
gcode: gcode:
BIN
View File
Binary file not shown.
+13 -4
View File
@@ -792,17 +792,26 @@ gcode:
[idle_timeout] [idle_timeout]
timeout: 1800 timeout: 1800
gcode: gcode:
M84; TURN_OFF_MOTORS # 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 TURN_OFF_HEATERS
UPDATE_DELAYED_GCODE ID=delayed_printer_off DURATION=60 UPDATE_DELAYED_GCODE ID=delayed_printer_off DURATION=60
{% endif %}
[delayed_gcode delayed_printer_off] [delayed_gcode delayed_printer_off]
initial_duration: 0. initial_duration: 0
gcode: gcode:
{% if printer.idle_timeout.state == "Idle" %} # Can only be turned off if not paused.
PRINTER_OFF {% if printer.idle_timeout.state == "Idle" and printer.print_stats.state != "paused" %}
printer_off
{% endif %} {% endif %}
[exclude_object] [exclude_object]
[include mainsail.cfg] [include mainsail.cfg]