Sensorless homing for XZ Kinematics:
homing_sw.cfg
Based on: Voron Sensorless Macros but adapted for corexz kinematics
Why?
Klipper Docs:
It is a good idea for the macro to pause at least 2 seconds prior to starting sensorless homing (or otherwise ensure that there has been no movement on the stepper for 2 seconds). Without a delay it is possible for the driver's internal stall flag to still be set from a previous move. It can also be useful to have that macro set the driver current before homing and set a new current after the carriage has moved away.
After the initial Z hop to not scrape the bed while homing the stepper drivers need a little pause, without that x homing may get a false home.
Include the homing_sw.cfg in your printer.cfg. Remove any other [safe_z_home] or [homing_override] section, it works with klicky_macros out-of-the-box. Edit the X and Y Coordinates for your desired Z home position, see comment in the config. The default home current for both X and Y is 0.49 amps. You can adjust the homing current for each homing move by editing the value in this line:
{% set HOME_CURRENT = 0.49 %}