Realtime.txt: Difference between revisions

From Cumulus Wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 1: Line 1:
[[file:CumulusInternetSettingsScreen.png|thumb]]
[[Image:CumulusInternetSettingsScreen.png|thumb]] Although not technically a 'log file' it is automatically produced by Cumulus and follows a similar format to the other Log files. <br><br> realtime.txt is a text file with a single line of ''space'' separated values. It contains a list of key values of the sensors and is updated frequently. <br><br> Using Cumulus you decide how often to update the file -- for example every 15 seconds. This is then uploaded to your website and used to produce near instant readings. <br><br> To set how often the file is produced by Cumulus, click on the 'Configuration' menu then 'Internet' (Click the thumbnail opposite)  
Although not technically a 'log file' it is automatically produced by Cumulus and follows a similar format to the other Log files.
<br/><br/>
realtime.txt is a text file with a single line of ''space'' separated values. It contains a list of key values of the sensors and is updated frequently.
<br/><br/>
Using Cumulus you decide how often to update the file -- for example every 15 seconds. This is then uploaded to your website and used to produce near instant readings.
<br/><br/>
To set how often the file is produced by Cumulus, click on the 'Configuration' menu then 'Internet' (Click the thumbnail opposite)


Note that from Cumulus 1.9.1 onwards, the options for uploading realtime.txt have changed. To get the realtime.txt file to upload, you need to tick all three 'enable realtime' options in the internet settings.


Notes:
<br> Notes:  
*The realtime.txt file is NOT a log file and is constantly replaced. It does not therefore contain any historic data.
 
*The realtime.txt file is NOT a log file and is constantly replaced. It does not therefore contain any historic data.  
*The 'interval' sets how often Cumulus produces ''and'' uploads to the website
*The 'interval' sets how often Cumulus produces ''and'' uploads to the website


<br>


= Special note to Fine Offset/EasyWeather users =


=Special note to Fine Offset/EasyWeather users=
Weather stations which come shipped with the EasyWeather software (generally known as FineOffset or Watson) should consider the realtime updating with care. The station only updates every 48 seconds, so sending realtime information to your website every 5 seconds is very wasteful. It may be better for a figure of around 30 seconds, that way a visitor knows not to expect updates too often but you also allow Cumulus to catch up to two updates within a minute (depending on when the first and second 48 second update came to Cumulus)  
Weather stations which come shipped with the EasyWeather software (generally known as FineOffset or Watson) should consider the realtime updating with care. The station only updates every 48 seconds, so sending realtime information to your website every 5 seconds is very wasteful. It may be better for a figure of around 30 seconds, that way a visitor knows not to expect updates too often but you also allow Cumulus to catch up to two updates within a minute (depending on when the first and second 48 second update came to Cumulus)


<br>


=Bandwidth Considerations=
= Bandwidth Considerations =


In order to provide near real-time updates, Cumulus uploads a very small file at regular intervals. Typically this is 15 seconds buy depends on your setting above.
In order to provide near real-time updates, Cumulus uploads a very small file at regular intervals. Typically this is 15 seconds buy depends on your setting above.  


Most internet providers now place a limit on the amount of Bandwidth you can consume each month. Bandwidth is a figure representing the data you can upload and download. Doing such a regular upload will impact on your allowance.
Most internet providers now place a limit on the amount of Bandwidth you can consume each month. Bandwidth is a figure representing the data you can upload and download. Doing such a regular upload will impact on your allowance.  


The file Cumulus uploads is less than 1024 bytes in size, but for the calculation we will assume 1024 bytes  
The file Cumulus uploads is less than 1024 bytes in size, but for the calculation we will assume 1024 bytes  
Line 31: Line 28:
On top of your internet connection bandwidth restrictions, you may also have bandwidth caps on your web server so this same figure should be considered for your webserver.  
On top of your internet connection bandwidth restrictions, you may also have bandwidth caps on your web server so this same figure should be considered for your webserver.  


<br>
= Where is the file used =


=Where is the file used=
The realtime.txt is used by:


