Basic Information:
Printer Model: RatRig
MCU / Printerboard: SKR Pro 1.2
Host / SBC: RPI 3B
klippy.log
Fill out above information and in all cases attach your klippy.log file (use zip to compress it, if too big). Pasting your printer.cfg is not needed
Be sure to check our “Knowledge Base” Category first. Most relevant items, e.g. error messages, are covered there
Describe your issue:
In the Klipper documentation under [filament_switch_sensor my_sensor], there is a debounce_delay setting.
But if I try to use it, it comes back with;
Option ‘debounce_delay’ is not valid in section ‘filament_switch_sensor filament_sensor’
Klipper version v0.12.0-396-gb7233d11
Any idea ?
I’ve done a fresh new installation and since I didn’t try this option anymore.
I’ll will add it again once my current print is over i.e. 40 hours :o(( and I’ll post the log just after.
Here’s the log.
klippy.zip (7.1 MB)
Here’s an extract:
[filament_switch_sensor toolhead_filament_sensor_t0]
pause_on_runout = False
event_delay = 0.1
switch_pin = ^PA1
debounce_delay = 0.5
runout_gcode =
_ON_TOOLHEAD_FILAMENT_SENSOR_RUNOUT TOOLHEAD=0
insert_gcode =
_ON_TOOLHEAD_FILAMENT_SENSOR_INSERT TOOLHEAD=0
Config error
Traceback (most recent call last):
File “/home/pi/klipper/klippy/klippy.py”, line 130, in _connect
self._read_config()
File “/home/pi/klipper/klippy/klippy.py”, line 127, in _read_config
pconfig.check_unused_options(config)
File “/home/pi/klipper/klippy/configfile.py”, line 497, in check_unused_options
self.validate.check_unused(config.fileconfig)
File “/home/pi/klipper/klippy/configfile.py”, line 446, in check_unused
raise error(“Option ‘%s’ is not valid in section ‘%s’”
configparser.Error: Option ‘debounce_delay’ is not valid in section ‘filament_switch_sensor toolhead_filament_sensor_t0’
Thanks for any help.
It is simple, you just have an old klipper, that is it.
It is added in: buttons: Debounce gcode_button and filament_switch_sensor (#6848) · Klipper3d/klipper@272e815 · GitHub
~ v0.12.0-460-g272e81552 to be precise.
yours is:
Args: ['/home/pi/klipper/klippy/klippy.py', '/home/pi/printer_data/config/printer.cfg', '-l', '/home/pi/printer_data/logs/klippy.log', '-I', '/home/pi/printer_data/comms/klippy.serial', '-a', '/home/pi/printer_data/comms/klippy.sock']
Git version: 'v0.12.0-396-gb7233d119-dirty'
Untracked files: klippy/extras/beacon.py, klippy/extras/gcode_shell_command.py, klippy/extras/linear_movement_vibrations.py, klippy/extras/ratos.py, klippy/extras/ratos_homing.py, klippy/extras/resonance_generator.py, klippy/extras/z_offset_probe.py, klippy/kinematics/ratos_hybrid_corexy.py
1 Like
Thank you for your quick answer and the fix 