Re: [weewx-user] Davis VP2 can't open ttyUSB0

2020-11-18 Thread Greg from Oz
You would test it the same way as if you configured using /dev/ttyUSB0 for 
example. 
You just use /dev/weather instead of /dev/ttyUSB0.
There is nothing special about it really. I just use this method as I have 
several usb devices on my server and I name them to reflect the application 
I am using so it is easier to know what device has been configured for that 
application.


On Thursday, 19 November 2020 at 00:54:50 UTC+11 lecoqacr...@gmail.com 
wrote:

> What is a good way to test the symlink rule to verify that it was created 
> correctly? There is the new file in /dev/weather but is there a more 
> complete way to test? thank you
>
> On Tuesday, November 17, 2020 at 7:29:08 PM UTC-6 Greg from Oz wrote:
>
>> I set my fineoffset rule to:
>>
>> SUBSYSTEM=="usb", ATTRS{idVendor}=="1941", ATTRS{idProduct}=="8021", 
>> MODE="0666", GROUP="plugdev", SYMLINK+="weather"
>>
>> That way it is always /dev/weather regardless of the ttyUsb it is 
>> attached to.
>>
>> ll /dev/weather 
>> lrwxrwxrwx 1 root root 15 Nov 17 09:26 /dev/weather -> bus/usb/002/002
>>
>> On Wednesday, 18 November 2020 at 12:14:53 UTC+11 tke...@gmail.com wrote:
>>
>>> Are you sure? Depending on what permissions the usb port has, you may 
>>> need to use sudo to run lsof:
>>>
>>> *sudo lsof /dev/ttyUSB0*
>>>
>>> Come to think of it, you may have to do that with minicom, too.
>>>
>>> Personally, I change the udev rule that governs permissions for usb 
>>> devices to give everyone access to the port. The rule that governs this is 
>>> most likely in the directory /lib/udev/rules.d, but which file it is in 
>>> depends on the operating system. I believe on Raspbian, it's in file 
>>> 91-permissions.rules, but it may be in 50-udev-default.rules.  Wherever 
>>> you find it, you want to change this
>>>
>>> SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", MODE="0664"
>>>
>>> to this
>>>
>>> SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", MODE="0666"
>>>
>>>
>>> -tk
>>>
>>> On Tue, Nov 17, 2020 at 3:07 PM bgra...@umw.edu  wrote:
>>>

 Thanks everyone, I think I have a bad logger (6540).
 On Tuesday, November 17, 2020 at 9:41:56 AM UTC-5 bgra...@umw.edu 
 wrote:

> root@raspberrypi:/home/pi# ll /dev/ttyUSB0
> crw-rw 1 root dialout 188, 0 Nov 16 17:48 /dev/ttyUSB0
>
>
> root@raspberrypi:/home/pi# lsof /dev/ttyUSB0
> lsof: WARNING: can't stat() fuse.gvfsd-fuse file system 
> /run/user/1000/gvfs
>   Output information may be incomplete.
>
> On Monday, November 16, 2020 at 8:43:34 PM UTC-5 tke...@gmail.com 
> wrote:
>
>> If it were a permissions problem, it would have said so. Same if 
>> modemmanager controlled the port. Still, it doesn't hurt to try lsof and 
>> see if anything else is using the port.
>>
>> *lsof /dev/ttyUSB0*
>>
>>
>>
>>
>> On Mon, Nov 16, 2020 at 5:36 PM Greg from Oz  
>> wrote:
>>
>>> Is the user running this in the dialout group? 
>>>
>>> On Tuesday, 17 November 2020 at 12:30:14 UTC+11 tke...@gmail.com 
>>> wrote:
>>>
 The only thing I can think of to try is to reseat the logger. 

 Unless, you actually have the serial version of the VantagePro and 
 are using a serial-to-usb converter. They are notoriously flakey. If 
 you 
 have a spare one, try that.

 If none of that works, call Davis.

 On Mon, Nov 16, 2020 at 5:04 PM bgra...@umw.edu  
 wrote:

> Yes, I did hit enter many times. Since dmesg said that the usb had 
> attached to ttyUSB0 then I assumed (maybe incorrectly) the rpi had 
> connected. I’m at a loss because everything was working...  Thanks.
>
> On Monday, November 16, 2020 at 7:59:54 PM UTC-5 tke...@gmail.com 
> wrote:
>
>> OK, but did you hit  a few times before typing "TEST"? If 
>> so, you have a connectivity problem, not a WeeWX problem.
>>
>> But, you probably already knew that!
>>
>> -tk
>>
>> On Mon, Nov 16, 2020 at 4:57 PM bgra...@umw.edu  
>> wrote:
>>
>>>
>>> I don’t remember the minicom string but it was the one posted to 
>>> test TEST. When I opened minicom it just sat there no echo on TEST 
>>> or VER. 
>>> No reply. Several reboots no results. /dev/ttyUSB0 is there but 
>>> does not 
>>> respond. Dmesg Seems to have found it.
>>> I checked all plugs and connections. Removed batteries from 
>>> console to reboot. Even tried new RS232/USB dongle. I have a main 
>>> ubuntu 
>>> linux pc running from the ISS so I know that’s working and sending 
>>> data. 
>>> The rpi is setup as a second console which was running weather34. 
>>> Thanks 
>>> Tom and Graham (you helped me in the days of wview).
>>> Bob
>>> M

Re: [weewx-user] Davis VP2 can't open ttyUSB0

2020-11-18 Thread lecoqacr...@gmail.com
What is a good way to test the symlink rule to verify that it was created 
correctly? There is the new file in /dev/weather but is there a more 
complete way to test? thank you

On Tuesday, November 17, 2020 at 7:29:08 PM UTC-6 Greg from Oz wrote:

> I set my fineoffset rule to:
>
> SUBSYSTEM=="usb", ATTRS{idVendor}=="1941", ATTRS{idProduct}=="8021", 
> MODE="0666", GROUP="plugdev", SYMLINK+="weather"
>
> That way it is always /dev/weather regardless of the ttyUsb it is attached 
> to.
>
> ll /dev/weather 
> lrwxrwxrwx 1 root root 15 Nov 17 09:26 /dev/weather -> bus/usb/002/002
>
> On Wednesday, 18 November 2020 at 12:14:53 UTC+11 tke...@gmail.com wrote:
>
>> Are you sure? Depending on what permissions the usb port has, you may 
>> need to use sudo to run lsof:
>>
>> *sudo lsof /dev/ttyUSB0*
>>
>> Come to think of it, you may have to do that with minicom, too.
>>
>> Personally, I change the udev rule that governs permissions for usb 
>> devices to give everyone access to the port. The rule that governs this is 
>> most likely in the directory /lib/udev/rules.d, but which file it is in 
>> depends on the operating system. I believe on Raspbian, it's in file 
>> 91-permissions.rules, but it may be in 50-udev-default.rules.  Wherever 
>> you find it, you want to change this
>>
>> SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", MODE="0664"
>>
>> to this
>>
>> SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", MODE="0666"
>>
>>
>> -tk
>>
>> On Tue, Nov 17, 2020 at 3:07 PM bgra...@umw.edu  wrote:
>>
>>>
>>> Thanks everyone, I think I have a bad logger (6540).
>>> On Tuesday, November 17, 2020 at 9:41:56 AM UTC-5 bgra...@umw.edu wrote:
>>>
 root@raspberrypi:/home/pi# ll /dev/ttyUSB0
 crw-rw 1 root dialout 188, 0 Nov 16 17:48 /dev/ttyUSB0


 root@raspberrypi:/home/pi# lsof /dev/ttyUSB0
 lsof: WARNING: can't stat() fuse.gvfsd-fuse file system 
 /run/user/1000/gvfs
   Output information may be incomplete.

 On Monday, November 16, 2020 at 8:43:34 PM UTC-5 tke...@gmail.com 
 wrote:

