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://dados.cta.if.ufrgs.br/emm/api/post/rawsensordata/BID' 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: 10} # set false to use the system time or the RTC sensor name to use instead # if the reading is invalid somehow, the system's time will be used 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: # list of USB ports (the first one will be used for ino upload) # Uno and Mega usually appears at /dev/ttyACMx; else try /dev/ttyUSBx # SERIAL_PORTS: - /dev/ttyACM0 - /dev/ttyACM1 # Arduino serial communication protocol (same as in meteorolog.ino) # OBS: 115200 seems unstable with Uno + PySerial # BAUD_RATE: 9600 DATALOG: # 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 what you are doing !! # 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