Re: [weewx-user] Re: Belchertown skin for weewx now available!

2018-09-03 Thread Juan Antonio Mosquera


I know it's just a visual extension. But it has happened to me several times. 
If I activate your extension it does not generate the reports automatically. If 
I force wee_reports all but FTP and RSYNC are generated. No errors in log. 

I use WMR300 driver.

Thank you.


El lunes, 3 de septiembre de 2018, 23:29:46 (UTC+2), Pat escribió:
>
> Hmm. My skin only is just presentation. Shouldn't block data from station. 
> What are errors in log?
>
> On Mon, Sep 3, 2018, 5:24 PM Juan Antonio Mosquera <
> juananton...@juanantoniomosquera.com > wrote:
>
> Ok... do it.
>
> Now... no errors... but...
>
> not collect data from station with your extension enable.
>
> uninstall extension and all OK generate my old template and FTP 
> template and RSYNC template... automatically.
>
>
> Greetings and thanks.
>
> El lunes, 3 de septiembre de 2018, 22:44:36 (UTC+2), Pat escribió:
>
> You need to follow this step... 
>
>
> https://github.com/poblabs/weewx-belchertown#creating-about-page-and-records-page
>
>
>
> On Monday, September 3, 2018 at 4:43:48 PM UTC-4, Juan Antonio Mosquera 
> wrote:
>
> more... wee_reports not finished and other error
>
> Sep 03 22:41:57 meteomontaos weewx[25644]: reportengine: Running report 
> SmallImages
> Sep 03 22:41:58 meteomontaos weewx[25644]: reportengine: Found 
> configuration file /etc/weewx/skins/Sofaskin/skin.conf for report 
> SmallImages
> Sep 03 22:41:59 meteomontaos weewx[25644]: cheetahgenerator: using search 
> list ['weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Station', 
> 'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.Stats', 
> 'weewx.cheetahgenerator.UnitInfo', 'weewx.cheetahgenerator.Extras']
> Sep 03 22:42:00 meteomontaos weewx[25644]: manager: Daily summary version 
> is 2.0
> Sep 03 22:42:12 meteomontaos weewx[25644]: wmr300: dump history is disabled
> Sep 03 22:42:33 meteomontaos weewx[25644]: wmr300: dump history is disabled
> Sep 03 22:42:54 meteomontaos weewx[25644]: wmr300: dump history is disabled
> Sep 03 22:43:02 meteomontaos weewx[25644]: cheetahgenerator: Generated 9 
> files for report SmallImages in 63.82 seconds
> Sep 03 22:43:03 meteomontaos weewx[25644]: manager: Daily summary version 
> is 2.0
> Sep 03 22:43:12 meteomontaos wee_reports[27892]: cheetahgenerator: 
> Generate failed with exception ''
> Sep 03 22:43:12 meteomontaos wee_reports[27892]: cheetahgenerator:  
> Ignoring template /etc/weewx/skins/Belchertown/about/index.html.tmpl
> Sep 03 22:43:12 meteomontaos wee_reports[27892]: cheetahgenerator:  
> Reason: [Errno 2] No such file or directory: 
> '/etc/weewx/skins/Belchertown/about.inc'
> Sep 03 22:43:12 meteomontaos wee_reports[27892]:   Traceback (most 
> recent call last):
> Sep 03 22:43:12 meteomontaos wee_reports[27892]: File 
> "/usr/share/weewx/weewx/cheetahgenerator.py", line 330, in generate
> Sep 03 22:43:12 meteomontaos wee_reports[27892]:   print >> _file, 
> compiled_template
> Sep 03 22:43:12 meteomontaos wee_reports[27892]: File 
> "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1005, in 
> __str__
> Sep 03 22:43:12 meteomontaos wee_reports[27892]:   rc = 
> getattr(self, mainMethName)()
> Sep 03 22:43:12 meteomontaos wee_reports[27892]: F
>
> ...

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


Re: [weewx-user] Two stations feeding one report

2018-09-03 Thread Steve2Q
Tom, thank you. If for some technical reason I decide to use a separate Pi, 
would it be best to convert from Sqlite to Mysql on the first Pi, and then set 
the second to use Mysql from the get go? to

-- 
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] Acurite 1092 / Pressure outside limits

2018-09-03 Thread Bryan B
Hello!

I have an Acurite 01092DI, currently running Weewx on Raspbian. 
This is my first time using Weewx, so I may be missing something simple - 
but I seem to be having an odd pressure outside limits error. 

My Acurite console is showing 30.21 inHg

Thanks in advance for helping!



Sep  3 21:31:38 WeeWX weewx[6975]: engine: 2018-09-03 21:31:39 CDT 
(1536028299) LOOP value 'pressure' 12.1929318388 outside limits (24.0, 34.5)
Sep  3 21:31:38 WeeWX weewx[6975]: acurite: next read in 18 seconds
Sep  3 21:31:56 WeeWX weewx[6975]: acurite: Found station at bus= device=
Sep  3 21:31:56 WeeWX weewx[6975]: acurite: next read in 18 seconds
Sep  3 21:32:14 WeeWX weewx[6975]: acurite: Found station at bus= device=
Sep  3 21:32:14 WeeWX weewx[6975]: acurite: next read in 18 seconds
Sep  3 21:32:32 WeeWX weewx[6975]: acurite: Found station at bus= device=
Sep  3 21:32:32 WeeWX weewx[6975]: acurite: next read in 6 seconds
Sep  3 21:32:38 WeeWX weewx[6975]: acurite: Found station at bus= device=
Sep  3 21:32:38 WeeWX weewx[6975]: engine: 2018-09-03 21:32:39 CDT 
(1536028359) LOOP value 'pressure' 12.1929318388 outside limits (24.0, 34.5)
Sep  3 21:32:38 WeeWX weewx[6975]: acurite: next read in 12 seconds
Sep  3 21:32:50 WeeWX weewx[6975]: acurite: Found station at bus= device=
Sep  3 21:32:51 WeeWX weewx[6975]: acurite: next read in 18 seconds
Sep  3 21:33:09 WeeWX weewx[6975]: acurite: Found station at bus= device=
Sep  3 21:33:09 WeeWX weewx[6975]: acurite: next read in 18 seconds
Sep  3 21:33:27 WeeWX weewx[6975]: acurite: Found station at bus= device=
Sep  3 21:33:27 WeeWX weewx[6975]: acurite: next read in 12 seconds
Sep  3 21:33:39 WeeWX weewx[6975]: acurite: Found station at bus= device=
Sep  3 21:33:39 WeeWX weewx[6975]: engine: 2018-09-03 21:33:39 CDT 
(1536028419) LOOP value 'pressure' 12.1929318388 outside limits (24.0, 34.5)
Sep  3 21:33:39 WeeWX weewx[6975]: acurite: next read in 6 seconds
Sep  3 21:33:45 WeeWX weewx[6975]: acurite: Found station at bus= device=
Sep  3 21:33:45 WeeWX weewx[6975]: acurite: next read in 18 seconds
Sep  3 21:34:03 WeeWX weewx[6975]: acurite: Found station at bus= device=
Sep  3 21:34:03 WeeWX weewx[6975]: acurite: next read in 18 seconds
Sep  3 21:34:21 WeeWX weewx[6975]: acurite: Found station at bus= device=
Sep  3 21:34:21 WeeWX weewx[6975]: acurite: next read in 18 seconds
Sep  3 21:34:39 WeeWX weewx[6975]: acurite: Found station at bus= device=
Sep  3 21:34:39 WeeWX weewx[6975]: engine: 2018-09-03 21:34:39 CDT 
(1536028479) LOOP value 'pressure' 12.1929318388 outside limits (24.0, 34.5)
Sep  3 21:34:39 WeeWX weewx[6975]: acurite: next read in 18 seconds

*Below is the log a few minutes later - as you'll see the pressure value 
does change.*

Sep  3 21:37:40 WeeWX weewx[6975]: acurite: Found station at bus= device=
Sep  3 21:37:40 WeeWX weewx[6975]: engine: 2018-09-03 21:37:41 CDT 
(1536028661) LOOP value 'pressure' 12.1840728425 outside limits (24.0, 34.5)
Sep  3 21:37:40 WeeWX weewx[6975]: acurite: next read in 18 seconds
Sep  3 21:37:58 WeeWX weewx[6975]: acurite: Found station at bus= device=
Sep  3 21:37:59 WeeWX weewx[6975]: acurite: next read in 18 seconds
Sep  3 21:38:17 WeeWX weewx[6975]: acurite: Found station at bus= device=
Sep  3 21:38:17 WeeWX weewx[6975]: acurite: next read in 18 seconds
Sep  3 21:38:35 WeeWX weewx[6975]: acurite: Found station at bus= device=
Sep  3 21:38:35 WeeWX weewx[6975]: acurite: next read in 6 seconds
Sep  3 21:38:41 WeeWX weewx[6975]: acurite: Found station at bus= device=
Sep  3 21:38:41 WeeWX weewx[6975]: engine: 2018-09-03 21:38:41 CDT 
(1536028721) LOOP value 'pressure' 12.1840728425 outside limits (24.0, 34.5)
Sep  3 21:38:41 WeeWX weewx[6975]: acurite: next read in 12 seconds
Sep  3 21:38:53 WeeWX weewx[6975]: acurite: Found station at bus= device=
Sep  3 21:38:53 WeeWX weewx[6975]: acurite: next read in 18 seconds
Sep  3 21:39:11 WeeWX weewx[6975]: acurite: Found station at bus= device=
Sep  3 21:39:11 WeeWX weewx[6975]: acurite: next read in 18 seconds
Sep  3 21:39:29 WeeWX weewx[6975]: acurite: Found station at bus= device=
Sep  3 21:39:29 WeeWX weewx[6975]: acurite: next read in 12 seconds
Sep  3 21:39:41 WeeWX weewx[6975]: acurite: Found station at bus= device=
Sep  3 21:39:41 WeeWX weewx[6975]: engine: 2018-09-03 21:39:41 CDT 
(1536028781) LOOP value 'pressure' 12.1840728425 outside limits (24.0, 34.5)
Sep  3 21:39:41 WeeWX weewx[6975]: acurite: next read in 6 seconds
Sep  3 21:39:47 WeeWX weewx[6975]: acurite: Found station at bus= device=
Sep  3 21:39:47 WeeWX weewx[6975]: acurite: next read in 18 seconds

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


Re: [weewx-user] Re: Belchertown skin for weewx now available!

2018-09-03 Thread Philip Kutzenco
Pat,

Gotcha. I'm disabling the highcharts portion. Will be glad to test any 
changes you make.

Best,
Phil

On Monday, September 3, 2018 at 8:46:44 PM UTC-4, Pat wrote:
>
> That's what looks like is going on. Your reports are stepping on each 
> other and the database is locked. 
>
> You can either disable the highcharts portion by setting highcharts_enabled 
> = 0  in 
> options or disable the skin all together. I'm going to be tinkering around 
> with the chart generations this week. I'll keep you updated on anything 
> that needs some testing
>
>
> On Monday, September 3, 2018 at 8:04:07 PM UTC-4, Philip Kutzenco wrote:
>
> Pat
>
> It actually may be running a bit better now, though the Belchertown web 
> page update time is behind my SteelSeries web page. And both are behind my 
> archive period. I'm not using mqtt at this point. Just want to get this 
> running. 
>
> So maybe it's now just that report generation is extremely slow. I hope 
> there is a way to resolve that without buying a new box to run weewx on.
>
> It looks like it's taking about 575 seconds to generate the files for the 
> Belchertown report. I am also still seeing notes about report thread launch 
> being aborted as one is already running. My archive period is 300 seconds.
>
>
> Best,
> Phil
>
> On Monday, September 3, 2018 at 7:46:07 PM UTC-4, Philip Kutzenco wrote:
>
> Pat,
>
> I installed WeeWX with install.py. So everything lives underneath 
> /home/weewx/.
>
> I replaced the file in /Belchertown/records folder with the one you gave 
> me. Then I re-enabled the Belchertown skin in weewx.conf, restarted WeeWX 
> and ran wee_reports. Per the log extract below, after about 8 minutes, 
> weewx hung with the database locked. WeeWX automatically restarted 2 
> minutes later.
>
> In between my efforts to run Belchertown, I've been disabling the 
> Belchertown extension by commenting out the three lines in weewx.conf 
> starting with [[Belchertown]] and then stopping and then starting weewx 
> again. I re-enable it to test the next change.
>
> I wonder if locking the file is also the cause of the complaints that 
> header.html.tmpl doesn't exist in earlier efforts. I noticed that a 
> report thread couldn't be started as one was already running. Maybe that 
> running report thread locked the file as it (or something) locked the 
> archive database?
>
> Also, it seems that typing sudo /etc/init.d/weewx stop doesn't always stop 
> weewx when Belchertown is running. Even though I return to the prompt, when 
> I looked at ps, WeeWX was still running. I ended up rebooting once and 
> Killing the PID the last time.
>
> Will the Belchertown report generation time decrease after the initial run 
> through the database? Or will it take the same time each report generation 
> cycle?
>
> Thoughts? I saw a note on disabling the charts to speed things up, but I'd 
> really hate to do that.
>
> Best,
> Phil
>
> Sep  3 19:02:38 Weather-pi wee_reports[3281]: cheetahgenerator: Generated 
> 14 files for report StandardReport in 19.27 seconds
> Sep  3 19:02:51 Weather-pi systemd[1]: Started Session c7 of user pi.
> Sep  3 19:02:53 Weather-pi wee_reports[3281]: imagegenerator: Generated 24 
> images for StandardReport in 14.84 seconds
> Sep  3 19:02:53 Weather-pi wee_reports[3281]: copygenerator: copied 14 
> files to /home/weewx/public_html
> Sep  3 19:02:53 Weather-pi wee_reports[3281]: copygenerator: copied 6 
> files to /home/weewx/public_html/ss
> Sep  3 19:02:58 Weather-pi wee_reports[3281]: cheetahgenerator: Generated 
> 2 files for report SteelSeries in 4.53 seconds
> Sep  3 19:03:01 Weather-pi wee_reports[3281]: imagegenerator: Generated 11 
> images for SteelSeries in 3.43 seconds
> Sep  3 19:03:16 Weather-pi wee_reports[3281]: cheetahgenerator: Generated 
> 12 files for report forecast in 14.73 seconds
> Sep  3 19:03:16 Weather-pi wee_reports[3281]: copygenerator: copied 87 
> files to /home/weewx/public_html/forecast
> Sep  3 19:03:17 Weather-pi wee_reports[3281]: Belchertown Extension: 
> version 0.6
> Sep  3 19:05:15 Weather-pi weewx[3254]: manager: Added record 2018-09-03 
> 19:05:00 EDT (1536015900) to database 'weewx.sdb'
> Sep  3 19:05:15 Weather-pi weewx[3254]: manager: Added record 2018-09-03 
> 19:05:00 EDT (1536015900) to daily summary in 'weewx.sdb'
> Sep  3 19:05:56 Weather-pi weewx[3254]: cheetahgenerator: Generated 14 
> files for report StandardReport in 39.86 seconds
> Sep  3 19:06:03 Weather-pi weewx[3254]: imagegenerator: Generated 12 
> images for StandardReport in 7.67 seconds
> Sep  3 19:06:04 Weather-pi weewx[3254]: copygenerator: copied 14 files to 
> /home/weewx/public_html
> Sep  3 19:06:04 Weather-pi weewx[3254]: copygenerator: copied 6 files to 
> /home/weewx/public_html/ss
> Sep  3 19:06:12 Weather-pi weewx[3254]: cheetahgenerator: Generated 2 
> files for report SteelSeries in 8.29 seconds
> Sep  3 19:06:19 Weather-pi weewx[3254]: imagegenerator: 

Re: [weewx-user] Re: Belchertown skin for weewx now available!

2018-09-03 Thread Pat
That's what looks like is going on. Your reports are stepping on each other 
and the database is locked. 

You can either disable the highcharts portion by setting highcharts_enabled 
= 0  in 
options or disable the skin all together. I'm going to be tinkering around 
with the chart generations this week. I'll keep you updated on anything 
that needs some testing


On Monday, September 3, 2018 at 8:04:07 PM UTC-4, Philip Kutzenco wrote:
>
> Pat
>
> It actually may be running a bit better now, though the Belchertown web 
> page update time is behind my SteelSeries web page. And both are behind my 
> archive period. I'm not using mqtt at this point. Just want to get this 
> running. 
>
> So maybe it's now just that report generation is extremely slow. I hope 
> there is a way to resolve that without buying a new box to run weewx on.
>
> It looks like it's taking about 575 seconds to generate the files for the 
> Belchertown report. I am also still seeing notes about report thread launch 
> being aborted as one is already running. My archive period is 300 seconds.
>
>
> Best,
> Phil
>
> On Monday, September 3, 2018 at 7:46:07 PM UTC-4, Philip Kutzenco wrote:
>
> Pat,
>
> I installed WeeWX with install.py. So everything lives underneath 
> /home/weewx/.
>
> I replaced the file in /Belchertown/records folder with the one you gave 
> me. Then I re-enabled the Belchertown skin in weewx.conf, restarted WeeWX 
> and ran wee_reports. Per the log extract below, after about 8 minutes, 
> weewx hung with the database locked. WeeWX automatically restarted 2 
> minutes later.
>
> In between my efforts to run Belchertown, I've been disabling the 
> Belchertown extension by commenting out the three lines in weewx.conf 
> starting with [[Belchertown]] and then stopping and then starting weewx 
> again. I re-enable it to test the next change.
>
> I wonder if locking the file is also the cause of the complaints that 
> header.html.tmpl doesn't exist in earlier efforts. I noticed that a 
> report thread couldn't be started as one was already running. Maybe that 
> running report thread locked the file as it (or something) locked the 
> archive database?
>
> Also, it seems that typing sudo /etc/init.d/weewx stop doesn't always stop 
> weewx when Belchertown is running. Even though I return to the prompt, when 
> I looked at ps, WeeWX was still running. I ended up rebooting once and 
> Killing the PID the last time.
>
> Will the Belchertown report generation time decrease after the initial run 
> through the database? Or will it take the same time each report generation 
> cycle?
>
> Thoughts? I saw a note on disabling the charts to speed things up, but I'd 
> really hate to do that.
>
> Best,
> Phil
>
> Sep  3 19:02:38 Weather-pi wee_reports[3281]: cheetahgenerator: Generated 
> 14 files for report StandardReport in 19.27 seconds
> Sep  3 19:02:51 Weather-pi systemd[1]: Started Session c7 of user pi.
> Sep  3 19:02:53 Weather-pi wee_reports[3281]: imagegenerator: Generated 24 
> images for StandardReport in 14.84 seconds
> Sep  3 19:02:53 Weather-pi wee_reports[3281]: copygenerator: copied 14 
> files to /home/weewx/public_html
> Sep  3 19:02:53 Weather-pi wee_reports[3281]: copygenerator: copied 6 
> files to /home/weewx/public_html/ss
> Sep  3 19:02:58 Weather-pi wee_reports[3281]: cheetahgenerator: Generated 
> 2 files for report SteelSeries in 4.53 seconds
> Sep  3 19:03:01 Weather-pi wee_reports[3281]: imagegenerator: Generated 11 
> images for SteelSeries in 3.43 seconds
> Sep  3 19:03:16 Weather-pi wee_reports[3281]: cheetahgenerator: Generated 
> 12 files for report forecast in 14.73 seconds
> Sep  3 19:03:16 Weather-pi wee_reports[3281]: copygenerator: copied 87 
> files to /home/weewx/public_html/forecast
> Sep  3 19:03:17 Weather-pi wee_reports[3281]: Belchertown Extension: 
> version 0.6
> Sep  3 19:05:15 Weather-pi weewx[3254]: manager: Added record 2018-09-03 
> 19:05:00 EDT (1536015900) to database 'weewx.sdb'
> Sep  3 19:05:15 Weather-pi weewx[3254]: manager: Added record 2018-09-03 
> 19:05:00 EDT (1536015900) to daily summary in 'weewx.sdb'
> Sep  3 19:05:56 Weather-pi weewx[3254]: cheetahgenerator: Generated 14 
> files for report StandardReport in 39.86 seconds
> Sep  3 19:06:03 Weather-pi weewx[3254]: imagegenerator: Generated 12 
> images for StandardReport in 7.67 seconds
> Sep  3 19:06:04 Weather-pi weewx[3254]: copygenerator: copied 14 files to 
> /home/weewx/public_html
> Sep  3 19:06:04 Weather-pi weewx[3254]: copygenerator: copied 6 files to 
> /home/weewx/public_html/ss
> Sep  3 19:06:12 Weather-pi weewx[3254]: cheetahgenerator: Generated 2 
> files for report SteelSeries in 8.29 seconds
> Sep  3 19:06:19 Weather-pi weewx[3254]: imagegenerator: Generated 11 
> images for SteelSeries in 6.76 seconds
> Sep  3 19:06:49 Weather-pi weewx[3254]: cheetahgenerator: Generated 12 
> files for report forecast in 30.19 seconds
> Sep  3 19:06:50 

Re: [weewx-user] Two stations feeding one report

2018-09-03 Thread Thomas Keffer
Yes, although it will mean accessing the database across a network, which
can lead to locking problems. You may be better off using MySQL, which is
designed for access across a network.

An alternative is to run both instances of the same RPi. Because only one
of them is running the reports, the compute demand should not be too great.
I think many users are doing this.

-tk

On Mon, Sep 3, 2018 at 5:33 PM Steve2Q  wrote:

> Hi Tom..A follow up to  SteveT's question. If I take a second Rpi and use
> it for additional sensors not handled by my station (solar radiation, UV,
> etc.) and set up a second instance of Weewx on this "stationless" Pi, I can
> use the techniques in the Wiki to show all the data on one page?
>
> Thanks, Steve
>
> --
> You received this message because you are subscribed to the Google Groups
> "weewx-user" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to weewx-user+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

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


Re: [weewx-user] cheetah tag and images

2018-09-03 Thread Thomas Keffer
I think the problem is the overloading of the "dot." You're using it in two
contexts: as a separator for Cheetah, and as the suffix for a file name.

Try escaping the dot. Something like $latest.windDir.ordinal_compass\.png
and see if that helps.

-tk

On Mon, Sep 3, 2018 at 10:38 AM Linda Eriksson 
wrote:

> I'm trying to make a sorta minimalistic skin for a tablet that will be
> mounted on the wall. As it's an old 7", and I want as much relevant info as
> possible at a glance, without it being cramped up, whilst still legible for
> my parents without glasses, I'm trying to save space wherever it seems
> reasonable.
> Currently, I have gotten stuck on an issue related to my inexperience with
> real coding.
> I'm trying to use an image of an arrow for wind direction (well, 16 images
> to be honest), thinking that if '$latest.windDir.ordinal_compass'
> translates into say NNO, then I'll simply do  src="$latest.windDir.ordinal_compass.png"> and it will turn that into  src="NNO.png">.
>
> It made perfect sense.. to me at least... but not to mr Cheetah Engine
> It simply ignores my attempt to be smart, and spits out that there is no
> such image as $latest.windDir.ordinal_compass.png
>
> Obviously I made something wrong, so basically, where did I do wrong?
> Should it be doable and I simply have done it wrong, or am I going at it
> totally wrong and need to do it in a completely different way?
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "weewx-user" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to weewx-user+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

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


Re: [weewx-user] Re: Belchertown skin for weewx now available!

2018-09-03 Thread Philip Kutzenco
Pat

It actually may be running a bit better now, though the Belchertown web 
page update time is behind my SteelSeries web page. And both are behind my 
archive period. I'm not using mqtt at this point. Just want to get this 
running. 

So maybe it's now just that report generation is extremely slow. I hope 
there is a way to resolve that without buying a new box to run weewx on.

It looks like it's taking about 575 seconds to generate the files for the 
Belchertown report. I am also still seeing notes about report thread launch 
being aborted as one is already running. My archive period is 300 seconds.


Best,
Phil

On Monday, September 3, 2018 at 7:46:07 PM UTC-4, Philip Kutzenco wrote:

> Pat,
>
> I installed WeeWX with install.py. So everything lives underneath 
> /home/weewx/.
>
> I replaced the file in /Belchertown/records folder with the one you gave 
> me. Then I re-enabled the Belchertown skin in weewx.conf, restarted WeeWX 
> and ran wee_reports. Per the log extract below, after about 8 minutes, 
> weewx hung with the database locked. WeeWX automatically restarted 2 
> minutes later.
>
> In between my efforts to run Belchertown, I've been disabling the 
> Belchertown extension by commenting out the three lines in weewx.conf 
> starting with [[Belchertown]] and then stopping and then starting weewx 
> again. I re-enable it to test the next change.
>
> I wonder if locking the file is also the cause of the complaints that 
> header.html.tmpl doesn't exist in earlier efforts. I noticed that a 
> report thread couldn't be started as one was already running. Maybe that 
> running report thread locked the file as it (or something) locked the 
> archive database?
>
> Also, it seems that typing sudo /etc/init.d/weewx stop doesn't always stop 
> weewx when Belchertown is running. Even though I return to the prompt, when 
> I looked at ps, WeeWX was still running. I ended up rebooting once and 
> Killing the PID the last time.
>
> Will the Belchertown report generation time decrease after the initial run 
> through the database? Or will it take the same time each report generation 
> cycle?
>
> Thoughts? I saw a note on disabling the charts to speed things up, but I'd 
> really hate to do that.
>
> Best,
> Phil
>
> Sep  3 19:02:38 Weather-pi wee_reports[3281]: cheetahgenerator: Generated 
> 14 files for report StandardReport in 19.27 seconds
> Sep  3 19:02:51 Weather-pi systemd[1]: Started Session c7 of user pi.
> Sep  3 19:02:53 Weather-pi wee_reports[3281]: imagegenerator: Generated 24 
> images for StandardReport in 14.84 seconds
> Sep  3 19:02:53 Weather-pi wee_reports[3281]: copygenerator: copied 14 
> files to /home/weewx/public_html
> Sep  3 19:02:53 Weather-pi wee_reports[3281]: copygenerator: copied 6 
> files to /home/weewx/public_html/ss
> Sep  3 19:02:58 Weather-pi wee_reports[3281]: cheetahgenerator: Generated 
> 2 files for report SteelSeries in 4.53 seconds
> Sep  3 19:03:01 Weather-pi wee_reports[3281]: imagegenerator: Generated 11 
> images for SteelSeries in 3.43 seconds
> Sep  3 19:03:16 Weather-pi wee_reports[3281]: cheetahgenerator: Generated 
> 12 files for report forecast in 14.73 seconds
> Sep  3 19:03:16 Weather-pi wee_reports[3281]: copygenerator: copied 87 
> files to /home/weewx/public_html/forecast
> Sep  3 19:03:17 Weather-pi wee_reports[3281]: Belchertown Extension: 
> version 0.6
> Sep  3 19:05:15 Weather-pi weewx[3254]: manager: Added record 2018-09-03 
> 19:05:00 EDT (1536015900) to database 'weewx.sdb'
> Sep  3 19:05:15 Weather-pi weewx[3254]: manager: Added record 2018-09-03 
> 19:05:00 EDT (1536015900) to daily summary in 'weewx.sdb'
> Sep  3 19:05:56 Weather-pi weewx[3254]: cheetahgenerator: Generated 14 
> files for report StandardReport in 39.86 seconds
> Sep  3 19:06:03 Weather-pi weewx[3254]: imagegenerator: Generated 12 
> images for StandardReport in 7.67 seconds
> Sep  3 19:06:04 Weather-pi weewx[3254]: copygenerator: copied 14 files to 
> /home/weewx/public_html
> Sep  3 19:06:04 Weather-pi weewx[3254]: copygenerator: copied 6 files to 
> /home/weewx/public_html/ss
> Sep  3 19:06:12 Weather-pi weewx[3254]: cheetahgenerator: Generated 2 
> files for report SteelSeries in 8.29 seconds
> Sep  3 19:06:19 Weather-pi weewx[3254]: imagegenerator: Generated 11 
> images for SteelSeries in 6.76 seconds
> Sep  3 19:06:49 Weather-pi weewx[3254]: cheetahgenerator: Generated 12 
> files for report forecast in 30.19 seconds
> Sep  3 19:06:50 Weather-pi weewx[3254]: copygenerator: copied 87 files to 
> /home/weewx/public_html/forecast
> Sep  3 19:06:50 Weather-pi weewx[3254]: Belchertown Extension: version 0.6
> Sep  3 19:09:01 Weather-pi CRON[3321]: (root) CMD (  [ -x 
> /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then 
> /usr/lib/php/sessionclean; fi)
> Sep  3 19:09:07 Weather-pi systemd[1]: Starting Clean php session files...
> Sep  3 19:09:09 Weather-pi systemd[1]: Started Clean php session files.
> Sep  3 19:10:15 Weather-pi weewx[3254]: manager: 

Re: [weewx-user] Re: Belchertown skin for weewx now available!

2018-09-03 Thread Philip Kutzenco
Pat,

I installed WeeWX with install.py. So everything lives underneath 
/home/weewx/.

I replaced the file in /Belchertown/records folder with the one you gave 
me. Then I re-enabled the Belchertown skin in weewx.conf, restarted WeeWX 
and ran wee_reports. Per the log extract below, after about 8 minutes, 
weewx hung with the database locked. WeeWX automatically restarted 2 
minutes later.

In between my efforts to run Belchertown, I've been disabling the 
Belchertown extension by commenting out the three lines in weewx.conf 
starting with [[Belchertown]] and then stopping and then starting weewx 
again. I re-enable it to test the next change.

I wonder if locking the file is also the cause of the complaints that 
header.html.tmpl doesn't exist in earlier efforts. I noticed that a report 
thread couldn't be started as one was already running. Maybe that running 
report thread locked the file as it (or something) locked the archive 
database?

Also, it seems that typing sudo /etc/init.d/weewx stop doesn't always stop 
weewx when Belchertown is running. Even though I return to the prompt, when 
I looked at ps, WeeWX was still running. I ended up rebooting once and 
Killing the PID the last time.

Will the Belchertown report generation time decrease after the initial run 
through the database? Or will it take the same time each report generation 
cycle?

Thoughts? I saw a note on disabling the charts to speed things up, but I'd 
really hate to do that.

Best,
Phil

Sep  3 19:02:38 Weather-pi wee_reports[3281]: cheetahgenerator: Generated 
14 files for report StandardReport in 19.27 seconds
Sep  3 19:02:51 Weather-pi systemd[1]: Started Session c7 of user pi.
Sep  3 19:02:53 Weather-pi wee_reports[3281]: imagegenerator: Generated 24 
images for StandardReport in 14.84 seconds
Sep  3 19:02:53 Weather-pi wee_reports[3281]: copygenerator: copied 14 
files to /home/weewx/public_html
Sep  3 19:02:53 Weather-pi wee_reports[3281]: copygenerator: copied 6 files 
to /home/weewx/public_html/ss
Sep  3 19:02:58 Weather-pi wee_reports[3281]: cheetahgenerator: Generated 2 
files for report SteelSeries in 4.53 seconds
Sep  3 19:03:01 Weather-pi wee_reports[3281]: imagegenerator: Generated 11 
images for SteelSeries in 3.43 seconds
Sep  3 19:03:16 Weather-pi wee_reports[3281]: cheetahgenerator: Generated 
12 files for report forecast in 14.73 seconds
Sep  3 19:03:16 Weather-pi wee_reports[3281]: copygenerator: copied 87 
files to /home/weewx/public_html/forecast
Sep  3 19:03:17 Weather-pi wee_reports[3281]: Belchertown Extension: 
version 0.6
Sep  3 19:05:15 Weather-pi weewx[3254]: manager: Added record 2018-09-03 
19:05:00 EDT (1536015900) to database 'weewx.sdb'
Sep  3 19:05:15 Weather-pi weewx[3254]: manager: Added record 2018-09-03 
19:05:00 EDT (1536015900) to daily summary in 'weewx.sdb'
Sep  3 19:05:56 Weather-pi weewx[3254]: cheetahgenerator: Generated 14 
files for report StandardReport in 39.86 seconds
Sep  3 19:06:03 Weather-pi weewx[3254]: imagegenerator: Generated 12 images 
for StandardReport in 7.67 seconds
Sep  3 19:06:04 Weather-pi weewx[3254]: copygenerator: copied 14 files to 
/home/weewx/public_html
Sep  3 19:06:04 Weather-pi weewx[3254]: copygenerator: copied 6 files to 
/home/weewx/public_html/ss
Sep  3 19:06:12 Weather-pi weewx[3254]: cheetahgenerator: Generated 2 files 
for report SteelSeries in 8.29 seconds
Sep  3 19:06:19 Weather-pi weewx[3254]: imagegenerator: Generated 11 images 
for SteelSeries in 6.76 seconds
Sep  3 19:06:49 Weather-pi weewx[3254]: cheetahgenerator: Generated 12 
files for report forecast in 30.19 seconds
Sep  3 19:06:50 Weather-pi weewx[3254]: copygenerator: copied 87 files to 
/home/weewx/public_html/forecast
Sep  3 19:06:50 Weather-pi weewx[3254]: Belchertown Extension: version 0.6
Sep  3 19:09:01 Weather-pi CRON[3321]: (root) CMD (  [ -x 
/usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then 
/usr/lib/php/sessionclean; fi)
Sep  3 19:09:07 Weather-pi systemd[1]: Starting Clean php session files...
Sep  3 19:09:09 Weather-pi systemd[1]: Started Clean php session files.
Sep  3 19:10:15 Weather-pi weewx[3254]: manager: Added record 2018-09-03 
19:10:00 EDT (1536016200) to database 'weewx.sdb'
Sep  3 19:10:16 Weather-pi weewx[3254]: manager: Added record 2018-09-03 
19:10:00 EDT (1536016200) to daily summary in 'weewx.sdb'
Sep  3 19:10:21 Weather-pi weewx[3254]: engine: Shutting down StdReport 
thread
Sep  3 19:10:24 Weather-pi wee_reports[3281]: reportengine: Caught 
unrecoverable exception in generator weewx.cheetahgenerator.CheetahGenerator
Sep  3 19:10:24 Weather-pi wee_reports[3281]:   database is 
locked
Sep  3 19:10:24 Weather-pi wee_reports[3281]:   Traceback (most 
recent call last):
Sep  3 19:10:24 Weather-pi wee_reports[3281]: File 
"/home/weewx/bin/weewx/reportengine.py", line 239, in run
Sep  3 19:10:24 Weather-pi wee_reports[3281]:   obj.start()
Sep  3 19:10:24 Weather-pi wee_reports[3281]:  

[weewx-user] Re: [patch] mqtt extension formatting bug

2018-09-03 Thread vince
On Monday, September 3, 2018 at 2:32:12 PM UTC-7, mwall wrote:
>
> On Monday, September 3, 2018 at 5:13:37 PM UTC-4, vince wrote:
>>
>>
>> Fodder for an extension update by mwall, I suppose
>>
>
> it has been quite some time since i touched that code, but i seem to 
> recall that i had to make everything a string in order to get things to 
> work.  i think that was the reason for the line:
>
> s = fmt % v
>
> or maybe that was to do the formatting for decimal places (the weewx-mqtt 
> uploader follows patterns that are used in other uploaders such as emoncms 
> and smartenergygroups and thingspeak.  but maybe those are not all 
> appropriate...)
>
>
>

My quick read was that since weewx uses strings, you probably did that for 
the unit conversion stuff.  The patch I did un-stringizes the values before 
doing the actual publishing after the unit conversion has happened.
 

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


Re: [weewx-user] Re: Belchertown skin for weewx now available!

2018-09-03 Thread Pat
Thanks! It's my day off work, so in between my daughter's naps I've been 
able to get a few things done :)

The station hardware shouldn't matter since it's weewx that is doing the 
middle-man work to make them all speak the same language in the skin files. 

My archive is 261,459 records (not on a Pi) but it shouldn't matter either 
way. The Pi might take a while longer to process those 106,000 records - 
which is why you see 571.39 seconds. 

I'm not sure why it's said your header.html.tmpl is missing. I wonder if 
there's something else going on and that's just an effect of it.

How did you install? Using apt or using setup.py? 

There are 4 places .wind is used on the records page. Let's try this out. 
Take this attached file, and copy it to the skins/Belchertown/records 
folder overwriting the one there. Then run sudo wee_reports and see if it 
helps?



On Monday, September 3, 2018 at 5:51:29 PM UTC-4, Philip Kutzenco wrote:
>
> Pat,
>
> I tried David's fix and get the errors below. Maybe something different 
> for me? I'm using a Davis Vantage Vue.
>
> Regarding your question:
> 2. How did you install the skin? header.html.tmpl should be in 
> skins/Belchertown.  - *I used sudo wee_extension --install. I checked and 
> header.html.tmpl is, indeed in skins/Belchertown*
>
> You should know that my archive database has about 106,000 records. I 
> wouldn't think that's particularly large. Also, I am running weewx on a Pi 
> Zero W. So, it's a pretty weak system processing-wise.
>
> You're really multi-tasking today - I see lots of posts from you. You're 
> supposed to be enjoying Labor Day, not laboring on it :-).
> I owe you coffee. Will do that!
>
> Looking forward to your guidance.
>
> Best,
> Phil
>
> Sep  3 15:46:02 Weather-pi weewx[1669]: Belchertown Extension: version 0.6
> Sep  3 15:50:15 Weather-pi weewx[1669]: manager: Added record 2018-09-03 
> 15:50:00 EDT (1536004200) to database 'weewx.sdb'
> Sep  3 15:50:15 Weather-pi weewx[1669]: manager: Added record 2018-09-03 
> 15:50:00 EDT (1536004200) to daily summary in 'weewx.sdb'
> Sep  3 15:50:15 Weather-pi weewx[1669]: engine: Launch of report thread 
> aborted: existing report thread still running
> Sep  3 15:53:35 Weather-pi weewx[1669]: cheetahgenerator: Generate failed 
> with exception ''
> Sep  3 15:53:35 Weather-pi weewx[1669]: cheetahgenerator:  Ignoring 
> template /home/weewx/skins/Belchertown/records/index.html.tmpl
> Sep  3 15:53:35 Weather-pi weewx[1669]: cheetahgenerator:  Reason: no 
> such column: wind
> Sep  3 15:53:35 Weather-pi weewx[1669]:   Traceback (most recent call 
> last):
> Sep  3 15:53:35 Weather-pi weewx[1669]: File 
> "/home/weewx/bin/weewx/cheetahgenerator.py", line 330, in generate
> Sep  3 15:53:35 Weather-pi weewx[1669]:   print >> _file, 
> compiled_template
> Sep  3 15:53:35 Weather-pi weewx[1669]: File 
> "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1005, in 
> __str__
> Sep  3 15:53:35 Weather-pi weewx[1669]:   rc = getattr(self, 
> mainMethName)()
> Sep  3 15:53:35 Weather-pi weewx[1669]: File 
> "_home_weewx_skins_Belchertown_records_index_html_tmpl.py", line 1138, in 
> respond
> Sep  3 15:53:35 Weather-pi weewx[1669]: File 
> "_home_weewx_skins_Belchertown_records_index_html_tmpl.py", line 385, in 
> __errorCatcher46
> Sep  3 15:53:35 Weather-pi weewx[1669]: File "", line 1, 
> in 
> Sep  3 15:53:35 Weather-pi weewx[1669]: File 
> "/home/weewx/bin/weewx/tags.py", line 329, in __getattr__
> Sep  3 15:53:35 Weather-pi weewx[1669]:   return 
> self._do_query(aggregate_type)
> Sep  3 15:53:35 Weather-pi weewx[1669]: File 
> "/home/weewx/bin/weewx/tags.py", line 343, in _do_query
> Sep  3 15:53:35 Weather-pi weewx[1669]:   val=val, 
> **self.option_dict)
> Sep  3 15:53:35 Weather-pi weewx[1669]: File 
> "/home/weewx/bin/weewx/wxmanager.py", line 60, in getAggregate
> Sep  3 15:53:35 Weather-pi weewx[1669]:   return 
> weewx.manager.DaySummaryManager.getAggregate(self, timespan, obs_type, 
> aggregateType, **option_dict)
> Sep  3 15:53:35 Weather-pi weewx[1669]: File 
> "/home/weewx/bin/weewx/manager.py", line 1249, in getAggregate
> Sep  3 15:53:35 Weather-pi weewx[1669]:   **option_dict)
> Sep  3 15:53:35 Weather-pi weewx[1669]: File 
> "/home/weewx/bin/weewx/manager.py", line 458, in getAggregate
> Sep  3 15:53:35 Weather-pi weewx[1669]:   _row = 
> self.getSql(select_stmt % interpolate_dict)
> Sep  3 15:53:35 Weather-pi weewx[1669]: File 
> "/home/weewx/bin/weewx/manager.py", line 394, in getSql
> Sep  3 15:53:35 Weather-pi weewx[1669]:   _cursor.execute(sql, 
> sqlargs)
> Sep  3 15:53:35 Weather-pi weewx[1669]: File 
> "/home/weewx/bin/weedb/sqlite.py", line 41, in guarded_fn
> Sep  3 15:53:35 Weather-pi weewx[1669]:   raise 
> weedb.NoColumnError(e)
> Sep  3 15:53:35 Weather-pi weewx[1669]:   

Re: [weewx-user] Re: Belchertown skin for weewx now available!

2018-09-03 Thread Philip Kutzenco
Pat,

I tried David's fix and get the errors below. Maybe something different for 
me? I'm using a Davis Vantage Vue.

Regarding your question:
2. How did you install the skin? header.html.tmpl should be in 
skins/Belchertown.  - *I used sudo wee_extension --install. I checked and 
header.html.tmpl is, indeed in skins/Belchertown*

You should know that my archive database has about 106,000 records. I 
wouldn't think that's particularly large. Also, I am running weewx on a Pi 
Zero W. So, it's a pretty weak system processing-wise.

You're really multi-tasking today - I see lots of posts from you. You're 
supposed to be enjoying Labor Day, not laboring on it :-).
I owe you coffee. Will do that!

Looking forward to your guidance.

Best,
Phil

Sep  3 15:46:02 Weather-pi weewx[1669]: Belchertown Extension: version 0.6
Sep  3 15:50:15 Weather-pi weewx[1669]: manager: Added record 2018-09-03 
15:50:00 EDT (1536004200) to database 'weewx.sdb'
Sep  3 15:50:15 Weather-pi weewx[1669]: manager: Added record 2018-09-03 
15:50:00 EDT (1536004200) to daily summary in 'weewx.sdb'
Sep  3 15:50:15 Weather-pi weewx[1669]: engine: Launch of report thread 
aborted: existing report thread still running
Sep  3 15:53:35 Weather-pi weewx[1669]: cheetahgenerator: Generate failed 
with exception ''
Sep  3 15:53:35 Weather-pi weewx[1669]: cheetahgenerator:  Ignoring 
template /home/weewx/skins/Belchertown/records/index.html.tmpl
Sep  3 15:53:35 Weather-pi weewx[1669]: cheetahgenerator:  Reason: no 
such column: wind
Sep  3 15:53:35 Weather-pi weewx[1669]:   Traceback (most recent call 
last):
Sep  3 15:53:35 Weather-pi weewx[1669]: File 
"/home/weewx/bin/weewx/cheetahgenerator.py", line 330, in generate
Sep  3 15:53:35 Weather-pi weewx[1669]:   print >> _file, 
compiled_template
Sep  3 15:53:35 Weather-pi weewx[1669]: File 
"/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1005, in 
__str__
Sep  3 15:53:35 Weather-pi weewx[1669]:   rc = getattr(self, 
mainMethName)()
Sep  3 15:53:35 Weather-pi weewx[1669]: File 
"_home_weewx_skins_Belchertown_records_index_html_tmpl.py", line 1138, in 
respond
Sep  3 15:53:35 Weather-pi weewx[1669]: File 
"_home_weewx_skins_Belchertown_records_index_html_tmpl.py", line 385, in 
__errorCatcher46
Sep  3 15:53:35 Weather-pi weewx[1669]: File "", line 1, in 

Sep  3 15:53:35 Weather-pi weewx[1669]: File 
"/home/weewx/bin/weewx/tags.py", line 329, in __getattr__
Sep  3 15:53:35 Weather-pi weewx[1669]:   return 
self._do_query(aggregate_type)
Sep  3 15:53:35 Weather-pi weewx[1669]: File 
"/home/weewx/bin/weewx/tags.py", line 343, in _do_query
Sep  3 15:53:35 Weather-pi weewx[1669]:   val=val, 
**self.option_dict)
Sep  3 15:53:35 Weather-pi weewx[1669]: File 
"/home/weewx/bin/weewx/wxmanager.py", line 60, in getAggregate
Sep  3 15:53:35 Weather-pi weewx[1669]:   return 
weewx.manager.DaySummaryManager.getAggregate(self, timespan, obs_type, 
aggregateType, **option_dict)
Sep  3 15:53:35 Weather-pi weewx[1669]: File 
"/home/weewx/bin/weewx/manager.py", line 1249, in getAggregate
Sep  3 15:53:35 Weather-pi weewx[1669]:   **option_dict)
Sep  3 15:53:35 Weather-pi weewx[1669]: File 
"/home/weewx/bin/weewx/manager.py", line 458, in getAggregate
Sep  3 15:53:35 Weather-pi weewx[1669]:   _row = 
self.getSql(select_stmt % interpolate_dict)
Sep  3 15:53:35 Weather-pi weewx[1669]: File 
"/home/weewx/bin/weewx/manager.py", line 394, in getSql
Sep  3 15:53:35 Weather-pi weewx[1669]:   _cursor.execute(sql, 
sqlargs)
Sep  3 15:53:35 Weather-pi weewx[1669]: File 
"/home/weewx/bin/weedb/sqlite.py", line 41, in guarded_fn
Sep  3 15:53:35 Weather-pi weewx[1669]:   raise 
weedb.NoColumnError(e)
Sep  3 15:53:35 Weather-pi weewx[1669]:   NoColumnError: no such 
column: wind
Sep  3 15:55:15 Weather-pi weewx[1669]: manager: Added record 2018-09-03 
15:55:00 EDT (1536004500) to database 'weewx.sdb'
Sep  3 15:55:15 Weather-pi weewx[1669]: manager: Added record 2018-09-03 
15:55:00 EDT (1536004500) to daily summary in 'weewx.sdb'
Sep  3 15:55:15 Weather-pi weewx[1669]: engine: Launch of report thread 
aborted: existing report thread still running
Sep  3 15:55:33 Weather-pi weewx[1669]: cheetahgenerator: Generated 15 
files for report Belchertown in 571.39 seconds
Sep  3 15:55:33 Weather-pi weewx[1669]: copygenerator: copied 22 files to 
/home/weewx/public_html/belchertown


On Monday, September 3, 2018 at 2:57:35 PM UTC-4, Pat wrote:
>
> Phil, 
>
> 1. This issue has come up recently, and there's been talk about it just 
> yesterday. Try David's fix to change $alltime.wind.max to 
> $alltime.windGust.max and see if that resolves it for you? 
>  The 
> file you want to change is in skins/Belchertown/records/index.html.tmpl
>
> 2. How did you install the skin? header.html.tmpl 

[weewx-user] Re: [patch] mqtt extension formatting bug

2018-09-03 Thread mwall


On Monday, September 3, 2018 at 5:13:37 PM UTC-4, vince wrote:
>
>
> Fodder for an extension update by mwall, I suppose
>

it has been quite some time since i touched that code, but i seem to recall 
that i had to make everything a string in order to get things to work.  i 
think that was the reason for the line:

s = fmt % v

or maybe that was to do the formatting for decimal places (the weewx-mqtt 
uploader follows patterns that are used in other uploaders such as emoncms 
and smartenergygroups and thingspeak.  but maybe those are not all 
appropriate...)

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.


Re: [weewx-user] Re: Belchertown skin for weewx now available!

2018-09-03 Thread Pat O'Brien
Hmm. My skin only is just presentation. Shouldn't block data from station.
What are errors in log?

On Mon, Sep 3, 2018, 5:24 PM Juan Antonio Mosquera <
juanantoniomosqu...@juanantoniomosquera.com> wrote:

> Ok... do it.
>
> Now... no errors... but...
>
> not collect data from station with your extension enable.
>
> uninstall extension and all OK generate my old template and FTP
> template and RSYNC template... automatically.
>
>
> Greetings and thanks.
>
> El lunes, 3 de septiembre de 2018, 22:44:36 (UTC+2), Pat escribió:
>
>> You need to follow this step...
>>
>>
>> https://github.com/poblabs/weewx-belchertown#creating-about-page-and-records-page
>>
>>
>>
>> On Monday, September 3, 2018 at 4:43:48 PM UTC-4, Juan Antonio Mosquera
>> wrote:
>>
>> more... wee_reports not finished and other error
>>
>> Sep 03 22:41:57 meteomontaos weewx[25644]: reportengine: Running report
>> SmallImages
>> Sep 03 22:41:58 meteomontaos weewx[25644]: reportengine: Found
>> configuration file /etc/weewx/skins/Sofaskin/skin.conf for report
>> SmallImages
>> Sep 03 22:41:59 meteomontaos weewx[25644]: cheetahgenerator: using search
>> list ['weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Station',
>> 'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.Stats',
>> 'weewx.cheetahgenerator.UnitInfo', 'weewx.cheetahgenerator.Extras']
>> Sep 03 22:42:00 meteomontaos weewx[25644]: manager: Daily summary version
>> is 2.0
>> Sep 03 22:42:12 meteomontaos weewx[25644]: wmr300: dump history is
>> disabled
>> Sep 03 22:42:33 meteomontaos weewx[25644]: wmr300: dump history is
>> disabled
>> Sep 03 22:42:54 meteomontaos weewx[25644]: wmr300: dump history is
>> disabled
>> Sep 03 22:43:02 meteomontaos weewx[25644]: cheetahgenerator: Generated 9
>> files for report SmallImages in 63.82 seconds
>> Sep 03 22:43:03 meteomontaos weewx[25644]: manager: Daily summary version
>> is 2.0
>> Sep 03 22:43:12 meteomontaos wee_reports[27892]: cheetahgenerator:
>> Generate failed with exception ''
>> Sep 03 22:43:12 meteomontaos wee_reports[27892]: cheetahgenerator: 
>> Ignoring template /etc/weewx/skins/Belchertown/about/index.html.tmpl
>> Sep 03 22:43:12 meteomontaos wee_reports[27892]: cheetahgenerator: 
>> Reason: [Errno 2] No such file or directory:
>> '/etc/weewx/skins/Belchertown/about.inc'
>> Sep 03 22:43:12 meteomontaos wee_reports[27892]:   Traceback (most
>> recent call last):
>> Sep 03 22:43:12 meteomontaos wee_reports[27892]: File
>> "/usr/share/weewx/weewx/cheetahgenerator.py", line 330, in generate
>> Sep 03 22:43:12 meteomontaos wee_reports[27892]:   print >>
>> _file, compiled_template
>> Sep 03 22:43:12 meteomontaos wee_reports[27892]: File
>> "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1005, in
>> __str__
>> Sep 03 22:43:12 meteomontaos wee_reports[27892]:   rc =
>> getattr(self, mainMethName)()
>> Sep 03 22:43:12 meteomontaos wee_reports[27892]: File
>> "_etc_weewx_skins_Belchertown_about_index_html_tmpl.py", line 181, in
>> respond
>> Sep 03 22:43:12 meteomontaos wee_reports[27892]: File
>> "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1597, in
>> _handleCheetahInclude
>> Sep 03 22:43:12 meteomontaos wee_reports[27892]: 
>> nestedTemplateClass = compiler.compile(source=source, file=file)
>> Sep 03 22:43:12 meteomontaos wee_reports[27892]: File
>> "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 706, in compile
>> Sep 03 22:43:12 meteomontaos wee_reports[27892]:   fileHash +=
>> str(os.path.getmtime(file))
>> Sep 03 22:43:12 meteomontaos wee_reports[27892]: File
>> "/usr/lib/python2.7/genericpath.py", line 54, in getmtime
>> Sep 03 22:43:12 meteomontaos wee_reports[27892]:   return
>> os.stat(filename).st_mtime
>> Sep 03 22:43:12 meteomontaos wee_reports[27892]:   OSError: [Errno 2]
>> No such file or directory: '/etc/weewx/skins/Belchertown/about.inc'
>> Sep 03 22:43:14 meteomontaos weewx[25644]: wmr300: dump history is
>> disabled
>>
>>
>> i dont understand...
>>
>> thanks.
>>
>>
>> El lunes, 3 de septiembre de 2018, 21:59:14 (UTC+2), Pa
>>
>> ...
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "weewx-user" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/weewx-user/GSrKZEiPqsc/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> weewx-user+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

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


Re: [weewx-user] Re: Belchertown skin for weewx now available!

2018-09-03 Thread Juan Antonio Mosquera
Ok... do it.

Now... no errors... but...

not collect data from station with your extension enable.

uninstall extension and all OK generate my old template and FTP 
template and RSYNC template... automatically.


Greetings and thanks.

El lunes, 3 de septiembre de 2018, 22:44:36 (UTC+2), Pat escribió:
>
> You need to follow this step... 
>
>
> https://github.com/poblabs/weewx-belchertown#creating-about-page-and-records-page
>
>
>
> On Monday, September 3, 2018 at 4:43:48 PM UTC-4, Juan Antonio Mosquera 
> wrote:
>
> more... wee_reports not finished and other error
>
> Sep 03 22:41:57 meteomontaos weewx[25644]: reportengine: Running report 
> SmallImages
> Sep 03 22:41:58 meteomontaos weewx[25644]: reportengine: Found 
> configuration file /etc/weewx/skins/Sofaskin/skin.conf for report 
> SmallImages
> Sep 03 22:41:59 meteomontaos weewx[25644]: cheetahgenerator: using search 
> list ['weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Station', 
> 'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.Stats', 
> 'weewx.cheetahgenerator.UnitInfo', 'weewx.cheetahgenerator.Extras']
> Sep 03 22:42:00 meteomontaos weewx[25644]: manager: Daily summary version 
> is 2.0
> Sep 03 22:42:12 meteomontaos weewx[25644]: wmr300: dump history is disabled
> Sep 03 22:42:33 meteomontaos weewx[25644]: wmr300: dump history is disabled
> Sep 03 22:42:54 meteomontaos weewx[25644]: wmr300: dump history is disabled
> Sep 03 22:43:02 meteomontaos weewx[25644]: cheetahgenerator: Generated 9 
> files for report SmallImages in 63.82 seconds
> Sep 03 22:43:03 meteomontaos weewx[25644]: manager: Daily summary version 
> is 2.0
> Sep 03 22:43:12 meteomontaos wee_reports[27892]: cheetahgenerator: 
> Generate failed with exception ''
> Sep 03 22:43:12 meteomontaos wee_reports[27892]: cheetahgenerator:  
> Ignoring template /etc/weewx/skins/Belchertown/about/index.html.tmpl
> Sep 03 22:43:12 meteomontaos wee_reports[27892]: cheetahgenerator:  
> Reason: [Errno 2] No such file or directory: 
> '/etc/weewx/skins/Belchertown/about.inc'
> Sep 03 22:43:12 meteomontaos wee_reports[27892]:   Traceback (most 
> recent call last):
> Sep 03 22:43:12 meteomontaos wee_reports[27892]: File 
> "/usr/share/weewx/weewx/cheetahgenerator.py", line 330, in generate
> Sep 03 22:43:12 meteomontaos wee_reports[27892]:   print >> _file, 
> compiled_template
> Sep 03 22:43:12 meteomontaos wee_reports[27892]: File 
> "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1005, in 
> __str__
> Sep 03 22:43:12 meteomontaos wee_reports[27892]:   rc = 
> getattr(self, mainMethName)()
> Sep 03 22:43:12 meteomontaos wee_reports[27892]: File 
> "_etc_weewx_skins_Belchertown_about_index_html_tmpl.py", line 181, in 
> respond
> Sep 03 22:43:12 meteomontaos wee_reports[27892]: File 
> "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1597, in 
> _handleCheetahInclude
> Sep 03 22:43:12 meteomontaos wee_reports[27892]:   
> nestedTemplateClass = compiler.compile(source=source, file=file)
> Sep 03 22:43:12 meteomontaos wee_reports[27892]: File 
> "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 706, in compile
> Sep 03 22:43:12 meteomontaos wee_reports[27892]:   fileHash += 
> str(os.path.getmtime(file))
> Sep 03 22:43:12 meteomontaos wee_reports[27892]: File 
> "/usr/lib/python2.7/genericpath.py", line 54, in getmtime
> Sep 03 22:43:12 meteomontaos wee_reports[27892]:   return 
> os.stat(filename).st_mtime
> Sep 03 22:43:12 meteomontaos wee_reports[27892]:   OSError: [Errno 2] 
> No such file or directory: '/etc/weewx/skins/Belchertown/about.inc'
> Sep 03 22:43:14 meteomontaos weewx[25644]: wmr300: dump history is disabled
>
>
> i dont understand...
>
> thanks.
>
>
> El lunes, 3 de septiembre de 2018, 21:59:14 (UTC+2), Pa
>
> ...

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


Re: [weewx-user] Re: Belchertown skin for weewx now available!

2018-09-03 Thread Colin Larsen
I agree, great job by the way, I owe you more coffee :)

On Tue, 4 Sep 2018, 09:13 Pat O'Brien,  wrote:

> My guess is once the skin gets stable updates will be less and less. I
> think we are getting close.
>
> On Mon, Sep 3, 2018, 5:12 PM Colin Larsen  wrote:
>
>> H, not helpful. I was thinking of building myself a script to copy
>> files I know I've customised and run that before upgrades. But again maybe
>> that doesn't suit the average user. The installer backs up weewx.conf
>> though?
>>
>> I added my lightning test page as per your guide, works great, thanks!
>>
>> On Tue, 4 Sep 2018, 09:06 Pat,  wrote:
>>
>>> I just asked that question
>>> .
>>> Seems the install.py has 1 job, and that's to copy files to their correct
>>> locations without any checks.
>>>
>>> On Monday, September 3, 2018 at 5:05:27 PM UTC-4, Colin Larsen wrote:

 Pat can the install script back up the Inc files? Then they could go
 back into the archive, it looks like folks don't follow the instructions
 close enough unfortunately

 On Tue, 4 Sep 2018, 08:44 Pat,  wrote:

 You need to follow this step...


 https://github.com/poblabs/weewx-belchertown#creating-about-page-and-records-page



 On Monday, September 3, 2018 at 4:43:48 PM UTC-4, Juan Antonio Mosquera
 wrote:

 more... wee_reports not finished and other error

 Sep 03 22:41:57 meteomontaos weewx[25644]: reportengine: Running report
 SmallImages
 Sep 03 22:41:58 meteomontaos weewx[25644]: reportengine: Found
 configuration file /etc/weewx/skins/Sofaskin/skin.conf for report
 SmallImages
 Sep 03 22:41:59 meteomontaos weewx[25644]: cheetahgenerator: using
 search list ['weewx.cheetahgenerator.Almanac',
 'weewx.cheetahgenerator.Station', 'weewx.cheetahgenerator.Current',
 'weewx.cheetahgenerator.Stats', 'weewx.cheetahgenerator.UnitInfo',
 'weewx.cheetahgenerator.Extras']
 Sep 03 22:42:00 meteomontaos weewx[25644]: manager: Daily summary
 version is 2.0
 Sep 03 22:42:12 meteomontaos weewx[25644]: wmr300: dump history is
 disabled
 Sep 03 22:42:33 meteomontaos weewx[25644]: wmr300: dump history is
 disabled
 Sep 03 22:42:54 meteomontaos weewx[25644]: wmr300: dump history is
 disabled
 Sep 03 22:43:02 meteomontaos weewx[25644]: cheetahgenerator: Generated
 9 files for report SmallImages in 63.82 seconds
 Sep 03 22:43:03 meteomontaos weewx[25644]: manager: Daily summary
 version is 2.0
 Sep 03 22:43:12 meteomontaos wee_reports[27892]: cheetahgenerator:
 Generate failed with exception ''
 Sep 03 22:43:12 meteomontaos wee_reports[27892]: cheetahgenerator: 
 Ignoring template /etc/weewx/skins/Belchertown/about/index.html.tmpl
 Sep 03 22:43:12 meteomontaos wee_reports[27892]: cheetahgenerator: 
 Reason: [Errno 2] No such file or directory:
 '/etc/weewx/skins/Belchertown/about.inc'
 Sep 03 22:43:12 meteomontaos wee_reports[27892]:   Traceback (most
 recent call last):
 Sep 03 22:43:12 meteomontaos wee_reports[27892]: File
 "/usr/share/weewx/weewx/cheetahgenerator.py", line 330, in generate
 Sep 03 22:43:12 meteomontaos wee_reports[27892]:   print >>
 _file, compiled_template
 Sep 03 22:43:12 meteomontaos wee_reports[27892]: File
 "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1005, in
 __str__
 Sep 03 22:43:12 meteomontaos wee_reports[27892]:   rc =
 getattr(self, mainMethName)()
 Sep 03 22:43:12 meteomontaos wee_reports[27892]: File
 "_etc_weewx_skins_Belchertown_about_index_html_tmpl.py", line 181, in
 respond
 Sep 03 22:43:12 meteomontaos wee_reports[27892]: File
 "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1597, in
 _handleCheetahInclude
 Sep 03 22:43:12 meteomontaos wee_reports[27892]: 
 nestedTemplateClass = compiler.compile(source=source, file=file)
 Sep 03 22:43:12 meteomontaos wee_reports[27892]: File
 "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 706, in 
 compile
 Sep 03 22:43:12 meteomontaos wee_reports[27892]:   fileHash +=
 str(os.path.getmtime(file))
 Sep 03 22:43:12 meteomontaos wee_reports[27892]: File
 "/usr/lib/python2.7/genericpath.py", line 54, in getmtime
 Sep 03 22:43:12 meteomontaos wee_reports[27892]:   return
 os.stat(filename).st_mtime
 Sep 03 22:43:12 meteomontaos wee_reports[27892]:   OSError: [Errno
 2] No such file or directory: '/etc/weew

 ...
>>>
>>> --
>>>
>> 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 

Re: [weewx-user] Re: Belchertown skin for weewx now available!

2018-09-03 Thread Pat O'Brien
My guess is once the skin gets stable updates will be less and less. I
think we are getting close.

On Mon, Sep 3, 2018, 5:12 PM Colin Larsen  wrote:

> H, not helpful. I was thinking of building myself a script to copy
> files I know I've customised and run that before upgrades. But again maybe
> that doesn't suit the average user. The installer backs up weewx.conf
> though?
>
> I added my lightning test page as per your guide, works great, thanks!
>
> On Tue, 4 Sep 2018, 09:06 Pat,  wrote:
>
>> I just asked that question
>> .
>> Seems the install.py has 1 job, and that's to copy files to their correct
>> locations without any checks.
>>
>> On Monday, September 3, 2018 at 5:05:27 PM UTC-4, Colin Larsen wrote:
>>>
>>> Pat can the install script back up the Inc files? Then they could go
>>> back into the archive, it looks like folks don't follow the instructions
>>> close enough unfortunately
>>>
>>> On Tue, 4 Sep 2018, 08:44 Pat,  wrote:
>>>
>>> You need to follow this step...
>>>
>>>
>>> https://github.com/poblabs/weewx-belchertown#creating-about-page-and-records-page
>>>
>>>
>>>
>>> On Monday, September 3, 2018 at 4:43:48 PM UTC-4, Juan Antonio Mosquera
>>> wrote:
>>>
>>> more... wee_reports not finished and other error
>>>
>>> Sep 03 22:41:57 meteomontaos weewx[25644]: reportengine: Running report
>>> SmallImages
>>> Sep 03 22:41:58 meteomontaos weewx[25644]: reportengine: Found
>>> configuration file /etc/weewx/skins/Sofaskin/skin.conf for report
>>> SmallImages
>>> Sep 03 22:41:59 meteomontaos weewx[25644]: cheetahgenerator: using
>>> search list ['weewx.cheetahgenerator.Almanac',
>>> 'weewx.cheetahgenerator.Station', 'weewx.cheetahgenerator.Current',
>>> 'weewx.cheetahgenerator.Stats', 'weewx.cheetahgenerator.UnitInfo',
>>> 'weewx.cheetahgenerator.Extras']
>>> Sep 03 22:42:00 meteomontaos weewx[25644]: manager: Daily summary
>>> version is 2.0
>>> Sep 03 22:42:12 meteomontaos weewx[25644]: wmr300: dump history is
>>> disabled
>>> Sep 03 22:42:33 meteomontaos weewx[25644]: wmr300: dump history is
>>> disabled
>>> Sep 03 22:42:54 meteomontaos weewx[25644]: wmr300: dump history is
>>> disabled
>>> Sep 03 22:43:02 meteomontaos weewx[25644]: cheetahgenerator: Generated 9
>>> files for report SmallImages in 63.82 seconds
>>> Sep 03 22:43:03 meteomontaos weewx[25644]: manager: Daily summary
>>> version is 2.0
>>> Sep 03 22:43:12 meteomontaos wee_reports[27892]: cheetahgenerator:
>>> Generate failed with exception ''
>>> Sep 03 22:43:12 meteomontaos wee_reports[27892]: cheetahgenerator: 
>>> Ignoring template /etc/weewx/skins/Belchertown/about/index.html.tmpl
>>> Sep 03 22:43:12 meteomontaos wee_reports[27892]: cheetahgenerator: 
>>> Reason: [Errno 2] No such file or directory:
>>> '/etc/weewx/skins/Belchertown/about.inc'
>>> Sep 03 22:43:12 meteomontaos wee_reports[27892]:   Traceback (most
>>> recent call last):
>>> Sep 03 22:43:12 meteomontaos wee_reports[27892]: File
>>> "/usr/share/weewx/weewx/cheetahgenerator.py", line 330, in generate
>>> Sep 03 22:43:12 meteomontaos wee_reports[27892]:   print >>
>>> _file, compiled_template
>>> Sep 03 22:43:12 meteomontaos wee_reports[27892]: File
>>> "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1005, in
>>> __str__
>>> Sep 03 22:43:12 meteomontaos wee_reports[27892]:   rc =
>>> getattr(self, mainMethName)()
>>> Sep 03 22:43:12 meteomontaos wee_reports[27892]: File
>>> "_etc_weewx_skins_Belchertown_about_index_html_tmpl.py", line 181, in
>>> respond
>>> Sep 03 22:43:12 meteomontaos wee_reports[27892]: File
>>> "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1597, in
>>> _handleCheetahInclude
>>> Sep 03 22:43:12 meteomontaos wee_reports[27892]: 
>>> nestedTemplateClass = compiler.compile(source=source, file=file)
>>> Sep 03 22:43:12 meteomontaos wee_reports[27892]: File
>>> "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 706, in compile
>>> Sep 03 22:43:12 meteomontaos wee_reports[27892]:   fileHash +=
>>> str(os.path.getmtime(file))
>>> Sep 03 22:43:12 meteomontaos wee_reports[27892]: File
>>> "/usr/lib/python2.7/genericpath.py", line 54, in getmtime
>>> Sep 03 22:43:12 meteomontaos wee_reports[27892]:   return
>>> os.stat(filename).st_mtime
>>> Sep 03 22:43:12 meteomontaos wee_reports[27892]:   OSError: [Errno
>>> 2] No such file or directory: '/etc/weew
>>>
>>> ...
>>
>> --
>>
> You received this message because you are subscribed to the Google Groups
>> "weewx-user" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to weewx-user+unsubscr...@googlegroups.com.
>
>
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "weewx-user" group.
> To unsubscribe from this topic, visit
> 

Re: [weewx-user] Re: Belchertown skin for weewx now available!

2018-09-03 Thread Colin Larsen
H, not helpful. I was thinking of building myself a script to copy
files I know I've customised and run that before upgrades. But again maybe
that doesn't suit the average user. The installer backs up weewx.conf
though?

I added my lightning test page as per your guide, works great, thanks!

On Tue, 4 Sep 2018, 09:06 Pat,  wrote:

> I just asked that question
> .
> Seems the install.py has 1 job, and that's to copy files to their correct
> locations without any checks.
>
> On Monday, September 3, 2018 at 5:05:27 PM UTC-4, Colin Larsen wrote:
>>
>> Pat can the install script back up the Inc files? Then they could go back
>> into the archive, it looks like folks don't follow the instructions close
>> enough unfortunately
>>
>> On Tue, 4 Sep 2018, 08:44 Pat,  wrote:
>>
>> You need to follow this step...
>>
>>
>> https://github.com/poblabs/weewx-belchertown#creating-about-page-and-records-page
>>
>>
>>
>> On Monday, September 3, 2018 at 4:43:48 PM UTC-4, Juan Antonio Mosquera
>> wrote:
>>
>> more... wee_reports not finished and other error
>>
>> Sep 03 22:41:57 meteomontaos weewx[25644]: reportengine: Running report
>> SmallImages
>> Sep 03 22:41:58 meteomontaos weewx[25644]: reportengine: Found
>> configuration file /etc/weewx/skins/Sofaskin/skin.conf for report
>> SmallImages
>> Sep 03 22:41:59 meteomontaos weewx[25644]: cheetahgenerator: using search
>> list ['weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Station',
>> 'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.Stats',
>> 'weewx.cheetahgenerator.UnitInfo', 'weewx.cheetahgenerator.Extras']
>> Sep 03 22:42:00 meteomontaos weewx[25644]: manager: Daily summary version
>> is 2.0
>> Sep 03 22:42:12 meteomontaos weewx[25644]: wmr300: dump history is
>> disabled
>> Sep 03 22:42:33 meteomontaos weewx[25644]: wmr300: dump history is
>> disabled
>> Sep 03 22:42:54 meteomontaos weewx[25644]: wmr300: dump history is
>> disabled
>> Sep 03 22:43:02 meteomontaos weewx[25644]: cheetahgenerator: Generated 9
>> files for report SmallImages in 63.82 seconds
>> Sep 03 22:43:03 meteomontaos weewx[25644]: manager: Daily summary version
>> is 2.0
>> Sep 03 22:43:12 meteomontaos wee_reports[27892]: cheetahgenerator:
>> Generate failed with exception ''
>> Sep 03 22:43:12 meteomontaos wee_reports[27892]: cheetahgenerator: 
>> Ignoring template /etc/weewx/skins/Belchertown/about/index.html.tmpl
>> Sep 03 22:43:12 meteomontaos wee_reports[27892]: cheetahgenerator: 
>> Reason: [Errno 2] No such file or directory:
>> '/etc/weewx/skins/Belchertown/about.inc'
>> Sep 03 22:43:12 meteomontaos wee_reports[27892]:   Traceback (most
>> recent call last):
>> Sep 03 22:43:12 meteomontaos wee_reports[27892]: File
>> "/usr/share/weewx/weewx/cheetahgenerator.py", line 330, in generate
>> Sep 03 22:43:12 meteomontaos wee_reports[27892]:   print >>
>> _file, compiled_template
>> Sep 03 22:43:12 meteomontaos wee_reports[27892]: File
>> "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1005, in
>> __str__
>> Sep 03 22:43:12 meteomontaos wee_reports[27892]:   rc =
>> getattr(self, mainMethName)()
>> Sep 03 22:43:12 meteomontaos wee_reports[27892]: File
>> "_etc_weewx_skins_Belchertown_about_index_html_tmpl.py", line 181, in
>> respond
>> Sep 03 22:43:12 meteomontaos wee_reports[27892]: File
>> "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1597, in
>> _handleCheetahInclude
>> Sep 03 22:43:12 meteomontaos wee_reports[27892]: 
>> nestedTemplateClass = compiler.compile(source=source, file=file)
>> Sep 03 22:43:12 meteomontaos wee_reports[27892]: File
>> "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 706, in compile
>> Sep 03 22:43:12 meteomontaos wee_reports[27892]:   fileHash +=
>> str(os.path.getmtime(file))
>> Sep 03 22:43:12 meteomontaos wee_reports[27892]: File
>> "/usr/lib/python2.7/genericpath.py", line 54, in getmtime
>> Sep 03 22:43:12 meteomontaos wee_reports[27892]:   return
>> os.stat(filename).st_mtime
>> Sep 03 22:43:12 meteomontaos wee_reports[27892]:   OSError: [Errno 2]
>> No such file or directory: '/etc/weew
>>
>> ...
>
> --
> You received this message because you are subscribed to the Google Groups
> "weewx-user" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to weewx-user+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

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


Re: [weewx-user] Re: Belchertown skin for weewx now available!

2018-09-03 Thread Pat O'Brien
I guess the good news is that the changes I made today worked. I'll include
those in the next update.


On Mon, Sep 3, 2018, 5:06 PM Pat  wrote:

> I just asked that question
> .
> Seems the install.py has 1 job, and that's to copy files to their correct
> locations without any checks.
>
> On Monday, September 3, 2018 at 5:05:27 PM UTC-4, Colin Larsen wrote:
>>
>> Pat can the install script back up the Inc files? Then they could go back
>> into the archive, it looks like folks don't follow the instructions close
>> enough unfortunately
>>
>> On Tue, 4 Sep 2018, 08:44 Pat,  wrote:
>>
>> You need to follow this step...
>>
>>
>> https://github.com/poblabs/weewx-belchertown#creating-about-page-and-records-page
>>
>>
>>
>> On Monday, September 3, 2018 at 4:43:48 PM UTC-4, Juan Antonio Mosquera
>> wrote:
>>
>> more... wee_reports not finished and other error
>>
>> Sep 03 22:41:57 meteomontaos weewx[25644]: reportengine: Running report
>> SmallImages
>> Sep 03 22:41:58 meteomontaos weewx[25644]: reportengine: Found
>> configuration file /etc/weewx/skins/Sofaskin/skin.conf for report
>> SmallImages
>> Sep 03 22:41:59 meteomontaos weewx[25644]: cheetahgenerator: using search
>> list ['weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Station',
>> 'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.Stats',
>> 'weewx.cheetahgenerator.UnitInfo', 'weewx.cheetahgenerator.Extras']
>> Sep 03 22:42:00 meteomontaos weewx[25644]: manager: Daily summary version
>> is 2.0
>> Sep 03 22:42:12 meteomontaos weewx[25644]: wmr300: dump history is
>> disabled
>> Sep 03 22:42:33 meteomontaos weewx[25644]: wmr300: dump history is
>> disabled
>> Sep 03 22:42:54 meteomontaos weewx[25644]: wmr300: dump history is
>> disabled
>> Sep 03 22:43:02 meteomontaos weewx[25644]: cheetahgenerator: Generated 9
>> files for report SmallImages in 63.82 seconds
>> Sep 03 22:43:03 meteomontaos weewx[25644]: manager: Daily summary version
>> is 2.0
>> Sep 03 22:43:12 meteomontaos wee_reports[27892]: cheetahgenerator:
>> Generate failed with exception ''
>> Sep 03 22:43:12 meteomontaos wee_reports[27892]: cheetahgenerator: 
>> Ignoring template /etc/weewx/skins/Belchertown/about/index.html.tmpl
>> Sep 03 22:43:12 meteomontaos wee_reports[27892]: cheetahgenerator: 
>> Reason: [Errno 2] No such file or directory:
>> '/etc/weewx/skins/Belchertown/about.inc'
>> Sep 03 22:43:12 meteomontaos wee_reports[27892]:   Traceback (most
>> recent call last):
>> Sep 03 22:43:12 meteomontaos wee_reports[27892]: File
>> "/usr/share/weewx/weewx/cheetahgenerator.py", line 330, in generate
>> Sep 03 22:43:12 meteomontaos wee_reports[27892]:   print >>
>> _file, compiled_template
>> Sep 03 22:43:12 meteomontaos wee_reports[27892]: File
>> "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1005, in
>> __str__
>> Sep 03 22:43:12 meteomontaos wee_reports[27892]:   rc =
>> getattr(self, mainMethName)()
>> Sep 03 22:43:12 meteomontaos wee_reports[27892]: File
>> "_etc_weewx_skins_Belchertown_about_index_html_tmpl.py", line 181, in
>> respond
>> Sep 03 22:43:12 meteomontaos wee_reports[27892]: File
>> "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1597, in
>> _handleCheetahInclude
>> Sep 03 22:43:12 meteomontaos wee_reports[27892]: 
>> nestedTemplateClass = compiler.compile(source=source, file=file)
>> Sep 03 22:43:12 meteomontaos wee_reports[27892]: File
>> "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 706, in compile
>> Sep 03 22:43:12 meteomontaos wee_reports[27892]:   fileHash +=
>> str(os.path.getmtime(file))
>> Sep 03 22:43:12 meteomontaos wee_reports[27892]: File
>> "/usr/lib/python2.7/genericpath.py", line 54, in getmtime
>> Sep 03 22:43:12 meteomontaos wee_reports[27892]:   return
>> os.stat(filename).st_mtime
>> Sep 03 22:43:12 meteomontaos wee_reports[27892]:   OSError: [Errno 2]
>> No such file or directory: '/etc/weew
>>
>> ...
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "weewx-user" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/weewx-user/GSrKZEiPqsc/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> weewx-user+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

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


Re: [weewx-user] Re: Belchertown skin for weewx now available!

2018-09-03 Thread Pat
I just asked that question 
. 
Seems the install.py has 1 job, and that's to copy files to their correct 
locations without any checks. 

On Monday, September 3, 2018 at 5:05:27 PM UTC-4, Colin Larsen wrote:
>
> Pat can the install script back up the Inc files? Then they could go back 
> into the archive, it looks like folks don't follow the instructions close 
> enough unfortunately
>
> On Tue, 4 Sep 2018, 08:44 Pat, > wrote:
>
> You need to follow this step... 
>
>
> https://github.com/poblabs/weewx-belchertown#creating-about-page-and-records-page
>
>
>
> On Monday, September 3, 2018 at 4:43:48 PM UTC-4, Juan Antonio Mosquera 
> wrote:
>
> more... wee_reports not finished and other error
>
> Sep 03 22:41:57 meteomontaos weewx[25644]: reportengine: Running report 
> SmallImages
> Sep 03 22:41:58 meteomontaos weewx[25644]: reportengine: Found 
> configuration file /etc/weewx/skins/Sofaskin/skin.conf for report 
> SmallImages
> Sep 03 22:41:59 meteomontaos weewx[25644]: cheetahgenerator: using search 
> list ['weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Station', 
> 'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.Stats', 
> 'weewx.cheetahgenerator.UnitInfo', 'weewx.cheetahgenerator.Extras']
> Sep 03 22:42:00 meteomontaos weewx[25644]: manager: Daily summary version 
> is 2.0
> Sep 03 22:42:12 meteomontaos weewx[25644]: wmr300: dump history is disabled
> Sep 03 22:42:33 meteomontaos weewx[25644]: wmr300: dump history is disabled
> Sep 03 22:42:54 meteomontaos weewx[25644]: wmr300: dump history is disabled
> Sep 03 22:43:02 meteomontaos weewx[25644]: cheetahgenerator: Generated 9 
> files for report SmallImages in 63.82 seconds
> Sep 03 22:43:03 meteomontaos weewx[25644]: manager: Daily summary version 
> is 2.0
> Sep 03 22:43:12 meteomontaos wee_reports[27892]: cheetahgenerator: 
> Generate failed with exception ''
> Sep 03 22:43:12 meteomontaos wee_reports[27892]: cheetahgenerator:  
> Ignoring template /etc/weewx/skins/Belchertown/about/index.html.tmpl
> Sep 03 22:43:12 meteomontaos wee_reports[27892]: cheetahgenerator:  
> Reason: [Errno 2] No such file or directory: 
> '/etc/weewx/skins/Belchertown/about.inc'
> Sep 03 22:43:12 meteomontaos wee_reports[27892]:   Traceback (most 
> recent call last):
> Sep 03 22:43:12 meteomontaos wee_reports[27892]: File 
> "/usr/share/weewx/weewx/cheetahgenerator.py", line 330, in generate
> Sep 03 22:43:12 meteomontaos wee_reports[27892]:   print >> _file, 
> compiled_template
> Sep 03 22:43:12 meteomontaos wee_reports[27892]: File 
> "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1005, in 
> __str__
> Sep 03 22:43:12 meteomontaos wee_reports[27892]:   rc = 
> getattr(self, mainMethName)()
> Sep 03 22:43:12 meteomontaos wee_reports[27892]: File 
> "_etc_weewx_skins_Belchertown_about_index_html_tmpl.py", line 181, in 
> respond
> Sep 03 22:43:12 meteomontaos wee_reports[27892]: File 
> "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1597, in 
> _handleCheetahInclude
> Sep 03 22:43:12 meteomontaos wee_reports[27892]:   
> nestedTemplateClass = compiler.compile(source=source, file=file)
> Sep 03 22:43:12 meteomontaos wee_reports[27892]: File 
> "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 706, in compile
> Sep 03 22:43:12 meteomontaos wee_reports[27892]:   fileHash += 
> str(os.path.getmtime(file))
> Sep 03 22:43:12 meteomontaos wee_reports[27892]: File 
> "/usr/lib/python2.7/genericpath.py", line 54, in getmtime
> Sep 03 22:43:12 meteomontaos wee_reports[27892]:   return 
> os.stat(filename).st_mtime
> Sep 03 22:43:12 meteomontaos wee_reports[27892]:   OSError: [Errno 2] 
> No such file or directory: '/etc/weew
>
> ...

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


Re: [weewx-user] Re: Belchertown skin for weewx now available!

2018-09-03 Thread Colin Larsen
Pat can the install script back up the Inc files? Then they could go back
into the archive, it looks like folks don't follow the instructions close
enough unfortunately

On Tue, 4 Sep 2018, 08:44 Pat,  wrote:

> You need to follow this step...
>
>
> https://github.com/poblabs/weewx-belchertown#creating-about-page-and-records-page
>
>
>
> On Monday, September 3, 2018 at 4:43:48 PM UTC-4, Juan Antonio Mosquera
> wrote:
>>
>> more... wee_reports not finished and other error
>>
>> Sep 03 22:41:57 meteomontaos weewx[25644]: reportengine: Running report
>> SmallImages
>> Sep 03 22:41:58 meteomontaos weewx[25644]: reportengine: Found
>> configuration file /etc/weewx/skins/Sofaskin/skin.conf for report
>> SmallImages
>> Sep 03 22:41:59 meteomontaos weewx[25644]: cheetahgenerator: using search
>> list ['weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Station',
>> 'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.Stats',
>> 'weewx.cheetahgenerator.UnitInfo', 'weewx.cheetahgenerator.Extras']
>> Sep 03 22:42:00 meteomontaos weewx[25644]: manager: Daily summary version
>> is 2.0
>> Sep 03 22:42:12 meteomontaos weewx[25644]: wmr300: dump history is
>> disabled
>> Sep 03 22:42:33 meteomontaos weewx[25644]: wmr300: dump history is
>> disabled
>> Sep 03 22:42:54 meteomontaos weewx[25644]: wmr300: dump history is
>> disabled
>> Sep 03 22:43:02 meteomontaos weewx[25644]: cheetahgenerator: Generated 9
>> files for report SmallImages in 63.82 seconds
>> Sep 03 22:43:03 meteomontaos weewx[25644]: manager: Daily summary version
>> is 2.0
>> Sep 03 22:43:12 meteomontaos wee_reports[27892]: cheetahgenerator:
>> Generate failed with exception ''
>> Sep 03 22:43:12 meteomontaos wee_reports[27892]: cheetahgenerator: 
>> Ignoring template /etc/weewx/skins/Belchertown/about/index.html.tmpl
>> Sep 03 22:43:12 meteomontaos wee_reports[27892]: cheetahgenerator: 
>> Reason: [Errno 2] No such file or directory:
>> '/etc/weewx/skins/Belchertown/about.inc'
>> Sep 03 22:43:12 meteomontaos wee_reports[27892]:   Traceback (most
>> recent call last):
>> Sep 03 22:43:12 meteomontaos wee_reports[27892]: File
>> "/usr/share/weewx/weewx/cheetahgenerator.py", line 330, in generate
>> Sep 03 22:43:12 meteomontaos wee_reports[27892]:   print >>
>> _file, compiled_template
>> Sep 03 22:43:12 meteomontaos wee_reports[27892]: File
>> "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1005, in
>> __str__
>> Sep 03 22:43:12 meteomontaos wee_reports[27892]:   rc =
>> getattr(self, mainMethName)()
>> Sep 03 22:43:12 meteomontaos wee_reports[27892]: File
>> "_etc_weewx_skins_Belchertown_about_index_html_tmpl.py", line 181, in
>> respond
>> Sep 03 22:43:12 meteomontaos wee_reports[27892]: File
>> "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1597, in
>> _handleCheetahInclude
>> Sep 03 22:43:12 meteomontaos wee_reports[27892]: 
>> nestedTemplateClass = compiler.compile(source=source, file=file)
>> Sep 03 22:43:12 meteomontaos wee_reports[27892]: File
>> "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 706, in compile
>> Sep 03 22:43:12 meteomontaos wee_reports[27892]:   fileHash +=
>> str(os.path.getmtime(file))
>> Sep 03 22:43:12 meteomontaos wee_reports[27892]: File
>> "/usr/lib/python2.7/genericpath.py", line 54, in getmtime
>> Sep 03 22:43:12 meteomontaos wee_reports[27892]:   return
>> os.stat(filename).st_mtime
>> Sep 03 22:43:12 meteomontaos wee_reports[27892]:   OSError: [Errno 2]
>> No such file or directory: '/etc/weewx/skins/Belchertown/about.inc'
>> Sep 03 22:43:14 meteomontaos weewx[25644]: wmr300: dump history is
>> disabled
>>
>>
>> i dont understand...
>>
>> thanks.
>>
>>
>> El lunes, 3 de septiembre de 2018, 21:59:14 (UTC+2), Pat escribió:
>>
>> Oh, when I said to delete public_html/Belchertown/NOAA
>>  -
>> did you delete skins/belchertown/NOAA by mistake? That might explain why
>> it's missing.
>>
>> 2 different folders.
>>
>> On Monday, September 3, 2018 at 3:49:30 PM UTC-4, Pat wrote:
>>
>> Probably did not finish because of missing file. You can copy the file
>> from the GitHub.
>> https://github.com/poblabs/weewx-belchertown/tree/master/skins/Belchertown/NOAA
>>
>> I wonder w
>>
>> ...
>
> --
> You received this message because you are subscribed to the Google Groups
> "weewx-user" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to weewx-user+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

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


Re: [weewx-user] Re: Belchertown skin for weewx now available!

2018-09-03 Thread Pat
You need to follow this step... 

https://github.com/poblabs/weewx-belchertown#creating-about-page-and-records-page



On Monday, September 3, 2018 at 4:43:48 PM UTC-4, Juan Antonio Mosquera 
wrote:
>
> more... wee_reports not finished and other error
>
> Sep 03 22:41:57 meteomontaos weewx[25644]: reportengine: Running report 
> SmallImages
> Sep 03 22:41:58 meteomontaos weewx[25644]: reportengine: Found 
> configuration file /etc/weewx/skins/Sofaskin/skin.conf for report 
> SmallImages
> Sep 03 22:41:59 meteomontaos weewx[25644]: cheetahgenerator: using search 
> list ['weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Station', 
> 'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.Stats', 
> 'weewx.cheetahgenerator.UnitInfo', 'weewx.cheetahgenerator.Extras']
> Sep 03 22:42:00 meteomontaos weewx[25644]: manager: Daily summary version 
> is 2.0
> Sep 03 22:42:12 meteomontaos weewx[25644]: wmr300: dump history is disabled
> Sep 03 22:42:33 meteomontaos weewx[25644]: wmr300: dump history is disabled
> Sep 03 22:42:54 meteomontaos weewx[25644]: wmr300: dump history is disabled
> Sep 03 22:43:02 meteomontaos weewx[25644]: cheetahgenerator: Generated 9 
> files for report SmallImages in 63.82 seconds
> Sep 03 22:43:03 meteomontaos weewx[25644]: manager: Daily summary version 
> is 2.0
> Sep 03 22:43:12 meteomontaos wee_reports[27892]: cheetahgenerator: 
> Generate failed with exception ''
> Sep 03 22:43:12 meteomontaos wee_reports[27892]: cheetahgenerator:  
> Ignoring template /etc/weewx/skins/Belchertown/about/index.html.tmpl
> Sep 03 22:43:12 meteomontaos wee_reports[27892]: cheetahgenerator:  
> Reason: [Errno 2] No such file or directory: 
> '/etc/weewx/skins/Belchertown/about.inc'
> Sep 03 22:43:12 meteomontaos wee_reports[27892]:   Traceback (most 
> recent call last):
> Sep 03 22:43:12 meteomontaos wee_reports[27892]: File 
> "/usr/share/weewx/weewx/cheetahgenerator.py", line 330, in generate
> Sep 03 22:43:12 meteomontaos wee_reports[27892]:   print >> _file, 
> compiled_template
> Sep 03 22:43:12 meteomontaos wee_reports[27892]: File 
> "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1005, in 
> __str__
> Sep 03 22:43:12 meteomontaos wee_reports[27892]:   rc = 
> getattr(self, mainMethName)()
> Sep 03 22:43:12 meteomontaos wee_reports[27892]: File 
> "_etc_weewx_skins_Belchertown_about_index_html_tmpl.py", line 181, in 
> respond
> Sep 03 22:43:12 meteomontaos wee_reports[27892]: File 
> "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1597, in 
> _handleCheetahInclude
> Sep 03 22:43:12 meteomontaos wee_reports[27892]:   
> nestedTemplateClass = compiler.compile(source=source, file=file)
> Sep 03 22:43:12 meteomontaos wee_reports[27892]: File 
> "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 706, in compile
> Sep 03 22:43:12 meteomontaos wee_reports[27892]:   fileHash += 
> str(os.path.getmtime(file))
> Sep 03 22:43:12 meteomontaos wee_reports[27892]: File 
> "/usr/lib/python2.7/genericpath.py", line 54, in getmtime
> Sep 03 22:43:12 meteomontaos wee_reports[27892]:   return 
> os.stat(filename).st_mtime
> Sep 03 22:43:12 meteomontaos wee_reports[27892]:   OSError: [Errno 2] 
> No such file or directory: '/etc/weewx/skins/Belchertown/about.inc'
> Sep 03 22:43:14 meteomontaos weewx[25644]: wmr300: dump history is disabled
>
>
> i dont understand...
>
> thanks.
>
>
> El lunes, 3 de septiembre de 2018, 21:59:14 (UTC+2), Pat escribió:
>
> Oh, when I said to delete public_html/Belchertown/NOAA 
>  - 
> did you delete skins/belchertown/NOAA by mistake? That might explain why 
> it's missing. 
>
> 2 different folders. 
>
> On Monday, September 3, 2018 at 3:49:30 PM UTC-4, Pat wrote:
>
> Probably did not finish because of missing file. You can copy the file 
> from the GitHub. 
> https://github.com/poblabs/weewx-belchertown/tree/master/skins/Belchertown/NOAA
>
> I wonder w
>
> ...

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


Re: [weewx-user] Re: Belchertown skin for weewx now available!

2018-09-03 Thread Juan Antonio Mosquera
more... wee_reports not finished and other error

Sep 03 22:41:57 meteomontaos weewx[25644]: reportengine: Running report 
SmallImages
Sep 03 22:41:58 meteomontaos weewx[25644]: reportengine: Found 
configuration file /etc/weewx/skins/Sofaskin/skin.conf for report 
SmallImages
Sep 03 22:41:59 meteomontaos weewx[25644]: cheetahgenerator: using search 
list ['weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Station', 
'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.Stats', 
'weewx.cheetahgenerator.UnitInfo', 'weewx.cheetahgenerator.Extras']
Sep 03 22:42:00 meteomontaos weewx[25644]: manager: Daily summary version 
is 2.0
Sep 03 22:42:12 meteomontaos weewx[25644]: wmr300: dump history is disabled
Sep 03 22:42:33 meteomontaos weewx[25644]: wmr300: dump history is disabled
Sep 03 22:42:54 meteomontaos weewx[25644]: wmr300: dump history is disabled
Sep 03 22:43:02 meteomontaos weewx[25644]: cheetahgenerator: Generated 9 
files for report SmallImages in 63.82 seconds
Sep 03 22:43:03 meteomontaos weewx[25644]: manager: Daily summary version 
is 2.0
Sep 03 22:43:12 meteomontaos wee_reports[27892]: cheetahgenerator: Generate 
failed with exception ''
Sep 03 22:43:12 meteomontaos wee_reports[27892]: cheetahgenerator:  
Ignoring template /etc/weewx/skins/Belchertown/about/index.html.tmpl
Sep 03 22:43:12 meteomontaos wee_reports[27892]: cheetahgenerator:  
Reason: [Errno 2] No such file or directory: 
'/etc/weewx/skins/Belchertown/about.inc'
Sep 03 22:43:12 meteomontaos wee_reports[27892]:   Traceback (most 
recent call last):
Sep 03 22:43:12 meteomontaos wee_reports[27892]: File 
"/usr/share/weewx/weewx/cheetahgenerator.py", line 330, in generate
Sep 03 22:43:12 meteomontaos wee_reports[27892]:   print >> _file, 
compiled_template
Sep 03 22:43:12 meteomontaos wee_reports[27892]: File 
"/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1005, in 
__str__
Sep 03 22:43:12 meteomontaos wee_reports[27892]:   rc = 
getattr(self, mainMethName)()
Sep 03 22:43:12 meteomontaos wee_reports[27892]: File 
"_etc_weewx_skins_Belchertown_about_index_html_tmpl.py", line 181, in 
respond
Sep 03 22:43:12 meteomontaos wee_reports[27892]: File 
"/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1597, in 
_handleCheetahInclude
Sep 03 22:43:12 meteomontaos wee_reports[27892]:   
nestedTemplateClass = compiler.compile(source=source, file=file)
Sep 03 22:43:12 meteomontaos wee_reports[27892]: File 
"/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 706, in compile
Sep 03 22:43:12 meteomontaos wee_reports[27892]:   fileHash += 
str(os.path.getmtime(file))
Sep 03 22:43:12 meteomontaos wee_reports[27892]: File 
"/usr/lib/python2.7/genericpath.py", line 54, in getmtime
Sep 03 22:43:12 meteomontaos wee_reports[27892]:   return 
os.stat(filename).st_mtime
Sep 03 22:43:12 meteomontaos wee_reports[27892]:   OSError: [Errno 2] 
No such file or directory: '/etc/weewx/skins/Belchertown/about.inc'
Sep 03 22:43:14 meteomontaos weewx[25644]: wmr300: dump history is disabled


i dont understand...

thanks.


El lunes, 3 de septiembre de 2018, 21:59:14 (UTC+2), Pat escribió:
>
> Oh, when I said to delete public_html/Belchertown/NOAA 
>  - 
> did you delete skins/belchertown/NOAA by mistake? That might explain why 
> it's missing. 
>
> 2 different folders. 
>
> On Monday, September 3, 2018 at 3:49:30 PM UTC-4, Pat wrote:
>
> Probably did not finish because of missing file. You can copy the file 
> from the GitHub. 
> https://github.com/poblabs/weewx-belchertown/tree/master/skins/Belchertown/NOAA
>
> I wonder why it didn't install...?
>
> I wonder what else you are missing. 
>
> Check the rest of the repo to make sure you have all files in bin/user 
> and skins/Belchertown. 
>
> https://github.com/poblabs/weewx-belchertown
>
>
>
> On Monday, September 3, 2018 at 3:46:04 PM UTC-4, Juan Antonio Mosquera 
> wrote:
>
> Now... not finish wee_reports...
>
> And:
>
>
> Sep 03 21:42:50 meteomontaos weewx[26852]: cheetahgenerator: Generate 
> failed with exception ''
> Sep 03 21:42:50 meteomontaos weewx[26852]: cheetahgenerator:  Ignoring 
> template /etc/weewx/skins/Belchertown/NOAA/NOAA--MM.txt.tmpl
> Sep 03 21:42:50 meteomontaos weewx[26852]: cheetahgenerator:  Reason: 
> [Errno 2] No such file or directory
>
>
> Greetings.
>
>
>
> El lunes, 3 de septiembre de 2018, 20:51:51 (UTC+2), Pat escribió:
>
> Ok, not an hour, but 15 minutes 
>
> 1) Delete your public_html/Belchertown/NOAA files (either in /home/weewx, 
> or /var/www). The skin will re-create these. 
>
> 2) Download the raw version of this file and put it in 
> bin/user/belchertown_highchartsSearchX.py. 
>
> ...

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails 

Re: [weewx-user] Re: Belchertown skin for weewx now available!

2018-09-03 Thread Juan Antonio Mosquera
Now generate belchertown OK.. but not generate RSYNC template... 
and not upload files to my server.

If I uninstall belchertown, all OK.

El lunes, 3 de septiembre de 2018, 21:59:14 (UTC+2), Pat escribió:
>
> Oh, when I said to delete public_html/Belchertown/NOAA 
>  - 
> did you delete skins/belchertown/NOAA by mistake? That might explain why 
> it's missing. 
>
> 2 different folders. 
>
> On Monday, September 3, 2018 at 3:49:30 PM UTC-4, Pat wrote:
>
> Probably did not finish because of missing file. You can copy the file 
> from the GitHub. 
> https://github.com/poblabs/weewx-belchertown/tree/master/skins/Belchertown/NOAA
>
> I wonder why it didn't install...?
>
> I wonder what else you are missing. 
>
> Check the rest of the repo to make sure you have all files in bin/user 
> and skins/Belchertown. 
>
> https://github.com/poblabs/weewx-belchertown
>
>
>
> On Monday, September 3, 2018 at 3:46:04 PM UTC-4, Juan Antonio Mosquera 
> wrote:
>
> Now... not finish wee_reports...
>
> And:
>
>
> Sep 03 21:42:50 meteomontaos weewx[26852]: cheetahgenerator: Generate 
> failed with exception ''
> Sep 03 21:42:50 meteomontaos weewx[26852]: cheetahgenerator:  Ignoring 
> template /etc/weewx/skins/Belchertown/NOAA/NOAA--MM.txt.tmpl
> Sep 03 21:42:50 meteomontaos weewx[26852]: cheetahgenerator:  Reason: 
> [Errno 2] No such file or directory
>
>
> Greetings.
>
>
>
> El lunes, 3 de septiembre de 2018, 20:51:51 (UTC+2), Pat escribió:
>
> Ok, not an hour, but 15 minutes 
>
> 1) Delete your public_html/Belchertown/NOAA files (either in /home/weewx, 
> or /var/www). The skin will re-create these. 
>
> 2) Download the raw version of this file and put it in 
> bin/user/belchertown_highchartsSearchX.py. 
>
> ...

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


Re: [weewx-user] Re: Belchertown skin for weewx now available!

