vookimedlo / OctoPrint-Prusa-Mini-ETA

The Octoprint plugin for retrieving estimated time of printing using the Prusa Mini.
GNU Affero General Public License v3.0
10 stars 1 forks source link

MK3S Support #2

Open SB97 opened 4 years ago

SB97 commented 4 years ago

Love the Plugin! I was annoyed with the false time estimate from Octoprint.

PrusaSlicer also generates the M73 gcodes for the MK3S with the addition of the time for the Stealth mode.

Example:

M73 P0 R10
M73 Q0 S12 ; stealth time

Maybe you could do a checkbox to switch between normal and stealth mode or show both or show the stealth eta in the tooltip.

My guess is that this plugin work for everything sliced with PrusaSlicer. So i would recommend to rebrand it in something like "OctoPrint-PrusaSlicer-ETA".

vookimedlo commented 4 years ago

Hi there, Could you send me your gcode file I will use it for testing. I'll create a branch, implement it and test it on the virtual octoprint printer. Then, I will ask you to test it on the real printer.

Thanks.

SB97 commented 4 years ago

Here is a Benchy with a 300% Scaling to get a long print with different time estimates: GCODE

grafik

If you need more just ping me.

Here are Informations about the Stealth mode if you are wondering what it does: Prusa help page

vookimedlo commented 4 years ago

Hi @SB97 I added the plugin settings so the silent mode can be enabled. Using the virtual printer it seems the code works. I used a provided Benchy GCODE file.

Could you try it using the real environment? https://github.com/vookimedlo/OctoPrint-Prusa-Mini-ETA/archive/Prusa_MK3S.zip

Thanks.

Its-my-right commented 3 years ago

Hi @vookimedlo ,

I found this feature request and I've just tried it myself with a real MK3s and it seems to work as intended. I wonder if this would be possible to adapt remaining time when changing from silent to/normal mode (or reverse) from the printer when printing ? It will be necessary to get the mode the printer actually is in, maybe by a request every x seconds. I don't even know if it is really possible though.

Anyway, it is true that your plugin is working also for the MK3s so I wonder, why did you chose such a specific name for it ?(including "Mini", at first I though I could not use it).

Thank you for your time

Naugrimohtar commented 3 years ago

MK3s support doesn;t seem to be working for me. Attached is an example file that embedded in the the has: ; estimated printing time (normal mode) = 55m 1s ; estimated printing time (silent mode) = 55m 18s

However Octoprint lists Approx. Total Print Time: 40 minutes

Downloads.zip