### Telmet configfile

## This config-file could be used to record meteorological data.

# This is were the data comes from:

<InputDevice>
  DEVICE /dev/ttyS1       # gives the name of a serial port
                          # /dev/ttyS0 or /dev/ttyS1 for Com1 or 2, respectively
</InputDevice>


# The preProcessor converts the 14 byte-frames read from the port into
# sensible values using table files.

<PreProcessor>
  # syntax for tables:
  # Table <sensor-number> <filename>
  #   the numbers 1 to 8 represent the analog sensors A to H
  #   the number 9 stands for the "virtual sensor"
  # order of entries is not important

  Table 8 kty.tab	# temperature
  Table 4 baro.tab	# atmospheric pressure
  Table 6 lux.tab	# luminosity
  Table 7 hyg.tab	# Humidity
</PreProcessor>


### output
# the following processors are available to output data:
#   ViewProcessor: writes to stdout
#   FileProcessor: writes to file. The first field is made up by date and
#                  time in the format "YYYY-MM-DD HH:MM:SS". Fields are
#                  seperated by ";"

# viewProcessor

<ViewProcessor>
  # syntax for data-channels:
  # Channel <Titel> <Dimension> <Formula> <Decimals>
  #   <Formula> can be one of the following:
  #     A to H     values of analog sensors a to H
  #     Z          value of conter
  #     VS         virtual sensor
  #     <RADIO>    for radioactivity sensor
  #     everything else results in "\N" being written
  # CAUTION <Decimals> means places left plus places right of the point


  Channel Temp �C H 4
  Channel atm mbar D 5
  Channel Humid % G 4
  Channel Lum lux F 7
  Channel Evapo mm ?? 2                  # outputs "\N"
  Channel Radio �Sv/h <RADIO> 6
</ViewProcessor>


# fileProcessor
<FileProcessor>
  FileName /home/kai/telmet_data.txt  # Outputfile
  Channel Temperature �C H 4
  Channel atmospheric-pressure mbar D 5
  Channel Hunidity % G 4
  Channel Luminosity lux F 7
  Channel Evaporation mm ? 2
  Channel Radioactivity �Sv/h <RADIO> 6
</FileProcessor>
