I am looking for a way to integrate a micro switch filament runout sensor to my filament guide with duster/oiler I designed a while ago. So here it is. It works pretty well as it supposed to.
You can paired it with this custom firmware if you do not want to use Octoprint.
There are plenty of information on Prusa Research forum about this firmware. All credit goes to these guys. They put a lot of effort to make this work and it works pretty well too.
Version 2 cap and body has tighter tolerance than the original.
Here are my other design:
Filament Guide with Oiler/Duster
I hope you enjoy my design and happy printing.