What is the problem?
- .sh script for light does not work in Octoprint . Im new to Octoprint.
What did you already try to solve it?
i tried the system command editor and custom control editor but am i doing something wrong?
I can call the script in /home/pi/ with "bash toogleLight.sh" via an SSH connection and it works too(can turn it on or off).
Additional information about your setup (OctoPrint version, OctoPi version, printer, firmware, what kind of hardware precisely, ...)
my script looks like this:
gpio mode 24 out
if [ $(gpio read 24) = 0 ]
gpio write 24 1
gpio write 24 0