Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025

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

Legacy Cumulus 1 release 1.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

If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080

Reworked default websites

Other discussion about creating web sites for Cumulus that doesn't have a specific subforum

Moderator: daj

User avatar
ConligWX
Posts: 1835
Joined: Mon 19 May 2014 10:45 pm
Weather Station: Davis vPro2+ w/DFARS + AirLink
Operating System: Ubuntu 24.04.1 LTS
Location: Bangor, NI
Contact:

Re: Reworked default websites

Post by ConligWX »

NeilThomas wrote: Sat 18 Jan 2025 9:42 am Hi all

I have just release a totally new (well almost) version of the default website.
It can be downloaded from the https://cumuluswiki.org/a/Default_Website_Development and from mine.

Neil.
Excellent.

Thanks for your hard work Neil
User avatar
philpugh
Posts: 428
Joined: Tue 24 May 2011 8:34 am
Weather Station: See Signature
Operating System: Debian 12 (RPi5)
Location: Antrobus, Cheshire, UK
Contact:

Re: Reworked default websites

Post by philpugh »

Neil

Lovely work on V3 - just noticed that there are a couple of spelling errors in todayVyest.html. In the Wind section Highest is incorrectly spelled twice (Lines 196 and 201)

Cheers
Phil Pugh
GW1100 + WH65/WH57/WH31;GW1100 + WS68/WH40A (also with HP25xx console); GW2001 WittBoy
CumulusMX V4 / CUtils V7
Raspberry Pi 5 64bit
https://goosegate.uk/
griffo42
Posts: 247
Joined: Thu 10 Dec 2015 6:41 am
Weather Station: Davis Vantage Pro2
Operating System: Win 11 Home
Location: Brisbane, Queensland, Australia
Contact:

Re: Reworked default websites

Post by griffo42 »

Thanks for your great work with these. Congratulations.

I have noticed recently that, if you would like all the presentations to be consistent in the Records tab -

there are some pages where between the record and its timing there is an "at" whereas in other pages the "at" is not there for example,
Screenshot 2025-02-11 142656.PNG

I have also noticed that in some rainfall records " on on" appears whereas only "on" is necessary.
Screenshot 2025-02-11 142239.PNG
Thanks and best wishes
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
NeilThomas
Posts: 322
Joined: Thu 11 Oct 2012 9:51 am
Weather Station: Davis Vantage Pro2
Operating System: Raspberry Pi 4
Location: Gloucester
Contact:

Re: Reworked default websites

Post by NeilThomas »

Hi

Thanks for the heads up on that - it's down to CumulusMX sometimes providing the 'at' and sometime not. Adjustments made and available for upload on either my https://www.oaktreewebs.co.uk/wiki/doku.php?id=start or the CumulusMX Wiki

Forgot to update th extra 'on' on the all time records page. This is on line 205 of the html file so can easily be corrected.

Neil.
Neil Thomas
website: oaktreewebs.co.uk | Davis Vantage Pro II | CumulusMX, Raspberry Pi 4 (bookworm)| MX V4 build 4070 (ai2)
griffo42
Posts: 247
Joined: Thu 10 Dec 2015 6:41 am
Weather Station: Davis Vantage Pro2
Operating System: Win 11 Home
Location: Brisbane, Queensland, Australia
Contact:

Re: Reworked default websites

Post by griffo42 »

Hi Neil

Sorry to be a boor but under the All records tab, the pages for "This year" and "This month" also need similar adjustments to those noted in your last post.

Best wishes
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
NeilThomas
Posts: 322
Joined: Thu 11 Oct 2012 9:51 am
Weather Station: Davis Vantage Pro2
Operating System: Raspberry Pi 4
Location: Gloucester
Contact:

Re: Reworked default websites

Post by NeilThomas »

griffo42 wrote: Wed 12 Feb 2025 11:29 pm Hi Neil

Sorry to be a boor but under the All records tab, the pages for "This year" and "This month" also need similar adjustments to those noted in your last post.

Best wishes
Not a boor but have you hard refreshed the pages - all the 'Recors' pages have an 'at' at the appropriate place - some are small though as these are added by a style attached to the time tag. Others include the 'at' with the data returned by CumulusMX and are not under my control.

I have checked both my development system locally and my published website and there is nothing wrong as far as I can see.
You do not have the required permissions to view the files attached to this post.
Neil Thomas
website: oaktreewebs.co.uk | Davis Vantage Pro II | CumulusMX, Raspberry Pi 4 (bookworm)| MX V4 build 4070 (ai2)
water01
Posts: 3669
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10/11 64bit Synology NAS
Location: Burnham-on-Sea
Contact:

Re: Reworked default websites

Post by water01 »

I have loaded the latest version and I agree with Neil that it is correct as far as "at" is concerned.
David
Image
water01
Posts: 3669
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10/11 64bit Synology NAS
Location: Burnham-on-Sea
Contact:

Re: Reworked default websites

Post by water01 »

I have noticed an error though that I am getting "undefined" for TempAvg24hrs on the front dashboard

Code: Select all

<span data-cmxdata="TempAvg24Hrs">undefined</span>
David
Image
NeilThomas
Posts: 322
Joined: Thu 11 Oct 2012 9:51 am
Weather Station: Davis Vantage Pro2
Operating System: Raspberry Pi 4
Location: Gloucester
Contact:

Re: Reworked default websites

Post by NeilThomas »

water01 wrote: Thu 13 Feb 2025 12:33 pm I have noticed an error though that I am getting "undefined" for TempAvg24hrs on the front dashboard

Code: Select all

<span data-cmxdata="TempAvg24Hrs">undefined</span>
Can you check your website data.json file that is uploaded. (You may have a local copy if you have set to make local copies). It should have a tag on line 61:

Code: Select all

"TempAvg24Hrs":"x.x"
If this is missing your station is not uploading that data. You can either add the tag to the websitedataT.json file:

Code: Select all

"TempAvg24Hrs":"<#TempAvg24Hrs>",
or add the style w3-hide to the div on line 130 of the index.html page.

Neil
Neil Thomas
website: oaktreewebs.co.uk | Davis Vantage Pro II | CumulusMX, Raspberry Pi 4 (bookworm)| MX V4 build 4070 (ai2)
water01
Posts: 3669
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10/11 64bit Synology NAS
Location: Burnham-on-Sea
Contact:

Re: Reworked default websites

Post by water01 »

OK found the problem. I have also done it before.

It is /web directory in a release that contains latest versions of files, in this case websitedataT.json, and I always forget that these may have changed!!

And sure enough it had, copied the latest version and redid the upload and voila TempAvg24hrs is populated.

I feel like this should be pointed out in a release as it is not always obvious that changes have been made to a previous version of these files, and I am sure I am not alone in forgetting to upgrade this file!!
David
Image
NeilThomas
Posts: 322
Joined: Thu 11 Oct 2012 9:51 am
Weather Station: Davis Vantage Pro2
Operating System: Raspberry Pi 4
Location: Gloucester
Contact:

Re: Reworked default websites

Post by NeilThomas »

water01 wrote: Thu 13 Feb 2025 4:30 pm OK found the problem. I have also done it before.

It is /web directory in a release that contains latest versions of files, in this case websitedataT.json, and I always forget that these may have changed!!

And sure enough it had, copied the latest version and redid the upload and voila TempAvg24hrs is populated.

I feel like this should be pointed out in a release as it is not always obvious that changes have been made to a previous version of these files, and I am sure I am not alone in forgetting to upgrade this file!!
Oh that the Wiki was usable!
Neil Thomas
website: oaktreewebs.co.uk | Davis Vantage Pro II | CumulusMX, Raspberry Pi 4 (bookworm)| MX V4 build 4070 (ai2)
griffo42
Posts: 247
Joined: Thu 10 Dec 2015 6:41 am
Weather Station: Davis Vantage Pro2
Operating System: Win 11 Home
Location: Brisbane, Queensland, Australia
Contact:

Re: Reworked default websites

Post by griffo42 »

NeilThomas wrote: Thu 13 Feb 2025 9:30 am
griffo42 wrote: Wed 12 Feb 2025 11:29 pm Hi Neil

Sorry to be a boor but under the All records tab, the pages for "This year" and "This month" also need similar adjustments to those noted in your last post.

Best wishes
Not a boor but have you hard refreshed the pages - all the 'Recors' pages have an 'at' at the appropriate place - some are small though as these are added by a style attached to the time tag. Others include the 'at' with the data returned by CumulusMX and are not under my control.

I have checked both my development system locally and my published website and there is nothing wrong as far as I can see.
Unfortunately, there are 2 pages which, it seems, still need a "look at" by you. The screenshots pf my pages were taken after I cleared the cache in Win 11 and pressed F5 to reload.
Screenshot 2025-02-14 095919m.PNG
Screenshot 2025-02-14 095851m.PNG
best wishes
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
lse-cumulus
Posts: 102
Joined: Mon 11 Jul 2022 3:39 am
Weather Station: Fine Offset Ecowitt
Operating System: Windows 11
Location: Austria
Contact:

Re: Reworked default websites for PWS-Suttenbrunn [all working fine]

Post by lse-cumulus »

After detecting this post, I had to immedately try the alternative public webinterface for CMX for my site, as I like the look and feel and fast responsiveness (especially the gauges and the icons like "fa-solid fa-cloud-sun-rain"). Downloaded software from here https://www.cumuluswiki.org/a/Default_W ... evelopment and followed instructios from wiki https://oaktreewebs.co.uk/wiki/doku.php?id=start

Great Job Neil! thx
  • Installation in parllel to my existing CMX webinterface worked almost ouf the box (the files are distinct html/htm and also the .js files have separate names except noaarpts.js and that works for both)
  • Only had to keep my old /lib/steelseries directory and to merge /css/gauges.css to have CMX legacy and AI gauges work in paralell
  • adapted the frameDesign for /lib/steelseries/scripts/gauges.js to get BLACK_METAL layout
  • Had to edit /js/charts.js and /js/chartshistory.js to adapt the following path and filenames of the json datafiles to be in sync with my CMX upload and get also these charts working: co2sensor ('co2sensordata.json'), usertemp, leafwet, soilmoist, soiltemp, extratemp, extradew, extrahum, allchillhrs (dataPath + 'allchillhrsdata.json'), alldailysnow
  • selected theme in /js/page-manager.js
  • extended websitedataT.json for Lightning
  • extended aw-menue.js to add some additional pages (with icons!) and linked with my CMX legacy and CUtils pages
  • added some pages based on template.html (that offers a lot of layout options) under menue charts and reports
The resulting page can be seen here: https://leonas.ddns.net/index.html
  • Somehow lost the running right->left scrolling of the Current Conditions on the gauges.html (could not yet identify, but that is just a minor issue for another day)

    update: found solution: have to use new /lib/steelseries/... to get scrolling of current condiation; kept /lib/steelseries.old for legacy gauges.htm and adapted script path in gauges.htm; now gauges are drawn in both interfaces; scrolling works in alternate interface but not yet in legacy gauges.htm (guess I also have to seperate /css/gauges.css)
  • Could not get the seagull animation working, tried 'Animation': 'slideLeft' in page-manager.js (and 'zoom')

    update: seagull animation now works, found keyword options in main.css: fadeIn, growUp, fadeDown, fadeAcrossDown, expand (and you have to close/re-open browser after change)
Leo

Ecowitt GW2000/WS90/Wittboy/GW1000/WS2910/WH65/WH31/WH34S/WH41/WH45/WH51/WH57/HP10/WN35/LDS01
AWEKAS/CWOP/PWS/Weathercloud/Windy/WOW/WU/WxSim/CMX/CU
https://leonas.ddns.net/index.html

Image
water01
Posts: 3669
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10/11 64bit Synology NAS
Location: Burnham-on-Sea
Contact:

Re: Reworked default websites

Post by water01 »

Has the default website code been changed to work with the HTML formatted NOAA reports?
David
Image
NeilThomas
Posts: 322
Joined: Thu 11 Oct 2012 9:51 am
Weather Station: Davis Vantage Pro2
Operating System: Raspberry Pi 4
Location: Gloucester
Contact:

Re: Reworked default websites

Post by NeilThomas »

water01 wrote: Sun 09 Mar 2025 1:06 pm Has the default website code been changed to work with the HTML formatted NOAA reports?
Not yet, it’ll be middle of next week.
Neil Thomas
website: oaktreewebs.co.uk | Davis Vantage Pro II | CumulusMX, Raspberry Pi 4 (bookworm)| MX V4 build 4070 (ai2)
Post Reply