[weewx-user] examples of skins - enhancement to registration

2019-08-13 Thread Andrew Milner
I have just been trying to find an example of Seasons skin in use - I have 
used modified Bootstrap for many years and was considering a change.  Does 
anyone think it would be useful for the station registration to be expanded 
to give a site URL and skin used in addition to hardware to make it easier 
to locate examples of specific skins.  Belchertown appears to be the only 
skin which is easy to identify!!  I am still trying to locate an example of 
the new Seasons skin (well it's new to me) and I really did not want to go 
through the palaver of enabling the skin in my happily running site.

-- 
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/9090c733-5b14-4fe6-ad3a-2714f15462fa%40googlegroups.com.


[weewx-user] Re: Weewx stopped uploading files after 3.9.2 update

2019-08-13 Thread Aldo B
Problem solved: switching to debug level = 1 showed that FTP was not 
enabled.
After re-anabling the Standard skin everything looks fine.


Il giorno martedì 13 agosto 2019 21:03:28 UTC+2, Aldo B ha scritto:
>
> Just updated weewx installation from 3.9.1 to 3.9.2.
> Hardware: raspberry pi 3
> OS: raspbian jessie
>
> Looks like the copygenerator is not writing files, which should be then 
> upload via FTP:
>
> syslog:
> Aug 13 13:17:01 raspberrypi rsyslogd-2007: action 'action 17' suspended, 
> next retry is Tue Aug 13 13:18:31 2019 [try http://www.rsyslog.com/e/2007 
> ]
> Aug 13 13:17:01 raspberrypi CRON[1259]: (root) CMD (   cd / && run-parts 
> --report /etc/cron.hourly)
> Aug 13 13:20:14 raspberrypi weewx[827]: manager: Added record 2019-08-13 
> 13:20:00 CEST (1565695200) to database 'weewx.sdb'
> Aug 13 13:20:14 raspberrypi rsyslogd-2007: action 'action 17' suspended, 
> next retry is Tue Aug 13 13:21:44 2019 [try http://www.rsyslog.com/e/2007 
> ]
> Aug 13 13:20:14 raspberrypi weewx[827]: manager: Added record 2019-08-13 
> 13:20:00 CEST (1565695200) to daily summary in 'weewx.sdb'
> Aug 13 13:20:16 raspberrypi weewx[827]: cheetahgenerator: Generated 8 
> files for report SeasonsReport in 2.11 seconds
> Aug 13 13:20:17 raspberrypi weewx[827]: imagegenerator: Generated 14 
> images for SeasonsReport in 0.99 seconds
> Aug 13 13:20:17 raspberrypi weewx[827]: copygenerator: copied 0 files to 
> /var/www/html/weewx
>
> How can I get weewx working again ?
>
> Aldo
>
>

-- 
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/fe72ea8f-714b-4ee0-bfef-849d90ca40a7%40googlegroups.com.


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

2019-08-13 Thread Kike .Asekas
Pat, I have the graphs of each month compared to the historical average of 
that month and that of each year compared to the historical average of all 
the years.
I have modified line 1571 of belchertown.py with 2 queries. 

if observation == 'rainAvg':
  if xaxis_groupby == "year":
sql_lookup = 'SELECT strftime("{0}", datetime(dateTime, 
"unixepoch")) as {1}, (select sum(rain)/count 
(DISTINCT(strftime("%Y",datetime,"unixepoch"))) from archive) as obs from 
archive WHERE dateTime >= {4} AND dateTime <= {5}  GROUP BY {6};'.format( 
strformat, xaxis_groupby, aggregate_type, obs_lookup, start_ts, end_ts, 
xaxis_groupby )
  else:
sql_lookup = 'SELECT strftime("{0}", datetime(dateTime, 
"unixepoch")) as {1}, 
IFNULL({2}({3}),0)/count(DISTINCT(strftime("%Y",datetime,"unixepoch"))) as 
obs from archive WHERE dateTime >= {4} AND dateTime <= {5} GROUP BY 
{6};'.format( strformat, xaxis_groupby, aggregate_type, obs_lookup, 
start_ts, end_ts, xaxis_groupby )
else:
  sql_lookup = 'SELECT strftime("{0}", datetime(dateTime, 
"unixepoch")) as {1}, IFNULL({2}({3}),0) as obs FROM archive WHERE dateTime 
>= {4} AND dateTime <= {5} GROUP BY {6};'.format( strformat, xaxis_groupby, 
aggregate_type, obs_lookup, start_ts, end_ts, xaxis_groupby )
Y los graficos son estos:
   
I think that for this type of graphics you had to put an option to only 
generate them once a week or so because they do not vary anything between 
them and load the raspberry.


-- 
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/ff29a405-adb0-40b9-ae29-ad0e3dcf72e2%40googlegroups.com.


[weewx-user] Weewx stopped uploading files after 3.9.2 update

2019-08-13 Thread Paul Thomas
See https://www.rsyslog.com/rsyslog-error-2007/

Need to modify rsyslog.conf by the looks of it.

You're now running quite an old version of Raspian. It may be worth upgrading 
or reinstalling weewx on a new installation of Raspian. I just reinstalled 
WeeWX onto a new install of Raspian Buster. 

-- 
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/c63df0b5-763a-4a03-a454-8a10e53de9fd%40googlegroups.com.


[weewx-user] Re: Unidades US

2019-08-13 Thread Andrew Milner
The default units in the database are as listed here
http://weewx.com/docs/customizing.htm#units

for a US database look down the US column


rain = amount of rain which fell in the archive interval
rainrate = amount of rain which fell in an hour (or would fall in an hour 
if it has not rained for a full hour) - if this is calculated by weewx a 
sliding window is used to generate a rainrate for an interval and then 
extrapolated to an hourly figure.





On Tuesday, 13 August 2019 18:43:49 UTC+3, jose riaño wrote:
>
> Buenos dias 
>
> lo primero es que necesito saber en que unidad me guarda la los datos por 
> ejemplo lluvia lo tengo con US y me registra en la base de datos esto:
>
> [image: Captura de pantalla 2019-08-13 a la(s) 10.38.33 a.m..png]
>
> [image: Captura de pantalla 2019-08-13 a la(s) 10.38.45 a.m..png]
>
> eso que registro de lluvia en que unidades esta lo necesito en mm.
>
>
> y la segunda pregunta es en cuanto a que diferencia hay entre rain y 
> rainRate?
>
>
> muchas 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/105770c5-f54e-4e6e-933d-c6360268ecf4%40googlegroups.com.


[weewx-user] Weewx stopped uploading files after 3.9.2 update

2019-08-13 Thread Aldo B
Just updated weewx installation from 3.9.1 to 3.9.2.
Hardware: raspberry pi 3
OS: raspbian jessie

Looks like the copygenerator is not writing files, which should be then 
upload via FTP:

syslog:
Aug 13 13:17:01 raspberrypi rsyslogd-2007: action 'action 17' suspended, 
next retry is Tue Aug 13 13:18:31 2019 [try http://www.rsyslog.com/e/2007 ]
Aug 13 13:17:01 raspberrypi CRON[1259]: (root) CMD (   cd / && run-parts 
--report /etc/cron.hourly)
Aug 13 13:20:14 raspberrypi weewx[827]: manager: Added record 2019-08-13 
13:20:00 CEST (1565695200) to database 'weewx.sdb'
Aug 13 13:20:14 raspberrypi rsyslogd-2007: action 'action 17' suspended, 
next retry is Tue Aug 13 13:21:44 2019 [try http://www.rsyslog.com/e/2007 ]
Aug 13 13:20:14 raspberrypi weewx[827]: manager: Added record 2019-08-13 
13:20:00 CEST (1565695200) to daily summary in 'weewx.sdb'
Aug 13 13:20:16 raspberrypi weewx[827]: cheetahgenerator: Generated 8 files 
for report SeasonsReport in 2.11 seconds
Aug 13 13:20:17 raspberrypi weewx[827]: imagegenerator: Generated 14 images 
for SeasonsReport in 0.99 seconds
Aug 13 13:20:17 raspberrypi weewx[827]: copygenerator: copied 0 files to 
/var/www/html/weewx

How can I get weewx working again ?

Aldo

-- 
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/5457fdb5-1811-49a7-a540-9a38ed1ad5c3%40googlegroups.com.


Re: [weewx-user] Potential memory issue

2019-08-13 Thread Gordie Stirling
thanks for the updates, good to see a community thrive.  the issue i have isn't 
(doesn't) appear to be a memory leak, more of a call going wrong.

i am using the fousb / wh1080, so it maynot be down to a driver issue, for me 
anyhoo.

i tried rolling back to Stretch, but same issues reappeared.  Jessie is next on 
my to do list, along with weewx 3.9.1.

will update when I get a chance to rebuild.  

G

-- 
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/b769bbe3-1a5a-405d-b499-837b4ab02a96%40googlegroups.com.


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

2019-08-13 Thread Kike .Asekas
Forget to put the graph.conf file. And comment that I created a new type 
called rainAvg as I put in the previous post to get the graphics.
[raintotals]
title = Lluvia por Mes
show_button = true
button_text = Totales Lluvia
type = column
time_length=all
[[rainmonthtotals]]
title = Histórico de Lluvia por Mes
subtitle = Lluvia por Mes Desde el Comienzo
xaxis_groupby = month
xaxis_categories = 'Ene', 'Feb', 'Mar', 'Abr', 'May', 'Jun', 'Jul', 
'Ago', 'Sep', 'Oct', 'Nov', 'Dic'
[[[rainAvg]]]
time_length = all
name = Media
[[[rainTotal2015]]]
name = 2015
yaxis_minorTicks = true
time_length = year_specific
year_specific=2015
observation_type = rainTotal
[[[rainTotal2016]]]
name = 2016
yaxis_minorTicks = true
time_length = year_specific
year_specific=2016
observation_type = rainTotal
[[[rainTotal2017]]]
name = 2017
yaxis_minorTicks = true
time_length = year_specific
year_specific=2017
observation_type = rainTotal
[[[rainTotal2018]]]
name = 2018
yaxis_minorTicks = true
time_length = year_specific
year_specific=2018
observation_type = rainTotal
[[[rainTotal2019]]]
name = 2019
yaxis_minorTicks = true
time_length = year_specific
year_specific=2019
observation_type = rainTotal


[[rainyeartotals]]
title = Historicos de Lluvia por Año
xaxis_groupby = year
time_length = all
[[[rainTotal]]]
name = Lluvia Total
[[[rainAvg]]]
xaxis_groupby = year
name= media


-- 
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/f4fb6785-14ce-4ae1-b634-fca807d8eaf1%40googlegroups.com.


[weewx-user] Re: Neowx skin problem

2019-08-13 Thread Paul Thomas
Are you sure they are missing?
Do you mean the text on the X and Y axis? Or were you expecting values on 
the graph lines?
It just looks like the text is very, very, very small?

You can adjust the generated images text font size in the skin.conf file I 
think.
You also need to make sure that the font file specified in skin.conf 
actually exists on your system in the location specified.

Paul

On Sunday, 11 August 2019 13:11:05 UTC+1, Michael Stuhldreier wrote:
>
> Hello again,
> i have problems after updating my weewx skin from standard to neowx. 
>
> The installataion was successful, i become a website with correct data, 
> but there are no timestamps in the graphs (no clock or temperature o.ä) :( 
> :( :(
>
> What is the problem here?
>
>

-- 
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/3b5a13ab-bbed-46c9-9733-d8f5e598ed66%40googlegroups.com.


Re: [weewx-user] How to pronounce "WeeWX"

2019-08-13 Thread Thomas Keffer
Coming from you, one of the last of the wview users, that's high praise,
indeed!

On Mon, Aug 12, 2019 at 7:28 AM Graham Eddy  wrote:

> much, much easier to customise!
> 
> *Graham Eddy*
>
> On 13 Aug 2019, at 12:24 am, Thomas Keffer  wrote:
>
> The "wee" part refers to my intention to make it a small, simple utility
> (as opposed to its predecessor, wview). Unfortunately, it has since grown
> into nearly as big a monster, albeit with a simpler, more modular
> architecture.
>
>
> --
> 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/724A69A0-8415-4C8A-BFCF-C21F7CB0AF36%40gmail.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/CAPq0zEA90Uw6ZxT1ZJwMq1LRnrOkANJ9JbAYNs8zEj5jGQ2QBw%40mail.gmail.com.