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 4019) - 03 April 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

Reworked default websites

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

Moderator: daj

bumpy
Posts: 105
Joined: Fri 24 Sep 2010 12:27 pm
Weather Station: Davis Vantage Vue
Operating System: Windows 10
Location: Tiverton, Devon

Re: Reworked default websites

Post by bumpy »

Hello Simon
Thank you for your helpful advice. I have managed to get the gauges working properly in htm format. Strangely the gauges in html format have now returned to a previous issue I had in that these gauges are larger than the surrounding 'box' when displaying on my pc yet show correctly sized when accessed via my tablet or mobile. This is a minor issue and I'm content to put up with it!
You mention the newest version of the Steelseries gauges but I cannot locate an update to 2.7.7 Even by downloading the latest Cumulus 3293a and assuming that this will have the latest version of Steelseries, I still get reloaded gauges that show 2.7.6. Is there a separate download? If so I cannot find it. Again just a minor blip.
Tony
User avatar
ConligWX
Posts: 1635
Joined: Mon 19 May 2014 10:45 pm
Weather Station: Davis vPro2+ w/DFARS + AirLink
Operating System: Ubuntu 24.04 LTS
Location: Bangor, NI
Contact:

Re: Reworked default websites

Post by ConligWX »

bumpy wrote: Tue 09 Apr 2024 12:52 pm Hello Simon
Thank you for your helpful advice. I have managed to get the gauges working properly in htm format. Strangely the gauges in html format have now returned to a previous issue I had in that these gauges are larger than the surrounding 'box' when displaying on my pc yet show correctly sized when accessed via my tablet or mobile. This is a minor issue and I'm content to put up with it!
You mention the newest version of the Steelseries gauges but I cannot locate an update to 2.7.7 Even by downloading the latest Cumulus 3293a and assuming that this will have the latest version of Steelseries, I still get reloaded gauges that show 2.7.6. Is there a separate download? If so I cannot find it. Again just a minor blip.
Tony
the html version shows 2.7.6 because it is hard coded in the html file. I had asked Neil to update this but i guess its been forgotten. the fix is in my post here:

viewtopic.php?p=177222#p177222
Regards Simon

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

Image
griffo42
Posts: 231
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 »

This request for help relates to the scripts updated on 29 March 2024.

1. Please tell me what coding that I have to change so that the top of the drop-down box (Gauge Display Options) is in line with the heading "Steel Series Gauges".
Screenshot 2024-04-13 172920.png


2. Please tell me what coding that I have to change so that colour scheme of the gauges in the 2nd screenshot is the same as those in the 3rd shot below. The 3rd shot is taken from the most recent release of the ai2 interface.
Screenshot 2024-04-13 173013.png
Screenshot 2024-04-13 173210.png
site url: https://www.kstwx.net/index.php
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
ConligWX
Posts: 1635
Joined: Mon 19 May 2014 10:45 pm
Weather Station: Davis vPro2+ w/DFARS + AirLink
Operating System: Ubuntu 24.04 LTS
Location: Bangor, NI
Contact:

Re: Reworked default websites

Post by ConligWX »

griffo42 wrote: Sat 13 Apr 2024 8:16 am
Screenshot 2024-04-13 173210.png

to change the layout/colours of the gauges edit the for the colour edit the gauges.js file.

yours is located here:

https://www.kstwx.net/cumx/lib/steelser ... /gauges.js

look for the framedesign, background and foreground at around line97

Code: Select all

            frameDesign           : steelseries.FrameDesign.BLACK_METAL,
            background            : steelseries.BackgroundColor.DARK_GRAY,
            foreground            : steelseries.ForegroundType.TYPE4,
more info here: https://www.cumuluswiki.org/index.php?t ... ame_design
Regards Simon

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

Image
griffo42
Posts: 231
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 very much, Simon. I have changed the colours in the gauges to what I was looking for.
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: 231
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 »

griffo42 wrote: Sat 13 Apr 2024 8:16 am Sat Apr 13, 2024 6:16 pm

This request for help relates to the scripts updated on 29 March 2024.

1. Please tell me what coding that I have to change so that the top of the drop-down box (Gauge Display Options) is in line with the heading "Steel Series Gauges".
This has now been resolved.
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: 1635
Joined: Mon 19 May 2014 10:45 pm
Weather Station: Davis vPro2+ w/DFARS + AirLink
Operating System: Ubuntu 24.04 LTS
Location: Bangor, NI
Contact:

Re: Reworked default websites

Post by ConligWX »

