Skip to content
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

NO POWER EVENT Will Not Trigger Script #1085

Open
lindelux opened this issue Jun 21, 2024 · 0 comments
Open

NO POWER EVENT Will Not Trigger Script #1085

lindelux opened this issue Jun 21, 2024 · 0 comments

Comments

@lindelux
Copy link

In the command line pijuice I have the "No Power" event selected to trigger USER_FUNC2. USER_FUNC2 is set as "/home/pi/Scripts/red.py". If the power is removed from the pijuice then the D2_LED should illuminate red. If I run the script "python3 /home/pi/Scripts/red.py" the LEnanoD illuminates correctly. LED settings D2 is set to USER_LED. Permission for red.py are set to "-rwxr-xr-x 1 pi pi 1121 Jun 20 18:49 red.py". The first line in the script is "#!/usr/bin/python3".

Any ideas what I am doing wrong? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant