I wondered why the 'historical data' go back for 'only' seven days <#RecentOutsideTemp d=365> will not work I see (a year back) is this done on purpose ?
Welcome to the Cumulus Support forum.
Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080
Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080
Historical data
- nitrx
- Posts: 1297
- Joined: Sun 13 Dec 2009 1:21 pm
- Weather Station: WH1080
- Operating System: Windows 10
- Location: Apeldoorn The Netherlands
- Contact:
Historical data
Steve thanks for the great update
A lot of things are possible I think.
I wondered why the 'historical data' go back for 'only' seven days <#RecentOutsideTemp d=365> will not work I see (a year back) is this done on purpose ?
I wondered why the 'historical data' go back for 'only' seven days <#RecentOutsideTemp d=365> will not work I see (a year back) is this done on purpose ?
- steve
- Cumulus Author
- Posts: 26672
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Historical data
Mainly for performance reasons - memory usage and startup speed. I thought 7 days was a useful period that wouldn't impact much on either. Loading in a year's worth of data would require getting on for 100MB of RAM and slow the startup considerably.nitrx wrote:I wondered why the 'historical data' go back for 'only' seven days <#RecentOutsideTemp d=365> will not work I see (a year back) is this done on purpose ?
Steve
- nitrx
- Posts: 1297
- Joined: Sun 13 Dec 2009 1:21 pm
- Weather Station: WH1080
- Operating System: Windows 10
- Location: Apeldoorn The Netherlands
- Contact:
Re: Historical data
That's a fair reason, I asked it because I would use it as temperature (andso-on) last year.steve wrote:Mainly for performance reasons - memory usage and startup speed. I thought 7 days was a useful period that wouldn't impact much on either. Loading in a year's worth of data would require getting on for 100MB of RAM and slow the startup considerably.nitrx wrote:I wondered why the 'historical data' go back for 'only' seven days <#RecentOutsideTemp d=365> will not work I see (a year back) is this done on purpose ?
- steve
- Cumulus Author
- Posts: 26672
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Historical data
If I ever get around to adding an SQL database, that sort of thing should hopefully be possible, as it shouldn't then be necessary to load it all into memory to get reasonable searching speed. Not that I have any figures to back that up...
Steve
-
Matt.j5b
- Posts: 512
- Joined: Mon 28 Nov 2011 2:13 am
- Weather Station: Davis VP2/ WLL with DFARS
- Operating System: RPi Raspbian (Buster)
- Location: Ferny Grove, Brisbane, Australia
- Contact:
Re: Historical data
Great feature Steve, very useful.
One question Steve, does the data for this feature all come from Cumulus software (including from the logger?) and not rely on the state of updating my site and will still work fine if say I pick 24 hrs and my site my offline at that 24 hrs ago. I ask this as I don't always update my site so I wondering if the usage of these tag would work fine in this way.
One question Steve, does the data for this feature all come from Cumulus software (including from the logger?) and not rely on the state of updating my site and will still work fine if say I pick 24 hrs and my site my offline at that 24 hrs ago. I ask this as I don't always update my site so I wondering if the usage of these tag would work fine in this way.
- steve
- Cumulus Author
- Posts: 26672
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Historical data
Yes. It doesn't rely in any way on anything that has previously been uploaded to your web site.Matt.j5b wrote:One question Steve, does the data for this feature all come from Cumulus software (including from the logger?)
The way it works is: at start up it loads into memory the last 7 days worth of data from the monthly log file(s). It then adds any logger data that it downloads to that. Then it adds a new entry once a minute while it's running, all the time deleting from the list any data that's more than a week old. When it processes a web tag, it searches the list looking for the nearest entry to that specified by the web tag parameters.
Steve
-
Matt.j5b
- Posts: 512
- Joined: Mon 28 Nov 2011 2:13 am
- Weather Station: Davis VP2/ WLL with DFARS
- Operating System: RPi Raspbian (Buster)
- Location: Ferny Grove, Brisbane, Australia
- Contact:
Re: Historical data
Thats sounds good. Thanks for your reply Steve. You have been busy, its a great feature. 