jneilliii / OctoPrint-TasmotaMQTT

18 stars 16 forks source link

Off on Error #38

Closed patriot1889 closed 4 years ago

patriot1889 commented 4 years ago

This change adds a new feature which enables the device to be turned off on a print error. Octoprint only throws an error event if it is unrecoverable so this will not cause possible problems with a print that could successfully complete.

A possible use for this, and the reason for creating the feature, is a Marlin detected thermal runaway. This turns the beeper on constantly to alert the user. If this beeper is not desirable then the user can turn on this feature.

Such a printer halt requires a power cycle of the printer anyway.

jneilliii commented 4 years ago

Thank you for this. I have the same events added in my Tasmota and TPLink-Smartplug plugins, just haven't got around to adding the change here. I will review and merge/request changes as necessary.

jneilliii commented 4 years ago

Closing to pull against current development branch, thanks for the update.