Help setting up enclosure heating from cure

Basic Information:

Printer Model: ender 3 v2
MCU / Printerboard: btt mini e3 v3
Host / SBC rpi 3b+
klippy.log
klippy (9).zip (2.1 MB)

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:


im still new to klipper and im trying to get my build volume to heat up like the extruder and bed do from cura,this is my cura start code

START_PRINT EXTRUDER_TEMP={material_print_temperature_layer_0} BED_TEMP={material_bed_temperature_layer_0} enclosure_heater={build_volume_temperature}

i thing im stuck with the M141 and M191 macro but im not really sure. the enclosure heater works good from the mailsail UI just cant get it to be automated from cura

thanks

You can simply do something like:

[gcode_macro M141]
gcode:
   SET_HEATER_TEMPERATURE HEATER=enclosure_heater TARGET={params.S}

[gcode_macro M191]
gcode:
   SET_HEATER_TEMPERATURE HEATER=enclosure_heater TARGET={params.S}
   TEMPERATURE_WAIT SENSOR="heater_generic enclosure_heater" MINIMUM={params.S}

thank you that works perfectly now