Mr_Man
7 February 2012 09:45
24
A couple more questions…
My gauges only seem to update once a minute but I understand the clientraw data is uploaded every 3 seconds. How do I get a truly “live” experience?
Also, this will be child’s play to many of you in here so please bear with me… What html code would I use to insert one live wind gauge into the sidebar of my website? So that clicking this takes me to my main gauges page?
Thanks in advance,
Simon
www.spireweather.co.uk/SteelSeries/gauges.htm
My gauges only seem to update once a minute
This can be changed in the file gauges.js
DougW
7 February 2012 15:59
26
Playing around with this and works in Fire Fox but will not work in I.E. Anyone else having this problem?
Steel Guages
Thanks, Doug
Budgie
7 February 2012 16:08
27
Which IE, I think that being HTML5 then it has to be IE 9 or above, maybe IE 8, I’m not sure.
DougW
7 February 2012 16:12
28
I’m running I.E. 8. Does this mean that this script will only run with I.E. 9? Or can it be modified to run with older versions?
Thanks, Doug
Budgie
7 February 2012 16:15
29
Maybe that it’s IE9 and up then.
I updated to IE10 last week and it works OK for me on that so maybe try updating. You should get it through standard Windows Update.
Mr_Man
7 February 2012 16:26
30
Thanks weatherbee, maybe I’m missing something but I can’t see that setting in there. Can you help?
Thanks,
Simon
DougW
7 February 2012 16:32
31
Thanks weatherbee, maybe I'm missing something but I can't see that setting in there. Can you help?
Line 16 for me in guages.js
var g_count = 5; //download data counter (secs, default 60)
Mr_Man
7 February 2012 18:38
32
Thanks Doug,
Can’t think how I missed that!
Simon
Would there be too much editing to make the gauges work with the existing clientraw.txt
I’m currently uploading?
I’ve been working on a page that combines the ajax page and the dials. Not perfected yet but what do you think?
http://www.shermanctweather.com/indextest.php
jacg
7 February 2012 22:08
35
Impossible, most of them are tags who are not in the clientraw.
BTW guys these gauges are html5 only, so make a redirect for older browsers (IE8) to your old page.
Jacco
Ah ok. So I’m confused then.
{"ver":"5","date":"<#date format=hh:nn>","temp":"<#temp>","tempTL":"<#tempTL>".......
This is the realtimegaugesT.txt file that came with the download. Which do I change in this file and then save as a
2nd file to upload in realtime?
Sorry, I just need a push in the right direction. :oops:
Budgie
8 February 2012 00:45
37
Go back on to Jacco’s website and download the file called “customclientrawlocal.txt” at the bottom of his download page.
Sorry, I just need a push in the right direction.
Tony,
Go here http://www.hetweerinruinen.nl/steelseries-gaugs-for-wd and download the customclientrawlocal.txt. Put in in your web folders and then go to the realtime setup page and set it up to update there.
wetherbee…you are reading my mind/1 http://stillweather.com/index2.php
Jacco…thanks for the tip about html5 that’s a nice solution!
Jack
Jack nice job. Yours is much better balanced than mine.
How did you get the graphs to work?
How did you get the graphs to work?
Thanks, and they really are not yet, look at the data, it’s wrong. Working on that though! Jacco posted something about it earlier, going to look at that now.
Jack
Mr_Man
8 February 2012 07:24
41
Jack,
Those pages you’ve created are beautiful! When you’ve figured out how to implement the graphs properly, would you be kind enough to write a tutorial here, for web novices like me?
Thanks,
Simon
http://www.spireweather.co.uk/SteelSeries/gauges.htm
Thanks Guys. I’m getting there. http://cnyweather.com/gauges-ssT.htm
Barometer is updating in inches but the gauge shows in hPa
jacg
8 February 2012 13:40
43
In the clientrawlocal.txt change hPa to in, the units are hardcoded
Jacco