Welcome to the Cumulus Support forum.

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 2024

Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

Modified Flat Dashboard

Other discussion about creating web sites for Cumulus that doesn't have a specific subforum

Moderator: daj

Post Reply
Smithee
Posts: 74
Joined: Sun 02 Oct 2011 9:15 am
Weather Station: VP2
Operating System: Mac/win7
Location: United Kingdom

Modified Flat Dashboard

Post by Smithee »

Afternoon all,

Wilmslow made the fab flat dashboard - http://weather.wilmslowastro.com/test/d ... hboard.htm

With kind permission I have modified it to change the style and include most of the data tags in a dashboard, the data updates every 3 secs. It is made for both aspects of the page to display full screen on an ipad in landscape and complete full screen in portrait.

http://www.casa.ucl.ac.uk/cumulus/dashboard.htm

Anyone is of course free to mod/add as needs be.

Two questions -

1) Everything works apart from rmonth and ryear, i cant work out why...

2) if i want to fork the page to just display the date table and lose the charts, what do i need to do? If i edit out the divs then the whole page breaks.

Thanks as ever to Wilmslow...

Andy
User avatar
mcrossley
Posts: 12771
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Modified Flat Dashboard

Post by mcrossley »

Looks like you got it working? Nice job.
Smithee
Posts: 74
Joined: Sun 02 Oct 2011 9:15 am
Weather Station: VP2
Operating System: Mac/win7
Location: United Kingdom

Re: Modified Flat Dashboard

Post by Smithee »

Hi,

Hope its ok to ask this - I have just revisited the flat dashboard now i am running MX - i have changed the pointer to the new realtime.txt file but now nothing loads and thought i would see if its an obvious fix rather than diving in and breaking things further...

http://www.casa.ucl.ac.uk/cumulus/dashboard1.htm

Any quick thoughts would be great if possible :) - it seems to get realtime.txt but at 0k and i cant work out why as the file is there - is it a change of webtags at all?

Andy
User avatar
steve
Cumulus Author
Posts: 26701
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Modified Flat Dashboard

Post by steve »

It's always a good idea when diagnosing web site problems like this to look at the F12 browser console:

XMLHttpRequest cannot load http://weather.casa.ucl.ac.uk/realtime. ... 1186040843. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://www.casa.ucl.ac.uk' is therefore not allowed access.

weather.casa.ucl.ac.uk is not the same as www.casa.ucl.ac.uk, so the file is blocked. See https://en.wikipedia.org/wiki/XMLHttpRe ... n_requests, for example.
Steve
Smithee
Posts: 74
Joined: Sun 02 Oct 2011 9:15 am
Weather Station: VP2
Operating System: Mac/win7
Location: United Kingdom

Re: Modified Flat Dashboard

Post by Smithee »

Thanks! sorry for the common error - now running happily at

http://weather.casa.ucl.ac.uk/dashboardflat.htm

:)

Andy
User avatar
gluepack
Posts: 460
Joined: Tue 22 Jan 2013 9:20 pm
Weather Station: PCE-FWS 20
Operating System: Win 7 Pro
Location: Zlatina, Bulgaria

Re: Modified Flat Dashboard

Post by gluepack »

Fine. It looks good. However, it has the same problem as the original. The word Direction is cut off at the bottom and, if I run other than maximized, the formatting is all to shot i.e. it doesn't fully reduce to fit.
(Frankly, I'd rather it stay original size and enable scrolling.)
Image

PWS links: WundergroundIVARNAPR3CWOP/APRSE(W)2048PWSWeatherZLATINABGAwekas10631Twitter@Zlatina_weather
Station type: PCE-FWS 20…Webcam link: View south to edge of Provadisko plateau
Smithee
Posts: 74
Joined: Sun 02 Oct 2011 9:15 am
Weather Station: VP2
Operating System: Mac/win7
Location: United Kingdom

Re: Modified Flat Dashboard

Post by Smithee »

There are still a few issues with scaling - but i kind of like the way it integrates into the whole site and provides an alternative to the (also good) steelseries - its now linked up via the gauges link:

http://weather.casa.ucl.ac.uk/

Works well on an ipad/HDTV and pc/mac as long as you dont resize mid viewing - i also like the way the dials tween so a huge thanks to http://weather.wilmslowastro.com/ and of course Steve for the software driving it....

Andy
Smithee
Posts: 74
Joined: Sun 02 Oct 2011 9:15 am
Weather Station: VP2
Operating System: Mac/win7
Location: United Kingdom

Re: Modified Flat Dashboard

Post by Smithee »

Just in case anyone is interested - i have updated the flat dashboard to include monthly rainfall and also tweaked the layout:

http://weather.casa.ucl.ac.uk/gaugesflat.htm

As ever thanks to Mark for the original...

Andy
Post Reply