There is predefined script in /var/www/sync/extension_02.py
which you can modify for your needs to trigger actions seen in the control panel via GPIO pins.
See the commands/actions from line 61 on.
Here you find a basic sketch of how to wire the buttons.
You could add extension_02.py to a custom autostart button 2 in/var/www/sync/rc.local.custom2
like this:
#!/bin/bash
#This will autostart to extension_02
python /var/www/sync/extension_02.py &
exit 0
There is predefined script in
/var/www/sync/extension_02.py
which you can modify for your needs to trigger actions seen in the control panel via GPIO pins. See the commands/actions from line 61 on.Here you find a basic sketch of how to wire the buttons.
You could add
extension_02.py
to a custom autostart button 2 in/var/www/sync/rc.local.custom2
like this: