SERVER: # full URL that accepts POST method for sending data to the server # WARNING: replace the end 'BID' with a valid board ID number # API_POST_URL: 'http://localhost:5000/api/post/rawsensordata/2' LOGGER: # list of sensors to be read (ordering reflect columns of DATALOG file) # to ignore one, comment it out by putting # in the beginning of the line # SENSORS: - RTC_DS1307 - DHT22_TEMP - DHT22_AH - BMP085_PRESSURE - LDR # time between readings attempts (cycles of the logger execution) # INTERVAL: {days: 0, hours: 0, minutes: 0, seconds: 3} # set false to use the system time or the RTC sensor name to use instead # USE_RTC_DATETIME: RTC_DS1307 # expected format of the time stamp returned by the RTC reading # RTC_DATETIME_FORMAT: '%Y-%m-%d %H:%M:%S' ARDUINO: # comma-separated list of USB ports that may have the Arduino plugged in # Arduino Uno usually mounts on /dev/ttyACMx; the others go on /dev/USBx # SERIAL_PORT: /dev/ttyACM0, /dev/ttyACM1 # Arduino serial communication protocol (same as in meteorolog.ino) # OBS: 115200 seems unstable with Uno + PySerial # BAUD_RATE: 9600 # time (in seconds) to wait before send a new serial read request # RESPONSE_DELAY: 3 DATALOG: # directory to store datalog.csv data as backup # FILENAME: data/datalog.csv # CSV delimiter to be used on the file DATA_LOG_FILENAME # Sugestions: ',' or ';' or '\t' for tab (do not use the period '.') # CSV_SEP: '\t' # format of the datetime column (see Python docs on datetime module) # DATETIME_FORMAT: '%Y%m%d%H%M%S' # ============================================================================ # list of all the sensors available for this board, and their specs # WARNING: should be synced with the server (edit only if you know) # SENSORS_AVAILABLE: RTC_DS1307: data_format: datetime DHT22_TEMP: data_format: float DHT22_AH: data_format: float BMP085_PRESSURE: data_format: int LDR: data_format: float