[Feature Request] Update estimated print time for new print notifications
Opened this issue · 2 comments
I'm not sure what the right approach to this is, but:
For new prints, my notifications rarely if ever display the estimated print time, unless I'm reprinting gcode which has been analyzed earlier.
For most prints, my octoslack notifications show "Estimated print time: N/A". If I enable notifications for metadata analysis complete, I get notifications for every uploaded file, even if they're not going to be printed, and because I'm using the PrintTimeGenius plugin, I get two of these notifications back to back.
Instead, it would be nice if the existing print started notification could be updated using the slack api once an updated estimate was available.
Not sure if there's a better approach though, any suggestions?
Hi @Billiam
Do you still see these issues? If so, let me know and we'll kick off a discussion to see what can be done.
I see these issues with Print started
notifications for Prusa MK3S printers.
ETA availability depends on print start method.
- Drag file to OctoPrint web UI and start print there: ETA shown.
- PrusaSlicer send to OctoPrint feature: Most often
ETA N/A
. - Start print from SD-card via Prusa printer LCD menu: ETA never shown.
2. PrusaSlicer send to OctoPrint feature
Here prints start before file metadata analysis finish.
To reproduce that enable Octoslack notifications for Print started
[PS], File analysis started
[FAS] and File analysis finished
[FAF] and then print from PrusaSlicer.
The result depends on the OctoPrint analyze gcode setting:
- If set to
only when idle (not when printing)
we get notifications FAS followed by PS withETA N/A
. No FAF. - If set to
always
we get FAS, PS withETA N/A
and finally also FAF with correct ETA.
This FAF workaround is not ideal. Because a FAF notification shows every time we drag a file into OctoPrint web UI, even if we plan to start the print at a later time or decide not to print it.
Better workaround: Set a custom Octoslack notification for GCODE line G80 (mesh bed leveling start). Because G80 always runs on Prusa MK3S, runs only once and by that time file analysis has had time to finish so the notification shows ETA correctly.
I suppose a real fix would delay print start until file analysis finish? Which might also require changes to PrusaSlicer and/or OctoPrint? Edit: Alternatively, and perhaps implementable in Octoslack alone, some kind of ETA available?
conditional for notifications. For example if at the time of Print started
notification ETA was N/A then Octoslack schedules an ETA update notification one minute later, if ETA information is available by then.
3. Start print from SD-card via Prusa printer LCD menu
I have found no workarounds here. About a minute into the print the OctoPrint UI updates to show (shortened) print file name and duration. But I find no way to have that change trigger an Octoslack notification.
This might also require changes to OctoPrint?