> If it were a permissions problem, it would have said so. Same if 
> modemmanager controlled the port. Still, it doesn't hurt to try lsof and 
> see if anything else is using the port.
>
> *lsof /dev/ttyUSB0*
>
>
>
>
> On Mon, Nov 16, 2020 at 5:36 PM Greg from Oz  
> wrote:
>
>> Is the user running this in the dialout group? 
>>
>> On Tuesday, 17 November 2020 at 12:30:14 UTC+11 tke...@gmail.com 
>> wrote:
>>
>>> The only thing I can think of to try is to reseat the logger. 
>>>
>>> Unless, you actually have the serial version of the VantagePro and 
>>> are using a serial-to-usb converter. They are notoriously flakey. If 
>>> you 
>>> have a spare one, try that.
>>>
>>> If none of that works, call Davis.
>>>
>>> On Mon, Nov 16, 2020 at 5:04 PM bgra...@umw.edu  
>>> wrote:
>>>
 Yes, I did hit enter many times. Since dmesg said that the usb had 
 attached to ttyUSB0 then I assumed (maybe incorrectly) the rpi had 
 connected. I’m at a loss because everything was working...  Thanks.

 On Monday, November 16, 2020 at 7:59:54 PM UTC-5 tke...@gmail.com 
 wrote:

> OK, but did you hit  a few times before typing "TEST"? If 
> so, you have a connectivity problem, not a WeeWX problem.
>
> But, you probably already knew that!
>
> -tk
>
> On Mon, Nov 16, 2020 at 4:57 PM bgra...@umw.edu  
> wrote:
>
>>
>> I don’t remember the minicom string but it was the one posted to 
>> test TEST. When I opened minicom it just sat there no echo on TEST 
>> or VER. 
>> No reply. Several reboots no results. /dev/ttyUSB0 is there but does 
>> not 
>> respond. Dmesg Seems to have found it.
>> I checked all plugs and connections. Removed batteries from 
>> console to reboot. Even tried new RS232/USB dongle. I have a main 
>> ubuntu 
>> linux pc running from the ISS so I know that’s working and sending 
>> data. 
>> The rpi is setup as a second console which was running weather34. 
>> Thanks 
>> Tom and Graham (you helped me in the days of wview).
>> Bob
>> Main setup: grattans.org/wx
>> On Monday, November 16, 2020 at 6:43:17 PM UTC-5 tke...@gmail.com 
>> wrote:
>>
>>> When you say  you "tried listening to the console with minicom 
>>> but got no data" what do you mean?
>>>
>>> In particular, did you set the baudrate? And, did you type 
>>>  a few types before trying to type TEST?
>>>
>>> -tk
>>>
>>> On Mon, Nov 16, 2020 at 2:55 PM bgra...@umw.edu  
>>> wrote:
>>>
 I have a VP2 console that I am connecting to an RPI OS 

Re: [weewx-user] Davis VP2 can't open ttyUSB0

2020-11-17 Thread Greg from Oz
I set my fineoffset rule to:

SUBSYSTEM=="usb", ATTRS{idVendor}=="1941", ATTRS{idProduct}=="8021", 
MODE="0666", GROUP="plugdev", SYMLINK+="weather"

That way it is always /dev/weather regardless of the ttyUsb it is attached 
to.

ll /dev/weather 
lrwxrwxrwx 1 root root 15 Nov 17 09:26 /dev/weather -> bus/usb/002/002

On Wednesday, 18 November 2020 at 12:14:53 UTC+11 tke...@gmail.com wrote:

> Are you sure? Depending on what permissions the usb port has, you may need 
> to use sudo to run lsof:
>
> *sudo lsof /dev/ttyUSB0*
>
> Come to think of it, you may have to do that with minicom, too.
>
> Personally, I change the udev rule that governs permissions for usb 
> devices to give everyone access to the port. The rule that governs this is 
> most likely in the directory /lib/udev/rules.d, but which file it is in 
> depends on the operating system. I believe on Raspbian, it's in file 
> 91-permissions.rules, but it may be in 50-udev-default.rules.  Wherever 
> you find it, you want to change this
>
> SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", MODE="0664"
>
> to this
>
> SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", MODE="0666"
>
>
> -tk
>
> On Tue, Nov 17, 2020 at 3:07 PM bgra...@umw.edu  wrote:
>
>>
>> Thanks everyone, I think I have a bad logger (6540).
>> On Tuesday, November 17, 2020 at 9:41:56 AM UTC-5 bgra...@umw.edu wrote:
>>
>>> root@raspberrypi:/home/pi# ll /dev/ttyUSB0
>>> crw-rw 1 root dialout 188, 0 Nov 16 17:48 /dev/ttyUSB0
>>>
>>>
>>> root@raspberrypi:/home/pi# lsof /dev/ttyUSB0
>>> lsof: WARNING: can't stat() fuse.gvfsd-fuse file system 
>>> /run/user/1000/gvfs
>>>   Output information may be incomplete.
>>>
>>> On Monday, November 16, 2020 at 8:43:34 PM UTC-5 tke...@gmail.com wrote:
>>>
 If it were a permissions problem, it would have said so. Same if 
 modemmanager controlled the port. Still, it doesn't hurt to try lsof and 
 see if anything else is using the port.

 *lsof /dev/ttyUSB0*




 On Mon, Nov 16, 2020 at 5:36 PM Greg from Oz  wrote:

> Is the user running this in the dialout group? 
>
> On Tuesday, 17 November 2020 at 12:30:14 UTC+11 tke...@gmail.com 
> wrote:
>
>> The only thing I can think of to try is to reseat the logger. 
>>
>> Unless, you actually have the serial version of the VantagePro and 
>> are using a serial-to-usb converter. They are notoriously flakey. If you 
>> have a spare one, try that.
>>
>> If none of that works, call Davis.
>>
>> On Mon, Nov 16, 2020 at 5:04 PM bgra...@umw.edu  
>> wrote:
>>
>>> Yes, I did hit enter many times. Since dmesg said that the usb had 
>>> attached to ttyUSB0 then I assumed (maybe incorrectly) the rpi had 
>>> connected. I’m at a loss because everything was working...  Thanks.
>>>
>>> On Monday, November 16, 2020 at 7:59:54 PM UTC-5 tke...@gmail.com 
>>> wrote:
>>>
 OK, but did you hit  a few times before typing "TEST"? If 
 so, you have a connectivity problem, not a WeeWX problem.

 But, you probably already knew that!

 -tk

 On Mon, Nov 16, 2020 at 4:57 PM bgra...@umw.edu  
 wrote:

>
> I don’t remember the minicom string but it was the one posted to 
> test TEST. When I opened minicom it just sat there no echo on TEST or 
> VER. 
> No reply. Several reboots no results. /dev/ttyUSB0 is there but does 
> not 
> respond. Dmesg Seems to have found it.
> I checked all plugs and connections. Removed batteries from 
> console to reboot. Even tried new RS232/USB dongle. I have a main 
> ubuntu 
> linux pc running from the ISS so I know that’s working and sending 
> data. 
> The rpi is setup as a second console which was running weather34. 
> Thanks 
> Tom and Graham (you helped me in the days of wview).
> Bob
> Main setup: grattans.org/wx
> On Monday, November 16, 2020 at 6:43:17 PM UTC-5 tke...@gmail.com 
> wrote:
>
>> When you say  you "tried listening to the console with minicom 
>> but got no data" what do you mean?
>>
>> In particular, did you set the baudrate? And, did you type 
>>  a few types before trying to type TEST?
>>
>> -tk
>>
>> On Mon, Nov 16, 2020 at 2:55 PM bgra...@umw.edu  
>> wrote:
>>
>>> I have a VP2 console that I am connecting to an RPI OS (latest). 
>>> Weewx is latest using setup.py. This RPI was running weewx (jessie) 
>>> with no 
>>> problems and using ttyUSB0 from weewx.conf. The vantage driver 
>>> seems ok and 
>>> I actually moved the old one over to be sure.
>>> I tried listening to the console with minicom but got no data. I 
>>> swapped out the RS232/USB converter but got t

Re: [weewx-user] Davis VP2 can't open ttyUSB0

2020-11-17 Thread Tom Keffer
Are you sure? Depending on what permissions the usb port has, you may need
to use sudo to run lsof:

*sudo lsof /dev/ttyUSB0*

Come to think of it, you may have to do that with minicom, too.

Personally, I change the udev rule that governs permissions for usb devices
to give everyone access to the port. The rule that governs this is most
likely in the directory /lib/udev/rules.d, but which file it is in depends
on the operating system. I believe on Raspbian, it's in file
91-permissions.rules, but it may be in 50-udev-default.rules.  Wherever you
find it, you want to change this

SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", MODE="0664"

to this

SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", MODE="0666"


-tk

On Tue, Nov 17, 2020 at 3:07 PM bgra...@umw.edu  wrote:

>
> Thanks everyone, I think I have a bad logger (6540).
> On Tuesday, November 17, 2020 at 9:41:56 AM UTC-5 bgra...@umw.edu wrote:
>
>> root@raspberrypi:/home/pi# ll /dev/ttyUSB0
>> crw-rw 1 root dialout 188, 0 Nov 16 17:48 /dev/ttyUSB0
>>
>>
>> root@raspberrypi:/home/pi# lsof /dev/ttyUSB0
>> lsof: WARNING: can't stat() fuse.gvfsd-fuse file system
>> /run/user/1000/gvfs
>>   Output information may be incomplete.
>>
>> On Monday, November 16, 2020 at 8:43:34 PM UTC-5 tke...@gmail.com wrote:
>>
>>> If it were a permissions problem, it would have said so. Same if
>>> modemmanager controlled the port. Still, it doesn't hurt to try lsof and
>>> see if anything else is using the port.
>>>
>>> *lsof /dev/ttyUSB0*
>>>
>>>
>>>
>>>
>>> On Mon, Nov 16, 2020 at 5:36 PM Greg from Oz  wrote:
>>>
 Is the user running this in the dialout group?

 On Tuesday, 17 November 2020 at 12:30:14 UTC+11 tke...@gmail.com wrote:

> The only thing I can think of to try is to reseat the logger.
>
> Unless, you actually have the serial version of the VantagePro and are
> using a serial-to-usb converter. They are notoriously flakey. If you have 
> a
> spare one, try that.
>
> If none of that works, call Davis.
>
> On Mon, Nov 16, 2020 at 5:04 PM bgra...@umw.edu 
> wrote:
>
>> Yes, I did hit enter many times. Since dmesg said that the usb had
>> attached to ttyUSB0 then I assumed (maybe incorrectly) the rpi had
>> connected. I’m at a loss because everything was working...  Thanks.
>>
>> On Monday, November 16, 2020 at 7:59:54 PM UTC-5 tke...@gmail.com
>> wrote:
>>
>>> OK, but did you hit  a few times before typing "TEST"? If so,
>>> you have a connectivity problem, not a WeeWX problem.
>>>
>>> But, you probably already knew that!
>>>
>>> -tk
>>>
>>> On Mon, Nov 16, 2020 at 4:57 PM bgra...@umw.edu 
>>> wrote:
>>>

 I don’t remember the minicom string but it was the one posted to
 test TEST. When I opened minicom it just sat there no echo on TEST or 
 VER.
 No reply. Several reboots no results. /dev/ttyUSB0 is there but does 
 not
 respond. Dmesg Seems to have found it.
 I checked all plugs and connections. Removed batteries from console
 to reboot. Even tried new RS232/USB dongle. I have a main ubuntu linux 
 pc
 running from the ISS so I know that’s working and sending data. The 
 rpi is
 setup as a second console which was running weather34. Thanks Tom and
 Graham (you helped me in the days of wview).
 Bob
 Main setup: grattans.org/wx
 On Monday, November 16, 2020 at 6:43:17 PM UTC-5 tke...@gmail.com
 wrote:

> When you say  you "tried listening to the console with minicom but
> got no data" what do you mean?
>
> In particular, did you set the baudrate? And, did you type 
> a few types before trying to type TEST?
>
> -tk
>
> On Mon, Nov 16, 2020 at 2:55 PM bgra...@umw.edu 
> wrote:
>
>> I have a VP2 console that I am connecting to an RPI OS (latest).
>> Weewx is latest using setup.py. This RPI was running weewx (jessie) 
>> with no
>> problems and using ttyUSB0 from weewx.conf. The vantage driver seems 
>> ok and
>> I actually moved the old one over to be sure.
>> I tried listening to the console with minicom but got no data. I
>> swapped out the RS232/USB converter but got the same problem.  Not 
>> sure
>> what I have done wrong, other than trying to fix something that 
>> wasn't
>> broken...
>>
>> Attached file of some debug info.
>>
>> Thanks for any suggestions.
>>
>> Bob
>>
>> --
>>
> 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+...@googlegroups.com.
>

Re: [weewx-user] Davis VP2 can't open ttyUSB0

2020-11-17 Thread bgra...@umw.edu

Thanks everyone, I think I have a bad logger (6540).
On Tuesday, November 17, 2020 at 9:41:56 AM UTC-5 bgra...@umw.edu wrote:

