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

Hal

It would but not by much, there isn't much room left on the screen. I think some of the Davis forecast strings can be quite long (I can't find the list of them at the mo. - over 100 they say). What I am working on is making the display scroll if the string is too long for the display size - it almost works now, the scrolling starts OK I'm just having a few problems stopping it when a shorter string is displayed!
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: SteelSeries Gauges - version 1.0

Post by steve »

mcrossley wrote: I think some of the Davis forecast strings can be quite long (I can't find the list of them at the mo. - over 100 they say)
They're listed in this thread: https://cumulus.hosiene.co.uk/viewtopic.php?f=6&t=4140

The longest is 163 characters.
Steve
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 »

Presumeably the wind directions have to be transposed for the Southern hemisphere ?
Image
......................Imagine, what you will KNOW tomorrow !
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: SteelSeries Gauges - version 1.0

Post by steve »

beteljuice wrote:Presumeably the wind directions have to be transposed for the Southern hemisphere ?
Yes, it looks like the station overwrites the hard-coded wind directions appropriately. Here's a station I've just found in NZ - http://marsden.school.nz/weather/Curren ... o_Plus.htm, which at the time of this posting is showing "Increasing clouds and cooler. Precipitation possible within 6 hours Windy with possible wind shift to the W, SW, or S."

It's replaced N with S, but left W as is. Perhaps it would replace the W if required. Maybe it does in the Northern hemisphere also?
Steve
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 »

steve wrote:They're listed in this thread: https://cumulus.hosiene.co.uk/viewtopic.php?f=6&t=4140

The longest is 163 characters.
Ah scrolling definitely required then :roll:
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 »

I have always assumed that E / W were transposed as well :(

Could some Antipodean please confirm if 'bad' weather comes from SE or SW (.. other) ?

If the later then I've got it wrong in the 'Zambretti' forecaster (I think - It was a few years ago)

But most (Southerners) seem to be reasonably happy with the forecasts ...
Image
......................Imagine, what you will KNOW tomorrow !
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: SteelSeries Gauges - version 1.0

Post by steve »

beteljuice wrote:I have always assumed that E / W were transposed as well :(

Could some Antipodean please confirm if 'bad' weather comes from SE or SW (.. other) ?
But isn't it just to do with the passage of pressure systems and the resulting change in wind direction, rather than specifically bad weather?
Steve
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 »

I've just thought - typical wind directions also 'reverse' for Summer / Winter forecast logic. I think I'll leave it alone unless it can be shown the forecast is significantly awry for those in the southern hemisphere :roll:
Image
......................Imagine, what you will KNOW tomorrow !
User avatar
gwheelo
Posts: 453
Joined: Wed 11 Jun 2008 7:36 pm
Weather Station: WMR-88
Operating System: Windows 8.1
Location: L'Estartit, Spain
Contact:

Re: SteelSeries Gauges - version 1.0

Post by gwheelo »

I've just thought - typical wind directions also 'reverse' for Summer / Winter forecast logic. I think I'll leave it alone unless it can be shown the forecast is significantly awry for those in the southern hemisphere'
Is this discussion dancing around what is sometimes refereed to as "Prevailing" and/or "Trade" winds? Various locations appear to have their individual "dominant" wind direction.

gwheelo
Image
User avatar
gwheelo
Posts: 453
Joined: Wed 11 Jun 2008 7:36 pm
Weather Station: WMR-88
Operating System: Windows 8.1
Location: L'Estartit, Spain
Contact:

Re: SteelSeries Gauges - version 1.0

Post by gwheelo »

I have a multi-language SS Gauges test page working with static data at: http://www.wheelocknet.net/canvas_g/gauges_ss_9.html
Just click a flag to test. Site links will simply take off to the ether at this point. Special thanks to mcrossley for his SS scripts.

My weather site is down at the moment due to equipment failure. I will test using live data starting August 6 but see no reason why this won't work.

At this point please excuse poor translations. Hoping to improve languages over the next few weeks.

gwheelo
Image
User avatar
gwheelo
Posts: 453
Joined: Wed 11 Jun 2008 7:36 pm
Weather Station: WMR-88
Operating System: Windows 8.1
Location: L'Estartit, Spain
Contact:

Re: SteelSeries Gauges - version 1.0

Post by gwheelo »

I have found it necessary to change the gauges.js code from;

if (document.getElementById('lab_dew1')) {
document.getElementById('lab_dew1').innerHTML = LANG.dew_web;
}

to:

if (document.getElementById('lab_dew1')) {
document.getElementById('lab_dew1').innerHTML = LANG.dew_info_web;
}

circa line 1426

to accommodate the changeLang() function. I believe all the other labels function appear correct.

gwheelo
Image
gemini06720
Posts: 1700
Joined: Mon 10 Aug 2009 10:16 pm
Weather Station: No weather station
Operating System: No operating system
Location: World...

Re: SteelSeries Gauges - version 1.0

Post by gemini06720 »

gwheelo wrote:I have found it necessary to change the gauges.js code from...
That could have been my mistake... :oops:

For some reasons, I have replaced the variable 'LANG.dew_web' with 'LANG.dew_info_web' in the 'gauges.js' script... :evil:

But, then, if you look at the 'gauges_french.js' language template, the right variable 'LANG.dew_web' is there... :roll:
User avatar
gwheelo
Posts: 453
Joined: Wed 11 Jun 2008 7:36 pm
Weather Station: WMR-88
Operating System: Windows 8.1
Location: L'Estartit, Spain
Contact:

Re: SteelSeries Gauges - version 1.0

Post by gwheelo »

But, then, if you look at the 'gauges_french.js' language template, the right variable 'LANG.dew_web' is there..
Yes - that led me to the error. I use 6 LANG.js scripts - one for each language. I was trying to discover why only the French worked correctly. The other four language scripts were translation copies of the English script.

I failed to mention that it was also necessary to change line 50 of gauges_french.js as well so that the LANG.dew.info.web variable was consistent throughout.

Is there anyone willing to check my Dutch, German, Spanish,and Catalan scripts for translation errors! Please!

gwheelo
Last edited by gwheelo on Mon 18 Jul 2011 3:58 am, edited 1 time in total.
Image
User avatar
CheroKiwi
Posts: 42
Joined: Mon 10 Jan 2011 8:51 pm
Weather Station: La Crosse
Operating System: Windows XP SP3
Location: Albuquerque NM USA
Contact:

Re: SteelSeries Gauges - version 1.0

Post by CheroKiwi »

Thanks for the great gauges.

Have one question though
It is now 10pm (2200hrs) and to the left of the countdown to net update it shows SUNNY.
Is there a way to turn the forecast off.

Thanks
Ron
User avatar
JennyLeez
Posts: 336
Joined: Wed 16 Dec 2009 2:32 am
Weather Station: La Crosse WS3083
Operating System: Windows XP, Win7 & Win 10
Location: Wairoa, Hawkes Bay. New Zealand.
Contact:

Re: SteelSeries Gauges - version 1.0

Post by JennyLeez »

CheroKiwi wrote:Thanks for the great gauges.

Have one question though
It is now 10pm (2200hrs) and to the left of the countdown to net update it shows SUNNY.
Is there a way to turn the forecast off.

Thanks
Ron
It probably is though ... ways down here :)
Wairoa, Hawkes Bay, New Zealand Weather Station:
http://wairoa.net/weather/index.htm
Cumulus Topsites:
http://cumulussites.net/
Image
Post Reply