I have tried for days to make the information at t he following link work:
Everything works fine from Putty command line. I cannot find any way to successfully execute commands from Octoprint...specifically System Command Editor. I have tried accessing hub-ctrl commands directly with command set as: sudo hub-ctrl -h 0 -P 2 -p 0. I have also tried to bundle that up in a .sh file and execute that, but no luck. I am calling absolute path to the .sh file and am able to successfully execute ./printer_off.sh from command line. I am out of ideas, please help me understand what is wrong...
sudo ./hub-ctrl -h 0 -P 2 -p 0
System Command Editor:
(as mentioned I can successfully execute ./printer_off.sh from the location /usr/local/bin/scripts from Putty command line)
Additionally, I would like to know if there is a method to troubleshoot these commands between Octoprint and shell. Apologies if my terminology isn't correct, I am pretty new to linux but trying hard