-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Event script not running #1
Comments
Hi, thanks for the report! I'm going to be travelling a bit before I have a chance to look into this in detail. Does your script start with |
Hi, I actually ran it from the regular shell for now (after logging in as user pi). Not sure if that makes a difference. I can try running it from a script. By the way, I checked the code and adjusted the folder parameter from –D to –s (the documentation seems to be a bit out of date) Lutz From: Lars Kellogg-Stedman [mailto:[email protected]] Hi, thanks for the report! I'm going to be travelling a bit before I have a chance to look into this in detail. Does your script start with #!/bin/sh? — |
This might be a permissions thing on the file in /etc/gpio-scripts/25 I ran into an issue myself and when I chmod 777 /etc/gpio-scripts/23 (I was using a different pin) I could than run both manually and by pushing the button I plugged into my GPIO. 777 isn't really the correct permissions, but it quickly found the issue for me. |
Setting up gpio-watch with
When the event is triggered (reed switch on pin 25) I get an error message
the "25" script is verified executable, and should run
It works when I execute it manually.
The text was updated successfully, but these errors were encountered: