Page 1 of 1
realtime.txt breakdown
Posted: Wed 18 Mar 2009 5:11 pm
by stevew
I am trying to find a breakdown of the realtime.txt data feed, currently I'm trying to re-engineer what is what from other bits of code but thought I would ask if there was a definition somewhere that I have missed?
Re: realtime.txt breakdown
Posted: Wed 18 Mar 2009 6:19 pm
by TNETWeather
Updated to Cumulus 1.8.6 Build 803
Code: Select all
############################################################################
# Reference: Cumulus Format of realtime.txt file
############################################################################
# Field Pos Example Description
# date 0 18/10/08 date (always dd/mm/yy)
# time 1 16:03:45 time (always hh:mm:ss)
# temp 2 8.4 outside temperature
# hum 3 84 relative humidity
# dew 4 5.8 dewpoint
# wspeed 5 24.2 wind speed (average)
# wgust 6 33.0 wind speed (gust)
# avgbearing 7 261 wind bearing
# rrate 8 0.0 current rain rate
# rfall 9 1.0 rain today
# press 10 999.7 barometer
# wdir 11 W wind direction
# beaufort 12 6 wind speed (beaufort)
# windunit 13 mph wind units
# tempunit 14 C temperature units
# pressunit 15 mb pressure units
# rainunit 16 mm rain units
# windrun 17 146.6 wind run (today)
# pressrend 18 +0.1 pressure trend value
# rmonth 19 85.2 monthly rain
# ryear 20 588.4 yearly rain
# rfallY 21 11.6 yesterday's rainfall
# intemp 22 20.3 inside temperature
# inhum 23 57 inside humidity
# wchll 24 3.6 wind chill
# temptrendval 25 -0.7 temperature trend value
# tempTH 26 10.9 today's high temp
# TtempTH 27 12:00 time of today's high temp (hh:mm)
# tempTL 28 7.8 today's low temp
# TtempTL 29 14:41 time of today's low temp (hh:mm)
# windTM 30 37.4 today's high wind speed (average)
# TwindTM 31 14:38 time of today's hi wind (avg) (hh:mm)
# wgustTM 32 44.0 today's high wind gust
# TwgustTM 33 14:28 time of today's high wind gust (hh:mm)
# pressTH 34 999.8 today's high pressure
# TpressTH 35 16:01 time of today's high pressure (hh:mm)
# pressTL 36 998.4 today's low pressure
# TpressTL 37 12:06 time of today's low pressure (hh:mm)
# cversion 38 1.8.2 Cumulus version
# cbuild 39 459 Cumulus build no
# rmaxgust 40 36.0 10-Min High Gust
# heatindex 41 10.3 Heat Index
# humidex 42 10.5 Humidex
# UV 43 13 UV Index if station has UV
# ET 44 0.2 Evapotranspiration
# SolarRad 45 14 Solar Radiation W/m2
# winddir10 46 260 10-Min Avg Wind Bearing in Degrees
# rhour 47 2.3 Rainfall last hour
############################################################################
The unit type of various values are defined in the file with XXXXunit entries such as:
Re: realtime.txt breakdown
Posted: Wed 18 Mar 2009 6:24 pm
by steve
It's a bit longer than that now, full version in the help file ("Data log file format")...
Steve
Re: realtime.txt breakdown
Posted: Wed 18 Mar 2009 6:28 pm
by TNETWeather
Need to update... haven't in a while.
Re: realtime.txt breakdown
Posted: Wed 18 Mar 2009 6:40 pm
by stevew
many thanks

Re: realtime.txt breakdown
Posted: Wed 18 Mar 2009 6:51 pm
by TNETWeather
Steve is there a tag that matches the data in realtime.txt for
47 260 10-minute average wind bearing (degrees)
Re: realtime.txt breakdown
Posted: Wed 18 Mar 2009 7:04 pm
by steve
Yes, it's <#avgbearing> - the one you have for
# avgbearing 7 261 wind bearing
is actually just <#bearing>
Steve
Re: realtime.txt breakdown
Posted: Wed 18 Mar 2009 7:26 pm
by TNETWeather
Thanks. Need to update the scripts to use the new info.
Most likely have them updated by this weekend.