This is a simple plugin to prevent your Prusa printer (MK2, MK2S, MK3, MK3S, MK3S+) from resetting when OctoPrint connects.
When OctoPrint connects to Prusa printers, it restarts them causing any ongoing prints to fail. This is a necessary feature to update the printer firmware, but it makes the power panic useless.
There are numerous threads online referring to this problem, e.g.:
- GitHub: MK3 When connecting to the printer with Octoprint the MK3 printer reboots every time
- GitHub: Connecting Repetier Server to USB port kills running print from SD card
- GitHub: Plugging USB destructively restarts printer
- Prusa Forum: Octoprint Reseting Printer + Power panics
The easiest workaround is to send "hidden" commands to the ATmega32U2 printer's serial controller, which allow you to enable and disable the Reset Mode: ;C32u2_RMD
and ;C32u2_RME
.
Unfortunately, these commands cannot be sent directly through the OctoPrint terminal because they begin with the character ;
and are interpreted as comments.
This plugin adds a tab to OctoPrint with buttons that allow you to conveniently enable and disable the Reset Mode.
Remember to reactivate the Reset Mode before upgrading your printer firmware, or the update will fail as it needs a reboot.
This plugin does nothing by itself. Commands are sent to the ATmega32U2 chip only when you press the buttons on the Prusa Reset Mode tab.
The ATmega32U2 Reset Mode can be deactivated and reactivated several times, taking into account that each change writes to the ATmega32U2 EEPROM and the datasheet rates it for 100,000 writing cycles.
Install via the bundled Plugin Manager or manually using this URL:
https://github.com/jacopotediosi/OctoPrint-PrusaResetMode/archive/main.zip
I have only tested this plugin with OctoPrint 1.9.3 and my Prusa MK3S+ printer, but it should work with any printer using an ATmega32U2 as USB-serial chip (Prusa MK2, MK2S, MK3, MK3S, MK3S+...).
I, jacopotediosi, programmed this plugin for fun and personal use. I will do my best effort to support those that have issues with it. Please return the favor and leave me a tip if you find this plugin helpful and want me to continue future development.
No paypal.me? Send funds via PayPal to [email protected]
You can use this link too. But the normal PayPal fee will be deducted.