Octoprint not controlling GPIO

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

did you activate I2C in dietpi-config?

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

usermod -aG gpio octoprint