> root@raspberrypi:/home/pi# ll /dev/ttyUSB0
> crw-rw 1 root dialout 188, 0 Nov 16 17:48 /dev/ttyUSB0
>
>
> root@raspberrypi:/home/pi# lsof /dev/ttyUSB0
> lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs
>   Output information may be incomplete.
>
> On Monday, November 16, 2020 at 8:43:34 PM UTC-5 tke...@gmail.com wrote:
>
>> If it were a permissions problem, it would have said so. Same if 
>> modemmanager controlled the port. Still, it doesn't hurt to try lsof and 
>> see if anything else is using the port.
>>
>> *lsof /dev/ttyUSB0*
>>
>>
>>
>>
>> On Mon, Nov 16, 2020 at 5:36 PM Greg from Oz  wrote:
>>
>>> Is the user running this in the dialout group? 
>>>
>>> On Tuesday, 17 November 2020 at 12:30:14 UTC+11 tke...@gmail.com wrote:
>>>
 The only thing I can think of to try is to reseat the logger. 

 Unless, you actually have the serial version of the VantagePro and are 
 using a serial-to-usb converter. They are notoriously flakey. If you have 
 a 
 spare one, try that.

 If none of that works, call Davis.

 On Mon, Nov 16, 2020 at 5:04 PM bgra...@umw.edu  
 wrote:

> Yes, I did hit enter many times. Since dmesg said that the usb had 
> attached to ttyUSB0 then I assumed (maybe incorrectly) the rpi had 
> connected. I’m at a loss because everything was working...  Thanks.
>
> On Monday, November 16, 2020 at 7:59:54 PM UTC-5 tke...@gmail.com 
> wrote:
>
>> OK, but did you hit  a few times before typing "TEST"? If so, 
>> you have a connectivity problem, not a WeeWX problem.
>>
>> But, you probably already knew that!
>>
>> -tk
>>
>> On Mon, Nov 16, 2020 at 4:57 PM bgra...@umw.edu  
>> wrote:
>>
>>>
>>> I don’t remember the minicom string but it was the one posted to 
>>> test TEST. When I opened minicom it just sat there no echo on TEST or 
>>> VER. 
>>> No reply. Several reboots no results. /dev/ttyUSB0 is there but does 
>>> not 
>>> respond. Dmesg Seems to have found it.
>>> I checked all plugs and connections. Removed batteries from console 
>>> to reboot. Even tried new RS232/USB dongle. I have a main ubuntu linux 
>>> pc 
>>> running from the ISS so I know that’s working and sending data. The rpi 
>>> is 
>>> setup as a second console which was running weather34. Thanks Tom and 
>>> Graham (you helped me in the days of wview).
>>> Bob
>>> Main setup: grattans.org/wx
>>> On Monday, November 16, 2020 at 6:43:17 PM UTC-5 tke...@gmail.com 
>>> wrote:
>>>
 When you say  you "tried listening to the console with minicom but 
 got no data" what do you mean?

 In particular, did you set the baudrate? And, did you type  
 a few types before trying to type TEST?

 -tk

 On Mon, Nov 16, 2020 at 2:55 PM bgra...@umw.edu  
 wrote:

> I have a VP2 console that I am connecting to an RPI OS (latest). 
> Weewx is latest using setup.py. This RPI was running weewx (jessie) 
> with no 
> problems and using ttyUSB0 from weewx.conf. The vantage driver seems 
> ok and 
> I actually moved the old one over to be sure.
> I tried listening to the console with minicom but got no data. I 
> swapped out the RS232/USB converter but got the same problem.  Not 
> sure 
> what I have done wrong, other than trying to fix something that 
> wasn't 
> broken...
>
> Attached file of some debug info.
>
> Thanks for any suggestions.
>
> Bob
>
> -- 
>
 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+...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/weewx-user/328d0e08-16f5-461c-8782-f6ee86e95008n%40googlegroups.com
>  
> 
> .
>
 -- 
>>> 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+...@googlegroups.com.
>>>
>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/weewx-user/4dea6744-d613-45ad-90f9-46fdf04ceb7an%40googlegroups.com
>>>  
>>> 

Re: [weewx-user] Davis VP2 can't open ttyUSB0

2020-11-17 Thread bgra...@umw.edu
root@raspberrypi:/home/pi# ll /dev/ttyUSB0
crw-rw 1 root dialout 188, 0 Nov 16 17:48 /dev/ttyUSB0


root@raspberrypi:/home/pi# lsof /dev/ttyUSB0
lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs
  Output information may be incomplete.

On Monday, November 16, 2020 at 8:43:34 PM UTC-5 tke...@gmail.com wrote:

> If it were a permissions problem, it would have said so. Same if 
> modemmanager controlled the port. Still, it doesn't hurt to try lsof and 
> see if anything else is using the port.
>
> *lsof /dev/ttyUSB0*
>
>
>
>
> On Mon, Nov 16, 2020 at 5:36 PM Greg from Oz  wrote:
>
>> Is the user running this in the dialout group? 
>>
>> On Tuesday, 17 November 2020 at 12:30:14 UTC+11 tke...@gmail.com wrote:
>>
>>> The only thing I can think of to try is to reseat the logger. 
>>>
>>> Unless, you actually have the serial version of the VantagePro and are 
>>> using a serial-to-usb converter. They are notoriously flakey. If you have a 
>>> spare one, try that.
>>>
>>> If none of that works, call Davis.
>>>
>>> On Mon, Nov 16, 2020 at 5:04 PM bgra...@umw.edu  wrote:
>>>
 Yes, I did hit enter many times. Since dmesg said that the usb had 
 attached to ttyUSB0 then I assumed (maybe incorrectly) the rpi had 
 connected. I’m at a loss because everything was working...  Thanks.

 On Monday, November 16, 2020 at 7:59:54 PM UTC-5 tke...@gmail.com 
 wrote:

> OK, but did you hit  a few times before typing "TEST"? If so, 
> you have a connectivity problem, not a WeeWX problem.
>
> But, you probably already knew that!
>
> -tk
>
> On Mon, Nov 16, 2020 at 4:57 PM bgra...@umw.edu  
> wrote:
>
>>
>> I don’t remember the minicom string but it was the one posted to test 
>> TEST. When I opened minicom it just sat there no echo on TEST or VER. No 
>> reply. Several reboots no results. /dev/ttyUSB0 is there but does not 
>> respond. Dmesg Seems to have found it.
>> I checked all plugs and connections. Removed batteries from console 
>> to reboot. Even tried new RS232/USB dongle. I have a main ubuntu linux 
>> pc 
>> running from the ISS so I know that’s working and sending data. The rpi 
>> is 
>> setup as a second console which was running weather34. Thanks Tom and 
>> Graham (you helped me in the days of wview).
>> Bob
>> Main setup: grattans.org/wx
>> On Monday, November 16, 2020 at 6:43:17 PM UTC-5 tke...@gmail.com 
>> wrote:
>>
>>> When you say  you "tried listening to the console with minicom but 
>>> got no data" what do you mean?
>>>
>>> In particular, did you set the baudrate? And, did you type  a 
>>> few types before trying to type TEST?
>>>
>>> -tk
>>>
>>> On Mon, Nov 16, 2020 at 2:55 PM bgra...@umw.edu  
>>> wrote:
>>>
 I have a VP2 console that I am connecting to an RPI OS (latest). 
 Weewx is latest using setup.py. This RPI was running weewx (jessie) 
 with no 
 problems and using ttyUSB0 from weewx.conf. The vantage driver seems 
 ok and 
 I actually moved the old one over to be sure.
 I tried listening to the console with minicom but got no data. I 
 swapped out the RS232/USB converter but got the same problem.  Not 
 sure 
 what I have done wrong, other than trying to fix something that wasn't 
 broken...

 Attached file of some debug info.

 Thanks for any suggestions.

 Bob

 -- 

