Welcome to the Cumulus Support forum.

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Cumulus MX V4 beta test release 4.0.0 (build 4017) - 17 March 2024

Legacy Cumulus 1 release v1.9.4 (build 1099) - 28 November 2014 (a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

Cumulis MX New Template

From build 3044 the development baton passed to Mark Crossley. Mark has been responsible for all the Builds since. He has made the code available on GitHub. It is Mark's hope that others will join in this development, but at the very least he welcomes your ideas for future developments (see Cumulus MX Development suggestions).

Moderator: mcrossley

griffo42
Posts: 226
Joined: Thu 10 Dec 2015 6:41 am
Weather Station: Davis Vantage Pro2
Operating System: Win 11 Home
Location: Brisbane, Queensland, Australia
Contact:

Cumulis MX New Template

Post by griffo42 »

Should the new template developed by Neil Thomas update automatically in accordance with the set update time frame (in my case every 5 min)? If so, how do I make this happen?

Keith
Keith
Davis Vantage Pro2 Model #6152AU - CumulusMX - Win11 - Saratoga/CUMX Default Scripts
https://www.kstwx.net/index.php
https://www.kstwx.net/cumx/index.html
Image
User avatar
ConligWX
Posts: 1570
Joined: Mon 19 May 2014 10:45 pm
Weather Station: Davis vPro2+ w/DFARS + AirLink
Operating System: Ubuntu 22.04 LTS
Location: Bangor, NI
Contact:

Re: CumulusMX New Template

Post by ConligWX »

the new layout uses json files and new htm files.

it really depends on what website files you are currently using. read all of the content below to understand what is required or if you want the new or old style layouts.

https://cumuluswiki.org/a/New_Default_W ... e_in_v3.10
Regards Simon

https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir •

Image
User avatar
beteljuice
Posts: 3292
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: W10 - Threadripper 16core, etc
Location: Dudley, West Midlands, UK

Re: Cumulis MX New Template

Post by beteljuice »

Be aware this is still 'entry level' coded, although it does address many of the shortcomings of the 'old' standard templates.
Any serious amount of customising or data grab you should pretty much do whatever you did before.
// auto update every 60 seconds, only the index and today pages
So any and every page will have site details and relevant content on page load, but ...
only the index and today pages will subsequently update.
The script loads the json file every 60s, but in your case the json file is updated every 5 min.
Image
......................Imagine, what you will KNOW tomorrow !
griffo42
Posts: 226
Joined: Thu 10 Dec 2015 6:41 am
Weather Station: Davis Vantage Pro2
Operating System: Win 11 Home
Location: Brisbane, Queensland, Australia
Contact:

Re: Cumulis MX New Template

Post by griffo42 »

All good now re the reloading: thanks @beteljuice and @ConligWX.

Another problem has now emerged. It seems that the forecast which appears on my website (https://www.kstwx.net/cumx/index.htm) is exactly as that which appears on Oaktree Weather's site (https://weather.oaktreewebs.co.uk/index.htm). See screenshots which demonstrate this as well as the current BOM forecast for Carina and my system's settings re the forecast.
Screenshot 2021-04-09 171202Carina Weather.jpg
Screenshot 2021-04-09 171253OaktreeWeather.jpg
Screenshot 2021-04-09 171426Carina Weather forecast options.jpg
Screenshot 2021-04-09 171639Current BOM Forecast Carina.jpg
Any help to correct will be much appreciated.

Thanks
Keith
You do not have the required permissions to view the files attached to this post.
Keith
Davis Vantage Pro2 Model #6152AU - CumulusMX - Win11 - Saratoga/CUMX Default Scripts
https://www.kstwx.net/index.php
https://www.kstwx.net/cumx/index.html
Image
User avatar
beteljuice
Posts: 3292
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: W10 - Threadripper 16core, etc
Location: Dudley, West Midlands, UK

Re: Cumulis MX New Template

Post by beteljuice »

They are both different now - coincidence ? or fixed ?
Image
......................Imagine, what you will KNOW tomorrow !
griffo42
Posts: 226
Joined: Thu 10 Dec 2015 6:41 am
Weather Station: Davis Vantage Pro2
Operating System: Win 11 Home
Location: Brisbane, Queensland, Australia
Contact:

Re: Cumulis MX New Template

Post by griffo42 »

@beteljuice. Thanks for your reply. It’s looking like a coincidence. I haven’t touched any code.

They are certainly different at 0950 Saturday AEST here at Carina.

Best wishes

Keith
Keith
Davis Vantage Pro2 Model #6152AU - CumulusMX - Win11 - Saratoga/CUMX Default Scripts
https://www.kstwx.net/index.php
https://www.kstwx.net/cumx/index.html
Image
griffo42
Posts: 226
Joined: Thu 10 Dec 2015 6:41 am
Weather Station: Davis Vantage Pro2
Operating System: Win 11 Home
Location: Brisbane, Queensland, Australia
Contact:

Re: Cumulus MX New Template

Post by griffo42 »

To improve website readability for GB, AUS and NZ users, I would appreciate the appropriate person's thoughts on making a change in the way the last rainfall info is presented in the now page of the new template by Neil Thomas. The usual date presentation in these countries is e.g. 29 April 2021 or 29/04/2021 or perhaps 29-04-2021. The date format currently used is in the form 2021-04-29 which is part of the Cumulus tag <#LastRainTipISO>. Example follows:
Screenshot_2021-04-29 Oaktree weather.png
Please consider.

Keith
You do not have the required permissions to view the files attached to this post.
Keith
Davis Vantage Pro2 Model #6152AU - CumulusMX - Win11 - Saratoga/CUMX Default Scripts
https://www.kstwx.net/index.php
https://www.kstwx.net/cumx/index.html
Image
User avatar
mcrossley
Posts: 12685
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Cumulis MX New Template

Post by mcrossley »

How about - https://weather.wilmslowastro.com/test/newMX/index.htm

It will simplify the date to just day and month in the locale of your Cumulus MX.
griffo42
Posts: 226
Joined: Thu 10 Dec 2015 6:41 am
Weather Station: Davis Vantage Pro2
Operating System: Win 11 Home
Location: Brisbane, Queensland, Australia
Contact:

Re: Cumulis MX New Template

Post by griffo42 »

Mark

Your proposal is fine by me and is easier to read in my opinion.

Keith
Keith
Davis Vantage Pro2 Model #6152AU - CumulusMX - Win11 - Saratoga/CUMX Default Scripts
https://www.kstwx.net/index.php
https://www.kstwx.net/cumx/index.html
Image
User avatar
mcrossley
Posts: 12685
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Cumulis MX New Template

Post by mcrossley »

griffo42 wrote: Thu 29 Apr 2021 11:25 am and is easier to read in my opinion.
I agree, I don't think we really need the time and year - unless maybe you live in the Atacama desert! :lol:
griffo42
Posts: 226
Joined: Thu 10 Dec 2015 6:41 am
Weather Station: Davis Vantage Pro2
Operating System: Win 11 Home
Location: Brisbane, Queensland, Australia
Contact:

Re: Cumulis MX New Template

Post by griffo42 »

On the graphs page of this template, there is a “ticker” which shows the system - perhaps the Zambretti - forecast. The standard template for index.htm - the now page - also includes this forecast.

In order to include a localised forecast, I have now included the current official forecast for my area as issued by the Australian Bureau of Meterology (issued usually twice daily) in the now and today pages. I obtain this forecast by downloading an XML file which includes such forecast, processing this and including it on the index and today pages. This then makes that shown on the gauges page ticker to be different to that shown elsewhere.

I would appreciate help to fix up this anomaly should anyone care to dip their toe in this water.

URL: kstwx.net/cumx/index.htm

Keith
Keith
Davis Vantage Pro2 Model #6152AU - CumulusMX - Win11 - Saratoga/CUMX Default Scripts
https://www.kstwx.net/index.php
https://www.kstwx.net/cumx/index.html
Image
User avatar
mcrossley
Posts: 12685
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Cumulis MX New Template

Post by mcrossley »

That would not be an easy solution. As al alternative to the forecast, you could put some other information in the ticker?
I prefer that and have done so on my gauges page: https://weather.wilmslowastro.com/gauges-ss.php

You would then just need to edit the realtimegaugesT.txt file, and put what text/web tags you want into the forecast field.
griffo42
Posts: 226
Joined: Thu 10 Dec 2015 6:41 am
Weather Station: Davis Vantage Pro2
Operating System: Win 11 Home
Location: Brisbane, Queensland, Australia
Contact:

Re: Cumulis MX New Template Last Rainfall Data

Post by griffo42 »

I have a problem with the information shown in respect of the last rainfall data as can be seen from the next attachment.
last rainfallquery.jpg
This is the last rainfall shown in the may21log file:
may21log.txt lastrainfall.jpg
I have looked in as many places that I have thought of to date :groan: to find the problem and fix it but to no avail. I would very much appreciate any help offered to fix this.

URL: kstwx.net/cumx/index.htm

Thanks

Keith
You do not have the required permissions to view the files attached to this post.
Keith
Davis Vantage Pro2 Model #6152AU - CumulusMX - Win11 - Saratoga/CUMX Default Scripts
https://www.kstwx.net/index.php
https://www.kstwx.net/cumx/index.html
Image
User avatar
mcrossley
Posts: 12685
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Cumulis MX New Template

Post by mcrossley »

Can you post your MXdiags file please.
griffo42
Posts: 226
Joined: Thu 10 Dec 2015 6:41 am
Weather Station: Davis Vantage Pro2
Operating System: Win 11 Home
Location: Brisbane, Queensland, Australia
Contact:

Re: Cumulis MX New Template

Post by griffo42 »

@mcrossley
Here are the files timed around the last rain event and a current one as requested.

Could you please tell me which file the script is picking up the value in "LastRainTipISO" from and then publishing it in the page.

Thanks

Keith
You do not have the required permissions to view the files attached to this post.
Keith
Davis Vantage Pro2 Model #6152AU - CumulusMX - Win11 - Saratoga/CUMX Default Scripts
https://www.kstwx.net/index.php
https://www.kstwx.net/cumx/index.html
Image
Post Reply