Re: [weewx-user] Reporting - NOAA file generation

2018-05-28 Thread Thomas Keffer
Hello, Richard, and welcome to WeeWX.

   1. While it would be easy enough to create a daily NOAA style report, it
   would require a bit of work to give it a unique name, allowing it to be
   linked to from some index page. WeeWX fills out an appropriate file name
   when the template has a pattern like YY-MM, but, unfortunately, cannot do a
   pattern like YY-MM-DD. That could (and should!) be added to the file
   generator.
   2. There's no point in generating webpages from the database any faster
   than the database gets updated. However, if you want to create something
   from the LOOP packets, that's something many people have done.  See the
   Wiki page *Strategies for publishing data
   * for ideas. Also, look
   through the long list of extensions
    and see if
   anything catches your fancy.
   3. WeeWX has a utility wee_reports
    that can
   launch the reporting cycle on demand. But, unless the database has been
   updated, it won't have anything new.


-tk


On Mon, May 28, 2018 at 10:22 AM,  wrote:

> All,
>
> First let me say that I have been a long time wview user and I have spent
> some time getting adapted to the new interface.  I have the system up and
> running on a Pi with my Vantage Pro2 and have even successfully managed to
> port my old wview pages to the new platform.  I have a couple of questions
> with some things I did not quite find in the documentation.
>
>1. NOAA File generation:  Does weeWX create or can it create the NOAA
>daily files like wview did?  Not a problem if it does not but just more
>changes to my custom web pages.
>2. Is there a way to get the webpages to update at a faster rate?  I
>am currently using the default value for the archiving (300s).  If possible
>I would like them to update every minute if possible.  The documentation
>implies that you are stuck at the data archiving rate.
>3. Can you force weeWX to generate a new set of reports on command and
>publish to the web server?  If so I will just add an update button to the
>webpage
>
> Thanks In advance and to all that contributed to the code.  Nice Work!
>
> Richard
>
> --
> 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.
> For more options, visit https://groups.google.com/d/optout.
>

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


Re: [weewx-user] Re: Reporting - NOAA file generation

2018-05-28 Thread Paul R Anderson
Hello Richard,
On a debian install I use the template below to generate a NOAA style daily
record.
An example of the output can be seen on my website here:
http://pauland.net/NOAA/NOAA-2018-05-27.txt
PLEASE NOTE ! It's the first template I wrote for WEEWX after switching
from wview. Am sure it could be done better, as I just guessed my way until
things worked. However it's been working well for me for 6 months with no
issues.Notice it has hard codes station name rather than variable in a
couple places.

/etc/weewx/skins/Standard/NOAA/NOAA--MM-DD.txt.tmpl


#errorCatcher Echo
#set $YM="%Y%m"
#set $D="%d"
#set $M="%b"
#set $Time="%H:%M"
#set $TimeM="%I:%M %p"
#set $Temp="%6.1f"
#set $Wind="%6.0f"
#set $Dir="%6.0f"
#set $Humid="%6.0f"
#set $Press="%6.1f"
#set $NONE="   N/A"
#set $Rain="%6.2f"

WOBURN WEATHER CENTER
DAILY CLIMATOLOGICAL SUMMARY FOR $month_name $day.dateTime.format($D)
$year_name
Location: Woburn, Massachusetts, U.S.A.
ELEV: $station.altitudeLAT: $station.latitude[0]-$station.latitude[1]
$station.latitude[2]LONG: $station.longitude[0]-$station.longitude[1]
$station.longitude[2]

 Time   Wind Dir   Wind Spd   Wind Gust   Humidity TempBarometer
 Rain
 Degmph mph  %Deg F   mb
 in

#for $record in $day.records
$record.dateTime.format($Time) $record.windDir.nolabel($Dir,$NONE)
 $record.windSpeed.nolabel($Wind,$NONE)
$record.windGust.nolabel($Wind,$NONE)
 $record.outHumidity.nolabel($Humid,$NONE)
 $record.outTemp.nolabel($Temp,$None)
 $record.barometer.nolabel($Press,$NONE) $record.rain.nolabel($Rain,$NONE)
#end for

WOBURN WEATHER CENTER
Summary For $month_name $day.dateTime.format($D) $year_name
--
 Max Temp: $day.outTemp.max At: $day.outTemp.maxtime.format($TimeM)
 Min Temp: $day.outTemp.min At: $day.outTemp.mintime.format($TimeM)
Mean Temp: $day.outTemp.avg
Max Wind Gust: $day.windGust.max At: $day.windGust.maxtime.format($TimeM)
Heat Deg Days: $day.heatdeg.sum
Cool Deg Days: $day.cooldeg.sum
   Daily Rain: $day.rain.sum
--




On Mon, May 28, 2018 at 2:27 PM,  wrote:

> Cheers!!
>
>
> On Monday, May 28, 2018 at 12:22:47 PM UTC-5, reba...@gmail.com wrote:
>>
>> All,
>>
>> First let me say that I have been a long time wview user and I have spent
>> some time getting adapted to the new interface.  I have the system up and
>> running on a Pi with my Vantage Pro2 and have even successfully managed to
>> port my old wview pages to the new platform.  I have a couple of questions
>> with some things I did not quite find in the documentation.
>>
>>1. NOAA File generation:  Does weeWX create or can it create the NOAA
>>daily files like wview did?  Not a problem if it does not but just more
>>changes to my custom web pages.
>>2. Is there a way to get the webpages to update at a faster rate?  I
>>am currently using the default value for the archiving (300s).  If 
>> possible
>>I would like them to update every minute if possible.  The documentation
>>implies that you are stuck at the data archiving rate.
>>3. Can you force weeWX to generate a new set of reports on command
>>and publish to the web server?  If so I will just add an update button to
>>the webpage
>>
>> Thanks In advance and to all that contributed to the code.  Nice Work!
>>
>> Richard
>>
> --
> 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.
> For more options, visit https://groups.google.com/d/optout.
>

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


[weewx-user] Re: Reporting - NOAA file generation

2018-05-28 Thread reback001
Cheers!!

On Monday, May 28, 2018 at 12:22:47 PM UTC-5, reba...@gmail.com wrote:
>
> All,
>
> First let me say that I have been a long time wview user and I have spent 
> some time getting adapted to the new interface.  I have the system up and 
> running on a Pi with my Vantage Pro2 and have even successfully managed to 
> port my old wview pages to the new platform.  I have a couple of questions 
> with some things I did not quite find in the documentation.
>
>1. NOAA File generation:  Does weeWX create or can it create the NOAA 
>daily files like wview did?  Not a problem if it does not but just more 
>changes to my custom web pages.
>2. Is there a way to get the webpages to update at a faster rate?  I 
>am currently using the default value for the archiving (300s).  If 
> possible 
>I would like them to update every minute if possible.  The documentation 
>implies that you are stuck at the data archiving rate.
>3. Can you force weeWX to generate a new set of reports on command and 
>publish to the web server?  If so I will just add an update button to the 
>webpage
>
> Thanks In advance and to all that contributed to the code.  Nice Work!
>
> Richard
>

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


RE: [weewx-user] Re: Exceptions attribute error - Interceptor driver for Acurite bridge

2018-05-28 Thread 'Scott Weis' via weewx-user
I run weewx on a Raspberry Pi model B (512Mb ram and 700  
 MHz single-core  
 ARM1176JZF-S, running since 2013)  Since 
the Pi Zero has a 1 GHz single-core   
ARM1176JZF-S and 512Mb Ram it should be fine.

 

From: weewx-user@googlegroups.com [mailto:weewx-user@googlegroups.com] On 
Behalf Of Douglas Krug
Sent: Monday, May 28, 2018 11:39 AM
To: weewx-user@googlegroups.com
Subject: Re: [weewx-user] Re: Exceptions attribute error - Interceptor driver 
for Acurite bridge

 

Hi Mathew,

 

Thanks again. I'm not at a fluent in python. I've spent more time trying to get 
this running on Mac OS than it's worth. Going to order a Raspberry Pi 3 and try 
from there. So many more people running that, and support will be easier for 
everyone if I run into trouble.

 

I do have a RPi Zero W on hand. What your opinion on using that, would it be 
sufficient, or under powered for the task?

 

On Sun, May 27, 2018 at 8:36 PM, mwall mailto:goo...@lancet.mit.edu> > wrote:

On Saturday, May 26, 2018 at 12:33:54 PM UTC-4, Douglas Krug wrote:

Hi Matthew, is there an older version of the weewx-interceptor code before the 
pylibpcap binding change I might be able to try?

 

nope - you'll be better of working with the latest

 

are you certain that you installed the pylibpcap bindings properly?  did you 
test by starting a python shell and doing the imports directly?

 

-- 
You received this message because you are subscribed to a topic in the Google 
Groups "weewx-user" group.
To unsubscribe from this topic, visit 
https://groups.google.com/d/topic/weewx-user/0cdl5rIPFCM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to 
weewx-user+unsubscr...@googlegroups.com 
 .
For more options, visit https://groups.google.com/d/optout.

 

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

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


[weewx-user] Reporting - NOAA file generation

2018-05-28 Thread reback001
All,

First let me say that I have been a long time wview user and I have spent 
some time getting adapted to the new interface.  I have the system up and 
running on a Pi with my Vantage Pro2 and have even successfully managed to 
port my old wview pages to the new platform.  I have a couple of questions 
with some things I did not quite find in the documentation.

   1. NOAA File generation:  Does weeWX create or can it create the NOAA 
   daily files like wview did?  Not a problem if it does not but just more 
   changes to my custom web pages.
   2. Is there a way to get the webpages to update at a faster rate?  I am 
   currently using the default value for the archiving (300s).  If possible I 
   would like them to update every minute if possible.  The documentation 
   implies that you are stuck at the data archiving rate.
   3. Can you force weeWX to generate a new set of reports on command and 
   publish to the web server?  If so I will just add an update button to the 
   webpage

Thanks In advance and to all that contributed to the code.  Nice Work!

Richard

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


[weewx-user] Re: Problems with Synchronisation Vantage Vue?

2018-05-28 Thread Andrew Milner
I actually was referring to the dateTime field of the last entry within the 
archive table within the database rather than the timestamp of the database 
itself.
eg

select max(dateTime) from archive where 1;



On Monday, 28 May 2018 18:59:09 UTC+3, BLg wrote:
>
> Thank you for your comment.
> But there has been no problem for about 4 months
> See the Data: No update of the database since 11:48
>
> *pi@raspberry-weewx*:*~ $* timedatectl
>
>   Local time: Mon 2018-05-28 17:52:11 CEST
>
>   Universal time: Mon 2018-05-28 15:52:11 UTC
>
> RTC time: n/a
>
>Time zone: Europe/Paris (CEST, +0200)
>
>  Network time on: yes
>
> NTP synchronized: yes
>
>  RTC in local TZ: no
>
> *pi@raspberry-weewx*:*~ $* cd /var/lib/weewx
>
> *pi@raspberry-weewx*:*/var/lib/weewx $* ls
>
> weewx.sdb
>
> *pi@raspberry-weewx*:*/var/lib/weewx $* man ls
>
> *pi@raspberry-weewx*:*/var/lib/weewx $* ls -l
>
> total 5900
>
> -rw-r--r-- 1 root root 6037504 May 28 11:48 weewx.sdb
>
> *pi@raspberry-weewx*:*/var/lib/weewx $* 
>
>
> Am Montag, 28. Mai 2018 16:13:56 UTC+2 schrieb Andrew Milner:
>>
>> 1.  what is the timestamp of the last record in the database?
>>
>> 2.  do you have an RTC on the RPi?
>>
>> 3.  have you followed the wiki advice and suggestions regarding running 
>> weewx with the RPi??
>>
>>
>>
>> On Monday, 28 May 2018 15:09:57 UTC+3, BLg wrote:
>>>
>>> For several months I had no problems with:
>>> weewx on Rasperry pi
>>> Vantage Vue with USB interface.
>>> copying via ftp to may webpage.
>>>
>>> But after I have had a problem with a wrong ip, which i solved there is 
>>> no update anymore to the webpage.
>>> If I restarted the vantage vue there is sometime sonly 1 value but it is 
>>> not updated after 10 minutes.
>>> I think there is a problem with the time in the database and from the 
>>> vantage vue, so the database is not updated.
>>>
>>> Here is the tail of the syslog:
>>> (see final timestamp is not changing)
>>>
>>> a) after restart the vantage vue:
>>>
>>> .
>>>
>>> May 28 13:44:22 raspberry-weewx weewx[359]: engine: Using configuration 
>>> file /etc/weewx/weewx.conf
>>>
>>> May 28 13:44:22 raspberry-weewx weewx[359]: engine: debug is 1
>>>
>>> May 28 13:44:22 raspberry-weewx weewx[359]: engine: Initializing engine
>>>
>>> May 28 13:44:22 raspberry-weewx weewx[359]: engine: Loading station type 
>>> Vantage (weewx.drivers.vantage)
>>>
>>> May ry-weewx weewx[359]: engine: Record generation will be attempted in 
>>> 'hardware'
>>>
>>> May 28 13:44:23 raspberry-weewx weewx[359]: engine: The archive interval 
>>> in the configuration file (300) does not match the station hardware 
>>> interval (600).
>>>
>>> May 28 13:44:23 raspberry-weewx weewx[359]: engine: Using archive 
>>> interval of 600 seconds (specified by hardware)
>>>
>>> May 28 13:44:23 raspberry-weewx weewx[359]: engine: Use LOOP data in 
>>> hi/low calculations: 1
>>>
>>> May 28 13:44:23 raspberry-weewx weewx[359]: manager: Daily summary 
>>> version is 2.0
>>>
>>> May 28 13:44:23 raspberry-weewx weewx[359]: engine: Using binding 
>>> 'wx_binding' to database 'weewx.sdb'
>>>
>>> May 28 13:44:23 raspberry-weewx weewx[359]: manager: Starting backfill 
>>> of daily summaries
>>>
>>> May 28 13:44:23 raspberry-weewx weewx[359]: engine: Finished loading 
>>> service weewx.engine.StdArchive
>>>
>>> May 28 13:44:23 raspberry-weewx weewx[359]: engine: Loading service 
>>> weewx.restx.StdStationRegistry
>>>
>>>
>>>
>>> ... later
>>>
>>>  Gentle wake up of console successful
>>>
>>> May 28 13:46:29 raspberry-weewx vncserver-x11[429]: AgentInitCheck: no 
>>> response from agent
>>>
>>> May 28 13:46:30 raspberry-weewx weewx[359]: vantage: Retrieving 511 
>>> page(s); starting index= 3
>>>
>>> May 28 13:46:30 raspberry-weewx weewx[359]: vantage: DMPAFT complete: 
>>> page timestamp 2018-05-10 13:40:00 CEST (1525952400) less than final 
>>> timestamp 2018-05-28 11:00:00 CE$
>>>
>>>
>>> (the final timestamp 2018-05-28 11:00:00 does not chage even after hours)
>>>
>>>
>>> May 28 13:46:30 raspberry-weewx weewx[359]: vantage: Catch up complete.
>>>
>>> May 28 13:46:30 raspberry-weewx weewx[359]: engine: Starting main packet 
>>> loop.
>>>
>>> May 28 13:46:31 raspberry-weewx weewx[359]: vantage: Gentle wake up of 
>>> console successful
>>>
>>> May 28 13:46:31 raspberry-weewx weewx[359]: vantage: Requesting 200 LOOP 
>>> packets.
>>>
>>> May 28 13:46:31 raspberry-weewx weewx[359]: vantage: Gentle wake up of 
>>> console successful
>>>
>>>
>>> Thank you very much for help with this exclellent software.
>>>
>>> Kind Regards
>>>
>>> Bernd Langner
>>>
>>>
>>>
>>>
>>>
>>>  
>>>
>>>
>>>

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


[weewx-user] Re: Introducing the Growing Degree Days (GDD Base10 °C)

2018-05-28 Thread CRhode

>
> Hopefully someone has figured out how to construct correct cumulative 
> (over the season!) growing degree day graphs, too.
>

Here is the "cooling-degree-day" table:

Degree Day (°C) Table

  \ Min Daily Temp
Max   0   2   4   6   8  10  12  14  16  18  20  22  24  26  28  30  32
  9   0   0   0   0   0 *** *** *** *** *** *** *** *** *** *** *** ***
 11   0   0   0   0   0   0 *** *** *** *** *** *** *** *** *** *** ***
 13   0   0   0   0   0   1   2 *** *** *** *** *** *** *** *** *** ***
 15   0   0   0   0   1   2   3   4 *** *** *** *** *** *** *** *** ***
 17   0   0   0   1   2   3   4   5   6 *** *** *** *** *** *** *** ***
 19   0   0   1   2   3   4   5   6   7   8 *** *** *** *** *** *** ***
 21   0   1   2   3   4   5   6   7   8   9  10 *** *** *** *** *** ***
 23   1   2   3   4   5   6   7   8   9  10  11  12 *** *** *** *** ***
 25   2   3   4   5   6   7   8   9  10  11  12  13  14 *** *** *** ***
 27   3   4   5   6   7   8   9  10  11  12  13  14  15  16 *** *** ***
 29   4   5   6   7   8   9  10  11  12  13  14  15  16  17  18 *** ***
 31   5   6   7   8   9  10  11  12  13  14  15  16  17  18  19  20 ***
 33   6   7   8   9  10  11  12  13  14  15  16  17  18  19  20  20  20
 35   7   8   9  10  11  12  13  14  15  16  17  18  19  20  20  20  20
 37   8   9  10  11  12  13  14  15  16  17  18  19  20  20  20  20  20
 39   9  10  11  12  13  14  15  16  17  18  19  20  20  20  20  20  20
 41  10  11  12  13  14  15  16  17  18  19  20  20  20  20  20  20  20
 43  11  12  13  14  15  16  17  18  19  20  20  20  20  20  20  20  20
 45  12  13  14  15  16  17  18  19  20  20  20  20  20  20  20  20  20
 47  13  14  15  16  17  18  19  20  20  20  20  20  20  20  20  20  20
 49  14  15  16  17  18  19  20  20  20  20  20  20  20  20  20  20  20

Cooling-degree-days is the average temperature less a threshold temp.  It 
can be clipped to a maximum.

... and here is the "growing-degree-day" table:

Degree Day (°C) Table

  \ Min Daily Temp
Max   0   2   4   6   8  10  12  14  16  18  20  22  24  26  28  30  32
  9   0   0   0   0   0 *** *** *** *** *** *** *** *** *** *** *** ***
 11   0   0   0   0   0   0 *** *** *** *** *** *** *** *** *** *** ***
 13   0   0   0   0   1   1   2 *** *** *** *** *** *** *** *** *** ***
 15   1   1   1   1   1   2   3   4 *** *** *** *** *** *** *** *** ***
 17   1   2   2   2   2   3   4   5   6 *** *** *** *** *** *** *** ***
 19   2   2   3   3   3   4   5   6   7   8 *** *** *** *** *** *** ***
 21   3   3   4   4   4   5   6   7   8   9  10 *** *** *** *** *** ***
 23   4   4   4   5   5   6   7   8   9  10  11  12 *** *** *** *** ***
 25   5   5   5   6   6   7   8   9  10  11  12  13  14 *** *** *** ***
 27   6   6   6   7   7   8   9  10  11  12  13  14  15  16 *** *** ***
 29   7   7   7   8   8   9  10  11  12  13  14  15  16  17  18 *** ***
 31   7   8   8   9   9  10  11  12  13  14  15  16  17  18  19  20 ***
 33   8   8   9   9  10  11  12  12  13  14  15  16  17  18  19  20  20
 35   9   9   9  10  10  11  12  13  14  15  16  17  17  18  19  20  20
 37   9   9  10  10  11  11  12  13  14  15  16  17  18  18  19  20  20
 39   9  10  10  11  11  12  13  14  15  15  16  17  18  19  19  20  20
 41  10  10  10  11  11  12  13  14  15  16  16  17  18  19  19  20  20
 43  10  10  11  11  12  12  13  14  15  16  17  17  18  19  19  20  20
 45  10  11  11  11  12  13  13  14  15  16  17  17  18  19  19  20  20
 47  10  11  11  12  12  13  14  14  15  16  17  18  18  19  19  20  20
 49  11  11  11  12  12  13  14  15  15  16  17  18  18  19  19  20  20

As you can see, Growing-Degree-Days (GDD) is warmer for cool temps and 
cooler for warm temps.

I believe the calculation for GDD can be as complicated as you want to make 
it.  It is the area under a symmetric sine wave of daily temps above a 
threshold temp, but it's clipped above, too.  Whether you assume growth 
continues at a constant rate above the ceiling or stops altogether means 
you use different formulas.  My formula assumes growth continues unaffected 
by temperature, which is considered appropriate for some but not all insect 
species.

Yes, I can show you a graph of cumulative GDD.  Please take a look at my weeWX 
extension  for codling moth. 
Thanks.  -ccr-

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


Re: [weewx-user] Re: Problems with Synchronisation Vantage Vue?

2018-05-28 Thread Thomas Keffer
The memory in your logger may be corrupted. See the section WeeWX generates
HTML pages, but it does not update them
 in
the User's Guide.

-tk

On Mon, May 28, 2018 at 8:59 AM, BLg  wrote:

> Thank you for your comment.
> But there has been no problem for about 4 months
> See the Data: No update of the database since 11:48
>
> *pi@raspberry-weewx*:*~ $* timedatectl
>
>   Local time: Mon 2018-05-28 17:52:11 CEST
>
>   Universal time: Mon 2018-05-28 15:52:11 UTC
>
> RTC time: n/a
>
>Time zone: Europe/Paris (CEST, +0200)
>
>  Network time on: yes
>
> NTP synchronized: yes
>
>  RTC in local TZ: no
>
> *pi@raspberry-weewx*:*~ $* cd /var/lib/weewx
>
> *pi@raspberry-weewx*:*/var/lib/weewx $* ls
>
> weewx.sdb
>
> *pi@raspberry-weewx*:*/var/lib/weewx $* man ls
>
> *pi@raspberry-weewx*:*/var/lib/weewx $* ls -l
>
> total 5900
>
> -rw-r--r-- 1 root root 6037504 May 28 11:48 weewx.sdb
>
> *pi@raspberry-weewx*:*/var/lib/weewx $*
>
>
> Am Montag, 28. Mai 2018 16:13:56 UTC+2 schrieb Andrew Milner:
>>
>> 1.  what is the timestamp of the last record in the database?
>>
>> 2.  do you have an RTC on the RPi?
>>
>> 3.  have you followed the wiki advice and suggestions regarding running
>> weewx with the RPi??
>>
>>
>>
>> On Monday, 28 May 2018 15:09:57 UTC+3, BLg wrote:
>>>
>>> For several months I had no problems with:
>>> weewx on Rasperry pi
>>> Vantage Vue with USB interface.
>>> copying via ftp to may webpage.
>>>
>>> But after I have had a problem with a wrong ip, which i solved there is
>>> no update anymore to the webpage.
>>> If I restarted the vantage vue there is sometime sonly 1 value but it is
>>> not updated after 10 minutes.
>>> I think there is a problem with the time in the database and from the
>>> vantage vue, so the database is not updated.
>>>
>>> Here is the tail of the syslog:
>>> (see final timestamp is not changing)
>>>
>>> a) after restart the vantage vue:
>>>
>>> .
>>>
>>> May 28 13:44:22 raspberry-weewx weewx[359]: engine: Using configuration
>>> file /etc/weewx/weewx.conf
>>>
>>> May 28 13:44:22 raspberry-weewx weewx[359]: engine: debug is 1
>>>
>>> May 28 13:44:22 raspberry-weewx weewx[359]: engine: Initializing engine
>>>
>>> May 28 13:44:22 raspberry-weewx weewx[359]: engine: Loading station type
>>> Vantage (weewx.drivers.vantage)
>>>
>>> May ry-weewx weewx[359]: engine: Record generation will be attempted in
>>> 'hardware'
>>>
>>> May 28 13:44:23 raspberry-weewx weewx[359]: engine: The archive interval
>>> in the configuration file (300) does not match the station hardware
>>> interval (600).
>>>
>>> May 28 13:44:23 raspberry-weewx weewx[359]: engine: Using archive
>>> interval of 600 seconds (specified by hardware)
>>>
>>> May 28 13:44:23 raspberry-weewx weewx[359]: engine: Use LOOP data in
>>> hi/low calculations: 1
>>>
>>> May 28 13:44:23 raspberry-weewx weewx[359]: manager: Daily summary
>>> version is 2.0
>>>
>>> May 28 13:44:23 raspberry-weewx weewx[359]: engine: Using binding
>>> 'wx_binding' to database 'weewx.sdb'
>>>
>>> May 28 13:44:23 raspberry-weewx weewx[359]: manager: Starting backfill
>>> of daily summaries
>>>
>>> May 28 13:44:23 raspberry-weewx weewx[359]: engine: Finished loading
>>> service weewx.engine.StdArchive
>>>
>>> May 28 13:44:23 raspberry-weewx weewx[359]: engine: Loading service
>>> weewx.restx.StdStationRegistry
>>>
>>>
>>>
>>> ... later
>>>
>>>  Gentle wake up of console successful
>>>
>>> May 28 13:46:29 raspberry-weewx vncserver-x11[429]: AgentInitCheck: no
>>> response from agent
>>>
>>> May 28 13:46:30 raspberry-weewx weewx[359]: vantage: Retrieving 511
>>> page(s); starting index= 3
>>>
>>> May 28 13:46:30 raspberry-weewx weewx[359]: vantage: DMPAFT complete:
>>> page timestamp 2018-05-10 13:40:00 CEST (1525952400) less than final
>>> timestamp 2018-05-28 11:00:00 CE$
>>>
>>>
>>> (the final timestamp 2018-05-28 11:00:00 does not chage even after hours)
>>>
>>>
>>> May 28 13:46:30 raspberry-weewx weewx[359]: vantage: Catch up complete.
>>>
>>> May 28 13:46:30 raspberry-weewx weewx[359]: engine: Starting main packet
>>> loop.
>>>
>>> May 28 13:46:31 raspberry-weewx weewx[359]: vantage: Gentle wake up of
>>> console successful
>>>
>>> May 28 13:46:31 raspberry-weewx weewx[359]: vantage: Requesting 200 LOOP
>>> packets.
>>>
>>> May 28 13:46:31 raspberry-weewx weewx[359]: vantage: Gentle wake up of
>>> console successful
>>>
>>>
>>> Thank you very much for help with this exclellent software.
>>>
>>> Kind Regards
>>>
>>> Bernd Langner
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> --
> 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.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe f

[weewx-user] Re: Problems with Synchronisation Vantage Vue?

2018-05-28 Thread BLg
Thank you for your comment.
But there has been no problem for about 4 months
See the Data: No update of the database since 11:48

*pi@raspberry-weewx*:*~ $* timedatectl

  Local time: Mon 2018-05-28 17:52:11 CEST

  Universal time: Mon 2018-05-28 15:52:11 UTC

RTC time: n/a

   Time zone: Europe/Paris (CEST, +0200)

 Network time on: yes

NTP synchronized: yes

 RTC in local TZ: no

*pi@raspberry-weewx*:*~ $* cd /var/lib/weewx

*pi@raspberry-weewx*:*/var/lib/weewx $* ls

weewx.sdb

*pi@raspberry-weewx*:*/var/lib/weewx $* man ls

*pi@raspberry-weewx*:*/var/lib/weewx $* ls -l

total 5900

-rw-r--r-- 1 root root 6037504 May 28 11:48 weewx.sdb

*pi@raspberry-weewx*:*/var/lib/weewx $* 


Am Montag, 28. Mai 2018 16:13:56 UTC+2 schrieb Andrew Milner:
>
> 1.  what is the timestamp of the last record in the database?
>
> 2.  do you have an RTC on the RPi?
>
> 3.  have you followed the wiki advice and suggestions regarding running 
> weewx with the RPi??
>
>
>
> On Monday, 28 May 2018 15:09:57 UTC+3, BLg wrote:
>>
>> For several months I had no problems with:
>> weewx on Rasperry pi
>> Vantage Vue with USB interface.
>> copying via ftp to may webpage.
>>
>> But after I have had a problem with a wrong ip, which i solved there is 
>> no update anymore to the webpage.
>> If I restarted the vantage vue there is sometime sonly 1 value but it is 
>> not updated after 10 minutes.
>> I think there is a problem with the time in the database and from the 
>> vantage vue, so the database is not updated.
>>
>> Here is the tail of the syslog:
>> (see final timestamp is not changing)
>>
>> a) after restart the vantage vue:
>>
>> .
>>
>> May 28 13:44:22 raspberry-weewx weewx[359]: engine: Using configuration 
>> file /etc/weewx/weewx.conf
>>
>> May 28 13:44:22 raspberry-weewx weewx[359]: engine: debug is 1
>>
>> May 28 13:44:22 raspberry-weewx weewx[359]: engine: Initializing engine
>>
>> May 28 13:44:22 raspberry-weewx weewx[359]: engine: Loading station type 
>> Vantage (weewx.drivers.vantage)
>>
>> May ry-weewx weewx[359]: engine: Record generation will be attempted in 
>> 'hardware'
>>
>> May 28 13:44:23 raspberry-weewx weewx[359]: engine: The archive interval 
>> in the configuration file (300) does not match the station hardware 
>> interval (600).
>>
>> May 28 13:44:23 raspberry-weewx weewx[359]: engine: Using archive 
>> interval of 600 seconds (specified by hardware)
>>
>> May 28 13:44:23 raspberry-weewx weewx[359]: engine: Use LOOP data in 
>> hi/low calculations: 1
>>
>> May 28 13:44:23 raspberry-weewx weewx[359]: manager: Daily summary 
>> version is 2.0
>>
>> May 28 13:44:23 raspberry-weewx weewx[359]: engine: Using binding 
>> 'wx_binding' to database 'weewx.sdb'
>>
>> May 28 13:44:23 raspberry-weewx weewx[359]: manager: Starting backfill of 
>> daily summaries
>>
>> May 28 13:44:23 raspberry-weewx weewx[359]: engine: Finished loading 
>> service weewx.engine.StdArchive
>>
>> May 28 13:44:23 raspberry-weewx weewx[359]: engine: Loading service 
>> weewx.restx.StdStationRegistry
>>
>>
>>
>> ... later
>>
>>  Gentle wake up of console successful
>>
>> May 28 13:46:29 raspberry-weewx vncserver-x11[429]: AgentInitCheck: no 
>> response from agent
>>
>> May 28 13:46:30 raspberry-weewx weewx[359]: vantage: Retrieving 511 
>> page(s); starting index= 3
>>
>> May 28 13:46:30 raspberry-weewx weewx[359]: vantage: DMPAFT complete: 
>> page timestamp 2018-05-10 13:40:00 CEST (1525952400) less than final 
>> timestamp 2018-05-28 11:00:00 CE$
>>
>>
>> (the final timestamp 2018-05-28 11:00:00 does not chage even after hours)
>>
>>
>> May 28 13:46:30 raspberry-weewx weewx[359]: vantage: Catch up complete.
>>
>> May 28 13:46:30 raspberry-weewx weewx[359]: engine: Starting main packet 
>> loop.
>>
>> May 28 13:46:31 raspberry-weewx weewx[359]: vantage: Gentle wake up of 
>> console successful
>>
>> May 28 13:46:31 raspberry-weewx weewx[359]: vantage: Requesting 200 LOOP 
>> packets.
>>
>> May 28 13:46:31 raspberry-weewx weewx[359]: vantage: Gentle wake up of 
>> console successful
>>
>>
>> Thank you very much for help with this exclellent software.
>>
>> Kind Regards
>>
>> Bernd Langner
>>
>>
>>
>>
>>
>>  
>>
>>
>>

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


[weewx-user] Re: Problems with Synchronisation Vantage Vue?

2018-05-28 Thread Andrew Milner
1.  what is the timestamp of the last record in the database?

2.  do you have an RTC on the RPi?

3.  have you followed the wiki advice and suggestions regarding running 
weewx with the RPi??



On Monday, 28 May 2018 15:09:57 UTC+3, BLg wrote:
>
> For several months I had no problems with:
> weewx on Rasperry pi
> Vantage Vue with USB interface.
> copying via ftp to may webpage.
>
> But after I have had a problem with a wrong ip, which i solved there is no 
> update anymore to the webpage.
> If I restarted the vantage vue there is sometime sonly 1 value but it is 
> not updated after 10 minutes.
> I think there is a problem with the time in the database and from the 
> vantage vue, so the database is not updated.
>
> Here is the tail of the syslog:
> (see final timestamp is not changing)
>
> a) after restart the vantage vue:
>
> .
>
> May 28 13:44:22 raspberry-weewx weewx[359]: engine: Using configuration 
> file /etc/weewx/weewx.conf
>
> May 28 13:44:22 raspberry-weewx weewx[359]: engine: debug is 1
>
> May 28 13:44:22 raspberry-weewx weewx[359]: engine: Initializing engine
>
> May 28 13:44:22 raspberry-weewx weewx[359]: engine: Loading station type 
> Vantage (weewx.drivers.vantage)
>
> May ry-weewx weewx[359]: engine: Record generation will be attempted in 
> 'hardware'
>
> May 28 13:44:23 raspberry-weewx weewx[359]: engine: The archive interval 
> in the configuration file (300) does not match the station hardware 
> interval (600).
>
> May 28 13:44:23 raspberry-weewx weewx[359]: engine: Using archive interval 
> of 600 seconds (specified by hardware)
>
> May 28 13:44:23 raspberry-weewx weewx[359]: engine: Use LOOP data in 
> hi/low calculations: 1
>
> May 28 13:44:23 raspberry-weewx weewx[359]: manager: Daily summary version 
> is 2.0
>
> May 28 13:44:23 raspberry-weewx weewx[359]: engine: Using binding 
> 'wx_binding' to database 'weewx.sdb'
>
> May 28 13:44:23 raspberry-weewx weewx[359]: manager: Starting backfill of 
> daily summaries
>
> May 28 13:44:23 raspberry-weewx weewx[359]: engine: Finished loading 
> service weewx.engine.StdArchive
>
> May 28 13:44:23 raspberry-weewx weewx[359]: engine: Loading service 
> weewx.restx.StdStationRegistry
>
>
>
> ... later
>
>  Gentle wake up of console successful
>
> May 28 13:46:29 raspberry-weewx vncserver-x11[429]: AgentInitCheck: no 
> response from agent
>
> May 28 13:46:30 raspberry-weewx weewx[359]: vantage: Retrieving 511 
> page(s); starting index= 3
>
> May 28 13:46:30 raspberry-weewx weewx[359]: vantage: DMPAFT complete: page 
> timestamp 2018-05-10 13:40:00 CEST (1525952400) less than final timestamp 
> 2018-05-28 11:00:00 CE$
>
>
> (the final timestamp 2018-05-28 11:00:00 does not chage even after hours)
>
>
> May 28 13:46:30 raspberry-weewx weewx[359]: vantage: Catch up complete.
>
> May 28 13:46:30 raspberry-weewx weewx[359]: engine: Starting main packet 
> loop.
>
> May 28 13:46:31 raspberry-weewx weewx[359]: vantage: Gentle wake up of 
> console successful
>
> May 28 13:46:31 raspberry-weewx weewx[359]: vantage: Requesting 200 LOOP 
> packets.
>
> May 28 13:46:31 raspberry-weewx weewx[359]: vantage: Gentle wake up of 
> console successful
>
>
> Thank you very much for help with this exclellent software.
>
> Kind Regards
>
> Bernd Langner
>
>
>
>
>
>  
>
>
>

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


