Octoprint plugin to inject GCODE for filament change at selected layer or at the specified heigth. It depends what slicer do you use.
Note: this plugin does NOT work with files on the SD card.
Install via the bundled Plugin Manager or manually using this URL:
https://github.com/MoonshineSG/Octoprint-MultiColors/archive/master.zip
Accepting beer tips...