Skip to content

Troubleshooting

SimonC edited this page Apr 21, 2021 · 1 revision

This page is all about troubleshooting problems with this script. It's generally fool-proof, however some configuration is sometimes needed.

Cannot change GPIO state

If you cannot change the GPIO state on your RasPi, it's likely a permissions issue.

This can be worked around by using root-privileges, but that's a hack and doesn't fix the underlying problem. Having your scripts interact with GPIO pins with root privileges could have potential repercussions.

Using the following command, you can add GPIO permissions to your user:

$ sudo usermod -aG gpio <user>
Clone this wiki locally