BETA webtags: Difference between revisions

From Cumulus Wiki
Jump to navigationJump to search
111 bytes added ,  11:37, 10 February 2019
 
(31 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== Additional webtags available in the BETA version of Cumulus 1.9.3 ==
== Additional webtags available in the BETA version of Cumulus 3.0.0 ==




Line 11: Line 11:


Also note that web tags are case sensitive, use them exactly as they appear here.
Also note that web tags are case sensitive, use them exactly as they appear here.
=Time and Date Format Code Changes=
The table below details the differences in the time/date format codes between Cumulus v1 and Cumulus MX
Note that this also applies to the NOAA report file formats. The characters which can be used now are listed on the following two pages:
http://msdn.microsoft.com/en-us/library/az4se3k1(v=vs.110).aspx - 'standard' strings
http://msdn.microsoft.com/en-us/library/8kb3ddd4(v=vs.110).aspx - 'custom' strings
{| class="wikitable" border="1"
|-
!style="width:75px" | Cumulus v1 Code
!style="width:400px" | Description
!style="width:230px" | Cumulus MX Code
|-
|c
|Windows Short Date and Long Time format.
|G (or construct from custom formats)
|-
|d
|Day of month as a number without a leading zero (1-31).
|Same
|-
|dd
|Day as a number with a leading zero (01-31).
|Same
|-
|ddd
|Day as an abbreviation (Sun-Sat) using Windows Locale.
|Same
|-
|dddd
|Day as a full name (Sunday-Saturday) using Windows Locale.
|Same
|-
|ddddd
|Displays the date using the format given by the Windows Short Date format.
|d (or construct from custom formats)
|-
|dddddd
|Date in Windows Long Date format.
|D (or construct from custom formats)
|-
|m
|Month as a number without a leading zero (1-12).
|M
|-
|mm
|Month as a number with a leading zero (01-12).
|MM
|-
|mmm
|Month as an abbreviation (Jan-Dec) using Windows Locale.
|MMM
|-
|mmmm
|Month as a full name (January-December) using Windows Locale.
|MMMM
|-
|yy
|Year as a two-digit number (00-99).
|Same
|-
|yyyy
|Year as a four-digit number (0000-9999).
|Same
|-
|h
|Hour without a leading zero (0-23).
|h for 12-hour clock (1-12), H for 24-hour clock (0-23)
|-
|hh
|Hour with a leading zero (00-23).
|hh for 12-hour clock (1-12), HH for 24-hour clock (0-23)
|-
|n
|Minute without a leading zero (0-59).
|m
|-
|nn
|Minute with a leading zero (00-59).
|mm
|-
|s
|Second without a leading zero (0-59).
|Same
|-
|ss
|Second with a leading zero (00-59).
|Same
|-
|z
|Millisecond without a leading zero (0-999).
|No equivalent
|-
|zzz
|Millisecond with a leading zero (000-999).
|f (tenths), ff (hundredths), fff (ms) etc.
|-
|t
|Date in Windows Short Time format.
|Same
|-
|tt\
|Date in Windows Long Time format.
|T
|-
|am/pm
|am/pm specifier can use lower, upper, or mixed case
|tt (Windows am/pm format)
|-
|a/p
|The a/p specifier can use lower, upper, or mixed case.
|t (Windows a/p format)
|-
|ampm
|Windows AM or PM string.
|tt
|-
|/
|Date separator character given by the Windows Date Separator.
|Same
|-
|:
|Time separator character given by the Windows Time Separator.
|Same
|-
|'xx'
|Characters enclosed in single quotation marks are displayed as such, and do not affect formatting.
|Same
|}


=The Tags=
=The Tags=
Line 43: Line 174:
|colspan="2" style="background:lightgray;"|Temperature & Humidity
|colspan="2" style="background:lightgray;"|Temperature & Humidity
|-
|-
|<IsFreezing>
|colspan="2"|no new tags
|Is outside temperature is at or below 0C/32F. 0=Above freezing, 1=Below freezing
|-
|-
|colspan="2" style="background:lightgray;"|Rainfall
|colspan="2" style="background:lightgray;"|Rainfall
|-
|-
|<#IsRaining>
|colspan="2"|no new tags
|For Hydreon RG-11 devices, shows the current rain state. 0=No rain, 1=It's raining
|-
|-
|colspan="2" style="background:lightgray;"|Pressure
|colspan="2" style="background:lightgray;"|Pressure
Line 90: Line 219:
|colspan="3" style="background:lightgray;"|Miscellaneous
|colspan="3" style="background:lightgray;"|Miscellaneous
|-
|-
|<#solarTH>
|colspan="3"|no new tags
|Today's high solar radiation value
|<#TsolarTH>
|-
|<#UVTH>
|Today's high UV Index
|<#TUVTH>
|}
|}


Line 109: Line 232:
|colspan="3" style="background:lightgray;"|Temperature & Humidity
|colspan="3" style="background:lightgray;"|Temperature & Humidity
|-
|-
|<#avgtempY>
|colspan="3"|no new tags
|Yesterday's average temperature
|n/a
|-
|-
|colspan="3" style="background:lightgray;"|Rainfall
|colspan="3" style="background:lightgray;"|Rainfall
Line 123: Line 244:
|colspan="3" style="background:lightgray;"|Wind
|colspan="3" style="background:lightgray;"|Wind
|-
|-
|colspan="3"|no new tags
|colspan="2"|no new tags
|-
|-
|colspan="3" style="background:lightgray;"|Miscellaneous
|colspan="3" style="background:lightgray;"|Miscellaneous
|-
|-
|<#solarYH>
|colspan="3"|no new tags
|Yesterday's high solar radiation value
|<#TsolarYH>
|-
|<#UVYH>
|Yesterday's high UV Index
|<#TUVYH>
|}
|}


Line 236: Line 351:
!style="width:600px" | Function  
!style="width:600px" | Function  
|-
|-
|<#RecentOutsideTemp>
|colspan="2"|no new tags
|Outside Temperature
|-
|<#RecentWindSpeed>
|Wind Speed
|-
|<#RecentWindGust>
|Wind Gust
|-
|<#RecentWindLatest>
|Wind Latest. Note: Wind 'Speed', 'Gust' and 'Latest' have the usual Cumulus meanings
|-
|<#RecentWindDir>
|Wind Direction (instantaneous)
|-
|<#RecentWindAvgDir>
|Wind Direction (average)
|-
|<#RecentWindChill>
|Wind Chill
|-
|<#RecentDewPoint>
|Dew Point
|-
|<#RecentHeatIndex>
|Heat Index
|-
|<#RecentHumidity>
|Relative Humidity
|-
|<#RecentPressure>
|Sea-level Pressure
|-
|<#RecentRainToday>
|Today's rain
|-
|<#RecentSolarRad>
|Solar Radiation
|-
|<#RecentUV>
|UV Index
|}
|}


Line 294: Line 369:
|colspan="3" style="background:lightgray;"|Temperature & Humidity
|colspan="3" style="background:lightgray;"|Temperature & Humidity
|-
|-
|<#ByMonthTempH>
|colspan="3"|no new tags
|High Temperature
|<#ByMonthTempHT>
|-
|-
|<#ByMonthTempL>
|colspan="3" style="background:lightgray;"|Pressure
|Low Temperature
|<#ByMonthTempLT>
|-
|-
|<#ByMonthHeatIndexH>
|colspan="3"|no new tags
|High Heat Index
|<#ByMonthHeatIndexHT>
|-
|-
|<#ByMonthWChillL>
|colspan="3" style="background:lightgray;"|Rainfall
|Low Wind Chill
|<#ByMonthWChillLT>
|-
|-
|<#ByMonthAppTempH>
|colspan="3"|no new tags
|High Apparent Temperature
|<#ByMonthAppTempHT>
|-
|-
|<#ByMonthAppTempL>
|colspan="3" style="background:lightgray;"|Miscellaneous
|Low Apparent Temperature
|<#ByMonthAppTempLT>
|-
|-
|<#ByMonthDewPointH>
|colspan="3"|no new tags
|High Dew Point
|<#ByMonthDewPointHT>
|-
|<#ByMonthDewPointL>
|Low Dew Point
|<#ByMonthDewPointLT>
|-
|<#ByMonthMinTempH>
|Highest Daily Minimum Temperature
|<#ByMonthMinTempHT>
|-
|<#ByMonthMaxTempL>
|Lowest Daily Maximum Temperature
|<#ByMonthMaxTempLT>
|-
|<#ByMonthHighDailyTempRange>
|High Daily Temp Range
|<#ByMonthHighDailyTempRangeT>
|-
|<#ByMonthLowDailyTempRange>
|Low Daily Temp Range
|<#ByMonthLowDailyTempRangeT>
|-
|<#ByMonthHumH>
|High Humidity
|<#ByMonthHumHT>
|-
|<#ByMonthHumL>
|Low Humidity
|<#ByMonthHumLT>
|-
|colspan="4" style="background:lightgray;"|Pressure
|-
|<#ByMonthPressH>
|High Pressure
|<#ByMonthPressHT>
|-
|<#ByMonthPressL>
|Low Pressure
|<#ByMonthPressLT>
|-
|colspan="4" style="background:lightgray;"|Wind
|-
|<#ByMonthGustH>
|High Wind Gust
|<#ByMonthGustHT>
|-
|<#ByMonthWindH>
|High Wind Speed
|<#ByMonthWindHT>
|-
|<#ByMonthWindRunH>
|High Daily Wind Run
|<#ByMonthWindRunHT>
|-
|colspan="4" style="background:lightgray;"|Rainfall
|-
|<#ByMonthRainRateH>
|High Rain Rate
|<#ByMonthRainRateHT>
|-
|<#ByMonthHourlyRainH>
|High Hourly Rain
|<#ByMonthHourlyRainHT>
|-
|<#ByMonthDailyRainH>
|High Daily Rain
|<#ByMonthDailyRainHT>
|-
|<#ByMonthLongestDryPeriod>
|Longest Dry Period
|<#ByMonthLongestDryPeriodT>
|-
|<#ByMonthLongestWetPeriod>
|Longest Wet Period
|<#ByMonthLongestWetPeriodT>
|-
|colspan="4" style="background:lightgray;"|Miscellaneous
|-
|colspan="4"|no new tags
|}
|}


