5,838
edits
(One intermediate revision by the same user not shown) | |||
Line 76: | Line 76: | ||
| '''d''' specifies number of days ago, | | '''d''' specifies number of days ago, | ||
'''h''' specifies number of hours ago, | |||
and '''m''' specifies number of minutes ago. | and '''m''' specifies number of minutes ago. | ||
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) | ||
| | | <#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. | * 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 | * <#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: | |||
* <#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 | * <#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) | |||
|} | |} | ||
edits