[weewx-user] Re: New (re)install. Weewx running and reporting-no webpage

2018-02-09 Thread gjr80
Oh, and you might as well post a sanitised copy of weewx.conf as well.

Gary

On Saturday, 10 February 2018 12:02:21 UTC+10, gjr80 wrote:
>
> Hi,
>
> Can't say without seeing the contents of  the corresponding skin.conf.
>
> Gary
>
> On Saturday, 10 February 2018 11:03:57 UTC+10, Sam Roza wrote:
>>
>> Hello All,
>>
>> I re-installed due to a memory card issue, and I have weewx running and 
>> reporting out to CWOP and WU, etc. That's all good.
>>
>> What it's not doing is creating (more accurately copying) files to the 
>> /var/www/html/weewx directory. I see this in my logs:
>>
>> Feb  9 08:20:51 raspberrypi weewx[512]: cheetahgenerator: Generated 14 
>> files for report StandardReport in 1.22 seconds
>> Feb  9 08:20:51 raspberrypi weewx[512]: manager: Daily summary version is 
>> 2.0
>> >>>Feb  9 08:20:51 raspberrypi weewx[512]: imagegenerator: Generated 12 
>> images for StandardReport in 0.69 seconds
>> >>>Feb  9 08:20:51 raspberrypi weewx[512]: copygenerator: copied 0 files 
>> to /var/www/weewx
>> Feb  9 08:20:51 raspberrypi weewx[512]: reportengine: Running report 
>> BigReport
>> Feb  9 08:20:51 raspberrypi weewx[512]: reportengine: Found configuration 
>> file /etc/weewx/skins/Standard/skin.conf for report BigReport
>> Feb  9 08:20:52 raspberrypi weewx[512]: cheetahgenerator: using search 
>> list ['weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Station', 
>> 'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.Stats', 
>> 'weewx.cheetahgenerator.UnitInfo', 'weewx.cheetahgenerator.Extras']
>> Feb  9 08:20:52 raspberrypi weewx[512]: manager: Daily summary version is 
>> 2.0
>> Feb  9 08:20:53 raspberrypi weewx[512]: cheetahgenerator: Generated 14 
>> files for report BigReport in 1.18 seconds
>> Feb  9 08:20:53 raspberrypi weewx[512]: manager: Daily summary version is 
>> 2.0
>> Feb  9 08:20:54 raspberrypi weewx[512]: imagegenerator: Generated 12 
>> images for BigReport in 1.25 seconds
>> Feb  9 08:20:54 raspberrypi weewx[512]: copygenerator: copied 0 files to 
>> /public_html/big
>>
>>
>> Yet there are no files in the /var/html/weewx directory:
>>
>> root@raspberrypi:/etc/weewx# ls -lh /var/www/html/weewx/
>> total 0
>>
>> Part of me thought it might be permissions, but they look pretty wide 
>> open:
>>
>> root@raspberrypi:/etc/weewx# ls -l /var/www/html/
>> total 16
>> -rw-r--r-- 1 root root 10701 Feb  8 10:12 index.html
>> drwxr-xr-x 2 root root  4096 Feb  8 12:19 weewx
>>
>> I even modified to 777 perms and restarted and it is not updating.
>>
>> I installed this a year or two ago, so I'm admittedly a bit rusty. What 
>> am I missing?
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: Change archive interval for single report

2018-02-09 Thread gjr80
Hi,

WeeWX reports can be run at multiples of your archive interval but they 
cannot be run any more frequent than the archive interval. If you want 
weeWX to do something more frequent than the archive interval then you need 
write a custom service to do what you want (in your case generate some 
output).

I am not sure of your understanding of weeWX' inner workings or your python 
knowledge so my apologies if I am explaining what you already know. It is 
fairly trivial to create a custom service that is tied to the 'loop 
interval' of your station (refer to Loop packets 
 in the Customization 
Guide if you don't know about loop packets and their interval). When you 
write a custom service you lose a lot of the conveneince functions that 
come with the weeWX report engine (the ability to use tags and the 
associated aggregation, formatting and conversion abilities) so you need to 
do a lot of the data gathering, processing, formatting and output yourself. 
If you have a basic understanding of python you should be able to work your 
way through some examples and ultimately create your own. A lot of the 
functions you need to access data within weeWX already exist in the weeWX 
API, its mainly the working out what you want, producing your output and 
handling the corner cases (ie dealing with None values) that take up your 
time.

If you are still keen, Customizing the weeWX service engine 
 in the Customization 
Guide has some basic examples. One you get a feel for things you can dive 
into some more advanced services that do a similar thing to what you want 
to do. The crt extension  
implements a loop based service that does something similar to what you 
want to do. Also the realtime gauge-data extension 
 does a similar thing 
to the crt extension but it produces a JSON format file to drive the 
SteelSeries weather gauges.

Hope that helps and don't be afraid to ask if you don't understand.

Gary

On Saturday, 10 February 2018 13:35:33 UTC+10, A.J. Burnett wrote:
>
> Hi everyone!
>
> I'm producing a simple JSON report using weeWX, in addition to all my 
> other reports. I'd like to keep the interval I'm currently using for 
> everything, but I want to fire off the JSON report every 5-10 seconds, if 
> possible. Can anyone recommend where I can achieve this, if it's even 
> possible?
>
> Thank you!
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Change archive interval for single report

2018-02-09 Thread A.J. Burnett
Hi everyone!

I'm producing a simple JSON report using weeWX, in addition to all my other 
reports. I'd like to keep the interval I'm currently using for everything, 
but I want to fire off the JSON report every 5-10 seconds, if possible. Can 
anyone recommend where I can achieve this, if it's even possible?

Thank you!

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: New (re)install. Weewx running and reporting-no webpage

2018-02-09 Thread gjr80
Hi,

Can't say without seeing the contents of  the corresponding skin.conf.

Gary

On Saturday, 10 February 2018 11:03:57 UTC+10, Sam Roza wrote:
>
> Hello All,
>
> I re-installed due to a memory card issue, and I have weewx running and 
> reporting out to CWOP and WU, etc. That's all good.
>
> What it's not doing is creating (more accurately copying) files to the 
> /var/www/html/weewx directory. I see this in my logs:
>
> Feb  9 08:20:51 raspberrypi weewx[512]: cheetahgenerator: Generated 14 
> files for report StandardReport in 1.22 seconds
> Feb  9 08:20:51 raspberrypi weewx[512]: manager: Daily summary version is 
> 2.0
> >>>Feb  9 08:20:51 raspberrypi weewx[512]: imagegenerator: Generated 12 
> images for StandardReport in 0.69 seconds
> >>>Feb  9 08:20:51 raspberrypi weewx[512]: copygenerator: copied 0 files 
> to /var/www/weewx
> Feb  9 08:20:51 raspberrypi weewx[512]: reportengine: Running report 
> BigReport
> Feb  9 08:20:51 raspberrypi weewx[512]: reportengine: Found configuration 
> file /etc/weewx/skins/Standard/skin.conf for report BigReport
> Feb  9 08:20:52 raspberrypi weewx[512]: cheetahgenerator: using search 
> list ['weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Station', 
> 'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.Stats', 
> 'weewx.cheetahgenerator.UnitInfo', 'weewx.cheetahgenerator.Extras']
> Feb  9 08:20:52 raspberrypi weewx[512]: manager: Daily summary version is 
> 2.0
> Feb  9 08:20:53 raspberrypi weewx[512]: cheetahgenerator: Generated 14 
> files for report BigReport in 1.18 seconds
> Feb  9 08:20:53 raspberrypi weewx[512]: manager: Daily summary version is 
> 2.0
> Feb  9 08:20:54 raspberrypi weewx[512]: imagegenerator: Generated 12 
> images for BigReport in 1.25 seconds
> Feb  9 08:20:54 raspberrypi weewx[512]: copygenerator: copied 0 files to 
> /public_html/big
>
>
> Yet there are no files in the /var/html/weewx directory:
>
> root@raspberrypi:/etc/weewx# ls -lh /var/www/html/weewx/
> total 0
>
> Part of me thought it might be permissions, but they look pretty wide open:
>
> root@raspberrypi:/etc/weewx# ls -l /var/www/html/
> total 16
> -rw-r--r-- 1 root root 10701 Feb  8 10:12 index.html
> drwxr-xr-x 2 root root  4096 Feb  8 12:19 weewx
>
> I even modified to 777 perms and restarted and it is not updating.
>
> I installed this a year or two ago, so I'm admittedly a bit rusty. What am 
> I missing?
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: Most reliable mini computer for weeWX?

2018-02-09 Thread Sam Roza
Given the cost and resource use, you really con't go wrong with a RPi. I am 
using a 3b. So cheap, and easy, and weewx installs and runs perfectly. 

-SR

On Wednesday, January 24, 2018 at 11:38:36 AM UTC-8, Alec Bennett wrote:
>
> I've been running weeWX on a Beaglebone Black for about a year now, and 
> the thing has been freezing about once a month. It's running headless so is 
> hard to diagnose.
>
> I'm probably going to switch to a Pi, but thought I'd see if anyone has 
> any other suggestions for a very reliable mini computer that plays nice 
> with weeWX?
>
>  
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] New (re)install. Weewx running and reporting-no webpage

2018-02-09 Thread Sam Roza
Hello All,

I re-installed due to a memory card issue, and I have weewx running and 
reporting out to CWOP and WU, etc. That's all good.

What it's not doing is creating (more accurately copying) files to the 
/var/www/html/weewx directory. I see this in my logs:

Feb  9 08:20:51 raspberrypi weewx[512]: cheetahgenerator: Generated 14 
files for report StandardReport in 1.22 seconds
Feb  9 08:20:51 raspberrypi weewx[512]: manager: Daily summary version is 
2.0
>>>Feb  9 08:20:51 raspberrypi weewx[512]: imagegenerator: Generated 12 
images for StandardReport in 0.69 seconds
>>>Feb  9 08:20:51 raspberrypi weewx[512]: copygenerator: copied 0 files to 
/var/www/weewx
Feb  9 08:20:51 raspberrypi weewx[512]: reportengine: Running report 
BigReport
Feb  9 08:20:51 raspberrypi weewx[512]: reportengine: Found configuration 
file /etc/weewx/skins/Standard/skin.conf for report BigReport
Feb  9 08:20:52 raspberrypi weewx[512]: cheetahgenerator: using search list 
['weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Station', 
'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.Stats', 
'weewx.cheetahgenerator.UnitInfo', 'weewx.cheetahgenerator.Extras']
Feb  9 08:20:52 raspberrypi weewx[512]: manager: Daily summary version is 
2.0
Feb  9 08:20:53 raspberrypi weewx[512]: cheetahgenerator: Generated 14 
files for report BigReport in 1.18 seconds
Feb  9 08:20:53 raspberrypi weewx[512]: manager: Daily summary version is 
2.0
Feb  9 08:20:54 raspberrypi weewx[512]: imagegenerator: Generated 12 images 
for BigReport in 1.25 seconds
Feb  9 08:20:54 raspberrypi weewx[512]: copygenerator: copied 0 files to 
/public_html/big


Yet there are no files in the /var/html/weewx directory:

root@raspberrypi:/etc/weewx# ls -lh /var/www/html/weewx/
total 0

Part of me thought it might be permissions, but they look pretty wide open:

root@raspberrypi:/etc/weewx# ls -l /var/www/html/
total 16
-rw-r--r-- 1 root root 10701 Feb  8 10:12 index.html
drwxr-xr-x 2 root root  4096 Feb  8 12:19 weewx

I even modified to 777 perms and restarted and it is not updating.

I installed this a year or two ago, so I'm admittedly a bit rusty. What am 
I missing?

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: WMR300 testing LAST Driver

2018-02-09 Thread Ruben Navarro Huedo
After 54 hours RC5 Crashed again :-(
With NO message on syslog.

El jueves, 8 de febrero de 2018, 12:34:57 (UTC+1), Ruben Navarro Huedo 
escribió:
>
> I don't know what changed, but it is running now 48 hours with RC5 and all 
> is fine.
>
> El martes, 6 de febrero de 2018, 13:52:29 (UTC+1), mwall escribió:
>>
>> On Tuesday, February 6, 2018 at 7:29:04 AM UTC-5, Ruben Navarro Huedo 
>> wrote:
>>>
>>> Mismas versiones que yo pero en mi caso no es estable.
>>>
 
>>
>
>> ruben, thank you for checking the versions.  i think we have the usb 
>> instabilities under control now, but what remains is the clearing of 
>> historical data.  that feature was not in older versions of the driver, and 
>> you will only see the odd behavior if the number of records in the logger 
>> exceeds a certain level.
>>
>> as a workaround you could set the history_limit to 95, then manually 
>> clear the station memory before it reaches 95% capacity.
>>
>> if martin would be so kind to permit me to use his station again, i might 
>> be able to fix it.
>>
>> m 
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.