is it possible to create a button query to shutdown the printer in the End-Gcode?
So that the printer shuts down automatically if the latching button is pressed and if not the printer stays on.
I know this is possible with the reprap firmware but I´m new to klipper and I didn´t find something similar to my problem.
I hope you can help me.
Thanks for your help, I solved my problem.
My plan was to shutdown my printer automatically if the blue button in the picture is pressed and if the button isn´t pressed the printer stays on after the print is finished.
After the print is finished I call the _AUTOSHUTDOWN macro in my End-Gcode.
I hope you understand my concept now.
If you have a better idea to solve my concept let me know