So what I am trying to accomplish is this
using PSUControl, switch a GPIO on to power the PSU's (Covered by RPi.GPIO)
in doing that, my USB hub will power on and I will need to run "sudo systemctl restart webcamd" to get my cameras working.
it would be nice if you could execute a system command just like you can trigger the GCODE script.
FYI URL https://feathub.com/kantlivelong/OctoPrint-PSUControl isn't resolving so posting here
So what I am trying to accomplish is this using PSUControl, switch a GPIO on to power the PSU's (Covered by RPi.GPIO) in doing that, my USB hub will power on and I will need to run "sudo systemctl restart webcamd" to get my cameras working. it would be nice if you could execute a system command just like you can trigger the GCODE script.
Currently in my GCODE Script I have "FIRMWARE_RESTART" and reading though other posts I installed the "https://github.com/kantlivelong/OctoPrint-GCodeSystemCommands" but it seems to only accept numeric codes, not the "FIRMWARE_RESTART" command