Extruder 0 reports sensor not working
I have the rotating magnet filament sensor and keep getting "Extruder 0 reports sensor not working" at seemingly random intervals and the print gets paused.
In between those failures, the sensor works fine. I read elsewhere that it might be due to interference so I moved the wiring outside of the wire harness to be away from stepper wiring but the issue persists.
In the meantime I've had to remove the sensor. I went through the troubleshooting page and nothing on it seems applicable to my situation. The agc is 74, other values are well within range and everything appears to be working normally outside of this intermittent issue.
Extra info requests from help guide:
Duet 2 Wifi with a Duex (filament monitor is on e0stop on Duet)
RepRepFirmware Version 3.1.1
Sometimes the housing keeps the magnet a bit too far away and a bit of light sanding can help.
When you send M591 D0 by itself what does it respond with?
Seems to report fine. agc is much less than 105
Duet3D rotating magnet filament monitor v3 on pin e0stop, enabled, sensitivity 25.00mm/rev, allow 70% to 130%, check every 15.0mm, version 3, mag 133 agc 78, no calibration data
How/where is it mounted?
I had it mounted right before the extruder but wiring had to pass a long distance beside the extruder stepper motor's wires. Concerned it might have been interference I moved it to the end of the bowden tube. I have a Railcore 300ZL (https://www.filastruder.com/products/railcore-ii-300zl-kit)
This new position keeps the monitor wiring away from stepper motor wiring.
@Phaedrux Just put a twist in the wiring with a drill and heatgun. Running a print now to see how reliable it is.
I'd rather not place the monitor so far from the extruder but low accuracy is preferable to random pauses from comm errors.