Page 1 of 2

Alternative real-time dashboard?

Posted: Mon 15 Jul 2013 8:48 am
by mcrossley
Inspired by Alexey's excellent web page (see this topic) I put together a simpler single page dashboard that just displays real-time data - it only uses the standard Cumulus realtime.txt file.

This is just a first prototype to test the feasability, and I don't really have time to invest in it at the moment. On the to-do list would be to add some code to handle browser window resizing (you have to refresh the page at the mo to get everything to rescale gracefully), and add some additional data in the form of tooltips or click & popup (or overlay) boxes to show more data for that category - eg today's hi/lo temperatures on the temp gauge. Working on the colours would be another area.

It does seem to scale quite nicely from my laptop second big screen down to my Android table - especially in full screen mode.

Take a look and comment back, I know you won't be shy :lol:

http://weather.wilmslowastro.com/dashbo ... hboard.htm

Re: Alternative real-time dashboard?

Posted: Mon 15 Jul 2013 10:04 am
by nitrx
Well done :clap: but not the whole dashboard is displayed on my screen even when F11 is pressed the values at the bottom are off the sceen (1440 x 900) wil try this on my android tables 10.1 inch and the 7 inch spare the latest I want to use as a console so this might a solution. :D

my copy in Dutch http://editspace.sytes.net/rt/dashboard.html

Re: Alternative real-time dashboard?

Posted: Mon 15 Jul 2013 2:59 pm
by PaulMy
Very nice and clear Mark, and the large wind dials show like real realtime,

Paul

Re: Alternative real-time dashboard?

Posted: Tue 16 Jul 2013 1:50 pm
by N0BGS
Great work as usual, Mark.

I think we should do a Vulcan mind-meld where you dump your PHP, JS, and Java expertise into my brain!

Now struggling with trying to change the scaling to make it appropriate with imperial units of measure.

I had some success last night: http://cheesewhiz.dyndns.org/dashboard/dashboard.htm

...but as you can see it's not ready for prime time.

Thanks,

--Kurt

Re: Alternative real-time dashboard?

Posted: Tue 16 Jul 2013 2:03 pm
by mcrossley
Keep at it! You know you'll get there. :clap:

Re: Alternative real-time dashboard?

Posted: Wed 17 Jul 2013 1:47 pm
by geoffp
Hi Mark is the new dashboard for the web or for desktop, I would like something that just sits on the desktop and gives the information as your new dashboard does.

Re: Alternative real-time dashboard?

Posted: Wed 17 Jul 2013 3:19 pm
by Intheswamp
Really nice!!! I like it!!!. :clap:

I want it.

When?

The screen looks really good, but I'm wondering if you are intending on making the ss-gauge dials available for it?

Do I sound like a spoiled brat? :lol:

F11 works fine for me, shows the entire screen. Nice work Mark!

I can see it being useful both online and local.

Kurt, great work, too...those values look lots more famliar to this redneck from Alabama! :lol:

Ok, so next question is.....are we there yet?....WHEN? :P

Ed

Re: Alternative real-time dashboard?

Posted: Wed 17 Jul 2013 3:37 pm
by mcrossley
Well, now really. As I said I don't really want to take this on as a fully packaged supported thing like the SS gauges at the moment - it takes up too much time. So for now it is what it is, I may well be tweaking it in the future (read after the summer), but for the immediate future this is as far as I am taking it.

If someone else improves it in the meantime and posts the results back, I'll be keeping an eye on things and updating my copy ;)

Re: Alternative real-time dashboard?

Posted: Wed 17 Jul 2013 4:02 pm
by Intheswamp
...we will be watching veeerrrryyyyy closely! ;)

Ed

Re: Alternative real-time dashboard?

Posted: Wed 17 Jul 2013 4:22 pm
by Intheswamp
Hey Kurt...your burglar alarm didn't go off, did it? :D

http://www.beeweather.com/simpdashbrd01.php

I'll be watching for any updates. ;)

Thanks!
Ed

Re: Alternative real-time dashboard?

Posted: Thu 18 Jul 2013 10:06 am
by kapo
Hi Mark!
Great and beautiful! As always!!! I wish I had Your skills...... Now I will get in to work and try to get this work in my pages.... Althought that historic graphs is still in the beginning... It seems to be too hard to me.... Hope I can get thiis to work in my station.... but not until after the summer, we are the adventures of motorcycles around the Finland.....

Re: Alternative real-time dashboard?

Posted: Thu 18 Jul 2013 2:09 pm
by N0BGS
Intheswamp wrote:Hey Kurt...your burglar alarm didn't go off, did it? :D

http://www.beeweather.com/simpdashbrd01.php

I'll be watching for any updates. ;)

Thanks!
Ed
Hmmmmm...I should have paid more attention to that buzzing I heard the other night! :)

Funny thing is, I have about 18 acres of mostly swamp here, too. ("bog" here in Maine.)

If I get the imperial UOM stuff worked out on the dashboard I'll let everyone know.

--Kurt

Re: Alternative real-time dashboard?

Posted: Thu 18 Jul 2013 9:22 pm
by N0BGS
mcrossley wrote:Well, now really. As I said I don't really want to take this on as a fully packaged supported thing like the SS gauges at the moment - it takes up too much time. So for now it is what it is, I may well be tweaking it in the future (read after the summer), but for the immediate future this is as far as I am taking it.

If someone else improves it in the meantime and posts the results back, I'll be keeping an eye on things and updating my copy ;)
I don't think I'll ever have what it takes to say I've "improved" any of your code, Mark, but here's a hacked up version of dashboard.js that displays Imperial units of measure
and redraws the thermometer and barometer gauges appropriately.

I've renamed the script "dashboardUS.js" To use it, either rename it back to "dashboard.js" again or edit Mark's dashboard.htm page, line 51 to:

Code: Select all

<script src="dashboardUS.js"></script>
You can see what the hacked script does here: http://www.kpw3.com/dashboard (*updated URL)

Meanwhile, I note that the script seems to scale quite well on 4:3 aspect (square) monitors, but has trouble with 16:9 aspect (widescreen). Not sure if I can do anything about that...but I'm trying.

Comments/condemnations welcome!

--Kurt

Re: Alternative real-time dashboard?

Posted: Fri 19 Jul 2013 1:24 pm
by Intheswamp
Thanks to the both of you for offering us your work! I wouldn't have a clue where to start writing/compiling/haywiring up this scripts and applications. I put the new script online and it appears to be working fine, Kurt. I use a 4:3 monitor, also, so can't give you any feedback on that, though.

Thanks again!
Ed

Re: Alternative real-time dashboard?

Posted: Fri 19 Jul 2013 2:26 pm
by N0BGS
Welcome, Ed.

Of course it was Mark who did all the heavy lifting on this. There's no way I could have created his script from scratch.

He writes these great scripts then I just monkey with them until I get them to do what I want. :roll:

--K