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

[Bug]: Extruded Filament not being reflected unless dashboard refreshed.

Open Gozania opened this issue 2 years ago • 11 comments

The problem

  1. As title suggests, filament not being reflected (is being counted) during a print. The only way to see the current extruded filament is to either A) Refresh ocotoprint window. B) Go fullscreen in dashboard (faster than refreshing octoprint instance) C) Go from fullscreen to normal sized dashboard window. It appears anytime the dashboard is refreshed it will show the current amount of filament extruded. Perhaps have this widget "refresh" every 5 seconds or upon every layer completion?

Version of OctoPrint

1.8.0

Platform

Raspbery Pi 4 8GB

Operating system running OctoPrint

Octopi

Dashboard version

1.19.8

Python version

3

Printer model & used firmware incl. version

Ender 3V2 : Jeyers V2.0.2h

Browser and version of browser, operating system running browser

Firefox 100.0.2 (64 Bit)

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)
  • [ ] GCODE file with which to reproduce (always include in case of issues with GCODE analysis or printing behaviour)

File uploads & additional information

octoprint-systeminfo-20220522204952.zip

Before screen refresh after printing for a while Before full screen

After going to fullscreen shortly after first screenshot taken After fullscreen

Gozania avatar May 23 '22 03:05 Gozania

This looks similar to issue #336 which already has a fix ready for the next release.

You can try it out by installing the version from development branch using this url https://github.com/j7126/OctoPrint-Dashboard/archive/development.zip

Please let me know does this solve the problem?

j7126 avatar May 27 '22 03:05 j7126

This looks similar to issue #336 which already has a fix ready for the next release.

You can try it out by installing the version from development branch using this url https://github.com/j7126/OctoPrint-Dashboard/archive/development.zip

Please let me know does this solve the problem?

Did not solve the problem for me. Only thing I noticed is the countdown timer has become laggy. However extruded filament distance still remains the same after almost an hour of time elapsed.

Start of monitoring Screenshot 2022-05-28 005850

End of monitoring Screenshot 2022-05-28 015648

As you can see the extruded filament is the same...

Gozania avatar May 28 '22 08:05 Gozania

For whatever reason it works now...

Gozania avatar Jun 17 '22 07:06 Gozania

Had to reopen this issue... It appears it worked correctly after a full shutdown of the pi (power included). The extruded amount will update and function as it should for the first print after reboot, however every subsequent print the extruded amount stays the same regardless of time elapsed during print.

Having just discovered this, I will attempt to repeat the same result by shutting down the pi fully and starting a print after reboot. Will post findings here.

Gozania avatar Jun 17 '22 18:06 Gozania

Yes, the amount of filament is not updated until page refresh (F5). Trying in Chrome, Firefox ESR, both in latest versions.

ochm avatar Nov 05 '22 12:11 ochm

Hi @Gozania @ochm I have added a new fix to the development branch.

Please reinstall from the development branch and let me know if it is working. https://github.com/j7126/OctoPrint-Dashboard/archive/development.zip (Please note this branch may be unstable)

j7126 avatar Nov 05 '22 13:11 j7126

Hi @Gozania @ochm I have added a new fix to the development branch.

Please reinstall from the development branch and let me know if it is working. https://github.com/j7126/OctoPrint-Dashboard/archive/development.zip (Please note this branch may be unstable)

Looking good so far.... Will report after I start my next print.

Gozania avatar Nov 06 '22 02:11 Gozania

Looks to be working properly now.

Gozania avatar Nov 06 '22 06:11 Gozania

I spoke too soon... The extruded filament has been fixed, it now displays in real time and dont need to refresh between prints. However I have been doing some 2 color prints and the time until filament change is not working... Have done several prints & none of them displayed the time.

Gozania avatar Nov 11 '22 22:11 Gozania

I spoke too soon... The extruded filament has been fixed, it now displays in real time and dont need to refresh between prints. However I have been doing some 2 color prints and the time until filament change is not working... Have done several prints & none of them displayed the time.

@Gozania Please send the gcode file

j7126 avatar Nov 12 '22 00:11 j7126

Here is the Gcode of one of the prints I did. Others were same stl, just different layers at color change. This is the latest that did not reflect a filament change time. Octopus_spiral_sup_v6_4h35m_$1.20266_22.2798g_7.47005m_210C_PLA.zip

Gozania avatar Nov 15 '22 17:11 Gozania