Yearly Data Summary--Adding new fields
Posted: Mon 14 Mar 2011 12:20 am
I have been playing around with the annual data summary. I would like to add summaries for windrun, windchill, and sunshine hours. I have tried to edit both the readDayfile.php and readDayfile.js using the following: ['sunhours','Sunshine','Hours of Sunshine',true],
I'm having the following problems:
I'm not sure what to put in the first element for the system variable . I'm just guessing when I use sunhours, windchill and windrun. Is there a list of the variables which correspond to each entry in the dayfile.txt?
Using what I have shown above, when I check the resulting web page, there is a button labeled Sunshine, a question mark above the table instead of Hours of Sunshine, and the values in the table are those from Max Temp. http://www.the-vermin.ca/silversprings/ ... mmary.html
Apparently there is more to it than just adding one line to the readDayfile script. I know other users have been able to customize the information that is being displayed, but I'm not able to figure it out. Any help would be appreciated.
Thanks,
I'm having the following problems:
I'm not sure what to put in the first element for the system variable . I'm just guessing when I use sunhours, windchill and windrun. Is there a list of the variables which correspond to each entry in the dayfile.txt?
Using what I have shown above, when I check the resulting web page, there is a button labeled Sunshine, a question mark above the table instead of Hours of Sunshine, and the values in the table are those from Max Temp. http://www.the-vermin.ca/silversprings/ ... mmary.html
Apparently there is more to it than just adding one line to the readDayfile script. I know other users have been able to customize the information that is being displayed, but I'm not able to figure it out. Any help would be appreciated.
Thanks,