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.
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
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
Moderator: daj
PHP Dashboard
You do not have the required permissions to view the files attached to this post.
Re: PHP Dashboard
Yes... right now it is part of the index page...
I need to break it back out as a stand alone script.
I need to break it back out as a stand alone script.
-
- 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
Looks good. Can't wait to use it.
-
- Posts: 17
- Joined: Sat 29 Nov 2008 4:05 pm
- Weather Station: Davis Vantage Pro 2
- Location: Branford, CT
- Contact:
Re: PHP Dashboard
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
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
Re: PHP Dashboard
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.
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.
-
- Posts: 17
- Joined: Sat 29 Nov 2008 4:05 pm
- Weather Station: Davis Vantage Pro 2
- Location: Branford, CT
- Contact:
Re: PHP Dashboard
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
Regards,
Jack
-
- 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
How you getting on with this, any advance (Have you been lucky enough to get a vacation)TNETWeather wrote:Yes... right now it is part of the index page...
I need to break it back out as a stand alone script.