i have Octoprint and TouchUi working on my RPi3 and 3.5TFT.I also have a Sainsmart relay wired up to the RPi and it works just fine.The issue I am having is Octoprint can only control one GPIO pin at a time with the plugin I am sing so I am trying to modify the configyaml folder to use another pin to turn on the led's on my printer.I know everything is wired up correctly and working but the only way they work if through the plugin.I have tried modifying the folder with
Code: Select all
system:
actions:
- action: lights on
command: gpio -g write 36 1
name: Turn on the lights
- action: lights off
command: gpio -g write 36 0
confirm: You are about to turn off the lights.
name: Turn off the lights
I am lost because if I use the plugin everything works just fine and if I try to paste that into the config.yaml file it takes and the menu on the top of Octoprint shows the changes and even notifies me when I turn them on and off that the lights were turned on and off but the relay isn't being triggered by the GPIO