How to add Emergency Z-endstop in Klipper?

Hello @AVP !

Please read: How-To Ask for Help

Without insight to your code, we can’t tell what is going on.