To determine the weewx version try: wee_config --version
---------- Tom On Mon, Mar 4, 2019 at 1:54 PM monmul <[email protected]> wrote: > I am thinking...maybe I accidentally updated to the latest version and > that has broken something? How do I check what version I am running? > > On Tuesday, 5 March 2019 08:40:38 UTC+13, monmul wrote: >> >> So this is the FTP section of my weewx.conf......I have not changed >> anything. It used to transfer across no problem until the camera needed >> replacing....and the photo from the new camera appears on the internal >> website but not transferred across...weird! >> >> [[FTP]] >> # FTP'ing the results to a webserver is treated as just another >> report, >> # albeit one with an unusual report generator! >> skin = Ftp >> >> # If you wish to use FTP, uncomment and fill out the next four >> lines. >> # Use quotes around passwords to guard against parsing errors. >> user = abcdefgh >> password = 123456789 >> server = 43.245.53.39 >> path = /public_html >> >> # Set to True for an FTP over TLS (FTPS) connection. Not all >> servers >> # support this. >> secure_ftp = False >> >> # To upload files from something other than what HTML_ROOT is set >> # to above, specify a different HTML_ROOT here. >> #HTML_ROOT = /var/www/html/weewx >> >> # Most FTP servers use port 21 >> port = 21 >> >> # Set to 1 to use passive mode, zero for active mode >> passive = 1 >> >> >> On Monday, 4 March 2019 23:30:53 UTC+13, Andrew Milner wrote: >>> >>> you did not give us a directory listing from the external website - but >>> assuming the file has not been transferred there maybe you need to include >>> image.jpeg in the copy always list in weewx.conf >>> >>> >>> >>> On Monday, 4 March 2019 11:20:16 UTC+2, monmul wrote: >>>> >>>> I have run into a problem with posting a photo on my website. The photo >>>> shows on file:///var/www/html/weewx/index.html but not on >>>> www.wilsonbayweather.com - this shows an old photo that never changes! >>>> Attached are screenshots that may help. Why is it updating on one and not >>>> the other? >>>> >>>> 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 <http://weewx.com/docs/customizing.htm#Tags> >>>>> 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 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]. > 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
