I thought this should have been handled on installation, but maybe your 
case was unusual.

There are example udev rules in the installation, although when I run 
"dpkg-query -L weewx | grep udev" I get multiple conflicting examples - 
even on a fresh install, let alone an upgrade.
All the examples seem to rely on serial port via a usb adaptor, so if you 
have a real com port then perhaps that is why.

I don't know where the 99-com file comes from, but it sounds like a default 
catch-all.
Generally you should have a separate, specific rule file, something like 
"20-vantage.rules", to ensure it remains after an update.
I tend to give tighter permissions, such as 0660 to reduce the possibility 
of other programs poking their noses in.

On Sunday 24 March 2024 at 6:58:41 am UTC+10 m8rk...@gmail.com wrote:

> This is more an observation than a question but I had to add the line
>
> KERNAL=="ttyS0", GROUP="weewx", MODE="0666"
>
> to the /etc/udev/rules.d/99-com.rules file to get weewx to run after 
> upgrading from 4.10.2 to 5.0.2. Weewx runs on a Raspberry Pi 4 connected 
> via the serial port ttyS0 to a Davis Vantage Pro console.
>
> Did I miss something in the setup or is this known, required change? 
>

-- 
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/67a1eac7-d4ed-482b-8c70-ae2208d0bc43n%40googlegroups.com.

Reply via email to