You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
shadow578
changed the title
Turn off when an unrecoverable firmware or communication error occurs does not work on serial disconnectTurn off when an unrecoverable firmware or communication error occurs does not work on serial exception
Feb 5, 2023
Ok, so i did some digging and it seems like OctoPrint does not raise a ERROR event when the serial connection fails (at all).
Since the plugin only checks for the ERROR event, it cannot do anything when the serial connection does fail.
However, OctoPrint does raise a DISCONNECTED event.
when handling this event*, the printer does turn of as expected:
What were you doing?
Turn off when an unrecoverable firmware or communication error occurs
optionWhat did you expect to happen?
I'd expect the psu to shut down when a communication error occurs.
What happened instead?
Printer is disconnected (with error), but psu stays on.
Version of OctoPrint-PSUControl
1.0.6
Operating System running OctoPrint
OctoPrint 1.8.6, Python 3.9.2, Linux
Printer model & used firmware incl. version
Link to octoprint.log with octoprnt.plugins.psucontrol set to DEBUG
https://gist.github.com/shadow578/b7cb8de193a29c4435b81cf0c9be9529
The text was updated successfully, but these errors were encountered: