Webtags (preserving history): Difference between revisions

Added new 1.9.2 tags
(Added new 1.9.2 tags)
Line 1: Line 1:
== Webtags available in Cumulus 1.9.1 ==
== Webtags available in Cumulus 1.9.2 ==


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:
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:
Line 126: Line 126:
|<#tempunit>
|<#tempunit>
|Unit of temperature being used (Set in Cumulus as [http://en.wikipedia.org/wiki/Centigrade Centigrade] or [http://en.wikipedia.org/wiki/Fahrenheit Fahrenheit])
|Unit of temperature being used (Set in Cumulus as [http://en.wikipedia.org/wiki/Centigrade Centigrade] or [http://en.wikipedia.org/wiki/Fahrenheit Fahrenheit])
|-
|<#tempunitnodeg>
|The temperature units being used, without a degree symbol, i.e. "F" or "C"
|-
|-
|<#pressunit>
|<#pressunit>
Line 155: Line 158:
|The current time. Example format: 18:30:27  
|The current time. Example format: 18:30:27  
|-
|-
| <#day>
|<#timeUTC>
|The current UTC date/time rather than local date/time
|-
|<#day>
| The current day as a 2-digit number. Example format: 14   
| The current day as a 2-digit number. Example format: 14   
|-
|-
| <#dayname>
|<#dayname>
| The current day as a word.  For example, Monday
| The current day as a word.  For example, Monday
|-
|-
| <#shortdayname>
|<#shortdayname>
| The current day as a shortened word. Example format: Mon
| The current day as a shortened word. Example format: Mon
|-
|-
Line 233: Line 239:
|<#wchill>
|<#wchill>
|The current [[wind chill]] temperature
|The current [[wind chill]] temperature
|-
|<#wetbulb>
|Estimated [http://en.wikipedia.org/wiki/Wet_bulb wet bulb] temperature, currently only available via web tag
|-
|-
|colspan="2" style="background:lightgray;"|Rainfall
|colspan="2" style="background:lightgray;"|Rainfall
Line 247: Line 256:
|<#rmidnight>
|<#rmidnight>
|The total rainfall since midnight. Useful if you don't use midnight as your start of day
|The total rainfall since midnight. Useful if you don't use midnight as your start of day
|-
|<#r24hour>
|Amount of rain in the last 24 hours
|-
|-
|<#LastRainTipISO>
|<#LastRainTipISO>
Line 302: Line 314:
|<#beaufort>
|<#beaufort>
|The current wind speed on the [http://en.wikipedia.org/wiki/Beaufort_scale Beaufort scale] (e.g. F8)  
|The current wind speed on the [http://en.wikipedia.org/wiki/Beaufort_scale Beaufort scale] (e.g. F8)  
|-
|<#beaufortnumber>
|The current wind speed on the Beaufort scale, without a leading "F", e.g. "6"
|-
|-
|<#beaudesc>
|<#beaudesc>
Line 322: Line 337:
|<#forecastnumber>
|<#forecastnumber>
|The number relating to the current forecast entry in the [[strings.ini]] file.  If your station is not providing it's own forecast and Cumulus is not calculating one then 0 (zero) is returned
|The number relating to the current forecast entry in the [[strings.ini]] file.  If your station is not providing it's own forecast and Cumulus is not calculating one then 0 (zero) is returned
|-
|colspan="2" style="background:lightgray;"|Miscellaneous
|-
|<#cloudbasevalue>
|Current calculated cloud base without units
|-
|<#cloudbaseunit>
|The units used for cloudbase value, i.e. "ft" or "m"
|-
|<#cumulusforecast>
|Always gives Cumulus (Zambretti) forecast, even if the <#forecast> tag provides a station forecast
|-
|<#wsforecast>
|Always gives station forecast (if available)
|}
|}


Line 341: Line 370:
|Today's lowest temperature
|Today's lowest temperature
|<#TtempTL>
|<#TtempTL>
|-
|<#temprange>
|The temperature range (max - min) so far today
|n/a
|-
|-
|<#apptempTH>
|<#apptempTH>
Line 410: Line 443:
|<#Tbeaufort>  
|<#Tbeaufort>  
|Today's highest wind speed, expressed in the Beaufort scale
|Today's highest wind speed, expressed in the Beaufort scale
|<#TwindTM>
|-
|<#Tbeaufortnumber>
|Today's high wind speed on the Beaufort scale, without a leading "F", e.g. "6"
|<#TwindTM>
|<#TwindTM>
|-  
|-  
Line 415: Line 452:
|The total wind run so far today
|The total wind run so far today
|N/A
|N/A
|-
|<#domwindbearing>
|Today's dominant wind direction in degrees
|n/a
|-
|<#domwinddir>
|Today's dominant wind direction as compass point
|n/a
|-
|-
|colspan="3" style="background:lightgray;"|Miscellaneous
|colspan="3" style="background:lightgray;"|Miscellaneous
Line 421: Line 466:
|Today's [http://en.wikipedia.org/wiki/Evapotranspiration evapotranspiration]. Note that Fine Offset stations with solar sensors do not supply an evapotranspiration value, and by a quirk of the way the tag gets its value, for those stations this tag gives the light level in Lux.
|Today's [http://en.wikipedia.org/wiki/Evapotranspiration evapotranspiration]. Note that Fine Offset stations with solar sensors do not supply an evapotranspiration value, and by a quirk of the way the tag gets its value, for those stations this tag gives the light level in Lux.
|N/A
|N/A
|-
|<#heatdegdays>
|Today's heating degree days
|n/a
|-
|<#cooldegdays>
|Today's cooling degree days
|n/a
|}
|}


Line 440: Line 493:
|Yesterday's lowest temperature
|Yesterday's lowest temperature
|<#TtempYL>
|<#TtempYL>
|-
|<#temprangeY>
|The temperature range (max - min) yesterday
|n/a
|-
|-
|<#apptempYH>
|<#apptempYH>
Line 518: Line 575:
|Yesterday's highest wind speed, expressed in the Beaufort scale
|Yesterday's highest wind speed, expressed in the Beaufort scale
|<#TwindYM>
|<#TwindYM>
|-
|<#Ybeaufortnumber>
|Yesterday's high wind speed on the Beaufort scale, without a leading "F", e.g. "6"
|<#TwindYM>
|-
|<#domwindbearingY>
|Yesterday's dominant wind direction in degrees
|n/a
|-
|<#domwinddirY>
|Yesterday's dominant wind direction as compass point
|n/a
|-
|<#windrunY>
|Yesterday's total wind run
|n/a
|-
|colspan="3" style="background:lightgray;"|Miscellaneous
|-
|<#heatdegdaysY>
|Yesterday's heating degree days
|n/a
|-
|<#cooldegdaysY>
|Yesterday's cooling degree days
|n/a
|}
|}


Line 540: Line 623:
|<#MonthTempLT>
|<#MonthTempLT>
|<#MonthTempLD>
|<#MonthTempLD>
|-
|<#MonthMinTempH>
|This months highest daily minimum temperature
|n/a
|<#MonthMinTempHD>
|-
|<#MonthMaxTempL>
|This months lowest daily minimum temperature
|n/a
|<#MonthMaxTempLD>
|-
|<#MonthHighDailyTempRange>
|High Daily Temp Range
|n/a
|<#MonthHighDailyTempRangeD>
|-
|<#MonthLowDailyTempRange>
|Low Daily Temp Range
|n/a
|<#MonthLowDailyTempRangeD>
|-
|-
|<#MonthHeatIndexH>
|<#MonthHeatIndexH>
Line 570: Line 673:
|<#MonthDewPointLT>
|<#MonthDewPointLT>
|<#MonthDewPointLD>
|<#MonthDewPointLD>
|-
|<#MonthMinTempH>
|This months highest daily minimum temperature
|n/a
|<#MonthMinTempHD>
|-
|<#MonthMaxTempL>
|This months lowest daily minimum temperature
|n/a
|<#MonthMaxTempLD>
|-
|-
|<#MonthHumH>
|<#MonthHumH>
Line 614: Line 707:
|<#MonthWindHT>
|<#MonthWindHT>
|<#MonthWindHD>
|<#MonthWindHD>
|-
|<#MonthWindRunH>
|High Daily Wind Run
|n/a
|<#MonthWindRunHD>
|-
|-
|colspan="4" style="background:lightgray;"|Rainfall
|colspan="4" style="background:lightgray;"|Rainfall
Line 636: Line 734:
|n/a
|n/a
|<#MonthDailyRainHD>
|<#MonthDailyRainHD>
|-
|<#MonthLongestDryPeriod>
|Longest dry period ending this month (days)
|n/a
|<#MonthLongestDryPeriodD>
|-
|<#MonthLongestWetPeriod>
|Longest period of rain every day, ending this month (days)
|n/a
|<#MonthLongestWetPeriodD>
|}
|}


