open2300.conf 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. # open2300.conf
  2. #
  3. # Configuration files for open2300 weather station tools
  4. #
  5. # Default locations in which the programs will search for this file:
  6. # Programs search in this sequence:
  7. # 1. Path to config file including filename given as parameter (not supported by all tools)
  8. # 2. ./open2300.conf (current working directory)
  9. # 3. /jffs/etc/open2300.conf (typical DD-WRT location)
  10. # 4. /etc/open2300.conf (typical Linux location)
  11. #
  12. # All names are case sensitive!!!
  13. # Set to your serial port and time zone
  14. # For Windows use COM1, COM2, COM2 etc
  15. # For Linux use /dev/ttyS0, /dev/ttyS1 etc
  16. SERIAL_DEVICE /dev/tts/1 # /dev/ttyS0, /dev/ttyS1, COM1, COM2 etc
  17. TIMEZONE 1 # Hours Relative to UTC. East is positive, west is negative
  18. # Units of measure (set them to your preference)
  19. # The units of measure are ignored by wu2300 and cw2300 because both requires specific units
  20. WIND_SPEED m/s # select MPH (miles/hour), m/s, or km/h
  21. TEMPERATURE C # Select C or F
  22. RAIN mm # Select mm or IN
  23. PRESSURE hPa # Select hPa, mb or INHG
  24. #### Citizens Weather variables (used only by cw2300)
  25. # Format for latitude is
  26. # [2 digit degrees][2 digit minutes].[2 decimals minutes - NOT seconds][N for north or S for south]
  27. # Format for longitude is
  28. # [3 digit degrees][2 digit minutes].[2 decimals minutes - NOT seconds][E for east or W for west]
  29. # Use leading zeros to get the format ####.##N (lat) and #####.##E (long)
  30. CITIZEN_WEATHER_ID CW0000 # CW0000 should be replaced by HAM call or actual CW number
  31. CITIZEN_WEATHER_LATITUDE 5540.12N # DDMM.mmN or S - example 55 deg, 40.23 minutes north
  32. CITIZEN_WEATHER_LONGITUDE 01224.60E # DDDMM.mmE or W - example 12 deg, 24.60 minutes east
  33. APRS_SERVER rotate.aprs.net 14580 # These are the APRS servers and ports for
  34. APRS_SERVER first.aprs.net 14580 # Citizens Weather reporting.
  35. APRS_SERVER second.aprs.net 14580 # They they are tried in the entered order
  36. APRS_SERVER third.aprs.net 14580 # you may enter up to 5 alternate servers
  37. #### WEATHER UNDERGROUND variables (used only by wu2300)
  38. WEATHER_UNDERGROUND_ID WUID # ID received from Weather Underground
  39. WEATHER_UNDERGROUND_PASSWORD WUPASSWORD # Password for Weather Underground
  40. ### MYSQL Settings (only used by mysql2300)
  41. #MYSQL_HOST localhost # Localhost or IP address/host name
  42. #MYSQL_USERNAME open2300 # Name of the MySQL user that has access to the database
  43. #MYSQL_PASSWORD mysql2300 # Password for the MySQL user
  44. #MYSQL_DATABASE open2300 # Named of your database
  45. #MYSQL_PORT 0 # TCP/IP Port number. Zero means default
  46. #PGSQL_CONNECT hostaddr='127.0.0.1'dbname='open2300'user='postgres'password='sql' # Connection string
  47. #PGSQL_TABLE weather # Table name
  48. #PGSQL_STATION open2300 # Unique station id