I will have to try to replace the whole sensor. It's weird.
Here is the event log, including the log from 1LC
2021-12-31 17:39:33 Error: Filament error on extruder 0: sensorError
2021-12-31 17:39:33 Resume state saved
2021-12-31 17:39:37 Printing paused at X328.0 Y217.3 Z9.5
2021-12-31 17:39:37 Printing paused at X328.0 Y217.3 Z9.5
2021-12-31 17:39:37 Duet3D rotating magnet filament monitor v4 on pin 121.io1.in, enabled, sensitivity 25.00mm/rev, allow 50% to 125%, check printing moves every 10.0mm, version 4, mag 129 agc 95, measured sensitivity 25.11mm/rev, min 97% max 104% over 89544.7mm
2021-12-31 17:39:37 Duet3D rotating magnet filament monitor v4 on pin 121.io1.in, enabled, sensitivity 25.00mm/rev, allow 50% to 125%, check printing moves every 10.0mm, version 4, mag 129 agc 95, measured sensitivity 25.11mm/rev, min 97% max 104% over 89544.7mm
2021-12-31 17:39:38 Diagnostics for board 121:
Duet TOOL1LC rev 1.1 or later firmware version 3.4.0beta7 (2021-12-16 12:25:01)
Bootloader ID: SAMC21 bootloader version 2.3 (2021-01-26b1)
Never used RAM 2188, free system stack 2717 words
Tasks: Move(notifyWait<null>,11.3%,91) HEAT(notifyWait<null>,5.6%,95) CanAsync(notifyWait<null>,0.0%,59) CanRecv(notifyWait<null>,2.3%,74) CanClock(notifyWait<null>,0.4%,65) ACCEL(notifyWait<null>,0.0%,61) TMC(notifyWait<null>,59.6%,57) MAIN(running<null>,381.7%,351) IDLE(ready<null>,0.0%,26) AIN(delaying<null>,98.4%,142), total 559.3%
Last reset 08:20:10 ago, cause: VDD brownout
Last software reset data not available
Driver 0: pos 39923177, 420.0 steps/mm,standstill, SG min 0, read errors 14, write errors 0, ifcnt 13, reads 27915, writes 0, timeouts 16, DMA errors 0, CC errors 0, failedOp 0x6f, steps req 39412543 done 39412543
Moves scheduled 414732, completed 414732, in progress 0, hiccups 0, step errors 0, maxPrep 654, maxOverdue 0, maxInc 0, mcErrs 0, gcmErrs 0
Peak sync jitter 0/6, peak Rx sync delay 230, resyncs 0/0, no step interrupt scheduled
VIN voltage: min 27.9, current 28.0, max 28.1
MCU temperature: min 38.7C, current 52.7C, max 58.5C
Last sensors broadcast 0x00000002 found 1 182 ticks ago, 0 ordering errs, loop time 0
CAN messages queued 495202, send timeouts 0, received 614292, lost 0, free buffers 37, min 35, error reg 0
dup 0, oos 0/0/0/0, bm 0, wbm 0, rxMotionDelay 751, adv 35393/104433
Accelerometer: LIS3DH, status: 00
I2C bus errors 0, naks 0, other errors 0
=== Filament sensors ===
Interrupt 4 to 40us, poll 8 to 4836us
Driver 0: pos 140.27, errs: frame 89 parity 0 ovrun 0 pol 0 ovdue 0
2021-12-31 17:39:38 filament error
2021-12-31 17:39:38 Diagnostics for board 121:
Duet TOOL1LC rev 1.1 or later firmware version 3.4.0beta7 (2021-12-16 12:25:01)
Bootloader ID: SAMC21 bootloader version 2.3 (2021-01-26b1)
Never used RAM 2188, free system stack 2717 words
Tasks: Move(notifyWait<null>,11.3%,91) HEAT(notifyWait<null>,5.6%,95) CanAsync(notifyWait<null>,0.0%,59) CanRecv(notifyWait<null>,2.3%,74) CanClock(notifyWait<null>,0.4%,65) ACCEL(notifyWait<null>,0.0%,61) TMC(notifyWait<null>,59.6%,57) MAIN(running<null>,381.7%,351) IDLE(ready<null>,0.0%,26) AIN(delaying<null>,98.4%,142), total 559.3%
Last reset 08:20:10 ago, cause: VDD brownout
Last software reset data not available
Driver 0: pos 39923177, 420.0 steps/mm,standstill, SG min 0, read errors 14, write errors 0, ifcnt 13, reads 27915, writes 0, timeouts 16, DMA errors 0, CC errors 0, failedOp 0x6f, steps req 39412543 done 39412543
Moves scheduled 414732, completed 414732, in progress 0, hiccups 0, step errors 0, maxPrep 654, maxOverdue 0, maxInc 0, mcErrs 0, gcmErrs 0
Peak sync jitter 0/6, peak Rx sync delay 230, resyncs 0/0, no step interrupt scheduled
VIN voltage: min 27.9, current 28.0, max 28.1
MCU temperature: min 38.7C, current 52.7C, max 58.5C
Last sensors broadcast 0x00000002 found 1 182 ticks ago, 0 ordering errs, loop time 0
CAN messages queued 495202, send timeouts 0, received 614292, lost 0, free buffers 37, min 35, error reg 0
dup 0, oos 0/0/0/0, bm 0, wbm 0, rxMotionDelay 751, adv 35393/104433
Accelerometer: LIS3DH, status: 00
I2C bus errors 0, naks 0, other errors 0
=== Filament sensors ===
Interrupt 4 to 40us, poll 8 to 4836us
Driver 0: pos 140.27, errs: frame 89 parity 0 ovrun 0 pol 0 ovdue 0