Steelseries Gauges for WD

John,

The minMeasuredValueVisible is not for the scale, what i see in the script:

function doFirst() {
if (cumulus.tempunit.indexOf(‘F’) !== -1) {
g_temp.minValue = 30;
g_temp.maxValue = 100;
g_temp.value = 30;
g_temp.sections = createTempSections(30, false);
drawTemp();

I guess that is your starting scale, and depending on your values, the scale changes. Maybe you changed to much in the function doTemp?

Jacco

Changed the above code but no change. Still updating about every30 seconds. So I watched my customclientraw.txt update on my server and see that its only updating about only every 20 seconds. I used the default settings in WD which show a 5 second update. Suggestions anyone?

Doug

Doug,

That code only fixes a problem, to have the gauges script check your client raw more often check this in gauges.js…


var g_count                 = 4;   //download data counter (secs, default 60)

as you can see mine is set to 4 seconds. As for WD mine is every 3 seconds, make sure you don’t have a conflicting setting in Internet File Creation maybe?

Thanks for the reply.
Yes I understand the setting. I have mine set at 10 seconds. I was really searching to an answer as to why my custonclientraw is only updating every 20-30 seconds. Maybe I have something set up wrong in WD?

Edit: The only thing I have set up is below. Nothing in Internet File Creation?

Doug


If your server supports file rename,make sure to use that

Jacco,

I noticed the temp max and min arrows behave differently than the wind max arrow. The max arrow on the temp gauge is for the current browsing session and not the days max. Is there any way to have the arrows show the max/min for the day?

Thanks,

Jack

Anyone?

I’d also be interested to know how much data this would use, when left running on my mobile for example?

Simon

@Jack,

I don’t understand what you mean with for the browsing session. You mean the red and blue arrows on your site in the temp gauge?
Because the pink area shows the low-high area for the day.

Do you want this? http://www.hetweerinruinen.nl/flash/gauge3/gauges-ssT-nl.htm

@Simon

Those are the lowest and highest baro records ever for your site. 982.3 and 1043.8.
So if the pointer is in the red parts, you have a new record :smiley:

Jacco

Hi Jacco,

Yes, just like your site. For some reason my low/blue arrow does not move.

Jack

On line 320/321

Change to:
minMeasuredValueVisible : true,
maxMeasuredValueVisible : true,

After line 340: add
gauge_temp.setMinMeasuredValue(g_temp.minMeasured);
gauge_temp.setMaxMeasuredValue(g_temp.maxMeasured);

And finally after line 928: add
gauge_temp.setMinMeasuredValue(g_temp.low);
gauge_temp.setMaxMeasuredValue(g_temp.high);

To much options in these gauges :smiley:

Jacco

To much options in these gauges
You mean there are more!? 8O

Perfect, that is exactly what I was looking for!

Thanks,

Jack

It’s cobbled together, but I was trying to get the temp to display the feels like temp
underneath the word Temperature instead of

Hey Tony,

You solved that in a very creative way!

I would never have thought at that, i just would have used an extra tag in the ccr for example: solardescription=“%Currentsolardescription%”, in the script you could have called it with cumulus.solardescription.

Jacco

Hi Brian, I am unable to get the custom clientraw to work - the update and upload times will not hold, always going back to zero and the file never gets created.

Has anyone had success using the mac version b 95? Thanks,
Paul


Screen shot 2012-02-12 at 3.14.40 PM.png

ah
that will be a problem with those spin adjuster max/min values
(problem occured after a compiler update)
I will fix that
but you could also try setting those parameter directly in the wdisplayftpini file
[Connections]
create custom clientraw update rate=
create custom clientraw upload rate=

No luck Brian, I set up the frequency for update and upload times in the wdisplayftp.ini file but it has not changed the Control Panel nor has it created the file. I’ll wait for your fix to come through.

Thanks,’
Paul


Screen shot 2012-02-12 at 4.01.20 PM.png

no,it will not change the settings panel
also you would need to restart WD after changing those settings

Sorry, I did not mention that I had restarted WD a couple of times and it did not change anything…thanks

I have the graphs working but they seem to expire. They work when the page is fresh but stop working after awhile.

Look back a bit in the posts, I posted a fix for that, it works well. :smiley:

Jack