04-17-2020, 05:33 PM
You could try running the button handler from the cmd line after adding some debug print.
1. Turn off the handler in System config.
2. sudo nano /var/www/command/gpio-buttons.py
Uncomment the existing #print statements and optionally add your own
3. Run it from cmd line
1. Turn off the handler in System config.
2. sudo nano /var/www/command/gpio-buttons.py
Uncomment the existing #print statements and optionally add your own
3. Run it from cmd line
Code:
sudo /var/www/command/gpio-buttons.py