On the Pi I am using to run HS3 I have setup a shell script to take a photo using raspistill, then run another python program which emails it to me. When run from the Pi, logged in as pi, the photo is stored in /home/pi and everything works fine. If I set the script up to run as an event in HS3, I can see the photo is taken and stored, but it is not emailed. I can’t help thinking this is some kind of permissions issue - the photo is owned by root, and pi is a member of the sudo group. If I change the program so it is stored in /home/homeseer then I cannot run the program as pi any more. But I still can’t run the event from HS3!
What am I missing? Please help, this is driving me mad! It’s a clone of something I have set up on a different system, which works fine. I don’t know if it might be something to do with web user access rights to HS3, I admit I don’t understand that at all.
What am I missing? Please help, this is driving me mad! It’s a clone of something I have set up on a different system, which works fine. I don’t know if it might be something to do with web user access rights to HS3, I admit I don’t understand that at all.
Comment