Thank you for your donation!

Problem: GPIO button false trigger on startup
You could try adding some print statements to /var/www/command/ script and then run it manually from the cmd line after moOde boots up.

1. Add the print statement after the line below. I assume you are using Button 1.

print('button 1 command executed')

2. Turn the GPIO button handler off in System config
3. Reboot
4. Run it from the command line

sudo /var/www/command/

If 'button 1 command executed' is printed even though you physically did not press the button then it would suggest a possible wiring issue thats causing the GPIO pin to be in the wrong state after boot.
Enjoy the Music! | Twitter Feed | Git Repo

Messages In This Thread
GPIO button false trigger on startup - by waffle - 06-24-2020, 04:21 PM
RE: GPIO button false trigger on startup - by Tim Curtis - 06-24-2020, 04:46 PM

Forum Jump: