M600 event hook request


#1

What is the problem?

I am using the event hooks to call a custom script to alert me when a print start/stops/fails etc...

I would like to get an event trigger when a M600 command is sent to the printer so I know when it needs a filament change instead of listening for the beeps.

What did you already try to solve it?

Looked in the event documentation and don't see any reference to the M600 command generating an event.

Additional information about your setup (OctoPrint version, OctoPi version, printer, firmware, octoprint.log, serial.log or output on terminal tab, ...)

Not relevant

Thanks