Realtime.txt: Difference between revisions

From Cumulus Wiki
Jump to navigationJump to search
(→‎Format of the file: noted version 1.8.4 additions)
(Converted the File Format section into a table and added some links to external sites on technical terms)
Line 18: Line 18:
The realtime.txt is used by:
The realtime.txt is used by:
*the 'gagues' page on the website produced by Cumulus
*the 'gagues' page on the website produced by Cumulus
*[[CumulusRealtime]] -- the new application developed in SilverLight
*[[CumulusRealtime]] -- the new application developed in [http://silverlight.net/ SilverLight]




Line 25: Line 25:
==Format of the file==
==Format of the file==


*date (always dd/mm/yy)
{| class="wikitable" border="1"
*time(always hh:mm:ss)
|-
*outside temperature
!style="width:60px" | Field #
*relative humidity
!style="width:80px" | Example
*dewpoint
!style="width:350px" | Description
*wind speed (average)
|-
*latest wind speed reading
|-
*wind bearing (degrees)
|1
*current rain rate
|19/08/09
*rain today
|date (always dd/mm/yy)
*barometer
|-
*wind direction
|2
*wind speed (beaufort)
|16:03:45
*wind units
|time(always hh:mm:ss)
*temperature units
|-
*pressure units
|3
*rain units
|8.4
*wind run (today)
|outside temperature
*pressure trend value
|-
*monthly rainfall
|4
*yearly rainfall
|84
*yesterday's rainfall
|[http://en.wikipedia.org/wiki/Relative_humidity relative humidity]
*inside temperature
|-
*inside humidity
|5
*wind chill
|5.8
*temperature trend value
|[http://en.wikipedia.org/wiki/Dewpoint dewpoint]
*today's high temp
|-
*time of today's high temp (hh:mm)
|6
*today's low temp
|24.2
*time of today's low temp (hh:mm)
|wind speed (average)
*today's high wind speed (average)
|-
*time of today's high wind speed (average) (hh:mm)
|7
*today's high wind gust
|33.0
*time of today's high wind gust (hh:mm)
|latest wind speed reading
*today's high pressure
|-
*time of today's high pressure (hh:mm)
|8
*today's low pressure
|261
*time of today's low pressure (hh:mm)
|wind bearing (degrees)
*Cumulus version
|-
*Cumulus build number
|9
*10-minute high gust (added [[Version 1.8.4]])
|0.0
*heat index
|current rain rate (per hour)
*humidity idex
|-
*UV Index (added [[Version 1.8.4]])
|10
*Evapotranspiration today (added [[Version 1.8.4]])
|1.0
*Solar Radiation W/m2 (added [[Version 1.8.4]])
|rain today
*10-minute average wind bearing (degrees) (added [[Version 1.8.4]])
|-
*rainfall last hour (added [[Version 1.8.4]])
|11
|999.7
|barometer
|-
|12
|W
|wind direction
|-
|13
|6
|wind speed ([http://en.wikipedia.org/wiki/Beaufort_scale beaufort])
|-
|14
|km/h
|wind units - m/s, mph, km/h, kts
|-
|15
|C
|temperature units - degree C, degree F
|-
|16
|hPa
|pressure units - MB, hPa, in
|-
|17
|mm
|rain units - mm, in
|-
|18
|146.6
|wind run (today)
|-
|19
| +0.1
|pressure trend value
|-
|20
|85.2
|monthly rainfall
|-
|21
|588.4
|yearly rainfall
|-
|22
|11.6
|yesterday's rainfall
|-
|23
|20.3
|inside temperature
|-
|24
|57
|inside [http://en.wikipedia.org/wiki/Humidity humidity]
|-
|25
|3.6
|[http://en.wikipedia.org/wiki/Wind_chill wind chill]
|-
|26
| -0.7
|temperature trend value
|-
|27
|10.9
|today's high temp
|-
|28
|12:00
|time of today's high temp (hh:mm)
|-
|29
|7.8
|today's low temp
|-
|30
|14:41
|time of today's low temp (hh:mm)
|-
|31
|37.4
|today's high wind speed (average)
|-
|32
|14:38
|time of today's high wind speed (average) (hh:mm)
|-
|33
|44.0
|today's high wind gust
|-
|34
|14:28
|time of today's high wind gust (hh:mm)
|-
|35
|999.8
|today's high pressure
|-
|36
|16:01
|time of today's high pressure (hh:mm)
|-
|37
|998.4
|today's low pressure
|-
|38
|12:06
|time of today's low pressure (hh:mm)
|-
|39
|1.8.7
|Cumulus version
|-
|40
|819
|Cumulus build number
|-
|41
|36.0
|10-minute high gust
|-
|42
|10.3
|heat index
|-
|43
|10.5
|[http://en.wikipedia.org/wiki/Humidex humidex]
|-
|44
|13
|[http://en.wikipedia.org/wiki/Uv_index UV Index]
|-
|45
|0.2
|[http://en.wikipedia.org/wiki/Evapotranspiration evapotranspiration] today
|-
|46
|14
|[http://en.wikipedia.org/wiki/Solar_radiation solar radiation] W/m2
|-
|47
|260
|10-minute average wind bearing (degrees)
|-
|48
|2.3
|rainfall last hour
|}


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

Revision as of 12:11, 19 August 2009

CumulusInternetSettingsScreen.png

Although not technically a 'log file' is 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)


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


Where is the files used

The realtime.txt is used by:



Format of the file

Field # Example Description
1 19/08/09 date (always dd/mm/yy)
2 16:03:45 time(always hh:mm:ss)
3 8.4 outside temperature
4 84 relative humidity
5 5.8 dewpoint
6 24.2 wind speed (average)
7 33.0 latest wind speed reading
8 261 wind bearing (degrees)
9 0.0 current rain rate (per hour)
10 1.0 rain today
11 999.7 barometer
12 W wind direction
13 6 wind speed (beaufort)
14 km/h wind units - m/s, mph, km/h, kts
15 C temperature units - degree C, degree F
16 hPa pressure units - MB, hPa, in
17 mm rain units - mm, in
18 146.6 wind run (today)
19 +0.1 pressure trend value
20 85.2 monthly rainfall
21 588.4 yearly rainfall
22 11.6 yesterday's rainfall
23 20.3 inside temperature
24 57 inside humidity
25 3.6 wind chill
26 -0.7 temperature trend value
27 10.9 today's high temp
28 12:00 time of today's high temp (hh:mm)
29 7.8 today's low temp
30 14:41 time of today's low temp (hh:mm)
31 37.4 today's high wind speed (average)
32 14:38 time of today's high wind speed (average) (hh:mm)
33 44.0 today's high wind gust
34 14:28 time of today's high wind gust (hh:mm)
35 999.8 today's high pressure
36 16:01 time of today's high pressure (hh:mm)
37 998.4 today's low pressure
38 12:06 time of today's low pressure (hh:mm)
39 1.8.7 Cumulus version
40 819 Cumulus build number
41 36.0 10-minute high gust
42 10.3 heat index
43 10.5 humidex
44 13 UV Index
45 0.2 evapotranspiration today
46 14 solar radiation W/m2
47 260 10-minute average wind bearing (degrees)
48 2.3 rainfall last hour

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