VP console with real time update

Is there a idiots guide I wish to have mph, C. mm and mb?
First edit vp_console2.php: line 91 - m/s -> mph line 103 - hPa -> mb mm and C is there already.

1 hPa = 1 mb - so thats ok.
We have to change the windreading to show mph.
Edit line 68 in the jquery.console.js file

var crwspd = (cr[1] * 0.514444).toFixed(1);

to

var crwspd = (cr[1] * 1.15155).toFixed(1);

Many thanks ocl… :slight_smile:

Many thanks all working now

Spoke to soon ok in Firefox but not in IE (http://www.gyweather.com/vp_console2.php) also how to I get the change of colour when it updates.

Thanks in advance

Anybody interested in finishing this? → http://travelingrvwx.com/vue_console.php

I just don’t have much time to devote to the project and it needs a lot more added…shouldn’t be hard, just need time…

If you also want to show seconds in the clock, change this line of jquery.console.js to this

var cu = cr[29]+':'+cr[30]+':'+cr[31]+'    '+cr[35]+'.'+mo;

Look at my page
Bertil

Can anyone tell me what to do to get graph and wind direction working in IE works ok in firefox.

Thanks

There is one more file in the latest zip, i think. You have to upload that file also…
I’m at work so cant tell you the filename…

Back at home now…
The missing file in the first zip is called excanvas.pack.js and have to be uploaded to the jquery folder on the server to get the VP console to work in IE.

Hi ocl

I have excanvas.pack.js in the jquery folder but still no graph and wind direction
many thanks for you help

I have excanvas.pack.js in the jquery folder but still no graph and wind direction many thanks for you help

Hi
I’ve looked at your site and both graph and wind direction works in IE 8.
Maybe the problem is some of the security settings in your browser?

Ole-Chr

Yes, same here. Looks good in IE8.

OK guys will look further thanks for your help

How do I include this in the narrow template?

My idea for this was to open it in a new window, (see the attached picture)

But I think NBH (Bertil) have managed to get it into the narrow template, http://www.stenestad-vader.com/wx/wxvpconsole.php

That is his modified version of the script, I don’t know if any one have managed to get weatherc script into the narrow template yet.


Interesting…there must be a way to do it somehow…I am running the Bertil script in my link in the templates :), but have been unable to get the weatherC version to do likewise :(, although it is working as a stand-alone page :)…

has anyone let Davis know about the work done here?

I don’t dare do that, maybe they want to be paid every time the image of console is displayed. :roll: 8O

I woud think it would be good promo for them

Talk about free advertising, maybe all that use this should get paid from Davis? 8O

I must admit to thinking the same… :roll: :roll: