Webtags (preserving history): Difference between revisions

m
Line 1,065: Line 1,065:
|-
|-
|<#LightningDistance>
|<#LightningDistance>
|Distance to last strike (same units as wind run - miles/km/nm) (Returns 0.0 if you don't have a sensor)
|Distance to last strike (same units as wind run - miles/km/nm) (Returns 0.0 if you don't have a sensor, GW1000 api returns max value you can put in a byte - 0xFF which translates to 158.4 miles = 255 km if have sensor but no strike detected yet, so MX translates that to '----')
|-
|-
|<#LightningTime>
|<#LightningTime>
|Date and Time of last strike (default without output parameters is time without date, but takes date and time output parameters). Returns '----' if you don't have sensor or there has not been a strike since the sensor was installed.
|Date and Time of last strike (default without output parameters is locale's short time format e.g. 18:02 or 6:02 pm, without date, but tag accepts both date and time output parameters). Returns '----' if you don't have sensor or there has not been a strike since the sensor was installed. (GW1000 api returns FFFF FFFF seconds after midnight on 01 Jan 1970, which translates to 07/02/2106 06:28:15, so MX translates that to '----')
|-
|-
|<#LightningStrikesToday>
|<#LightningStrikesToday>
|Number of strikes since midnight
|Number of strikes since midnight, default 0
|-
|-
|<#UserTemp1>  
|<#UserTemp1>  
5,838

edits