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

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 »

In gauges.js I have -20 and 40 for C and 0 and 100 for F temperature limits.

So why on the gauge does it show different limits and the scale keeps changing whether I choose C or F?

Does another file control this behaviour? If so, which one?
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 »

Here is my realtimegauges.txt. As you can see the temperature values are absolutely fine. But when read by the gauge something is going wrong. But what?
You do not have the required permissions to view the files attached to this post.
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 »

What is <script src="scripts/windrose.js"></script>?

I'm pretty sure it doesn't exist in the steelseries download..
Image
User avatar
De Hout
Posts: 92
Joined: Thu 09 Oct 2014 5:40 pm
Weather Station: Davis Vantage Pro2+ FARS
Operating System: Windows 11 | CU v1.9.4 (10992)
Location: Alkmaar, The Netherlands
Contact:

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

Post by De Hout »

Your realtimegauges.txt is ok.

I copied your gauges.js and pasted it into mine.
Then I see the same temperature fault and odd 'Â' characters on my site.
There is definitely something wrong with your gauges.js file.

Perhaps you could test with mine. It's configured a bit differently and it's version 2.7.5, but it should be fine for testing, I suppose.
gauges.js
You do not have the required permissions to view the files attached to this post.
Derk

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 »

De Hout wrote: Sat 01 Feb 2025 8:41 pm Your realtimegauges.txt is ok.

I copied your gauges.js and pasted it into mine.
Then I see the same temperature fault and odd 'Â' characters on my site.
There is definitely something wrong with your gauges.js file.

Perhaps you could test with mine. It's a bit differently configured and version 2.7.5 but ok for testing I suppose.

gauges.js
I just did the same, and I have no issues with his guages.js. All characters are encoded and no problems with temp scale or changing units.
Image
User avatar
De Hout
Posts: 92
Joined: Thu 09 Oct 2014 5:40 pm
Weather Station: Davis Vantage Pro2+ FARS
Operating System: Windows 11 | CU v1.9.4 (10992)
Location: Alkmaar, The Netherlands
Contact:

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

Post by De Hout »

Mapantz wrote: Sat 01 Feb 2025 8:45 pm I just did the same, and I have no issues with his guages.js. All characters are encoded and no problems with temp scale or changing units.
Which leaves me flabbergasted. :bash:
Derk

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 »

Hi Derk and Mapantz, very grateful for your help. I’ll try Derk’s tomorrow and report back.

I’m flabbergasted too. :bash:

Could it be a language issue?
Cheers,
Ray, Cheshire.

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: Steel Series Gauges - how to reduce the refresh interval

Post by ConligWX »

RayProudfoot wrote: Sat 01 Feb 2025 6:40 pm I haven't a clue how to fix this. Is Mark away?
Probably he is. he has a life outside of CumulusMX, (though sometimes I bet he thinks he doesn't)

I can only suggest coping the \CumulusMX\webfiles\lib folder from the CumulusMX 4.3.3 build 4070 distribution zip file (2.7.7 - latest steel gauges) and using that on the website. there appears something not right with your install I would guess.

dont change a thing from default as any change would complicate the issue first at all. is it only the gauge temp values that are out?
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 »

@ConligWX, but I don’t have CumulusMX. I’m on the original Cumulus. Not sure if that’s relevant or not.

The temperature was working last evening. No negative values. Just the odd symbol by the T or C.

I’m going to double check the other files in Mark’s zip are present on the server. I haven’t touched these SS gauges in years and beginning to wish I hadn’t bothered. All I wanted was a 5 second update rather than 30.
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 »

I'm concentrating on the call to the jquery command as I feel that's the bit that isn't working for me.

Looking at the entry in gauges-ssT.htm that Mark provided it's this:-

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

That's different to what I had in my earlier gauges-ssT.htm that worked...

<!-- Google CDN hosted JQuery library -->
<script src="https://ajax.googleapis.com/ajax/libs/j ... "></script>

After adding an 's' to Mark's entry I forced an update. The result was a blank gauges page with only the HTM elements showing plus Mark's option box for C or F etc.

But using my gauges-ssT.htm I can see gauges and all are fine except the two showing temperatures. Still negative values.

Here is the contents of my scripts folder. Can anyone see anything that is wrong?
You do not have the required permissions to view the files attached to this post.
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: Sat 01 Feb 2025 8:41 pm Your realtimegauges.txt is ok.

I copied your gauges.js and pasted it into mine.
Then I see the same temperature fault and odd 'Â' characters on my site.
There is definitely something wrong with your gauges.js file.

Perhaps you could test with mine. It's configured a bit differently and it's version 2.7.5, but it should be fine for testing, I suppose.

gauges.js
Hello Derk, I backed up my gauges.js and used yours. Here is the result. Same problem with negative temps and strange character by C and F.
https://www.cheadlehulmeweather.co.uk/gauges-ss.htm

Is there a piece of code that deals specifically with temperature? That would appear to be the problem.
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 »

Hi again Derk,

Having replaced my gauges.js with yours the problem appeared to be unchanged. But I clear cache and cookies and reloaded the page.

I now have a correct temperature showing. The strange characters around C and F remain.

BUT! As soon as I select F instead of C the temperatures now show negative values. Reselecting C makes no difference. Still a negative temperature.

This is happening on a Windows 11 laptop and an iPad running Safari. Any clues where the problem lies?
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 »

I would suggest deleting the whole steelseries folder on your web server and start again.

Also, do you need Cumulus to process and upload the steelseries web page? It's pretty much a static page, it updates the values from realtimegauges.txt
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 wrote: Sun 02 Feb 2025 11:27 am I would suggest deleting the whole steelseries folder on your web server and start again.

Also, do you need Cumulus to process and upload the steelseries web page? It's pretty much a static page, it updates the values from realtimegauges.txt
I'll keep the deletion as an option. But with all the required files in place any unused ones shouldn't cause an issue should they? The fact that Derk's gauges.js file still exhibits the same problem shows it's not that file that's the problem. It lies elsewhere.

If you mean gauges-ssT.htm then the last updated time will be static unless I include it in the process. It has been fine for years until this change. I would like Mark to comment before I make any changes.

Do you see the same as me? Everything fine until you change C to F in the box at the bottom of the page at which points temps go negative.
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 »

Do you see the same as me? Everything fine until you change C to F in the box at the bottom of the page at which points temps go negative.
It's broken as soon as I go to your webpage, without changing units.

The gauges web page doesn't need to be continually uploaded by Cumulus. It's a waste of resources if nothing is changing .
Image
Post Reply