2018-09-03 Thread Juan Antonio Mosquera
No, i deleted /var/www/html/Belchertown/NOA/*.*

Not skin.. now. i reinstalled your extension... in 15 minutos i have a 
result...

greetings.

El lunes, 3 de septiembre de 2018, 21:59:14 (UTC+2), Pat escribió:
>
> Oh, when I said to delete public_html/Belchertown/NOAA 
>  - 
> did you delete skins/belchertown/NOAA by mistake? That might explain why 
> it's missing. 
>
> 2 different folders. 
>
> On Monday, September 3, 2018 at 3:49:30 PM UTC-4, Pat wrote:
>
> Probably did not finish because of missing file. You can copy the file 
> from the GitHub. 
> https://github.com/poblabs/weewx-belchertown/tree/master/skins/Belchertown/NOAA
>
> I wonder why it didn't install...?
>
> I wonder what else you are missing. 
>
> Check the rest of the repo to make sure you have all files in bin/user 
> and skins/Belchertown. 
>
> https://github.com/poblabs/weewx-belchertown
>
>
>
> On Monday, September 3, 2018 at 3:46:04 PM UTC-4, Juan Antonio Mosquera 
> wrote:
>
> Now... not finish wee_reports...
>
> And:
>
>
> Sep 03 21:42:50 meteomontaos weewx[26852]: cheetahgenerator: Generate 
> failed with exception ''
> Sep 03 21:42:50 meteomontaos weewx[26852]: cheetahgenerator:  Ignoring 
> template /etc/weewx/skins/Belchertown/NOAA/NOAA--MM.txt.tmpl
> Sep 03 21:42:50 meteomontaos weewx[26852]: cheetahgenerator:  Reason: 
> [Errno 2] No such file or directory
>
>
> Greetings.
>
>
>
> El lunes, 3 de septiembre de 2018, 20:51:51 (UTC+2), Pat escribió:
>
> Ok, not an hour, but 15 minutes 
>
> 1) Delete your public_html/Belchertown/NOAA files (either in /home/weewx, 
> or /var/www). The skin will re-create these. 
>
> 2) Download the raw version of this file and put it in 
> bin/user/belchertown_highchartsSearchX.py. 
>
> ...

-- 
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: USB write fail and then cannot restart service

2018-09-03 Thread Invisible Man


On Monday, September 3, 2018 at 3:04:19 PM UTC+2, mwall wrote:
>
> On Monday, September 3, 2018 at 7:59:46 AM UTC-4, Invisible Man wrote:
>>
>> This is still happening and so frustrating.
>>
>
> what else is plugged into the rpi usb ports?
>


This is a USB keyboard receiver. I unplugged it now to see what's happening.

Bus 001 Device 004: ID 046d:c52b Logitech, Inc. Unifying Receiver


This is "nothing" specific. To my understanding those are components of the 
RPI itself.
I have a Raspberry Pi 2 Model B Rev 1.1

Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 
Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub 

>  
>

Also, I am currently trying with a new USB cable. Will keep you informed.

Thanks

Axelle.
 

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


Re: [weewx-user] Re: Belchertown skin for weewx now available!

2018-09-03 Thread Pat
Oh, when I said to delete public_html/Belchertown/NOAA 
 - did 
you delete skins/belchertown/NOAA by mistake? That might explain why it's 
missing. 

2 different folders. 

On Monday, September 3, 2018 at 3:49:30 PM UTC-4, Pat wrote:
>
> Probably did not finish because of missing file. You can copy the file 
> from the GitHub. 
> https://github.com/poblabs/weewx-belchertown/tree/master/skins/Belchertown/NOAA
>
> I wonder why it didn't install...?
>
> I wonder what else you are missing. 
>
> Check the rest of the repo to make sure you have all files in bin/user 
> and skins/Belchertown. 
>
> https://github.com/poblabs/weewx-belchertown
>
>
>
> On Monday, September 3, 2018 at 3:46:04 PM UTC-4, Juan Antonio Mosquera 
> wrote:
>
> Now... not finish wee_reports...
>
> And:
>
>
> Sep 03 21:42:50 meteomontaos weewx[26852]: cheetahgenerator: Generate 
> failed with exception ''
> Sep 03 21:42:50 meteomontaos weewx[26852]: cheetahgenerator:  Ignoring 
> template /etc/weewx/skins/Belchertown/NOAA/NOAA--MM.txt.tmpl
> Sep 03 21:42:50 meteomontaos weewx[26852]: cheetahgenerator:  Reason: 
> [Errno 2] No such file or directory
>
>
> Greetings.
>
>
>
> El lunes, 3 de septiembre de 2018, 20:51:51 (UTC+2), Pat escribió:
>
> Ok, not an hour, but 15 minutes 
>
> 1) Delete your public_html/Belchertown/NOAA files (either in /home/weewx, 
> or /var/www). The skin will re-create these. 
>
> 2) Download the raw version of this file and put it in 
> bin/user/belchertown_highchartsSearchX.py. 
> https://github.com/poblabs/weewx-belchertown/blob/b7f5762f8d9087bf90f90108d13defec6fb9de74/bin/user/belchertown_highchartsSearchX.py
>
> This fixed my issue I saw which is the same you have, and made no 
> difference on my other machines that did not have the issue. 
>
> The machine that had the issue, it took about 35 seconds to complete. 
> After that it was faster. 
>
> Let me know. 
>
> On Monday, September 3, 2018 at 2:36:20 PM UTC-4, Pat wrote:
>
> That is because of this error. I hope to have a fix in 1 hour then you can 
> test to make sure it is working. 
>
>
> On Monday, September 3, 2018 at 2:29:45 PM UTC-4, Juan Antonio Mosquera 
> wrote:
>
> ...

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


Re: [weewx-user] Re: Belchertown skin for weewx now available!

2018-09-03 Thread Pat
Probably did not finish because of missing file. You can copy the file from 
the 
GitHub. 
https://github.com/poblabs/weewx-belchertown/tree/master/skins/Belchertown/NOAA

I wonder why it didn't install...?

I wonder what else you are missing. 

Check the rest of the repo to make sure you have all files in bin/user and 
skins/Belchertown. 

https://github.com/poblabs/weewx-belchertown



On Monday, September 3, 2018 at 3:46:04 PM UTC-4, Juan Antonio Mosquera 
wrote:
>
> Now... not finish wee_reports...
>
> And:
>
>
> Sep 03 21:42:50 meteomontaos weewx[26852]: cheetahgenerator: Generate 
> failed with exception ''
> Sep 03 21:42:50 meteomontaos weewx[26852]: cheetahgenerator:  Ignoring 
> template /etc/weewx/skins/Belchertown/NOAA/NOAA--MM.txt.tmpl
> Sep 03 21:42:50 meteomontaos weewx[26852]: cheetahgenerator:  Reason: 
> [Errno 2] No such file or directory
>
>
> Greetings.
>
>
>
> El lunes, 3 de septiembre de 2018, 20:51:51 (UTC+2), Pat escribió:
>
> Ok, not an hour, but 15 minutes 
>
> 1) Delete your public_html/Belchertown/NOAA files (either in /home/weewx, 
> or /var/www). The skin will re-create these. 
>
> 2) Download the raw version of this file and put it in 
> bin/user/belchertown_highchartsSearchX.py. 
> https://github.com/poblabs/weewx-belchertown/blob/b7f5762f8d9087bf90f90108d13defec6fb9de74/bin/user/belchertown_highchartsSearchX.py
>
> This fixed my issue I saw which is the same you have, and made no 
> difference on my other machines that did not have the issue. 
>
> The machine that had the issue, it took about 35 seconds to complete. 
> After that it was faster. 
>
> Let me know. 
>
> On Monday, September 3, 2018 at 2:36:20 PM UTC-4, Pat wrote:
>
> That is because of this error. I hope to have a fix in 1 hour then you can 
> test to make sure it is working. 
>
>
> On Monday, September 3, 2018 at 2:29:45 PM UTC-4, Juan Antonio Mosquera 
> wrote:
>
> Ok thanks!...
>
>
> , .
>
> Another thing, I have detected that with the activated extension does not 
> automatically generate the graphs. If I uninstall the extension and restart 
> the service already goes automatically (use WMR300). Greetings and thanks.
>
> El lunes, 3 de septiembre de 2018, 20:11:35 (UTC+2), Pat escribió:
>
> Juan, good news - sort of :) 
>
> I was able to reproduce your error on my 3 year old database. I don't know 
> why it works with the same data on another machine - but I won't worry 
> about that right now. 
>
> I also was able to make it fail with the changes I did this morning. I 
> will work on this now and let you know when it's all set. 
>
> On Monday, September 3, 2018 at 11:18:35 AM UTC-4, Juan Antonio Mosquera 
> wrote:
>
> Hi
>
> My DB... 4 years.
> Sqlite
> Lastest version of weewx (3.8.2).
>
> I try now with new 
>
> ...

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


Re: [weewx-user] Re: Belchertown skin for weewx now available!

2018-09-03 Thread Juan Antonio Mosquera
Now... not finish wee_reports...

And:


Sep 03 21:42:50 meteomontaos weewx[26852]: cheetahgenerator: Generate 
failed with exception ''
Sep 03 21:42:50 meteomontaos weewx[26852]: cheetahgenerator:  Ignoring 
template /etc/weewx/skins/Belchertown/NOAA/NOAA--MM.txt.tmpl
Sep 03 21:42:50 meteomontaos weewx[26852]: cheetahgenerator:  Reason: 
[Errno 2] No such file or directory


Greetings.



El lunes, 3 de septiembre de 2018, 20:51:51 (UTC+2), Pat escribió:
>
> Ok, not an hour, but 15 minutes 
>
> 1) Delete your public_html/Belchertown/NOAA files (either in /home/weewx, 
> or /var/www). The skin will re-create these. 
>
> 2) Download the raw version of this file and put it in 
> bin/user/belchertown_highchartsSearchX.py. 
> https://github.com/poblabs/weewx-belchertown/blob/b7f5762f8d9087bf90f90108d13defec6fb9de74/bin/user/belchertown_highchartsSearchX.py
>
> This fixed my issue I saw which is the same you have, and made no 
> difference on my other machines that did not have the issue. 
>
> The machine that had the issue, it took about 35 seconds to complete. 
> After that it was faster. 
>
> Let me know. 
>
> On Monday, September 3, 2018 at 2:36:20 PM UTC-4, Pat wrote:
>
> That is because of this error. I hope to have a fix in 1 hour then you can 
> test to make sure it is working. 
>
>
> On Monday, September 3, 2018 at 2:29:45 PM UTC-4, Juan Antonio Mosquera 
> wrote:
>
> Ok thanks!...
>
>
> , .
>
> Another thing, I have detected that with the activated extension does not 
> automatically generate the graphs. If I uninstall the extension and restart 
> the service already goes automatically (use WMR300). Greetings and thanks.
>
> El lunes, 3 de septiembre de 2018, 20:11:35 (UTC+2), Pat escribió:
>
> Juan, good news - sort of :) 
>
> I was able to reproduce your error on my 3 year old database. I don't know 
> why it works with the same data on another machine - but I won't worry 
> about that right now. 
>
> I also was able to make it fail with the changes I did this morning. I 
> will work on this now and let you know when it's all set. 
>
> On Monday, September 3, 2018 at 11:18:35 AM UTC-4, Juan Antonio Mosquera 
> wrote:
>
> Hi
>
> My DB... 4 years.
> Sqlite
> Lastest version of weewx (3.8.2).
>
> I try now with new belchertown_highchartsSearchX.py and:
>
> wee_reports... not finished.never..
>
> pi@meteomontaos:~ $ sudo wee_reports
> Using configuration file /etc/weewx/weewx.conf
> Generating for all time
>  
>
> and no errors in log.
>
> Greetings and thanks.
>
> El lunes, 3 de septiembre de 2018, 13:39:21 (UTC+2), Pat escribió:
>
> Juan, I'm still struggling with trying to re-create this error. Just 
> curious if you've updated to version 0.6 
> ? I don't think 
> it'll fix anyt
>
> ...

-- 
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: cheetah tag and images

2018-09-03 Thread Pat
My very-quick-no-research reply, I think you may want 
$current.windDir.ordinal_compass

Hopefully that gets Mr. Cheetah into doing what you want to do.


On Monday, September 3, 2018 at 1:38:16 PM UTC-4, Linda Eriksson wrote:
>
> I'm trying to make a sorta minimalistic skin for a tablet that will be 
> mounted on the wall. As it's an old 7", and I want as much relevant info as 
> possible at a glance, without it being cramped up, whilst still legible for 
> my parents without glasses, I'm trying to save space wherever it seems 
> reasonable.
> Currently, I have gotten stuck on an issue related to my inexperience with 
> real coding.
> I'm trying to use an image of an arrow for wind direction (well, 16 images 
> to be honest), thinking that if '$latest.windDir.ordinal_compass' 
> translates into say NNO, then I'll simply do  src="$latest.windDir.ordinal_compass.png"> and it will turn that into  src="NNO.png">. 
>
> It made perfect sense.. to me at least... but not to mr Cheetah Engine 
> It simply ignores my attempt to be smart, and spits out that there is no 
> such image as $latest.windDir.ordinal_compass.png
>
> Obviously I made something wrong, so basically, where did I do wrong? 
> Should it be doable and I simply have done it wrong, or am I going at it 
> totally wrong and need to do it in a completely different way?
>
>
>

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


Re: [weewx-user] Re: Belchertown skin for weewx now available!

2018-09-03 Thread Pat
Ok, not an hour, but 15 minutes 

1) Delete your public_html/Belchertown/NOAA files (either in /home/weewx, 
or /var/www). The skin will re-create these. 

2) Download the raw version of this file and put it in 
bin/user/belchertown_highchartsSearchX.py. 
https://github.com/poblabs/weewx-belchertown/blob/b7f5762f8d9087bf90f90108d13defec6fb9de74/bin/user/belchertown_highchartsSearchX.py

This fixed my issue I saw which is the same you have, and made no 
difference on my other machines that did not have the issue. 

The machine that had the issue, it took about 35 seconds to complete. After 
that it was faster. 

Let me know. 

On Monday, September 3, 2018 at 2:36:20 PM UTC-4, Pat wrote:
>
> That is because of this error. I hope to have a fix in 1 hour then you can 
> test to make sure it is working. 
>
>
> On Monday, September 3, 2018 at 2:29:45 PM UTC-4, Juan Antonio Mosquera 
> wrote:
>
> Ok thanks!...
>
>
> , .
>
> Another thing, I have detected that with the activated extension does not 
> automatically generate the graphs. If I uninstall the extension and restart 
> the service already goes automatically (use WMR300). Greetings and thanks.
>
> El lunes, 3 de septiembre de 2018, 20:11:35 (UTC+2), Pat escribió:
>
> Juan, good news - sort of :) 
>
> I was able to reproduce your error on my 3 year old database. I don't know 
> why it works with the same data on another machine - but I won't worry 
> about that right now. 
>
> I also was able to make it fail with the changes I did this morning. I 
> will work on this now and let you know when it's all set. 
>
> On Monday, September 3, 2018 at 11:18:35 AM UTC-4, Juan Antonio Mosquera 
> wrote:
>
> Hi
>
> My DB... 4 years.
> Sqlite
> Lastest version of weewx (3.8.2).
>
> I try now with new belchertown_highchartsSearchX.py and:
>
> wee_reports... not finished.never..
>
> pi@meteomontaos:~ $ sudo wee_reports
> Using configuration file /etc/weewx/weewx.conf
> Generating for all time
>  
>
> and no errors in log.
>
> Greetings and thanks.
>
> El lunes, 3 de septiembre de 2018, 13:39:21 (UTC+2), Pat escribió:
>
> Juan, I'm still struggling with trying to re-create this error. Just 
> curious if you've updated to version 0.6 
> ? I don't think 
> it'll fix anything, but I'd like to see if you're on the latest version. If 
> so, set debug = 1 in weewx.conf, and post the log reports. I need to see 
> everything after the log line: "Belchertown Extension: version 0.6"
>
> Some more questions:
>
>1. How old is your database?
>2. What type of database are you using (mysql, sqlite)?
>3. What version of weewx?
>
> If you'd like, you can open a new issue on the GitHub skin repo 
> , so that way your 
> messages don't get lost in this thread and we can work together on the 
> issue. 
>
>
>
> On Monday, September 3, 2018 at 2:00:53
>
> ...

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


Re: [weewx-user] Re: Belchertown skin for weewx now available!

2018-09-03 Thread Pat
That is because of this error. I hope to have a fix in 1 hour then you can 
test to make sure it is working. 


On Monday, September 3, 2018 at 2:29:45 PM UTC-4, Juan Antonio Mosquera 
wrote:
>
> Ok thanks!...
>
>
> , .
>
> Another thing, I have detected that with the activated extension does not 
> automatically generate the graphs. If I uninstall the extension and restart 
> the service already goes automatically (use WMR300). Greetings and thanks.
>
> El lunes, 3 de septiembre de 2018, 20:11:35 (UTC+2), Pat escribió:
>
> Juan, good news - sort of :) 
>
> I was able to reproduce your error on my 3 year old database. I don't know 
> why it works with the same data on another machine - but I won't worry 
> about that right now. 
>
> I also was able to make it fail with the changes I did this morning. I 
> will work on this now and let you know when it's all set. 
>
> On Monday, September 3, 2018 at 11:18:35 AM UTC-4, Juan Antonio Mosquera 
> wrote:
>
> Hi
>
> My DB... 4 years.
> Sqlite
> Lastest version of weewx (3.8.2).
>
> I try now with new belchertown_highchartsSearchX.py and:
>
> wee_reports... not finished.never..
>
> pi@meteomontaos:~ $ sudo wee_reports
> Using configuration file /etc/weewx/weewx.conf
> Generating for all time
>  
>
> and no errors in log.
>
> Greetings and thanks.
>
> El lunes, 3 de septiembre de 2018, 13:39:21 (UTC+2), Pat escribió:
>
> Juan, I'm still struggling with trying to re-create this error. Just 
> curious if you've updated to version 0.6 
> ? I don't think 
> it'll fix anything, but I'd like to see if you're on the latest version. If 
> so, set debug = 1 in weewx.conf, and post the log reports. I need to see 
> everything after the log line: "Belchertown Extension: version 0.6"
>
> Some more questions:
>
>1. How old is your database?
>2. What type of database are you using (mysql, sqlite)?
>3. What version of weewx?
>
> If you'd like, you can open a new issue on the GitHub skin repo 
> , so that way your 
> messages don't get lost in this thread and we can work together on the 
> issue. 
>
>
>
> On Monday, September 3, 2018 at 2:00:53 AM UTC-4, Juan Antonio Mosquera 
> wrote:
>
> I'm still having the same problem. Had not been solved already in 
> previous versions? I would like to try this skin ... but I can not.
>
> El jueves, 30 de agosto de 2018, 20:14:47 (UTC+2), Pat escribió:
>
> Juan, how did you install weewx? APT/YUM or setup.py?
>
> On Thursday, August 30, 2018 at 2:27:32 AM UTC-4, Juan Antonio Mosquera 
> wrote:
>
> Hi, my steps>
>
> pi@meteomontaos:~ $ sudo vim /etc/weewx/weewx.conf
> pi@meteomontaos:~ $ sudo wee_extension --install 
> weewx-belchertown-0.5.tar.gz
> Request to install 'weewx-belchertown-0.5.tar.gz'
> Extracting from tar archive weewx-belchertown-0.5.tar.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.
For more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] Re: Belchertown skin for weewx now available!

2018-09-03 Thread Juan Antonio Mosquera
Ok thanks!...


, .

Another thing, I have detected that with the activated extension does not 
automatically generate the graphs. If I uninstall the extension and restart 
the service already goes automatically (use WMR300). Greetings and thanks.

El lunes, 3 de septiembre de 2018, 20:11:35 (UTC+2), Pat escribió:
>
> Juan, good news - sort of :) 
>
> I was able to reproduce your error on my 3 year old database. I don't know 
> why it works with the same data on another machine - but I won't worry 
> about that right now. 
>
> I also was able to make it fail with the changes I did this morning. I 
> will work on this now and let you know when it's all set. 
>
> On Monday, September 3, 2018 at 11:18:35 AM UTC-4, Juan Antonio Mosquera 
> wrote:
>
> Hi
>
> My DB... 4 years.
> Sqlite
> Lastest version of weewx (3.8.2).
>
> I try now with new belchertown_highchartsSearchX.py and:
>
> wee_reports... not finished.never..
>
> pi@meteomontaos:~ $ sudo wee_reports
> Using configuration file /etc/weewx/weewx.conf
> Generating for all time
>  
>
> and no errors in log.
>
> Greetings and thanks.
>
> El lunes, 3 de septiembre de 2018, 13:39:21 (UTC+2), Pat escribió:
>
> Juan, I'm still struggling with trying to re-create this error. Just 
> curious if you've updated to version 0.6 
> ? I don't think 
> it'll fix anything, but I'd like to see if you're on the latest version. If 
> so, set debug = 1 in weewx.conf, and post the log reports. I need to see 
> everything after the log line: "Belchertown Extension: version 0.6"
>
> Some more questions:
>
>1. How old is your database?
>2. What type of database are you using (mysql, sqlite)?
>3. What version of weewx?
>
> If you'd like, you can open a new issue on the GitHub skin repo 
> , so that way your 
> messages don't get lost in this thread and we can work together on the 
> issue. 
>
>
>
> On Monday, September 3, 2018 at 2:00:53 AM UTC-4, Juan Antonio Mosquera 
> wrote:
>
> I'm still having the same problem. Had not been solved already in 
> previous versions? I would like to try this skin ... but I can not.
>
> El jueves, 30 de agosto de 2018, 20:14:47 (UTC+2), Pat escribió:
>
> Juan, how did you install weewx? APT/YUM or setup.py?
>
> On Thursday, August 30, 2018 at 2:27:32 AM UTC-4, Juan Antonio Mosquera 
> wrote:
>
> Hi, my steps>
>
> pi@meteomontaos:~ $ sudo vim /etc/weewx/weewx.conf
> pi@meteomontaos:~ $ sudo wee_extension --install 
> weewx-belchertown-0.5.tar.gz
> Request to install 'weewx-belchertown-0.5.tar.gz'
> Extracting from tar archive weewx-belchertown-0.5.tar.gz
> Saving installer file to /usr/share/weewx/user/installer/Belchertown
> Saved configuration dictionary. Backup copy at 
> /etc/weewx/weewx.conf.20180830075700
> Finished installing extension 'weewx-belchertown-0.5.tar.gz'
> pi@meteomontaos:~ $ sudo wee_extension --list
> Extension NameVersion   Description
> Belchertown   0.1   A clean modern skin with real time streaming 
> updates and interactive charts. Modeled after BelchertownWeather.com
> csv   0.5   Emit loop or archive data in CSV format.
> pi@meteomontaos:~ $ sudo vim /etc/weewx/weewx.conf
> pi@meteomontaos:~ $ sudo service weewx stop
> pi@meteomontaos:~ $ sudo service weewx start
> pi@meteomontaos:~ $ sudo journalctl -f
>
>
> Change your .py and result>
>
>
> Aug 30 08:25:41 meteomontaos weewx[11275]: reportengine: Caught 
> unrecoverable exception in generator weewx.cheetahgenerator.CheetahGenerator
> Aug 30 08:25:41 meteomontaos weewx[11275]:   start time (1514674800) 
> is greater than stop time (1420066800)
> Aug 30 08:25:41 meteomontaos weewx[11275]:   Traceback (most recent 
> call last):
> Aug 30 08:25:41 meteomontaos weewx[11275]: File 
> "/usr/share/weewx/weewx/reportengine.py", line 239, in run
> Aug 30 08:25:41 meteomontaos weewx[11275]:   obj.start()
> Aug 30 08:25:41 meteomontaos weewx[11275]: File 
> "/usr/share/weewx/weewx/reportengine.py", line 273, in start
> Aug 30 08:25:41 meteomontaos weewx[11275]:   self.run()
> Aug 30 08:25:41 meteomontaos weewx[11275]: File 
> "/usr/share/weewx/weewx/cheetahgenerator.py", line 158, in run
> Aug 30 08:25:41 meteomontaos weewx[11275]:   ngen = 
> self.generate(gen_dict[section_name], self.gen_ts)
> Aug 30 08:25:41 meteomontaos weewx[11275]: File 
> "/usr/share/weewx/weewx/cheetahge
>
> ...

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


Re: [weewx-user] Re: Belchertown skin for weewx now available!

2018-09-03 Thread Pat
Juan, good news - sort of :) 

I was able to reproduce your error on my 3 year old database. I don't know 
why it works with the same data on another machine - but I won't worry 
about that right now. 

I also was able to make it fail with the changes I did this morning. I will 
work on this now and let you know when it's all set. 

On Monday, September 3, 2018 at 11:18:35 AM UTC-4, Juan Antonio Mosquera 
wrote:
>
> Hi
>
> My DB... 4 years.
> Sqlite
> Lastest version of weewx (3.8.2).
>
> I try now with new belchertown_highchartsSearchX.py and:
>
> wee_reports... not finished.never..
>
> pi@meteomontaos:~ $ sudo wee_reports
> Using configuration file /etc/weewx/weewx.conf
> Generating for all time
>  
>
> and no errors in log.
>
> Greetings and thanks.
>
> El lunes, 3 de septiembre de 2018, 13:39:21 (UTC+2), Pat escribió:
>
> Juan, I'm still struggling with trying to re-create this error. Just 
> curious if you've updated to version 0.6 
> ? I don't think 
> it'll fix anything, but I'd like to see if you're on the latest version. If 
> so, set debug = 1 in weewx.conf, and post the log reports. I need to see 
> everything after the log line: "Belchertown Extension: version 0.6"
>
> Some more questions:
>
>1. How old is your database?
>2. What type of database are you using (mysql, sqlite)?
>3. What version of weewx?
>
> If you'd like, you can open a new issue on the GitHub skin repo 
> , so that way your 
> messages don't get lost in this thread and we can work together on the 
> issue. 
>
>
>
> On Monday, September 3, 2018 at 2:00:53 AM UTC-4, Juan Antonio Mosquera 
> wrote:
>
> I'm still having the same problem. Had not been solved already in 
> previous versions? I would like to try this skin ... but I can not.
>
> El jueves, 30 de agosto de 2018, 20:14:47 (UTC+2), Pat escribió:
>
> Juan, how did you install weewx? APT/YUM or setup.py?
>
> On Thursday, August 30, 2018 at 2:27:32 AM UTC-4, Juan Antonio Mosquera 
> wrote:
>
> Hi, my steps>
>
> pi@meteomontaos:~ $ sudo vim /etc/weewx/weewx.conf
> pi@meteomontaos:~ $ sudo wee_extension --install 
> weewx-belchertown-0.5.tar.gz
> Request to install 'weewx-belchertown-0.5.tar.gz'
> Extracting from tar archive weewx-belchertown-0.5.tar.gz
> Saving installer file to /usr/share/weewx/user/installer/Belchertown
> Saved configuration dictionary. Backup copy at 
> /etc/weewx/weewx.conf.20180830075700
> Finished installing extension 'weewx-belchertown-0.5.tar.gz'
> pi@meteomontaos:~ $ sudo wee_extension --list
> Extension NameVersion   Description
> Belchertown   0.1   A clean modern skin with real time streaming 
> updates and interactive charts. Modeled after BelchertownWeather.com
> csv   0.5   Emit loop or archive data in CSV format.
> pi@meteomontaos:~ $ sudo vim /etc/weewx/weewx.conf
> pi@meteomontaos:~ $ sudo service weewx stop
> pi@meteomontaos:~ $ sudo service weewx start
> pi@meteomontaos:~ $ sudo journalctl -f
>
>
> Change your .py and result>
>
>
> Aug 30 08:25:41 meteomontaos weewx[11275]: reportengine: Caught 
> unrecoverable exception in generator weewx.cheetahgenerator.CheetahGenerator
> Aug 30 08:25:41 meteomontaos weewx[11275]:   start time (1514674800) 
> is greater than stop time (1420066800)
> Aug 30 08:25:41 meteomontaos weewx[11275]:   Traceback (most recent 
> call last):
> Aug 30 08:25:41 meteomontaos weewx[11275]: File 
> "/usr/share/weewx/weewx/reportengine.py", line 239, in run
> Aug 30 08:25:41 meteomontaos weewx[11275]:   obj.start()
> Aug 30 08:25:41 meteomontaos weewx[11275]: File 
> "/usr/share/weewx/weewx/reportengine.py", line 273, in start
> Aug 30 08:25:41 meteomontaos weewx[11275]:   self.run()
> Aug 30 08:25:41 meteomontaos weewx[11275]: File 
> "/usr/share/weewx/weewx/cheetahgenerator.py", line 158, in run
> Aug 30 08:25:41 meteomontaos weewx[11275]:   ngen = 
> self.generate(gen_dict[section_name], self.gen_ts)
> Aug 30 08:25:41 meteomontaos weewx[11275]: File 
> "/usr/share/weewx/weewx/cheetahgenerator.py", line 232, in generate
> Aug 30 08:25:41 meteomontaos weewx[11275]:   ngen += 
> self.generate(section[subsection], gen_ts)
> Aug 30 08:25:41 meteomontaos weewx[11275]: File 
> "/usr/share/weewx/weewx/cheetahgenerator.py", line 232, in generate
> Aug 30 08:25:41 meteomontaos weewx[11275]:   ngen += 
> self.generate(section[subsection], gen_ts)
> Aug 30 08:25:41 meteomontaos weewx[11275]: File 
> "/usr/share/weewx/weewx/cheetahgenerator.py", line 320, in generate
> Aug 30 08:25:41 meteomontaos weewx[11275]:   default_binding)
> Aug 30 08:25:41 meteomontaos weewx[11275]: File 
> "/usr/share/weewx/weewx/cheetahgenerator.py", line 372, in _getSearchList
> Aug 30 08:25:41 meteomontaos weewx[11275]:   searchList += 
> obj.get_extension_list(timespan, 

[weewx-user] cheetah tag and images

2018-09-03 Thread Linda Eriksson
I'm trying to make a sorta minimalistic skin for a tablet that will be 
mounted on the wall. As it's an old 7", and I want as much relevant info as 
possible at a glance, without it being cramped up, whilst still legible for 
my parents without glasses, I'm trying to save space wherever it seems 
reasonable.
Currently, I have gotten stuck on an issue related to my inexperience with 
real coding.
I'm trying to use an image of an arrow for wind direction (well, 16 images 
to be honest), thinking that if '$latest.windDir.ordinal_compass' 
translates into say NNO, then I'll simply do  and it will turn that into . 

It made perfect sense.. to me at least... but not to mr Cheetah Engine 
It simply ignores my attempt to be smart, and spits out that there is no 
such image as $latest.windDir.ordinal_compass.png

Obviously I made something wrong, so basically, where did I do wrong? 
Should it be doable and I simply have done it wrong, or am I going at it 
totally wrong and need to do it in a completely different way?


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


Re: [weewx-user] XML Data Import

2018-09-03 Thread wetterbbb
Dear Liz,
the current issue is the import of the "realtime" XML data to Weewx.
The Hardware Controller from Weatherstation  does provide all Sensor data 
as XML File via Ethernet.

This means i "need" a driver for data import. Function: Weewx does read the 
XML File 1/min.
"That's all"
I do not have found any solution about this.

For better imagination i have attached the Controller XML File

Can anybody send me a sample how can i do that?

Many Thanks!

On Sunday, September 2, 2018 at 6:14:15 AM UTC+2, Liz wrote:
>
> On Wed, 29 Aug 2018 10:59:22 -0700 (PDT) 
> wett...@gmail.com  wrote: 
>
> > Hello Thomas, 
> > many thanks for your message. 
> > 
> > Yes, i will import the XML file of a piece of Hardware but "watch"is 
> > not required . The import in a fix intervall (1x per Min) is perfect. 
> > I am not a Py Guy and a litte bit helpless how can i sove the XML 
> > import. 
> > 
> > Can anybody help me? 
> > 
> > Thanks! 
>
>
> I am not able to understand what you are trying to do, and so cannot 
> even think about what you want to do, and how to help. 
>
> Can you write out a more complete explanation of your situation, and 
> where you are stuck? 
>
> Liz 
>

-- 
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.


devicexml.xml
Description: XML document


Re: [weewx-user] Re: Belchertown skin for weewx now available!

2018-09-03 Thread Philip Kutzenco
Pat,

OK. I'm making progress. I put in about.inc and records.inc files.

Now I am seeing a number of errors. Syslog output with debug=1 is attached. 

1. First it says I'm getting errors from the Cheetahgenerator saying that 
it is ignoring index.html.tmpl in the Belchertown records directory because 
no column called wind exists.
2. Later errors say it is ignoring index.html.tmpl because 
/home/weewx/skins/Standard/header.html.tmpl doesn't exist.
3. Finally report generation is exceeding my 5 minute archive time and I 
get errors saying report thread not start because of an existing one. 

Regarding 3. I remember reading something about excessive report time in 
the thread on weewx-user, but couldn't find the particular post just now.

I hope you can point me in the right direction. I did get one web page 
generated that looked nice, but it didn't get updated.

Phil



On Monday, September 3, 2018 at 7:30:42 AM UTC-4, Pat wrote:
>
> Hi Phil, 
>
> Your post actually made me update the readme to be a little more clearer 
> :) 
>
> T 
> here
>  
> are about.inc 
> 
>  
> and records.inc 
> 
>  
> samples in the GitHub. I'll update the readme with those links for future 
> reference. 
>
> Sadly, the installer seems basic at this point in time where it'll 
> overwrite everything you have listed to install. So this was a work-around 
> for the time being. 
>
>
> On Sunday, September 2, 2018 at 9:47:49 PM UTC-4, Philip Kutzenco wrote:
>
> Pat,
> Ah. When I downloaded the skin from GitHub this afternoon (US Eastern 
> time), I also printed out a copy of the README.md. It's listed as being 
> created 3 days ago. That version has a section called "Customizing About 
> Page and Records Page" which says create (or edit) the about.inc and 
> records.inc files.
>
> It looks like I printed that shortly before you updated it :-). The 
> section in the new version is called "Creating About Page and Records Page" 
> and has a line that says in version 0.6+ you need to create these files if 
> you are installing the skin for the first time.
>
> I'll create those files. BTW, I know you suggest looking at 
> www.BelchertownWeather.com for examples of what they can contain. You may 
> want to post starter files on GitHub, though, for those just starting out 
> to download and use.
>
> Thanks.
> Phil
>
> On Sunday, September 2, 2018 at 7:30:21 PM UTC-4, Pat wrote:
>
> Looks like you may have skipped this step 
> 
> .
>
> On Sunday, September 2, 2018 at 5:05:54 PM UTC-4, Philip Kutzenco wrote:
>
> Pat,
>
> I finally got a chance to install your skin (V 0.6). And I'm seeing 
> errors: What have I done wrong?
>
> Phil
>
> Sep  2 16:46:22 WeeWX-pi weewx[24513]: manager: Added record 2018-09-02 
> 16:35:00 EDT (1535920500) to database 'weewx.sdb'
> Sep  2 16:46:22 WeeWX-pi weewx[24513]: manager: Added record 2018-09-02 
> 16:35:00 EDT (1535920500) to daily summary in 'weewx.sdb'
> Sep  2 16:46:22 WeeWX-pi weewx[24513]: manager: Added record 2018-09-02 
> 16:40:00 EDT (1535920800) to database 'weewx.sdb'
> Sep  2 16:46:22 WeeWX-pi weewx[24513]: forecast: ZambrettiThread: 
> Zambretti: generated 1 forecast record
> Sep  2 16:46:22 WeeWX-pi weewx[24513]: forecast: ZambrettiThread: 
> Zambretti: saved 1 forecast records
> Sep  2 16:46:22 WeeWX-pi weewx[24513]: forecast: ZambrettiThread: 
> Zambretti: deleted forecasts prior to 1535316382
> Sep  2 16:46:22 WeeWX-pi weewx[24513]: manager: Added record 2018-09-02 
> 16:40:00 EDT (1535920800) to daily summary in 'weewx.sdb'
> Sep  2 16:46:22 WeeWX-pi weewx[24513]: manager: Added record 2018-09-02 
> 16:45:00 EDT (1535921100) to database 'weewx.sdb'
> Sep  2 16:46:22 WeeWX-pi weewx[24513]: manager: Added record 2018-09-02 
> 16:45:00 EDT
>
> ...

-- 
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.
Sep  3 10:47:18 WeeWX-pi weewx[413]: engine: Using configuration file 
/home/weewx/weewx.conf
Sep  3 10:47:18 WeeWX-pi weewx[413]: engine: Debug is 1
Sep  3 10:47:18 WeeWX-pi weewx[413]: engine: Initializing engine
Sep  3 10:47:18 WeeWX-pi weewx[413]: engine: Loading station type Vantage 
(weewx.drivers.vantage)
Sep  3 10:47:18 WeeWX-pi dhcpcd[263]: wlan0: soliciting an IPv6 router
Sep  3 10:47:18 WeeWX-pi weewx[413]: vantage: Driver version is 3.0.11
Sep  3 10:47:18 WeeWX-pi weewx[413]: vantage: Opened up serial port 
/dev/ttyUSB0; baud 19200; timeout 4.00
Sep  3 10:47:18 WeeWX-pi weewx[413]: vantage: Gentle wake up of console 

Re: [weewx-user] Re: Belchertown skin for weewx now available!

2018-09-03 Thread Pat O'Brien
Did you try from github or the attachment? The GitHub is newer.

On Mon, Sep 3, 2018, 11:18 AM Juan Antonio Mosquera <
juanantoniomosqu...@juanantoniomosquera.com> wrote:

> Hi
>
> My DB... 4 years.
> Sqlite
> Lastest version of weewx (3.8.2).
>
> I try now with new belchertown_highchartsSearchX.py and:
>
> wee_reports... not finished.never..
>
> pi@meteomontaos:~ $ sudo wee_reports
> Using configuration file /etc/weewx/weewx.conf
> Generating for all time
>
>
> and no errors in log.
>
> Greetings and thanks.
>
> El lunes, 3 de septiembre de 2018, 13:39:21 (UTC+2), Pat escribió:
>>
>> Juan, I'm still struggling with trying to re-create this error. Just
>> curious if you've updated to version 0.6
>> ? I don't think
>> it'll fix anything, but I'd like to see if you're on the latest version. If
>> so, set debug = 1 in weewx.conf, and post the log reports. I need to see
>> everything after the log line: "Belchertown Extension: version 0.6"
>>
>> Some more questions:
>>
>>1. How old is your database?
>>2. What type of database are you using (mysql, sqlite)?
>>3. What version of weewx?
>>
>> If you'd like, you can open a new issue on the GitHub skin repo
>> , so that way your
>> messages don't get lost in this thread and we can work together on the
>> issue.
>>
>>
>>
>> On Monday, September 3, 2018 at 2:00:53 AM UTC-4, Juan Antonio Mosquera
>> wrote:
>>
>> I'm still having the same problem. Had not been solved already in
>> previous versions? I would like to try this skin ... but I can not.
>>
>> El jueves, 30 de agosto de 2018, 20:14:47 (UTC+2), Pat escribió:
>>
>> Juan, how did you install weewx? APT/YUM or setup.py?
>>
>> On Thursday, August 30, 2018 at 2:27:32 AM UTC-4, Juan Antonio Mosquera
>> wrote:
>>
>> Hi, my steps>
>>
>> pi@meteomontaos:~ $ sudo vim /etc/weewx/weewx.conf
>> pi@meteomontaos:~ $ sudo wee_extension --install
>> weewx-belchertown-0.5.tar.gz
>> Request to install 'weewx-belchertown-0.5.tar.gz'
>> Extracting from tar archive weewx-belchertown-0.5.tar.gz
>> Saving installer file to /usr/share/weewx/user/installer/Belchertown
>> Saved configuration dictionary. Backup copy at
>> /etc/weewx/weewx.conf.20180830075700
>> Finished installing extension 'weewx-belchertown-0.5.tar.gz'
>> pi@meteomontaos:~ $ sudo wee_extension --list
>> Extension NameVersion   Description
>> Belchertown   0.1   A clean modern skin with real time streaming
>> updates and interactive charts. Modeled after BelchertownWeather.com
>> csv   0.5   Emit loop or archive data in CSV format.
>> pi@meteomontaos:~ $ sudo vim /etc/weewx/weewx.conf
>> pi@meteomontaos:~ $ sudo service weewx stop
>> pi@meteomontaos:~ $ sudo service weewx start
>> pi@meteomontaos:~ $ sudo journalctl -f
>>
>>
>> Change your .py and result>
>>
>>
>> Aug 30 08:25:41 meteomontaos weewx[11275]: reportengine: Caught
>> unrecoverable exception in generator weewx.cheetahgenerator.CheetahGenerator
>> Aug 30 08:25:41 meteomontaos weewx[11275]:   start time (1514674800)
>> is greater than stop time (1420066800)
>> Aug 30 08:25:41 meteomontaos weewx[11275]:   Traceback (most recent
>> call last):
>> Aug 30 08:25:41 meteomontaos weewx[11275]: File
>> "/usr/share/weewx/weewx/reportengine.py", line 239, in run
>> Aug 30 08:25:41 meteomontaos weewx[11275]:   obj.start()
>> Aug 30 08:25:41 meteomontaos weewx[11275]: File
>> "/usr/share/weewx/weewx/reportengine.py", line 273, in start
>> Aug 30 08:25:41 meteomontaos weewx[11275]:   self.run()
>> Aug 30 08:25:41 meteomontaos weewx[11275]: File
>> "/usr/share/weewx/weewx/cheetahgenerator.py", line 158, in run
>> Aug 30 08:25:41 meteomontaos weewx[11275]:   ngen =
>> self.generate(gen_dict[section_name], self.gen_ts)
>> Aug 30 08:25:41 meteomontaos weewx[11275]: File
>> "/usr/share/weewx/weewx/cheetahgenerator.py", line 232, in generate
>> Aug 30 08:25:41 meteomontaos weewx[11275]:   ngen +=
>> self.generate(section[subsection], gen_ts)
>> Aug 30 08:25:41 meteomontaos weewx[11275]: File
>> "/usr/share/weewx/weewx/cheetahgenerator.py", line 232, in generate
>> Aug 30 08:25:41 meteomontaos weewx[11275]:   ngen +=
>> self.generate(section[subsection], gen_ts)
>> Aug 30 08:25:41 meteomontaos weewx[11275]: File
>> "/usr/share/weewx/weewx/cheetahgenerator.py", line 320, in generate
>> Aug 30 08:25:41 meteomontaos weewx[11275]:   default_binding)
>> Aug 30 08:25:41 meteomontaos weewx[11275]: File
>> "/usr/share/weewx/weewx/cheetahgenerator.py", line 372, in _getSearchList
>> Aug 30 08:25:41 meteomontaos weewx[11275]:   searchList +=
>> obj.get_extension_list(timespan, db_lookup)
>> Aug 30 08:25:41 meteomontaos weewx[11275]: File
>> "/usr/share/weewx/user/belchertown_highchartsSearchX.py", line 1350, in
>> get_extension_list
>> Aug 30 08:25:41 

Re: [weewx-user] Re: Belchertown skin for weewx now available!

2018-09-03 Thread Juan Antonio Mosquera
Hi

My DB... 4 years.
Sqlite
Lastest version of weewx (3.8.2).

I try now with new belchertown_highchartsSearchX.py and:

wee_reports... not finished.never..

pi@meteomontaos:~ $ sudo wee_reports
Using configuration file /etc/weewx/weewx.conf
Generating for all time
 

and no errors in log.

Greetings and thanks.

El lunes, 3 de septiembre de 2018, 13:39:21 (UTC+2), Pat escribió:
>
> Juan, I'm still struggling with trying to re-create this error. Just 
> curious if you've updated to version 0.6 
> ? I don't think 
> it'll fix anything, but I'd like to see if you're on the latest version. If 
> so, set debug = 1 in weewx.conf, and post the log reports. I need to see 
> everything after the log line: "Belchertown Extension: version 0.6"
>
> Some more questions:
>
>1. How old is your database?
>2. What type of database are you using (mysql, sqlite)?
>3. What version of weewx?
>
> If you'd like, you can open a new issue on the GitHub skin repo 
> , so that way your 
> messages don't get lost in this thread and we can work together on the 
> issue. 
>
>
>
> On Monday, September 3, 2018 at 2:00:53 AM UTC-4, Juan Antonio Mosquera 
> wrote:
>
> I'm still having the same problem. Had not been solved already in 
> previous versions? I would like to try this skin ... but I can not.
>
> El jueves, 30 de agosto de 2018, 20:14:47 (UTC+2), Pat escribió:
>
> Juan, how did you install weewx? APT/YUM or setup.py?
>
> On Thursday, August 30, 2018 at 2:27:32 AM UTC-4, Juan Antonio Mosquera 
> wrote:
>
> Hi, my steps>
>
> pi@meteomontaos:~ $ sudo vim /etc/weewx/weewx.conf
> pi@meteomontaos:~ $ sudo wee_extension --install 
> weewx-belchertown-0.5.tar.gz
> Request to install 'weewx-belchertown-0.5.tar.gz'
> Extracting from tar archive weewx-belchertown-0.5.tar.gz
> Saving installer file to /usr/share/weewx/user/installer/Belchertown
> Saved configuration dictionary. Backup copy at 
> /etc/weewx/weewx.conf.20180830075700
> Finished installing extension 'weewx-belchertown-0.5.tar.gz'
> pi@meteomontaos:~ $ sudo wee_extension --list
> Extension NameVersion   Description
> Belchertown   0.1   A clean modern skin with real time streaming 
> updates and interactive charts. Modeled after BelchertownWeather.com
> csv   0.5   Emit loop or archive data in CSV format.
> pi@meteomontaos:~ $ sudo vim /etc/weewx/weewx.conf
> pi@meteomontaos:~ $ sudo service weewx stop
> pi@meteomontaos:~ $ sudo service weewx start
> pi@meteomontaos:~ $ sudo journalctl -f
>
>
> Change your .py and result>
>
>
> Aug 30 08:25:41 meteomontaos weewx[11275]: reportengine: Caught 
> unrecoverable exception in generator weewx.cheetahgenerator.CheetahGenerator
> Aug 30 08:25:41 meteomontaos weewx[11275]:   start time (1514674800) 
> is greater than stop time (1420066800)
> Aug 30 08:25:41 meteomontaos weewx[11275]:   Traceback (most recent 
> call last):
> Aug 30 08:25:41 meteomontaos weewx[11275]: File 
> "/usr/share/weewx/weewx/reportengine.py", line 239, in run
> Aug 30 08:25:41 meteomontaos weewx[11275]:   obj.start()
> Aug 30 08:25:41 meteomontaos weewx[11275]: File 
> "/usr/share/weewx/weewx/reportengine.py", line 273, in start
> Aug 30 08:25:41 meteomontaos weewx[11275]:   self.run()
> Aug 30 08:25:41 meteomontaos weewx[11275]: File 
> "/usr/share/weewx/weewx/cheetahgenerator.py", line 158, in run
> Aug 30 08:25:41 meteomontaos weewx[11275]:   ngen = 
> self.generate(gen_dict[section_name], self.gen_ts)
> Aug 30 08:25:41 meteomontaos weewx[11275]: File 
> "/usr/share/weewx/weewx/cheetahgenerator.py", line 232, in generate
> Aug 30 08:25:41 meteomontaos weewx[11275]:   ngen += 
> self.generate(section[subsection], gen_ts)
> Aug 30 08:25:41 meteomontaos weewx[11275]: File 
> "/usr/share/weewx/weewx/cheetahgenerator.py", line 232, in generate
> Aug 30 08:25:41 meteomontaos weewx[11275]:   ngen += 
> self.generate(section[subsection], gen_ts)
> Aug 30 08:25:41 meteomontaos weewx[11275]: File 
> "/usr/share/weewx/weewx/cheetahgenerator.py", line 320, in generate
> Aug 30 08:25:41 meteomontaos weewx[11275]:   default_binding)
> Aug 30 08:25:41 meteomontaos weewx[11275]: File 
> "/usr/share/weewx/weewx/cheetahgenerator.py", line 372, in _getSearchList
> Aug 30 08:25:41 meteomontaos weewx[11275]:   searchList += 
> obj.get_extension_list(timespan, db_lookup)
> Aug 30 08:25:41 meteomontaos weewx[11275]: File 
> "/usr/share/weewx/user/belchertown_highchartsSearchX.py", line 1350, in 
> get_extension_list
> Aug 30 08:25:41 meteomontaos weewx[11275]:   (time_start_vt, 
> time_stop_vt, outTemp_vt) = db_lookup().getSqlVectors(TimeSpan(_start_ts, 
> timespan.stop), 'outTemp', 'max', 86400)
> Aug 30 08:25:41 meteomontaos weewx[11275]: File 
> "/usr/share/weewx/weeutil/weeutil.py", 

Re: [weewx-user] Re: Belchertown skin for weewx now available!

2018-09-03 Thread Pat
Hi Juan,

I've made a few changes today in an attempt to clear your issue. You can 
view them in commit e81076 

 
and 27f319 

 

Can you please try this new file? Copy the raw contents of this commit 

 
and place it in your bin/user/belchertown_highchartsSearchX.py

I've tested this file on APT install, and setup.py installs, with 3 years 
of database data, and 7 months of database data. All scenarios worked. 
Hoping you have the same result. 

Let me know the results


On Monday, September 3, 2018 at 2:00:53 AM UTC-4, Juan Antonio Mosquera 
wrote:
>
> I'm still having the same problem. Had not been solved already in 
> previous versions? I would like to try this skin ... but I can not.
>

-- 
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: USB write fail and then cannot restart service

2018-09-03 Thread mwall
On Monday, September 3, 2018 at 7:59:46 AM UTC-4, Invisible Man wrote:
>
> This is still happening and so frustrating.
>

what else is plugged into the rpi usb ports?
 

-- 
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] Wind Direction

2018-09-03 Thread Phil Owers
Did some more changes last nite and when I started weeewx afterwards all wind 
directions showed N/A including the current wind direction. When the current 
wind direction changed to ESE all the other historical wind speed / directions 
also changed to ESE.  

-- 
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: USB write fail and then cannot restart service

2018-09-03 Thread Invisible Man
This is still happening and so frustrating.

Sep  3 13:51:07 localhost weewx[9927]: wmr200: MainThread: I driver version 
is 3.3.5
Sep  3 13:51:07 localhost weewx[9927]: wmr200: MainThread: W Unverified 
archive interval:600 sec
Sep  3 13:51:07 localhost weewx[9927]: wmr200: MainThread: I Created 
watchdog thread to poke for live data every 30 seconds
Sep  3 13:51:07 localhost weewx[9927]: wmr200: MainThread: I Created USB 
polling thread to read block on device
Sep  3 13:51:07 localhost weewx[9927]: wmr200: Thread-2: I USB polling 
device thread for live data launched
Sep  3 13:51:07 localhost weewx[9927]: wmr200: MainThread: E write_device() 
Unable to send USB control message error sending control message: Broken 
pipe
Sep  3 13:51:07 localhost weewx[9927]: import of driver failed: error 
sending control message: Broken pipe ()
Sep  3 13:51:07 localhost weewx[9927]: engine: Unable to load driver: error 
sending control message: Broken pipe

Sep  3 13:51:07 localhost weewx[9927]:   Exiting...


Note that i*t did work for an hour or so before failing *and *lsusb sees* 
the weather station:

Bus 001 Device 012: ID 0fde:ca01  <--- weather station
Bus 001 Device 004: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 
Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub



- Weewx 3.8.2
- WMR200, driver v 3.3.5
- Raspbian 8.0 Jessie

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


Re: [weewx-user] Re: Belchertown skin for weewx now available!

2018-09-03 Thread Pat
Juan, try this file that's attached. Place it into your bin/user folder, 
overwriting the old one. 

I changed the way the file gets the beginning of the year's timestamp - 
which I think is the problem you were seeing. 

It works for me on my lab.

*This is a test to see if it works for you. Others may download this if 
they want but this is a test file for Juan. *

On Monday, September 3, 2018 at 7:39:21 AM UTC-4, Pat wrote:
>
> Juan, I'm still struggling with trying to re-create this error. Just 
> curious if you've updated to version 0.6 
> ? I don't think 
> it'll fix anything, but I'd like to see if you're on the latest version. If 
> so, set debug = 1 in weewx.conf, and post the log reports. I need to see 
> everything after the log line: "Belchertown Extension: version 0.6"
>
> Some more questions:
>
>1. How old is your database?
>2. What type of database are you using (mysql, sqlite)?
>3. What version of weewx?
>
> If you'd like, you can open a new issue on the GitHub skin repo 
> , so that way your 
> messages don't get lost in this thread and we can work together on the 
> issue. 
>
>
>
> On Monday, September 3, 2018 at 2:00:53 AM UTC-4, Juan Antonio Mosquera 
> wrote:
>
> I'm still having the same problem. Had not been solved already in 
> previous versions? I would like to try this skin ... but I can not.
>
>

-- 
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.
#
#Copyright (c) 2016 Gary Roderick
#https://github.com/gjr80/weewx-highcharts
#
#See the file LICENSE at the URL above for your full rights.
#
#Revised for the BelchertownWeather.com weewx skin
#Author: Gary Roderick and Pat O'Brien
#

import calendar
import datetime
import time
import weewx
import syslog
import json


from weewx.cheetahgenerator import SearchList
from weeutil.weeutil import TimeSpan, genMonthSpans, startOfInterval, intervalgen
from weeutil.weeutil import intervalgen, archiveDaysAgoSpan
from weewx.units import ValueTuple
from datetime import date
# from user.highcharts import getStatsVectors

def logmsg(level, msg):
syslog.syslog(level, 'highchartsSearchX: %s' % msg)

def logdbg(msg):
logmsg(syslog.LOG_DEBUG, msg)

def loginf(msg):
logmsg(syslog.LOG_INFO, msg)

def logerr(msg):
logmsg(syslog.LOG_ERR, msg)

def roundNone(value, places):
"""round value to 'places' places but also permit a value of None"""
if value is not None:
try:
value = round(value, places)
except Exception, e:
value = None
return value

def roundInt(value, places):
"""round value to 'places' but return as an integer if places=0"""
if places == 0:
value = int(round(value, 0))
else:
value = round(value, places)
return value

def get_ago(dt, d_years=0, d_months=0):
"""Function to return date object holding date d_years and d_months ago."""
# Get year number, month number and day number applying offset as required
_y, _m, _d = dt.year + d_years, dt.month + d_months, dt.day
# Calculate actual month number taking into account EOY rollover
_a, _m = divmod(_m-1, 12)
# Calculate and return date object
return date(_y+_a, _m+1, _d)

def get_today_start_end_time():
start_str = time.strftime("%m/%d/%Y") + " 00:00:00"
end_str = time.strftime("%m/%d/%Y") + " 23:59:59"
start_ts = int(time.mktime(time.strptime(start_str, "%m/%d/%Y %H:%M:%S")))
end_ts = int(time.mktime(time.strptime(end_str, "%m/%d/%Y %H:%M:%S")))
return start_ts, end_ts

def get_year_start_end_time():
start_str = '01/01/%s 00:00:00' % datetime.datetime.now().year
start_ts = int(time.mktime(time.strptime(start_str, "%m/%d/%Y %H:%M:%S")))
end_str = time.strftime("%m/%d/%Y") + " 23:59:59"
end_ts = int(time.mktime(time.strptime(end_str, "%m/%d/%Y %H:%M:%S")))
return start_ts, end_ts

class highchartsDay(SearchList):

def __init__(self, generator):
SearchList.__init__(self, generator)

def get_extension_list(self, timespan, db_lookup):

# First make sure the user wants to use the extension. If not, return right away.
if self.generator.skin_dict['Extras']['highcharts_enabled'] == "0":
# Return an empty SLE
search_list_extension = { }
return [search_list_extension]
   
# Get our start time, 24 hours ago but aligned with the (previous) hour
#_start_ts = startOfInterval(timespan.stop-86400, 3600)
_start_ts, _end_ts = get_today_start_end_time()

stop_struct = time.localtime(_end_ts)
utc_offset = (calendar.timegm(stop_struct) - 

Re: [weewx-user] Re: Belchertown skin for weewx now available!

2018-09-03 Thread Pat
Juan, I'm still struggling with trying to re-create this error. Just 
curious if you've updated to version 0.6 
? I don't think 
it'll fix anything, but I'd like to see if you're on the latest version. If 
so, set debug = 1 in weewx.conf, and post the log reports. I need to see 
everything after the log line: "Belchertown Extension: version 0.6"

Some more questions:

   1. How old is your database?
   2. What type of database are you using (mysql, sqlite)?
   3. What version of weewx?

If you'd like, you can open a new issue on the GitHub skin repo 
, so that way your 
messages don't get lost in this thread and we can work together on the 
issue. 



On Monday, September 3, 2018 at 2:00:53 AM UTC-4, Juan Antonio Mosquera 
wrote:
>
> I'm still having the same problem. Had not been solved already in 
> previous versions? I would like to try this skin ... but I can not.
>
> El jueves, 30 de agosto de 2018, 20:14:47 (UTC+2), Pat escribió:
>
> Juan, how did you install weewx? APT/YUM or setup.py?
>
> On Thursday, August 30, 2018 at 2:27:32 AM UTC-4, Juan Antonio Mosquera 
> wrote:
>
> Hi, my steps>
>
> pi@meteomontaos:~ $ sudo vim /etc/weewx/weewx.conf
> pi@meteomontaos:~ $ sudo wee_extension --install 
> weewx-belchertown-0.5.tar.gz
> Request to install 'weewx-belchertown-0.5.tar.gz'
> Extracting from tar archive weewx-belchertown-0.5.tar.gz
> Saving installer file to /usr/share/weewx/user/installer/Belchertown
> Saved configuration dictionary. Backup copy at 
> /etc/weewx/weewx.conf.20180830075700
> Finished installing extension 'weewx-belchertown-0.5.tar.gz'
> pi@meteomontaos:~ $ sudo wee_extension --list
> Extension NameVersion   Description
> Belchertown   0.1   A clean modern skin with real time streaming 
> updates and interactive charts. Modeled after BelchertownWeather.com
> csv   0.5   Emit loop or archive data in CSV format.
> pi@meteomontaos:~ $ sudo vim /etc/weewx/weewx.conf
> pi@meteomontaos:~ $ sudo service weewx stop
> pi@meteomontaos:~ $ sudo service weewx start
> pi@meteomontaos:~ $ sudo journalctl -f
>
>
> Change your .py and result>
>
>
> Aug 30 08:25:41 meteomontaos weewx[11275]: reportengine: Caught 
> unrecoverable exception in generator weewx.cheetahgenerator.CheetahGenerator
> Aug 30 08:25:41 meteomontaos weewx[11275]:   start time (1514674800) 
> is greater than stop time (1420066800)
> Aug 30 08:25:41 meteomontaos weewx[11275]:   Traceback (most recent 
> call last):
> Aug 30 08:25:41 meteomontaos weewx[11275]: File 
> "/usr/share/weewx/weewx/reportengine.py", line 239, in run
> Aug 30 08:25:41 meteomontaos weewx[11275]:   obj.start()
> Aug 30 08:25:41 meteomontaos weewx[11275]: File 
> "/usr/share/weewx/weewx/reportengine.py", line 273, in start
> Aug 30 08:25:41 meteomontaos weewx[11275]:   self.run()
> Aug 30 08:25:41 meteomontaos weewx[11275]: File 
> "/usr/share/weewx/weewx/cheetahgenerator.py", line 158, in run
> Aug 30 08:25:41 meteomontaos weewx[11275]:   ngen = 
> self.generate(gen_dict[section_name], self.gen_ts)
> Aug 30 08:25:41 meteomontaos weewx[11275]: File 
> "/usr/share/weewx/weewx/cheetahgenerator.py", line 232, in generate
> Aug 30 08:25:41 meteomontaos weewx[11275]:   ngen += 
> self.generate(section[subsection], gen_ts)
> Aug 30 08:25:41 meteomontaos weewx[11275]: File 
> "/usr/share/weewx/weewx/cheetahgenerator.py", line 232, in generate
> Aug 30 08:25:41 meteomontaos weewx[11275]:   ngen += 
> self.generate(section[subsection], gen_ts)
> Aug 30 08:25:41 meteomontaos weewx[11275]: File 
> "/usr/share/weewx/weewx/cheetahgenerator.py", line 320, in generate
> Aug 30 08:25:41 meteomontaos weewx[11275]:   default_binding)
> Aug 30 08:25:41 meteomontaos weewx[11275]: File 
> "/usr/share/weewx/weewx/cheetahgenerator.py", line 372, in _getSearchList
> Aug 30 08:25:41 meteomontaos weewx[11275]:   searchList += 
> obj.get_extension_list(timespan, db_lookup)
> Aug 30 08:25:41 meteomontaos weewx[11275]: File 
> "/usr/share/weewx/user/belchertown_highchartsSearchX.py", line 1350, in 
> get_extension_list
> Aug 30 08:25:41 meteomontaos weewx[11275]:   (time_start_vt, 
> time_stop_vt, outTemp_vt) = db_lookup().getSqlVectors(TimeSpan(_start_ts, 
> timespan.stop), 'outTemp', 'max', 86400)
> Aug 30 08:25:41 meteomontaos weewx[11275]: File 
> "/usr/share/weewx/weeutil/weeutil.py", line 315, in __new__
> Aug 30 08:25:41 meteomontaos weewx[11275]:   raise 
> ValueError("start time (%d) is greater than stop time (%d)" % (args[0], 
> args[1]))
> Aug 30 08:25:41 meteomontaos weewx[11275]:   ValueError: start time 
> (1514674800) is greater than stop time (1420066800)
> Aug 30 08:25:41 meteomontaos weewx[11275]:   Generator terminated
>
>
>
> El miércoles, 29 de agosto de 2018, 17:42:41 

Re: [weewx-user] Re: Belchertown skin for weewx now available!

2018-09-03 Thread Pat
Hi Phil, 

Your post actually made me update the readme to be a little more clearer :) 

T 
here
 
are about.inc 

 
and records.inc 

 
samples in the GitHub. I'll update the readme with those links for future 
reference. 

Sadly, the installer seems basic at this point in time where it'll 
overwrite everything you have listed to install. So this was a work-around 
for the time being. 


On Sunday, September 2, 2018 at 9:47:49 PM UTC-4, Philip Kutzenco wrote:
>
> Pat,
> Ah. When I downloaded the skin from GitHub this afternoon (US Eastern 
> time), I also printed out a copy of the README.md. It's listed as being 
> created 3 days ago. That version has a section called "Customizing About 
> Page and Records Page" which says create (or edit) the about.inc and 
> records.inc files.
>
> It looks like I printed that shortly before you updated it :-). The 
> section in the new version is called "Creating About Page and Records Page" 
> and has a line that says in version 0.6+ you need to create these files if 
> you are installing the skin for the first time.
>
> I'll create those files. BTW, I know you suggest looking at 
> www.BelchertownWeather.com for examples of what they can contain. You may 
> want to post starter files on GitHub, though, for those just starting out 
> to download and use.
>
> Thanks.
> Phil
>
> On Sunday, September 2, 2018 at 7:30:21 PM UTC-4, Pat wrote:
>
> Looks like you may have skipped this step 
> 
> .
>
> On Sunday, September 2, 2018 at 5:05:54 PM UTC-4, Philip Kutzenco wrote:
>
> Pat,
>
> I finally got a chance to install your skin (V 0.6). And I'm seeing 
> errors: What have I done wrong?
>
> Phil
>
> Sep  2 16:46:22 WeeWX-pi weewx[24513]: manager: Added record 2018-09-02 
> 16:35:00 EDT (1535920500) to database 'weewx.sdb'
> Sep  2 16:46:22 WeeWX-pi weewx[24513]: manager: Added record 2018-09-02 
> 16:35:00 EDT (1535920500) to daily summary in 'weewx.sdb'
> Sep  2 16:46:22 WeeWX-pi weewx[24513]: manager: Added record 2018-09-02 
> 16:40:00 EDT (1535920800) to database 'weewx.sdb'
> Sep  2 16:46:22 WeeWX-pi weewx[24513]: forecast: ZambrettiThread: 
> Zambretti: generated 1 forecast record
> Sep  2 16:46:22 WeeWX-pi weewx[24513]: forecast: ZambrettiThread: 
> Zambretti: saved 1 forecast records
> Sep  2 16:46:22 WeeWX-pi weewx[24513]: forecast: ZambrettiThread: 
> Zambretti: deleted forecasts prior to 1535316382
> Sep  2 16:46:22 WeeWX-pi weewx[24513]: manager: Added record 2018-09-02 
> 16:40:00 EDT (1535920800) to daily summary in 'weewx.sdb'
> Sep  2 16:46:22 WeeWX-pi weewx[24513]: manager: Added record 2018-09-02 
> 16:45:00 EDT (1535921100) to database 'weewx.sdb'
> Sep  2 16:46:22 WeeWX-pi weewx[24513]: manager: Added record 2018-09-02 
> 16:45:00 EDT (1535921100) to daily summary in 'weewx.sdb'
> Sep  2 16:46:22 WeeWX-pi weewx[24513]: engine: Starting main packet loop.
> Sep  2 16:49:31 WeeWX-pi systemd[1]: Started Session c31 of user pi.
> Sep  2 16:50:14 WeeWX-pi weewx[24513]: manager: Added record 2018-09-02 
> 16:50:00 EDT (1535921400) to database 'weewx.sdb'
> Sep  2 16:50:15 WeeWX-pi weewx[24513]: manager: Added record 2018-09-02 
> 16:50:00 EDT (1535921400) to daily summary in 'weewx.sdb'
> Sep  2 16:50:37 WeeWX-pi weewx[24513]: cheetahgenerator: Generated 14 
> files for report StandardReport in 22.19 seconds
> Sep  2 16:50:41 WeeWX-pi weewx[24513]: imagegenerator: Generated 12 images 
> for StandardReport in 4.05 seconds
> Sep  2 16:50:41 WeeWX-pi weewx[24513]: copygenerator: copied 14 files to 
> /home/weewx/public_html
> Sep  2 16:50:42 WeeWX-pi weewx[24513]: copygenerator: copied 6 files to 
> /home/weewx/public_html/ss
> Sep  2 16:50:46 WeeWX-pi weewx[24513]: cheetahgenerator: Generated 2 files 
> for report SteelSeries in 4.88 seconds
> Sep  2 16:50:50 WeeWX-pi weewx[24513]: imagegenerator: Generated 11 images 
> for SteelSeries in 3.94 seconds
> Sep  2 16:51:07 WeeWX-pi weewx[24513]: cheetahgenerator: Generated 12 
> files for report forecast in 16.67 seconds
> Sep  2 16:51:07 WeeWX-pi weewx[24513]: copygenerator: copied 87 files to 
> /home/weewx/public_html/forecast
> Sep  2 16:51:08 WeeWX-pi weewx[24513]: Belchertown Extension: version 0.6
> Sep  2 16:55:16 WeeWX-pi weewx[24513]: manager: Added record 2018-09-02 
> 16:55:00 EDT (1535921700) to database 'weewx.sdb'
> Sep  2 16:55:16 WeeWX-pi weewx[24513]: manager: Added record 2018-09-02 
> 16:55:00 EDT (1535921700) to daily summary in '
>
> ...

-- 
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.

[weewx-user] WH4000 (WH3080) changes transmitter ID when it starts to Rain

2018-09-03 Thread Bostjan Potocnik
I have issues with WH4000 (using SDR it's WH3080). When starts to rain 
(almost every time) outside unit for temp, rain, ... changes transmitter ID 
(restarts?).
That causes that WH4000 console loses outside sensor and it sometimes takes 
more than 3hours to connect to externla sensor with new ID again.
I discovered that while troubleshooting wireless connectivity (due to lost 
connectivity when raining) by using SDR. Logs below:

*Jul 22 16:44:29* weewx-sdr weewx-weewx-sdr[578]: sdr: MainThread: 
lines=['{"time" : "2018-07-22 14:44:26", "model" : "Fine Offset Electronics 
WH1080/WH3080 Weather Station", "msg_type" : 0, 
*"id" : 73*, "temperature_C" : 18.900, "humidity" : 86, "direction_str" : 
"N", "direction_deg" : "0", "speed" : 3.672, "gust" : 4.896, *"rain" : 
14.700*, "battery" : "OK"}\n', 
.
.
.
*Jul 22 16:44:41* weewx-sdr weewx-weewx-sdr[578]: sdr: MainThread: 
lines=['{"time" : "2018-07-22 14:44:38", "model" : "Fine Offset Electronics 
WH1080/WH3080 Weather Station", "msg_type" : 0,
* "id" : 151*, "temperature_C" : 18.900, "humidity" : 86, "direction_str" : 
"N", "direction_deg" : "0", "speed" : 0.000, "gust" : 0.000, *"rain" : 
0.000*, "battery" : "OK"}\n']


*Anyone with the same experiences and maybe solutions?*

I have no problems with UV/Lux sensor, that one does not change transmitter 
ID!

Thanks,

Bostjan

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


Re: [weewx-user] Re: Belchertown skin for weewx now available!

2018-09-03 Thread Juan Antonio Mosquera
I'm still having the same problem. Had not been solved already in previous 
versions? I would like to try this skin ... but I can not.

El jueves, 30 de agosto de 2018, 20:14:47 (UTC+2), Pat escribió:
>
> Juan, how did you install weewx? APT/YUM or setup.py?
>
> On Thursday, August 30, 2018 at 2:27:32 AM UTC-4, Juan Antonio Mosquera 
> wrote:
>
> Hi, my steps>
>
> pi@meteomontaos:~ $ sudo vim /etc/weewx/weewx.conf
> pi@meteomontaos:~ $ sudo wee_extension --install 
> weewx-belchertown-0.5.tar.gz
> Request to install 'weewx-belchertown-0.5.tar.gz'
> Extracting from tar archive weewx-belchertown-0.5.tar.gz
> Saving installer file to /usr/share/weewx/user/installer/Belchertown
> Saved configuration dictionary. Backup copy at 
> /etc/weewx/weewx.conf.20180830075700
> Finished installing extension 'weewx-belchertown-0.5.tar.gz'
> pi@meteomontaos:~ $ sudo wee_extension --list
> Extension NameVersion   Description
> Belchertown   0.1   A clean modern skin with real time streaming 
> updates and interactive charts. Modeled after BelchertownWeather.com
> csv   0.5   Emit loop or archive data in CSV format.
> pi@meteomontaos:~ $ sudo vim /etc/weewx/weewx.conf
> pi@meteomontaos:~ $ sudo service weewx stop
> pi@meteomontaos:~ $ sudo service weewx start
> pi@meteomontaos:~ $ sudo journalctl -f
>
>
> Change your .py and result>
>
>
> Aug 30 08:25:41 meteomontaos weewx[11275]: reportengine: Caught 
> unrecoverable exception in generator weewx.cheetahgenerator.CheetahGenerator
> Aug 30 08:25:41 meteomontaos weewx[11275]:   start time (1514674800) 
> is greater than stop time (1420066800)
> Aug 30 08:25:41 meteomontaos weewx[11275]:   Traceback (most recent 
> call last):
> Aug 30 08:25:41 meteomontaos weewx[11275]: File 
> "/usr/share/weewx/weewx/reportengine.py", line 239, in run
> Aug 30 08:25:41 meteomontaos weewx[11275]:   obj.start()
> Aug 30 08:25:41 meteomontaos weewx[11275]: File 
> "/usr/share/weewx/weewx/reportengine.py", line 273, in start
> Aug 30 08:25:41 meteomontaos weewx[11275]:   self.run()
> Aug 30 08:25:41 meteomontaos weewx[11275]: File 
> "/usr/share/weewx/weewx/cheetahgenerator.py", line 158, in run
> Aug 30 08:25:41 meteomontaos weewx[11275]:   ngen = 
> self.generate(gen_dict[section_name], self.gen_ts)
> Aug 30 08:25:41 meteomontaos weewx[11275]: File 
> "/usr/share/weewx/weewx/cheetahgenerator.py", line 232, in generate
> Aug 30 08:25:41 meteomontaos weewx[11275]:   ngen += 
> self.generate(section[subsection], gen_ts)
> Aug 30 08:25:41 meteomontaos weewx[11275]: File 
> "/usr/share/weewx/weewx/cheetahgenerator.py", line 232, in generate
> Aug 30 08:25:41 meteomontaos weewx[11275]:   ngen += 
> self.generate(section[subsection], gen_ts)
> Aug 30 08:25:41 meteomontaos weewx[11275]: File 
> "/usr/share/weewx/weewx/cheetahgenerator.py", line 320, in generate
> Aug 30 08:25:41 meteomontaos weewx[11275]:   default_binding)
> Aug 30 08:25:41 meteomontaos weewx[11275]: File 
> "/usr/share/weewx/weewx/cheetahgenerator.py", line 372, in _getSearchList
> Aug 30 08:25:41 meteomontaos weewx[11275]:   searchList += 
> obj.get_extension_list(timespan, db_lookup)
> Aug 30 08:25:41 meteomontaos weewx[11275]: File 
> "/usr/share/weewx/user/belchertown_highchartsSearchX.py", line 1350, in 
> get_extension_list
> Aug 30 08:25:41 meteomontaos weewx[11275]:   (time_start_vt, 
> time_stop_vt, outTemp_vt) = db_lookup().getSqlVectors(TimeSpan(_start_ts, 
> timespan.stop), 'outTemp', 'max', 86400)
> Aug 30 08:25:41 meteomontaos weewx[11275]: File 
> "/usr/share/weewx/weeutil/weeutil.py", line 315, in __new__
> Aug 30 08:25:41 meteomontaos weewx[11275]:   raise 
> ValueError("start time (%d) is greater than stop time (%d)" % (args[0], 
> args[1]))
> Aug 30 08:25:41 meteomontaos weewx[11275]:   ValueError: start time 
> (1514674800) is greater than stop time (1420066800)
> Aug 30 08:25:41 meteomontaos weewx[11275]:   Generator terminated
>
>
>
> El miércoles, 29 de agosto de 2018, 17:42:41 (UTC+2), Pat escribió:
>
> So you get that error with 0.5? Or you re-install and it is OK now?
>
> On Wednesday, August 29, 2018 at 11:32:36 AM UTC-4, Juan Antonio Mosquera 
> wrote:
>
> I installed 0.5 version... and weewx 3.8.2 running in Raspberry Pi B+. And 
> now... I uninstalled your extension. When extension running OK I install it.
>
> El miércoles, 29 de agosto de 2018, 17:24:27 (UTC+2), Pat escribió:
>
> Juan, which version did you install? This particular error should have 
> been resolved in 0.5 
> . Please upgrade 
> to that version.
>
>
> On Wednesday, August 29, 2018 at 11:16:52 AM UTC-4, Juan Antonio Mosquera 
> wrote:
>
> My result is:
>
>
> Aug 29 17:16:28 meteomontaos wee_reports[4760]: reportengine: Caught 
> unrecoverable exception in generator