Note
All of the hooks below take at least two parameters, *args
and **kwargs
. Please make sure those are present. They will act as placeholders if additional parameters are added to the hooks in the future and will allow your plugin to stay compatible to OctoPrint without any necessary adjustments from you in these cases.
This describes actually four hooks:
octoprint.comm.protocol.gcode.queuing
octoprint.comm.protocol.gcode.queued
octoprint.comm.protocol.gcode.sending
octoprint.comm.protocol.gcode.sent