Replies: 1 comment 5 replies
-
Find a way to call pwnagotchi.plugins.toggle_plugin() |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to be able to toggle pwnagotchi plugins using GPIO buttons, so far I got this script to do it (running it using GPIO buttons plugin like this
main.plugins.gpio_buttons.gpios.13 = "sudo python3 /root/toggle-bt.py"
)the contents of
toggle-bt.py
:What's the cleaner way to run this - preferably without having to kill Pwnagotchi's process, like you can do from web UI?
Beta Was this translation helpful? Give feedback.
All reactions