Wview logging troubles with Vantage Pro2

113 views
Skip to first unread message

Richard Bessey

unread,
Apr 27, 2013, 5:32:35 PM4/27/13
to wv...@googlegroups.com
All,
I have a Vantage Pro2 weather station that works perfectly.
I ordered a serial interface from SLOweather and connected it from to the serial port of the Dell GX150 I am using to the expansion port of the weather station.
I have tried four times with Centos 6.4 and once with Ubuntu 11 and keep getting this error in the log file:

My install procedure is:
Install Centos, yum install dependencies, download radlib and wview, compile, and then copy the start up scripts. Then run vpconfig, wviewconfig, wviewhtmlconfig, and finally start wview.
Looking at the html generated by htmlgend, it looks like its pulling valid weather data from the Davis, but not logging it. In the logs I keep getting this error:
 vproRunState: retrying archive record from console:
vproRunState: you may need to cycle power on the console(including batteries) to resolve this condition.
I have power cycled the linux box multiple times, unplugged the serial port, power cycled the Davis (Left it unplugged all night once) and still keep getting these errors. Also, looking in the sqlite database, I don't see any weather data in the database.
I have also tried clearing the cache of the weather station using vpconfig, no luck.
I have synced the time of the weather station, no luck.
I installed pro weather and can see all of the weather data from the Davis, appears to be working perfectly.
I tried once with Ubuntu, to see if maybe I was running into a weird problem with centos. In ubuntu I used apt-get to install wview (Much easier by the way) Repeated the above steps to configure it with the Davis, and again got the same error.

Then I tried to use weewx, installed it, and it cannot log the weather data from the davis either.

So, is the problem the serial cable I got from sloWEATHER? Does it not keep archive data in the chip that wview is looking for?

Thoughts?

Graham Eddy

unread,
Apr 28, 2013, 1:26:38 AM4/28/13
to wv...@googlegroups.com
the only time i have seen that message is after the clocks were moved recently for start of daylight saving. (hasn't happened in the prior years of starting and finishing daylight savings.) wview lost all data until it suddenly same good about 4 hours later, while i was still asleep. i poked around the code and there was nothing evident

i think there is a software switch in wview for it to ignore archive records in vp2 hardware data logger - try toggling that
___________
Graham Eddy

--
You received this message because you are subscribed to the Google Groups "wview" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wview+un...@googlegroups.com.
To post to this group, send email to wv...@googlegroups.com.
Visit this group at http://groups.google.com/group/wview?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Richard Bessey

unread,
Apr 28, 2013, 9:13:09 PM4/28/13
to wv...@googlegroups.com
AHA!
Thank you for the pointer Graham

I did exactly what you suggested, did some googling to turn off the archive feature.
Found another post from this group where someone went into the source code to disable it so wview would not download archive data from the data logger in the Davis. I started looking in the source code and found a comment that this is now an option for wview.
I did some looking and found:
STATION_RETRIEVE_ARCHIVE
By default, this was set to YES. Based on the documentation, this tells wview to download data from the Davis data logger.
Since I am using a sloWEATHER cable, this does not have a data logger built in, so wview keeps showing errors and will never log data.
I turned this option off and restarted wview. Immediately it started logging data in the sqlite3 database.

Thank you for the help, I really appreciate it!
Reply all
Reply to author
Forward
0 new messages