Page 31 of 46

Re: SteelSeries Gauges - version 1.0

Posted: Thu 19 Jan 2012 11:41 am
by mcrossley
The 'latest' 'average' on the wind direction gauge are an oversight - thanks.

The rest of the missing translations are because you have used the English template file - you need to use the French version "gauges-ssT-fr.htm"

I will look at producing a single template some time!

Re: SteelSeries Gauges - version 1.0

Posted: Thu 19 Jan 2012 4:45 pm
by Mapantz
I've just tried upgrading to the latest version (did a test page first, before overwriting anything)
And i get the 'text file download corrupted' message. The filepaths are the same as the other page, so i'm not sure what's wrong?

Regards.

Re: SteelSeries Gauges - version 1.0

Posted: Thu 19 Jan 2012 7:42 pm
by mcrossley
A link to the page would help. ;)

Re: SteelSeries Gauges - version 1.0

Posted: Thu 19 Jan 2012 7:54 pm
by Mapantz
Yeah, that would help .. LOL

http://www.wareham-weather.co.uk/gauges-ss.htm

It's not showing anything now, for me. (Chromium browser)

Re: SteelSeries Gauges - version 1.0

Posted: Thu 19 Jan 2012 8:11 pm
by laulau
mcrossley wrote:The 'latest' 'average' on the wind direction gauge are an oversight - thanks.
I've found something:
in gauge.js line 187 should be g_dir.titles = [LANG.latest_web, LANG.tenminavg_web]; and not g_dir.titles = [LANG_EN.latest_web, LANG_EN.tenminavg_web];

Re: SteelSeries Gauges - version 1.0

Posted: Thu 19 Jan 2012 9:46 pm
by mcrossley
laulau wrote:
mcrossley wrote:The 'latest' 'average' on the wind direction gauge are an oversight - thanks.
I've found something:
in gauge.js line 187 should be g_dir.titles = [LANG.latest_web, LANG.tenminavg_web]; and not g_dir.titles = [LANG_EN.latest_web, LANG_EN.tenminavg_web];
Yep, that is the fix. I have another release ready that will incorporate this along with a couple of others. Probably in the morning as the fixes are on my laptop and I can't be bothered getting it fired up this evening.

Re: SteelSeries Gauges - version 1.0

Posted: Thu 19 Jan 2012 9:47 pm
by gemini06720
Mapantz wrote:It's not showing anything now, for me. (Chromium browser)
I can see the gauges but there is no updating...

Could you try something: Try removing the '/' (slash) in front of the file name 'realtimegauges.txt' in the 'gauges.js' script - I just added a slash in front of the file name 'realtimegauges.txt' on my system and the SteelSeries stopped being updated...

It might also be a good idea to update your Cumulus to the latest version - build 1027.

Re: SteelSeries Gauges - version 1.0

Posted: Thu 19 Jan 2012 9:48 pm
by mcrossley
Mapantz wrote:Yeah, that would help .. LOL

http://www.wareham-weather.co.uk/gauges-ss.htm

It's not showing anything now, for me. (Chromium browser)
Ta, I'll take a look in the morning. I can't debug on my tablet, need the laptop firing up...

Re: SteelSeries Gauges - version 1.0

Posted: Fri 20 Jan 2012 9:47 am
by mcrossley
Mapantz wrote:Yeah, that would help .. LOL

http://www.wareham-weather.co.uk/gauges-ss.htm

It's not showing anything now, for me. (Chromium browser)
Simple fix, in converting the template page you have dropped the Cumulus version/build spans. The script is erroring when it fails to find them. I'll put some error checking in the code as a few people have fallen foul of this.

Code: Select all

 powered by <a href="http://sandaysoft.com/products/cumulus" target="_blank">Cumulus</a> v<span id="cumulusVersion"></span> (<span id="cumulusBuild"></span>)

Re: SteelSeries Gauges - version 1.0

Posted: Fri 20 Jan 2012 10:11 am
by mcrossley
Version 1.4.2 now available:
  • 1.4.2
  • Updated gauges.js
    - Fixed bug in METAR STDY wind calculation
    - Fixed Wind Direction titles always displaying in English
  • Updated language.js
    - Added Dutch translations for UV gauge (thanks to 'Marc')
    - HTML5 cleanups
  • Updated gauge-ssT.htm (+ translations)
    - HTML5 cleanups
  • Updated steelseries.js (+ minimised)
    - Up to version 0.9.13, improved TrendIndicator 'glow'

Re: SteelSeries Gauges - version 1.0

Posted: Fri 20 Jan 2012 11:57 am
by mcrossley
Opps! Hold fire on version 1.4.2 - I have discovered a bug in the SteelSeries library, it has been there for a while but needs fixing.

Re: SteelSeries Gauges - version 1.0

Posted: Fri 20 Jan 2012 12:25 pm
by beeman
mcrossley wrote:The script uses your record low/high to scale the gauge, as your record low pressure is 29.7 hPa, it ranges from 20 upwards. Fix your incorrect record and the gauge will reflect this.
Records fixed. I had months of dodgy pressure readings due to the batteries in the sensor being flat :oops:

Linear gauges next :roll:

Re: SteelSeries Gauges - version 1.0

Posted: Fri 20 Jan 2012 12:28 pm
by mcrossley
mcrossley wrote:Opps! Hold fire on version 1.4.2 - I have discovered a bug in the SteelSeries library, it has been there for a while but needs fixing.
Version 1.4.2a now uploaded, it turns out that the way the Cumulus script uses the gauges it would have been extremely unlikely to hit the bug anyway - only if your update time was less than 3 seconds.

Edit: I still have the metar wind calculation wrong :roll: Definitely fixed in the next release - promise - the fixed version is running on my web site now to make sure :lol:

Re: SteelSeries Gauges - version 1.0

Posted: Fri 20 Jan 2012 12:30 pm
by mcrossley
beeman wrote:
mcrossley wrote:The script uses your record low/high to scale the gauge, as your record low pressure is 29.7 hPa, it ranges from 20 upwards. Fix your incorrect record and the gauge will reflect this.
Records fixed. I had months of dodgy pressure readings due to the batteries in the sensor being flat :oops:
Your low record still looks way too low to me - 862.0 hPa? Are you sure that shouldn't be 962?

Re: SteelSeries Gauges - version 1.0

Posted: Fri 20 Jan 2012 3:14 pm
by CrasHBoneS
Hi all
I'm using SteelSeries gauges v 1.4.1 and Cumulus v 1.9.2

On my web page (http://meteobellaria.altervista.org/cumulus/gauges.htm) the gauge "temp." and the gauge "press." doesn't display the UP and DOWN trend, the trend displayed in temp. and pressure is always on "steady"

in gauges.js file

Code: Select all

var g_tempTrendVisible = true;
var g_pressureTrendVisible = true;


in realtimegauges.txt file

Code: Select all

......"temptrend":"-0,1"......"presstrendval":"+0,6".............
both the gauges are now on "steady"

Could someone help me?

Thank you very much