# Homing vs automatic Z-offset

**URL:** <https://klipper.discourse.group/t/homing-vs-automatic-z-offset/17563>\
**Category:** General Discussion\
**Created:** [July 10, 2024, 2:04am UTC](https://klipper.discourse.group/t/homing-vs-automatic-z-offset/17563 "2024-07-10T02:04:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ale47](https://avatars.discourse-cdn.com/v4/letter/a/df788c/32.png) [@ale47](https://klipper.discourse.group/u/ale47)\
**Post date:** [July 10, 2024, 2:04am UTC](https://klipper.discourse.group/t/homing-vs-automatic-z-offset/17563/1 "2024-07-10T02:04:40Z")

</div>

### Basic Information:

Printer Model: Anycubic i3 Mega S  
 MCU / Printerboard:Trigorilla v0.0.2  
 Host / SBC: Rp4

I have made my own version of the quickdraw klicky probe using a servo. Unfortunately docking the probe requires z to be homed using a physical endstop. I want to home Z again using the klicky probe but am not sure how to setup a “two stage” homing sequence. I would want the custom homing sequence to do the following,

1. Home X and Y
2. Home Z using the endstops
3. Dock the probe (dependent of X and Z homing)
4. Probe a point on the bed to rehome (or set z offset)
5. Remove the probe

Currently I am using a reference position for my mesh bed levelling but when attach a different bed I have to reset my endstop offset each time. Does anyone have advice on how to write such a homing macro or other solutions that might be better?

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/klipper/original/1X/64419bf2aac6639e6ef5cef200dcd456b0a01ac3.png) [@system](https://klipper.discourse.group/u/system)\
**Post date:** [September 8, 2024, 2:04am UTC](https://klipper.discourse.group/t/homing-vs-automatic-z-offset/17563/2 "2024-09-08T02:04:40Z")

</div>

Closed on September 8, 2024, 2:04am UTC

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
