arekm / octopi_eta_override Goto Github PK
View Code? Open in Web Editor NEWSlicer M73 reports as ETA override for OctoPrint (Prusa; Marlin 2)
License: GNU Affero General Public License v3.0
Slicer M73 reports as ETA override for OctoPrint (Prusa; Marlin 2)
License: GNU Affero General Public License v3.0
Can you s/OctoPi/OctoPrint/
everywhere?
It would be better to process the M73 command as it's passed through instead of the specific Prusa response. This would allow this plugin to work with all printers that support the M73 command, not just Prusa printers.
Hi! Nice work.
But I'm a bit confused. I already have this one installed:
https://plugins.octoprint.org/plugins/m73etaoverride/
https://github.com/sysadminsh/OctoPrint-M73ETAOverride .
Does your plugin do something different?
Hi,
Prusa-Firmware merged UPDATE prusa3d/Prusa-Firmware#3021
As you are using the M73
in your Octoprint Plugin please verify if it will still work after the new Prusa-Firmware release.
If you'd add the current time to 'time left', you could see whether the ETA shifts backwards.
I sometimes set the print speed multiplier to 200%, but that makes both 'print time left' and the value on the display of the printer inaccurate. If the exact ETA you could see how much :)
Hello,
since the update to version 0.3.0 my printer does not display the ETA correctly and the telegram extension does not send status updates due to an error. The error is in both cases the same. Here is an extract from the log file:
2022-08-24 15:58:39,575 - octoprint.util.comm - ERROR - Error while processing hook PrusaETAOverride:
Traceback (most recent call last):
File "/home/pi/oprint/lib/python3.7/site-packages/octoprint/util/comm.py", line 4040, in _readline
ret = hook(self, ret)
File "/home/pi/oprint/lib/python3.7/site-packages/octoprint/util/__init__.py", line 1688, in wrapper
return f(*args, **kwargs)
File "/home/pi/oprint/lib/python3.7/site-packages/octoprint_PrusaETAOverride/__init__.py", line 84, in parse_line
self._estimator.estimated_time = int(m.group('eta')) * 60
AttributeError: 'NoneType' object has no attribute 'estimated_time'
hth
Cheers, Jeroen
Hello,
I find this plugin extremely useful, but I always find the estimates are a few minutes out, as I run the printer in silent mode. Is it possible to add a configuration menu option to choose between parsing the "NORMAL" and "SILENT" lines?
Thanks
Hello, many thanks for this plugin. I'm trying to make it work with my MK2.5S, but the ETA is still the one that octoprint predicts, very wrong. I can see terminal returns this:
Send: M27
Recv: NORMAL MODE: Percent done: 2; print time remaining in mins: 299
Recv: SILENT MODE: Percent done: 255; print time remaining in mins: -1
Recv: Octomon_LoLin_0.2mm_PLA_MK2.5S_5h7m.gcode
Recv: SD printing byte 44852/6972251
Recv: 00:09
Recv: ok
So it should be working, right? What could be wrong?
Is it possible to have this (or another plugin) override the print completion percentage? The Prusa LCD displays the M73 percentage, while Octoprint uses M27 to calculate a very rough approximation.
Certain models cause these two percentages to be VERY different.
I tried looking at it myself, but I couldn't find anything in the Octoprint API to allow it. That certainly doesn't mean it's not there and I just overlooked it, though.
I received a notice that version 0.2.0 was available (from 0.1.1) but when I went to install the upgrade it reinstalled 0.1.1. I removed the plugin and installed from Plugi Manager but 0.1.1 installed also.
The ETA time seems accurate, but the percentage progress bar still lags the display on the Prusa.
Since the update, the GCode viewer no longer syncs up with the print properly. It remains static, several layers above the current progress, and refreshes intermittently. The issue is currently managed by disabling the ETA override plugin.
As you are probably aware, OctoPrint currently supports Python 2 & 3 simultaneously. Users will begin migrating to Python 3 soon and your plugin will not be installable. As of March 2021, it will switch to Python 3 only.
Please see the guide here
Having taken a look at your plugin, there is not too much Python so if you don't want to update it, I could PR to sort it out. Let me know what you think
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.