impromptu1583 / klipperSidekick

Klipper config and macros for use with the Lulzbot sidekick
0 stars 0 forks source link

Runout sensor needs implemented #2

Closed impromptu1583 closed 2 years ago

impromptu1583 commented 2 years ago

Filament Runout Sensor needs implemented.

Plugged into XMIN / Pin PB6 (See OHAI instructions)

impromptu1583 commented 2 years ago

[filament_switch_sensor RunoutSensor] pause_on_runout: False runout_gcode: PAUSE insert_gcode: RESUME switch_pin: !PB6

needs testing

impromptu1583 commented 2 years ago
[filament_switch_sensor my_sensor]
#pause_on_runout: True
#   When set to True, a PAUSE will execute immediately after a runout
#   is detected. Note that if pause_on_runout is False and the
#   runout_gcode is omitted then runout detection is disabled. Default
#   is True.
#runout_gcode:
#   A list of G-Code commands to execute after a filament runout is
#   detected. See docs/Command_Templates.md for G-Code format. If
#   pause_on_runout is set to True this G-Code will run after the
#   PAUSE is complete. The default is not to run any G-Code commands.
#insert_gcode:
#   A list of G-Code commands to execute after a filament insert is
#   detected. See docs/Command_Templates.md for G-Code format. The
#   default is not to run any G-Code commands, which disables insert
#   detection.
#event_delay: 3.0
#   The minimum amount of time in seconds to delay between events.
#   Events triggered during this time period will be silently
#   ignored. The default is 3 seconds.
#pause_delay: 0.5
#   The amount of time to delay, in seconds, between the pause command
#   dispatch and execution of the runout_gcode. It may be useful to
#   increase this delay if OctoPrint exhibits strange pause behavior.
#   Default is 0.5 seconds.
#switch_pin:
#   The pin on which the switch is connected. This parameter must be
#   provided.