New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Request] Monitoring of prints started manually #2335
Comments
The thing is, OctoPrint doesn't get any info from the firmware when a print job is started directly via the controller or something. It would need to constantly poll the firmware to "report SD print status" via I'm not sure if people would like the noise in the terminal that produces while idle (especially combined with the |
Maybe an event from the firmware would make this feasible in a clean manner |
Indeed. |
Would this be as simple as if (card.sdprinting == true & ELAPSED(10s)) { enqueue("M27") } Basically just automate sending the sd print status if a print is in progress. |
@teemuatlut or offer the user a button to trigger the manual update. |
There is an experimental branch available to test. Can't test it myself until sunday. |
The pull request was merged, and the feature should be enable-able on Marlin 2.0 bugfix builds. (depending on the configuration. M115 will report whether the capability is activated with the following tag : AUTOREPORT_SD_STATUS ). If available in the firmware, it is activated using the M27 code, with Sxxx where xxx is the period in seconds between updates (0 to disable). |
@foosel Would you see this as a core feature or a plugin? |
Core feature. I actually also have something semi working, still need to iron out the kinks though. |
@foosel, please note that I've also fixed a bug in the SD status report that made it return a number of bytes even when not printing. With the correction, it'll return MSG_SD_NOT_PRINTING ("Not SD printing") instead. I suppose the regexp to filter sd_status should be adjusted accordingly. This fix should not be dependant on the enabling/disabling of the AUTOREPORT_SD_STATUS feature. |
@TheSFReader |
On my version, and since I applied the fix, I see the "NOT SD Printing" message in the terminal even if the filter is active. Not fluent with regexps, I added a new filtering rule , but Wonder how it could be combined in the default one |
Sorry, didn't realize you were referring to the terminal filters. You are right, those don't include that yet. There's also some internal processing of that message inside the comm layer that detects that and considers it as an indication that something went wrong while SD printing, switching states accordingly. |
Thanks to 52bb94e and 98c7ad0 auto detection of SD prints started from the controller while connected to OctoPrint should now work IF the following requirements are fulfilled:
e6ec48b implements support for sd status auto reporting. bb61bbb extends the terminal filters for sd status filtering with the "Not SD printing" message. All of that is available on |
Closing as 1.3.7 was just released. |
For cases when Octoprint is restarted with an ongoing print (from SD card), is there a way to make it start tracking the print progress again? I can see it by sending |
Hey! I'm sorry to bother, but looking around i having trouble on this subject.
I'm Running An Ender 3 with an SKR1.3 wich firmware I updated myself (Marlin Bugfix 2.0.x). AutoSDreport is enabled, and I see it working, but I haven´t found the way for the printer to send a "File Opened" notice whenever I start an SDPrint manually from the LCD. |
Currently Octoprint GUI does not show correct state of the printer if the print was started manually using printer controller (and printing from SD card). This might cause a conflict if someone tries to start a print while the printer is already in progress.
It this a limitation coming from printer firmware / g-code limitations?
Suggestion: introduce printer status "BUSY" for indicating that the printer is busy with a print job not driven by Octoprint.
The text was updated successfully, but these errors were encountered: