CSV data message format - AWS810

AWS810 System Description

Document code
M212417EN
Revision
H
ft:locale
en-US
Product
AWS810
Document type
Technical description

CSV data messages are standard comma-separated values files that contain all weather station observations and the possible alarms.

You can configure CSV data messages to be automatically sent to a predefined destination at predefined intervals.

The message contents depend on the sensors that have been installed and enabled in the weather station.

The format of the CSV data message is:

$,<H>,<status>,<VDC>,<tag 1>,<value 1>,...,<tag N>,
<value N>,*<CRC><CR><LF>
CSV message data fields
Name Description
$ Start character
, Field separator
<tag>

Observation tag consisting of the following fields:

  • Observation code, for example, TA (temperature)
  • Statistics, for example, AVG (average)
  • Period, for example, 1D (24 hours)

For example, TAAVG1D.

<value> Observation value. Missing observation values are replaced with one or more slash (/) characters.
* End character
<CRC>

16-bit X.25 CRC checksum, which is calculated over all characters between the message start character $ and message end character * character (start and end characters are not included in the calculation). The properties of the X.25 checksum are:

  • Polynomial: 0x1021
  • Initial value: 0xFFFF
  • Reverse data bytes: True
  • Reverse CRC result: True
  • Invert result bits: True

With these properties, the result of the commonly used test vector 123456789 is 0x906E.

<CR> Carriage return character, ASCII code 13
<LF> Line feed character, ASCII code 10

Example of CSV data message

The actual message does not contain line feeds.
$,UPTIME,189,STATUS,0,EXTDC,24.0,BATTERYV,14.4,TAAVG1M,-2.4,TAAVG1H,-2.7,
TAAVG1D,0.4,TAMIN1D,-1.4,TAMAX1D,4.0,RHAVG1M,83,RHAVG1H,86,RHAVG1D,88,
RHMIN1D,70,RHMAX1D,97,TDAVG1M,-4.9,TDAVG1H,-4.7,HTIDXAVG1M,-2.4,TABAVG1M,-3.2,
TABAVG1H,-3.3,VPAAVG1H,4.4,WCHAVG1M,-7.2,PAAVG1M,985.5,QFEAVG1M,985.6,
QFEAVG1H,985.2,QFEMIN1H,984.8,QFEMAX1H,985.4,QFEAVG1D,986.8,QFEMIN1D,982.2,
QFEMAX1D,990.0,QFFAVG1M,989.1,QFFAVG1H,988.7,QFFMIN1H,988.3,QFFMAX1H,988.9,
QFFAVG1D,990.3,QFFMIN1D,985.6,QFFMAX1D,993.4,QNHAVG1M,988.9,QNHAVG1H,988.5,
QNHMIN1H,988.1,QNHMAX1H,988.7,QNHAVG1D,990.1,QNHMIN1D,985.5,QNHMAX1D,993.3,
PATR3H,2.0,PATE3H,1,WD1,356,WD1AVG2M,17,WD1MIN2M,338,WD1MAX2M,38,WD1AVG10M,16,
WD1MIN10M,338,WD1MAX10M,39,WS1,3.3,WS1AVG2M,3.8,WS1MIN2M,2.4,WS1MAX2M,4.9,
WS1AVG10M,3.8,WS1MIN10M,2.4,WS1MAX10M,5.2,WGD1VALUE10M,24,PRSUM1M,0.0,
PRSUM10M,0.0,PRSUM30M,0.0,PRSUM1H,0.0,PRSUM3H,0.0,PRSUM6H,0.0,PRSUM12H,1.0,
PRSUM1D,1.2,PRFAVG1M,0.0,SNSSUM1H,0,SNSSUM3H,0,SNSSUM6H,0,SNSSUM1D,22,
SRAVG1M,168.7,SRAVG1H,36.8,SRAVG1D,13.7,ETOSUM1D,0.312,SNH,1,SNHAVG1H,1,
VISAVG1M,20000,VISAVG10M,20000,PW,0,PW15M,0,PW1H,0,PWMETAR,,PWNWS,C,
SDURSUM1M,1,SDURSUM1D,0,ALARM,OBS:TAAVG1M:Air temperature(0.0),*D3B1<CR><LF>