Here is a web-based GUI tool to help you restart your print after a power loss.
The tool can be found on my GitHub:
Basically, a Python script to edit the gcode file on your Klipper host, then load it to reprint. There is no magic snake oil here. Just saves time downloading the gcode and manually editing it.
I have used this MANY times to save my butt. 99.9% of my prints are 26hr+, and I am in Florida. Power goes out all the time in summer.
You will need to figure out a custom homing solution for your setup. The script strips the G28, you will need to find Z0to start with. I have a 600mm bed, so I got room to play with. The console will output the IP address to open the GUI.
While the GUI server is running, you will NOT be able to do anything in Klipper. You will need to wait for the server to time out or use the terminate button to regain control of Klipper.
Read the repo readme, test it BEFORE you need to really use it!
So, how do you know what line to start from if the UI does not say?
This script helps with that by inputting the current height of the print and telling the user the closest Z layer number to start from. You move the print towards the nozzle, place the nozzle over a shell or support to get the estimated current print progress height.
When your UPS detects the power loss, you store the value of printer.virtual_sdcard.file_position, which is the line of the gcode file that is currently printed and other values you need like temperatures.
then you properly shutdown your linux host.
when power is back up, you call a macro that restores the temperatures, fan speed, etc and continues the print.
I have a moving bed, 600mmx600mm. The second the UPS loses power the bed drops like a rock. There are steps I need to do to get the Z height back to where it needs to be, and this is all 100% manual.
So I will continue to use my script, as it works great for me! So use it or don’t.
I apologize for encumbering the community with my inconsequential prattle.