Davis Vantage View Installation Trouble

571 views
Skip to first unread message

ewo...@nmrsd.org

unread,
Apr 14, 2015, 9:33:59 PM4/14/15
to weewx...@googlegroups.com
HI All,

I bet I have a rather simple problem, but after hours of re-readingTFM I am coming to you for help. 

I have a Davis Vantage View and am hoping to get it working with my Raspberry Pi. I downloaded and installed weewix, I have checked using
lsusb and I see my usblink  the console.

I have double checked and see that the USB Is in fact dev/ttyUSB0 by using dmesg.

But when I am going through the install guide, and I go to the website, I see nothing. Digging Deeper, I see that it is unable to load the driver.

After starting the service: sudo tail -f /var/log/syslog (below)

Apr 14 21:15:08 raspberrypi weewx[2742]: engine: Initializing weewx version 3.1.0

 

Apr 14 21:15:08 raspberrypi weewx[2742]: engine: Using Python 2.7.3 (default, Mar 18 2014, 05:13:23) #012[GCC 4.6.3]

Apr 14 21:15:08 raspberrypi weewx[2742]: engine: pid file is /var/run/weewx.pid

Apr 14 21:15:08 raspberrypi weewx[2744]: engine: Using configuration file /etc/weewx/weewx.conf

Apr 14 21:15:08 raspberrypi weewx[2744]: engine: Loading station type Vantage (weewx.drivers.vantage)

Apr 14 21:15:30 raspberrypi weewx[2744]: vantage: Unable to wake up console

Apr 14 21:15:30 raspberrypi weewx[2744]: engine: Unable to load driver: Unable to wake up Vantage console

Apr 14 21:15:30 raspberrypi weewx[2744]:     ****  Exiting...


Device info: 
pi@raspberrypi ~/Downloads $ wee_config_device --info

 

Using configuration file /
etc/weewx/weewx.conf

Using Vantage driver version 3.0 (weewx.drivers.vantage)

Traceback (most recent call last):

 
File "/usr/bin/wee_config_device", line 43, in <module>

    main
()

 
File "/usr/bin/wee_config_device", line 40, in main

    device
.configure(config_dict)

 
File "/usr/share/weewx/weewx/drivers/__init__.py", line 65, in configure

   
self.do_options(options, parser, config_dict, prompt)

 
File "/usr/share/weewx/weewx/drivers/vantage.py", line 1745, in do_options

    station
= Vantage(**config_dict[DRIVER_NAME])

 
File "/usr/share/weewx/weewx/drivers/vantage.py", line 413, in __init__

   
self._setup()

 
File "/usr/share/weewx/weewx/drivers/vantage.py", line 1081, in _setup

   
self.port.wakeup_console(max_tries=self.max_tries, wait_before_retry=self.wait_before_retry)

 
File "/usr/share/weewx/weewx/drivers/vantage.py", line 78, in wakeup_console

   
raise weewx.WakeupError("Unable to wake up Vantage console")

weewx
.WakeupError: Unable to wake up Vantage console


Let me know if I can provide any other information. Thanks for any help! 

Mark

unread,
Apr 15, 2015, 5:05:24 AM4/15/15
to weewx...@googlegroups.com
I have just installed weewx on my Pi and have a similar problem. My setup is slightly different in that I am running Virtual VP on an XP machine and accessing that via ethernet. Weewx runs fine if I run it directly from the terminal, but if I run it as daemon then I get the same wakeup/driver messages as you. I did have it running for a few hours as a daemon last night, but then it stopped - also while it was running, the time on the html page seemed to be 30 minutes behind, whereas it is correct when running from the terminal.
Not that this helps much, but have you tried running directly from a terminal?

Thomas Keffer

unread,
Apr 15, 2015, 8:30:19 AM4/15/15
to weewx-user
Hello,

This sounds like a connectivity problem. Have you tried the section Establishing connectivity in the User's Guide?

Also, make sure you typed in /dev/ttyUSB0 correctly in weewx.conf. Perhaps substituted an O for a 0? Things like that.

-tk

--
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.
For more options, visit https://groups.google.com/d/optout.

Scott Dylewski

