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

Email on another event. #25

Closed
robingantois opened this issue Dec 19, 2016 · 3 comments
Closed

Email on another event. #25

robingantois opened this issue Dec 19, 2016 · 3 comments

Comments

@robingantois
Copy link

My endCode is:

G4 P900000 ;doing nothing for 15 min
G90 ;absolute positioning
G1 Y200 ; move Y forward to Auto RF power switch OFF

By --G4 P900000-- I have a connection timeout and octoprint disconnect the printer. So i do not get the "printdone" event. Is possible to replace the event "print done" by "Waiting"?

@anoved anoved added the events label Dec 22, 2016
@anoved
Copy link
Owner

anoved commented Apr 19, 2017

Technically, yes. Last year I started a multievent branch of this plugin that could email a notification in response to any of these events, including Waiting. I wasn't able to develop a presentable UI without investing too much time in it, but if you look at the code for that branch you may get an idea for how to modify the plugin to address your need.

@anoved
Copy link
Owner

anoved commented Apr 19, 2017

(See issue #1 for considerably more detail on prior plans for handling notifications for different events.)

@anoved
Copy link
Owner

anoved commented Apr 20, 2017

Closing to consolidate with #1. The G4 dwell command should trigger an OctoPrint Waiting event. The multievent branch could in turn be configured to send an email notification in response to that event.

@anoved anoved closed this as completed Apr 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants