Look towards the bottom of the index.html.temp file in the skins/standard 
directory.  You  will see <img src=”dayinside.png”  alt=”Inside” />.  Comment 
out this line.

 

Tom

 

From: [email protected] <[email protected]> On Behalf Of 
monmul
Sent: Sunday, January 13, 2019 2:48 PM
To: weewx-user <[email protected]>
Subject: [weewx-user] Re: Getting the RPi 3 with Davis Vantage up and running

 

I am searching for how to turn off showing the "internal temperature" graph but 
cannot see a anything in skin.conf or in weewx.conf.........what am I missing?

On Sunday, 13 January 2019 17:15:11 UTC+13, monmul wrote:

WOW! thank you so much, Gary, for the pointers.....I will get on to that in the 
next few days!

On Sunday, 13 January 2019 17:00:51 UTC+13, gjr80 wrote:

Hi,

 

There are a few steps involved in achieving what you want to do. First the 
historical max/min - by this I presume you mean all time statistics - those 
that cover all of your weeWX data and not just the last day, month or year. 

 

If I have this right you need to extend weeWX so that you can access stats from 
all of your data, this is most easily achieved by installing the xstats example 
extension. You will find the xstats files are in the 
/usr/share/doc/weewx/examples directory. I would install manually and just 
follow step 1 in the readme.txt remembering later that you will need to enable 
the alltime stats for your templates/reports by following step 2. You can 
install xstats using wee_extension but that will also install the example web 
page which you probably do not want.

 

Now that you have xstats installed you can use tags like $alltime.outTemp.max 
in report templates to display the maximum outside temperature. The time it 
occurred will be $alltime.outTemp.maxtime. Just like $day, $month and $year 
tags but you use $alltime. If you are not familiar with weeWX tags it is worth 
reading the Tags section 
<https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fweewx.com%2Fdocs%2Fcustomizing.htm%23Tags&data=02%7C01%7C%7C2fa0f5605abe40a0fa5908d679987943%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636830093103704415&sdata=JlVtj%2FUmreXhF%2FZ%2FmGuwvzv%2F%2FM0LfMDZGGgws4chDu8%3D&reserved=0>
  of the Customization Guide.

 

To use the $alltime tags you will probably want to create a new page or modify 
an existing one. It is really up to you want you want to do. To modify an 
existing page have a look at the .tmpl files in you Standard skin directory 
/etc/weewx/skins/Standard. These are the files weeWX uses to generate a 
corresponding .html page. You will see how tags are used in a template, in a 
nutshell where you place a tag weeWX will replace that with the relevant data 
when the reports are generated. The process is a little more involved if you 
want to create a new page as not only do you need to modify/create a page but 
you also need to modify skin.conf to have weeWX generate the new page. You may 
also need to modify other pages to include a link to your new page. A good 
starting point may be to take a copy of 
/etc/weewx/skins/Standard/year.html.tmpl, save it as alltime.html.tmpl and 
start modifying. Have a good poke around the templates and skin.conf (and 
[StdReport] in weewx.conf) to see how it comes together. 

 

Including an image in a weeWX generated page can be relatively straightforward. 
If you have a look in index.html.tmpl you will see lines such as:

 

<img src="daytempdew.png" alt="temperatures" />

 

This line creates a HTML img tag that displays the daily temperature and 
dewpoint plot. If whatever you use to generate your webcam image can create a 
file named, say, webcam.jpg then that keeps it easy, you may be able to create 
a new img tag but using webcam.jpg (rather than daytempdew.png), you may need 
to add a path in front of the file name. If your webcam image is timestamped 
like webcam201901131345.jpg then that gets a little more complicated. If you 
can drop your webcam image into the weeWX directory structure under 
/var/www/html/weewx then you can very easily use weeWX to upload your webcam 
image to your web server if you wish. There are many different ways to achieve 
this, I have outlined one and I am sure other will have other ways. At the end 
of the day it will likely depend on your setup.

 

You have started on the slippery slope of customising your weeWX install, the 
process can appear daunting but do persist and feel free to continue to ask if 
not sure.

 

Gary

 

On Sunday, 13 January 2019 11:25:59 UTC+10, monmul wrote:

I have managed to get the Standard skin loaded on my weather website 
www.wilsonbayweather.com.......2 <http://www.wilsonbayweather.com.......2>  
small adjustments I would like to make......how do I show the historical max 
and min for temp, wind, rain etc....and how might I include a jpeg photo from 
webcam showing a picture every hour or so? Thanks in advance.....you guys have 
been fabulous in helping a newbie!

-- 
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 [email protected] 
<mailto:[email protected]> .
For more options, visit https://groups.google.com/d/optout 
<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Foptout&data=02%7C01%7C%7C2fa0f5605abe40a0fa5908d679987943%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636830093103860672&sdata=02ciCiytRD1wIj0vgnUcYc41iXaP2AKoeNJ9eevhCfc%3D&reserved=0>
 .

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

Reply via email to