>>> 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+...@googlegroups.com.
 To view this discussion on the web visit 
 https://groups.google.com/d/msgid/weewx-user/328d0e08-16f5-461c-8782-f6ee86e95008n%40googlegroups.com
  
 
 .

>>> -- 
>> 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+...@googlegroups.com.
>>
> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/4dea6744-d613-45ad-90f9-46fdf04ceb7an%40googlegroups.com
>>  
>> 
>> .
>>
> -- 
 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

Re: [weewx-user] Davis VP2 can't open ttyUSB0

2020-11-16 Thread Tom Keffer
If it were a permissions problem, it would have said so. Same if
modemmanager controlled the port. Still, it doesn't hurt to try lsof and
see if anything else is using the port.

*lsof /dev/ttyUSB0*




On Mon, Nov 16, 2020 at 5:36 PM Greg from Oz  wrote:

> Is the user running this in the dialout group?
>
> On Tuesday, 17 November 2020 at 12:30:14 UTC+11 tke...@gmail.com wrote:
>
>> The only thing I can think of to try is to reseat the logger.
>>
>> Unless, you actually have the serial version of the VantagePro and are
>> using a serial-to-usb converter. They are notoriously flakey. If you have a
>> spare one, try that.
>>
>> If none of that works, call Davis.
>>
>> On Mon, Nov 16, 2020 at 5:04 PM bgra...@umw.edu  wrote:
>>
>>> Yes, I did hit enter many times. Since dmesg said that the usb had
>>> attached to ttyUSB0 then I assumed (maybe incorrectly) the rpi had
>>> connected. I’m at a loss because everything was working...  Thanks.
>>>
>>> On Monday, November 16, 2020 at 7:59:54 PM UTC-5 tke...@gmail.com wrote:
>>>
 OK, but did you hit  a few times before typing "TEST"? If so,
 you have a connectivity problem, not a WeeWX problem.

 But, you probably already knew that!

 -tk

 On Mon, Nov 16, 2020 at 4:57 PM bgra...@umw.edu 
 wrote:

>
> I don’t remember the minicom string but it was the one posted to test
> TEST. When I opened minicom it just sat there no echo on TEST or VER. No
> reply. Several reboots no results. /dev/ttyUSB0 is there but does not
> respond. Dmesg Seems to have found it.
> I checked all plugs and connections. Removed batteries from console to
> reboot. Even tried new RS232/USB dongle. I have a main ubuntu linux pc
> running from the ISS so I know that’s working and sending data. The rpi is
> setup as a second console which was running weather34. Thanks Tom and
> Graham (you helped me in the days of wview).
> Bob
> Main setup: grattans.org/wx
> On Monday, November 16, 2020 at 6:43:17 PM UTC-5 tke...@gmail.com
> wrote:
>
>> When you say  you "tried listening to the console with minicom but
>> got no data" what do you mean?
>>
>> In particular, did you set the baudrate? And, did you type  a
>> few types before trying to type TEST?
>>
>> -tk
>>
>> On Mon, Nov 16, 2020 at 2:55 PM bgra...@umw.edu 
>> wrote:
>>
>>> I have a VP2 console that I am connecting to an RPI OS (latest).
>>> Weewx is latest using setup.py. This RPI was running weewx (jessie) 
>>> with no
>>> problems and using ttyUSB0 from weewx.conf. The vantage driver seems ok 
>>> and
>>> I actually moved the old one over to be sure.
>>> I tried listening to the console with minicom but got no data. I
>>> swapped out the RS232/USB converter but got the same problem.  Not sure
>>> what I have done wrong, other than trying to fix something that wasn't
>>> broken...
>>>
>>> Attached file of some debug info.
>>>
>>> Thanks for any suggestions.
>>>
>>> Bob
>>>
>>> --
>>>
>> 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+...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/weewx-user/328d0e08-16f5-461c-8782-f6ee86e95008n%40googlegroups.com
>>> 
>>> .
>>>
>> --
> 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+...@googlegroups.com.
>
 To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/4dea6744-d613-45ad-90f9-46fdf04ceb7an%40googlegroups.com
> 
> .
>
 --
>>> 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+...@googlegroups.com.
>>>
>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/weewx-user/8afb9f09-184c-4244-ab5a-1590174ab7c0n%40googlegroups.com
>>> 
>>> .
>>>
>> --
> 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...@g

Re: [weewx-user] Davis VP2 can't open ttyUSB0

2020-11-16 Thread Greg from Oz
Is the user running this in the dialout group? 

On Tuesday, 17 November 2020 at 12:30:14 UTC+11 tke...@gmail.com wrote:

> The only thing I can think of to try is to reseat the logger. 
>
> Unless, you actually have the serial version of the VantagePro and are 
> using a serial-to-usb converter. They are notoriously flakey. If you have a 
> spare one, try that.
>
> If none of that works, call Davis.
>
> On Mon, Nov 16, 2020 at 5:04 PM bgra...@umw.edu  wrote:
>
>> Yes, I did hit enter many times. Since dmesg said that the usb had 
>> attached to ttyUSB0 then I assumed (maybe incorrectly) the rpi had 
>> connected. I’m at a loss because everything was working...  Thanks.
>>
>> On Monday, November 16, 2020 at 7:59:54 PM UTC-5 tke...@gmail.com wrote:
>>
>>> OK, but did you hit  a few times before typing "TEST"? If so, you 
>>> have a connectivity problem, not a WeeWX problem.
>>>
>>> But, you probably already knew that!
>>>
>>> -tk
>>>
>>> On Mon, Nov 16, 2020 at 4:57 PM bgra...@umw.edu  wrote:
>>>

 I don’t remember the minicom string but it was the one posted to test 
 TEST. When I opened minicom it just sat there no echo on TEST or VER. No 
 reply. Several reboots no results. /dev/ttyUSB0 is there but does not 
 respond. Dmesg Seems to have found it.
 I checked all plugs and connections. Removed batteries from console to 
 reboot. Even tried new RS232/USB dongle. I have a main ubuntu linux pc 
 running from the ISS so I know that’s working and sending data. The rpi is 
 setup as a second console which was running weather34. Thanks Tom and 
 Graham (you helped me in the days of wview).
 Bob
 Main setup: grattans.org/wx
 On Monday, November 16, 2020 at 6:43:17 PM UTC-5 tke...@gmail.com 
 wrote:

