1,651
edits
m (Minor resequencing of page) |
mNo edit summary |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
[[Category:Terminology]] [[Category:Cumulus Files]] | |||
[[Category: | |||
=What is Recent History?= | =What is Recent History?= | ||
Recent history functionality in Cumulus is the ability to store weather values | Recent history functionality in Cumulus is the ability to store weather values, for the last 7 days. | ||
Only some spot readings are stored in Recent History, the stored values will miss any extremes that occur between the times when the recent history values are stored. The weather value that tends to vary the most is wind speed, so that is where peaks are most often missed. | |||
When Cumulus is running normally, entries are stored once a minute, regardless of how often Cumulus interrogates the weather station (might be every 10 seconds, or more or less frequently) and regardless of how often the weather station gets updated readings from sensors (might be every few seconds, every 40 seconds, every minute or less frequently). This can mean that the readings stored on a 1-minute basis may actually be duplicates if the station has not supplied a new value since the previous minute, or may not capture every reading from sensors if they are read more than once in a minute. | |||
When Cumulus is restarted, if the weather station provides historical catch-up data, then the interval between entries for that period when Cumulus was not running, is stored at whatever interval the historical catch-up data uses. Since release 3.12.0, entries less than a week old, from when MX was previously running will be retained, and those will be at one minute interval; earlier releases will not collect any entries from when Cumulus was previously running, just those for up to a week while it was not running. | |||
=How is the functionality used?= | =How is the functionality used?= | ||
Line 50: | Line 51: | ||
Depends on the release you are running: | Depends on the release you are running: | ||
* Release 3.12.0 onwards: Held in [[cumulusmx.db|RecentData table in cumulusmx.db]] (uses SQLite), | * Release 3.12.0 onwards: Held in [[cumulusmx.db|RecentData table in cumulusmx.db]] (uses SQLite). There are many software tools available that can read/edit SQLite3, this is not the place to get too technical, but take a look at '''sqlitebrowser''' in a Linux environment, and '''phpLiteAdmin''' in Microsoft Windows. Also, you could use any application that can read ODBC files (e.g. Libre Office's Base functionality) can read the MX databases. | ||
* Cumulus 2: Was held in an external SQLite database, together with other data that Cumulus 1 had held in text files, as above | |||
* Releases 3.0.0 to 3.11.4: Held in a SQLite database table that is stored in-memory within MX code | * Releases 3.0.0 to 3.11.4: Held in a SQLite database table that is stored in-memory within MX code | ||
* In the legacy Cumulus 1, the values were stored in an array held within the Cumulus code. | * In the legacy Cumulus 1, the values were stored in an array held within the Cumulus code. | ||