griffo42 wrote: Sun 14 Apr 2024 12:20 am Thanks very much, Simon. I have changed the colours in the gauges to what I was looking for.
glad you got it working...
Regards Simon

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

Image
NeilThomas
Posts: 276
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 »

Further to 'The Dalek Hunter's request, I have now included Lightning Strikes on the Dashboard of the default website. If you don't have a sensor, it won't display but if you do, you will need to add some web tags to the websitedataT.json file.

All information is included in the 'readme' file included in the new upload available on the wiki.

Enjoy.

Neil
Neil Thomas
website: oaktreewebs.co.uk | Davis Vantage Pro II | CumulusMX, Raspberry Pi 4 | MX V4 build 4019
LindaFNM
Posts: 160
Joined: Wed 06 Jan 2021 3:01 pm
Weather Station: Ecowitt
Operating System: Raspberry Pi

Re: Reworked default websites

Post by LindaFNM »

Very nice, thank you!
NeilThomas
Posts: 276
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

Further to the update yesterday, I noted that the gauges were not using the modified tooltips so the last update (with tooltips) is now available on the wiki.

Neil.
Neil Thomas
website: oaktreewebs.co.uk | Davis Vantage Pro II | CumulusMX, Raspberry Pi 4 | MX V4 build 4019
qisdtech
Posts: 7
Joined: Sun 28 Aug 2022 5:53 pm
Weather Station: Davis Vantage Pro2
Operating System: Windows 2019 Server

Re: Reworked default websites

Post by qisdtech »

Update: I found the issue, in the "ws-extra.js" file, in the latest update, "/data" directory was the issue, in the past it has been ""/
Sorry to bother yall!

Neil, just a note, it appears the latest alternative website update has broken something. I've uploaded the files to my web server as I have done in the past updates to the website and now the website appears to be broken. Restoring back to the last revision returns it to operation.
User avatar
ConligWX
Posts: 1635
Joined: Mon 19 May 2014 10:45 pm
Weather Station: Davis vPro2+ w/DFARS + AirLink
Operating System: Ubuntu 24.04 LTS
Location: Bangor, NI
Contact:

Re: Reworked default websites

Post by ConligWX »

NeilThomas wrote: Mon 22 Apr 2024 12:12 pm Hi all

Further to the update yesterday, I noted that the gauges were not using the modified tooltips so the last update (with tooltips) is now available on the wiki.

Neil.
Neil

Perhaps you could edit the first post and link to the wiki for download. It would make it much easier for users to find.

https://www.cumuluswiki.org/a/Default_W ... ic_website
Regards Simon

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

Image
NeilThomas
Posts: 276
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 »

qisdtech wrote: Mon 22 Apr 2024 2:11 pm Update: I found the issue, in the "ws-extra.js" file, in the latest update, "/data" directory was the issue, in the past it has been ""/
Sorry to bother yall!

Neil, just a note, it appears the latest alternative website update has broken something. I've uploaded the files to my web server as I have done in the past updates to the website and now the website appears to be broken. Restoring back to the last revision returns it to operation.
Oops. Sorry about that. I forgot to clear the dataPath variable in ws-extra.js. The latest upload corrects that.

It can be found at https://www.cumuluswiki.org/a/Default_W ... evelopment

Neil
Neil Thomas
website: oaktreewebs.co.uk | Davis Vantage Pro II | CumulusMX, Raspberry Pi 4 | MX V4 build 4019
qisdtech
Posts: 7
Joined: Sun 28 Aug 2022 5:53 pm
Weather Station: Davis Vantage Pro2
Operating System: Windows 2019 Server

Re: Reworked default websites

Post by qisdtech »

Thanks for your efforts Neil. Really like this template and how it works with all the various web browsers.
NeilThomas
Posts: 276
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 »

qisdtech wrote: Mon 22 Apr 2024 5:51 pm Thanks for your efforts Neil. Really like this template and how it works with all the various web browsers.
Hi all

If you use a subfolder for your data there is an error in the ws-extra.js file that causes the gauges not to work. Line 22 should read:

Code: Select all

if( dataPath.length > 0 && dataPath.slice(-1) != '/') { dataPath += '/'; }
Alternatively DON'T put a trailing '/' in the dataPath variable value - the error in my coding always puts one there.

I will release an updated zip file shortly.

Neil
Neil Thomas
website: oaktreewebs.co.uk | Davis Vantage Pro II | CumulusMX, Raspberry Pi 4 | MX V4 build 4019
Post Reply