> When you say  you "tried listening to the console with minicom but got 
> no data" what do you mean?
>
> In particular, did you set the baudrate? And, did you type  a 
> few types before trying to type TEST?
>
> -tk
>
> On Mon, Nov 16, 2020 at 2:55 PM bgra...@umw.edu  
> wrote:
>
>> I have a VP2 console that I am connecting to an RPI OS (latest). 
>> Weewx is latest using setup.py. This RPI was running weewx (jessie) with 
>> no 
>> problems and using ttyUSB0 from weewx.conf. The vantage driver seems ok 
>> and 
>> I actually moved the old one over to be sure.
>> I tried listening to the console with minicom but got no data. I 
>> swapped out the RS232/USB converter but got the same problem.  Not sure 
>> what I have done wrong, other than trying to fix something that wasn't 
>> broken...
>>
>> Attached file of some debug info.
>>
>> Thanks for any suggestions.
>>
>> Bob
>>
>> -- 
>>
> 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+...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/328d0e08-16f5-461c-8782-f6ee86e95008n%40googlegroups.com
>>  
>> 
>> .
>>
> -- 
 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+...@googlegroups.com.

>>> To view this discussion on the web visit 
 https://groups.google.com/d/msgid/weewx-user/4dea6744-d613-45ad-90f9-46fdf04ceb7an%40googlegroups.com
  
 
 .

>>> -- 
>> 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+...@googlegroups.com.
>>
> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/8afb9f09-184c-4244-ab5a-1590174ab7c0n%40googlegroups.com
>>  
>> 
>> .
>>
>

-- 
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/1af9c85d-756c-47ed-a88b-53526b5e9ed5n%40googlegroups.com.


Re: [weewx-user] Davis VP2 can't open ttyUSB0

2020-11-16 Thread Tom Keffer
The only thing I can think of to try is to reseat the logger.

Unless, you actually have the serial version of the VantagePro and are
using a serial-to-usb converter. They are notoriously flakey. If you have a
spare one, try that.

If none of that works, call Davis.

On Mon, Nov 16, 2020 at 5:04 PM bgra...@umw.edu  wrote:

> Yes, I did hit enter many times. Since dmesg said that the usb had
> attached to ttyUSB0 then I assumed (maybe incorrectly) the rpi had
> connected. I’m at a loss because everything was working...  Thanks.
>
> On Monday, November 16, 2020 at 7:59:54 PM UTC-5 tke...@gmail.com wrote:
>
>> OK, but did you hit  a few times before typing "TEST"? If so, you
>> have a connectivity problem, not a WeeWX problem.
>>
>> But, you probably already knew that!
>>
>> -tk
>>
>> On Mon, Nov 16, 2020 at 4:57 PM bgra...@umw.edu  wrote:
>>
>>>
>>> I don’t remember the minicom string but it was the one posted to test
>>> TEST. When I opened minicom it just sat there no echo on TEST or VER. No
>>> reply. Several reboots no results. /dev/ttyUSB0 is there but does not
>>> respond. Dmesg Seems to have found it.
>>> I checked all plugs and connections. Removed batteries from console to
>>> reboot. Even tried new RS232/USB dongle. I have a main ubuntu linux pc
>>> running from the ISS so I know that’s working and sending data. The rpi is
>>> setup as a second console which was running weather34. Thanks Tom and
>>> Graham (you helped me in the days of wview).
>>> Bob
>>> Main setup: grattans.org/wx
>>> On Monday, November 16, 2020 at 6:43:17 PM UTC-5 tke...@gmail.com wrote:
>>>
 When you say  you "tried listening to the console with minicom but got
 no data" what do you mean?

 In particular, did you set the baudrate? And, did you type  a
 few types before trying to type TEST?

 -tk

 On Mon, Nov 16, 2020 at 2:55 PM bgra...@umw.edu 
 wrote:

> I have a VP2 console that I am connecting to an RPI OS (latest). Weewx
> is latest using setup.py. This RPI was running weewx (jessie) with no
> problems and using ttyUSB0 from weewx.conf. The vantage driver seems ok 
> and
> I actually moved the old one over to be sure.
> I tried listening to the console with minicom but got no data. I
> swapped out the RS232/USB converter but got the same problem.  Not sure
> what I have done wrong, other than trying to fix something that wasn't
> broken...
>
> Attached file of some debug info.
>
> Thanks for any suggestions.
>
> Bob
>
> --
>
 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+...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/328d0e08-16f5-461c-8782-f6ee86e95008n%40googlegroups.com
> 
> .
>
 --
>>> 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+...@googlegroups.com.
>>>
>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/weewx-user/4dea6744-d613-45ad-90f9-46fdf04ceb7an%40googlegroups.com
>>> 
>>> .
>>>
>> --
> 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/8afb9f09-184c-4244-ab5a-1590174ab7c0n%40googlegroups.com
> 
> .
>

-- 
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/CAPq0zEDe8QV9y-AUhAxwUuEYZgrw11TicU4UYdmJJ9TinAvnPg%40mail.gmail.com.


Re: [weewx-user] Davis VP2 can't open ttyUSB0

2020-11-16 Thread bgra...@umw.edu
Yes, I did hit enter many times. Since dmesg said that the usb had attached 
to ttyUSB0 then I assumed (maybe incorrectly) the rpi had connected. I’m at 
a loss because everything was working...  Thanks.

On Monday, November 16, 2020 at 7:59:54 PM UTC-5 tke...@gmail.com wrote:

> OK, but did you hit  a few times before typing "TEST"? If so, you 
> have a connectivity problem, not a WeeWX problem.
>
> But, you probably already knew that!
>
> -tk
>
> On Mon, Nov 16, 2020 at 4:57 PM bgra...@umw.edu  wrote:
>
>>
>> I don’t remember the minicom string but it was the one posted to test 
>> TEST. When I opened minicom it just sat there no echo on TEST or VER. No 
>> reply. Several reboots no results. /dev/ttyUSB0 is there but does not 
>> respond. Dmesg Seems to have found it.
>> I checked all plugs and connections. Removed batteries from console to 
>> reboot. Even tried new RS232/USB dongle. I have a main ubuntu linux pc 
>> running from the ISS so I know that’s working and sending data. The rpi is 
>> setup as a second console which was running weather34. Thanks Tom and 
>> Graham (you helped me in the days of wview).
>> Bob
>> Main setup: grattans.org/wx
>> On Monday, November 16, 2020 at 6:43:17 PM UTC-5 tke...@gmail.com wrote:
>>
>>> When you say  you "tried listening to the console with minicom but got 
>>> no data" what do you mean?
>>>
>>> In particular, did you set the baudrate? And, did you type  a few 
>>> types before trying to type TEST?
>>>
>>> -tk
>>>
>>> On Mon, Nov 16, 2020 at 2:55 PM bgra...@umw.edu  wrote:
>>>
 I have a VP2 console that I am connecting to an RPI OS (latest). Weewx 
 is latest using setup.py. This RPI was running weewx (jessie) with no 
 problems and using ttyUSB0 from weewx.conf. The vantage driver seems ok 
 and 
 I actually moved the old one over to be sure.
 I tried listening to the console with minicom but got no data. I 
 swapped out the RS232/USB converter but got the same problem.  Not sure 
 what I have done wrong, other than trying to fix something that wasn't 
 broken...

 Attached file of some debug info.

 Thanks for any suggestions.

 Bob

 -- 

