Closed mattcalavera closed 1 year ago
The recovery file will be generated once the printer is reconnected to the server.
So it is supposed to work by generating a new file, which we have to manually print? What’s the name of the new file?
The file name is recovery_thefileyouwereprinting.gcode
. Take a look at the plugin settings. It describes everything. You also need to check if you have to set Z_HOMING_HEIGHT.
Ok thanks
excuse me, but I cannot find file....i search all over the file sistem... where is supposed to save file?
I try more metodically today. I started a simply print (an oval test), and after a while layers unplug pi power : ) Immediately printer stops ) I plug in power *) octoprint restart
)I enter via terminal and look for recovery file : XX@XXXXXX:~/.octoprint/data/powerfailure $ cat powerfailure_recovery.json XX@XXXXXX:~/.octoprint/data/powerfailure $ Empty file
)I enter via terminal and search for a file name named r o R :
XX@XXXXXX:/ $ sudo find -name R.gcode ./home/XX/.octoprint/uploads/FLSUN SR/TESTs/retraction/Retract_PETG_2mm.gcode ./home/XX/.octoprint/uploads/FLSUN SR/TESTs/retraction/Retract_PLA_2mm.gcode ./home/XX/.octoprint/uploads/FLSUN SR/TESTs/retraction/Retract_PLA_220_3mm.gcode ./home/XX/.octoprint/uploads/FLSUN SR/TESTs/retraction/Retract_PLA_1mm.gcode ./home/XX/.octoprint/uploads/FLSUN SR/TESTs/retraction/Retract_PETG_3mm.gcode ./home/XX/.octoprint/uploads/FLSUN SR/TESTs/retraction/Retract_PETG_1mm.gcode ./home/XX/.octoprint/uploads/FLSUN SR/TESTs/retraction/Retract_PLA_3mm.gcode XX@XXXXXX:/ $ sudo find -name r.gcode XX@XXXXXX:/ $
No recovery file
But, if I only power off the printer while the pi continue working all goes ok.... any ideas why?
Let's start with simple example.
cat ~/.octoprint/data/powerfailure/powerfailure_recovery.json
Yes, I confirm : the script work
The octoprint server stop during a print. In the directory where the plugin save position there was correctly last state saved as a json file : ~/.octoprint/data/powerfailure $ cat powerfailure_recovery.json { "bedT": 70.0, "tool0T": 235.0, "filepos": 29313854, "filename": "PETG_SILICA50NOCORE_x3.gcode", "currentZ": 36.05, "last_X": 70.845, "last_Y": 100.787, "recovery": true, "powerloss": true, "extruder": 204.99197, "extrusion": "M82", "feedrate": 2442.6, "last_fan": "M106 S255", "linear_advance": null
But next mornign when i restart server I cannot see no way to get the printer resume the work! How it is supposed to happen?