-
Notifications
You must be signed in to change notification settings - Fork 24
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
Feature-Request: Use M118 instead of M117 commands #252
Comments
- E #252 replaced all gcode from M117 to M118
A dev version that just replace all M117 comands with M118 is out: https://github.com/OllisGit/OctoPrint-DisplayLayerProgress/releases/tag/1.29.0.dev1 |
Hy @OllisGit ,
Unfortunately when I use the [printtime_left] statement the time is cut example for a time remain 20 minutes 13second I receive 20m13s while I would have that I receive 00h20m13s Is there a way to keep hours the minutes and seconds? Thk :) |
Hi @Pascal-m, I need to implement this feature...do you need two digits or is one enough? |
I just tested this out by manually sending M118 commands via Octoprint Terminal. Sending the command |
hello sorry for the delay example: |
Hello OllosGit,
|
Just to let you know, I am using 1.29.0.dev1 with the same use case and for layers and progress, it works well. I haven't dug into the time yet since there are only two notifications. |
True - dataprogress is correctly set, when using A1 P0 action:notification Data Left [current_layer]/[total_layers] I can also confirm, that the issue with the missing leading hours still exists, would it be possible to implement it as option like the one mentioned by pascal-m ? For this I would use: A1 P0 action:notification Time Left [printtime_left] |
I'll try to fit my needs by altering the file: "/home/pi/OctoPrint/venv/lib/python3.9/site-packages/octoprint_DisplayLayerProgress/stringUtils.py" And change the secondsToText function to:
This should only help if you use the sidewinder - I'll test it maybe tommorrow ;) |
I could test it today - and the change worked as intended - just to beautify things up, here is my current secondsToText without any Arrows, symbols or whatever:
As mentioned earlier - this is not needed by most of the Marlins out there - but the Sidewinder X1 in team with the BTT TFT needs this approach - its a quick and dirty hack, which will most likely be destroyed on the next update of the plugin - maybe @OllisGit could implement a Sidewinder Checkbox within the options to force the formatting to always consist of HoursMinutesSeconds, no matter how many days or only minutes are left :) |
I'm also interested in this, could this be made possible with a variable like [printtime_left_incl_hours] ? |
That would be great, I am also interested. And maybe a checkbox "Use M118 instead of M117"? |
I also want to use M118 instead of M117 for my tft on an artillery genius. |
Hi there ! I'm using an Artillery Genius (Not Pro). I have configured this: That's working for me AFTER uploading a file again (which includes M118 messages instead M117), so I would really like to get a stable version ! Additionally I would like it would be possible to send three M118 messages to the printer:
But currently there are only 2 fields are available. One small downside: |
With solution discussed in OctoPrint forum it is possible to stay with original "DisplayLayerProgress" plugin and use a modified "M73 Progress" plugin: Here is the modified plugin so far, changes made by https://community.octoprint.org/u/b-morgan: This makes my previous mentioned downsides obsolete:
|
For adding layer information I've found this possibility to use in the slicer: https://github.com/OllisGit/OctoPrint-DisplayLayerProgress/wiki/How-does-the-plugin-works#cura |
Details see https://community.octoprint.org/t/how-to-send-m118-a1-p0-action-notification-time-left-hms-e-g-02h04m06s/41553
The text was updated successfully, but these errors were encountered: