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

PHP Dashboard

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

Moderator: daj

Post Reply
TNETWeather

PHP Dashboard

Post by TNETWeather »

I created a simple text based dashboard in PHP that uses only Realtime data. Still need to clean up the code a bit, but it seems to be working now. The dashboard has all the available data in the realtime.txt file basically along with a graphical thermometer and windrose compass.

A snapshot of it can be seen attached... also it is on a test template site that I am building:

http://cumulus2.tnet.com

I've got a lot of ideas about the template including the possible option of providing a web host service that works by having a user upload only the realtime.txt file to a specified ftp account and having a resulting website built on the fly dynamically using just that data.

For the user that doesn't want to create their own website.

Still thinking about that part... would be a "vacation" fun project.
You do not have the required permissions to view the files attached to this post.
User avatar
gwheelo
Posts: 453
Joined: Wed 11 Jun 2008 7:36 pm
Weather Station: WMR-88
Operating System: Windows 8.1
Location: L'Estartit, Spain
Contact:

Re: PHP Dashboard

Post by gwheelo »

Do you plan making the dashboard code available - it is excellent!

GW
Image
TNETWeather

Re: PHP Dashboard

Post by TNETWeather »

Yes... right now it is part of the index page...

I need to break it back out as a stand alone script.
Fox_Of_The_Wind
Posts: 13
Joined: Sat 29 Nov 2008 1:50 pm
Weather Station: Davis Vantage Pro 2
Location: De Soto Wisconsin USA
Contact:

Re: PHP Dashboard

Post by Fox_Of_The_Wind »

Looks good. Can't wait to use it.
Image
firewall
Posts: 17
Joined: Sat 29 Nov 2008 4:05 pm
Weather Station: Davis Vantage Pro 2
Location: Branford, CT
Contact:

Re: PHP Dashboard

Post by firewall »

Kevin,

If you don't mind; What is the code you are using for the windrose and/or the trends? If I could see that it will help me figure out the dashboard concept. I have one working based on your design but I'm stuck on that part.

Thanks,

Jack
Image
TNETWeather

Re: PHP Dashboard

Post by TNETWeather »

I am still working on it... so it's not ready yet.

The windrose was created using Xara Vector Graphics. Two sizes were posted as a set on Weather-Watch @ http://www.weather-watch.com/smf/index. ... #msg293420 A PHP function that I created takes the wdir value and provides a image link to the proper compass image.

Trends is a PHP function I wrote that looks at the passed value to see if it is rising or falling and based on what it finds outputs an image (also created in Xara). It will be part of the dashboard script when it is released.

The thermometer part is also still being worked on as well.
firewall
Posts: 17
Joined: Sat 29 Nov 2008 4:05 pm
Weather Station: Davis Vantage Pro 2
Location: Branford, CT
Contact:

Re: PHP Dashboard

Post by firewall »

Yeah I was trying to use the same code with no success! But I can wait till your done! Nice work on all of this, you have certainly been busy!

Regards,

Jack
Image
arthurhh
Posts: 63
Joined: Thu 18 Sep 2008 8:40 pm
Weather Station: Davis VP pro 2
Operating System: Win7
Location: Tokoroa South Waikato New Zealand
Contact:

Re: PHP Dashboard

Post by arthurhh »

TNETWeather wrote:Yes... right now it is part of the index page...

I need to break it back out as a stand alone script.
How you getting on with this, any advance (Have you been lucky enough to get a vacation)
http://tokoroa.dyndns.org/ Main Site

IT Fixer
Post Reply