Recent history: Difference between revisions

110 bytes added ,  12:40, 29 September 2022
m
Line 26: Line 26:
= How is the functionality used =
= How is the functionality used =


By a request to Cumulus specifying 1 to 10 079 minutes (equals 7 days) ago. Then Cumulus will retrieve the value for the nearest available time.  
By a request through a Webtag to Cumulus specifying 1 to 10 079 minutes (equals 7 days) ago. Then Cumulus will retrieve the value for the nearest available time.  


The normal way to retrieve a specific value is by using Recent History Webtag names and specifying how many minutes ago you want through the parameters.
The normal way to retrieve a specific value is by using [[Full list of Webtags#Table of Recent History tag names available|Recent History Webtag names]] and specifying how much time you want before the now using the [[Webtags/Parameters|parameters]].


You'll get the nearest value if you ask for a time for which there is currently no exact match, and the first tag [[Webtags#Recent_History|listed here]] tells you that nearest time.
You'll get the nearest value if you ask for a time for which there is currently no exact match, and [[Recent_History#Timestamp tag|the first tag ]] tells you that nearest time.


There are a number of internal calculations, such as calculating [[Average temperature]], [[Heat/cold degree days and Chill hours]], which use the recent history data stored in the Recent History Database for CumulusMX. These data are also used for the standard [[MX_Administrative_Interface#Charts|charts]] and the JSON data for the charts on the standard website and many other websites. See: [[:Category:JSON_Files#Uploading_data_to_a_web_server_outside_MX:|Uploading data to a webserver outside CumulusMX ]] .
There are a number of internal calculations, such as calculating [[Average temperature]], [[Heat/cold degree days and Chill hours]], which use the recent history data stored in the Recent History Database for CumulusMX. These data are also used for the standard [[MX_Administrative_Interface#Charts|charts]] and the JSON data for the charts on the standard website and many other websites. See: [[:Category:JSON_Files#Uploading_data_to_a_web_server_outside_MX:|Uploading data to a webserver outside CumulusMX ]] .