Line 408: Line 391:
!style="width:600px" | Function
!style="width:600px" | Function
|-
|-
|<#LastDataReadT>
|colspan="2"|no new tags
|The date/time data was last read from the station
|}
|}


==Day/Night/Sun/Moon==
==Day/Night/Sun/Moon==
 
These are updated each hour (b3047 or later = every 10 minutes) to refer to current time-zone
{| class="wikitable" border="1"
{| class="wikitable" border="1"
|-
|-
Line 419: Line 401:
!style="width:600px" | Function
!style="width:600px" | Function
|-
|-
|colspan="2"|no new tags
|<#MoonAge>
|Current '''approximate''' age of the Moon in days (0-29)
b3047 adds the 'dp' and 'rc' parameters
Supports an optional 'dp' parameter, if supplied the result is returned to the specified number of decimal places. E.g
<#MoonAge> gives "11"
<#MoonAge dp=3> gives "11.234"
 
If the "dp" parameter is supplied, then also supplying "rc=y" in addition will cause any decimal comma to be converted to a decimal point.
|-
|<#MoonPercent>
|Current percentage of moon visible (negative value indicates 'waning')
b3047 adds the 'dp' and 'rc' parameters as <#MoonAge> above
|-
|<#MoonPercentAbs>
|Current percentage of moon visible (always positive)
b3047 adds the 'dp' and 'rc' parameters as <#MoonAge> above
|}
|}


Line 430: Line 427:
!style="width:600px" | Function
!style="width:600px" | Function
|-
|-
|<#DataStopped>
|colspan="2"|no new tags
|1 if the station has apparently stopped sending data to Cumulus, otherwise 0
|}
|}


Line 442: Line 438:
!style="width:600px" | Function
!style="width:600px" | Function
|-
|-
|colspan="2" |No new tags
|colspan="2" |The individual 'record set' tags such as <#TempRecordSet> etc do not work (because the interface currently has no indicators for new records). The <#newrecord> tag does work, but works differently, it turns itself off automatically after 24 hours.
|}
|}


Line 454: Line 450:
!style="width:600px"|Function
!style="width:600px"|Function
|-
|-
|<#ExtraTemp1>
|colspan="2"|no new tags
|Extra temperature channel 1
|}
 
==Special==
 
===OS WMR Series===
 
There are a set of tags for the WMR928, WR100/200 extra sensors:
 
{| class="wikitable" border="1"
|-
|-
|<#ExtraTemp2>
!style="width:150px" | webtag
|Extra temperature channel 2
!style="width:600px" | Function
|-
|-
|<#ExtraTemp3>
|colspan="2"|no new tags
|Extra temperature channel 3
|-
|colspan="2"|... and so on up to <#ExtraTemp10>
|-
|<#ExtraDP1>
|Extra dew point channel 1
|-
|<#ExtraDP2>
|Extra dew point channel 2
|-
|<#ExtraDP3>
|Extra dew point channel 3
|-
|colspan="2"|... and so on up to <#ExtraDP10>
|-
|<#ExtraHum1>
|Extra humidity channel 1
|-
|<#ExtraHum2>
|Extra humidity channel 2
|-
|<#ExtraHum3>
|Extra humidity channel 3
|-
|colspan="2"|... and so on up to <#ExtraHum10>
|-
|<#SoilTemp1>
|Soil temperature 1
|-
|<#SoilTemp2>
|Soil temperature 2
|-
|colspan="2"|... and so on up to <#SoilTemp4>
|-
|<#SoilMoisture1>
|Soil moisture 1
|-
|<#SoilMoisture2>
|Soil moisture 2
|-
|colspan="2"|... and so on up to <#SoilMoisture4>
|-
|<#LeafTemp1>
|Leaf temperature 1
|-
|<#LeafTemp2>
|Leaf temperature 2
|-
|<#LeafWetness1>
|Leaf wetness 1
|-
|<#LeafWetness2>
|Leaf wetness 2
|}
|}
==Special==


===WMR928===
===WMR928===
Line 539: Line 488:
!style="width:600px" | Function
!style="width:600px" | Function
|-
|-
|<#txbattery>
|colspan="2"|no new tags
<#txbattery channel=1>
|The transmitter battery condition, by default it returns the status of all transmitters. The optional 'channel' parameter returns the status for a particular transmitter, up to channel=8. The channel result is just the string "ok" or whatever the string is for a low battery
|}
|}


Line 572: Line 519:
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.
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.


  <#RCwlatest>
  <No new tags>

Navigation menu