Replies: 1 comment 2 replies
-
You could borrow some code from stats.py to execute a shell command to get the WireGuard status, and combine it with code from this PR to handle the GPIO + LED portion. Both are written in python, so a bit of cut-and-paste and some experimentation will get you there. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I would like to connect an LED to a GPIO port. This LED should switch on when the Wireguard connection is successfully established. Has anyone already built and programmed this?
Beta Was this translation helpful? Give feedback.
All reactions