# Z offset not set after probe, code review

**URL:** https://klipper.discourse.group/t/z-offset-not-set-after-probe-code-review/18288
**Category:** General Discussion
**Created:** [August 15, 2024, 4:28pm UTC](https://klipper.discourse.group/t/z-offset-not-set-after-probe-code-review/18288 "2024-08-15T16:28:06Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![KK\_emperor](https://avatars.discourse-cdn.com/v4/letter/k/b9e5f3/32.png) [@KK\_emperor](https://klipper.discourse.group/u/KK_emperor)
#### Post date: [August 15, 2024, 4:28pm UTC](https://klipper.discourse.group/t/z-offset-not-set-after-probe-code-review/18288/1 "2024-08-15T16:28:06Z")

</div>

### Basic Information:

Printer Model: Ender 3 s1 pro  
 MCU / Printerboard: stm32f401  
 Host / SBC: Raspberry Pi 3B+ running Klipper & Octoprint  
 klippy.log

_Fill out above information and_ **_in all cases attach your_ `klippy.log` _file_** (use zip to compress it, if too big). _Pasting your_ `printer.cfg` _is **not** needed_  
_ **Be sure to check our “Knowledge Base” Category first. Most relevant items, e.g. error messages, are covered there** _

### Describe your issue:

I am new to klipper and trying to figure things out. Mostly I am ok with it, reading articles and implementing them.

I am stuck with saving z offset.

I have run  
I probe with a paper below the printer head and its a good fit. Just tight enough but not too close to the build plate.

After that I start the print and even the side line is quite above the build plate. I had to set manual Z offset to -3.7 to get it to print on the plate.  
Now I dont know what I am missing or doing/not doing something for which I am facing this issue.

I am sure others might have faced the same issue and probably someone might point me a solution already posted but sorry I tried, I couldnt find it.  
[klippy.log](https://klipper.discourse.group/uploads/short-url/9uXR4GdZ8Y6vyqdzOSr2KgInsbK.log) (1.6 MB)

---

<div class="post-metadata">

### Author: ![Sineos](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/sineos/32/18_2.png) [@Sineos](https://klipper.discourse.group/u/Sineos)
#### Post date: [August 15, 2024, 7:23pm UTC](https://klipper.discourse.group/t/z-offset-not-set-after-probe-code-review/18288/2 "2024-08-15T19:23:08Z")

</div>

Your provided log contains no indication that you ever performed a z-offset calibration and saved the value.  
Please carefully follow [Probe calibration - Klipper documentation](https://www.klipper3d.org/Probe_Calibrate.html)

---

<div class="post-metadata">

### Author: ![KK\_emperor](https://avatars.discourse-cdn.com/v4/letter/k/b9e5f3/32.png) [@KK\_emperor](https://klipper.discourse.group/u/KK_emperor)
#### Post date: [August 16, 2024, 11:29am UTC](https://klipper.discourse.group/t/z-offset-not-set-after-probe-code-review/18288/3 "2024-08-16T11:29:32Z")

</div>

Thanks for the direction.

I am not sure why its not in the log but I have done that. I am also using octoprint and I did screw tilt calibrate, bed mesh using Bed visualizer plugin, probe x,y & z offset then save\_config.

Is octoprint messing with log being created ?

Ill rerun all that and send the log again, hope that helps.

Thanks

---

<div class="post-metadata">

### Author: ![KK\_emperor](https://avatars.discourse-cdn.com/v4/letter/k/b9e5f3/32.png) [@KK\_emperor](https://klipper.discourse.group/u/KK_emperor)
#### Post date: [August 16, 2024, 12:00pm UTC](https://klipper.discourse.group/t/z-offset-not-set-after-probe-code-review/18288/4 "2024-08-16T12:00:31Z")

</div>

ok  
My bad. I was just running bed visualizer and not actual calibrate.  
X,Y calibrate are spot on no corrections needed.  
Z however, I keep getting error TESTZ unknown command.

update:

After restart of the Host & Firmware TESTZ z=_._ worked.  
After pulling my hair for 2 days, ITS DONE.  
Finally working as I want.

Test print at 100mm/s working flawlessly.

THANK YOU

---

<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 15, 2024, 10:01pm UTC](https://klipper.discourse.group/t/z-offset-not-set-after-probe-code-review/18288/5 "2024-09-15T22:01:19Z")

</div>

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