cloudy cloudy

Author Topic: VP console with real time update  (Read 100039 times)

0 Members and 1 Guest are viewing this topic.

Offline NBH

  • Posts: 325
  • Davis Vantage Pro2
  • Stenestad Sweden
    • Stenstad Weather
Re: VP console with real time update
« Reply #30 on: January 25, 2011, 03:24:46 PM »
Do not thank me, thank Axelvold, it was his idea and script, which I have adjusted a bit.
Bertil

Offline weatherc

  • Posts: 1,983
  • Salo, Finland
    • Weatherstation Salo,FI
Re: VP console with real time update
« Reply #31 on: January 25, 2011, 03:30:01 PM »
Took Lars & Bertil's script and moddificated it a little bit :lol:

Result as attached image,
- digital numbers/text
- moving wind direction & barotrend needle
- changing icon from 10 avaliable
- 24h graphs, changeble from the black buttons
- Monthly and yearly rain and rainrate changeble from RAINyr-button
- W3-validate, also marquee even if <marquee> itself don't validate

Note, it use same limits for barotrend-needle what Davis use (Daivis use 3hr but i converted it to 1 hr) and it different from what Ken's template ue.

Its heavily use jQuery as base, the graph is Flot, needle is pure javascript and AJAX is jQuery-version of it, because i like jQuery's AJAX-system, its clear and easy to manage.

I have NOT tested it on the template so i should need someone to test it for possible (surely) issues. ;)

Demo: http://www.nordicweather.net/index.php?sivu=18.1&lang=en

Download: http://www.nordicweather.net/downloads/?6

Install:
2 paths in vp_console2.php
2 paths in jquery/jquery.console.js

Enjoy! :D
Henkka
« Last Edit: January 25, 2011, 04:26:16 PM by weatherc »

Offline Axelvold

  • Posts: 1,081
  • Axelvold / Sweden
  • Axelvold, Sverige
    • Axelvold's weather and photo
Re: VP console with real time update
« Reply #32 on: January 25, 2011, 03:37:04 PM »
Looks very nice, Seems that I can throw my script in the trash.  :(



Offline munrobaggins

  • Posts: 1,973
  • 38 mls NE Inverness UK
Re: VP console with real time update
« Reply #33 on: January 25, 2011, 03:38:09 PM »
Do not thank me, thank Axelvold, it was his idea and script, which I have adjusted a bit.
Bertil
Well....I just can't keep up is the truth...very many many thanks to ALL working on this...Lars, Bertil and now it would seem Henkka and maybe more to come.. :oops:

Anyway, my puny efforts of moving co-ords here and there have all been overtaken by the speedier efforts of others (and most likely, very much younger and definitely more knowledgeable, fellow forum members)....but I am learning in the process... :wink:
« Last Edit: January 25, 2011, 03:46:50 PM by munrobaggins »

Offline weatherc

  • Posts: 1,983
  • Salo, Finland
    • Weatherstation Salo,FI
Re: VP console with real time update
« Reply #34 on: January 25, 2011, 03:39:16 PM »
Quote
Looks very nice, Seems that I can throw my script in the trash

Noo, the idea was yours so all credits goes to you! :D

Henkka

Offline weatherc

  • Posts: 1,983
  • Salo, Finland
    • Weatherstation Salo,FI
Re: VP console with real time update
« Reply #35 on: January 25, 2011, 03:46:29 PM »
Forgot one file from the zip (ie7.css), what include a IE-fix, zip updated.

Offline jwwd

  • WML testers
  • Posts: 3,704
  • Silkeborg, Denmark (56:10:58 N-09:30:26 E) - Elevation 75,35 meters
    • Weather at Silkeborg, Denmark
Re: VP console with real time update
« Reply #36 on: January 25, 2011, 03:54:27 PM »
Hi Henkka

Got it almost working:

http://www.silkeborg-vejret.dk/davisvp2.php

I think my trend and wind arrows are missing and the scrolling text. Where do I find them?

Best regards,

Henrik

Edit: And the graphs are missing too  :D
« Last Edit: January 26, 2011, 05:13:40 AM by jwwd »

Offline weatherc

  • Posts: 1,983
  • Salo, Finland
    • Weatherstation Salo,FI
Re: VP console with real time update
« Reply #37 on: January 25, 2011, 04:28:15 PM »
Hi Henrik,

Works fine from here

Henkka

Offline weatherc

  • Posts: 1,983
  • Salo, Finland
    • Weatherstation Salo,FI
Re: VP console with real time update
« Reply #38 on: January 25, 2011, 04:39:23 PM »
IF you need to adjust the positions for the numbers when you install it on your site, i needed, just look for the "top: xxxpx" in the style=""-settings in the html-code and finetune from there. seems they can slightly move depend on the page's other code.

Offline munrobaggins

  • Posts: 1,973
  • 38 mls NE Inverness UK
Re: VP console with real time update
« Reply #39 on: January 25, 2011, 04:46:36 PM »
I'm struggling ...obviously something to do with the image location....I already had a folder called img and transferred the contents of the downloaded image folder to that...My img folder is at the first level in the website directory...

ideas? help required.

This is the result so far for the Henkka version.. here

The previous Bertil Version still works OK here

Offline NBH

  • Posts: 325
  • Davis Vantage Pro2
  • Stenestad Sweden
    • Stenstad Weather
Re: VP console with real time update
« Reply #40 on: January 25, 2011, 04:51:41 PM »
Hi Henkka
And here I have my
Edit: with a new background image
Bertil
« Last Edit: January 26, 2011, 06:38:29 AM by NBH »

Offline jwwd

  • WML testers
  • Posts: 3,704
  • Silkeborg, Denmark (56:10:58 N-09:30:26 E) - Elevation 75,35 meters
    • Weather at Silkeborg, Denmark
Re: VP console with real time update
« Reply #41 on: January 25, 2011, 05:03:10 PM »
Hi Henrik,

Works fine from here

Henkka

Hi Henkka

You are right - it works fine in Firefox - but not in IE8  :? :?

Best regards,

Henrik

Offline weatherc

  • Posts: 1,983
  • Salo, Finland
    • Weatherstation Salo,FI
Re: VP console with real time update
« Reply #42 on: January 25, 2011, 05:51:17 PM »
Quote
You are right - it works fine in Firefox - but not in IE8

aah, that damn excanvas.pack.js-file  #-o
Just copy it from 3in1 to correct folder  :wink:

henkka

Offline weatherc

  • Posts: 1,983
  • Salo, Finland
    • Weatherstation Salo,FI
Re: VP console with real time update
« Reply #43 on: January 25, 2011, 05:54:14 PM »
Excanvas.pack.js included in zip now.

Bertil, looking great! Just little finetuning of wind-speed and violá!  :D

Offline jwwd

  • WML testers
  • Posts: 3,704
  • Silkeborg, Denmark (56:10:58 N-09:30:26 E) - Elevation 75,35 meters
    • Weather at Silkeborg, Denmark
Re: VP console with real time update
« Reply #44 on: January 25, 2011, 06:21:57 PM »
aah, that damn excanvas.pack.js-file  #-o
Just copy it from 3in1 to correct folder  :wink:

henkka

Hi Henkka

That did the trick!! Now its working  :D :D :D

Thanks to all who have been involved in this great script.

Best regards,

Henrik

 

cumulus