Noob question? - Can't see other than the "standard" skin on my webpage. ?

463 views
Skip to first unread message

Alco van Neck

unread,
Jan 3, 2015, 5:14:37 PM1/3/15
to weewx...@googlegroups.com
Hi,

I recently bought a Oregon WMR-88 station and connect it to my raspberry PI with WeeWX on it.
I did a manual installation with the python setup scripts and it works well, you can see it at: http://weather.bluemotica.nl/

I also installed a few skins, I take an example, weewx-WD skin. I installed it with the installer (https://bitbucket.org/ozgreg/weewx-wd/wiki/User%20Instructions#markdown-header-installation-using-the-weewx-extension-installer) and I runs without errors.
I also see the modifications at weewx.conf:

[StdReport]
   
# This section specifies what reports, using which skins, to generate.
   
   
# Where the skins reside, relative to WEEWX_ROOT:
    SKIN_ROOT
= skins
   
   
# Where the generated reports should go, relative to WEEWX_ROOT:
    HTML_ROOT
= public_html
   
   
# The database binding indicates which data should be used in reports
    data_binding
= wx_binding
   
   
# Each subsection represents a report you wish to run.
   
   
[[StandardReport]]
       
# See the customizing guide to change the units, plot types and line
       
# colors, modify the fonts, display additional sensor data, and other
       
# customizations.  Many of those changes can be made here by overriding
       
# parameters, or by modifying templates within the skin itself.
       
       
# The StandardReport uses the 'Standard' skin, which contains the
       
# images, templates and plots for the report.
        skin
= Standard
   
   
[[wdTesttags]]
     
  HTML_ROOT = public_html/WD
        skin
= Testtags

   
   
[[wdPWS]]
     
  HTML_ROOT = public_html/WD
        skin
= PWS

   
   
[[wdClientraw]]
        HTML_ROOT
= public_html/WD
        skin
= Clientraw
   
   
[[wdStackedWindRose]]
        HTML_ROOT
= public_html/WD
        skin
= StackedWindRose
   
   
[[wdSteelGauges]]
        HTML_ROOT
= public_html/WD
        skin
= SteelGauges
   

But how can I see the skins on my website? where do I have to config it? If I restart weewx.. it still shows the standard report on my webpage..not the WD skin..

Silly question??


Alco van Neck

unread,
Jan 3, 2015, 5:33:32 PM1/3/15
to weewx...@googlegroups.com
some erros in the trace log. but nothing special??

Jan  3 22:30:35 raspberrypi weewx[4433]: restx: StationRegistry: Published record 2015-01-03 22:30:00 UTC (1420324200)
Jan  3 22:30:39 raspberrypi weewx[4433]: cheetahgenerator: Generated 14 files for report StandardReport in 8.86 seconds
Jan  3 22:30:43 raspberrypi weewx[4433]: genimages: Generated 12 images for StandardReport in 4.06 seconds
Jan  3 22:30:44 raspberrypi weewx[4433]: cheetahgenerator: Generate failed with exception '<class 'NameMapper.NotFound'>'
Jan  3 22:30:44 raspberrypi weewx[4433]: cheetahgenerator: **** Ignoring template /home/weewx/skins/Testtags/testtags.php.tmpl
Jan  3 22:30:44 raspberrypi weewx[4433]: cheetahgenerator: **** Reason: cannot find 'raw' while searching for 'almanac.sunset.raw'
Jan  3 22:30:44 raspberrypi weewx[4433]: ****  Traceback (most recent call last):
Jan  3 22:30:44 raspberrypi weewx[4433]: ****    File "/home/weewx/bin/weewx/cheetahgenerator.py", line 289, in generate
Jan  3 22:30:44 raspberrypi weewx[4433]: ****      print >> _file, text
Jan  3 22:30:44 raspberrypi weewx[4433]: ****    File "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1005, in __str__
Jan  3 22:30:44 raspberrypi weewx[4433]: ****      rc = getattr(self, mainMethName)()
Jan  3 22:30:44 raspberrypi weewx[4433]: ****    File "_home_weewx_skins_Testtags_testtags_php_tmpl.py", line 389, in respond
Jan  3 22:30:44 raspberrypi weewx[4433]: ****  NotFound: cannot find 'raw' while searching for 'almanac.sunset.raw'
Jan  3 22:30:44 raspberrypi weewx[4433]: cheetahgenerator: Generated 0 files for report wdTesttags in 0.83 seconds
Jan  3 22:30:45 raspberrypi weewx[4433]: cheetahgenerator: Generated 1 files for report wdPWS in 0.36 seconds
Jan  3 22:30:51 raspberrypi weewx[4433]: cheetahgenerator: Generated 4 files for report wdClientraw in 6.29 seconds
Jan  3 22:30:52 raspberrypi weewx[4433]: imageStackedWindRose: Generated 1 images in 0.53 seconds
Jan  3 22:30:52 raspberrypi weewx[4433]: cheetahgenerator: Generated 1 files for report wdSteelGauges in 0.66 seconds


only one report; Testtags did not build?


Chris Thompstone

unread,
Jan 3, 2015, 5:42:22 PM1/3/15
to weewx...@googlegroups.com
looks similar to what I was getting.
going to try again soon to see if i can do better.

Thomas Keffer

unread,
Jan 3, 2015, 6:10:21 PM1/3/15
to weewx-user
1. weewx-WD must put its product someplace else besides where the "regular" weewx puts it. I'm not a WD user, so I can't help you with that. Search around

2. If you're going to use the extended almanac, you'll need to install pyephem. See the docs.

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

Chris Thompstone

unread,
Jan 3, 2015, 6:25:32 PM1/3/15
to weewx...@googlegroups.com
this time I changed nothing after the install of the deb package and it installed fine and no errors on report generating it seems.
Last time I changed the default folder location for www location in the weewx.conf before installing weewx-wd.

However there is a folder created under webroot/weewx/WD/  however there isn't any html files for a page to be displayed.

I obviously missed something complete obvious.
Is there some extra files I need to make the gauges?

Oz Greg

unread,
Jan 3, 2015, 8:10:00 PM1/3/15
to weewx...@googlegroups.com
The WD "Skin" produces a date files in your HTML_ROOT = public_html/WD location 

The about Weewx WD in our WIKI describes it nicely:

Weewx-WD is a Weewx extension that provides the data files for Weather Display Live, SteelSeries Gauges, Carter Lake/Saratoga weather website templates and the Pocket PWS Android weather App
Weewx-WD consists of a number of Weewx services, Search List Extensions (SLE) and skins that produce the following data files:
clientraw.txt, clientrawextra.txt, clientrawdaily.txt, clientrawhour.txt, customclientraw.txt, testtags.php, daywindrose.png, weewx_pws.xml

In the case of steelgauges the gauges use a json formatted file (this is customclientraw.txt) to "graph" the data, that file is stored in your public_html/WD/customclientraw.txt

Please have a read of 


My very out of date site.. http://weather.ozgreg.com/steelgauges/  To see it in action

vds

unread,
Jan 4, 2015, 1:55:28 AM1/4/15
to weewx...@googlegroups.com
On Saturday, January 3, 2015 3:10:21 PM UTC-8, Tom Keffer wrote:
1. weewx-WD must put its product someplace else besides where the "regular" weewx puts it. I'm not a WD user, so I can't help you with that. Search around


Yes it does, the original post told the answer....
HTML_ROOT = public_html/WD

So the files the extension generated are apparently down in a directory 'WD' under your weewx web root.   You'd want to look for whatever files are in your skins templates.  Mine are as follows:

 clientraw.txt       clientrawextra.txt  customclientraw.txt  weewx_pws.xml
 clientrawdaily.txt  clientrawhour.txt   daywindrose.png      testtags.php

I also cobbled together a index.html with links to each of the above so I can read them (including the windrose image) because I don't have my nginx setup permitting indexing directories.  Your mileage may vary.

Oz Greg

unread,
Jan 4, 2015, 5:10:31 AM1/4/15
to weewx...@googlegroups.com
Please follow


Change HTML_ROOT setting for each of the respective [[wdXxxxxx]] sub-sections to the location that suits you, ie the same value as HTML_ROOT in [StdReport]
Message has been deleted

Alco van Neck

unread,
Jan 4, 2015, 8:37:26 AM1/4/15
to weewx...@googlegroups.com
Thanks all!, I thought it include also HTML pages, but its a (great) Json service extension. So I'm gonna install SteelSeries Gauges, and also an upload to my EmonCMS database (energy system).
and yes I had to change the root of the webpages for the other skin that I want to use (Bootstrap) it works now at http://weather.bluemotica.nl/Bootstrap/index.html

next up: getting it integrated with emoncms and my joomla website.


Reply all
Reply to author
Forward
0 new messages