oops, I meant running as 'weewx' or 'pi' or 'something else'.... The reason I'm asking is that your systemctl log shows a sudo error that means that the account you are trying to use sudo under is not permitted to do so. The default dpkg installation creates a weewx user and group but does not create a /etc/sudoers.d file for that user. So the weewx user is not going to be able to sudo if you specify that.
But....you should be able to add the weewx user to the correct group(s) that can access your hardware. I think there are other threads related to how to do that. On Tuesday, February 13, 2024 at 12:57:21 PM UTC-8 vince wrote: > On Tuesday, February 13, 2024 at 12:31:54 PM UTC-8 Pierre-Yves wrote: > > Weewx and webserver are perfectly working in simulator mode with "sudo > systemctl start weewx" command > > > Good. That means your problem appears to be related to getting weewx as a > non-privileged user to access your RTL-STR hardware. > > When running weewx using the Simulator does "ps aux|grep weewxd" show it > running as weewxd ? Or pi ? Or something else ? > > > -- 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 weewx-user+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/9e216d86-52d8-4cf8-a71b-74ba11a0f2efn%40googlegroups.com.