BETA webtags

From Cumulus Wiki
Revision as of 21:22, 2 December 2010 by Mcrossley (talk | contribs) (→‎Miscellaneous: add #LatestError)
Jump to navigationJump to search

Additional webtags available in the BETA version of Cumulus 1.9.1

These are special markers placed in a file which Cumulus can then process and replace with the actual values. Typically you would use this to build your own website by having an HTML template file with your layout, static text and graphics. In the position on the page you wish Cumulus to insert the relevant data place a webtag in the form:

<#tagname>

Assuming you have asked Cumulus to process the file, it will replace the tag with the current value of the item the tag represents just before the file is uploaded to the internet.

Note: When you put a tag into your HTML, be careful that whatever program you are using to develop your web pages doesn't change the angle brackets to slightly different symbols -- this is a common cause of failure!


The Tags

Below is a list of the additional webtags available in this beta version. These webtags will be transferred to the main page when the beta version becomes 'live'


Time

webtag Function
<#ThumTH> Time of today's high humidity
<#ThumTL> Time of today's low humidity
<#ThumYH> Time of yesterday's high humidity
<#ThumYL> Time of yesterday's low humidity
<#ThumH> Date/time of all time high humidity
<#ThumL> Date/time of all time low humidity
<#TapptempTH> Time of today's high apparent temperature
<#TapptempTL> Time of today's low apparent temperature
<#TapptempYH> Time of yesterday's high apparent temperature
<#TapptempYL> Time of yesterday's low apparent temperature
<#TapptempH> Date/time of all time high apparent temperature
<#TapptempL> Date/time of all time low apparent temperature
<#TheatindexTH> Time of today's high heat index
<#TheatindexYH> Time of yesterday's high heat index
<#TheatindexH> Date/time of all time high heat index
<#TwchillTL> Time of today's low wind chill
<#TwchillYL> Time of yesterday's low wind chill
<#ThourlyrainTH> Time of today's high rainfall rate
<#ThourlyrainYH> Time of yesterday's high rainfall rate

Temperature

webtag Function
<#apptemp> The apparent temperature
<#apptempTH> Today's high apparent temperature
<#apptempTL> Today's low apparent temperature
<#apptempYH> Yesterday's high apparent temperature
<#apptempYL> Yesterday's low apparent temperature
<#apptempH> All time high apparent temperature
<#apptempL> All time low apparent temperature
<#heatindexTH> Today's high heat index
<#heatindexYH> Yesterday's high heat index
<#heatindexH> All time high heat index
<#humTH> Today's highest humidity
<#humTL> Today's lowest humidity
<#humYH> High humidity yesterday
<#humYL> Low humidity yesterday
<#humH> All time high humidity
<#humL> All time low humidity
<#wchillTL> Today's low wind chill
<#wchillYL> Yesterday's low wind chill

Pressure

webtag Function

Rain

webtag Function
<#hourlyrainTH> Today's highest rainfall rate
<#hourlyrainYH> Yesterday's highest rainfall rate

Wind

webtag Function

Monthly

webtag Function Time Date
<#MonthTempH> This months high temperature <#MonthTempHT> <#MonthTempHD>
<#MonthTempL> This months low temperature <#MonthTempLT> <#MonthTempLD>
<#MonthHeatIndexH> This months high heat index <#MonthHeatIndexHT> <#MonthHeatIndexHD>
<#MonthWChillL> This months low wind chill <#MonthWChillLT> <#MonthWChillLD>
<#MonthAppTempH> This months high apparent temperature <#MonthAppTempHT> <#MonthAppTempHD>
<#MonthAppTempL> This months low apparent temperature <#MonthAppTempLT> <#MonthAppTempLD>
<#MonthMinTempH> This months highest daily minimum temperature N/A <#MonthMinTempHD>
<#MonthMaxTempL> This months lowest daily minimum temperature N/A <#MonthMaxTempLD>
<#MonthPressH> This months high pressure <#MonthPressHT> <#MonthPressHD>
<#MonthPressL> This months low pressure <#MonthPressLT> <#MonthPressLD>
<#MonthHumH> This months high humidty <#MonthHumHT> <#MonthHumHD>
<#MonthHumL> This months low humidty <#MonthHumLT> <#MonthHumLD>
<#MonthGustH> This months high wind gust <#MonthGustHT> <#MonthGustHD>
<#MonthWindH> This months high wind speed <#MonthWindHT> <#MonthWindHD>
<#MonthRainRateH> This months high rainfall rate <#MonthRainRateHT> <#MonthRainRateHD>
<#MonthHourlyRainH> This months high hourly rain <#MonthHourlyRainHT> <#MonthHourlyRainHD>
<#MonthDailyRainH> This months high daily rain N/A <#MonthDailyRainHD>

Yearly

webtag Function Time Date
<#YearTempH> This years high temperature <#YearTempHT> <#YearTempHD>
<#YearTempL> This years low temperature <#YearTempLT> <#YearTempLD>
<#YearHeatIndexH> This years high heat index <#YearHeatIndexHT> <#YearHeatIndexHD>
<#YearWChillL> This years low wind chill <#YearWChillLT> <#YearWChillLD>
<#YearAppTempH> This years high apparent temperature <#YearAppTempHT> <#YearAppTempHD>
<#YearAppTempL> This years low apparent temperature <#YearAppTempLT> <#YearAppTempLD>
<#YearMinTempH> This years highest daily minimum temperature N/A <#YearMinTempHD>
<#YearMaxTempL> This years lowest daily minimum temperature N/A <#YearMaxTempLD>
<#YearPressH> This years high pressure <#YearPressHT> <#YearPressHD>
<#YearPressL> This years low pressure <#YearPressLT> <#YearPressLD>
<#YearHumH> This years high humidty <#YearHumHT> <#YearHumHD>
<#YearHumL> This years low humidty <#YearHumLT> <#YearHumLD>
<#YearGustH> This years high wind gust <#YearGustHT> <#YearGustHD>
<#YearWindH> This years high wind speed <#YearWindHT> <#YearWindHD>
<#YearRainRateH> This years high rainfall rate <#YearRainRateHT> <#YearRainRateHD>
<#YearHourlyRainH> This years high hourly rain <#YearHourlyRainHT> <#YearHourlyRainHD>
<#YearDailyRainH> This years high daily rain N/A <#YearDailyRainHD>
<#YearMonthlyRainH> This years high monthly rain N/A <#YearMonthlyRainHD>

Miscellaneous

webtag Function
<#SunshineHours> Hours of sunshine so far today
<#YSunshineHours> Total hours of sunshine yesterday
<#CurrentSolarMax> Current theoretical maximum solar radiation
<#IsSunny> Returns 1 if the sun is shining, otherwise 0
<#LatestError> Displays the last error from the Cumulus error log

Day/Night/Sun/Moon

webtag Function

Alarms

There are a set of tags for the Cumulus alarm states. They give a value of '1' if the alarm has been set and the alarm condition is currently met; otherwise '0'.

webtag Function

Special tags

WMR928

There are a set of tags for the WMR928 extra sensors:

webtag Function


No Commas

There are a set of tags where the decimal comma has been replaced with a full stop, where necessary, for use with gauges etc which don't like the commas. They all correspond to the same tag with 'RC' removed.