Line 658: Line 766:
|<#YearTempLT>
|<#YearTempLT>
|<#YearTempLD>
|<#YearTempLD>
|-
|<#YearHighDailyTempRange>
|High Daily Temp Range
|n/a
|<#YearHighDailyTempRangeD>
|-
|<#YearLowDailyTempRange>
|Low Daily Temp Range
|n/a
|<#YearLowDailyTempRangeD>
|-
|-
|<#YearHeatIndexH>
|<#YearHeatIndexH>
Line 732: Line 850:
|<#YearWindHT>
|<#YearWindHT>
|<#YearWindHD>
|<#YearWindHD>
|-
|<#YearWindRunH>
|High Daily Wind Run
|n/a
|<#YearWindRunHD>
|-
|-
|colspan="4" style="background:lightgray;"|Rainfall
|colspan="4" style="background:lightgray;"|Rainfall
Line 737: Line 860:
|<#ryear>
|<#ryear>
|The total rainfall so far this year
|The total rainfall so far this year
|n/a
|n/a
|n/a
|-
|-
Line 758: Line 882:
|n/a
|n/a
|<#YearMonthlyRainHD>
|<#YearMonthlyRainHD>
|-
|<#YearLongestDryPeriod>
|Longest period without rain ending this year (days)
|n/a
|<#YearLongestDryPeriodD>
|-
|<#YearLongestWetPeriod>
|Longest period of rain every day ending this year (days)
|n/a
|<#YearLongestWetPeriodD>
|}
|}


