Different outputs for different users

Moderator: RevPiModIO

steini_92
Posts: 6
Joined: 08 Jan 2026, 16:43

Different outputs for different users

Post by steini_92 »

Hi together,

I'm using the python revpimodio-mudul to communicate with my RevPis via SNMP. When I run the script that uses revpimodio2 everything is fine and all I/Os are shown, but when the scripts are started via SNMP no IOs are shown. Then it says there are no IOs connected. Does the SNMP user have no rights in the RevPiModIO2-module? How do I give them to it?

Thanks!
User avatar
RevPiModIO
KUNBUS
Posts: 378
Joined: 20 Jan 2017, 07:44

Re: Different outputs for different users

Post by RevPiModIO »

Hi!

ModIO internally accesses the „/dev/piControl0“ device. Since Bookworm, only „root“ users or those in the „picontrol“ group can access it.

To grant access, you need to add the snmp user to the „picontrol“ group. This will enable them to access the device through ModIO.

Code: Select all

sudo usermod -a -G picontrol snmp
Sven
python3-RevPiModIO - https://revpimodio.org/ || Der RevPi ist das Beste, was passieren konnte!
steini_92
Posts: 6
Joined: 08 Jan 2026, 16:43

Re: Different outputs for different users

Post by steini_92 »

YES!
Thank you!!