Hi Mark
The link is http://www.kb5bfa.com/gauges/
Hi Mark
The link is http://www.kb5bfa.com/gauges/
Mark, should the rain rate gauge not be able to display values greater than 10mm (for the metric-value gauge) - I noticed the other day, when we had a lot of rain, while my console indicated at one point 23mm/hr for the rain rate, the rain rate gauge remained ‘locked’ at 10mm (both the radial and the linear gauges).
I just did a test by modifying the ‘rrate’ value (in both the ‘customclientraw.txt’ and ‘realtimegauges.txt’ files) to a value greater than 10 - the rain rate gauge remained at 10!
It should, and it does on my system using both WD & Cumulus data formats, that’s why I wanted a link from Kerstan so I could see some ‘live’ data. Unfortunately it isn’t raining at his site now. Running his site in debug mode and injecting a high rain rate figure causes the gauge to rescale as I expect.
Mark, is ‘rrate’ the only tag being used to produce the display of a value in rain rate gauge - if not ,which other tags might be used for that gauge?
Why would the display on my rain rate gauge remain at 10 while the display on the console (from where the amount of rain falling is coming from) was indicating a value greater than 10?
Should changing the value of ‘rrate’ in the data file (in either ‘customclientraw.txt’ or ‘realtimegauges.txt’) to a large value (greater than 10) automatically produce a change in the scale, or is there a delay somewhere, or is there a need for some other tag/variable?
Will check closely today as both snow (from 6 to 10cm) and rain (from 10 to 20mm) are expected later on (Wednesday).
“rrate” is the current rate, but the gauge scales to accommodate “rrateTM” - today’s maximum rain rate.
Mark,
Can you briefly tell me how to achieve this? PM me if you prefer, to save clogging up this thread with less important stuff.
Cheers,
Mark, I just found that out as I was looking at the code of ‘gauges.js’… :oops:
I am not too sure why the ‘today’s high rainfall rate/max rain rate for the day’ value must be used in cooperation with the ‘current rainfall rate/current rain rate’ value - should the ‘current rainfall rate/current rain rate’ value by itself not be enough to change the scale?
I understand the use of the ‘today’s high rainfall rate/max rain rate for the day’ to create a marker/pointer for the highest rain rate of the day, but not as a deciding factor for a change in the scale…
What am I missing or not understanding here?
Because if it as stopped raining, then the current rate would be zero, so the scale would default to 10mm/hr, but how would you show the indicator that today’s maximum rate was say 25mm/hr on a scale of 0-10?
The rain rate gauge has always worked like this. The same logic is applied to the wind speed gauge as well, the scale is calibrated against today’s maximum gust speed.
Sorry Simon, I don’t know, I’d have to Google it myself - it must be doable though, mustn’t it? I have a similar problem on my gauges page, but it’s down my priority list at the mo.
No problem at all Mark, your support here must take up more than enough of your time as it is. I’ve tried some of the suggestions from Google without success - knowing you’re also stumped actually makes me feel better! Let me know if you ever find a solution - for now I’m 101% happy with the project.
Regards,
Evening everyone,
Can these steel gauges be used within WD and or WDL? If so, could someone please explain (in layman’s terms) to this newbie how to actually do it?
Thanks in advance.
Very Best Wishes,
Bob.
Hi Bob,
All the answers to your questions can be found here: -
Regards,
Hello again,
I see references to customclientraw.txt , how do I persuade WD to output a file of that name instead of clientraw.txt?
And does that file have to be uploaded to the main directory of my website, or just sent to the webfiles folder of WD?
Thanks in advance.
Very Best Wishes,
Bob.
its not uploaded instead of
its an additional file that is uploaded
first you need to put the template file in your webfiles folder then set to upload that , in the real time ftp setup
Reference to webfolder is confusing. Web Files/web Page Setup quotes between brackets “in the clientraw location” This in my thoughts is not necessarily the wd webfiles upload directory.
Morning,
By template file, could you be more specific please? :).
At the risk of being a pain too, which folders / files from the unzipped gauges-ss folder do I need to upload to my directory online?
As I know nothing about php etc I’m hoping to just use html.
My current live data page is here:- http://www.ourweather.co.uk/livedata.html .
Any help gratefully received!
Very Best Wishes,
Bob.
By template file, could you be more specific please?
The customclientraw.txt local is the “template file” copy and paste that into a text document and save it to the “webfiles” folder within WD. Then WD will take care of the rest.
As for the other files upload all off the *.htm files to the root your web host. Then create a file called “scripts” on your web host and upload all of the *.js files there. You should already have a folder called “css” on your website, load the *.css files to it too. If all goes well you should be able to open http://www.ourweather.co.uk/gauges-ssT.htm and see your gauges.
Jack
Hello Jack,
I get “DOWNLOADING IN…” and 60 (which doesn’t change) in the narrow strip above the gauges… also, none of the gauges show any reading :(.
Perhaps I’ve totally missed an important piece about the setting up of this!
Very Best Wishes,
Bob.
You will have to adjust gauges.js that you are using WD for your software.
var g_weatherProgram = 1; //Set 0=Cumulus, 1=Weather Display
Hello, and thanks for your reply.
Alas, my gauges.js file was already configured that way…
Thanks anyway.
Very Best Wishes,
Bob.