# # This is the configuration file for the flarmradar client program # # The mandatory key to use to identify the client. Contact # info@flarmradar.ch to get a client key. key = ... your_key ... # Where to send the flarm data. You need to adapt this setting if you run # your own Flarm-Radar site. If you use the public site, then you don't need # to change this setting. #url = http://test.flarmradar.ch/rest/flarmdata/records url = http://www.flarmradar.ch/rest/flarmdata/records # Where to write log output (see options -d and -t). Log is written to stdout # if the line below is commented out. #log = /tmp/flarmclient.log ############################################################################### # Serial Port Settings ############################################################################### # Popular USB-to-Serial converters like Aten UC232A use this device #serial_device = /dev/ttyUSB0 # The Raspberry UART device, to disable console output to the serial interface # see http://www.irrational.net/2012/04/19/using-the-raspberry-pis-serial-port/ serial_device = /dev/ttyAMA0 # Use FlarmTool or a common terminal application to determine the current baud # rate of your flarm device. #baud = 4800 #baud = 9600 #baud = 19200 #baud = 38400 baud = 57600 ############################################################################### # Flarm Configuration ############################################################################### # The program tries to apply a meaningful configuration to the flarm device at # startup. Set this value to 0 to disable device configuration. Default: 1 (true) do_device_config = 1 # Aircraft Type # 0 = unknown # 1 = glider / motor-glider # 2 = tow / tug plane # 3 = helicopter / rotorcraft # 4 = parachute # 5 = drop plane for parachutes # 6 = hang-glider (hard) # 7 = para-glider (soft) # 8 = powered aircraft # 9 = jet aircraft # 10 = flying saucer (UFO) # 11 = balloon # 12 = airship # 13 = unmanned aerial vehicle (UAV) # 15 = static object, don't use this, causes alerts in approaching planes acft_type = 0 # which sentences are availble on the data port # 0: no output # 1: GPRMC, GPGGA, GPPSA plus FLARM proprietary sentences (incl. PGRMZ) # 2: only GPRMC, GPGGA, GPPSA but no FLARM proprietary sentences (incl. PGRMZ) # 3: only FLARM proprietary sentences (incl. PGRMZ), but no GPRMC, GPGGA, GPPSA nmeaout = 1 # maximum horizontal distance of aircraft to be processed, in meters # values between 2000 and 25500 are allowed range = 25500 # speed threshold in m/sec below which the aircraft is treated as "on the ground" # values between 1 and 10 are allowed threshold = 2 # output device configuration # 0: normal operation # 1: switch off LEDs and buzzer # 2: switch off only LEDs # 3: switch off only buzzer visual = 3