Re: Cumulus and jpgraphs
Posted: Wed 09 Mar 2011 1:34 pm
How do i set up cumulus toolbox to process realtimelog.php and where does it makes the new realtime.log?
Support forum for Cumulus weather station software
https://cumulus.hosiene.co.uk/
I have not used the Toolbox in a long time so I cannot remember how to set it up. If you use the setting suggested in the previous message, the 'realtimelog.php' script should produce its 'realtime.log' file in the same directory - on my computer/server, all three files ie: 'realtimelog.php', 'realtime.txt' and 'realtime.log' are in the same directory.dvandellen wrote:How do i set up cumulus toolbox to process realtimelog.php and where does it makes the new realtime.log?
It looks like a realtime.log file... Is it possible that cumulus takes it and uploads it as a realtime.log file?04-03-11 19:09:09 1.2 88 -0.6 2.5 5.0 315 0.0 0.0 1028.0 NW 1 km/h C hPa mm 66.1 -0.3 0.0 78.9 0.0 18.9 47 1.2 -0.8 7.5 13:34 -1.6 07:23 11.2 15:38 15.8 02:55 1032.6 01:06 1028.0 17:46 1.9.0 958 8.6 1.2 1.2 0 0 0 357 0.0 2 0 0 N 719 ft
04-03-11 19:09:57 1.2 88 -0.6 2.5 5.0 45 0.0 0.0 1028.2 NE 1 km/h C hPa mm 66.1 -0.3 0.0 78.9 0.0 18.9 47 1.2 -0.8 7.5 13:34 -1.6 07:23 11.2 15:38 15.8 02:55 1032.6 01:06 1028.0 17:46 1.9.0 958 8.6 1.2 1.2 0 0 0 359 0.0 2 0 0 N 719 ft
04-03-11 19:10:45 1.2 88 -0.6 3.6 6.1 360 0.0 0.0 1028.2 N 1 km/h C hPa mm 66.1 -0.2 0.0 78.9 0.0 18.9 47 1.2 -0.8 7.5 13:34 -1.6 07:23 11.2 15:38 15.8 02:55 1032.6 01:06 1028.0 17:46 1.9.0 958 8.6 1.2 1.2 0 0 0 359 0.0 2 0 0 N 719 ft
04-03-11 19:12:21 1.2 88 -0.6 2.5 5.0 360 0.0 0.0 1028.1 N 1 km/h C hPa mm 66.2 -0.2 0.0 78.9 0.0 19.0 47 1.2 -0.8 7.5 13:34 -1.6 07:23 11.2 15:38 15.8 02:55 1032.6 01:06 1028.0 17:46 1.9.0 958 8.6 1.2 1.2 0 0 0 359 0.0 2 0 0 N 719 ft
04-03-11 19:13:09 1.2 88 -0.6 2.5 5.0 360 0.0 0.0 1028.1 N 1 km/h C hPa mm 66.3 -0.2 0.0 78.9 0.0 19.0 46 1.2 -0
this is only a little piece...
You must have changed something in the 'realtimelog.php' script - the default setting are:dvandellen wrote:i do have the realtime.txt and realtimelog.php in the same directory. But there is no realtime.log
Code: Select all
$SITE['version'] = "2.0";
$SITE['home'] = "YOU MUST SET THIS";
$SITE['datafile'] = "realtime.log";
$SITE['source'] = "realtime.txt";
Obviously, you have modified the name of the file to be produced by the 'realtimelog.php' script! By default, the 'GraphSettings.php' configuration file as well as the graphic producing scripts ('baro.php, 'dewpt.php', 'intemp.php', 'rain.php', 'temp.php', 'wind.php' and 'winddir.php') are all expecting the file 'realtime.log' to produce the weather graphics (default settings in 'GraphSettings.php'):dvandellen wrote:There is a file thats called realtimelog.txt...
Code: Select all
$SITE['version'] = "3.1";
$SITE['hloc'] = "./";
$SITE['jpgraphloc'] = "./jpgraph/src/";
$SITE['datafile'] = "realtime.log";
$SITE['sitename'] = "YOUR SITE NAME";
Cumulus will not change the name of a file unless you setup Cumulus to rename the file as it is uploaded.dvandellen wrote:Is it possible that cumulus takes it and uploads it as a realtime.log file?
Indeed, the 'temp.php', 'intemp.php', 'rain.php', and 'winddir.php' are still displaying error messages - I just un-Zip the 'Cumulus PHP JpGraph Graphs' package into the directory where my Cumulus files/scripts/templates reside and after a few minor modifications, I was able to view all the graphs.dvandellen wrote:there are a few graphs not working
What minor modifications? And what files did you placed at your scripts/templates directory?I just un-Zip the 'Cumulus PHP JpGraph Graphs' package into the directory where my Cumulus files/scripts/templates reside and after a few minor modifications, I was able to view all the graphs.
That I unpacked the original 'Cumulus PHP JpGraph Graphs' package (downloaded from TNet site), made the required basic modifications (such as setting the required paths), and then loaded 'samp-graph.php' script into my browser - all the weather graphics displayed properly in my browser...dvandellen wrote:What do you mean with...
What minor modifications? And what files did you placed at your scripts/templates directory?