I actually designed a simple filament sensor that will trigger on oversized filament (or kinked ends of filament as commonly found one sun spools). May be worth a shot if the smart filament sensor doesn’t catch them in time.
https://www.prusaprinters.org/prints...resence-sensor