0

Currently, OctoPrint shows a printer state such as "Printing" as shown below:

OctoPrint State

But is there is a way such as via a Cura script or OctoPrint Plugin to insert a special g-code and let OctoPrint show "State: Ironing" instead? This is especially helpful since I usually only iron my top layer, so it's only busy ironing from a specific layer.

Or does Marlin firmware already know and support states other than "stopped, paused, printing" such as ironing, tramming, leveling, heating?

Bob Ortiz
  • 1,053
  • 1
  • 3
  • 29
  • Wouldn't it be better to ask this at the OctoPrint github as a feature request? – 0scar Nov 27 '23 at 09:25
  • Thanks for the suggestion. I will post it there too. – Bob Ortiz Nov 27 '23 at 09:29
  • Looking at the API specification, https://docs.octoprint.org/en/master/api/printer.html#retrieve-the-current-printer-state, the states are predefined. It would require rewriting the OctoPrint software to add more states, more specifically, how to detect them. Is this something you aim to answer the question? – 0scar Jan 11 '24 at 22:35
  • I see. I guess I'm looking ultimately for something that is not available in OctoPrint currently. Alternatively I'm thinking to simply use M118 before and after things like leveling, heating, cooling etc. Seems status is not possible for now. – Bob Ortiz Jan 12 '24 at 21:10

0 Answers0