Skip to content
Serial "pause for user" to custom event
Python
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
octoprint_pause_for_user_event Change all instances of PauseForUserEvent to something more apropriate Jun 5, 2019
.editorconfig First alpha version Jun 3, 2019
.gitattributes Initial commit Jun 3, 2019
.gitignore First alpha version Jun 3, 2019
LICENSE Initial commit Jun 3, 2019
MANIFEST.in Change all instances of PauseForUserEvent to something more apropriate Jun 5, 2019
README.md
babel.cfg First alpha version Jun 3, 2019
requirements.txt First alpha version Jun 3, 2019
setup.py

README.md

OctoPrint-PauseForUserEvent

When echo:busy: paused for user is received on the serial port, this plugin then raises a paused_for_user event, which may then be used with other plugins like OctoPrint-MQTT to alert the user, that the printer needs attention.

The primary use for this is the Prusa MMU2S, which when it fails to load/unload filament, will halt the printer and send this message on serial.

For example, this is, what an unsuccesful loading procedure looks like:

Send: T1*62

mmu_get_response - begin move: T-code
MMU <= 'T1'
Unloading finished 2
mmu_get_response - begin move: load
echo:busy: processing
echo:busy: processing
MMU => 'ok'
mmu_get_response() returning: 1
echo:busy: processing
MMU <= 'A'
mmu_get_response - begin move: T-code
MMU <= 'T1'
Unloading finished 2
mmu_get_response - begin move: load
echo:busy: processing
echo:busy: processing
echo:busy: processing
MMU <= 'A'
MMU => 'ok'
mmu_get_response() returning: 1
echo:busy: processing
mmu_get_response - begin move: unload
MMU <= 'U0'
Unloading finished 1
echo:busy: processing
echo:busy: processing
MMU => 'ok'
mmu_get_response() returning: 1
echo:busy: paused for user
echo:busy: paused for user
echo:busy: paused for user
echo:busy: paused for user
echo:busy: paused for user
echo:busy: paused for user

And then the printer waits until the user has fixed the issue and pressed the button on the LCD.

This plugin now raises an Event in OctoPrint when "echo:busy: paused for user" is received.

Setup

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

https://github.com/zeroflow/OctoPrint-PauseForUserEvent/archive/master.zip

Configuration

No configuration

You can’t perform that action at this time.