Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

register Prusa Filament Runout #1312

Merged
merged 2 commits into from
Aug 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
78 changes: 78 additions & 0 deletions _plugins/prusafilamentrunoutmonitor.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
---
layout: plugin

id: prusafilamentrunoutmonitor
title: Prusa Filament Runout
description: Plugin monitors Prusa Buddy firmware's (MK4, Mini, XL, MK3.9) serial communications for specific conditions that indicate a filament runout on the printer and fires a pause on the event bus of OctoPrint.
authors:
- jneilliii
license: AGPLv3
date: 2024-08-28
homepage: https://github.com/jneilliii/OctoPrint-PrusaFilamentRunoutMonitor
source: https://github.com/jneilliii/OctoPrint-PrusaFilamentRunoutMonitor
archive: https://github.com/jneilliii/OctoPrint-PrusaFilamentRunoutMonitor/archive/master.zip
tags:
- prusa buddy
- filament runout
- prusa
- filament
- runout
- prusa mk4
- prusa mini
- prusa xl
featuredimage: /assets/img/plugins/prusafilamentrunoutmonitor/screenshot_popup.png
compatibility:
octoprint:
- 1.3.0
os:
- linux
- windows
- macos
- freebsd
python: ">=3,<4"

---
# Prusa Filament Runout

**This plugin exists thanks to generous funding by [Kaizen Smart Data Ltd.](https://kaizensmartdata.com/)**

Plugin monitors Prusa Buddy firmware's (MK4, Mini, XL, MK3.9) serial communications for specific conditions that indicate
a filament runout on the printer and fires a pause on the event bus of OctoPrint.

It was programmed to work with OctoText to send an alert to the user, typically an SMS or email, that the printer is
paused waiting for a filament change; however, it will work with any plugin that reacts to the pause event in OctoPrint.

![popup screenshot](/assets/img/plugins/prusafilamentrunoutmonitor/screenshot_popup.png)

**NOTE:** If Prusa updates their Buddy firmware to work correctly with Octoprint, this plugin will no longer be needed.

## Settings

Configure the X and Y position for the parked position during filament runout in the plugin's settings. To determine what
the exact position is, start a sacrificial print and cut the filament while looking at the terminal tab of OctoPrint.
You should see something reported from the printer like this:

```
echo:busy: processing
X:241.00 Y:-3.00 Z:38.90 E:89.28 Count X:24099 Y:-300 Z:15559
```
Use the values for X and Y as they appear in the second line of the above example, i.e. `241.00` for X and `-3.00` for Y,
in the plugin's settings. This is how the plugin determines if the printer is in the parked position during filament
runout.

![settings screenshot](/assets/img/plugins/prusafilamentrunoutmonitor/screenshot_settings.png)

## Get Help

If you experience issues with this plugin or need assistance please use the issue tracker at the plugin's Homepage linked on the right.

### Additional Plugins

Check out my other plugins [here](https://plugins.octoprint.org/by_author/#jneilliii)

### Support My Efforts
I, jneilliii, programmed this plugin for fun and do my best effort to support those that have issues with it, please return the favor and leave me a tip or become a Patron if you find this plugin helpful and want me to continue future development.

[![Patreon](/assets/img/plugins/prusafilamentrunoutmonitor/patreon-with-text-new.png)](https://www.patreon.com/jneilliii) [![paypal](/assets/img/plugins/prusafilamentrunoutmonitor/paypal-with-text.png)](https://paypal.me/jneilliii) [![GitHub](/assets/img/plugins/prusafilamentrunoutmonitor/github.png)](https://github.com/sponsors/jneilliii)

<small>No paypal.me? Send funds via PayPal to jneilliii&#64;gmail&#46;com</small>
Binary file added assets/img/plugins/prusafilamentrunout/github.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading