Commit 7f14e322 authored by Nelso Jost's avatar Nelso Jost
Browse files

FIX: better settings

parent c72675ea
# server's full base address for sendind requests (must end with /)
BASE_URL: http://localhost:5000/
# server's full base address for sendind requests
BASE_URL: http://dados.cta.if.ufrgs.bt/emm
# valid board ID to which data will be sent
BOARD_ID: 2
# list of sensors that will be
SENSORS:
- nickname: DHT22_TEMP
data_format: FLOAT
- nickname: DHT22_AH
data_format: FLOAT
- nickname: BMP085_PRESSURE
data_format: INTEGER
- nickname: LDR
data_format: FLOAT
- {nickname: DHT22_TEMP, data_format: FLOAT}
- {nickname: DHT22_AH, data_format: FLOAT}
- {nickname: BMP085_PRESSURE, data_format: INTEGER}
- {nickname: LDR, data_format: FLOAT}
# comma-separated list of USB ports that may have the Arduino plugged in
SERIAL_PORT: /dev/ttyACM0, /dev/ttyACM1
# Arduino serial communication protocol (same as meteorolog/meteorolog.ino)
BAUD_RATE: 9600 # 115200 seems unstable with Uno + PySerial
# time to sleep between readings
READING_INTERVAL_SECONDS: 5
# CSV delimiter to be used on the file DATA_LOG_FILENAME
EXPORT_CSV_SEP: '\t'
# file which will hold all data locally (regardless of the web server)
DATA_LOG_FILENAME: datalog.csv
# temp file that hold data when server is off and will be sent when on
SERVER_OUTGOING_DATA_LOG_FILENAME: outgoing.json
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment