# Heater\_generic not supported

**URL:** <https://klipper.discourse.group/t/heater-generic-not-supported/9070>\
**Category:** General Discussion\
**Created:** [June 21, 2023, 3:52am UTC](https://klipper.discourse.group/t/heater-generic-not-supported/9070 "2023-06-21T03:52:53Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![telxoid](https://avatars.discourse-cdn.com/v4/letter/t/e0b2c6/32.png) [@telxoid](https://klipper.discourse.group/u/telxoid)\
**Post date:** [June 21, 2023, 3:52am UTC](https://klipper.discourse.group/t/heater-generic-not-supported/9070/1 "2023-06-21T03:52:53Z")

</div>

### Basic Information:

Voron V2:  
[klippy.log](https://klipper.discourse.group/uploads/short-url/axbCkePtNmZk2mzr6Z5TA7PXk6Z.log) (1.3 MB)  
 SKR 1.3:

Defined heater\_generic section to PID support/control bed fans. GCODE and GUI attempts at controlling results in “Heater heater\_chamber not supported”

```auto
list_sensors
heater_generic heater_chamber, heater_bed, extruder
SET_HEATER_TEMPERATURE HEATER=heater_chamber TARGET=50
Heater heater_chamber not supported

```

I’m sure I’m doing something stupid, but I can’t see it. Thanks for your help.

---

<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:** [June 21, 2023, 4:26am UTC](https://klipper.discourse.group/t/heater-generic-not-supported/9070/2 "2023-06-21T04:26:52Z")

</div>

```auto
[gcode_macro SET_CHAMBER]
gcode = 
	{% set chamber_target = params.CHAMBER_TEMP|default(0)|float %}
	SET_HEATER_TEMPERATURE heater=heater_chamber target={chamber_target}

```

You need to modify your set command to include the complete heater name:

```auto
SET_HEATER_TEMPERATURE heater=heater_generic heater_chamber target={chamber_target}

```

Also, instead of using PID control for such a heater, a watermark control might give you better results.

---

<div class="post-metadata">

**Author:** ![telxoid](https://avatars.discourse-cdn.com/v4/letter/t/e0b2c6/32.png) [@telxoid](https://klipper.discourse.group/u/telxoid)\
**Post date:** [June 21, 2023, 4:45am UTC](https://klipper.discourse.group/t/heater-generic-not-supported/9070/3 "2023-06-21T04:45:45Z")

</div>

Thanks for that–I did try that previously. That being said, attempting to set via Mainsail GUI, or by using the suggested command doesn’t work either.

```auto
10:44 PM
Malformed command 'set_heater_temperature heater=heater_generic heater_chamber target=65'
10:44 PM
set_heater_temperature heater=heater_generic heater_chamber target=65
10:42 PM
Heater heater_chamber not supported
10:42 PM
SET_HEATER_TEMPERATURE HEATER=heater_chamber TARGET=50

```

---

<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:** [June 21, 2023, 5:10am UTC](https://klipper.discourse.group/t/heater-generic-not-supported/9070/4 "2023-06-21T05:10:11Z")

</div>

Sorry, my fault, forgot the quotes:

```auto
SET_HEATER_TEMPERATURE HEATER="heater_generic heater_chamber" TARGET=<target_temperature>]

```

---

<div class="post-metadata">

**Author:** ![telxoid](https://avatars.discourse-cdn.com/v4/letter/t/e0b2c6/32.png) [@telxoid](https://klipper.discourse.group/u/telxoid)\
**Post date:** [June 21, 2023, 1:35pm UTC](https://klipper.discourse.group/t/heater-generic-not-supported/9070/5 "2023-06-21T13:35:51Z")

</div>

No change. If I try that at the console, it still shows the same. Tried single and double quotes just in case there was a difference.

 ![image](https://global.discourse-cdn.com/free1/uploads/klipper/original/2X/3/39544e57ca4dd8b6de6b64549d9f148481d7ce1e.png)

---

<div class="post-metadata">

**Author:** ![LifeOfBrian](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/lifeofbrian/32/2380_2.png) [@LifeOfBrian](https://klipper.discourse.group/u/LifeOfBrian)\
**Post date:** [June 21, 2023, 3:31pm UTC](https://klipper.discourse.group/t/heater-generic-not-supported/9070/6 "2023-06-21T15:31:33Z")

</div>

Just read through this

> <https://github.com/Klipper3d/klipper/pull/2159>
>
> This gives access to a list of available heater names in gcode macros as printer….heater.available\_heaters (Edited after change of implementation, see conversation below)
> 
> Signed-off-by: Simon Kühling \<mail@simonkuehling.de\>

and it should work with double quotes as @Sineos wrote.

However could you please try setting **min\_temp** of the generic heater to just 0 and not to absolute zero?

---

<div class="post-metadata">

**Author:** ![telxoid](https://avatars.discourse-cdn.com/v4/letter/t/e0b2c6/32.png) [@telxoid](https://klipper.discourse.group/u/telxoid)\
**Post date:** [June 21, 2023, 3:50pm UTC](https://klipper.discourse.group/t/heater-generic-not-supported/9070/7 "2023-06-21T15:50:55Z")

</div>

I saw that as well. Additionally, I used a set of configurations/macros from another person who had a working configuration, who validated mine. That person was using the macro setup the way I originally had mine set: This is my current configuration…no change in performance.

Its as if heater\_chamber is not even in the config.

 ![image](https://global.discourse-cdn.com/free1/uploads/klipper/original/2X/9/9d75febc00ad0a78916b4b8d6031996ae25b1d15.png)

---

<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:** [June 21, 2023, 5:29pm UTC](https://klipper.discourse.group/t/heater-generic-not-supported/9070/8 "2023-06-21T17:29:03Z")

</div>

![grafik](https://global.discourse-cdn.com/free1/uploads/klipper/original/2X/1/1f186e87b372b6d58e04c64389ca12430cbe239e.png)

Again sorry: The correct command is:  
`SET_HEATER_TEMPERATURE HEATER=test TARGET=30`

This is the used config:

```auto
[heater_generic test]
gcode_id: C
heater_pin: P1.27
max_power: 1.0
sensor_type: Generic 3950
sensor_pin: P0.23
control: watermark
min_temp: 0
max_temp: 130

```

Edit: Of course, does not fit yours. It was just a quick mock-up on one of my printers

---

<div class="post-metadata">

**Author:** ![telxoid](https://avatars.discourse-cdn.com/v4/letter/t/e0b2c6/32.png) [@telxoid](https://klipper.discourse.group/u/telxoid)\
**Post date:** [June 21, 2023, 5:48pm UTC](https://klipper.discourse.group/t/heater-generic-not-supported/9070/9 "2023-06-21T17:48:17Z")

</div>

Thanks @Sineos. I replicated your configuration, save for pins into my config and commented out what I had. Still the same issue:

![image](https://global.discourse-cdn.com/free1/uploads/klipper/original/2X/d/d84ec857af83a032f395ccde4f730daa3bdeaccf.png)

---

<div class="post-metadata">

**Author:** ![telxoid](https://avatars.discourse-cdn.com/v4/letter/t/e0b2c6/32.png) [@telxoid](https://klipper.discourse.group/u/telxoid)\
**Post date:** [June 21, 2023, 5:49pm UTC](https://klipper.discourse.group/t/heater-generic-not-supported/9070/10 "2023-06-21T17:49:05Z")

</div>

![image](https://global.discourse-cdn.com/free1/uploads/klipper/original/2X/a/a51780c649a5e32d976fd70ead56e84d9f2be62b.png)

---

<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:** [June 21, 2023, 5:50pm UTC](https://klipper.discourse.group/t/heater-generic-not-supported/9070/11 "2023-06-21T17:50:54Z")

</div>

Please provide a current `klippy.log`  
That aside, I’m definitively running out of ideas.

---

<div class="post-metadata">

**Author:** ![telxoid](https://avatars.discourse-cdn.com/v4/letter/t/e0b2c6/32.png) [@telxoid](https://klipper.discourse.group/u/telxoid)\
**Post date:** [June 21, 2023, 5:52pm UTC](https://klipper.discourse.group/t/heater-generic-not-supported/9070/12 "2023-06-21T17:52:55Z")

</div>

You and me both. This seems that it should be easy.

[klippy.log](https://klipper.discourse.group/uploads/short-url/3v2c1fK0xEKKNqz4hE2kEcoUyiI.log) (2.0 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:** [June 21, 2023, 5:58pm UTC](https://klipper.discourse.group/t/heater-generic-not-supported/9070/13 "2023-06-21T17:58:46Z")

</div>

What is [mcu z]? Have you tried a different pin, e.g. on the main MCU (sorry, this sounds like and probably is a quite desperate approach)

---

<div class="post-metadata">

**Author:** ![telxoid](https://avatars.discourse-cdn.com/v4/letter/t/e0b2c6/32.png) [@telxoid](https://klipper.discourse.group/u/telxoid)\
**Post date:** [June 21, 2023, 6:03pm UTC](https://klipper.discourse.group/t/heater-generic-not-supported/9070/14 "2023-06-21T18:03:54Z")

</div>

This is a Voron V2…[mcu z] is an SKR 1.3, and controls the 4 Z drives. The “main” MCU is my Huvud toolhead board, so connecting these fans/inputs is not really an option. FWIW, the config I copied from had heater pin on the [mcu z] and senson pin on the “main” MCU.

---

<div class="post-metadata">

**Author:** ![telxoid](https://avatars.discourse-cdn.com/v4/letter/t/e0b2c6/32.png) [@telxoid](https://klipper.discourse.group/u/telxoid)\
**Post date:** [June 21, 2023, 6:05pm UTC](https://klipper.discourse.group/t/heater-generic-not-supported/9070/15 "2023-06-21T18:05:36Z")

</div>

I’ve not tried different pins…I could maybe find a pin to try, but not move connections.

---

<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:** [June 21, 2023, 6:11pm UTC](https://klipper.discourse.group/t/heater-generic-not-supported/9070/16 "2023-06-21T18:11:42Z")

</div>

Well, as a mock-up you can use virtually any pin. For my test above, I just repurposed one thermistor and used a Z-endstop pin as the simulated heater pin.

---

<div class="post-metadata">

**Author:** ![telxoid](https://avatars.discourse-cdn.com/v4/letter/t/e0b2c6/32.png) [@telxoid](https://klipper.discourse.group/u/telxoid)\
**Post date:** [June 21, 2023, 6:17pm UTC](https://klipper.discourse.group/t/heater-generic-not-supported/9070/17 "2023-06-21T18:17:24Z")

</div>

Yup. Did it with two pins off the TH board (main MCU). No change:

![image](https://global.discourse-cdn.com/free1/uploads/klipper/original/2X/f/f592e2f0e678502d4560db3183bbb41c320e664d.png)

---

<div class="post-metadata">

**Author:** ![telxoid](https://avatars.discourse-cdn.com/v4/letter/t/e0b2c6/32.png) [@telxoid](https://klipper.discourse.group/u/telxoid)\
**Post date:** [June 21, 2023, 6:18pm UTC](https://klipper.discourse.group/t/heater-generic-not-supported/9070/18 "2023-06-21T18:18:28Z")

</div>

![image](https://global.discourse-cdn.com/free1/uploads/klipper/original/2X/6/6e27f4c897f2fab68c9be0eb1161ed12a684010e.png)

---

<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:** [June 21, 2023, 6:19pm UTC](https://klipper.discourse.group/t/heater-generic-not-supported/9070/19 "2023-06-21T18:19:51Z")

</div>

Ok, I have to give up on this.  
Maybe the Klipper Grand Master @koconnor can spare some time to provide a hint.

---

<div class="post-metadata">

**Author:** ![koconnor](https://avatars.discourse-cdn.com/v4/letter/k/aca169/32.png) [@koconnor](https://klipper.discourse.group/u/koconnor)\
**Post date:** [June 22, 2023, 3:54am UTC](https://klipper.discourse.group/t/heater-generic-not-supported/9070/20 "2023-06-22T03:54:06Z")

</div>

Well, you’ve defined a `[gcode_macro SET_HEATER_TEMPERATURE]` section that overrides the internal `SET_HEATER_TEMPERATURE` and explicitly checks for just “extruder” and “heater\_bed”…

I’m guessing you grabbed some macros from somewhere. You’ll need to review them and perhaps choose some alternative.

-Kevin

[Next page](https://klipper.discourse.group/t/heater-generic-not-supported/9070.md?page=2)
