if you have a direct extruder, you might want to mount your filament-runout-sensor on the top rail below your filament. The mounting-plate swivels on a standard 608zz-ball-bearing (i had some of these laying around from the fidget-spinner-era) to accomodate the direction of the filament from the spool to the extruder-position.
The author marked this model as their own original creation.