# Save\_config section 'heater\_bed' option 'control' conflicts with included value

**URL:** <https://klipper.discourse.group/t/save-config-section-heater-bed-option-control-conflicts-with-included-value/23325>\
**Category:** General Discussion\
**Created:** [May 7, 2025, 7:34pm UTC](https://klipper.discourse.group/t/save-config-section-heater-bed-option-control-conflicts-with-included-value/23325 "2025-05-07T19:34:09Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![printeruser](https://avatars.discourse-cdn.com/v4/letter/p/ac8455/32.png) [@printeruser](https://klipper.discourse.group/u/printeruser)\
**Post date:** [May 7, 2025, 7:34pm UTC](https://klipper.discourse.group/t/save-config-section-heater-bed-option-control-conflicts-with-included-value/23325/1 "2025-05-07T19:34:09Z")

</div>

### Basic Information:

Printer Model: Prusa i3MK3S+  
 MCU / Printerboard: Einsy  
 Host / SBC RPi 5  
 klippy.log  
[klippy.log](https://klipper.discourse.group/uploads/short-url/g7X5yB96TWltXdq3AWxpFEXvjA3.log) (857.5 KB)

### Describe your issue:

I performed a PID calibration on the E3D 0.4mm High Flow nozzle using:

```auto
PID_CALIBRATE HEATER=extruder TARGET=230
SAVE_CONFIG

```

Then I performed a PID calibration of the heat bed of the Prusa i3MK3S+ using:

`PID_CALIBRATE HEATER=heater_bed TARGET=70`

When I issued a: `SAVE_CONFIG`

I got the following error in red:

`SAVE_CONFIG section 'heater_bed' option 'control' conflicts with included value`

What is the best way to resolve this issue? I read over about 1.5 years ago some people edited some files but others advised against doing it.

While waiting for a solution, I performed a `probe_calibrate` but when I typed `save_config`, the Console showed the same error:

`SAVE_CONFIG section 'heater_bed' option 'control' conflicts with included value`

Looks like until the saving of heat bed is resolved, Klipper does not allow me to perform other tasks that requre me to save the configurations.

---

<div class="post-metadata">

**Author:** ![3dcoded](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/3dcoded/32/20297_2.png) [@3dcoded](https://klipper.discourse.group/u/3dcoded)\
**Post date:** [May 7, 2025, 8:25pm UTC](https://klipper.discourse.group/t/save-config-section-heater-bed-option-control-conflicts-with-included-value/23325/2 "2025-05-07T20:25:57Z")

</div>

Hi @printeruser ,

This typically happens when there’s a line like this in your `SAVE_CONFIG` section.

```kcfg
#*# [heater_bed]
#*# ...
#*# control = watermark

```

Can you try replacing the last line with:

```kcfg
#*# control = pid

```

---

<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:** [May 7, 2025, 8:33pm UTC](https://klipper.discourse.group/t/save-config-section-heater-bed-option-control-conflicts-with-included-value/23325/3 "2025-05-07T20:33:06Z")

</div>

See [SAVE\_CONFIG section 'bltouch' option 'z\_offset' conflicts with included value](https://klipper.discourse.group/t/save-config-section-bltouch-option-z-offset-conflicts-with-included-value/6640)

---

<div class="post-metadata">

**Author:** ![printeruser](https://avatars.discourse-cdn.com/v4/letter/p/ac8455/32.png) [@printeruser](https://klipper.discourse.group/u/printeruser)\
**Post date:** [May 7, 2025, 9:02pm UTC](https://klipper.discourse.group/t/save-config-section-heater-bed-option-control-conflicts-with-included-value/23325/4 "2025-05-07T21:02:04Z")

</div>

Which file is that? In my printer.cfg, under the SAVE\_CONFIG section at the bottom, I only have:  
There is no heater\_bed section.

```auto
#*# <---------------------- SAVE_CONFIG ---------------------->
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
#*#
#*# [extruder]
#*# control = pid
#*# pid_kp = 25.489
#*# pid_ki = 2.427
#*# pid_kd = 66.908
#*#
#*# [bed_mesh default1]
#*# version = 1
#*# points =
#*# -0.081667, -0.047500, -0.030000, -0.062778, -0.110833, -0.198333, -0.307917
#*# 0.032500, 0.057500, 0.035833, -0.005208, -0.034167, -0.140833, -0.361667
#*# 0.028333, 0.044167, 0.030833, -0.004792, -0.010833, -0.095000, -0.310000
#*# 0.049444, 0.055833, 0.038125, -0.000833, -0.040833, -0.063333, -0.307500
#*# 0.073333, 0.118333, 0.073333, -0.020000, -0.030000, -0.100000, -0.328333
#*# 0.021667, 0.035833, -0.009167, -0.068125, -0.141667, -0.245000, -0.397500
#*# -0.064167, -0.052500, -0.071667, -0.082500, -0.192500, -0.323611, -0.452500
#*# x_count = 7
#*# y_count = 7
#*# mesh_x_pps = 3
#*# mesh_y_pps = 3
#*# algo = bicubic
#*# tension = 0.2
#*# min_x = 24.0
#*# max_x = 228.0
#*# min_y = 6.0
#*# max_y = 210.0
#*#
#*# [probe]
#*# z_offset = 2.031
#*#
#*# [input_shaper]
#*# shaper_type_x = ei
#*# shaper_freq_x = 40.8
#*# shaper_type_y = mzv
#*# shaper_freq_y = 35.2

```

---

<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:** [May 7, 2025, 9:09pm UTC](https://klipper.discourse.group/t/save-config-section-heater-bed-option-control-conflicts-with-included-value/23325/5 "2025-05-07T21:09:44Z")

</div>

> [@printeruser](#):
>
> Which file is that?

There is no separate file where the config\_block is stored.

> [@printeruser](#):
>
> SAVE\_CONFIG section ‘heater\_bed’ option ‘control’ conflicts with included value

For this error, not heater\_bed section is stored in the config\_block.

It has been stored before:

```auto
The SAVE_CONFIG command will update the printer config file
with these parameters and restart the printer.
save_config: set [heater_bed] control = pid
save_config: set [heater_bed] pid_Kp = 57.535
save_config: set [heater_bed] pid_Ki = 0.864
save_config: set [heater_bed] pid_Kd = 957.954

```

So maybe something has been changed in the printer.cfg.

Please attach the complete printer.cfg as a file to your next post.

---

<div class="post-metadata">

**Author:** ![printeruser](https://avatars.discourse-cdn.com/v4/letter/p/ac8455/32.png) [@printeruser](https://klipper.discourse.group/u/printeruser)\
**Post date:** [May 7, 2025, 9:55pm UTC](https://klipper.discourse.group/t/save-config-section-heater-bed-option-control-conflicts-with-included-value/23325/6 "2025-05-07T21:55:26Z")

</div>

Enclosed is the printer.cfg file under printer\_data/config/. Thank you

[printer.cfg](https://klipper.discourse.group/uploads/short-url/1RyQ6EPuI2HUTmuWrAE4f4Q3CGZ.cfg) (7.1 KB)

---

<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:** [May 7, 2025, 10:05pm UTC](https://klipper.discourse.group/t/save-config-section-heater-bed-option-control-conflicts-with-included-value/23325/7 "2025-05-07T22:05:04Z")

</div>

> [@Sineos](#):
>
> See [SAVE\_CONFIG section ‘bltouch’ option ‘z\_offset’ conflicts with included value](https://klipper.discourse.group/t/save-config-section-bltouch-option-z-offset-conflicts-with-included-value/6640)

And again. See the description in the link. You have relevant parameters (in this case, regarding the heated bed) in an included file, and Klipper cannot update them on a `SAVE_CONFIG` command.

---

<div class="post-metadata">

**Author:** ![printeruser](https://avatars.discourse-cdn.com/v4/letter/p/ac8455/32.png) [@printeruser](https://klipper.discourse.group/u/printeruser)\
**Post date:** [May 7, 2025, 11:08pm UTC](https://klipper.discourse.group/t/save-config-section-heater-bed-option-control-conflicts-with-included-value/23325/8 "2025-05-07T23:08:13Z")

</div>

How to revert the change properly? Is there a command on the Console that can do that?  
Heatbed PID is not so important to me so I don’t have to do it.

What is the reason that Klipper cannot update them on a `SAVE_CONFIG` command?

Anyway, thanks for your direction. I found a block of heater\_bed related code in:  
klipper-prusa-nk3s/mk3s/einsy-rambo.cfg which is included in printer.cfg

```auto
[heater_bed]
heater_pin: PG5
sensor_type: EPCOS 100K B57560G104F
sensor_pin: PF2
control: pid
pid_Kp: 52.924
pid_Ki: 0.661
pid_Kd: 1059.794
min_temp: 0
max_temp: 125

```

but at the top of the file, there is a message:

```auto
# WARNING. DO NOT EDIT THIS FILE.
# To override settings from this file, you can copy and paste the relevant
# sections into your printer.cfg and change it there.

```

Under mainsail, this file is (read-only) even in the past, I chmod 777 it on a terminal. I did that again to enable write. However, under Console, executing

> save\_config

still produced that error.

---

<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:** [May 8, 2025, 6:54am UTC](https://klipper.discourse.group/t/save-config-section-heater-bed-option-control-conflicts-with-included-value/23325/9 "2025-05-08T06:54:32Z")

</div>

> [@printeruser](#):
>
> Is there a command on the Console that can do that?

No, the error is caused by the way the configuration is structured and set up. How should a “console command” fix this?

> [@printeruser](#):
>
> Heatbed PID is not so important to me so I don’t have to do it.

It should be. A stable bed temperature has a significant impact on the print quality

> [@printeruser](#):
>
> How to revert the change properly?

In my not-so-humble opinion, the configuration is a mess:

- Logical errors like the ones leading to this issue. Other fine-tuning commands might run into the same issue, depending on the entire “modularity mess.”
- A lot of questionable settings, including but not limited to `max_extrude_cross_section = 50.0`, which are typically set by users who may not fully understand their implications.
- Very intensive TMC tuning that I cannot comment on, but based on what I see, I would have some doubts about their validity (though I cannot prove them wrong). Just be aware that such settings need to be 120% correct, or their effects are likely detrimental.
- The whole configuration setup seems opaque and obfuscated.

As I will not rewrite your configuration, the easiest approach is probably to add the following somewhere below the `einsy-rambo.cfg` include:

```kcfg
[heater_bed]
control = pid
pid_kp = 52.924
pid_ki = 0.661
pid_kd = 1059.794

```

This should at least resolve this error.

---

<div class="post-metadata">

**Author:** ![printeruser](https://avatars.discourse-cdn.com/v4/letter/p/ac8455/32.png) [@printeruser](https://klipper.discourse.group/u/printeruser)\
**Post date:** [May 8, 2025, 2:40pm UTC](https://klipper.discourse.group/t/save-config-section-heater-bed-option-control-conflicts-with-included-value/23325/10 "2025-05-08T14:40:32Z")

</div>

Thanks for checking.

In regard to those messy configurations you mentioned, they were all made by the developers of:  
[dz0ny/klipper-prusa-mk3s: Structured Klipper config for Prusa MK3s 3D printer](https://github.com/dz0ny/klipper-prusa-mk3s)

Before I installed Klipper, I asked around and some Prusa users recommended that site probably because it is for those Prusa users with an Einsy board.

Is there a better procedure to install Klipper on Prusa i3MK3S+? Perhaps I should start everything all over again using another approach. Another possibility is to get another board and follow the steps of a better supported site for that board.

My impression is that some github codes may have issues. By using codes from different github sites to add features, it may lead to more issues. That is why I disabled FLAP, KAMP, etc.

---

<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:** [May 8, 2025, 7:13pm UTC](https://klipper.discourse.group/t/save-config-section-heater-bed-option-control-conflicts-with-included-value/23325/11 "2025-05-08T19:13:19Z")

</div>

Well, it takes some experience and a lot of reading to fine-tune a Klipper configuration. As such, starting with a pre-made one absolutely makes sense. Some are better than others, and some decisions depend on personal preferences.

Personally, I loathe the almost neurotic usage of includes, as they tend to obfuscate the configurations and make it hard for users to grasp the big picture.

If the configuration is working for you, learn from it, gain some experience, and then start optimizing to your own liking.

---

<div class="post-metadata">

**Author:** ![printeruser](https://avatars.discourse-cdn.com/v4/letter/p/ac8455/32.png) [@printeruser](https://klipper.discourse.group/u/printeruser)\
**Post date:** [May 9, 2025, 7:41pm UTC](https://klipper.discourse.group/t/save-config-section-heater-bed-option-control-conflicts-with-included-value/23325/12 "2025-05-09T19:41:12Z")

</div>

Do you mean adding the heater\_bed block you mentioned below the include to einsy-rambo.cfg?

```auto
### CONTROL BOARD
[include klipper-prusa-mk3s/mk3s/einsy-rambo.cfg]

# Add to avoid bug in pid heat bed
[heater_bed]
control = pid
pid_kp = 52.924
pid_ki = 0.661
pid_kd = 1059.794

```

Tired it but the problem remains.

---

<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:** [May 10, 2025, 7:22am UTC](https://klipper.discourse.group/t/save-config-section-heater-bed-option-control-conflicts-with-included-value/23325/13 "2025-05-10T07:22:29Z")

</div>

> [@printeruser](#):
>
> Tired it but the problem remains.

This is indeed strange. Could you try:

```kcfg
### CONTROL BOARD
[include klipper-prusa-mk3s/mk3s/einsy-rambo.cfg]

# Add to avoid bug in pid heat bed
[heater_bed]
min_temp: 0
control: pid
pid_kp: 52.924
pid_ki: 0.661
pid_kd: 1059.794

```

If this does not work, then please attach:

- All the relevant `.cfg` files
- `klippy.log`

---

<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:** [July 9, 2025, 7:22am UTC](https://klipper.discourse.group/t/save-config-section-heater-bed-option-control-conflicts-with-included-value/23325/14 "2025-07-09T07:22:46Z")

</div>

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