With this remix you can use your Ender 2030 endstop switch as a filament runout sensor.
I added the possibility to use two pneumatic fittings to have a stable connection.
Put two M6 nuts inside the fitting holes and screw in the M6 fittings.
May fit 1830 switch.
I use it with a BTT Octopus Motherboard and therefore made a new cable with 3 strands (Voltage, Ground, Signal) instead of 2.
The author remixed this model.
Thickened the walls of the filament guide to prevent breaking.
Added another M6 Screw Hole to add a fitting.