Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
EMM
meteorolog
Commits
7f14e322
Commit
7f14e322
authored
Jun 25, 2015
by
Nelso Jost
Browse files
FIX: better settings
parent
c72675ea
Changes
1
Hide whitespace changes
Inline
Side-by-side
settings.yaml
View file @
7f14e322
# 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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment