[weewx-user] Re: weewx4 - vantagepro issue

2020-03-18 Thread rich T

In addition to Tom and Vince replies, might want to look into a RTC module 
or GPS USB Dongle. 

>
>
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/2f826349-79c5-4b38-bd83-01d4b4c80baa%40googlegroups.com.


[weewx-user] Re: New Weewx/W34 install works OK, but with error msgs

2020-03-18 Thread Bill Arthur
Thank you both.  I can certainly wait for for a bit. 
I'm just happy that it wasn't something stupid I did during install. 
And I look forward to helping test the new copy.




On Wednesday, March 18, 2020 at 1:56:56 PM UTC-5, Bill Arthur wrote:
>
> I just reinstalled Weewx and Weather34. It's working OK, but I get the 
> following error messages. Any idea where the problem lies?
>
> Mar 18 13:50:27 OpiQ-2 weewx[498]: cheetahgenerator: Generate failed with 
> exception ''
> Mar 18 13:50:27 OpiQ-2 weewx[498]: cheetahgenerator:  Ignoring 
> template /etc/weewx/skins/Weather34/w34charts/chartdata/result.csv.tmpl
> Mar 18 13:50:27 OpiQ-2 weewx[498]: cheetahgenerator:  Reason: 
> unsupported operand type(s) for +: 'float' and 'NoneType'
> Mar 18 13:50:27 OpiQ-2 weewx[498]:   Traceback (most recent call last):
> Mar 18 13:50:27 OpiQ-2 weewx[498]: File 
> "/usr/share/weewx/weewx/cheetahgenerator.py", line 332, in generate
> Mar 18 13:50:27 OpiQ-2 weewx[498]:   
> fd.write(str(compiled_template))
> Mar 18 13:50:27 OpiQ-2 weewx[498]: File 
> "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1045, in 
> __str__
> Mar 18 13:50:27 OpiQ-2 weewx[498]:   rc = getattr(self, 
> mainMethName)()
> Mar 18 13:50:27 OpiQ-2 weewx[498]: File 
> "_etc_weewx_skins_Weather34_w34charts_chartdata_result_csv_tmpl.py", line 
> 251, in respond
> Mar 18 13:50:27 OpiQ-2 weewx[498]:   TypeError: unsupported operand 
> type(s) for +: 'float' and 'NoneType'
> Mar 18 13:50:27 OpiQ-2 weewx[498]: cheetahgenerator: Generated 3 files for 
> report Weather34Report in 0.70 seconds
> Mar 18 13:50:27 OpiQ-2 weewx[498]: copygenerator: copied 0 files to 
> /var/weewx/reports
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/4e97af33-51b7-4f1a-92ef-0c1731ecf8ab%40googlegroups.com.


[weewx-user] Re: Trying to decide between multiple weewx instances or expanding the weewx database

2020-03-18 Thread vince
On Wednesday, March 18, 2020 at 11:17:23 AM UTC-7, Patrick Mendiuk wrote:

> I have been running some Weatherflow Sky and Air sensors along with a 
> number of MQTT sensors feeding into one instance of weewx.  I recently 
> added a Tempest sensor and a Vantage 2 Pro ISS.  I am trying to decide if I 
> should setup two additional weewx instances or expand the original 
> database.  I would like to generate comparative data plots and possibly 
> expose the data via CWOP.  Is it possible to generate multiple CWOP output 
> streams from one weewx instance?
>

I have lots of posts in the WF Field Tester forums there...

WF has asked that folks do not (yet) publicize their Tempest sites to WU or 
the web, as it's still in the beta period

Re: weewx specifically:

   - you can use the extended v4 schema and an updated weewx driver for WF 
   to do it in one weewx instance probably.  Contact the WF driver author for 
   a pointer to his v4-compatible driver.  Basically you'd just define a 
   custom sensor map in weewx.conf, I think.  Untested.
   - you could alternately do weewx-multi and do multiple instances I 
   guess, each with the right driver
   - but that said, I run my Air/Sky WF on a separate pi3 and a separate 
   weewx instance mainly because my Davis is the reference platform for 
   feeding WU/CWOP/PWS and uploading to my internet-facing Lightsail VM on the 
   web.
   
For comparisons, I do it a little differently:

   - my VP2 runs the mqtt extension, feeds mqtt on a pi3plus, which feeds a 
   docker container on an i3 nuc running telegraf, feeding another container 
   running influxdb.   Actually not as complicated as it sounds.  I didn't 
   want to mess with my weewx too much, so I just added mqtt to publish the 
   data and did mqtt=>telegraf=>influxdb like most IoT things do.
   - my WF gear, Air/two-Sky/Tempest get into the same influxdb via a UDP 
   listener that I wrote (details on the WF Forums) that listens for the UDP 
   and publishes directly to influxdb in one step.   That runs as a standalone 
   process on the i3 nuc currently.
   - I have a lot of ds18b20 sensor arduinos also feeding influxdb via some 
   arduino code I wrote that feeds influxdb directly too
   - I have a separate docker container on the i3 nuc running grafana for 
   displays, so I can trivially overlay data from the WF/Davis/Arduino gear 
   all on one display.  Works wonderfully.  Totally hands-off.


-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/7c045311-2a15-42b0-9186-ba361d152857%40googlegroups.com.


Re: [weewx-user] Re: New Weewx/W34 install works OK, but with error msgs

2020-03-18 Thread steeple ian
Bill,
Thomas is correct. The reason I asked about your WeeWX version is that we
are moving away from CanvasJS to Highcharts. We have not completed our
testing on WeeWX 4 builds but it is looking good for 3.9.2.
If you can hold fire for a couple of days I can let you have a copy to try.
The whole chart infra structure has been changed and will include for the
first time charts that you can see updating in real time. There is a new
ultra efficient install process included as well.
Ian

On Wed, 18 Mar 2020 at 19:48, Thomas Keffer  wrote:

> This is almost surely a problem in the skin "Weather34Report." Somewhere
> in the template Weather34/w34charts/chartdata/result.csv.tmpl is some
> arithmetic, where two numbers are getting added together. One of them is
> value Python None, rather than a number.
>
> In general, when writing code or templates for weewx, one must be vigilant
> to the possibility that a value might be None, and test for it.
>
> -tk
>
> On Wed, Mar 18, 2020 at 12:05 PM Bill Arthur  wrote:
>
>> Thanks for the quick response!
>>
>> 3.9.2   Downloaded and installed last night.
>>
>>
>> On Wednesday, March 18, 2020 at 1:56:56 PM UTC-5, Bill Arthur wrote:
>>>
>>> I just reinstalled Weewx and Weather34. It's working OK, but I get the
>>> following error messages. Any idea where the problem lies?
>>>
>>> Mar 18 13:50:27 OpiQ-2 weewx[498]: cheetahgenerator: Generate failed
>>> with exception ''
>>> Mar 18 13:50:27 OpiQ-2 weewx[498]: cheetahgenerator:  Ignoring
>>> template /etc/weewx/skins/Weather34/w34charts/chartdata/result.csv.tmpl
>>> Mar 18 13:50:27 OpiQ-2 weewx[498]: cheetahgenerator:  Reason:
>>> unsupported operand type(s) for +: 'float' and 'NoneType'
>>> Mar 18 13:50:27 OpiQ-2 weewx[498]:   Traceback (most recent call
>>> last):
>>> Mar 18 13:50:27 OpiQ-2 weewx[498]: File
>>> "/usr/share/weewx/weewx/cheetahgenerator.py", line 332, in generate
>>> Mar 18 13:50:27 OpiQ-2 weewx[498]: 
>>> fd.write(str(compiled_template))
>>> Mar 18 13:50:27 OpiQ-2 weewx[498]: File
>>> "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1045, in
>>> __str__
>>> Mar 18 13:50:27 OpiQ-2 weewx[498]:   rc = getattr(self,
>>> mainMethName)()
>>> Mar 18 13:50:27 OpiQ-2 weewx[498]: File
>>> "_etc_weewx_skins_Weather34_w34charts_chartdata_result_csv_tmpl.py", line
>>> 251, in respond
>>> Mar 18 13:50:27 OpiQ-2 weewx[498]:   TypeError: unsupported operand
>>> type(s) for +: 'float' and 'NoneType'
>>> Mar 18 13:50:27 OpiQ-2 weewx[498]: cheetahgenerator: Generated 3 files
>>> for report Weather34Report in 0.70 seconds
>>> Mar 18 13:50:27 OpiQ-2 weewx[498]: copygenerator: copied 0 files to
>>> /var/weewx/reports
>>>
>> --
>> 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.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/weewx-user/2f63ba12-4ee2-49eb-9f20-210d11056b58%40googlegroups.com
>> 
>> .
>>
> --
> 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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/CAPq0zECwH19K3m%2BgninkFi2dTErUsWh3FoTv8f3MYj5WWyRuUw%40mail.gmail.com
> 
> .
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CADASSaRCOic%2BUEQWecxMY3XHkuvJZqQhL-ZRkPGYxTijKX1-_g%40mail.gmail.com.


Re: [weewx-user] Re: New Weewx/W34 install works OK, but with error msgs

2020-03-18 Thread Thomas Keffer
This is almost surely a problem in the skin "Weather34Report." Somewhere in
the template Weather34/w34charts/chartdata/result.csv.tmpl is some
arithmetic, where two numbers are getting added together. One of them is
value Python None, rather than a number.

In general, when writing code or templates for weewx, one must be vigilant
to the possibility that a value might be None, and test for it.

-tk

On Wed, Mar 18, 2020 at 12:05 PM Bill Arthur  wrote:

> Thanks for the quick response!
>
> 3.9.2   Downloaded and installed last night.
>
>
> On Wednesday, March 18, 2020 at 1:56:56 PM UTC-5, Bill Arthur wrote:
>>
>> I just reinstalled Weewx and Weather34. It's working OK, but I get the
>> following error messages. Any idea where the problem lies?
>>
>> Mar 18 13:50:27 OpiQ-2 weewx[498]: cheetahgenerator: Generate failed with
>> exception ''
>> Mar 18 13:50:27 OpiQ-2 weewx[498]: cheetahgenerator:  Ignoring
>> template /etc/weewx/skins/Weather34/w34charts/chartdata/result.csv.tmpl
>> Mar 18 13:50:27 OpiQ-2 weewx[498]: cheetahgenerator:  Reason:
>> unsupported operand type(s) for +: 'float' and 'NoneType'
>> Mar 18 13:50:27 OpiQ-2 weewx[498]:   Traceback (most recent call
>> last):
>> Mar 18 13:50:27 OpiQ-2 weewx[498]: File
>> "/usr/share/weewx/weewx/cheetahgenerator.py", line 332, in generate
>> Mar 18 13:50:27 OpiQ-2 weewx[498]: 
>> fd.write(str(compiled_template))
>> Mar 18 13:50:27 OpiQ-2 weewx[498]: File
>> "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1045, in
>> __str__
>> Mar 18 13:50:27 OpiQ-2 weewx[498]:   rc = getattr(self,
>> mainMethName)()
>> Mar 18 13:50:27 OpiQ-2 weewx[498]: File
>> "_etc_weewx_skins_Weather34_w34charts_chartdata_result_csv_tmpl.py", line
>> 251, in respond
>> Mar 18 13:50:27 OpiQ-2 weewx[498]:   TypeError: unsupported operand
>> type(s) for +: 'float' and 'NoneType'
>> Mar 18 13:50:27 OpiQ-2 weewx[498]: cheetahgenerator: Generated 3 files
>> for report Weather34Report in 0.70 seconds
>> Mar 18 13:50:27 OpiQ-2 weewx[498]: copygenerator: copied 0 files to
>> /var/weewx/reports
>>
> --
> 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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/2f63ba12-4ee2-49eb-9f20-210d11056b58%40googlegroups.com
> 
> .
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAPq0zECwH19K3m%2BgninkFi2dTErUsWh3FoTv8f3MYj5WWyRuUw%40mail.gmail.com.


[weewx-user] Re: New Weewx/W34 install works OK, but with error msgs

2020-03-18 Thread Bill Arthur
Thanks for the quick response! 

3.9.2   Downloaded and installed last night.


On Wednesday, March 18, 2020 at 1:56:56 PM UTC-5, Bill Arthur wrote:
>
> I just reinstalled Weewx and Weather34. It's working OK, but I get the 
> following error messages. Any idea where the problem lies?
>
> Mar 18 13:50:27 OpiQ-2 weewx[498]: cheetahgenerator: Generate failed with 
> exception ''
> Mar 18 13:50:27 OpiQ-2 weewx[498]: cheetahgenerator:  Ignoring 
> template /etc/weewx/skins/Weather34/w34charts/chartdata/result.csv.tmpl
> Mar 18 13:50:27 OpiQ-2 weewx[498]: cheetahgenerator:  Reason: 
> unsupported operand type(s) for +: 'float' and 'NoneType'
> Mar 18 13:50:27 OpiQ-2 weewx[498]:   Traceback (most recent call last):
> Mar 18 13:50:27 OpiQ-2 weewx[498]: File 
> "/usr/share/weewx/weewx/cheetahgenerator.py", line 332, in generate
> Mar 18 13:50:27 OpiQ-2 weewx[498]:   
> fd.write(str(compiled_template))
> Mar 18 13:50:27 OpiQ-2 weewx[498]: File 
> "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1045, in 
> __str__
> Mar 18 13:50:27 OpiQ-2 weewx[498]:   rc = getattr(self, 
> mainMethName)()
> Mar 18 13:50:27 OpiQ-2 weewx[498]: File 
> "_etc_weewx_skins_Weather34_w34charts_chartdata_result_csv_tmpl.py", line 
> 251, in respond
> Mar 18 13:50:27 OpiQ-2 weewx[498]:   TypeError: unsupported operand 
> type(s) for +: 'float' and 'NoneType'
> Mar 18 13:50:27 OpiQ-2 weewx[498]: cheetahgenerator: Generated 3 files for 
> report Weather34Report in 0.70 seconds
> Mar 18 13:50:27 OpiQ-2 weewx[498]: copygenerator: copied 0 files to 
> /var/weewx/reports
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/2f63ba12-4ee2-49eb-9f20-210d11056b58%40googlegroups.com.


Re: [weewx-user] Dato nuevo en la estructura de la tabla mysql

2020-03-18 Thread Thomas Keffer
See the section *Adding a new type to the database
* in the
Customizing Guide for instructions on how to add new fields to the database.

On Wed, Mar 18, 2020 at 8:38 AM jose riaño  wrote:

> Buenos días
>
>
> Quiero agregar un dato nuevo a la estructura de la tabla  weewx:
>
> por ejemplo
> mi tabla
>
>
> CREATE TABLE Tabla (`dateTime` INTEGER NOT NULL UNIQUE PRIMARY KEY,
> `usUnits` INTEGER NOT NULL, `interval` INTEGER NOT NULL,  `barometer` REAL,
> `pressure` REAL, `altimeter` REAL, `inTemp` REAL, `outTemp` REAL,
> `inHumidity` REAL, `outHumidity` REAL, `windSpeed` REAL, `windDir` REAL,
> `windGust` REAL, `windGustDir` REAL, `rainRate` REAL, `rain` REAL,
> `dewpoint` REAL, `windchill` REAL, `heatindex` REAL,  `ET` REAL,
> `radiation` REAL, `UV` REAL, `extraTemp1` REAL,  `extraTemp2` REAL,
> `extraTemp3` REAL, `soilTemp1` REAL,  `soilTemp2` REAL, `soilTemp3` REAL,
> `soilTemp4` REAL,  `leafTemp1` REAL, `leafTemp2` REAL, `extraHumid1` REAL,
> `extraHumid2` REAL, `soilMoist1` REAL, `soilMoist2` REAL,  `soilMoist3`
> REAL, `soilMoist4` REAL, `leafWet1` REAL, `leafWet2` REAL,
> `rxCheckPercent` REAL, `txBatteryStatus` REAL,  `consBatteryVoltage` REAL,
> `hail` REAL, `hailRate` REAL,  `heatingTemp` REAL, `heatingVoltage` REAL,
> `supplyVoltage` REAL,  `referenceVoltage` REAL, `windBatteryStatus` REAL,
> `rainBatteryStatus` REAL, `outTempBatteryStatus` REAL,
> `inTempBatteryStatus` REAL);
>
> en que archivo de código fuente encuentro esta estructura ??
>
>
> lo que quiero es que tenga un identificador la tabla  para si identificar
> mi estación..
>
>
> gracias
>
>
>
>
>
>
> --
> 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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/f2867ab5-6787-43a8-a251-77efc6977923%40googlegroups.com
> 
> .
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAPq0zEBmYgWhO7bnGArCu4Csp9WwEDMGERepiaMgiETNmcHrrA%40mail.gmail.com.


Re: [weewx-user] New Weewx/W34 install works OK, but with error msgs

2020-03-18 Thread steeple ian
Which version of WeeWX are you running? 

> On 18 Mar 2020, at 18:56, Bill Arthur  wrote:
> 
> I just reinstalled Weewx and Weather34. It's working OK, but I get the 
> following error messages. Any idea where the problem lies?
> 
> Mar 18 13:50:27 OpiQ-2 weewx[498]: cheetahgenerator: Generate failed with 
> exception ''
> Mar 18 13:50:27 OpiQ-2 weewx[498]: cheetahgenerator:  Ignoring template 
> /etc/weewx/skins/Weather34/w34charts/chartdata/result.csv.tmpl
> Mar 18 13:50:27 OpiQ-2 weewx[498]: cheetahgenerator:  Reason: unsupported 
> operand type(s) for +: 'float' and 'NoneType'
> Mar 18 13:50:27 OpiQ-2 weewx[498]:   Traceback (most recent call last):
> Mar 18 13:50:27 OpiQ-2 weewx[498]: File 
> "/usr/share/weewx/weewx/cheetahgenerator.py", line 332, in generate
> Mar 18 13:50:27 OpiQ-2 weewx[498]:   fd.write(str(compiled_template))
> Mar 18 13:50:27 OpiQ-2 weewx[498]: File 
> "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1045, in __str__
> Mar 18 13:50:27 OpiQ-2 weewx[498]:   rc = getattr(self, 
> mainMethName)()
> Mar 18 13:50:27 OpiQ-2 weewx[498]: File 
> "_etc_weewx_skins_Weather34_w34charts_chartdata_result_csv_tmpl.py", line 
> 251, in respond
> Mar 18 13:50:27 OpiQ-2 weewx[498]:   TypeError: unsupported operand 
> type(s) for +: 'float' and 'NoneType'
> Mar 18 13:50:27 OpiQ-2 weewx[498]: cheetahgenerator: Generated 3 files for 
> report Weather34Report in 0.70 seconds
> Mar 18 13:50:27 OpiQ-2 weewx[498]: copygenerator: copied 0 files to 
> /var/weewx/reports
> 
> -- 
> 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 
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/weewx-user/d9dbfe80-19d3-40e6-969f-2e6031e20da9%40googlegroups.com
>  
> .

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/0A99B1B9-28A2-4500-A081-08EE84F8EF08%40gmail.com.


[weewx-user] New Weewx/W34 install works OK, but with error msgs

2020-03-18 Thread Bill Arthur
I just reinstalled Weewx and Weather34. It's working OK, but I get the 
following error messages. Any idea where the problem lies?

Mar 18 13:50:27 OpiQ-2 weewx[498]: cheetahgenerator: Generate failed with 
exception ''
Mar 18 13:50:27 OpiQ-2 weewx[498]: cheetahgenerator:  Ignoring template 
/etc/weewx/skins/Weather34/w34charts/chartdata/result.csv.tmpl
Mar 18 13:50:27 OpiQ-2 weewx[498]: cheetahgenerator:  Reason: 
unsupported operand type(s) for +: 'float' and 'NoneType'
Mar 18 13:50:27 OpiQ-2 weewx[498]:   Traceback (most recent call last):
Mar 18 13:50:27 OpiQ-2 weewx[498]: File 
"/usr/share/weewx/weewx/cheetahgenerator.py", line 332, in generate
Mar 18 13:50:27 OpiQ-2 weewx[498]:   
fd.write(str(compiled_template))
Mar 18 13:50:27 OpiQ-2 weewx[498]: File 
"/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1045, in 
__str__
Mar 18 13:50:27 OpiQ-2 weewx[498]:   rc = getattr(self, 
mainMethName)()
Mar 18 13:50:27 OpiQ-2 weewx[498]: File 
"_etc_weewx_skins_Weather34_w34charts_chartdata_result_csv_tmpl.py", line 
251, in respond
Mar 18 13:50:27 OpiQ-2 weewx[498]:   TypeError: unsupported operand 
type(s) for +: 'float' and 'NoneType'
Mar 18 13:50:27 OpiQ-2 weewx[498]: cheetahgenerator: Generated 3 files for 
report Weather34Report in 0.70 seconds
Mar 18 13:50:27 OpiQ-2 weewx[498]: copygenerator: copied 0 files to 
/var/weewx/reports

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/d9dbfe80-19d3-40e6-969f-2e6031e20da9%40googlegroups.com.


