Shutdown on error
If I wanted the printer to shutdown on error (mintemp, motor issues... literally any error state at all)... What would be the best way of doing this? I checked the Event Dependant GCodes but there's nothing mentioning errors?
Comments
Then it really depends much on printer firmware and how it signals error. On serious errors we stop a running print, so if what you want is some action when a print stops due to an error, just add your action to "Run if job is aborted" also this means to stop when you hit stop button.
An other solution is to check the message of your firmware and add the action in "Replacements" gcode where you monitor for a serious error. E.g. marlin error messages start with "Error:" or have the word "kill() called" or start with !! - depends a bit on version and fork.
I just remember an option in the tasmota Octoprint add-on that shut my printers down when any error occurred, so wanted to do the same thing here.
I'll look into how it interprets messages and "Replacement" gcodes thanks!