OctoPrint-Dashboard icon indicating copy to clipboard operation
OctoPrint-Dashboard copied to clipboard

[Bug]: Next Filament Change value doesn't make sense

Open luizbgomide opened this issue 2 years ago • 2 comments

The problem

The value displayed in Next Filament Change doesn't make sense, I printed a lot of files with multiple filament changes and in all cases the value was either too short, or too long. I'm not even sure if it is showing time TO change or time OF change, it is very wrong in either case.

By comparison, the plugin TimeToFilament shows the values correctly and accurately (it uses PrintTimeGenius).

Version of OctoPrint

1.8.1

Platform

Raspberry Pi 3b

Operating system running OctoPrint

Octopi 0.18.0

Dashboard version

1.19.8

Python version

No response

Printer model & used firmware incl. version

Not applicable

Browser and version of browser, operating system running browser

Chrome lastest version

Logs and other files needed for analysis

  • [X] Systeminfo Bundle (always include!) See here if you don't know where to find that.
  • [x] Screenshots and/or videos showing the problem (always include in case of issues with the user interface)
  • [x] GCODE file with which to reproduce (always include in case of issues with GCODE analysis or printing behaviour)

File uploads & additional information

octoprint-systeminfo-20220607222355.zip

Here is a screenshot 23:52 doesn't mean anything here. The next change will happen at around 05:00 and that is something like six and half hours from now. Screenshot_2022-06-07-22-26-01-454_com android chrome

luizbgomide avatar Jun 08 '22 01:06 luizbgomide

Here is a Gcode that exhibit the behavior Corporate Stronghold (Silver Brown Silver) zhop.zip .

luizbgomide avatar Jul 10 '22 19:07 luizbgomide

I have found the same problem. My next filament change is in about 3 hours (which TimeToFilament gets right) but dashboard shows 20:58 (as in 20hrs, 58minutes).

Seems very broken...

puterboy avatar Aug 26 '22 06:08 puterboy

I will have a look at how TimeToFilament does it

j7126 avatar Oct 30 '22 09:10 j7126

I have created a fix, it will be included in the next release. If you want to try it out before then, you can install the development branch using this url https://github.com/j7126/OctoPrint-Dashboard/archive/development.zip Please note that this branch may be unstable.

j7126 avatar Oct 30 '22 12:10 j7126

Thanks, if I install the development branch will it auto-update when a new version is released?

luizbgomide avatar Oct 31 '22 11:10 luizbgomide

Yes

j7126 avatar Oct 31 '22 11:10 j7126