Re: [weewx-user] Re: how to insert additional data (cpu temp) into skins?

2020-03-18 Thread Mike Revitt
Thanks Thomas, easy when you know how

On Wednesday, March 18, 2020 at 6:27:59 PM UTC, Thomas Keffer wrote:
>
> import weewx
>
> if event.record['usUnits'] == weewx.US:
> event.record['extraTemp1'] = ( cpu.temperature * 1.8 ) + 32
> else:
> event.record['extraTemp1'] = cpu.temperature
>
> -tk
>
>
> On Wed, Mar 18, 2020 at 8:38 AM Mike Revitt  > wrote:
>
>> Thanks Thomas,
>>
>> Was looking at that but didn't know how, my Raspberry Pi reports the 
>> temperature in Celsius and the database is in Fahrenheit and obviously a 
>> check would be best. 
>>
>> But how to do that easily?
>>
>>
>> On Wednesday, March 18, 2020 at 2:14:32 PM UTC, Thomas Keffer wrote:
>>>
>>> Well done!
>>>
>>> However, your extension makes the assumption that the archive record is 
>>> always in US Customary. Best to put a check in there before doing the 
>>> conversion.
>>>
>>> -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...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/0cd4a4b2-bf30-4f34-a567-4bff9120903f%40googlegroups.com
>>  
>> 
>> .
>>
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/60d56320-fde7-4530-affa-49ea7caae6d8%40googlegroups.com.


Re: [weewx-user] Re: how to insert additional data (cpu temp) into skins?

2020-03-18 Thread Thomas Keffer
import weewx

if event.record['usUnits'] == weewx.US:
event.record['extraTemp1'] = ( cpu.temperature * 1.8 ) + 32
else:
event.record['extraTemp1'] = cpu.temperature

-tk


On Wed, Mar 18, 2020 at 8:38 AM Mike Revitt  wrote:

> Thanks Thomas,
>
> Was looking at that but didn't know how, my Raspberry Pi reports the
> temperature in Celsius and the database is in Fahrenheit and obviously a
> check would be best.
>
> But how to do that easily?
>
>
> On Wednesday, March 18, 2020 at 2:14:32 PM UTC, Thomas Keffer wrote:
>>
>> Well done!
>>
>> However, your extension makes the assumption that the archive record is
>> always in US Customary. Best to put a check in there before doing the
>> conversion.
>>
>> -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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/0cd4a4b2-bf30-4f34-a567-4bff9120903f%40googlegroups.com
> 
> .
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAPq0zEDHdLg3cUT5yvXo2fdPXYU_kq9rRTUA_8jS8PHbjT_MTw%40mail.gmail.com.


Re: [weewx-user] Re: weewx4 - vantagepro issue

2020-03-18 Thread Thomas Keffer
In addition to Vince's recommendation:

   1. you should also set debug=1 in weewx.conf, then restart. It may give
   you more clues as to what is going on.
   2. Run the command "dmesg". This will show you if anything is going on
   with the kernel. Long shot, but worth checking.
   3. Is your console connected to AC, or running just on batteries? Low
   batteries can show these symptoms (although the 4.47 V you are seeing is
   pretty normal).

-tk



On Wed, Mar 18, 2020 at 10:10 AM vince  wrote:

> On Wednesday, March 18, 2020 at 9:02:49 AM UTC-7, weerstation Maurik wrote:
>
>> How can a RPi loose 6 seonds when not running weewx for maybe 15min
>>
>>
> All computers can do this if they are starting to fail.
>
> You should be running ntp or systemd equivalent to keep the clock in sync
> with reality.
>
> --
> 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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/e10c1057-d745-475d-90e0-03f53dd65a7d%40googlegroups.com
> 
> .
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAPq0zEAfdmVPi4T0DeRj5OmGu3tFmjFMxnhwjkG_OqZ%2BZuRhaA%40mail.gmail.com.


[weewx-user] Trying to decide between multiple weewx instances or expanding the weewx database

2020-03-18 Thread Patrick Mendiuk
Hi,
I have been running some Weatherflow Sky and Air sensors along with a 
number of MQTT sensors feeding into one instance of weewx.  I recently 
added a Tempest sensor and a Vantage 2 Pro ISS.  I am trying to decide if I 
should setup two additional weewx instances or expand the original 
database.  I would like to generate comparative data plots and possibly 
expose the data via CWOP.  Is it possible to generate multiple CWOP output 
streams from one weewx instance?

Thanks,
Patrick

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/c5cf94ee-0598-4035-94e3-964ca890fd27%40googlegroups.com.


[weewx-user] Re: weewx4 - vantagepro issue

2020-03-18 Thread vince
On Wednesday, March 18, 2020 at 9:02:49 AM UTC-7, weerstation Maurik wrote:

> How can a RPi loose 6 seonds when not running weewx for maybe 15min
>
>
All computers can do this if they are starting to fail.

You should be running ntp or systemd equivalent to keep the clock in sync 
with reality.

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/e10c1057-d745-475d-90e0-03f53dd65a7d%40googlegroups.com.


[weewx-user] Re: Belchertown Development & WeeWX 4 b10 Error

2020-03-18 Thread G Hammer


On Tuesday, March 17, 2020 at 1:13:32 PM UTC-4, G Hammer wrote:
>
> The issue is resolved by the following:
>
> I installed 
> libfreetype6-dev
> libjpeg-dev
> python-cjson
>
> I uninstalled the skin, made certain the directories were gone, rebooted 
> and installed the skin again.
>
> After configuring, I get full functionality..
>
> The last item is to resolve why my local mosquitto server is not accepting 
> IPv6 websockets.
>
> sudo netstat -tulpn | grep -E '8883|9001'
> tcp0  0 0.0.0.0:88830.0.0.0:*  
>  LISTEN  968/mosquitto   
> tcp0  0 0.0.0.0:90010.0.0.0:*  
>  LISTEN  968/mosquitto   
> tcp6   0  0 :::8883 :::*
> LISTEN  968/mosquitto
>
> Not a firewall or iptables issue:
> root@srvr:~# ufw status
> Status: inactive
> root@srvr:~# systemctl status iptables-persistent
> Unit iptables-persistent.service could not be found.
> root@srvr:~# systemctl status iptables
> Unit iptables.service could not be found.
>
> I'll note that websockets IPv6 is not shown in the mosquitto startup logs. 
> But I'm not certain websockets would show each type as the other sockets do:
> 1584380087: mosquitto version 1.4.15 (build date Tue, 18 Jun 2019 11:42:22 
> -0300) starting
> 1584380087: Config loaded from /etc/mosquitto/mosquitto.conf.
> 1584380087: Opening ipv4 listen socket on port 1883.
> 1584380087: Opening ipv6 listen socket on port 1883.
> 1584380087: Opening ipv4 listen socket on port 8883.
> 1584380087: Opening ipv6 listen socket on port 8883.
> 1584380087: Opening websockets listen socket on port 9001.
>
> Any mosquitto assist would be helpful.
>

It seems that the websockets included with Linux Mint 19.3 does not have 
IPv6 support compiled into it.
Lousy choice on the part of Linux Mint. 

I hope this might save someone else from the same.

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/75f8539b-64c7-4b34-9015-789c3b2cf7e8%40googlegroups.com.


Re: [weewx-user] Re: small problem with database binding

2020-03-18 Thread 'angry tux' via weewx-user
Thanks a lot to both of you, it surely works.
Sorrry to bother, I saw the hints for bindings and the aggregation, but I 
have overlooked how to combine them.
Great to have this examples :-)

Regards



-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/b7b50b84-7a29-4765-a937-13cfeaf3a350%40googlegroups.com.


Re: [weewx-user] Very bad performance leading to "lost connection to mysql server" and weewx endless loop

2020-03-18 Thread Luftfahrtverein Grünstadt
I got an answer from the data center which confirm that everything is 
running fine on their side.
Apparently something got wrong after updating the pi - does anyone know if 
there were recent updates on the pi, e.g. concerning a firewall or virus 
protection which could lead to the bad performance (also for the image 
generation)?

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/16230035-404f-4f86-b67e-d9115015bacc%40googlegroups.com.


[weewx-user] Re: weewx4 - vantagepro issue

2020-03-18 Thread weerstation Maurik

>
> Restarted the RPi and same things occurred.
>
Decided to remove the old database and see what happened then.

command line runned as it should be, all updating database and website = 
all good
ctrl-c on command line and executed the daemon commands.

Mar 18 16:31:31 rpi-weather weewx[1217] INFO weewx.restx: CWOP: Posting not 
enabled.
Mar 18 16:31:31 rpi-weather weewx[1217] INFO weewx.restx: WOW: Posting not 
enabled.
Mar 18 16:31:31 rpi-weather weewx[1217] INFO weewx.restx: AWEKAS: Posting 
not enabled.
Mar 18 16:31:31 rpi-weather weewx[1217] INFO __main__: Starting up weewx 
version 4.0.0b14
Mar 18 16:31:31 rpi-weather weewx[1217] INFO weewx.engine: Clock error is 
-5.90 seconds (positive
is fast)
Mar 18 16:31:31 rpi-weather weewx[1217] INFO weewx.drivers.vantage: Clock 
set to 2020-03-18 16:31
   :32 CET 
(1584545492)
Mar 18 16:31:31 rpi-weather weewx[1217] INFO weewx.engine: Using binding 
'wx_binding' to database
'weewx.sdb'
Mar 18 16:31:31 rpi-weather weewx[1217] INFO weewx.manager: Starting 
backfill of daily summaries
Mar 18 16:31:33 rpi-weather weewx[1217] INFO weewx.manager: Added record 
2020-03-18 16:30:00 CET

(1584545400) to database 'weewx.sdb'
Mar 18 16:31:34 rpi-weather weewx[1217] INFO weewx.manager: Added record 
2020-03-18 16:30:00 CET

(1584545400) to daily summary in 'weewx.sdb'
Mar 18 16:31:34 rpi-weather weewx[1217] INFO weewx.engine: Starting main 
packet loop.
Mar 18 16:31:49 rpi-weather weewx[1217] ERROR weewx.drivers.vantage: LOOP 
try #1; error: Expected to read 99 chars; got 0 instead

So that didn't work.
Another stop and start seems to get things running.


Basically the old-database most likely was not writable.
using commandline therefore new values were not written aback and website 
didn't update
using daemon still see problems related to times I guess which upsets weewx.

How can a RPi loose 6 seonds when not running weewx for maybe 15min
Anyway it works for now.


