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

Steel Series Gauges - how to reduce the refresh interval

Discussion of Mark Crossley's HTML5/Javascript gauges

Moderator: mcrossley

Mapantz
Posts: 1992
Joined: Sat 17 Dec 2011 11:55 am
Weather Station: Davis Vantage Pro2
Operating System: Windows 11 x64
Location: Dorset - UK
Contact:

Re: Steel Series Gauges - how to reduce the refresh interval

Post by Mapantz »

You will always see a delay between your console and what appears on the web. It's about 2 seconds for me.

But yeah, something is weird on your page.. it shouldn't be doing that.

I don't use the status or timer on my gauges page, but I did just add it to see what happens. It doesn't glitch like yours, so it might be down to an older version of the steelseries package?!
Image
RayProudfoot
Posts: 3602
Joined: Wed 06 May 2009 6:29 pm
Weather Station: Davis VP2 with Daytime FARS
Operating System: Windows XP SP3
Location: Cheadle Hulme, Cheshire, England
Contact:

Re: Steel Series Gauges - how to reduce the refresh interval

Post by RayProudfoot »

@Mapantz, I’ll install the latest version over the weekend. Hopefully that will fix it.
Cheers,
Ray, Cheshire.

Image
RayProudfoot
Posts: 3602
Joined: Wed 06 May 2009 6:29 pm
Weather Station: Davis VP2 with Daytime FARS
Operating System: Windows XP SP3
Location: Cheadle Hulme, Cheshire, England
Contact:

Re: Steel Series Gauges - how to reduce the refresh interval

Post by RayProudfoot »

De Hout wrote: Thu 30 Jan 2025 8:39 pm Your gauges.js version (2.2.2) script looks quite different in Notepad++ compared to the version I use (2.7.5).
I recommend upgrading the SteelSeries Gauges to the latest version:
https://weather.wilmslowastro.com/scripts.php
I tried to download from Mark's site but the link is broken.
https://cumuluswiki.wxforum.net/a/Main_ ... teelSeries

@mcrossley, could you update your link please?
Cheers,
Ray, Cheshire.

Image
Mapantz
Posts: 1992
Joined: Sat 17 Dec 2011 11:55 am
Weather Station: Davis Vantage Pro2
Operating System: Windows 11 x64
Location: Dorset - UK
Contact:

Re: Steel Series Gauges - how to reduce the refresh interval

Post by Mapantz »

RayProudfoot wrote: Fri 31 Jan 2025 11:20 am
I tried to download from Mark's site but the link is broken.
https://cumuluswiki.wxforum.net/a/Main_ ... teelSeries

@mcrossley, could you update your link please?
Looks like a wrong link there Ray

https://cumuluswiki.org/a/SteelSeries_Gauges
Image
RayProudfoot
Posts: 3602
Joined: Wed 06 May 2009 6:29 pm
Weather Station: Davis VP2 with Daytime FARS
Operating System: Windows XP SP3
Location: Cheadle Hulme, Cheshire, England
Contact:

Re: Steel Series Gauges - how to reduce the refresh interval

Post by RayProudfoot »

@Mapantz, good man, many thanks. :clap:
Cheers,
Ray, Cheshire.

Image
RayProudfoot
Posts: 3602
Joined: Wed 06 May 2009 6:29 pm
Weather Station: Davis VP2 with Daytime FARS
Operating System: Windows XP SP3
Location: Cheadle Hulme, Cheshire, England
Contact:

Re: Steel Series Gauges - how to reduce the refresh interval

Post by RayProudfoot »

HELP!!!

I've never been entirely confident updating files for Cumulus. I followed Mark's readme but ended up replacing all my customised HTML pages with the default ones he supplied.

Fortunately I was able to restore from a backup but I'm now in the position where I can't get the gauges displayed on this screen.

https://www.cheadlehulmeweather.co.uk/gauges-ss.htm

I've copied realtimegaugesT.txt and gauges-ssT.htm to Cumulus\web. I restored my original css and scripts folder as they already contain the gauges code.

But after doing a manual update to upload the T files to the server all my pages are fine except the gauges one.

What have I missed?
Cheers,
Ray, Cheshire.

Image
User avatar
PaulMy
Posts: 4355
Joined: Sun 28 Sep 2008 11:54 pm
Weather Station: Davis VP2 Plus 24-Hour FARS
Operating System: Windows8 and Windows10
Location: Komoka, ON Canada
Contact:

Re: Steel Series Gauges - how to reduce the refresh interval

Post by PaulMy »

Hi Ray,
Your gauges don't display for me either and if I do a <F12> in Edge I get

Code: Select all

Mixed Content: The page at 'https://www.cheadlehulmeweather.co.uk/gauges-ss.htm' was loaded over HTTPS, but requested an insecure script 'http://code.jquery.com/jquery-1.11.1.min.js'. This request has been blocked; the content must be served over HTTPS.
gauges.js:30  Uncaught ReferenceError: jQuery is not defined
    at gauges.js:30:3
I don't know much about this but looks like a http / https security issue. Possibly somewhere in the replacement or update script.

Enjoy,
Paul
VP2+
C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm
Image
RayProudfoot
Posts: 3602
Joined: Wed 06 May 2009 6:29 pm
Weather Station: Davis VP2 with Daytime FARS
Operating System: Windows XP SP3
Location: Cheadle Hulme, Cheshire, England
Contact:

Re: Steel Series Gauges - how to reduce the refresh interval

Post by RayProudfoot »

Thanks Paul. In gauges.js Ihave this line...

http://<URL>&pageUpdate=its-me

Should I change it to https
Cheers,
Ray, Cheshire.

Image
Mapantz
Posts: 1992
Joined: Sat 17 Dec 2011 11:55 am
Weather Station: Davis Vantage Pro2
Operating System: Windows 11 x64
Location: Dorset - UK
Contact:

Re: Steel Series Gauges - how to reduce the refresh interval

Post by Mapantz »

Ray, look in the webpage for this:

Code: Select all

  <!-- Google CDN hosted JQuery library -->
  <script src="http://code.jquery.com/jquery-1.11.1.min.js"></script>
Replace with:

Code: Select all

<!-- Google CDN hosted JQuery library -->
<script src="https://code.jquery.com/jquery-3.7.1.min.js" integrity="sha256-/JqT3SQfawRcv/BIHPThkBvs0OEvtFFmqPF/lYI/Cxo=" crossorigin="anonymous"></script>
Image
RayProudfoot
Posts: 3602
Joined: Wed 06 May 2009 6:29 pm
Weather Station: Davis VP2 with Daytime FARS
Operating System: Windows XP SP3
Location: Cheadle Hulme, Cheshire, England
Contact:

Re: Steel Series Gauges - how to reduce the refresh interval

Post by RayProudfoot »

Changed to https but no change.
Cheers,
Ray, Cheshire.

Image
RayProudfoot
Posts: 3602
Joined: Wed 06 May 2009 6:29 pm
Weather Station: Davis VP2 with Daytime FARS
Operating System: Windows XP SP3
Location: Cheadle Hulme, Cheshire, England
Contact:

Re: Steel Series Gauges - how to reduce the refresh interval

Post by RayProudfoot »

@Mapantz, thanks but which webpage? I've searched gaugesT.htm and a couple of js files but can't find that entry.
Cheers,
Ray, Cheshire.

Image
Mapantz
Posts: 1992
Joined: Sat 17 Dec 2011 11:55 am
Weather Station: Davis Vantage Pro2
Operating System: Windows 11 x64
Location: Dorset - UK
Contact:

Re: Steel Series Gauges - how to reduce the refresh interval

Post by Mapantz »

gauges-ss.htm on your website
Image
RayProudfoot
Posts: 3602
Joined: Wed 06 May 2009 6:29 pm
Weather Station: Davis VP2 with Daytime FARS
Operating System: Windows XP SP3
Location: Cheadle Hulme, Cheshire, England
Contact:

Re: Steel Series Gauges - how to reduce the refresh interval

Post by RayProudfoot »

Found the file. It was gauges-ssT.htm.

I searched for http and there was a reference that matched what @Mapantz posted.

At this stage I have just added the 's'. Should I also add the info @Mapantz supplied?

Three hours trying to update and then fix this. No wonder I rarely touch the stuff! :bash:
Cheers,
Ray, Cheshire.

Image
Mapantz
Posts: 1992
Joined: Sat 17 Dec 2011 11:55 am
Weather Station: Davis Vantage Pro2
Operating System: Windows 11 x64
Location: Dorset - UK
Contact:

Re: Steel Series Gauges - how to reduce the refresh interval

Post by Mapantz »

The jquery version you're linking to is very old. The one I posted is the latest version.
Image
User avatar
PaulMy
Posts: 4355
Joined: Sun 28 Sep 2008 11:54 pm
Weather Station: Davis VP2 Plus 24-Hour FARS
Operating System: Windows8 and Windows10
Location: Komoka, ON Canada
Contact:

Re: Steel Series Gauges - how to reduce the refresh interval

Post by PaulMy »

Hi Ray,
Found the file. It was gauges-ssT.htm.
You will be aware that the way old Cumulus does the website updates is to process the full template xxxxT.htm files at the normal interval and upload to your website as xxxx,htm so, yes, in your case you need to make the edit in gauges-ssT.htm for Cumulus to process and update as gauges-ss.htm and then you would have the updated script on your website.

CumulusMX has the ss-gauges built-in so generally nothing to be done as any new version of CMX would also include any updates to the ss-style gauges.

Enjoy,
Paul
VP2+
C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm
Image
Post Reply