Line 785: Line 919:
|All time low maximum temperature  
|All time low maximum temperature  
|<#TmaxtempL>
|<#TmaxtempL>
|-
|<#LowDailyTempRange>
|All time low daily temperature range
|<#TLowDailyTempRange>
|-
|<#HighDailyTempRange>
|All time high daily temperature range
|<#THighDailyTempRange>
|-
|-
|<#apptempH>
|<#apptempH>
Line 835: Line 977:
|All time high monthly rain  
|All time high monthly rain  
|<#TrfallmH>
|<#TrfallmH>
|-
|<#LongestDryPeriod>
|All time longest dry period (days)
|<#TLongestDryPeriod>
|-
|<#LongestWetPeriod>
|All time longest wet period (days)
|<#TLongestWetPeriod>
|-
|-
|colspan="3" style="background:lightgray;"|Pressure
|colspan="3" style="background:lightgray;"|Pressure
Line 855: Line 1,005:
|All time high average wind speed  
|All time high average wind speed  
|<#TwspeedH>
|<#TwspeedH>
|-
|<#windrunH>
|All time high daily wind run
|<#TwindrunH>
|}
|}


Line 935: Line 1,089:
|<#currcond>
|<#currcond>
|Represents the value entered on the screen within Cumulus for the Current Weather condition, or the value as held in the [[currentconditions.txt]] file  
|Represents the value entered on the screen within Cumulus for the Current Weather condition, or the value as held in the [[currentconditions.txt]] file  
|-
|<#chillhours>
|The number of 'chill hours' so far this season.
|-
|<#ConsecutiveRainDays>
|The number of days up to (but not including) today where it has rained every day. The threshold amount of rain required to determine a rain day is configurable via the RainDayThreshold setting in cumulus.ini, the units for the threshold are the same as your rain units
|-
|<#ConsecutiveDryDays>
|The number of days up to (but not including) today since it last rained. The threshold amount of rain required to determine a rain day is configurable via the RainDayThreshold setting in cumulus.ini the units for the threshold are the same as your rain units
|-
|<#WindRoseData>
|A comma-separated list of the wind 'totals' used to draw the wind rose (8 or 16 values)
|-
|<#WindRosePoints>
|The number of items in <#WindRoseData> (i.e. 8 or 16)
|-
|<#WindSampleCount>
|The number of wind samples making up the wind rose (etc) data (up to 3600)
|-
|<#LatestNOAAMonthlyReport>
|Gives file name of latest auto-saved NOAA monthly report
|-
|<#LatestNOAAYearlyReport>
|Gives file name of latest auto-saved NOAA yearly report
|}
|}


Line 968: Line 1,146:
|<#moonphase>
|<#moonphase>
|Current [[Lunar phase|phase of the moon]]
|Current [[Lunar phase|phase of the moon]]
|-
|<#MoonAge>
|Current '''approximate''' age of the Moon in days (0-29)
|-
|-
|<#moonrise>
|<#moonrise>
Line 1,076: Line 1,257:
|<#LowTempRecordSet>
|<#LowTempRecordSet>
|1 if the all-time low temperature light is currently flashing, 0 if not
|1 if the all-time low temperature light is currently flashing, 0 if not
|-
|<#HighTempRangeRecordSet>
|1 if the all-time high daily temperature range light is currently flashing, 0 if not
|-
|<#LowTempRangeRecordSet>
|1 if the all-time low daily temperature range light is currently flashing, 0 if not
|-
|-
|<#HighAppTempRecordSet>
|<#HighAppTempRecordSet>
Line 1,106: Line 1,293:
|<#HighWindSpeedRecordSet>
|<#HighWindSpeedRecordSet>
|1 if the all-time high wind speed light is currently flashing, 0 if not
|1 if the all-time high wind speed light is currently flashing, 0 if not
|-
|<#HighWindGustRecordSet>
|1 if the all-time high wind gust light is currently flashing, 0 if not
|-
|-
|<#HighRainRateRecordSet>
|<#HighRainRateRecordSet>
Line 1,118: Line 1,308:
|<#HighMonthlyRainRecordSet>
|<#HighMonthlyRainRecordSet>
|1 if the all-time high monthly rain light is currently flashing, 0 if not
|1 if the all-time high monthly rain light is currently flashing, 0 if not
|-
|<#LongestDryPeriodRecordSet>
|1 if the all-time longest dry period light is currently flashing, 0 if not
|-
|<#LongestWetPeriodRecordSet>
|1 if the all-time longest wet period light is currently flashing, 0 if not
|-
|-
|<#HighHumidityRecordSet>
|<#HighHumidityRecordSet>
Line 1,169: Line 1,365:
|<#ExtraHum3>
|<#ExtraHum3>
|Extra humidity channel 3  
|Extra humidity channel 3  
|}
===Davis===
There are a set of tags for the Davis PWS:
{| class="wikitable" border="1"
|-
!style="width:150px" | webtag
!style="width:600px" | Function
|-
|<#DavisTotalPacketsReceived>
|Total number of data packets received
|-
|<#DavisTotalPacketsMissed>
|Number of missed data packets
|-
|<#DavisNumberOfResynchs>
|Number of times the console resynchronised with the transmitter
|-
|<#DavisMaxInARow>
|Longest streak of consecutive packets received
|-
|<#DavisNumCRCerrors>
|Number of packets received with CRC errors
|-
|<#THWindex>
|A derived temperature using Temperature/Humidity/Wind values
|-
|<#THSWindex>
|A derived temperature using Temperature/Humidity/Solar/Wind values
|}
===Fine Offset===
The following tags are specific to the Fine Offset series of PWS
{| class="wikitable" border="1"
|-
!style="width:150px" | webtag
!style="width:600px" | Function
|-
|<#Light>
|Current Lux value (3080 models only)
|}
|}