Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions meta-opencentauri/recipes-apps/klipper/files/machine.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -247,15 +247,17 @@ switch_pin: PC0
pause_on_runout: false
debounce_delay: 1
runout_distance: 770
smart: true
runout_gcode:
RESPOND MSG="Refill filament"
PAUSE STATE=runout
{% if not printer["filament_switch_sensor filament_sensor"].filament_detected %}
RESPOND MSG="Refill filament"
PAUSE STATE=runout
{% endif %}
immediate_runout_gcode:
RESPOND MSG="Ran out of filament, using remaining filament in PTFE"
insert_gcode:
RESPOND MSG="Filament is inserted"


[led case]
white_pin: PG15
initial_WHITE: 1
Expand Down
2 changes: 1 addition & 1 deletion meta-opencentauri/recipes-apps/klipper/files/shell.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,6 @@ gcode:
[delayed_gcode check_for_updates_startup]
initial_duration: 60
gcode:
{% if printer.idle_timeout.state == "Ready" and printer.print_stats.state == "standby" %}
{% if printer.idle_timeout.state in ["Idle", "Ready"] and printer.print_stats.state == "standby" %}
RUN_SHELL_COMMAND CMD=CHECK_FOR_UPDATES
{% endif %}
Loading