Suggestion: Printing Time Estimates

My Suggestion

I would like to propose an update to Octoprint, to improve accuracy of total and layer print estimates.

The estimates can be made a lot more accurate by:

  1. At start of print job, counting the total number of GCode commands
  2. Constantly measuring actual time taken to print each layer
  3. Maintaining an internal mathematical model of average GCode commands per second, and keeping this model updated
  4. Updating the displayed time estimates -- total print time, and layer print time, based on the empirical average of GCode commands executed per second

Also, it would be great to have displayed estimates of:

  • Total filament required, in metres
  • Remaining filament required, in metres, to complete the current job
  • Average filament consumption rate, in metres per hour

What is the problem?

When printing to my Creality CR-10 Max, the time estimates given by OctoPrint UI (both total print time and layer print times) are very inaccurate for almost the entire print.

The total print time only starts converging to accuracy when the print is almost complete.

What did you already try to solve it?

I work around the problem by using a stopwatch to measure how long each layer takes to print, then comparing that with the Octoprint layer print time estimate, and converting this to a multiplier.

Have you tried running in safe mode?

I don't think this is applicable. Octoprint works, and it's just a time estimates calculation problem.

Did running in safe mode solve the problem?

Not applicable.

Systeminfo Bundle

You can download this in OctoPrint's System Information dialog ... no bundle, no support!)
Zip file is here available to download

Additional information about your setup

OctoPrint version, OctoPi version, printer, firmware, browser, operating system, ... as much data as possible

Nothing else afaik

You might try https://github.com/eyal0/OctoPrint-PrintTimeGenius.

1 Like

plugin

Tried it. But I don't understand the conflicting results.

  • What did the slicer promote as print time?
  • How often did you use PTG? It needs some prints to learn for estimating better results.

Accurate estimating of the print time is not a simple task. Search this forum for "print time estimate" and enjoy your read. In particular, https://community.octoprint.org/t/print-time-estimates-wildly-inaccurate/1896/5 has some useful information.

Bottom line is that OctoPrint itself probably isn't going to be changed but you are welcome to implement your suggestion as a plugin as the hooks to do so are already present.