well, i tried changing 1 and 0 to 255 and 0. it didnt work. i also tried using the pin #, and the gpio #. again, neither worked. i got the menu items to appear with the System Command Editor, but after assigning the 'light_on.sh' script to each button, pressing the button does not activate the lights. perhaps i need different code working in the scripts.
my lights are using 3 gpio pins because i need 1 for each RGB color. those pins pass thru 1 mosfet each, and then go on to connect to the led strip. so, via the enclosure plugin, i can get it to work by sending a command to set each pin to anywhere from 1-255. i end up having to use 3 commands total.
i also did the chmod a+x for the 2 light files to give execute privledges, but still nothing. so im guessing the scripts are not set up properly for RGB, as they arent a simple 1/0 as a relay is.
do i need anything additional installed to get access to the gpio functions? enclosure plugin gives me access, but maybe i need something else installed to get those commands to work?
EDIT: i looked up a few of the many gpio led posts on google. while the scripting isnt the same as what you have, its similar, and when i follow it, nothing happens. so something is missing. again, i tried working with the pin# and the gpio#, setting values of 1, and 255, and nothing each time.
just to be clear, i went to sys/class/gpio/gpio33/ echo out direction, echo 1 value. i was doing this thru putty, not thru octoprint or enclosure or anything. putty is the only other way i know how to interface with the pi.