anoved / OctoPrint-EmailNotifier

Receive email notifications when OctoPrint jobs are complete. Currently broken. Please fork and fix!
GNU Affero General Public License v3.0
16 stars 35 forks source link

Email on another event. #25

Closed robingantois closed 7 years ago

robingantois commented 7 years ago

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 commented 7 years ago

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 commented 7 years ago

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

anoved commented 7 years ago

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.