On my duet wifi lcd screen the z probe reading is at 1000 so the z-probe is triggered and always on. It's not at 0 when the hotend is stationary. I can't probe my bed.

I installed the Precision Piezo module here to the duet 2 wifi. I have everything plugged in correctly. The piezo disk is installed on my hotend setup and by tapping the hotend the blue led light blinks.

here is my settings for the probe:

M667 S1 ; Select CoreXY mode

; Drives

M569 P0 S1 ; Physical drive 0 goes forwards

M569 P1 S1 ; Physical drive 1 goes forwards

M569 P2 S2 ; Physical drive 2 goes backwards

M569 P3 S1 ; Physical drive 3 goes forwards

M350 X16 Y16 Z16 E16 I1 ; Configure microstepping with interpolation

M92 X79.59 Y79.59 Z401.36 E275.72 ; Set steps per mm

M566 X4200.00 Y420.00 Z12.00 E120 ; Set maximum instantaneous speed changes (mm/min)

M203 X18000.00 Y18000.00 Z500.00 E1200.00 ; Set maximum speeds (mm/min)

M201 X3000.00 Y3000.00 Z1700.00 E10000.00 ; Set accelerations (mm/s^2)

M906 X800.00 Y800.00 Z800.00 E800.00 I30 ; Set motor currents (mA) and motor idle factor in per cent

M84 S30 ; Set idle timeout

;assign motors

M584 X0 Y1 Z2:4 ; two Z motors connected to driver outputs Z and E1

M671 X-10:280 Y0:0 S10 ; leadscrews at left and right of X axis

;M208 X-5:205 Y0:200 ; X carriage moves from -5 to 205, Y bed goes from 0 to 200

; Axis Limits

M208 X0 Y0 Z0 S1 ; Set axis minima

M208 X280 Y280 Z350 S0 ; Set axis maxima

; Endstops

M574 X2 Y2 S1 ; Set active high endstops

M574 Z1 S2

; Z-Probe

M558 P5 l0 R0.7 F400 X0 Y0 Z0 ; (digital mode, NO/NC, delay, speed, not used as axis endstop

G31 X0 Y0 Z-0.095 ; P100 ; (X, Y, Z offsets, debounce interval)

M557 X15:6 Y15:195 S20 ; Define mesh grid

; Heaters

M305 P0 T100000 B4138 R4700 ; Set thermistor + ADC parameters for heater 0

M143 H0 S70 ; Set temperature limit for heater 0 to 70C

M305 P1 T100000 B4138 R4700 ; Set thermistor + ADC parameters for heater 1

M143 H1 S280 ; Set temperature limit for heater 1 to 280C

; Fans

M106 P0 S0 I0 F500 H-1 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off

; M106 P1 S1 I1 F25000 H1 T45 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on

M106 P1 S1 I0 F500 H1 T45

m106 P2 S1 I0 F500 H1 T45 ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned on

; Tools

M563 P0 D0 H1 ; Define tool 0

G10 P0 X0 Y0 Z0 ; Set tool 0 axis offsets

G10 P0 R0 S0 ; Set initial tool 0 active and standby temperatures to 0C

If I change M558 P5 to P1, z-probe number goes down to 500 but still triggered.

firmware 2.05

Please help.