[weewx-user] Problems with Synchronisation Vantage Vue?

2018-05-28 Thread BLg
For several months I had no problems with:
weewx on Rasperry pi
Vantage Vue with USB interface.
copying via ftp to may webpage.

But after I have had a problem with a wrong ip, which i solved there is no 
update anymore to the webpage.
If I restarted the vantage vue there is sometime sonly 1 value but it is 
not updated after 10 minutes.
I think there is a problem with the time in the database and from the 
vantage vue, so the database is not updated.

Here is the tail of the syslog:
(see final timestamp is not changing)

a) after restart the vantage vue:

.

May 28 13:44:22 raspberry-weewx weewx[359]: engine: Using configuration 
file /etc/weewx/weewx.conf

May 28 13:44:22 raspberry-weewx weewx[359]: engine: debug is 1

May 28 13:44:22 raspberry-weewx weewx[359]: engine: Initializing engine

May 28 13:44:22 raspberry-weewx weewx[359]: engine: Loading station type 
Vantage (weewx.drivers.vantage)

May ry-weewx weewx[359]: engine: Record generation will be attempted in 
'hardware'

May 28 13:44:23 raspberry-weewx weewx[359]: engine: The archive interval in 
the configuration file (300) does not match the station hardware interval 
(600).

May 28 13:44:23 raspberry-weewx weewx[359]: engine: Using archive interval 
of 600 seconds (specified by hardware)

May 28 13:44:23 raspberry-weewx weewx[359]: engine: Use LOOP data in hi/low 
calculations: 1

May 28 13:44:23 raspberry-weewx weewx[359]: manager: Daily summary version 
is 2.0

May 28 13:44:23 raspberry-weewx weewx[359]: engine: Using binding 
'wx_binding' to database 'weewx.sdb'

May 28 13:44:23 raspberry-weewx weewx[359]: manager: Starting backfill of 
daily summaries

May 28 13:44:23 raspberry-weewx weewx[359]: engine: Finished loading 
service weewx.engine.StdArchive

May 28 13:44:23 raspberry-weewx weewx[359]: engine: Loading service 
weewx.restx.StdStationRegistry



... later

 Gentle wake up of console successful

May 28 13:46:29 raspberry-weewx vncserver-x11[429]: AgentInitCheck: no 
response from agent

May 28 13:46:30 raspberry-weewx weewx[359]: vantage: Retrieving 511 
page(s); starting index= 3

May 28 13:46:30 raspberry-weewx weewx[359]: vantage: DMPAFT complete: page 
timestamp 2018-05-10 13:40:00 CEST (1525952400) less than final timestamp 
2018-05-28 11:00:00 CE$


(the final timestamp 2018-05-28 11:00:00 does not chage even after hours)


May 28 13:46:30 raspberry-weewx weewx[359]: vantage: Catch up complete.

May 28 13:46:30 raspberry-weewx weewx[359]: engine: Starting main packet 
loop.

May 28 13:46:31 raspberry-weewx weewx[359]: vantage: Gentle wake up of 
console successful

May 28 13:46:31 raspberry-weewx weewx[359]: vantage: Requesting 200 LOOP 
packets.

May 28 13:46:31 raspberry-weewx weewx[359]: vantage: Gentle wake up of 
console successful


Thank you very much for help with this exclellent software.

Kind Regards

Bernd Langner





 


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


[weewx-user] Re: «rainRate: 8063.992» how to make [StdQC] work?

2018-05-28 Thread Ξ
Hi Gary,

Many thanks for the hint, I've moved it and hopefully I'll no longer see 
such crazy spikes :)

Regards,
Ivo

On Monday, May 28, 2018 at 1:58:08 AM UTC+3, gjr80 wrote:
>
> Hi,
>
> The reason the loop rainRate is not being QC'd is that for loop data the 
> QC checks in StdQC are applied before the rainRate value is calculated by 
> StdWXCalculate. This is peculiar to stations that do not provide rainRate 
> or are set to use software calculated rainRate rather than hardware 
> provided rainRate. The archive record is being properly QC'd as the archive 
> record is produced by weeWX from accumulated loop data (rather than 
> calculated by StdWXCalculate) and hence the archive record rainRate data is 
> available when StdQC is run.
>
> How to fix, you could move StdQC in the process_services config setting in 
> weewx.conf so that it is after StdWXCalculate.
>
> Gary
>
>

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