-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/e9e313f1-1c93-458d-9117-356a2a39429c%40googlegroups.com.


Re: [weewx-user] Re: how to insert additional data (cpu temp) into skins?

2020-03-18 Thread Mike Revitt
Thanks Thomas,

Was looking at that but didn't know how, my Raspberry Pi reports the 
temperature in Celsius and the database is in Fahrenheit and obviously a 
check would be best. 

But how to do that easily?


On Wednesday, March 18, 2020 at 2:14:32 PM UTC, Thomas Keffer wrote:
>
> Well done!
>
> However, your extension makes the assumption that the archive record is 
> always in US Customary. Best to put a check in there before doing the 
> conversion.
>
> -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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/0cd4a4b2-bf30-4f34-a567-4bff9120903f%40googlegroups.com.


[weewx-user] Dato nuevo en la estructura de la tabla mysql

2020-03-18 Thread jose riaño
Buenos días


Quiero agregar un dato nuevo a la estructura de la tabla  weewx:

por ejemplo 
mi tabla 


CREATE TABLE Tabla (`dateTime` INTEGER NOT NULL UNIQUE PRIMARY KEY, 
`usUnits` INTEGER NOT NULL, `interval` INTEGER NOT NULL,  `barometer` REAL, 
`pressure` REAL, `altimeter` REAL, `inTemp` REAL, `outTemp` REAL, 
`inHumidity` REAL, `outHumidity` REAL, `windSpeed` REAL, `windDir` REAL, 
`windGust` REAL, `windGustDir` REAL, `rainRate` REAL, `rain` REAL, 
`dewpoint` REAL, `windchill` REAL, `heatindex` REAL,  `ET` REAL, 
`radiation` REAL, `UV` REAL, `extraTemp1` REAL,  `extraTemp2` REAL, 
`extraTemp3` REAL, `soilTemp1` REAL,  `soilTemp2` REAL, `soilTemp3` REAL, 
`soilTemp4` REAL,  `leafTemp1` REAL, `leafTemp2` REAL, `extraHumid1` REAL,  
`extraHumid2` REAL, `soilMoist1` REAL, `soilMoist2` REAL,  `soilMoist3` 
REAL, `soilMoist4` REAL, `leafWet1` REAL, `leafWet2` REAL,  
`rxCheckPercent` REAL, `txBatteryStatus` REAL,  `consBatteryVoltage` REAL, 
`hail` REAL, `hailRate` REAL,  `heatingTemp` REAL, `heatingVoltage` REAL, 
`supplyVoltage` REAL,  `referenceVoltage` REAL, `windBatteryStatus` REAL,  
`rainBatteryStatus` REAL, `outTempBatteryStatus` REAL,  
`inTempBatteryStatus` REAL);

en que archivo de código fuente encuentro esta estructura ??


lo que quiero es que tenga un identificador la tabla  para si identificar 
mi estación..


gracias  






-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/f2867ab5-6787-43a8-a251-77efc6977923%40googlegroups.com.


Re: [weewx-user] Re: how to insert additional data (cpu temp) into skins?

2020-03-18 Thread Thomas Keffer
Well done!

However, your extension makes the assumption that the archive record is
always in US Customary. Best to put a check in there before doing the
conversion.

-tk

On Wed, Mar 18, 2020 at 6:34 AM Mike Revitt  wrote:

> Not sure if you are still looking for solutions, but I liked you idea so
> had a look at implementing it in Python.
>
> Turns out it was easier than I thought.
>
> 1) create a python file and put it into the bin/user directory, this file
> gets the CPU temperature, coverts it to Fahrenheit and puts it into the
> extraTemp1 column in the database
>
> import  weewx
> fromweewx.engineimport  StdService
> fromgpiozeroimport  CPUTemperature
>
> class AddCpuTemp(StdService):
>
> def __init__(self, engine, config_dict):
>
>   # Initialize my superclass first:
>   super(AddCpuTemp, self).__init__(engine, config_dict)
>
>   # Bind to any new archive record events:
>   self.bind(weewx.NEW_ARCHIVE_RECORD, self.new_archive_record)
>
> def new_archive_record(self, event):
>
> cpu = CPUTemperature()
>
> event.record['extraTemp1'] = ( cpu.temperature * 1.8 ) + 32
>
>
> 2) modify weewx.conf to call the new file
> [Engine]
>
> [[Services]]
> # This section specifies the services that should be run. They are
> # grouped by type, and the order of services within each group
> # determines the order in which the services will be run.
> prep_services = weewx.engine.StdTimeSynch
> data_services = user.cputemp.AddCpuTemp
>
>
> Now the value can be obtained anywhere you want by
> referencing $current.extraTemp1
> I modified about.inc in the seasons skin with the following
>
> 
>   Server uptime
>   $station.os_uptime
> 
> 
>   Server CPU Temp
>   $current.extraTemp1
> 
> 
>   WeeWX uptime
>   $station.uptime
> 
>
>
> Also you can now access the dayTemp graph to see the plots over time
>
> On Thursday, February 20, 2020 at 4:55:00 PM UTC, Vetti52 wrote:
>>
>> Sorry for being too dumb for python...
>>
>> I want to show the actual cpu temperature in the "About this weather
>> station" section. On my Raspberry Pi I get the result:
>>
>> $ vcgencmd measure_temp
>> temp=53.0'C
>>
>> However, I do not know, how to enter this into a skin file.
>> I gave a first try to
>>
>> > echo exec('vcgencmd measure_temp|sed "s/'/ °/"');
>> ?>
>>
>> resulting in
>> VCHI initialization failed
>>
>> I have added www-data to the video group, but this did not help. But, may
>> be, it is much easier to realize. Please help!
>>
>>
>> --
> 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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/51911b10-1bd3-4c73-89cd-22532f89eb63%40googlegroups.com
> 
> .
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAPq0zEBTjb0FB4jzqMG0u5Q2%2BhTC6uw8Cb-XeSMCAGCY8fMJaw%40mail.gmail.com.


Re: [weewx-user] Re: small problem with database binding

2020-03-18 Thread steeple ian
Try
$week($data_binding='SMA_binding', $weeks_ago=2).grid_energy.max.formatted

On Wed, 18 Mar 2020 at 09:50, 'angry tux' via weewx-user <
weewx-user@googlegroups.com> wrote:

> Hi,
>
> Thats what I tried in different ways, honestly, I never learned to code,
> just puzzle around as good as I understand. But for this I don´t get it
> whats wrong. Is there nobody with a hint?
>
> Regards
>
> --
> 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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/38cdc20c-04aa-46d1-ab4f-33fb65fecf8b%40googlegroups.com
> 
> .
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CADASSaQt4xWxc7UYuqWxtHHBMEH6bw2Ajcx27pbf2BU5XH8Wpg%40mail.gmail.com.


[weewx-user] Re: how to insert additional data (cpu temp) into skins?

2020-03-18 Thread Mike Revitt
Not sure if you are still looking for solutions, but I liked you idea so 
had a look at implementing it in Python.

Turns out it was easier than I thought.

1) create a python file and put it into the bin/user directory, this file 
gets the CPU temperature, coverts it to Fahrenheit and puts it into the 
extraTemp1 column in the database

import  weewx
fromweewx.engineimport  StdService
fromgpiozeroimport  CPUTemperature

class AddCpuTemp(StdService):

def __init__(self, engine, config_dict):

  # Initialize my superclass first:
  super(AddCpuTemp, self).__init__(engine, config_dict)

  # Bind to any new archive record events:
  self.bind(weewx.NEW_ARCHIVE_RECORD, self.new_archive_record)

def new_archive_record(self, event):

cpu = CPUTemperature()

event.record['extraTemp1'] = ( cpu.temperature * 1.8 ) + 32


2) modify weewx.conf to call the new file
[Engine]

[[Services]]
# This section specifies the services that should be run. They are
# grouped by type, and the order of services within each group
# determines the order in which the services will be run.
prep_services = weewx.engine.StdTimeSynch
data_services = user.cputemp.AddCpuTemp


Now the value can be obtained anywhere you want by 
referencing $current.extraTemp1
I modified about.inc in the seasons skin with the following


  Server uptime
  $station.os_uptime


  Server CPU Temp
  $current.extraTemp1


  WeeWX uptime
  $station.uptime



Also you can now access the dayTemp graph to see the plots over time

