I have the printer and fan hooked up to a relay board. I have a script that turns them on when a print starts, and one that turns it off when the print is done. After an octoprint update it stoped working. I also installed octorelay but that also stopped working. The Icons switch to off but the relay is not. If I try to run the script manualy from the gcode viewer I get the following error:
Found an article that mentioned a problem with the dashboard plugin that might be causing the problem so I disabled that, but it did not help.
I have not.
Did not try
OctoPrint version, OctoPi version, printer, firmware, browser, operating system, ... as much data as possible