As i had a spare z end stop switch left over after installing the BLTouch i decided to print off a filament runout sensor.
Heres the link for the one i used.
Ender 3 V2 filament sensor using z-stop by Kosaro - Thingiverse
Works perfectly, had to resize the ball to 105% before printing, have it connected directly to octopi using 2 pins.
Ground from the sensor goes to pin 6
and switch goes to pin 15
then i used the filament sensor simplified addon on OctoPi and set the correct pin etc in the configuration.
Heres the link for the one i used.
Ender 3 V2 filament sensor using z-stop by Kosaro - Thingiverse
Works perfectly, had to resize the ball to 105% before printing, have it connected directly to octopi using 2 pins.
Ground from the sensor goes to pin 6
and switch goes to pin 15
then i used the filament sensor simplified addon on OctoPi and set the correct pin etc in the configuration.