On Thursday, February 20, 2020 at 4:55:00 PM UTC, Vetti52 wrote:
>
> Sorry for being too dumb for python...
>
> I want to show the actual cpu temperature in the "About this weather 
> station" section. On my Raspberry Pi I get the result: 
>
> $ vcgencmd measure_temp
> temp=53.0'C
>
> However, I do not know, how to enter this into a skin file. 
> I gave a first try to
>
>  echo exec('vcgencmd measure_temp|sed "s/'/ °/"');
> ?>
>
> resulting in
> VCHI initialization failed
>
> I have added www-data to the video group, but this did not help. But, may 
> be, it is much easier to realize. Please help!
>
>
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/51911b10-1bd3-4c73-89cd-22532f89eb63%40googlegroups.com.


Re: [weewx-user] Very bad performance leading to "lost connection to mysql server" and weewx endless loop

2020-03-18 Thread Thomas Keffer
If you are using a database connection to a remote server in the cloud, you
can almost surely expect poor performance.

MySQL servers typically have logs for queries. Can't speak for where your
data center put them, but they are usually in /var/log/mysql or something
similar.

-tk

On Wed, Mar 18, 2020 at 5:51 AM Luftfahrtverein Grünstadt <
webmas...@luftfahrtverein-gruenstadt.de> wrote:

> okay, since it is a paid service in a large data center I will give them a
> call.
> Is there a way for getting more debug information, e.g. log the fired sql
> queries to fire them manually directly on the database?
>
> Am Mittwoch, 18. März 2020 13:16:23 UTC+1 schrieb Thomas Keffer:
>>
>> Well, there is something wrong on the external server or, possibly, the
>> connection between.
>>
>> In general, installations that use MySQL are less reliable than those
>> using SQLite. See the Wiki article *SQLite vs MySQL
>> *.
>>
>> -tk
>>
>> On Wed, Mar 18, 2020 at 5:02 AM Luftfahrtverein Grünstadt <
>> webm...@luftfahrtverein-gruenstadt.de> wrote:
>>
>>> Hi Thomas,
>>> thank you for your answer.
>>> No, the MySQL database is not on the pi, it is externally hosted.
>>>
>>> Am Mittwoch, 18. März 2020 12:16:20 UTC+1 schrieb Thomas Keffer:

 I take it you are running MySQL on a Raspberry Pi? Could be that the SD
 card is failing.

 On Wed, Mar 18, 2020 at 12:23 AM Luftfahrtverein Grünstadt <
 webm...@luftfahrtverein-gruenstadt.de> wrote:

> Hi all,
>
> after updating our raspberry pi (apt-get update & upgrade) I
> experience very bad performance of weewx resulting in an endless loop of
> retrying.
> Here is an excerpt of the log:
> Mar 18 08:10:18 raspberrypi weewx[467]: manager: Added record
> 2020-03-18 08:10:00 CET (1584515400) to database 'd0222d5f'
> Mar 18 08:10:21 raspberrypi weewx[467]: manager: Added record
> 2020-03-18 08:10:00 CET (1584515400) to daily summary in 'd0222d5f'
> Mar 18 08:11:00 raspberrypi weewx[467]: cheetahgenerator: Generated 8
> files for report SeasonsReport in 39.21 seconds
> ^[[AMar 18 08:14:36 raspberrypi weewx[467]: imagegenerator: Generated
> 42 images for SeasonsReport in 215.72 seconds
> Mar 18 08:14:36 raspberrypi weewx[467]: copygenerator: copied 5 files
> to /var/www/html/weewx
> Mar 18 08:14:40 raspberrypi weewx[467]: GaugeGenerator: Generated 7
> images for HTMLPages in 3.42 seconds
> Mar 18 08:14:40 raspberrypi weewx[467]: translategenerator.pyc:
> Language is german
> Mar 18 08:14:48 raspberrypi weewx[467]: historygenerator.pyc:
> Generated 6 tables in 7.08 seconds
> Mar 18 08:15:02 raspberrypi weewx[467]: engine: Main loop exiting.
> Shutting engine down.
> Mar 18 08:15:02 raspberrypi weewx[467]: engine: Shutting down
> StdReport thread
> Mar 18 08:15:14 raspberrypi weewx[467]: cheetahgenerator: Generated 10
> files for report HTMLPages in 33.72 seconds
> Mar 18 08:15:14 raspberrypi weewx[467]: copygenerator: copied 3 files
> to /var/www/html/weewx/Bootstrap
> Mar 18 08:15:14 raspberrypi weewx[467]: translategenerator.pyc:
> Language is german
> Mar 18 08:15:22 raspberrypi weewx[467]: engine: Unable to shut down
> StdReport thread
> Mar 18 08:15:22 raspberrypi weewx[467]: engine: Database connection
> exception: (2013, 'Lost connection to MySQL server during query')
> Mar 18 08:15:22 raspberrypi weewx[467]:   Waiting 2 minutes
> then retrying...
>
>
> As you can see generating images / files took very very long (e.g. 215
> seconds for seasonsreport). I successfully run weewx for 4 years now and 
> It
> was never that slow.
> A few weeks ago I moved from sqlite to mysql without any issues and it
> worked well, so I do not hink this has any relation to the problem.
>
> In addition to the bad performance (i think it is a folllow-up
> problem) I got database connection exceptions (2013, lost connection 
> during
> query), but adding records to the database work fine. Is there a way to 
> set
> a higher connection timeout value?
>
> I tried already rebuilding the daily values several times, setting the
> archive interval to 5 min (before it was 1 min) but nothing helps.
>
> Any help is really appreciated! What do you need to know?
>
> Thank you so much!
>
> Sebastian
>
> --
> 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...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/570b85ea-14ce-4dd0-b5c7-354d72e7b7d1%40googlegroups.com
> 

Re: [weewx-user] Very bad performance leading to "lost connection to mysql server" and weewx endless loop

2020-03-18 Thread Luftfahrtverein Grünstadt
okay, since it is a paid service in a large data center I will give them a 
call.
Is there a way for getting more debug information, e.g. log the fired sql 
queries to fire them manually directly on the database?

Am Mittwoch, 18. März 2020 13:16:23 UTC+1 schrieb Thomas Keffer:
>
> Well, there is something wrong on the external server or, possibly, the 
> connection between.
>
> In general, installations that use MySQL are less reliable than those 
> using SQLite. See the Wiki article *SQLite vs MySQL 
> *.
>
> -tk
>
> On Wed, Mar 18, 2020 at 5:02 AM Luftfahrtverein Grünstadt <
> webm...@luftfahrtverein-gruenstadt.de > wrote:
>
>> Hi Thomas,
>> thank you for your answer.
>> No, the MySQL database is not on the pi, it is externally hosted.
>>
>> Am Mittwoch, 18. März 2020 12:16:20 UTC+1 schrieb Thomas Keffer:
>>>
>>> I take it you are running MySQL on a Raspberry Pi? Could be that the SD 
>>> card is failing.
>>>
>>> On Wed, Mar 18, 2020 at 12:23 AM Luftfahrtverein Grünstadt <
>>> webm...@luftfahrtverein-gruenstadt.de> wrote:
>>>
 Hi all,

 after updating our raspberry pi (apt-get update & upgrade) I experience 
 very bad performance of weewx resulting in an endless loop of retrying.
 Here is an excerpt of the log:
 Mar 18 08:10:18 raspberrypi weewx[467]: manager: Added record 
 2020-03-18 08:10:00 CET (1584515400) to database 'd0222d5f'
 Mar 18 08:10:21 raspberrypi weewx[467]: manager: Added record 
 2020-03-18 08:10:00 CET (1584515400) to daily summary in 'd0222d5f'
 Mar 18 08:11:00 raspberrypi weewx[467]: cheetahgenerator: Generated 8 
 files for report SeasonsReport in 39.21 seconds
 ^[[AMar 18 08:14:36 raspberrypi weewx[467]: imagegenerator: Generated 
 42 images for SeasonsReport in 215.72 seconds
 Mar 18 08:14:36 raspberrypi weewx[467]: copygenerator: copied 5 files 
 to /var/www/html/weewx
 Mar 18 08:14:40 raspberrypi weewx[467]: GaugeGenerator: Generated 7 
 images for HTMLPages in 3.42 seconds
 Mar 18 08:14:40 raspberrypi weewx[467]: translategenerator.pyc: 
 Language is german
 Mar 18 08:14:48 raspberrypi weewx[467]: historygenerator.pyc: Generated 
 6 tables in 7.08 seconds
 Mar 18 08:15:02 raspberrypi weewx[467]: engine: Main loop exiting. 
 Shutting engine down.
 Mar 18 08:15:02 raspberrypi weewx[467]: engine: Shutting down StdReport 
 thread
 Mar 18 08:15:14 raspberrypi weewx[467]: cheetahgenerator: Generated 10 
 files for report HTMLPages in 33.72 seconds
 Mar 18 08:15:14 raspberrypi weewx[467]: copygenerator: copied 3 files 
 to /var/www/html/weewx/Bootstrap
 Mar 18 08:15:14 raspberrypi weewx[467]: translategenerator.pyc: 
 Language is german
 Mar 18 08:15:22 raspberrypi weewx[467]: engine: Unable to shut down 
 StdReport thread
 Mar 18 08:15:22 raspberrypi weewx[467]: engine: Database connection 
 exception: (2013, 'Lost connection to MySQL server during query')
 Mar 18 08:15:22 raspberrypi weewx[467]:   Waiting 2 minutes 
 then retrying...


 As you can see generating images / files took very very long (e.g. 215 
 seconds for seasonsreport). I successfully run weewx for 4 years now and 
 It 
 was never that slow.
 A few weeks ago I moved from sqlite to mysql without any issues and it 
 worked well, so I do not hink this has any relation to the problem.

 In addition to the bad performance (i think it is a folllow-up problem) 
 I got database connection exceptions (2013, lost connection during query), 
 but adding records to the database work fine. Is there a way to set a 
 higher connection timeout value?

 I tried already rebuilding the daily values several times, setting the 
 archive interval to 5 min (before it was 1 min) but nothing helps.

 Any help is really appreciated! What do you need to know?

 Thank you so much!

 Sebastian

 -- 
 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...@googlegroups.com.
 To view this discussion on the web visit 
 https://groups.google.com/d/msgid/weewx-user/570b85ea-14ce-4dd0-b5c7-354d72e7b7d1%40googlegroups.com
  
 
 .

>>> -- 
>> 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...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/fd6846ee-f9ba-458d-ba3a-252e630718b2%40googlegroups.com
>>  
>> 

Re: [weewx-user] Installation issues on Synology DS918+ -- No module named configobj

2020-03-18 Thread Ivan Schrooyen
Hello,

Thanks for your fast answer.

I have actually run all installation as root user.
In order to do that on Synology, I had to issue the command "sudo -i" 
before hand.

In any case, I have tried both options mentioned in your last post a couple 
of seconds ago, and I am still stuck with the same error message.

Is there anything else you recommend me to try?

Thanks in advance,
Ivan 

>  
>>
> -- 
>> 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...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/378728d5-fe58-4bdc-acb6-102dcbeac6fe%40googlegroups.com
>>  
>> 
>> .
>>
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/d8fa1e74-11f1-4068-9128-e9aa5fa19898%40googlegroups.com.


Re: [weewx-user] Installation issues on Synology DS918+ -- No module named configobj

2020-03-18 Thread Thomas Keffer
Because you installed configobj using pip, but *without root privileges*,
pip did what's called a "user" install. Because "sudo" was not specified,
it could not install configobj in the system directories, so, instead, it
installed in a subdirectory (usually ".local") of your home directory.

Then, when you ran setup.py, it either used a different version of python,
or it used the wrong PYTHONPATH.

There are two possible solutions:

   1. Do the pip installs using "sudo". E.g., "sudo python2 -m pip install
   configobj"
   2. Use the same version of Python when running setup.py:

*python2 setup.py build*

See if that helps.

-tk

On Wed, Mar 18, 2020 at 5:21 AM Ivan Schrooyen 
wrote:

> Hello,
>
> I would like to become a new user of Weewx and install it on my Synology
> NAS (DS918+).
>
> The NAS is running the latest OS from Synology: DSM 6.2.2-24922.
>
> The installation procedure to be followed is according to me the one with
> python.
>
> The NAS has 2 versions of python installed: 2.7.12 (python2) and 3.5.1
> (python3).
>
> I have done the prerequisites:
> - python2 -m pip install configobj
> - python2 -m pip install Cheetah
> - python2 -m pip install pillow
> - python2 -m pip install pyserial
> - python2 -m pip install pyusb
>
> I have downloaded the package (3.9.2), then uncompressed, and I am finally
> stuck at the "./setup.py build" command that does not run.
>
> The error message is the following:
> root@NAS:~/weewx/weewx-3.9.2# ./setup.py build
> Traceback (most recent call last):
>   File "./setup.py", line 19, in 
> import configobj
> ImportError: No module named configobj
>
> For information, the installation of configobj returns the following:
> root@NAS:~/weewx/weewx-3.9.2# python2 -m pip install configobj
> DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020.
> Please upgrade your Python as Python 2.7 is no longer maintained. A future
> version of pip will drop support for Python 2.7. More details about Python
> 2 support in pip, can be found at
> https://pip.pypa.io/en/latest/development/release-process/#python-2-support
> Processing
> /root/.cache/pip/wheels/c1/12/7a/c676d85d30d1aa17f3882dab925a777ab1f651c4072cccefd7/configobj-5.0.6-py2-none-any.whl
> Requirement already satisfied: six in /usr/lib/python2.7/site-packages
> (from configobj) (1.12.0)
> Installing collected packages: configobj
> Successfully installed configobj-5.0.6
>
> Does anyone know what I should do or try?
>
> Thanks in advance,
> Ivan
>
>
>
> --
> 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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/378728d5-fe58-4bdc-acb6-102dcbeac6fe%40googlegroups.com
> 
> .
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAPq0zECzAAvrsf-g%3DWEjjuLiWuTru2Kd_eD-t_Z3HKfkagh9mQ%40mail.gmail.com.


[weewx-user] Re: weewx4 - vantagepro issue

2020-03-18 Thread weerstation Maurik

>
> Thanks for the quick reply Thomas.
>

I have restarted the RPi, now wait half an hour or so and then start weewx 
from the commandline.
Wait another half an hour and see what I got. Will report back here later.

The time thing I noticed the 640sec or so but didn't see the fast and slow !
The daemon starts on RPI startup so no delay there, for now removed it.
Will investigate that after the commandline is running properly.

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/2cb6ae12-1bf4-4ff1-8654-49c919754d7a%40googlegroups.com.


[weewx-user] Installation issues on Synology DS918+ -- No module named configobj

2020-03-18 Thread Ivan Schrooyen
Hello,

I would like to become a new user of Weewx and install it on my Synology 
NAS (DS918+).

The NAS is running the latest OS from Synology: DSM 6.2.2-24922.

The installation procedure to be followed is according to me the one with 
python.

The NAS has 2 versions of python installed: 2.7.12 (python2) and 3.5.1 
(python3).

I have done the prerequisites: 
- python2 -m pip install configobj
- python2 -m pip install Cheetah
- python2 -m pip install pillow
- python2 -m pip install pyserial
- python2 -m pip install pyusb

I have downloaded the package (3.9.2), then uncompressed, and I am finally 
stuck at the "./setup.py build" command that does not run.

The error message is the following:
root@NAS:~/weewx/weewx-3.9.2# ./setup.py build
Traceback (most recent call last):
  File "./setup.py", line 19, in 
import configobj
ImportError: No module named configobj

For information, the installation of configobj returns the following:
root@NAS:~/weewx/weewx-3.9.2# python2 -m pip install configobj
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. 
Please upgrade your Python as Python 2.7 is no longer maintained. A future 
version of pip will drop support for Python 2.7. More details about Python 
2 support in pip, can be found at 
https://pip.pypa.io/en/latest/development/release-process/#python-2-support
Processing 
/root/.cache/pip/wheels/c1/12/7a/c676d85d30d1aa17f3882dab925a777ab1f651c4072cccefd7/configobj-5.0.6-py2-none-any.whl
Requirement already satisfied: six in /usr/lib/python2.7/site-packages 
(from configobj) (1.12.0)
Installing collected packages: configobj
Successfully installed configobj-5.0.6

Does anyone know what I should do or try?

Thanks in advance,
Ivan



-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/378728d5-fe58-4bdc-acb6-102dcbeac6fe%40googlegroups.com.


Re: [weewx-user] Very bad performance leading to "lost connection to mysql server" and weewx endless loop

2020-03-18 Thread Thomas Keffer
Well, there is something wrong on the external server or, possibly, the
connection between.

In general, installations that use MySQL are less reliable than those using
SQLite. See the Wiki article *SQLite vs MySQL
*.

-tk

On Wed, Mar 18, 2020 at 5:02 AM Luftfahrtverein Grünstadt <
webmas...@luftfahrtverein-gruenstadt.de> wrote:

> Hi Thomas,
> thank you for your answer.
> No, the MySQL database is not on the pi, it is externally hosted.
>
> Am Mittwoch, 18. März 2020 12:16:20 UTC+1 schrieb Thomas Keffer:
>>
>> I take it you are running MySQL on a Raspberry Pi? Could be that the SD
>> card is failing.
>>
>> On Wed, Mar 18, 2020 at 12:23 AM Luftfahrtverein Grünstadt <
>> webm...@luftfahrtverein-gruenstadt.de> wrote:
>>
>>> Hi all,
>>>
>>> after updating our raspberry pi (apt-get update & upgrade) I experience
>>> very bad performance of weewx resulting in an endless loop of retrying.
>>> Here is an excerpt of the log:
>>> Mar 18 08:10:18 raspberrypi weewx[467]: manager: Added record 2020-03-18
>>> 08:10:00 CET (1584515400) to database 'd0222d5f'
>>> Mar 18 08:10:21 raspberrypi weewx[467]: manager: Added record 2020-03-18
>>> 08:10:00 CET (1584515400) to daily summary in 'd0222d5f'
>>> Mar 18 08:11:00 raspberrypi weewx[467]: cheetahgenerator: Generated 8
>>> files for report SeasonsReport in 39.21 seconds
>>> ^[[AMar 18 08:14:36 raspberrypi weewx[467]: imagegenerator: Generated 42
>>> images for SeasonsReport in 215.72 seconds
>>> Mar 18 08:14:36 raspberrypi weewx[467]: copygenerator: copied 5 files to
>>> /var/www/html/weewx
>>> Mar 18 08:14:40 raspberrypi weewx[467]: GaugeGenerator: Generated 7
>>> images for HTMLPages in 3.42 seconds
>>> Mar 18 08:14:40 raspberrypi weewx[467]: translategenerator.pyc: Language
>>> is german
>>> Mar 18 08:14:48 raspberrypi weewx[467]: historygenerator.pyc: Generated
>>> 6 tables in 7.08 seconds
>>> Mar 18 08:15:02 raspberrypi weewx[467]: engine: Main loop exiting.
>>> Shutting engine down.
>>> Mar 18 08:15:02 raspberrypi weewx[467]: engine: Shutting down StdReport
>>> thread
>>> Mar 18 08:15:14 raspberrypi weewx[467]: cheetahgenerator: Generated 10
>>> files for report HTMLPages in 33.72 seconds
>>> Mar 18 08:15:14 raspberrypi weewx[467]: copygenerator: copied 3 files to
>>> /var/www/html/weewx/Bootstrap
>>> Mar 18 08:15:14 raspberrypi weewx[467]: translategenerator.pyc: Language
>>> is german
>>> Mar 18 08:15:22 raspberrypi weewx[467]: engine: Unable to shut down
>>> StdReport thread
>>> Mar 18 08:15:22 raspberrypi weewx[467]: engine: Database connection
>>> exception: (2013, 'Lost connection to MySQL server during query')
>>> Mar 18 08:15:22 raspberrypi weewx[467]:   Waiting 2 minutes then
>>> retrying...
>>>
>>>
>>> As you can see generating images / files took very very long (e.g. 215
>>> seconds for seasonsreport). I successfully run weewx for 4 years now and It
>>> was never that slow.
>>> A few weeks ago I moved from sqlite to mysql without any issues and it
>>> worked well, so I do not hink this has any relation to the problem.
>>>
>>> In addition to the bad performance (i think it is a folllow-up problem)
>>> I got database connection exceptions (2013, lost connection during query),
>>> but adding records to the database work fine. Is there a way to set a
>>> higher connection timeout value?
>>>
>>> I tried already rebuilding the daily values several times, setting the
>>> archive interval to 5 min (before it was 1 min) but nothing helps.
>>>
>>> Any help is really appreciated! What do you need to know?
>>>
>>> Thank you so much!
>>>
>>> Sebastian
>>>
>>> --
>>> 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...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/weewx-user/570b85ea-14ce-4dd0-b5c7-354d72e7b7d1%40googlegroups.com
>>> 
>>> .
>>>
>> --
> 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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/fd6846ee-f9ba-458d-ba3a-252e630718b2%40googlegroups.com
> 
> .
>

-- 
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.
To view this discussion on the web visit 

Re: [weewx-user] weewx4 - vantagepro issue

2020-03-18 Thread Thomas Keffer
I think WeeWX is probably working fine when you ran it from the command
line. It's just that its archive interval is 10 minutes, and you did not
let it run that long, so you did not see any new reports.

As for the I/O errors while running as a daemon: I noticed that the time on
the Vantage clock was 640 seconds fast, then two minutes later it was 641
seconds slow. Not sure what happened there. Had the RPi just been booted,
and had not settled on a time? If you let the RPi run for a few minutes,
*then* start the daemon, what happens?

On Wed, Mar 18, 2020 at 4:56 AM weerstation Maurik <
l...@weerstationmaurik.nl> wrote:

> I have installed version 4 according to the docs in the install archive on
> my RPi.
> Added my old databases (54MB) in the weewx/archive folder and started
> weewx from the command line.
> A full import of the database took place and it grew to 60MB.
>
> I have however problems getting data in the system as the connection to
> the vantag pro seems off.
>
> When running as a daemon I get
> ERROR weewx.drivers.vantage: LOOP try #1; error: Expected to read 99
> chars; got 0 instead
> and later
>ERROR weewx.drivers.vantage: DMPAFT try #1; error: Timeout in
> get_data_with_crc16
>
> If I run it from the command line after issuing the command I get the loop
> packets visible and this continues till ctrl-c
> LOOP:   2020-03-18 11:47:10 CET (1584528430) altimeter: None, appTemp:
> 55.1173360971, barometer: 30.288, beaufort: 0, cloudbase: 3768.61590836,
> consBatteryVoltage: 4.47, dateTime: 1584528430, dayET: 0.021, dayRain: 0.0,
> dewpoint: 40.7060900032, extraAlarm1: 0, extraAlarm2: 0, extraAlarm3: 0,
> extraAlarm4: 0, extraAlarm5: 0, extraAlarm6: 0, extraAlarm7: 0,
> extraAlarm8: 0, forecastIcon: 6, forecastRule: 9, heatindex: 57.2, humidex:
> 57.2, inDewpoint: 45.1749354896, inHumidity: 44.0, insideAlarm: 0, inTemp:
> 67.9, leafWet4: 0.0, maxSolarRad: 554.161850926, monthET: 0.71, monthRain:
> 2.5039369926, outHumidity: 54.0, outsideAlarm1: 0, outsideAlarm2: 0,
> outTemp: 57.2, pressure: None, radiation: 322.0, rain: None, rainAlarm: 0,
> rainRate: 0.0, soilLeafAlarm1: 0, soilLeafAlarm2: 0, soilLeafAlarm3: 0,
> soilLeafAlarm4: 0, stormRain: 0.0, sunrise: 1584511920.0, sunset:
> 158404.0, txBatteryStatus: 0, usUnits: 1, UV: 1.5, windchill: 57.2,
> windDir: None, windGust: 0.0, windGustDir: None, windSpeed: 0.0, yearET:
> 2.2, yearRain: 19.4015746848
>
> The website build remains stuck at the last date from the old database
> (altough it is refreshed in the new layout).
>
> I added relevant sections from the syslog
> Anybody any ideas where to look?
> Thanks,
>
> --
> 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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/1f91fe4b-340c-47cb-94df-1aa5d32585e4%40googlegroups.com
> 
> .
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAPq0zEDLQ0uQ%3DmeR%3DG3v9VHU15BELYW16pmP0PTkv3z%2BMH%2BW-w%40mail.gmail.com.


Re: [weewx-user] Very bad performance leading to "lost connection to mysql server" and weewx endless loop

2020-03-18 Thread Luftfahrtverein Grünstadt
Hi Thomas,
thank you for your answer.
No, the MySQL database is not on the pi, it is externally hosted.

Am Mittwoch, 18. März 2020 12:16:20 UTC+1 schrieb Thomas Keffer:
>
> I take it you are running MySQL on a Raspberry Pi? Could be that the SD 
> card is failing.
>
> On Wed, Mar 18, 2020 at 12:23 AM Luftfahrtverein Grünstadt <
> webm...@luftfahrtverein-gruenstadt.de > wrote:
>
>> Hi all,
>>
>> after updating our raspberry pi (apt-get update & upgrade) I experience 
>> very bad performance of weewx resulting in an endless loop of retrying.
>> Here is an excerpt of the log:
>> Mar 18 08:10:18 raspberrypi weewx[467]: manager: Added record 2020-03-18 
>> 08:10:00 CET (1584515400) to database 'd0222d5f'
>> Mar 18 08:10:21 raspberrypi weewx[467]: manager: Added record 2020-03-18 
>> 08:10:00 CET (1584515400) to daily summary in 'd0222d5f'
>> Mar 18 08:11:00 raspberrypi weewx[467]: cheetahgenerator: Generated 8 
>> files for report SeasonsReport in 39.21 seconds
>> ^[[AMar 18 08:14:36 raspberrypi weewx[467]: imagegenerator: Generated 42 
>> images for SeasonsReport in 215.72 seconds
>> Mar 18 08:14:36 raspberrypi weewx[467]: copygenerator: copied 5 files to 
>> /var/www/html/weewx
>> Mar 18 08:14:40 raspberrypi weewx[467]: GaugeGenerator: Generated 7 
>> images for HTMLPages in 3.42 seconds
>> Mar 18 08:14:40 raspberrypi weewx[467]: translategenerator.pyc: Language 
>> is german
>> Mar 18 08:14:48 raspberrypi weewx[467]: historygenerator.pyc: Generated 6 
>> tables in 7.08 seconds
>> Mar 18 08:15:02 raspberrypi weewx[467]: engine: Main loop exiting. 
>> Shutting engine down.
>> Mar 18 08:15:02 raspberrypi weewx[467]: engine: Shutting down StdReport 
>> thread
>> Mar 18 08:15:14 raspberrypi weewx[467]: cheetahgenerator: Generated 10 
>> files for report HTMLPages in 33.72 seconds
>> Mar 18 08:15:14 raspberrypi weewx[467]: copygenerator: copied 3 files to 
>> /var/www/html/weewx/Bootstrap
>> Mar 18 08:15:14 raspberrypi weewx[467]: translategenerator.pyc: Language 
>> is german
>> Mar 18 08:15:22 raspberrypi weewx[467]: engine: Unable to shut down 
>> StdReport thread
>> Mar 18 08:15:22 raspberrypi weewx[467]: engine: Database connection 
>> exception: (2013, 'Lost connection to MySQL server during query')
>> Mar 18 08:15:22 raspberrypi weewx[467]:   Waiting 2 minutes then 
>> retrying...
>>
>>
>> As you can see generating images / files took very very long (e.g. 215 
>> seconds for seasonsreport). I successfully run weewx for 4 years now and It 
>> was never that slow.
>> A few weeks ago I moved from sqlite to mysql without any issues and it 
>> worked well, so I do not hink this has any relation to the problem.
>>
>> In addition to the bad performance (i think it is a folllow-up problem) I 
>> got database connection exceptions (2013, lost connection during query), 
>> but adding records to the database work fine. Is there a way to set a 
>> higher connection timeout value?
>>
>> I tried already rebuilding the daily values several times, setting the 
>> archive interval to 5 min (before it was 1 min) but nothing helps.
>>
>> Any help is really appreciated! What do you need to know?
>>
>> Thank you so much!
>>
>> Sebastian
>>
>> -- 
>> 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...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/570b85ea-14ce-4dd0-b5c7-354d72e7b7d1%40googlegroups.com
>>  
>> 
>> .
>>
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/fd6846ee-f9ba-458d-ba3a-252e630718b2%40googlegroups.com.


[weewx-user] weewx4 - vantagepro issue

2020-03-18 Thread weerstation Maurik
I have installed version 4 according to the docs in the install archive on 
my RPi.
Added my old databases (54MB) in the weewx/archive folder and started weewx 
from the command line.
A full import of the database took place and it grew to 60MB.

I have however problems getting data in the system as the connection to the 
vantag pro seems off.

When running as a daemon I get
ERROR weewx.drivers.vantage: LOOP try #1; error: Expected to read 99 
chars; got 0 instead
and later
   ERROR weewx.drivers.vantage: DMPAFT try #1; error: Timeout in 
get_data_with_crc16

If I run it from the command line after issuing the command I get the loop 
packets visible and this continues till ctrl-c
LOOP:   2020-03-18 11:47:10 CET (1584528430) altimeter: None, appTemp: 
55.1173360971, barometer: 30.288, beaufort: 0, cloudbase: 3768.61590836, 
consBatteryVoltage: 4.47, dateTime: 1584528430, dayET: 0.021, dayRain: 0.0, 
dewpoint: 40.7060900032, extraAlarm1: 0, extraAlarm2: 0, extraAlarm3: 0, 
extraAlarm4: 0, extraAlarm5: 0, extraAlarm6: 0, extraAlarm7: 0, 
extraAlarm8: 0, forecastIcon: 6, forecastRule: 9, heatindex: 57.2, humidex: 
57.2, inDewpoint: 45.1749354896, inHumidity: 44.0, insideAlarm: 0, inTemp: 
67.9, leafWet4: 0.0, maxSolarRad: 554.161850926, monthET: 0.71, monthRain: 
2.5039369926, outHumidity: 54.0, outsideAlarm1: 0, outsideAlarm2: 0, 
outTemp: 57.2, pressure: None, radiation: 322.0, rain: None, rainAlarm: 0, 
rainRate: 0.0, soilLeafAlarm1: 0, soilLeafAlarm2: 0, soilLeafAlarm3: 0, 
soilLeafAlarm4: 0, stormRain: 0.0, sunrise: 1584511920.0, sunset: 
158404.0, txBatteryStatus: 0, usUnits: 1, UV: 1.5, windchill: 57.2, 
windDir: None, windGust: 0.0, windGustDir: None, windSpeed: 0.0, yearET: 
2.2, yearRain: 19.4015746848

The website build remains stuck at the last date from the old database 
(altough it is refreshed in the new layout).

I added relevant sections from the syslog
Anybody any ideas where to look?
Thanks,

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/1f91fe4b-340c-47cb-94df-1aa5d32585e4%40googlegroups.com.


2020-03-18 1130 -syslog
Description: Binary data


Re: [weewx-user] Very bad performance leading to "lost connection to mysql server" and weewx endless loop

2020-03-18 Thread Thomas Keffer
I take it you are running MySQL on a Raspberry Pi? Could be that the SD
card is failing.

On Wed, Mar 18, 2020 at 12:23 AM Luftfahrtverein Grünstadt <
webmas...@luftfahrtverein-gruenstadt.de> wrote:

> Hi all,
>
> after updating our raspberry pi (apt-get update & upgrade) I experience
> very bad performance of weewx resulting in an endless loop of retrying.
> Here is an excerpt of the log:
> Mar 18 08:10:18 raspberrypi weewx[467]: manager: Added record 2020-03-18
> 08:10:00 CET (1584515400) to database 'd0222d5f'
> Mar 18 08:10:21 raspberrypi weewx[467]: manager: Added record 2020-03-18
> 08:10:00 CET (1584515400) to daily summary in 'd0222d5f'
> Mar 18 08:11:00 raspberrypi weewx[467]: cheetahgenerator: Generated 8
> files for report SeasonsReport in 39.21 seconds
> ^[[AMar 18 08:14:36 raspberrypi weewx[467]: imagegenerator: Generated 42
> images for SeasonsReport in 215.72 seconds
> Mar 18 08:14:36 raspberrypi weewx[467]: copygenerator: copied 5 files to
> /var/www/html/weewx
> Mar 18 08:14:40 raspberrypi weewx[467]: GaugeGenerator: Generated 7 images
> for HTMLPages in 3.42 seconds
> Mar 18 08:14:40 raspberrypi weewx[467]: translategenerator.pyc: Language
> is german
> Mar 18 08:14:48 raspberrypi weewx[467]: historygenerator.pyc: Generated 6
> tables in 7.08 seconds
> Mar 18 08:15:02 raspberrypi weewx[467]: engine: Main loop exiting.
> Shutting engine down.
> Mar 18 08:15:02 raspberrypi weewx[467]: engine: Shutting down StdReport
> thread
> Mar 18 08:15:14 raspberrypi weewx[467]: cheetahgenerator: Generated 10
> files for report HTMLPages in 33.72 seconds
> Mar 18 08:15:14 raspberrypi weewx[467]: copygenerator: copied 3 files to
> /var/www/html/weewx/Bootstrap
> Mar 18 08:15:14 raspberrypi weewx[467]: translategenerator.pyc: Language
> is german
> Mar 18 08:15:22 raspberrypi weewx[467]: engine: Unable to shut down
> StdReport thread
> Mar 18 08:15:22 raspberrypi weewx[467]: engine: Database connection
> exception: (2013, 'Lost connection to MySQL server during query')
> Mar 18 08:15:22 raspberrypi weewx[467]:   Waiting 2 minutes then
> retrying...
>
>
> As you can see generating images / files took very very long (e.g. 215
> seconds for seasonsreport). I successfully run weewx for 4 years now and It
> was never that slow.
> A few weeks ago I moved from sqlite to mysql without any issues and it
> worked well, so I do not hink this has any relation to the problem.
>
> In addition to the bad performance (i think it is a folllow-up problem) I
> got database connection exceptions (2013, lost connection during query),
> but adding records to the database work fine. Is there a way to set a
> higher connection timeout value?
>
> I tried already rebuilding the daily values several times, setting the
> archive interval to 5 min (before it was 1 min) but nothing helps.
>
> Any help is really appreciated! What do you need to know?
>
> Thank you so much!
>
> Sebastian
>
> --
> 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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/570b85ea-14ce-4dd0-b5c7-354d72e7b7d1%40googlegroups.com
> 
> .
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAPq0zED8y0h6O28x%2BTb3G43Cb7QOjr05XOwdM-6Fc1DdDWtG9g%40mail.gmail.com.


[weewx-user] Re: Belchertown skin 1.0 released!

2020-03-18 Thread Gil Hutcheson
Hello-

I am trying to get this working, but I do not get any output to the 
/var/www/html directory. The syslog entry and the StdReport entry are 
below. Not seeing any errors just no output. Suggestions?

Thanks in advance!

Mar 18 06:25:22 raspberrypi weewx[18585]: manager: Added record 2020-03-18 
06:25:00 EDT (1584527100) to database 'weewx.sdb'
Mar 18 06:25:22 raspberrypi weewx[18585]: manager: Added record 2020-03-18 
06:25:00 EDT (1584527100) to daily summary in 'weewx.sdb'
Mar 18 06:25:22 raspberrypi weewx[18585]: reportengine: Running reports for 
latest time in the database.
Mar 18 06:25:22 raspberrypi weewx[18585]: reportengine: Running report 
'Belchertown'
Mar 18 06:25:23 raspberrypi weewx[18585]: restx: StationRegistry: Published 
record 2020-03-18 06:25:00 EDT (1584527100)


[StdReport]

[[Belchertown]]
enable = true
HTML_ROOT = /var/www/html
skin = Belchertown
[[[Extras]]]
belchertown_debug = 1
belchertown_root_url = "http://gilhutcheson.com;
logo_image = ""
footer_copyright_text = "gilhutcheson.com"
forecast_enabled = 1
darksky_secret_key = "1c5c26f8b1b9ebcc5dc4975cf31db001"
earthquake_enabled = 1
twitter_enabled = 1
highcharts_enabled = 1
   [[Highcharts_Belchertown]]
HTML_ROOT = /var/www/html
skin = Highcharts_Belchertown# Where the skins reside, relative 
to WEEWX_ROOT

 SKIN_ROOT = /etc/weewx/skins


On Saturday, June 1, 2019 at 12:57:56 PM UTC-4, Pat wrote:
>
> Belchertown skin 1.0 is released!
>
> This update contains a lot of updates and changes including *an entire 
> rewrite of the Highcharts system* which allows you to make almost any 
> graph you want for almost any time span you want. You can see some examples 
> of the charts you can make on the BelchertownWeather.com website graphs 
> page .
>
> You can add/remove/change/reorder any chart, change colors, add 
> observation plots, categorize for all time. Almost anything you want to do 
> is available! The skin comes with the standard 4 charts ready to go, but 
> there's extensive Belchertown Charts Documentation 
> 
>  
> which can help you get started. 
>
> In addition to the Charts there's now a dark mode (which has an 
> auto-switching mode based on sunset/sunrise), more flexibility for 
> translations, user customized station observation table which is updated in 
> real time if the MQTT Websockets are enabled, and a lot more. Check the 
> release notes for all the details! 
>
> You can download the latest release here 
> ,
>  
> and read all of the details on the changes here: 
> https://github.com/poblabs/weewx-belchertown/releases
>
> *Note: You cannot upgrade from Belchertown 0.9 and older*. You must 
> uninstall everything and reinstall new. This is due to the Chart system 
> being fully rewritten and the potential for conflicts. Please read this 
> upgrade guide if you are upgrading from an older version of Belchertown skin 
> 
> . 
>
> Thanks to all the beta testers and translators over the last couple of 
> months help me iron out all the kinks and shape the skin in a way that can 
> be translated a little easier! 
>
> Attached are some examples of the charts that can be made. If you find any 
> issues, you can reply here or open an issue on the Belchertown skin 
> GitHub page . 
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/024e283a-cee8-4fe0-81d2-ee3e2c91f333%40googlegroups.com.


[weewx-user] Re: small problem with database binding

2020-03-18 Thread gjr80
Nothing to do with coding, I gave you a big clue. Here is a bigger one, have a 
look at what you tried that did not work:

$week($weeks_ago=2)($data_binding='SMA_binding').grid_energy.max.formatted

Now have a look at the tag syntax from the link I provided:

$period($data_binding=binding_name, 
$optional_ago=delta).statstype.aggregation[.optional_unit_conversion][.optional_formatting]

Do you notice a difference? How many sets of brackets () did you use and how 
many in the tag syntax ?

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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/e7d03d5f-6792-4cbe-9398-000213a9be4d%40googlegroups.com.


[weewx-user] Re: small problem with database binding

2020-03-18 Thread 'angry tux' via weewx-user
Hi,

Thats what I tried in different ways, honestly, I never learned to code, 
just puzzle around as good as I understand. But for this I don´t get it 
whats wrong. Is there nobody with a hint?

Regards

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/38cdc20c-04aa-46d1-ab4f-33fb65fecf8b%40googlegroups.com.


[weewx-user] Very bad performance leading to "lost connection to mysql server" and weewx endless loop

2020-03-18 Thread Luftfahrtverein Grünstadt
Hi all,

after updating our raspberry pi (apt-get update & upgrade) I experience 
very bad performance of weewx resulting in an endless loop of retrying.
Here is an excerpt of the log:
Mar 18 08:10:18 raspberrypi weewx[467]: manager: Added record 2020-03-18 
08:10:00 CET (1584515400) to database 'd0222d5f'
Mar 18 08:10:21 raspberrypi weewx[467]: manager: Added record 2020-03-18 
08:10:00 CET (1584515400) to daily summary in 'd0222d5f'
Mar 18 08:11:00 raspberrypi weewx[467]: cheetahgenerator: Generated 8 files 
for report SeasonsReport in 39.21 seconds
^[[AMar 18 08:14:36 raspberrypi weewx[467]: imagegenerator: Generated 42 
images for SeasonsReport in 215.72 seconds
Mar 18 08:14:36 raspberrypi weewx[467]: copygenerator: copied 5 files to 
/var/www/html/weewx
Mar 18 08:14:40 raspberrypi weewx[467]: GaugeGenerator: Generated 7 images 
for HTMLPages in 3.42 seconds
Mar 18 08:14:40 raspberrypi weewx[467]: translategenerator.pyc: Language is 
german
Mar 18 08:14:48 raspberrypi weewx[467]: historygenerator.pyc: Generated 6 
tables in 7.08 seconds
Mar 18 08:15:02 raspberrypi weewx[467]: engine: Main loop exiting. Shutting 
engine down.
Mar 18 08:15:02 raspberrypi weewx[467]: engine: Shutting down StdReport 
thread
Mar 18 08:15:14 raspberrypi weewx[467]: cheetahgenerator: Generated 10 
files for report HTMLPages in 33.72 seconds
Mar 18 08:15:14 raspberrypi weewx[467]: copygenerator: copied 3 files to 
/var/www/html/weewx/Bootstrap
Mar 18 08:15:14 raspberrypi weewx[467]: translategenerator.pyc: Language is 
german
Mar 18 08:15:22 raspberrypi weewx[467]: engine: Unable to shut down 
StdReport thread
Mar 18 08:15:22 raspberrypi weewx[467]: engine: Database connection 
exception: (2013, 'Lost connection to MySQL server during query')
Mar 18 08:15:22 raspberrypi weewx[467]:   Waiting 2 minutes then 
retrying...


As you can see generating images / files took very very long (e.g. 215 
seconds for seasonsreport). I successfully run weewx for 4 years now and It 
was never that slow.
A few weeks ago I moved from sqlite to mysql without any issues and it 
worked well, so I do not hink this has any relation to the problem.

In addition to the bad performance (i think it is a folllow-up problem) I 
got database connection exceptions (2013, lost connection during query), 
but adding records to the database work fine. Is there a way to set a 
higher connection timeout value?

I tried already rebuilding the daily values several times, setting the 
archive interval to 5 min (before it was 1 min) but nothing helps.

Any help is really appreciated! What do you need to know?

Thank you so much!

Sebastian

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/570b85ea-14ce-4dd0-b5c7-354d72e7b7d1%40googlegroups.com.


[weewx-user] Re: Insallation of Weewx on Synology NAS

2020-03-18 Thread Nicolas CUVILLIER
I did not install weewx on my NAS

I used to have weatherDisplay running on a win10 vm on my Synology NAS.
every time weatherDisplay write a data in a file, the disk of the NAS were 
awake, while
disks are usually sleeping in out-of-work hours. Also I had to stop all 
unnecessary services
running on windows, and probably you'll have to tune your linux 
distribution as well.

My VP2 was connected with USB, and the USB connexion disconnect sometimes, 
and I had
to restart the NAS. It was like if under certain circonstances, the USB 
port was not available
anymore in my VM.

Then I lost a coupe of week of data, because I was traveling and not 
monitoring my VP2...
Probably with an ethernet connexion this problem should not exist...

I decided to buy a Raspberry, and switch to weewx.
And it just works, I even don't have to monitor it every day..

I'm quite sure that the electricity power used by the raspPI is lower than 
the supplemental power generated by the supplemental disk I.O...

Just a feedback on Synology VM, that I use for other purposes.
Nicolas


Le mardi 17 mars 2020 20:24:18 UTC+4, Ivan Schrooyen a écrit :
>
> Hello,
>
> Has anyone managed to install Weewx on a Synology NAS?
> I am trying to follow the procedure described here without success: 
> http://weewx.com/docs/debian.htm
>
> I get error message saying : apt-get command not found.
> Trying to fix this one brings me other ones, and I am a bit lost...
>
> Thanks in advance for your help!
>
> Ivan
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/4289310e-586d-4bc9-bc5a-071e1c735234%40googlegroups.com.