Hi Hajo,

On 10 October 2017 at 21:58, Hajo Harms <[email protected]> wrote:

> Hi Glenn
> thanks for response. My english is basic, so some information will be lost
> in translation....
>

Your english is fine.

I'm still curious, but only if you remember. What version of weewx was your
last version and were you using Luc's raw.py with that (raw_0.4.x-lh.py
from the linked weewx-user thread), or was it the original that came with
mesowx?


> I have changed the StdQC.. barometer. So no more over/underflow... :-)
>

Yes, That's good.  That means the Davis driver is fine! (Phew!) :-))

And was the original missing the units entry on that line?


> Tha database meso is only for one day, correct ? Because the datavolume...
>

24 hours by default. That matches the time span for the 24-hour graphs.

 The [Raw] section in your weewx.conf file has the following

    # The max amount of raw data to retain specified in hours (set to 0 to
retain all data)
    # This will in effect keep a rolling window of the data removing old
data based on·
    # the time of the most recent record. It is recommended to set this to
at least 24.
    #
    # NOTE: if increasing this value (or setting to unlimited), keep in
mind that raw data·
    # may consume VERY large amounts of space!
   data_limit = 24

Once it's been running for a while (data_limit) you'll see the following
style of message every 5 minutes, that's raw.py cleaning up the old data.

 raw: deleted rawdata prior to 2017-09-27 08:10:00 AEST (1506463800)

>
> The other thing is, my NAS is near by, so i have many noise (writing
> ervery 2 sec).. I think 5 or 10 sec will be also ok ?
> Or is there a way to cache the data?
>

Nothing simple that I know of, however.

Looking at the code (in my case that's raw_0.4.1-lh.py, around line 128) ,
you could tweak the time value in

def newLoopPacket(self, event):
[...]
if dateTime > (self.lastLoopDateTime + 2):

where that last figure, 2 refers to seconds. If you change that value to 10

if dateTime > (self.lastLoopDateTime + 10):

then it should ignore anything falling within that 10 second span. You'll
get the timestamps that are > 10 seconds apart and the ones in-between will
not make it into the database.
And, I've just tested it on mine and that appears to work.

If you go down this path, save a copy of the file first, then make your
edits to the working copy. Better safe than sorry.

After those edits, you'll need to restart weewx

/etc/init.d/weewx restart


>
> And what's the different between pressure and barometer ?
>
>
Probably best to visit the docs for that one.

 http://www.weewx.com/docs/usersguide.htm#Meteorological_problems

and I'll go and read the MinMax section

http://www.weewx.com/docs/usersguide.htm#StdQC



> I have a Vantage pro 2 plus and a Qnap Nas 219P++
>
> thanks for all the response :-)
>

:-))


> Hajo
>
>
 Cheers
 Glenn

rorpi - read only raspberry pi & various weewx addons
https://github.com/glennmckechnie

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

Reply via email to