# Feature Request \> Z-OFFSET updater

**URL:** <https://klipper.discourse.group/t/feature-request-z-offset-updater/13234>\
**Category:** Features\
**Created:** [January 16, 2024, 7:02pm UTC](https://klipper.discourse.group/t/feature-request-z-offset-updater/13234 "2024-01-16T19:02:20Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Matgyver85](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/matgyver85/32/9590_2.png) [@Matgyver85](https://klipper.discourse.group/u/Matgyver85)\
**Post date:** [January 16, 2024, 7:02pm UTC](https://klipper.discourse.group/t/feature-request-z-offset-updater/13234/1 "2024-01-16T19:02:20Z")

</div>

When we click this button:,

![Screenshot 2024-01-16 115434](https://global.discourse-cdn.com/free1/uploads/klipper/original/2X/e/e75be3a8b9b39e50104e284f447036fa821e9203.png)

Can we make it update this figure:,

![Screenshot 2024-01-16 115519](https://global.discourse-cdn.com/free1/uploads/klipper/original/2X/1/1504a6b1701fa5a7b7773d8c2cdf2b74fe1c8d7d.png)

Instead of having to manually update it?

Thanks

---

<div class="post-metadata">

**Author:** ![EddyMI3D](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/eddymi3d/32/1981_2.png) [@EddyMI3D](https://klipper.discourse.group/u/EddyMI3D)\
**Post date:** [January 16, 2024, 7:40pm UTC](https://klipper.discourse.group/t/feature-request-z-offset-updater/13234/2 "2024-01-16T19:40:25Z")

</div>

You know about

[https://www.klipper3d.org/G-Codes.html#z\_offset\_apply\_endstop](https://www.klipper3d.org/G-Codes.html#z_offset_apply_endstop)

and

[https://www.klipper3d.org/G-Codes.html#z\_offset\_apply\_probe](https://www.klipper3d.org/G-Codes.html#z_offset_apply_probe)

Make a macro with the one of your use plus a `SAVE_CONFIG` and put it onto your frontend

---

<div class="post-metadata">

**Author:** ![Matgyver85](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/matgyver85/32/9590_2.png) [@Matgyver85](https://klipper.discourse.group/u/Matgyver85)\
**Post date:** [January 17, 2024, 1:51am UTC](https://klipper.discourse.group/t/feature-request-z-offset-updater/13234/3 "2024-01-17T01:51:08Z")

</div>

Neither of those work when the z\_offsets are automatically commented out by klipper.

![Screenshot 2024-01-16 184914](https://global.discourse-cdn.com/free1/uploads/klipper/original/2X/3/3c29677a4823c4b5ff08dc983b384fff9b2fb4a3.png)

The factor in my OP needs to be updated instead.

Thanks though.

---

<div class="post-metadata">

**Author:** ![EddyMI3D](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/eddymi3d/32/1981_2.png) [@EddyMI3D](https://klipper.discourse.group/u/EddyMI3D)\
**Post date:** [January 17, 2024, 9:13am UTC](https://klipper.discourse.group/t/feature-request-z-offset-updater/13234/4 "2024-01-17T09:13:39Z")

</div>

The actual values appear at the end of the printer.cfg in the `SAVE_CONFIG` section

```auto
...
#*# <---------------------- SAVE_CONFIG ---------------------->
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
#*#
#*# [extruder]
#*# control = pid
#*# pid_kp = 19.730
#*# pid_ki = 0.788
#*# pid_kd = 123.560
#*#
...
#*# [bltouch]
#*# z_offset = 1.740
#*#
...

```

---

<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:** [March 17, 2024, 7:26pm UTC](https://klipper.discourse.group/t/feature-request-z-offset-updater/13234/6 "2024-03-17T19:26:34Z")

</div>

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