You want to look for 'rtl' or 'sdr' and adding the weewx user to the appropriate group that has permissions to access the hardware.
https://groups.google.com/g/weewx-user/c/7CIRRoo6Qdk/m/8dwn6EBiAQAJ is one link. Note that 'plugdev' is correct for that example. We cannot predict what 'your' system will require. On Tuesday, February 13, 2024 at 1:49:27 PM UTC-8 Pierre-Yves wrote: > I haven't found any thread related to the creation of weewx user and > group... > PY > > Le mardi 13 février 2024 à 22:14:40 UTC+1, Pierre-Yves a écrit : > >> Thanks Vince. >> I'll try to find the way to do that >> >> Le mardi 13 février 2024 à 22:05:10 UTC+1, vince a écrit : >> >>> 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/4b69c6da-c8ae-4a8a-98e5-9f071cec34acn%40googlegroups.com.