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

sutne
Posts: 577
Joined: Sun 14 Oct 2012 4:23 pm
Weather Station: HP2560 (WS80) and HP2550 (WS90)
Operating System: Raspbian Bullseye and Bookworm
Location: Rjoanddalen and Kronstad, Norway
Contact:

Re: Reworked default websites

Post by sutne »

NeilThomas wrote: Mon 11 Nov 2024 10:57 am Corrected the issues with the charts and uploaded a new package to the wiki.
I am sorry, but I cannot find this package on the wiki.
Searched around and found this:

Code: Select all

The Alternative Public Website

Page content will be provided at the next release of this product.
 
User avatar
wurzelmac
Posts: 298
Joined: Mon 03 Jun 2024 5:30 pm
Weather Station: Vantage Pro2 plus w 24/h fan
Operating System: MacOS Sequoia 15.2
Location: Prägraten am Großvenediger, Tyrol, Austria
Contact:

Re: Reworked default websites

Post by wurzelmac »

Reinhard

Image
User avatar
wurzelmac
Posts: 298
Joined: Mon 03 Jun 2024 5:30 pm
Weather Station: Vantage Pro2 plus w 24/h fan
Operating System: MacOS Sequoia 15.2
Location: Prägraten am Großvenediger, Tyrol, Austria
Contact:

Re: Reworked default websites

Post by wurzelmac »

NeilThomas wrote: Mon 11 Nov 2024 10:57 am Hi all

Corrected the issues with the charts and uploaded a new package to the wiki. Apologies to all for the mistake.

Neil
Really NO need for any apologises, thanks for providing us with your genious AI2 interface. :clap:
Reinhard

Image
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 »

Neil just for some feeback. my last version of the public website was using ws-extra.js instead of site-manager.js.

anyhow dropped all the files into place but i didnt get any data showing at all.

looked at the datapath which was:

Code: Select all

let dataPath = 'data';              //  Set to the path where your data is uploaded
my old ws-extras had this:

Code: Select all

let dataPath = '';              //  Set to the path where your data is uploaded
so I removed the "data" value and now its working as planned. seems the "data" value is NOT default, but thats what was in mine version of the downloded file, so it needs to be changed.
User avatar
wurzelmac
Posts: 298
Joined: Mon 03 Jun 2024 5:30 pm
Weather Station: Vantage Pro2 plus w 24/h fan
Operating System: MacOS Sequoia 15.2
Location: Prägraten am Großvenediger, Tyrol, Austria
Contact:

Re: Reworked default websites

Post by wurzelmac »

Thanks for the tipp, Simon. Worked for me, too. Data showing again. ;)
Reinhard

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.

You’ll find it at https://www.cumuluswiki.org/a/Default_W ... evelopment

Be aware that you will need to set the location of the data, it is currently set to

Code: Select all

dataPath =‘data’
or something like that.

Neil.
Neil Thomas
website: oaktreewebs.co.uk | Davis Vantage Pro II | CumulusMX, Raspberry Pi 4 (bookworm)| MX V4 build 4070 (ai2)
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: Wed 13 Nov 2024 8:45 am Hi.

You’ll find it at https://www.cumuluswiki.org/a/Default_W ... evelopment

Be aware that you will need to set the location of the data, it is currently set to

Code: Select all

dataPath =‘data’
or something like that.

Neil.
Niel, that maybe the case but the documentation states otherwise.

readme.txt

Code: Select all

The path variable must have a trailing '/' BUT ONLY if it is NOT empty, eg.: let dataPath='' is the dafault value;
ie

however site manager.js states:

Code: Select all

let dataPath = 'data';              //  Set to the path where your data is uploaded
Either way. the readme.txt or site-manager.js needs to change to state that.
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,

there is a small issue with the soil moisture trend. The attached image shows it best but it displays 16xunits (i.e %) on Y axis and on pop-up.

Cheers
You do not have the required permissions to view the files attached to this post.
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/
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

Had a look and there is no obvious reason why this is happening. Does it show up on your Interface? However, you might like to try editing lines 2125 & 2175 in the charts.js file.

Code: Select all

title: {text: 'Moisture (' + config.soilmoisture.units[1] + ')'},
and

Code: Select all

valueSuffix: ' ' + config.soilmoisture.units[1]
I can't think that it will make a change but as I don't have any soli moisture sensors, I cannot check. It appears as though a units symbol is being added for each sensor that it is possible to have.

Neil.
Neil Thomas
website: oaktreewebs.co.uk | Davis Vantage Pro II | CumulusMX, Raspberry Pi 4 (bookworm)| MX V4 build 4070 (ai2)
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,

First off - apologies for not getting back sooner - lots happening here!

It doesn't appear elsewhere and the 'fix' you posted works well!

many thanks
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/
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 all

I have just release a totally new (well almost) version of the default website. It has a new set of themes and holds all configuration data in one place - the page-manager.js file. You can see it on my site: https://ai2weather.uk and read about it on my wiki at https://oaktreewebs.co.uk/wiki/.

It can be downloaded from the https://cumuluswiki.org/a/Default_Website_Development and from mine.

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 »

Nice work Neil :clap: :clap: :clap:
David
Image
flort
Posts: 248
Joined: Thu 17 Dec 2020 9:06 am
Weather Station: Davis Vantage Vue
Operating System: Raspbian GNU/Linux 10 (buster)
Location: Tin Can Bay, Queensland, Australia

Re: Reworked default websites

Post by flort »

Hi Neil,

Just noticed the monthly records page the month of April button is not formatted correctly. Line 82 in recordsmonthly.html is missing an 'i' in ax-btn-gradient-up.

Regards,
Trevor
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 »

flort wrote: Sat 18 Jan 2025 11:09 am Hi Neil,

Just noticed the monthly records page the month of April button is not formatted correctly. Line 82 in recordsmonthly.html is missing an 'i' in ax-btn-gradient-up.

Regards,
Trevor
:bash: I have changes this so many times but obviously not in th right place. I'll add it to my list up fixes.

Thanks Neil
Neil Thomas
website: oaktreewebs.co.uk | Davis Vantage Pro II | CumulusMX, Raspberry Pi 4 (bookworm)| MX V4 build 4070 (ai2)
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 all

The changes below and one or two others have now been updated into the latest upload. (On th eCumulusMX wiki and mine.)

Neil
Neil Thomas
website: oaktreewebs.co.uk | Davis Vantage Pro II | CumulusMX, Raspberry Pi 4 (bookworm)| MX V4 build 4070 (ai2)
Post Reply