Sure. The weewx user, whichever user that is, needs permissions to access 
any hardware. 

If you run a pip installation as the default user pi you get that with no 
action required. If you run a dpkg installation (user weewx) or use pip 
with any non-default user you will likely need to add them to whichever 
group your particular os requires to access your hardware.

On Saturday, September 20, 2025 at 1:05:39 AM UTC-7 Mark Fraser wrote 

I've installed weewx from the repository and when I tried to run the 
extension weewx complained about permissions to access i2c, should I need 
to add weewx to the i2c group with:

sudo usermod -a -G i2c weewx 

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/weewx-user/d7fdd086-375a-4b86-bdb8-ff1a2d2bd14bn%40googlegroups.com.

Reply via email to