@57buick said in Failed to enable endstop configuring IR sensor:
Yea I just figured out changed the P1 to P8 made it show up in DWC now and manually putting a aluminum plate under it it changes from 1000 to zero when the led turns on so it is seeing it now. But it still shows homed after it homes the X and Y the Z also immeditately shows homed without actually going and probing the Z
The triggered state is the 1000.
So if you are seeing that when the sensor is NOT near the bed you need to invert the logic of the pin declaration you used for the Z probe.
Add a ! character before the io0.in:
M558 P1 C"121.io0.in" >= M558 P1 C"121.!io0.in"
The reason is reports homed with out actually homing is because the firmware is seeing the sensor activated when it is not. So it thinks the homing was completed.
Frederick