CONTROLLER_FAN not obeying idle_timeout

Have a fan to help cool steppers on my Manta M8P, upon stepper activation, voltage to appropriate fan pin is applied and the fan runs. Issue here is that I want the fan to run for 300 seconds after the last stepper in the list (all of them) is idle. However, the actual behavior is that the fan immediately shuts off.

[controller_fan stepper_cooling]
pin: PE5 # Fan3
fan_speed: 1.0
idle_timeout: 300
idle_speed: 0.0
stepper: stepper_x, stepper_y, stepper_z, stepper_z1, stepper_z2, extruder

See Is this a bug ? idle_timeout / controller_fan - #2 by Sineos

Thank you @Sineos and I did read that article prior to making my post…however I still am at a loss. I have no other [idle_timeout] specified in my printer.cfg, thus no global timeout that would be overriding the specific timeout for my controller_fan.

You’ve misconfigured the fan if you want it to remain on for 300 seconds after your steppers are disabled. Either delete the idle_speed setting, or change it to a non zero value. The purpose of that setting is to allow a different fan speed during the idle timeout, not to turn the fan off after the timeout has expired. That happens automatically. This is all explained in the Klipper docs for controller fans.

Thank you for the input! However, I already tried this:

[controller_fan stepper_cooling]
pin: PE5 # Fan3
fan_speed: 1.0
idle_timeout: 300
idle_speed: 0.6
stepper: stepper_x, stepper_y, stepper_z, stepper_z1, stepper_z2, extruder

And the fan still turns off immediately after the stepper(s) are powered down. Do I have something wrong here?

Please upload a log file with this configuration when you had this issue.

klippy.log (314.2 KB)

Here is the log…hopefully that is the one you need, if not please let me know.

Did you restart Klipper after making the change? This what is in your log:

[controller_fan stepper_cooling]
pin = PE5
fan_speed = 1.0
idle_timeout = 300
idle_speed = 0.0
stepper = stepper_x, stepper_y, stepper_z, stepper_z1, stepper_z2, extruder

Strange…Yes did several restarts after making the change to:

stepper

Did a full shutdown/restart and now the fan runs for the 300 seconds after the last stepper was inactive. THANK YOU for your time and assistance!