For pip installs, please delete your old virtual environment, then install 
from scratch by following the new pip install instructions 
<https://weewx.com/docs/5.0/quickstarts/pip/#install-in-a-virtual-environment>. 
While upgrading should work, we are particularly interested in the 
experience of a new install, including setting up a daemon and udev files. 
Make sure to follow the new instructions that use a daemon setup script.


No issues here on a pi with current RaspiOS and a pip installation but a 
question...

Do the udev rules assume a 'Davis' Vantage usb logger ?

pi@pi4:/etc/udev/rules.d$ grep -i vantage 60-weewx.rules
# make any davis vantage connected via usb-serial accessible to anyone
SUBSYSTEM=="tty",ATTRS{idVendor}=="10c4",ATTRS{idProduct}=="ea60",MODE="0666",SYMLINK+="vantage"

Should there perhaps be a udev rule for typical serial2usb converters 
perhaps, or is that something not stable depending on which serial2usb we 
use ?

pi@pi4:/etc/udev/rules.d$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 0557:2008 ATEN International Co., Ltd UC-232A Serial 
Port [pl2303]
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

I'm fine here with sticking with the console coming up as /dev/ttyUSB0 
since that's stable for me here, but just asking to (re)learn the udev 
stuff...


Also - reminder to others -  if you're had an old weewx-venv remember to 
also install your added python modules.  For me here, I add paho-mqtt and 
requests to the 'pip install weewx' command to have the additional python 
modules my skins+extensions require.   It might be wise to run 'pip3 list' 
before you stash the previous venv aside to do a pip install of b17 from 
scratch...


-- 
You received this message because you are subscribed to the Google Groups 
"weewx-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-development/f5a67699-bca3-4704-af4a-27ba61fe238fn%40googlegroups.com.

Reply via email to