Steelseries Gauges for WD

Thanks for the color changing info Jack.
Here is the direction I am heading (top portion) using iframes. Is there a better way?
http://www.cavecountryweather.com/test.php

Jack,

Check the options in steelseries.js from line 6190, there are even more to choose from.

Jacco

Gaaf. Bedankt. Koud Heh in NL. :smiley:

Thanks.
I have been looking for these for some time now.

Wow, thanks Jacco. Mark also fixed my issue with the updates randomly stopping. He will incorporate it into a future update but if anybody has the issue I do have the fix.

Jack

Like your front page with the gauges Jack!

I haven’t been able to figure out the scaling of the barometer for inches. The scale goes from 0 to 30. I have played around with the gauges.js with now luck. Any help would be appreciated.

http://www.harpersferry-weather.com/Steelseries/gauges-altT.htm

Thanks,

John

Not looking forward to having to start over with the .js files after an update!

John,

Try these settings;

    // define pressure/barometer gauge start values
    g_baro.sections = [];
    g_baro.areas = [];
    g_baro.minValue = 29.2;
    g_baro.maxValue = 30.4;
    g_baro.value = 29.2;
    g_baro.title = LANG.baro_title;
    g_baro.lcdDecimals = 2;
    g_baro.scaleDecimals = 1;
    g_baro.labelNumberFormat = g_labelFormat;
Not looking forward to having to start over with the .js files after an update!

It’s only a couple of lines at this point! :smiley:

Jack

I made the edits and there was no change to the scale.

John

John,

How do you have this part set up?

    cumulus.tempunit = '

[quote author=BfdWx link=topic=54749.msg440035#msg440035 date=1328921304]
John,

How do you have this part set up?

    cumulus.tempunit = '

John,

What is your gauge site? Maybe it is a cache issue?

Jack,

Gauges are located at:
http://www.harpersferry-weather.com/Steelseries/gauges-altT.htm
http://www.harpersferry-weather.com/Steelseries/gauges-ssT.htm

I cleared the cache but no joy.

John

OK, one last thing, go to your customclientrawlocal and check this “pressunit”:“in”, you want it to say “in”.

Jack

That’s what I have. I don’t get it why the scaling is not showing correctly after specifying the min and max values in the gauges.js file.

Now I’m stumped too! Maybe Jacco will chime in soon.

I have been trying to rescale my pressure gauge without luck as well

Can anyone tell me what the red shaded segments at the upper & lower limits of the hPa pressure scale are for?

See http://www.spireweather.co.uk/?page_id=2201

Thanks,

Simon

Jack,

Can you sent me the fix? Or tell me what the fix is?
I’ve heared the same problem from others. On my page the data on the top is refreshing faster as those from the gauges.

And i can add it to the download on my page.

Jacco

Here it is Jacco,

It happens when the customclientraw.txt file is zero length - presumably it is being updated on the server. To fix this change gauges.js line 676 from:


            cumulus = JSON.parse(objXML.responseText);
to

            try {
                cumulus = JSON.parse(objXML.responseText);
            } catch(e) {}

BTW, the word “try” is actually part of the code.
Jack