>>> 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+...@googlegroups.com.
 To view this discussion on the web visit 
 https://groups.google.com/d/msgid/weewx-user/328d0e08-16f5-461c-8782-f6ee86e95008n%40googlegroups.com
  
 
 .

>>> -- 
>> 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+...@googlegroups.com.
>>
> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/4dea6744-d613-45ad-90f9-46fdf04ceb7an%40googlegroups.com
>>  
>> 
>> .
>>
>

-- 
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/8afb9f09-184c-4244-ab5a-1590174ab7c0n%40googlegroups.com.


Re: [weewx-user] Davis VP2 can't open ttyUSB0

2020-11-16 Thread Tom Keffer
OK, but did you hit  a few times before typing "TEST"? If so, you
have a connectivity problem, not a WeeWX problem.

But, you probably already knew that!

-tk

On Mon, Nov 16, 2020 at 4:57 PM bgra...@umw.edu  wrote:

>
> I don’t remember the minicom string but it was the one posted to test
> TEST. When I opened minicom it just sat there no echo on TEST or VER. No
> reply. Several reboots no results. /dev/ttyUSB0 is there but does not
> respond. Dmesg Seems to have found it.
> I checked all plugs and connections. Removed batteries from console to
> reboot. Even tried new RS232/USB dongle. I have a main ubuntu linux pc
> running from the ISS so I know that’s working and sending data. The rpi is
> setup as a second console which was running weather34. Thanks Tom and
> Graham (you helped me in the days of wview).
> Bob
> Main setup: grattans.org/wx
> On Monday, November 16, 2020 at 6:43:17 PM UTC-5 tke...@gmail.com wrote:
>
>> When you say  you "tried listening to the console with minicom but got no
>> data" what do you mean?
>>
>> In particular, did you set the baudrate? And, did you type  a few
>> types before trying to type TEST?
>>
>> -tk
>>
>> On Mon, Nov 16, 2020 at 2:55 PM bgra...@umw.edu  wrote:
>>
>>> I have a VP2 console that I am connecting to an RPI OS (latest). Weewx
>>> is latest using setup.py. This RPI was running weewx (jessie) with no
>>> problems and using ttyUSB0 from weewx.conf. The vantage driver seems ok and
>>> I actually moved the old one over to be sure.
>>> I tried listening to the console with minicom but got no data. I swapped
>>> out the RS232/USB converter but got the same problem.  Not sure what I have
>>> done wrong, other than trying to fix something that wasn't broken...
>>>
>>> Attached file of some debug info.
>>>
>>> Thanks for any suggestions.
>>>
>>> Bob
>>>
>>> --
>>>
>> 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+...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/weewx-user/328d0e08-16f5-461c-8782-f6ee86e95008n%40googlegroups.com
>>> 
>>> .
>>>
>> --
> 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/4dea6744-d613-45ad-90f9-46fdf04ceb7an%40googlegroups.com
> 
> .
>

-- 
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/CAPq0zEBgWKF%2BM-d9F8xSZtSohpiT-EJwGL%2BOp7gLJ3QqENFAfw%40mail.gmail.com.


Re: [weewx-user] Davis VP2 can't open ttyUSB0

2020-11-16 Thread bgra...@umw.edu

I don’t remember the minicom string but it was the one posted to test TEST. 
When I opened minicom it just sat there no echo on TEST or VER. No reply. 
Several reboots no results. /dev/ttyUSB0 is there but does not respond. 
Dmesg Seems to have found it.
I checked all plugs and connections. Removed batteries from console to 
reboot. Even tried new RS232/USB dongle. I have a main ubuntu linux pc 
running from the ISS so I know that’s working and sending data. The rpi is 
setup as a second console which was running weather34. Thanks Tom and 
Graham (you helped me in the days of wview).
Bob
Main setup: grattans.org/wx
On Monday, November 16, 2020 at 6:43:17 PM UTC-5 tke...@gmail.com wrote:

> When you say  you "tried listening to the console with minicom but got no 
> data" what do you mean?
>
> In particular, did you set the baudrate? And, did you type  a few 
> types before trying to type TEST?
>
> -tk
>
> On Mon, Nov 16, 2020 at 2:55 PM bgra...@umw.edu  wrote:
>
>> I have a VP2 console that I am connecting to an RPI OS (latest). Weewx is 
>> latest using setup.py. This RPI was running weewx (jessie) with no problems 
>> and using ttyUSB0 from weewx.conf. The vantage driver seems ok and I 
>> actually moved the old one over to be sure.
>> I tried listening to the console with minicom but got no data. I swapped 
>> out the RS232/USB converter but got the same problem.  Not sure what I have 
>> done wrong, other than trying to fix something that wasn't broken...
>>
>> Attached file of some debug info.
>>
>> Thanks for any suggestions.
>>
>> Bob
>>
>> -- 
>>
> 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+...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/328d0e08-16f5-461c-8782-f6ee86e95008n%40googlegroups.com
>>  
>> 
>> .
>>
>

-- 
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/4dea6744-d613-45ad-90f9-46fdf04ceb7an%40googlegroups.com.


Re: [weewx-user] Davis VP2 can't open ttyUSB0

2020-11-16 Thread Tom Keffer
When you say  you "tried listening to the console with minicom but got no
data" what do you mean?

In particular, did you set the baudrate? And, did you type  a few
types before trying to type TEST?

-tk

On Mon, Nov 16, 2020 at 2:55 PM bgra...@umw.edu  wrote:

> I have a VP2 console that I am connecting to an RPI OS (latest). Weewx is
> latest using setup.py. This RPI was running weewx (jessie) with no problems
> and using ttyUSB0 from weewx.conf. The vantage driver seems ok and I
> actually moved the old one over to be sure.
> I tried listening to the console with minicom but got no data. I swapped
> out the RS232/USB converter but got the same problem.  Not sure what I have
> done wrong, other than trying to fix something that wasn't broken...
>
> Attached file of some debug info.
>
> Thanks for any suggestions.
>
> Bob
>
> --
> 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/328d0e08-16f5-461c-8782-f6ee86e95008n%40googlegroups.com
> 
> .
>

-- 
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/CAPq0zEBrP18O9XOgDc7UztC_qVnkqzzN9xpiXssb8AHcda3AKQ%40mail.gmail.com.


Re: [weewx-user] Davis VP2 can't open ttyUSB0

2020-11-16 Thread Graham Eddy
from the log:
the USB/serial adapter seems okay and provides a port.
weewx has opened the port, written some data out, but received no data on read.
is the vp2 connected to the USB/serial adapter? (my DB9 plug sometimes comes 
adrift so i screwed it in…)

