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

Next Filament change - incorrect for the next change

Open AlexVercammen opened this issue 1 year ago • 3 comments

First of all, I love your plug-in. But I've noticed the next filament changes ETA seems incorrect and I would imagine for any subsequent changes. I have looked at the python code but I don't know how to look into the locally saved data captured by the code to understand what is happening. If you tell me how to look for it, I would gladly investigate the issue and be more helpful. I am just an occasional programmer nowadays and I have not invested a lot of time into learning OctoPrint plug-in management. I have included the file I found the issue with. OctaTwist_Octagonal-3C_PLA_06mm.zip

AlexVercammen avatar Mar 18 '23 14:03 AlexVercammen

I have noticed this is expressed as hours and minutes until next change. If you have "Use 12 hour time for ETA" selected in options, it displays it as a time, rather than a duration.

Would suggest changing so it is always expressed as a duration remaining, or some how do the fancy math to show a time expected for change.

i am not a programmer, no idea how to do either.

tkunchick avatar Jun 26 '23 15:06 tkunchick

Cool, I'll try setup to a 12hour ETA since I would prefer a estimated time. The issue is when you have more than 1 filament change as the 1st change is finished, the next ETA (duration) is wrong. I can see the program parsing the file for the Filament Change code. But I don't understand how to locate the temporary file to validate the parsed values which should be an array like this [(1, 00:01:00), (2, 00:05:00), (3, 00:14:30). Then, I need to check the code and make sure it is refreshing the displayed ETA using the correct pair from the array. I have not worked on this since March, my initial posting.

AlexVercammen avatar Jun 27 '23 22:06 AlexVercammen

Hi, this may be related to #347 which should be fixed in the latest 1.19.10 release. Can you please let me know if this issue is still present in this version?

j7126 avatar Jul 25 '23 02:07 j7126