unread,
Oct 15, 2015, 12:58:35 AM10/15/15
to weewx-user
Tom,

I'm getting the exact same error.  I was running weewx just fine, but then my Vantage weather envoy console battery died, and I didn't have the power adaptor plugged in.  So I upgraded weewx at the same time to the latest version, and weewx doesn't connect to the vantage anymore...

I can connect to the vantage via the terminal just fine with the TEST command and others on ttyUSB0.

root@feynman:~# wee_device --info

Using configuration file /etc/weewx/weewx.conf
Using Vantage driver version 3.0 (weewx.drivers.vantage)
Traceback (most recent call last):
  File "/usr/bin/wee_device", line 49, in <module>
    main()
  File "/usr/bin/wee_device", line 46, in main
    device.configure(config_dict)
  File "/usr/share/weewx/weewx/drivers/__init__.py", line 69, in configure
    self.do_options(options, parser, config_dict, prompt)
  File "/usr/share/weewx/weewx/drivers/vantage.py", line 1770, in do_options

    station = Vantage(**config_dict[DRIVER_NAME])
  File "/usr/share/weewx/weewx/drivers/vantage.py", line 438, in __init__
    self._setup()
  File "/usr/share/weewx/weewx/drivers/vantage.py", line 1106, in _setup
    self.port.wakeup_console(max_tries=self.max_tries, wait_before_retry=self.wait_before_retry)
  File "/usr/share/weewx/weewx/drivers/vantage.py", line 83, in wakeup_console

    raise weewx.WakeupError("Unable to wake up Vantage console")
weewx.WakeupError: Unable to wake up Vantage console
root@feynman:~#


/var/log/syslog shows:
Oct 14 21:50:14 localhost kernel: [ 4710.723252] usb 1-1.4: FTDI USB Serial Device converter now attached to ttyUSB0
Oct 14 21:50:14 localhost mtp-probe: checking bus 1, device 11: "/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.4"
Oct 14 21:50:14 localhost mtp-probe: bus: 1, device: 11 was not an MTP device
Oct 14 21:50:35 localhost wee_device[19845]: vantage: SerialException.
Oct 14 21:50:35 localhost wee_device[19845]:    ****  device reports readiness to read but returned no data (device disconnected?)
Oct 14 21:50:35 localhost wee_device[19845]:    ****  Is there a competing process running??
Oct 14 21:50:35 localhost wee_device[19845]: vantage: SerialException.
Oct 14 21:50:35 localhost wee_device[19845]:    ****  device reports readiness to read but returned no data (device disconnected?)
Oct 14 21:50:35 localhost wee_device[19845]:    ****  Is there a competing process running??
Oct 14 21:50:36 localhost wee_device[19845]: vantage: SerialException.
Oct 14 21:50:36 localhost wee_device[19845]:    ****  device reports readiness to read but returned no data (device disconnected?)
Oct 14 21:50:36 localhost wee_device[19845]:    ****  Is there a competing process running??
Oct 14 21:50:36 localhost wee_device[19845]: vantage: SerialException.
Oct 14 21:50:36 localhost wee_device[19845]:    ****  device reports readiness to read but returned no data (device disconnected?)
Oct 14 21:50:36 localhost wee_device[19845]:    ****  Is there a competing process running??
Oct 14 21:50:36 localhost wee_device[19845]: vantage: Unable to wake up console


I'm using a weather envoy with a 3rd-party serial-usb converter that worked fine up until the end of last month when my battery died:
http://scottdylewski.com/weewx/index.html

Thanks for the great software.  any tips to solve my problem?


Thomas Keffer

unread,
Oct 15, 2015, 1:02:53 AM10/15/15
to weewx-user
Perhaps you are suffering from the recent Ubuntu kernel bug

Check the kernel version by typing

uname -a

If it's version 3.13.0-65, this may well be the problem.

-tk

Scott Dylewski

unread,
Oct 16, 2015, 12:19:04 AM10/16/15
to weewx-user
Yes, that was indeed the problem!  thanks for a quick fix.  I downgraded the kernel and it worked just fine...
Reply all
Reply to author
Forward
Message has been deleted
Message has been deleted
0 new messages