Heater_generic not supported

Basic Information:

Voron V2:
klippy.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”

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.

[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:

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.

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.

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

Sorry, my fault, forgot the quotes:

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

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.

Just read through this

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?

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.

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

This is the used config:

[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

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

image

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

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

klippy.log (2.0 MB)

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)

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.

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

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.

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

image

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

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

2 Likes