Looking for some tips to set this up as my current testing keeps failing..
I installed a simple 2 wire switch (NO) in my SB Toolhead, it's designed for 2 (Filematrix) but I wanted to start with one, just for a simple runout sensor...
I defined it like this in my printer.cfg:
[filament_switch_sensor Stealthburner_Filament]
pause_on_runout: True
runout_gcode:
PARK_MACRO
M117 Out of Filament
insert_gcode:
M117 Resuming
RESUME_MACRO
event_delay: 3.0
pause_delay: 0.5
switch_pin: EBBCan:gpio22
It's wired to GPIO22 and Ground (https://github.com/bigtreetech/EBB/blob/master/EBB SB2209 CAN (RP2040)/Hardware/EBB SB2209 CAN V1.0(RP2040)-Pin.png)
The switch does show up in Klipper, but no matter how I define it, inverted or not, it does always or never "detect filament" however it doesnt matter if there is filament loaded or not.
Mechanically the switch and steel ball works.
What else do I need possibly? Or is this wrong? Also wondering how to implement the pause features then..