Vantage Vue Station to dump its files on Raspberry Pi???

142 views
Skip to first unread message

Lodewyk Jansen

unread,
Sep 5, 2019, 9:43:35 PM9/5/19
to weewx-user
Hi,

I hope there is an answer for this - I have a Vantage Vue Station (Davis) and need to log in 1-min intervals at a location very remote (no cellphone signal and some distance away). I need to record for more than a week (probably need to stay out for 2 weeks) at a time. 

The problem is that the USB logger is limited to 516 bins, thus it can only hold 516-minutes of data (~8hours) which isn't near enough. I have a Raspberry Pi and I am hoping that in some way the Logger can dump the raw files on it while out in the field - then afterwards can "open" the files in Weatherlink or some software to get the 1-minute interval data for the whole period it was out in the field. 

I do the post-processing in excel so even if I have CSV file with the whole period on it would be ideal. 

Thank you for reading the post and I hope there is an easy solution to this...

Regards,

Andrew Milner

unread,
Sep 5, 2019, 10:16:20 PM9/5/19
to weewx-user
what is the reason for needing 1 minute intervals?  most weather conditions do not change very much within 5 or even 10 minutes, let alone 1 minute!!

vince

unread,
Sep 5, 2019, 11:04:06 PM9/5/19
to weewx-user
On Thursday, September 5, 2019 at 6:43:35 PM UTC-7, Lodewyk Jansen wrote:
The problem is that the USB logger is limited to 516 bins, thus it can only hold 516-minutes of data (~8hours) which isn't near enough. I have a Raspberry Pi and I am hoping that in some way the Logger can dump the raw files on it while out in the field - then afterwards can "open" the files in Weatherlink or some software to get the 1-minute interval data for the whole period it was out in the field. 


Isn't what you're asking about the same as simply setting your archive period to 1 minute and letting weewx save the data to its archive table in weewx.sdb normally ?

How are you going to power the pi in the field for 2 weeks ?  Powering the thing connected 'to' the Vue is the bigger issue I'd think.   Weewx will catch up to the logger every time it starts if you were thinking about only running the pi for a short time per day.

Maybe you should explain what you're trying to do first, there's likely a simpler solution to what you're asking about.



Thomas Keffer

unread,
Sep 8, 2019, 10:52:24 AM9/8/19
to weewx-user
In addition to Andrew and Vince's comments, it's also worth noting that a Davis logger can hold 2560 records, not 516.

-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.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/68d68114-6567-47f5-b3d9-654d69d7c318%40googlegroups.com.

Lodewyk Jansen

unread,
Sep 9, 2019, 9:30:45 PM9/9/19
to weewx-user
Hi,

The reason for 1minute is to capture the wind speed. I am logging noise as part of the project wee need to determine the impact the wind has on the ambient. because noise change within seconds it would be good to have 1-minute interval logging on the weather station. The noise logger is powered by a solar panel and battery box - so the power supply isn't an issue. 

I am a noob when it comes to python and any type of programming - so if there is a code I can incorporate in the configuration to supply the 1-minute data interval to a day summary text file it would be much appreciated. 

Ideally, it would create a days text file (and create a new one for the following day) and populate each of the day's text file with data. 

Andrew Milner

unread,
Sep 9, 2019, 10:07:41 PM9/9/19
to weewx-user
If you need to know the wind every few seconds - to match the noise readings which change within seconds - then you need to capture the LOOP data from the station rather than the REC data - this should give you 2 second updates.  Are you sure your battery is large enough to power both the noise logger and an RPi through the night - especially if it has been a poor solar day??  Heve you tried just setting archive interval to 60 in both station and weewx (and disable the reporting engine if you do not want any reports.

vince

unread,
Sep 10, 2019, 10:33:51 AM9/10/19
to weewx-user
On Monday, September 9, 2019 at 6:30:45 PM UTC-7, Lodewyk Jansen wrote:
The noise logger is powered by a solar panel and battery box - so the power supply isn't an issue. 
 
I am a noob when it comes to python and any type of programming - so if there is a code I can incorporate in the configuration to supply the 1-minute data interval to a day summary text file it would be much appreciated. 

Again, just set your station 'and' weewx to the same 60 second interval and you're good to go.

Ideally, it would create a days text file (and create a new one for the following day) and populate each of the day's text file with data. 


I'm not sure what you are looking for there, but if you want to see 24*60 records per day you just query the archive table in weewx.sdb after the fact to get a listing of what it stored for wind vs. date+time.

Lodewyk Jansen

unread,
Sep 16, 2019, 9:47:09 PM9/16/19
to weewx-user
Hi,

As mentioned i am new to this all - stupid qustion comming up...
How do i access the weewx.sdb file - would i be able to open it in a text editor or something like that? 

vince

unread,
Sep 17, 2019, 10:05:50 AM9/17/19
to weewx-user
On Monday, September 16, 2019 at 6:47:09 PM UTC-7, Lodewyk Jansen wrote:
As mentioned i am new to this all - stupid qustion comming up...
How do i access the weewx.sdb file - would i be able to open it in a text editor or something like that? 



It's a sqlite3 database file.

If you're asking questions like that, I'd suggest you might want to spend a little time reading the online weewx documentation and wiki to better understand how weewx is put together.

Peter Fletcher

unread,
Sep 18, 2019, 9:34:57 AM9/18/19
to weewx-user
weewx.sdb is a SQLite database file.In order to access the data in it, you need to use software that 'understands' the structure of such files. Try Googling "SQLIte DB Browser".

Lodewyk Jansen

unread,
Sep 18, 2019, 5:12:46 PM9/18/19
to weewx-user
Hi,
Thanks for this I am sorted with getting the data. I just needed to install sqlite dB to view the files.

Also got the CSV extension on to generate a CSV file.

Reply all
Reply to author
Forward
0 new messages