The realtime.txt is used by:
*the 'gauges' page on the website produced by Cumulus  
*the 'gauges' page on the website produced by Cumulus
*[[CumulusRealtime]] -- the new application developed in [http://silverlight.net/ SilverLight]  
*[[CumulusRealtime]] -- the new application developed in [http://silverlight.net/ SilverLight]
*The [[WeatherConsole]] and [[Sidebar gadget]] [[:Category:AddOns|addons]]
*The [[WeatherConsole]] and [[Sidebar gadget]] [[:Category:AddOns|addons]]


<br>


=Format of the file=
= Format of the file =


{| class="wikitable" border="1"
{| border="1" class="wikitable"
|-
|-
!style="width:60px" | Field #
! style="width:60px" | Field #  
!style="width:80px" | Example
! style="width:80px" | Example  
!style="width:450px" | Description
! style="width:450px" | Description  
!style="width:90px" | Equivalent [[Webtags]]
! style="width:90px" | Equivalent [[Webtags]]
|-
|-
| 1
| 19/08/09
| date (always dd/mm/yy)
| &lt;#date&gt;
|-
|-
|1
| 2
|19/08/09
| 16:03:45
|date (always dd/mm/yy)
| time(always hh:mm:ss)  
|<#date>
| &lt;#hour&gt;:&lt;#minute&gt;
|-
|-
|2
| 3
|16:03:45
| 8.4
|time(always hh:mm:ss)
| outside temperature
|<#hour>:<#minute>
| &lt;#temp&gt;
|-
|-
|3
| 4
|8.4
| 84
|outside temperature
| [http://en.wikipedia.org/wiki/Relative_humidity relative humidity]
|<#temp>
| &lt;#hum&gt;
|-
|-
|4
| 5
|84
| 5.8
|[http://en.wikipedia.org/wiki/Relative_humidity relative humidity]
| [http://en.wikipedia.org/wiki/Dewpoint dewpoint]  
|<#hum>
| &lt;#dew&gt;
|-
|-
|5
| 6
|5.8
| 24.2
|[http://en.wikipedia.org/wiki/Dewpoint dewpoint]
| wind speed (average)
|<#dew>
| &lt;#wspeed&gt;
|-
|-
|6
| 7
|24.2
| 33.0
|wind speed (average)
| latest wind speed reading
|<#wspeed>
| &lt;#wlatest&gt;
|-
|-
|7
| 8
|33.0
| 261
|latest wind speed reading
| wind bearing (degrees)
|<#wlatest>
| &lt;#bearing&gt;
|-
|-
|8
| 9
|261
| 0.0
|wind bearing (degrees)
| current rain rate (per hour)  
|<#bearing>
| &lt;#rrate&gt;
|-
|-
|9
| 10
|0.0
| 1.0  
|current rain rate (per hour)
| rain today
|<#rrate>
| &lt;#rfall&gt;
|-
|-
|10
| 11
|1.0
| 999.7
|rain today
| barometer
|<#rfall>
| &lt;#press&gt;
|-
|-
|11
| 12
|999.7
| W
|barometer
| current wind direction (compass point)
|<#press>
| &lt;#currentwdir&gt;
|-
|-
|12
| 13
|W
| 6
|current wind direction (compass point)
| wind speed ([http://en.wikipedia.org/wiki/Beaufort_scale beaufort])  
|<#currentwdir>
| &lt;#beaufort&gt;
|-
|-
|13
| 14
|6
| km/h
|wind speed ([http://en.wikipedia.org/wiki/Beaufort_scale beaufort])
| wind units - m/s, mph, km/h, kts
|<#beaufort>
| &lt;#windunit&gt;
|-
|-
|14
| 15
|km/h
| C
|wind units - m/s, mph, km/h, kts
| temperature units - degree C, degree F
|<#windunit>
| &lt;#tempunit&gt;
|-
|-
|15
| 16
|C
| hPa
|temperature units - degree C, degree F
| pressure units - MB, hPa, in
|<#tempunit>
| &lt;#pressunit&gt;
|-
|-
|16
| 17
|hPa
| mm
|pressure units - MB, hPa, in
| rain units - mm, in  
|<#pressunit>
| &lt;#rainunit&gt;
|-
|-
|17
| 18
|mm
| 146.6
|rain units - mm, in
| wind run (today)
|<#rainunit>
| &lt;#windrun&gt;
|-
|-
|18
| 19
|146.6
| +0.1
|wind run (today)
| pressure trend value
|<#windrun>
| &lt;#presstrendval&gt;
|-
|-
|19
| 20
| +0.1
| 85.2
|pressure trend value
| monthly rainfall
|<#presstrendval>
| &lt;#rmonth&gt;
|-
|-
|20
| 21
|85.2
| 588.4
|monthly rainfall
| yearly rainfall  
|<#rmonth>
| &lt;#ryear&gt;
|-
|-
|21
| 22
|588.4
| 11.6
|yearly rainfall
| yesterday's rainfall  
|<#ryear>
| &lt;#rfallY&gt;
|-
|-
|22
| 23
|11.6
| 20.3
|yesterday's rainfall
| inside temperature
|<#rfallY>
| &lt;#intemp&gt;
|-
|-
|23
| 24
|20.3
| 57
|inside temperature
| inside [http://en.wikipedia.org/wiki/Humidity humidity]
|<#intemp>
| &lt;#inhum&gt;
|-
|-
|24
| 25
|57
| 3.6
|inside [http://en.wikipedia.org/wiki/Humidity humidity]
| [http://en.wikipedia.org/wiki/Wind_chill wind chill]  
|<#inhum>
| &lt;#wchill&gt;
|-
|-
|25
| 26
|3.6
| -0.7
|[http://en.wikipedia.org/wiki/Wind_chill wind chill]
| temperature trend value
|<#wchill>
| &lt;#temptrend&gt;
|-
|-
|26
| 27
| -0.7
| 10.9
|temperature trend value
| today's high temp
|<#temptrend>
| &lt;#tempTH&gt;
|-
|-
|27
| 28
|10.9
| 12:00
|today's high temp
| time of today's high temp (hh:mm)
|<#tempTH>
| &lt;#tTempTH&gt;
|-
|-
|28
| 29
|12:00
| 7.8
|time of today's high temp (hh:mm)
| today's low temp  
|<#tTempTH>
| &lt;#tempTL&gt;
|-
|-
|29
| 30
|7.8
| 14:41
|today's low temp
| time of today's low temp (hh:mm)
|<#tempTL>
| &lt;#TtempTL&gt;
|-
|-
|30
| 31
|14:41
| 37.4
|time of today's low temp (hh:mm)
| today's high wind speed (average)  
|<#TtempTL>
| &lt;#windTM&gt;
|-
|-
|31
| 32
|37.4
| 14:38
|today's high wind speed (average)
| time of today's high wind speed (average) (hh:mm)  
|<#windTM>
| &lt;#TwindTM&gt;
|-
|-
|32
| 33
|14:38
| 44.0
|time of today's high wind speed (average) (hh:mm)
| today's high wind gust
|<#TwindTM>
| &lt;#wgustTM&gt;
|-
|-
|33
| 34
|44.0
| 14:28
|today's high wind gust
| time of today's high wind gust (hh:mm)
|<#wgustTM>
| &lt;#TwgustTM&gt;
|-
|-
|34
| 35
|14:28
| 999.8
|time of today's high wind gust (hh:mm)
| today's high pressure
|<#TwgustTM>
| &lt;#pressTH&gt;
|-
|-
|35
| 36
|999.8
| 16:01
|today's high pressure
| time of today's high pressure (hh:mm)
|<#pressTH>
| &lt;#TpressTH&gt;
|-
|-
|36
| 37
|16:01
| 998.4
|time of today's high pressure (hh:mm)
| today's low pressure  
|<#TpressTH>
| &lt;#pressTL&gt;
|-
|-
|37
| 38
|998.4
| 12:06
|today's low pressure
| time of today's low pressure (hh:mm)
|<#pressTL>
| &lt;#TpressTL&gt;
|-
|-
|38
| 39
|12:06
| 1.8.7
|time of today's low pressure (hh:mm)
| Cumulus version
|<#TpressTL>
| &lt;#version&gt;
|-
|-
|39
| 40
|1.8.7
| 819
|Cumulus version
| Cumulus build number
|<#version>
| &lt;#build&gt;
|-
|-
|40
| 41
|819
| 36.0
|Cumulus build number
| 10-minute high gust
|<#build>
| &lt;#wgust&gt;
|-
|-
|41
| 42
|36.0
| 10.3
|10-minute high gust
| heat index
|<#wgust>
| &lt;#heatindex&gt;
|-
|-
|42
| 43
|10.3
| 10.5
|heat index
| [http://en.wikipedia.org/wiki/Humidex humidex]
|<#heatindex>
| &lt;#humidex&gt;
|-
|-
|43
| 44
|10.5
| 13
|[http://en.wikipedia.org/wiki/Humidex humidex]
| [http://en.wikipedia.org/wiki/Uv_index UV Index]  
|<#humidex>
| &lt;#UV&gt;
|-
|-
|44
| 45
|13
| 0.2
|[http://en.wikipedia.org/wiki/Uv_index UV Index]
| [http://en.wikipedia.org/wiki/Evapotranspiration evapotranspiration] today
|<#UV>
| &lt;#ET&gt;
|-
|-
|45
| 46
|0.2
| 14
|[http://en.wikipedia.org/wiki/Evapotranspiration evapotranspiration] today
| [http://en.wikipedia.org/wiki/Solar_radiation solar radiation] W/m2
|<#ET>
| &lt;#SolarRad&gt;
|-
|-
|46
| 47
|14
| 260
|[http://en.wikipedia.org/wiki/Solar_radiation solar radiation] W/m2
| 10-minute average wind bearing (degrees)
|<#SolarRad>
| &lt;#avgbearing&gt;
|-
|-
|47
| 48
|260
| 2.3
|10-minute average wind bearing (degrees)
| rainfall last hour
|<#avgbearing>
| &lt;#rhour&gt;
|-
|-
|48
| 49
|2.3
| 3  
|rainfall last hour
| The number of the current forecast as per [[Strings.ini]]. If the forecast is not being provided by the station and not being generated by Cumulus a value of 0 (zero) is returned
|<#rhour>
| &lt;#forecastnumber&gt;
|-
|-
|49
| 50
|3
| 1
|The number of the current forecast as per [[strings.ini]].  If the forecast is not being provided by the station and not being generated by Cumulus a value of 0 (zero) is returned
| Flag to indicate that the location of the station is currently in daylight (1 = yes, 0 = No)  
|<#forecastnumber>
| &lt;#isdaylight&gt;
|-
|-
|50
| 51
|1
| 1  
|Flag to indicate that the location of the station is currently in daylight (1 = yes, 0 = No)
| If the station has lost contact with its remote sensors "Fine Offset only", a Flag number is given (1 = Yes, 0 = No)  
|<#isdaylight>
| &lt;#SensorContactLost&gt;
|-
|-
|51
| 52
|1
| NNW
|If the station has lost contact with its remote sensors "Fine Offset only", a Flag number is given (1 = Yes, 0 = No)
| Average wind direction
|<#SensorContactLost>
| &lt;#wdir&gt;
|-
|-
|52
| 53
|NNW
| 2040
|Average wind direction
| Cloud base
|<#wdir>
| &lt;#cloudbase&gt; (value and units combined)
|-
|-
|53
| 54
|2040
| ft
|Cloud base
| Cloud base units
|<#cloudbase> (value and units combined)
| &lt;#cloudbase&gt; (value and units combined)
|-
|-
|54
| 55
|ft
| 12.3
|Cloud base units
| Apparent Temperature
|<#cloudbase> (value and units combined)
| &lt;#apptemp&gt;
|-
|-
|55
| 56  
|12.3
| 11.1  
|Apparent Temperature
| Sunshine hours so far today  
|<#apptemp>
| &lt;#SunshineHours&gt;
|-
|56
|11.1
|Sunshine hours so far today
|<#SunshineHours>
|-
|-
|57
| 57  
|420.1
| 420.1  
|Current theoretical max solar radiation  
| Current theoretical max solar radiation  
|<#CurrentSolarMax>
| &lt;#CurrentSolarMax&gt;
|-
|-
|58
| 58  
|1
| 1  
|Is it sunny? 1 if the sun is shining, otherwise 0  
| Is it sunny? 1 if the sun is shining, otherwise 0  
|<#IsSunny>
| &lt;#IsSunny&gt;
|}
|}


=Example of the file=
= Example of the file =


''(this is one complete line, although it may appear on this page as two or more due to screen width restrictions)''
''(this is one complete line, although it may appear on this page as two or more due to screen width restrictions)''  


<br> <tt>18/10/08 16:03:45 8.4 84 5.8 24.2 33.0 261 0.0 1.0 999.7 W 6 mph C mb mm 146.6 +0.1 85.2 588.4 11.6 20.3 57 3.6 -0.7 10.9 12:00 7.8 14:41 37.4 14:38 44.0 14:28 999.8 16:01 998.4 12:06 1.8.2 448 36.0 10.3 10.5 13 0.2 14 260 2.3 3 1 1 NNW 2040 ft 12.3 11.1 420.1 1</tt>


<tt>18/10/08 16:03:45 8.4 84 5.8 24.2 33.0 261 0.0 1.0 999.7 W 6 mph C mb mm 146.6 +0.1 85.2 588.4 11.6 20.3 57 3.6 -0.7 10.9 12:00 7.8 14:41 37.4 14:38 44.0 14:28 999.8 16:01 998.4 12:06 1.8.2 448 36.0 10.3 10.5 13 0.2 14 260 2.3 3 1 1 NNW 2040 ft 12.3 11.1 420.1 1</tt>
= Recreating the file using webtags =


=Recreating the file using webtags=
Occasionally there is a requirement from some users to create a copy of the realtime.txt file and have it posted to a location at the normal Cumulus web update interval rather than the realtime interval.


Occasionally there is a requirement from some users to create a copy of the realtime.txt file and have it posted to a location at the normal Cumulus web update interval rather than the realtime interval.
This can be achieved by creating a template file using the webtags below, and referencing this in the Cumulus Configuration|Internet|Files dialog. Ticking the 'Process?' checkbox, and supplying a remote filename will create this copy of the realtime.txt file.  


This can be achieved by creating a template file using the webtags below, and referencing this in the Cumulus Configuration|Internet|Files dialog. Ticking the 'Process?' checkbox, and supplying a remote filename will create this copy of the realtime.txt file.
Note that there are currently two small differences between the built-in realtime.txt and this version. With this version:


Note that there are currently two small differences between the built-in realtime.txt and this version. With this version:
*The Beaufort wind speed will have a 'F' prefix (eg F2) which is omitted in the built-in version.  
* The Beaufort wind speed will have a 'F' prefix (eg F2) which is omitted in the built-in version.
*The temperature unit is prefixed with the string '&amp;deg;' which is omitted in the built-in version.
* The temperature unit is prefixed with the string '&amp;deg;' which is omitted in the built-in version.


''(this is one complete line, although it may appear on this page as two or more due to screen width restrictions)''
''(this is one complete line, although it may appear on this page as two or more due to screen width restrictions)''  


<tt><#date format=dd/mm/yy> <#timehhmmss> <#temp> <#hum> <#dew> <#wspeed> <#wlatest> <#bearing> <#rrate> <#rfall> <#press> <#currentwdir> <#beaufort> <#windunit> <#tempunit> <#pressunit> <#rainunit> <#windrun> <#presstrendval> <#rmonth> <#ryear> <#rfallY> <#intemp> <#inhum> <#wchill> <#temptrend> <#tempTH> <#TtempTH> <#tempTL> <#TtempTL> <#windTM> <#TwindTM> <#wgustTM> <#TwgustTM> <#pressTH> <#TpressTH> <#pressTL> <#TpressTL> <#version> <#build> <#wgust> <#heatindex> <#humidex> <#UV> <#ET> <#SolarRad> <#avgbearing> <#rhour> <#forecastnumber> <#isdaylight> <#SensorContactLost> <#wdir> <#cloudbase> <#apptemp> <#SunshineHours> <#CurrentSolarMax> <#IsSunny></tt>
<tt>&lt;#date format=dd/mm/yy&gt; &lt;#timehhmmss&gt; &lt;#temp&gt; &lt;#hum&gt; &lt;#dew&gt; &lt;#wspeed&gt; &lt;#wlatest&gt; &lt;#bearing&gt; &lt;#rrate&gt; &lt;#rfall&gt; &lt;#press&gt; &lt;#currentwdir&gt; &lt;#beaufort&gt; &lt;#windunit&gt; &lt;#tempunit&gt; &lt;#pressunit&gt; &lt;#rainunit&gt; &lt;#windrun&gt; &lt;#presstrendval&gt; &lt;#rmonth&gt; &lt;#ryear&gt; &lt;#rfallY&gt; &lt;#intemp&gt; &lt;#inhum&gt; &lt;#wchill&gt; &lt;#temptrend&gt; &lt;#tempTH&gt; &lt;#TtempTH&gt; &lt;#tempTL&gt; &lt;#TtempTL&gt; &lt;#windTM&gt; &lt;#TwindTM&gt; &lt;#wgustTM&gt; &lt;#TwgustTM&gt; &lt;#pressTH&gt; &lt;#TpressTH&gt; &lt;#pressTL&gt; &lt;#TpressTL&gt; &lt;#version&gt; &lt;#build&gt; &lt;#wgust&gt; &lt;#heatindex&gt; &lt;#humidex&gt; &lt;#UV&gt; &lt;#ET&gt; &lt;#SolarRad&gt; &lt;#avgbearing&gt; &lt;#rhour&gt; &lt;#forecastnumber&gt; &lt;#isdaylight&gt; &lt;#SensorContactLost&gt; &lt;#wdir&gt; &lt;#cloudbase&gt; &lt;#apptemp&gt; &lt;#SunshineHours&gt; &lt;#CurrentSolarMax&gt; &lt;#IsSunny&gt;</tt>  


[[Category:Log Files]]
[[Category:Log_Files]]

Revision as of 14:42, 23 May 2011

CumulusInternetSettingsScreen.png

Although not technically a 'log file' it is automatically produced by Cumulus and follows a similar format to the other Log files.

realtime.txt is a text file with a single line of space separated values. It contains a list of key values of the sensors and is updated frequently.

Using Cumulus you decide how often to update the file -- for example every 15 seconds. This is then uploaded to your website and used to produce near instant readings.

To set how often the file is produced by Cumulus, click on the 'Configuration' menu then 'Internet' (Click the thumbnail opposite)

Note that from Cumulus 1.9.1 onwards, the options for uploading realtime.txt have changed. To get the realtime.txt file to upload, you need to tick all three 'enable realtime' options in the internet settings.


Notes:

  • The realtime.txt file is NOT a log file and is constantly replaced. It does not therefore contain any historic data.
  • The 'interval' sets how often Cumulus produces and uploads to the website


Special note to Fine Offset/EasyWeather users

Weather stations which come shipped with the EasyWeather software (generally known as FineOffset or Watson) should consider the realtime updating with care. The station only updates every 48 seconds, so sending realtime information to your website every 5 seconds is very wasteful. It may be better for a figure of around 30 seconds, that way a visitor knows not to expect updates too often but you also allow Cumulus to catch up to two updates within a minute (depending on when the first and second 48 second update came to Cumulus)


Bandwidth Considerations

In order to provide near real-time updates, Cumulus uploads a very small file at regular intervals. Typically this is 15 seconds buy depends on your setting above.

Most internet providers now place a limit on the amount of Bandwidth you can consume each month. Bandwidth is a figure representing the data you can upload and download. Doing such a regular upload will impact on your allowance.

The file Cumulus uploads is less than 1024 bytes in size, but for the calculation we will assume 1024 bytes

During a month (31 days) the upload process will consume roughly 175 Mbytes of bandwidth -- this is a tiny consideration as usually bandwidth restrictions from your provider start in the Gigabytes (Gb) range, not Megabytes (Mb).

On top of your internet connection bandwidth restrictions, you may also have bandwidth caps on your web server so this same figure should be considered for your webserver.


Where is the file used

The realtime.txt is used by:


Format of the file

Field # Example Description Equivalent Webtags
1 19/08/09 date (always dd/mm/yy) <#date>
2 16:03:45 time(always hh:mm:ss) <#hour>:<#minute>
3 8.4 outside temperature <#temp>
4 84 relative humidity <#hum>
5 5.8 dewpoint <#dew>
6 24.2 wind speed (average) <#wspeed>
7 33.0 latest wind speed reading <#wlatest>
8 261 wind bearing (degrees) <#bearing>
9 0.0 current rain rate (per hour) <#rrate>
10 1.0 rain today <#rfall>
11 999.7 barometer <#press>
12 W current wind direction (compass point) <#currentwdir>
13 6 wind speed (beaufort) <#beaufort>
14 km/h wind units - m/s, mph, km/h, kts <#windunit>
15 C temperature units - degree C, degree F <#tempunit>
16 hPa pressure units - MB, hPa, in <#pressunit>
17 mm rain units - mm, in <#rainunit>
18 146.6 wind run (today) <#windrun>
19 +0.1 pressure trend value <#presstrendval>
20 85.2 monthly rainfall <#rmonth>
21 588.4 yearly rainfall <#ryear>
22 11.6 yesterday's rainfall <#rfallY>
23 20.3 inside temperature <#intemp>
24 57 inside humidity <#inhum>
25 3.6 wind chill <#wchill>
26 -0.7 temperature trend value <#temptrend>
27 10.9 today's high temp <#tempTH>
28 12:00 time of today's high temp (hh:mm) <#tTempTH>
29 7.8 today's low temp <#tempTL>
30 14:41 time of today's low temp (hh:mm) <#TtempTL>
31 37.4 today's high wind speed (average) <#windTM>
32 14:38 time of today's high wind speed (average) (hh:mm) <#TwindTM>
33 44.0 today's high wind gust <#wgustTM>
34 14:28 time of today's high wind gust (hh:mm) <#TwgustTM>
35 999.8 today's high pressure <#pressTH>
36 16:01 time of today's high pressure (hh:mm) <#TpressTH>
37 998.4 today's low pressure <#pressTL>
38 12:06 time of today's low pressure (hh:mm) <#TpressTL>
39 1.8.7 Cumulus version <#version>
40 819 Cumulus build number <#build>
41 36.0 10-minute high gust <#wgust>
42 10.3 heat index <#heatindex>
43 10.5 humidex <#humidex>
44 13 UV Index <#UV>
45 0.2 evapotranspiration today <#ET>
46 14 solar radiation W/m2 <#SolarRad>
47 260 10-minute average wind bearing (degrees) <#avgbearing>
48 2.3 rainfall last hour <#rhour>
49 3 The number of the current forecast as per Strings.ini. If the forecast is not being provided by the station and not being generated by Cumulus a value of 0 (zero) is returned <#forecastnumber>
50 1 Flag to indicate that the location of the station is currently in daylight (1 = yes, 0 = No) <#isdaylight>
51 1 If the station has lost contact with its remote sensors "Fine Offset only", a Flag number is given (1 = Yes, 0 = No) <#SensorContactLost>
52 NNW Average wind direction <#wdir>
53 2040 Cloud base <#cloudbase> (value and units combined)
54 ft Cloud base units <#cloudbase> (value and units combined)
55 12.3 Apparent Temperature <#apptemp>
56 11.1 Sunshine hours so far today <#SunshineHours>
57 420.1 Current theoretical max solar radiation <#CurrentSolarMax>
58 1 Is it sunny? 1 if the sun is shining, otherwise 0 <#IsSunny>

Example of the file

(this is one complete line, although it may appear on this page as two or more due to screen width restrictions)


18/10/08 16:03:45 8.4 84 5.8 24.2 33.0 261 0.0 1.0 999.7 W 6 mph C mb mm 146.6 +0.1 85.2 588.4 11.6 20.3 57 3.6 -0.7 10.9 12:00 7.8 14:41 37.4 14:38 44.0 14:28 999.8 16:01 998.4 12:06 1.8.2 448 36.0 10.3 10.5 13 0.2 14 260 2.3 3 1 1 NNW 2040 ft 12.3 11.1 420.1 1

Recreating the file using webtags

Occasionally there is a requirement from some users to create a copy of the realtime.txt file and have it posted to a location at the normal Cumulus web update interval rather than the realtime interval.

This can be achieved by creating a template file using the webtags below, and referencing this in the Cumulus Configuration|Internet|Files dialog. Ticking the 'Process?' checkbox, and supplying a remote filename will create this copy of the realtime.txt file.

Note that there are currently two small differences between the built-in realtime.txt and this version. With this version:

  • The Beaufort wind speed will have a 'F' prefix (eg F2) which is omitted in the built-in version.
  • The temperature unit is prefixed with the string '&deg;' which is omitted in the built-in version.

(this is one complete line, although it may appear on this page as two or more due to screen width restrictions)

<#date format=dd/mm/yy> <#timehhmmss> <#temp> <#hum> <#dew> <#wspeed> <#wlatest> <#bearing> <#rrate> <#rfall> <#press> <#currentwdir> <#beaufort> <#windunit> <#tempunit> <#pressunit> <#rainunit> <#windrun> <#presstrendval> <#rmonth> <#ryear> <#rfallY> <#intemp> <#inhum> <#wchill> <#temptrend> <#tempTH> <#TtempTH> <#tempTL> <#TtempTL> <#windTM> <#TwindTM> <#wgustTM> <#TwgustTM> <#pressTH> <#TpressTH> <#pressTL> <#TpressTL> <#version> <#build> <#wgust> <#heatindex> <#humidex> <#UV> <#ET> <#SolarRad> <#avgbearing> <#rhour> <#forecastnumber> <#isdaylight> <#SensorContactLost> <#wdir> <#cloudbase> <#apptemp> <#SunshineHours> <#CurrentSolarMax> <#IsSunny>