Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RFC: Temperature fan Custom control #6840

Closed

Conversation

nefelim4ag
Copy link
Contributor

@nefelim4ag nefelim4ag commented Feb 26, 2025

According to the Discourse, there is a will to implement templates to control fans.

Normal fans can be easily controlled by Gcode, but temperature fans are "not".
There is an implementation, that allows to define of any possible custom logic for the temperature fan.
In the config reference, I added an example of a modified BangBang algorithm.

Thanks.


If it is needed, I can also define the log_fatal() function, to allow users to crash the system if they will, like fan zero rpm.

Implementation inspired by: #6837

@nefelim4ag nefelim4ag force-pushed the temperature-fan-custom branch from 5a76523 to 0a5561b Compare February 26, 2025 23:56
@nefelim4ag nefelim4ag changed the title RFC"Temperature fan Custom Curves RFC: Temperature fan Custom control Feb 26, 2025
Signed-off-by: Timofey Titovets <nefelim4ag@gmail.com>
@nefelim4ag nefelim4ag force-pushed the temperature-fan-custom branch from 0a5561b to f6c6e32 Compare February 27, 2025 00:05
@Sineos
Copy link
Collaborator

Sineos commented Feb 27, 2025

This seems to be already existing. The corresponding PR should be #6695
An example for its usage is here: https://klipper.discourse.group/t/display-template-for-fan-control/20375

@nefelim4ag
Copy link
Contributor Author

Omg,
Thanks @Sineos.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants