Webtags/Parameters (preserving history): Difference between revisions

m
Line 93: Line 93:
! scope="row"| [[Webtags#Monthly_All_Time_Records|'''monthly all-time extreme records''']]
! scope="row"| [[Webtags#Monthly_All_Time_Records|'''monthly all-time extreme records''']]
| These exist for all occurrences of the current month, and for all occurrences of each month
| These exist for all occurrences of the current month, and for all occurrences of each month
|  '''mon=N''' where N is the index of the month of the year that you want the value for (1 =January, and so on, to 12 =December)  
|  '''mon=N'''
 
where N is the index of the month of the year that you want the value for (1 =January, and so on, to 12 =December)  
| Cumulus 1.9.3 beta build 1033 (remain available in MX)
| Cumulus 1.9.3 beta build 1033 (remain available in MX)
| e.g. <#ByMonthDewPointH mon=3> is highest monthly dew point for any March and <#ByMonthDewPointHT mon=3> is the related time and date.
| <#ByMonthDewPointH mon=3> is highest monthly dew point for any March and <#ByMonthDewPointHT mon=3> is the related time and date.


<#ByMonthTempH mon=3> gives highest temperature in any March, <#ByMonthTempHT mon=3> gives the date and time for that highest temperature
<#ByMonthTempH mon=3> gives highest temperature in any March, <#ByMonthTempHT mon=3> gives the date and time for that highest temperature
| Only one input parameter applies:
| Only one input parameter applies:
* The value of "N" supplied should be an integer between 1 and 12
* The value of "N" supplied should be an integer between 1 and 12
* If you don't supply an input parameter (or supply an invalid value like zero) the current month will be used. This is useful if you want to write a template that will always supply values for the current month and don't want to process a script, to calculate the correct input parameter, before Cumulus processes the template.
* If you don't supply an input parameter (or supply an invalid value like zero) the current month will be used.  
 
Use without an input parameter applies if you want to write a template that will always supply values for the current month and don't want to process a script, to calculate the correct input parameter, before Cumulus processes the template.
|-  
|-  
! scope="row"| [[Webtags#Monthly|Only <#SunshineHoursMonth>]] and [[webtags#Yearly|Only <#SunshineHoursYear>]]
! scope="row"| [[Webtags#Monthly|Only <#SunshineHoursMonth>]] and [[webtags#Yearly|Only <#SunshineHoursYear>]]
| Values available for current month/year, and for past month/year
| Values available for current month/year, and for past month/year
| Listed web tags take '''r=-ww'''
| Listed web tags take: '''r=-ww''' (note minus sign and up to 2 digits)
* Monthly tags also take: '''m=N y=nnnn'''
* Monthly tags also take: '''m=N y=nnnn''' ('''N''' can be 1 to 12, ''nnnn'' is 4 digit year)
* Yearly tags also take: '''y=nnnn'''  
* Yearly tags also take: '''y=nnnn'''  
Omit input modification parameter to get value for current month/year
Omit input modification parameter to get value for current month/year
Line 112: Line 116:
* <#SunshineHoursMonth> gives total sunshine hours since 1 minute past midnight at start of current month  
* <#SunshineHoursMonth> gives total sunshine hours since 1 minute past midnight at start of current month  
* <#SunshineHoursMonth y=2021 m=1> for the January 2021 total
* <#SunshineHoursMonth y=2021 m=1> for the January 2021 total
* <#SunshineHoursMonth r=-1> for last months total
* <#SunshineHoursMonth r=-1> for last month's total
* <#SunshineHoursMonth r=-12> for same month as current month, but one year ago
* <#SunshineHoursMonth r=-12> for same month as current month, but one year ago
Yearly examples:
Yearly examples:
* <#SunshineHoursYear> gives total sunshine hours since 1 minute past midnight on New Year's Day
* <#SunshineHoursYear> gives total sunshine hours since 1 minute past midnight on New Year's Day
* <#SunshineHoursYear y=2019> for the total for 2019
* <#SunshineHoursYear y=2019> for the total for 2019
* <#SunshineHoursYear r=-2> total for the year before last (if current year is 2021, that is same as previous example)
* <#SunshineHoursYear r=-2> total for the year before last (if current year is 2021, that returns total for 2019 as previous example)
| Returns the sunshine hours total in selected period
| Returns the sunshine hours total in selected period
(You need a sensor to be monitoring this throughout selected period)
|}
|}


5,838

edits