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

Variable not matching my printerconfig #577

Open
lorangthierry opened this issue Dec 28, 2024 · 4 comments
Open

Variable not matching my printerconfig #577

lorangthierry opened this issue Dec 28, 2024 · 4 comments

Comments

@lorangthierry
Copy link

Hi,
I have to replace in mmu_form_tip.cfg the line
{% set orig_fan_speed = printer.fan.speed %}
with
{% set orig_fan_speed = printer['output_pin fan0'].value %}

If not I have a firmware crash when I change the temperature for tip forming.
For an update I have to reset the Git Repo and after the Update I have to redo the changes.
Can I define the printer.fan.speed somewhere else so that I have not to change the read-only file?

@ningpj
Copy link
Contributor

ningpj commented Dec 28, 2024

you can create a copy, rename and modify the tip forming macro to suit.
Set form_tip_macro in mmu_parameters.cfg to the new name of your tip forming macro.

@lorangthierry
Copy link
Author

you can create a copy, rename and modify the tip forming macro to suit. Set form_tip_macro in mmu_parameters.cfg to the new name of your tip forming macro.

Is also a possibility. I think it is easier to change the file after the update. So I don't have to check the original and my version to differences.

@moggieuk
Copy link
Owner

moggieuk commented Jan 6, 2025

@lorangthierry What version of Klipper are you running on. printer.fan.speed is one of the documented ones. Perhaps you can share the fan configuration in your printer.cfg so I can see how it is set up...

@lorangthierry
Copy link
Author

printer.cfg.txt
Here my printer.cfg.
It is a stock Qidi X-Plus3 with Klipper v0.12.0-404-g80d185c9
Maybe the fans are wrong defined in the printer.cfg.
The cfg was downloaded from https://github.com/leadustin

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

No branches or pull requests

3 participants