Sandaysoft

Support forum for Cumulus weather station software
It is currently Mon May 20, 2013 7:38 am
Please click here before posting. Help me to help you!
Useful Links: Cumulus FAQ • Enhancement requests • Wiki (documentation)
Please put your approximate location into your profile
Add your web site to the Cumulus user map
Vantage Pro2 users with firmware 3.00 should upgrade to fw 3.12 and Cumulus 1.9.4

All times are UTC




Post new topic Reply to topic  [ 253 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7, 8 ... 17  Next
Author Message
 Post subject: Re: Cumulus Server Sided JpGraph Graphs
PostPosted: Tue Oct 14, 2008 10:04 pm 
Offline
User avatar

Joined: Wed Sep 17, 2008 1:34 pm
Posts: 629
Location: Mesa, AZ USA
Weather Station: Davis VP2 Plus w/24 FARS
Operating System: WinX Pro SP3 Dedicated wstn
.
Version 1.2.1

I have updated the graphs to correct the Pos() errors. I tested this against the current free version of JpGraph version 2.3.3.

My Cumulus Project page has the new downloads (see signature)

_________________
Kevin
Image
All you need is Time, Aptitude and Desire ... and you can build just about anything...
Cumulus User Maps


Top
 Profile  
 
 Post subject: Re: Cumulus Server Sided JpGraph Graphs
PostPosted: Wed Oct 15, 2008 6:19 pm 
Offline
User avatar

Joined: Thu Jun 19, 2008 7:45 am
Posts: 281
Location: Brampton, Cumbria, UK
Weather Station: Davis VP2 with solar
Operating System: Windows XP SP3
Well we are "cooking on gas" as the saying goes. Fresh graphs file version updated and working.

Samples graphs here !! - http://www.bramptonweather.co.uk/cumulus/samp-graph.php

Big thanks to all those involved, even Cron Job where ever he is :D

_________________
Paul C
Brampton, Cumbria, UK
117m ASL
http://www.bramptonweather.co.uk | http://www.bramptonweather.co.uk/cumulus |
Image


Top
 Profile  
 
 Post subject: Re: Cumulus Server Sided JpGraph Graphs
PostPosted: Wed Oct 15, 2008 6:35 pm 
Offline
Site Admin
User avatar

Joined: Mon Jun 02, 2008 6:49 pm
Posts: 17558
Location: Sanday, Orkney
Weather Station: Davis VP2
Operating System: Windows Home Server 2011
Looking at your generated realtime.log, some of the lines are incomplete. I suspect you're not using the new 'ftp rename' option (Internet settings), which I think should fix that.

Does the realtime.log file ever have old entries removed from it? If not, isn't it eventually going to get rather large and slow things down somewhat?

_________________
Steve
Sanday Weather
----------------------------------------------------------------------------------------------------------------------------------
Like Cumulus and want to support it? Please donate! Image


Top
 Profile  
 
 Post subject: Re: Cumulus Server Sided JpGraph Graphs
PostPosted: Wed Oct 15, 2008 6:39 pm 
Offline

Joined: Sat Oct 11, 2008 3:20 pm
Posts: 111
Weather Station: Davis Vantage Pro 2 Plus
Operating System: Windows XP SP3
steve wrote:
Looking at your generated realtime.log, some of the lines are incomplete. I suspect you're not using the new 'ftp rename' option (Internet settings), which I think should fix that.

Does the realtime.log file ever have old entries removed from it? If not, isn't it eventually going to get rather large and slow things down somewhat?

I do recycle my log-files(all of them) this one i keep at 6000 lines
it's a little more than you need for 96 hours.
Cron Job
Code:
11 0 * * * /usr/bin/tail -n 6000 /path/to/realtime.log > /path/to/realtime.log.new; /bin/mv -f /path/to/realtime.log.new /path/to/realtime.log

all on one line and you have to edit it( /path/to/...)

@Paul: Great Job :D

_________________
Jozef


Top
 Profile  
 
 Post subject: Re: Cumulus Server Sided JpGraph Graphs
PostPosted: Wed Oct 15, 2008 7:31 pm 
Offline
User avatar

Joined: Thu Jun 19, 2008 7:45 am
Posts: 281
Location: Brampton, Cumbria, UK
Weather Station: Davis VP2 with solar
Operating System: Windows XP SP3
steve wrote:
Looking at your generated realtime.log, some of the lines are incomplete. I suspect you're not using the new 'ftp rename' option (Internet settings), which I think should fix that.

OK - box ticked

Does the realtime.log file ever have old entries removed from it? If not, isn't it eventually going to get rather large and slow things down somewhat?


Could this log keep going to produce yearly graphs ? - or would the size be a major problem. ?

The jpgraph software that was uploaded - can this be removed now from my server ?- what bits can be safely removed to fee up space

Steve - with using PHP,Cron and eveything else is my GB allowamce going to be affected ? am I still under budget ?

_________________
Paul C
Brampton, Cumbria, UK
117m ASL
http://www.bramptonweather.co.uk | http://www.bramptonweather.co.uk/cumulus |
Image


Top
 Profile  
 
 Post subject: Re: Cumulus Server Sided JpGraph Graphs
PostPosted: Wed Oct 15, 2008 7:57 pm 
Offline
Site Admin
User avatar

Joined: Mon Jun 02, 2008 6:49 pm
Posts: 17558
Location: Sanday, Orkney
Weather Station: Davis VP2
Operating System: Windows Home Server 2011
There are no problems with size or the space you're using.

A year's worth of realtime.log (for example) would only be a few tens of megabytes, not a problem.

What might be a concern is the load on the server processing a large file.

_________________
Steve
Sanday Weather
----------------------------------------------------------------------------------------------------------------------------------
Like Cumulus and want to support it? Please donate! Image


Top
 Profile  
 
 Post subject: Re: Cumulus Server Sided JpGraph Graphs
PostPosted: Wed Oct 15, 2008 8:11 pm 
Offline
User avatar

Joined: Wed Sep 17, 2008 1:34 pm
Posts: 629
Location: Mesa, AZ USA
Weather Station: Davis VP2 Plus w/24 FARS
Operating System: WinX Pro SP3 Dedicated wstn
The eventual evolution of this is to have the logfile collector do splits on the files automatically.
So that you would end up with logfiles like:

realtime-2008-01.log
realtime-2008-02.log

It would have a setting in it that would maintain a realtime.log file that always had a minimal amount of data in it, along the lines of what Jozef is doing but internally done in the script itself. Since the date entries are maintained in ISO date format, it is very easy to do.

I figured I had until the end of the month to implement it. A user could then "update" and it would simply take effect on the data they were already collecting with no other changes needed.


I was going to bring up the possibility of extending the realtime.txt data a tad to add some missing info, but have not gotten there yet. I'm not sure what that would do with current apps that use that data though so it would need to be thought out.

_________________
Kevin
Image
All you need is Time, Aptitude and Desire ... and you can build just about anything...
Cumulus User Maps


Top
 Profile  
 
 Post subject: Re: Cumulus Server Sided JpGraph Graphs
PostPosted: Thu Oct 16, 2008 5:15 am 
Offline

Joined: Thu Sep 18, 2008 8:40 pm
Posts: 61
Location: Tokoroa South Waikato New Zealand
Weather Station: Davis VP pro 2
Operating System: Win7
andrew wrote:
hi steve i have found a better programe weather display have you tryed it


I wouldnt go so far as to describe either program as better than the other, they both serve different parts of the PWS market and I who all ready run WD am looking at Cumulus as a suitable bit of software for use with a cheaper station than I normally run for those who wish to enter PWS at a lower cost level.

Steve should be commended for his efforts with Cumulus as should Tnetweather and the others that help in these forums. All unpaid.

_________________
http://tokoroa.dyndns.org/ Main Site

IT Fixer


Top
 Profile  
 
 Post subject: Re: Cumulus Server Sided JpGraph Graphs
PostPosted: Thu Oct 16, 2008 5:23 am 
Offline

Joined: Thu Sep 18, 2008 8:40 pm
Posts: 61
Location: Tokoroa South Waikato New Zealand
Weather Station: Davis VP pro 2
Operating System: Win7
TNETWeather wrote:
Sorry about the issues... I see the "bug" on Pos which is caused by the newer versions of JpGraph.

As to cron... I need to think about this. I thought that Cpannel had support for both Unix Style and "Easy" cron entry types. I will have to look at on of my Cpannel Hosted servers.


My solution since I run on a windows WAMP and cron isnt really and option was to use the program Visual Cron, I bought that to call my image handling scripts and it does a good job of calling the PHP for the realtime log.

_________________
http://tokoroa.dyndns.org/ Main Site

IT Fixer


Top
 Profile  
 
 Post subject: Re: Cumulus Server Sided JpGraph Graphs
PostPosted: Thu Oct 16, 2008 8:07 am 
Offline
Site Admin
User avatar

Joined: Mon Jun 02, 2008 6:49 pm
Posts: 17558
Location: Sanday, Orkney
Weather Station: Davis VP2
Operating System: Windows Home Server 2011
TNETWeather wrote:
I was going to bring up the possibility of extending the realtime.txt data a tad to add some missing info, but have not gotten there yet. I'm not sure what that would do with current apps that use that data though so it would need to be thought out.


Yes, I was going to discuss with you adding other items to realtime.txt. It certainly wouldn't affect the real time wind gauges, they would just ignore the items on the end of the line.

_________________
Steve
Sanday Weather
----------------------------------------------------------------------------------------------------------------------------------
Like Cumulus and want to support it? Please donate! Image


Top
 Profile  
 
 Post subject: Re: Cumulus Server Sided JpGraph Graphs
PostPosted: Sat Oct 18, 2008 11:05 am 
Offline
User avatar

Joined: Thu Jun 19, 2008 7:45 am
Posts: 281
Location: Brampton, Cumbria, UK
Weather Station: Davis VP2 with solar
Operating System: Windows XP SP3
Well my graphs appear to be working well. I even managed to alter the text on one of the axis points to read dewpoint rather than dewpt. Hope Kevin doesnt mind that.

Q,s 1. I have the jpgraph software stored on my server, what bits can I safely remove to free up space. I take it I dont need the whole thing that was downloaded.

2. Are there any plans for any other graphs and charts, eg monthly charts, yearly charts even. How about wind chill, appreciate may not be a problem in Arizona !! ( your humidity data in amazing, must be easy to dry the washing ). Station records ? Month/Year and a nice Wind Rose chart.

I,m sure there are few more possibles, wonder if anyone else has any ideas ?

thanks

_________________
Paul C
Brampton, Cumbria, UK
117m ASL
http://www.bramptonweather.co.uk | http://www.bramptonweather.co.uk/cumulus |
Image


Top
 Profile  
 
 Post subject: Re: Cumulus Server Sided JpGraph Graphs
PostPosted: Sat Oct 18, 2008 11:52 am 
Offline
User avatar

Joined: Wed Sep 17, 2008 1:34 pm
Posts: 629
Location: Mesa, AZ USA
Weather Station: Davis VP2 Plus w/24 FARS
Operating System: WinX Pro SP3 Dedicated wstn
Paul C wrote:
Well my graphs appear to be working well. I even managed to alter the text on one of the axis points to read dewpoint rather than dewpt. Hope Kevin doesnt mind that.


One of the purposes of using PHP is that people then have the ability to easily adjust things to their own liking. Colors, wording etc...

Quote:
Q,s 1. I have the jpgraph software stored on my server, what bits can I safely remove to free up space. I take it I dont need the whole thing that was downloaded.


You can remove anything that is outside of the /src directory. You can remove the Examples directory which is in the /src directory too if you don't need the examples any more.

Some ISP's Have things like JpGraph loaded in a comon area that all their hosting clients can use without using any space in their areas.

Quote:
2. Are there any plans for any other graphs and charts, eg monthly charts, yearly charts even. How about wind chill, appreciate may not be a problem in Arizona !! ( your humidity data in amazing, must be easy to dry the washing ). Station records ? Month/Year and a nice Wind Rose chart.

We just came out of our Monsoon season so our humidity is going to be going down... the term "It's a Dry Heat" applies here very well. Even during the "Monsoon", we have some nominal humidity levels. This is a desert...

I plan on it. You have to have access to the data though. I already have an Indoor graph which plots the indoor temp/hum like the outdoor one, but I am getting the data from other sources as it is no in the realtime data now.

Image

Creating monthly and yearly is possible, but I had not yet started to do so because I had not collected enough data yet.

Also in the documentation, I have the following....

Quote:
Contributed Code: If you add something to the script that you think should be added to the package, please send a copy of that code to Weather@TNETWeather.com and I will work it into the package if it makes sense.

_________________
Kevin
Image
All you need is Time, Aptitude and Desire ... and you can build just about anything...
Cumulus User Maps


Top
 Profile  
 
 Post subject: Re: Cumulus Server Sided JpGraph Graphs
PostPosted: Mon Oct 20, 2008 1:06 am 
Offline
User avatar

Joined: Wed Sep 17, 2008 1:34 pm
Posts: 629
Location: Mesa, AZ USA
Weather Station: Davis VP2 Plus w/24 FARS
Operating System: WinX Pro SP3 Dedicated wstn
.
Version 3.0 released

This version uses a new internal method to obtain the realtime log files and uses the new extended realtime.txt format.

Some of the functions in the graphs have been compacted and moved to the central GraphSettings.php file.

You need to be using Cumulus 1.8.2 Beta or higher to use this version.

Also added is a new Indoor Temp/Humidity graph (intemp.php)

You can download the scripts from my project page (in my signature below).

_________________
Kevin
Image
All you need is Time, Aptitude and Desire ... and you can build just about anything...
Cumulus User Maps


Top
 Profile  
 
 Post subject: Re: Cumulus Server Sided JpGraph Graphs
PostPosted: Fri Oct 24, 2008 8:09 pm 
Offline

Joined: Sat Oct 11, 2008 3:20 pm
Posts: 111
Weather Station: Davis Vantage Pro 2 Plus
Operating System: Windows XP SP3
Hi,

I have some of them in production now on the trends page

_________________
Jozef


Top
 Profile  
 
 Post subject: Re: Cumulus Server Sided JpGraph Graphs
PostPosted: Fri Oct 24, 2008 9:02 pm 
Offline
User avatar

Joined: Wed Sep 17, 2008 1:34 pm
Posts: 629
Location: Mesa, AZ USA
Weather Station: Davis VP2 Plus w/24 FARS
Operating System: WinX Pro SP3 Dedicated wstn
I plan on "correcting" the rain chart shortly. I started earlier but the PCI audit crap got me way out of the coding mood...

The issue with it are 1) it says no rain data obtained even when there is some and 2) it is supposed to be displaying the Monthly rain amount as well.

_________________
Kevin
Image
All you need is Time, Aptitude and Desire ... and you can build just about anything...
Cumulus User Maps


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 253 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7, 8 ... 17  Next

All times are UTC


Who is online

Users browsing this forum: Buford T. Justice and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group