I've built a simple working python script to trigger my DLSR camera using GPIO pins to send a signal to an IR trigger. If I run the script manually, it works but octolapse seems to not have permission to run the script.
My python script is as follows:
import RPi.GPIO as GPIO
I found a couple of old posts about GPIO usage in this kind of way and they indicated that I should put the python script inside a .sh script and add my password(removed) at the start. So I did, like this:
echo "password" | sudo -S python /home/pi/scripts/external-camera-trigger.py
Made both of these scripts executable with chmod and they work on their own:
sudo chmod +X external-camera-trigger.py
sudo chmod +X external-camera-trigger.sh
How to give octolapse the permission to run this? Logs attached.
plugin_octolapse (1).log (4.2 KB)