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

SteelSeries Gauges - version 1.0

Discussion of Mark Crossley's HTML5/Javascript gauges

Moderator: mcrossley

User avatar
meteotortosa
Posts: 323
Joined: Thu 04 Dec 2008 12:15 am
Weather Station: Davis Vantage Pro2 Plus
Operating System: Windows XP SP3
Location: Tortosa-Baix Ebre- Catalonia
Contact:

Re: SteelSeries Gauges - version 1.0

Post by meteotortosa »

mcrossley wrote:
meteotortosa wrote:How can I fix it?
Rewrite the code! :lol:
It behaves that way for everyone, if the range of values for the parameter you select fall within the existing gauge scale, it will not rescale the gauge. For the temperature gauge, I shift the scale 20°C at a time, with a 40°C range so there quite a bit overlap in the range 'jumps'. Refreshing the page will set it back to the start range of course.

The aim was to minimise the range jumping around as much as possible.
Well, I can wait :lol: :lol: :lol:
Weather in Tortosa (NE Spain), updated every 15'
Image Image
User avatar
mcrossley
Posts: 14384
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: SteelSeries Gauges - version 1.0

Post by mcrossley »

Version 1.5.1 is available.

No huge changes, but quite a lot of files touched in small ways - be sure to catch them all. ;)
  • Updated SteelSeries library
    - v0.9.17 - fixes sector/area drawing issues with Chrome Dev release 19
  • Updated gauges-ss.css
    - Added references to external ttf, svg, and eot font files for backward compatibility with browsers that do not support the woff font embedded in the css file.
    - Changed gauge table style so it is centered horizontally on page.
  • Updated gauges-ssT.htm (+ all translations)
    - Changed html so gauges are always centered horizontally on page
  • Adds 'font' folder back in to archive
    - A subset of the original font files included
  • Updated gauges.js
    - minor changes to attempt to fix missing zero values on the rain gauges
Justin-Case
Posts: 7
Joined: Mon 14 Nov 2011 6:07 pm
Weather Station: WH-1080
Operating System: Windows 7
Location: Sweden

Re: SteelSeries Gauges - version 1.0

Post by Justin-Case »

Hi Mark!

The LCD-font is now back in my phone, thanks. But the problem with the redirection remains. I noticed the same problem with other users pages as well, not just my own, trying to view them with IE8. The only thing showing is some radio-buttons.


/Mats
User avatar
mcrossley
Posts: 14384
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: SteelSeries Gauges - version 1.0

Post by mcrossley »

Justin-Case wrote:Hi Mark!

The LCD-font is now back in my phone, thanks. But the problem with the redirection remains. I noticed the same problem with other users pages as well, not just my own, trying to view them with IE8. The only thing showing is some radio-buttons.


/Mats
thanks Mats, I'll see if I can get a machine running IE8 going sometime this week to investigate this...
User avatar
mcrossley
Posts: 14384
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: SteelSeries Gauges - version 1.0

Post by mcrossley »

For anyone interested, can you try out my gauges page (force a browser page refresh if you have used it before).

This page should now detect browser with no canvas support and redirect them to my old gauges page (which I think also uses canvas! I haven't checked).

Browsers with javascript disabled will be redirected to my today/yesterday page (as my index page also uses scripting).

Go easy, my web site is home hosted on a creaky laptop at the end of an ADSL link ;)
And this is just test code.

Edit: A link helps! :oops:
http://weather.wilmslowastro.com/gauges5/gauges.htm
Justin-Case
Posts: 7
Joined: Mon 14 Nov 2011 6:07 pm
Weather Station: WH-1080
Operating System: Windows 7
Location: Sweden

Re: SteelSeries Gauges - version 1.0

Post by Justin-Case »

Hi Mark.

No problems opening your gauges page in IE9, Firefox, Chrome and with my HTC Sensation. When I try it with IE8 I get redirected to http://weather.wilmslowastro.com/gauges.htm

I hope this information is useful.


/Mats
User avatar
FTBoomer
Posts: 29
Joined: Mon 26 Dec 2011 2:14 am
Weather Station: W-1080
Operating System: Win 7
Location: Tampa, FL

Re: SteelSeries Gauges - version 1.0

Post by FTBoomer »

Looks good in Chromium 18.0.1024.0 (Developer Build 119674)
mcrossley wrote:For anyone interested, can you try out my gauges page (force a browser page refresh if you have used it before).

This page should now detect browser with no canvas support and redirect them to my old gauges page (which I think also uses canvas! I haven't checked).

Browsers with javascript disabled will be redirected to my today/yesterday page (as my index page also uses scripting).

Go easy, my web site is home hosted on a creaky laptop at the end of an ADSL link ;)
And this is just test code.

Edit: A link helps! :oops:
http://weather.wilmslowastro.com/gauges5/gauges.htm
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: SteelSeries Gauges - version 1.0

Post by Mapantz »

I've updated to the latest, but it goes a bit berserk now.
If i refresh the page, it all starts normal, then after the first update, i get 'HTTP REQUEST 200'
Then it refreshes again, and the countdown timer goes haywire ..
It starts using alot of CPU as well.

http://www.wareham-weather.co.uk/gauges-ss.htm
Image
User avatar
laulau
Posts: 678
Joined: Tue 13 Oct 2009 10:52 pm
Weather Station: WeatherDuino Pro2
Operating System: Win 7
Location: Meyenheim, Alsace, FR
Contact:

Re: SteelSeries Gauges - version 1.0

Post by laulau »

Since version 1.5.0
Updated gauges-ssT.htm (+ translations)
- Removed onLoad() from body tag
<body onload="init()"> must be <body>
Because it runs twice the countdown !!!
Laurent

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: SteelSeries Gauges - version 1.0

Post by Mapantz »

laulau wrote:Since version 1.5.0
Updated gauges-ssT.htm (+ translations)
- Removed onLoad() from body tag
<body onload="init()"> must be <body>
Because it runs twice the countdown !!!
Ahh thank you. I was scouring for that after i moved it, and realised the page was trying to update too many times (hence cpu useage)

Thanks again :)

Regards.
Image
User avatar
SpireWeather
Posts: 60
Joined: Fri 17 Jun 2011 7:43 pm
Weather Station: Davis Vantage Vue
Operating System: Synology NAS (DSM 7.2.1)
Location: Wimborne Minster UK
Contact:

Re: SteelSeries Gauges - version 1.0

Post by SpireWeather »

I hope I won't get struck down for swearing in here but I use...wait for it...

Weather Display...aaarrrgh!

I know it's a long shot but I'm aware that some of you use both WD and Cumulus, and I am wondering whether anyone has successfully got this up and running with Weather Display? This is such an incredible application, and it would be amazing to prepare a page that can display live data on an iPad.

Thanks in advance,

Simon
SpireWeather
Simon, WessexWeather
Image
User avatar
mcrossley
Posts: 14384
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: SteelSeries Gauges - version 1.0

Post by mcrossley »

Simon, if you don't want to rewrite gauges.js, then any software that can create the realtimegauges.txt file can be used. I do not know of anyone using WD (yet), but I have seen someone use the gauges with a Linux based package. You just have to find all the equivalents of the Cumulus web tags I use.

Obviously I would not want this forum to become a support thread for WD related questions!
jacg34
Posts: 2
Joined: Thu 09 Jun 2011 9:53 am
Weather Station: Davis Vantage pro solar + UV
Operating System: Windows 7/ 2008 server
Location: Ruinen, The Netherlands

Re: SteelSeries Gauges - version 1.0

Post by jacg34 »

Well i am a WD user, sorry for that ;) , i found the steelseries gauges on the internet, and then stumbled again upon them on the cumulus forum.
After reading the thread i thought it wouldn't be that diificult to implement.

After some hours off changing tags, ouch what a work, i finally succeeded.

http://www.hetweerinruinen.nl

Many thanks Mark! You did an awesome job!

Jacco
User avatar
beteljuice
Posts: 3292
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: W10 - Threadripper 16core, etc
Location: Dudley, West Midlands, UK

Re: SteelSeries Gauges - version 1.0

Post by beteljuice »

Nice presentation jacco, but it doesn't seem to update ?
Image
......................Imagine, what you will KNOW tomorrow !
jacg34
Posts: 2
Joined: Thu 09 Jun 2011 9:53 am
Weather Station: Davis Vantage pro solar + UV
Operating System: Windows 7/ 2008 server
Location: Ruinen, The Netherlands

Re: SteelSeries Gauges - version 1.0

Post by jacg34 »

Sure it updates at a frequency of 5 seconds, but the weather is so boring here.
Very cold, a high baro and no wind. So not much to see.

I like the way everything can be configured. It is possible to depend the solar scale units on the current max solar.
So at night the solar scale is blank, and when the sun starts shining the scale starts. In cumulus thats the <#CurrentSolarMax> tag.
Post Reply