jacopotediosi / Octoprint-PrusaResetMode

A simple plugin to prevent your Prusa printer (MK2, MK2S, MK3, MK3S, MK3S+) from resetting when OctoPrint connects

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OctoPrint-PrusaResetMode

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.:

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.

Is it safe to use this plugin?

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.

Screenshots

screenshot

Setup

Install via the bundled Plugin Manager or manually using this URL:

https://github.com/jacopotediosi/OctoPrint-PrusaResetMode/archive/main.zip

Tested On

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+...).

Support My Efforts

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.

paypal

No paypal.me? Send funds via PayPal to jacopotediosi@gmail.com

You can use this link too. But the normal PayPal fee will be deducted.

About

A simple plugin to prevent your Prusa printer (MK2, MK2S, MK3, MK3S, MK3S+) from resetting when OctoPrint connects

License:MIT License


Languages

Language:Python 65.3%Language:Jinja 16.8%Language:JavaScript 16.8%Language:Less 0.6%Language:CSS 0.5%