Kurt the credits are for Mark Mccrossley he has written the new Importfile see the wiki http://wiki.sandaysoft.com/a/ImportCumulusFile so all the code is availble you'll have to modify maybe some things , the highchartscode is in his source over here view-source:http://weather.wilmslowastro.com/highch ... Graphs.htm pay attention to the recentGraphs.js file included in this page in the script is also realtimeLogSql.php example of the source is here http://weather.wilmslowastro.com/realti ... p?view=sceN0BGS wrote:Wow...well done, Ron!
I've been working on the same thing for DAYS now with little success.
Are you pulling this data from a MySQL database, or from a generated text file? Also, what do you use to format the data into a useable form for
Highcharts? An intermediate PHP script or some other method?
Care to share your code??
Thanks,
--Kurt
confusing in this latest php script is Call this script as e.g. ...
// realtimeLogTable.php?recordAge=NNN&recordUnit=XXX&nth=NNN&temp&press
// realtimeLogTable.php?recordAge=6&recordUnit=hour&nth=5&temp&press
Thats why I renamed realtimeLogSql.php to realtimeLogTable.php the latest is used by recentGraphs.js
I only did not know how to get the values in the database on my local server so Mark wrote a batchfile see some post back in this thread.
Last but not least I think if you want to run the script on a remote hosted server you will get a huge datatransfer because 48 hours of data generates every minute about 1,5 to 2 megabyte data. You will also have to run a cronjob evry minute for importing the data in your database..