use a 6x3 magnet for the filament sensor with a standard microswitch
refer to the filametrix mod for fitting the heat insert.
https://github.com/sorted01/Filametrix/tree/main
The author remixed this model.
I mashed together a few different files to create this. its was a quick solution for a temporary fix on my printer.