eyal0 / OctoPrint-TimeToFilament

Display time until next filament change and other time-until-whatever info in OctoPrint
3 stars 1 forks source link

Flakey -- sometimes shows time to filament change, sometimes doesn't #43

Open puterboy opened 1 year ago

puterboy commented 1 year ago

I am finding that the module does not consistently detect filament changes. For example I printed one GCODE generated in Prusa Slicer and it showed up ok. Then I printed essentially the same GCODE but with the filament change moved to one layer higher and it failed to show any time to filament change.

tkunchick commented 1 year ago

I don't know bout prusa slicer, but for Cura, I simply had to remove the carrot ^ from the regex and UI sections and it displays both duration and time pretty accurately.

Update. More testing.

Changed regex to "^M600|M600" to look for both the carrot and to, and seems to work.

started the exact same file printing, and was not giving an estimate or the time again.. with this change, it seemed to find and show both again.