> On 17 Nov 2020, at 9:55 am, bgra...@umw.edu  wrote:
> 
> I have a VP2 console that I am connecting to an RPI OS (latest). Weewx is 
> latest using setup.py. This RPI was running weewx (jessie) with no problems 
> and using ttyUSB0 from weewx.conf. The vantage driver seems ok and I actually 
> moved the old one over to be sure.
> I tried listening to the console with minicom but got no data. I swapped out 
> the RS232/USB converter but got the same problem.  Not sure what I have done 
> wrong, other than trying to fix something that wasn't broken...
> 
> Attached file of some debug info.
> 
> Thanks for any suggestions.
> 
> Bob
> 
> -- 
> 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/328d0e08-16f5-461c-8782-f6ee86e95008n%40googlegroups.com
>  
> .
> 

-- 
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/5DFC411D-DE1A-4D56-A37D-1A529812BBD2%40gmail.com.


[weewx-user] Davis VP2 can't open ttyUSB0

2020-11-16 Thread bgra...@umw.edu
I have a VP2 console that I am connecting to an RPI OS (latest). Weewx is 
latest using setup.py. This RPI was running weewx (jessie) with no problems 
and using ttyUSB0 from weewx.conf. The vantage driver seems ok and I 
actually moved the old one over to be sure.
I tried listening to the console with minicom but got no data. I swapped 
out the RS232/USB converter but got the same problem.  Not sure what I have 
done wrong, other than trying to fix something that wasn't broken...

Attached file of some debug info.

Thanks for any suggestions.

Bob

-- 
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/328d0e08-16f5-461c-8782-f6ee86e95008n%40googlegroups.com.
Linux raspberrypi 5.4.72-v7+ #1356 SMP Thu Oct 22 13:56:54 BST 2020 armv7l 
GNU/Linux

wee_device:
Using configuration file /home/weewx/weewx.conf
Using Vantage driver version 3.2.1 (weewx.drivers.vantage)
Traceback (most recent call last):
  File "./wee_device", line 78, in 
main()
  File "./wee_device", line 74, in main
device.configure(config_dict)
  File "/home/weewx/bin/weewx/drivers/__init__.py", line 67, in configure
self.do_options(options, parser, config_dict, not options.noprompt)
  File "/home/weewx/bin/weewx/drivers/vantage.py", line 2056, in do_options
station = Vantage(**config_dict[DRIVER_NAME])
  File "/home/weewx/bin/weewx/drivers/vantage.py", line 515, in __init__
self._setup()
  File "/home/weewx/bin/weewx/drivers/vantage.py", line 1317, in _setup
self.port.wakeup_console(max_tries=self.max_tries)
  File "/home/weewx/bin/weewx/drivers/vantage.py", line 118, in wakeup_console
raise weewx.WakeupError("Unable to wake up Vantage console")
weewx.WakeupError: Unable to wake up Vantage console



dmesg:
364.269928] usb 1-1.5: new full-speed USB device number 7 using dwc_otg
[  364.427490] usb 1-1.5: New USB device found, idVendor=0403, idProduct=6001, 
bcdDevice= 6.00
[  364.427508] usb 1-1.5: New USB device strings: Mfr=1, Product=2, 
SerialNumber=3
[  364.427520] usb 1-1.5: Product: FT232R USB UART
[  364.427533] usb 1-1.5: Manufacturer: FTDI
[  364.427545] usb 1-1.5: SerialNumber: A5052IYA
[  364.436085] usb 1-1.5: Detected FT232RL
[  364.437634] usb 1-1.5: FTDI USB Serial Device converter now attached to 
ttyUSB0
[  955.337038] usb 1-1.5: USB disconnect, device number 7
[  961.782001] usb 1-1.4: new full-speed USB device number 8 using dwc_otg
[  961.939483] usb 1-1.4: New USB device found, idVendor=0403, idProduct=6001, 
bcdDevice= 6.00
[  961.939501] usb 1-1.4: New USB device strings: Mfr=1, Product=2, 
SerialNumber=3
[  961.939512] usb 1-1.4: Product: FT232R USB UART
[  961.939522] usb 1-1.4: Manufacturer: FTDI
[  961.939532] usb 1-1.4: SerialNumber: A5052JQ7
[  961.948057] usb 1-1.4: Detected FT232RL
[  961.950936] usb 1-1.4: FTDI USB Serial Device converter now attached to 
ttyUSB0

syslog on service weewx restart:
Nov 16 17:30:15 raspberrypi systemd[1]: Stopping LSB: weewx weather system...
Nov 16 17:30:15 raspberrypi weewx[2103]: Stopping weewx weather system: weewx 
not running
Nov 16 17:30:15 raspberrypi systemd[1]: weewx.service: Succeeded.
Nov 16 17:30:15 raspberrypi systemd[1]: Stopped LSB: weewx weather system.
Nov 16 17:30:15 raspberrypi systemd[1]: Starting LSB: weewx weather system...
Nov 16 17:30:15 raspberrypi weewx[2125] INFO __main__: Initializing weewx 
version 4.2.0
Nov 16 17:30:15 raspberrypi weewx[2125] INFO __main__: Using Python 3.7.3 
(default, Jul 25 2020, 13:03:44) #012[GCC 8.3.0]
Nov 16 17:30:15 raspberrypi weewx[2125] INFO __main__: Platform 
Linux-5.4.72-v7+-armv7l-with-debian-10.6
Nov 16 17:30:15 raspberrypi weewx[2125] INFO __main__: Locale is 'en_US.UTF-8'
Nov 16 17:30:15 raspberrypi weewx[2125] INFO __main__: PID file is 
/var/run/weewx.pid
Nov 16 17:30:15 raspberrypi weewx[2129] INFO __main__: Using configuration file 
/home/weewx/weewx.conf
Nov 16 17:30:15 raspberrypi weewx[2129] INFO __main__: Debug is 1
Nov 16 17:30:15 raspberrypi weewx[2129] DEBUG __main__: Initializing engine
Nov 16 17:30:15 raspberrypi weewx[2129] INFO weewx.engine: Loading station type 
Vantage (weewx.drivers.vantage)
Nov 16 17:30:15 raspberrypi weewx[2129] DEBUG weewx.drivers.vantage: Driver 
version is 3.2.1
Nov 16 17:30:15 raspberrypi weewx[2129] DEBUG weewx.drivers.vantage: Option 
loop_request=1
Nov 16 17:30:15 raspberrypi weewx[2114]: Starting weewx weather system: weewx.
Nov 16 17:30:15 raspberrypi systemd[1]: Started LSB: weewx weather system.
Nov 16 17:30:15 raspberrypi weewx[2129] DEBUG weewx.drivers.vantage: Opened up 
serial port /dev/ttyUSB0; baud 19200; timeout 4.00
Nov 16 17:30:20 raspberrypi weewx[2129] DEBUG weewx.drivers.vantage: Retry #0 
failed
Nov 16 17:30:24 raspberrypi weewx[2129] DEBUG weewx.drivers.vantage: Retry #1