# Octoprint not controlling GPIO

**URL:** https://dietpi.com/forum/t/octoprint-not-controlling-gpio/6134
**Category:** Troubleshooting
**Created:** [1 January 2022 02:34 UTC](https://dietpi.com/forum/t/octoprint-not-controlling-gpio/6134 "2022-01-01T02:34:00Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![odinstworavens](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/o/87869e/32.png) [@odinstworavens](https://dietpi.com/forum/u/odinstworavens)
#### Post date: [1 January 2022 02:34 UTC](https://dietpi.com/forum/t/octoprint-not-controlling-gpio/6134/1 "2022-01-01T02:34:00Z")

</div>

Hey there,

I’m using a raspberry pi 3b for an octoprint server. Works perfectly aside from one thing. I can’t for the life of me get GPIO control to work. I have other programs running that can use GPIO (WebIOPi specifically, as well as python scripts added after the problem was noticed to expose the GPIO to MQTT).

All the plugins that normally use GPIO (Octorelay, Octolight, GPIO control, etc) the options to change states are greyed out. Cant change them at all. And a multimeter confirms they arent triggering the pins. is there something im missing?

Thanks

---

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [1 January 2022 13:24 UTC](https://dietpi.com/forum/t/octoprint-not-controlling-gpio/6134/2 "2022-01-01T13:24:29Z")

</div>

did you activate I2C in dietpi-config?

---

<div class="post-metadata">

### Author: ![MichaIng](https://dietpi.com/forum/user_avatar/dietpi.com/michaing/32/7_2.png) [@MichaIng](https://dietpi.com/forum/u/MichaIng)
#### Post date: [2 January 2022 14:39 UTC](https://dietpi.com/forum/t/octoprint-not-controlling-gpio/6134/3 "2022-01-02T14:39:45Z")

</div>

Probably it simply missing permissions for the OctoPrint service user. Please try:

```nohighlight
usermod -aG gpio octoprint

```
