See manual advanced setup how to define programs you can execute. Define a command you can run with @execute unpower_printer for example. That can be a simply python script toggling the pin.
I think event dependen for print finished event as last command would be a good place. At least if you want it after every print. If it should just be a menu entry just add it to commands.
killprinter.sh (it is executable and readable by the repetier-server daemon user and gpio pins are accessible because the menu commands to power on and off the printer do work):
I also tried sudo -u repetierserver /var/lib/RepetierServer/killprinter.sh manually after finishing a print and it shut the printer down like it should.
Comments