Filament sensor out?

There is no more filament out sensor plug-in that works. It used to work now it doesn't. Can someone fix?? : ( i just need a GCODE sent when it detects an out but there is nothing :frowning: