Page 1 of 1
Length of data series displayed on the trends page
Posted: Mon 31 Aug 2015 7:53 am
by freddie
Normally the non-daily graphs on the trends page show data for the past 3 days. Today they only show data from 02:31 UTC on 30/08/2015 onwards. Any ideas why? I have looked in the data file (Aug15log.txt) and there isn't a break in the data points.
Link to the page:
http://www.hosiene.co.uk/weather-test/trends.htm
Re: Length of data series displayed on the trends page
Posted: Mon 31 Aug 2015 8:05 am
by water01
Mine have only ever shown the last day's trends, and I believe that has always been the case.
Re: Length of data series displayed on the trends page
Posted: Mon 31 Aug 2015 8:13 am
by steve
The data in the log files is only used if you restart Cumulus, then the data points are held internally in memory. Have you restarted Cumulus recently, and if so are you sure you haven't got a problem in the log file that perhaps you can't see with whatever you are using to view the file? If you zip up and attach the latest MXdiags file and your August log file, I'll take a look.
If you haven't restarted recently, it could be a bug in the code which saves or extracts the data points from the internal data structure, but it's odd that it was working OK previously.
Re: Length of data series displayed on the trends page
Posted: Tue 01 Sep 2015 2:36 pm
by freddie
water01 wrote:Mine have only ever shown the last day's trends, and I believe that has always been the case.
This is configurable in Cumulus.ini - in the "Graphs" section there is an entry "GraphHours". Mine is set to 72, which will give me 3 days worth of data appearing in the graphs. Yours is probably set to 24.
Re: Length of data series displayed on the trends page
Posted: Tue 01 Sep 2015 2:40 pm
by freddie
steve wrote:The data in the log files is only used if you restart Cumulus, then the data points are held internally in memory. Have you restarted Cumulus recently, and if so are you sure you haven't got a problem in the log file that perhaps you can't see with whatever you are using to view the file? If you zip up and attach the latest MXdiags file and your August log file, I'll take a look.
Yes, I have restarted recently - around about the same time I started this thread. I am away from my server at the moment, so will check on log file integrity on my return.
Re: Length of data series displayed on the trends page
Posted: Sun 06 Sep 2015 12:55 pm
by freddie
steve wrote:If you zip up and attach the latest MXdiags file and your August log file, I'll take a look.
Apologies for the slow reply. Here are the files you requested. The log file looked okay in several different editors. The diags file has been truncated to meet upload size limits.
mxdiags.zip
Aug15log.zip
Re: Length of data series displayed on the trends page
Posted: Sun 06 Sep 2015 1:06 pm
by steve
When it pre-loads the list at start up, it only loads the last 24 hours, rather than the configured period. I'll fix it in the next build.
Re: Length of data series displayed on the trends page
Posted: Sun 06 Sep 2015 8:27 pm
by freddie
steve wrote:When it pre-loads the list at start up, it only loads the last 24 hours, rather than the configured period. I'll fix it in the next build.
I've never noticed that before - good spot, and thank you
