pablogventura / OctoPrint-PowerFailure

29 stars 4 forks source link

from settings to a datafile #2

Closed paukstelis closed 1 year ago

paukstelis commented 1 year ago

This PR adds python3 compatibility for current versions of OctoPrint and transitions the backup writes to a file (powerfailure_recovery.json) in the plugin data directory, instead of continually writing to settings. From my observations this significantly decreases the OctoPrint processing overhead and also enables a more broad array of potential settings to be captured and used in the regenerated gcode.