I'm planning on adding support for the Robox Dual printer and one of the things that I need to do is add support for their proprietary serial format that it uses to communicate with the printer. Unfortunately, the format isn't directly compatible with the standard Gcode string format that we all love and know.
So I was hoping to write a plugin that will allow me to intercept the serial line so that I can encode and decode the data between the printer and OctoPrint.
Does this make sense? is this possible with just OctoPrint's plugins hooks or would I need to dig in to the source code?
That said, these are the Hooks that I think I need to use.