On Thursday, June 20, 2019 at 8:18:41 PM UTC-7, Mickael Hoareau wrote:

> Concerning the port of the driver, I always use this for security :
> [Vantage]
>     ...
>     port = /dev/vp2
>
> [...] 

>
> I created the file /etc/udev/rules.d/vpro.rules with this content :
>
> # Automount USB cable to port /dev/vp2
>
> # Different versions of Davis dataloggers
> ACTION=="add", SUBSYSTEM=="tty", ATTRS{idVendor}=="10c4", 
> ATTRS{idProduct}=="ea60", MODE="0660", GROUP="weewx", SYMLINK+="vp2", 
> TAG+="systemd", ENV{SYSTEMD_WANTS}="weewx.service"
>
> ACTION=="add", SUBSYSTEM=="tty", ATTRS{idVendor}=="10c4", 
> ATTRS{idProduct}=="ea61", MODE="0660", GROUP="weewx", SYMLINK+="vp2", 
> TAG+="systemd", ENV{SYSTEMD_WANTS}="weewx.service"
>
> # Datalogger clone by Belfryboy
> ACTION=="add", SUBSYSTEM=="tty", ATTRS{idVendor}=="0403", 
> ATTRS{idProduct}=="6015", MODE="0660", GROUP="weewx", SYMLINK+="vp2", 
> TAG+="systemd", ENV{SYSTEMD_WANTS}="weewx.service"
>
> With this, it works out-of-the box for me, when I plug the USB datalogger, 
> it automatically shows under /dev/vp2.
>


Thanks a bunch - excellent example !

FWIW, I've run weewx for many years, just with a usb-to-serial adaptor on 
my VP2.  Waaaaaay back in time computers actually had serial adaptors :-)

My only real concern is console-to-pi connectivity as I can't get remote 
access and I only fly home to the other coast yearly or so. This'll help a 
lot.  Thanks.

-- 
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 on the web visit 
https://groups.google.com/d/msgid/weewx-user/678cfc36-ec3a-468d-95a8-1af7cd5c548f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to