Fan sections are not valid

Basic Information:

Printer Model: DIY Cartesian with Titan Aero Extruder
MCU / Printerboard: BTT SKR V1.3
klippy.log

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:

I have a working printer.cfg file that gets me most of the way to printing my first test cube. However, I cannot get the fan for the heatbreak and for the controller working. Each gets the error:
Section ‘controller_fan’ is not a valid config section
or
Section ‘heater_fan’ is not a valid config section

The section [fan] is working fine. I have tried moving the errant sections to different places in the file but that makes no difference.

Here are the sections that get errors:

[heatbreak_cooling_fan]
[fan_generic]
pin: P2.4
heater: extruder
fan_speed: 1.0
heater_temp: 50.0

[controller_fan]
pin: P1.31
fan_speed: 1.0

klippy_log.zip (240.1 KB)

What am I missing?

You’re pretty close. Check the documentation here.

A heater_fan has to be given a name, and the way you do that is in the section header, like this:

[heater_fan heatbreak_cooling_fan]
pin: P2.4
heater: extruder
fan_speed: 1.0
heater_temp: 50.0

The same thing applies to controller fans, so:

[controller_fan my_controller_fan]
pin: P1.31
fan_speed: 1.0

That was it! I read the example in the documentation and I thought that the two words in brackets were two options for the name of the section as opposed to a section name followed by a heater name.

I’m printing a test cube as we speak…

Thanks

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