2019-01-13 13:06:32 +00:00
|
|
|
# This file defines the default configuration settings.
|
|
|
|
##### DO NOT EDIT THIS FILE. #####
|
|
|
|
# Your changes may be overwritten in a future update.
|
|
|
|
# Instead, edit the custom configuration file located at "data/settings.toml".
|
|
|
|
|
|
|
|
[database]
|
|
|
|
# Settings that control the database, or the connection to it
|
|
|
|
|
2019-01-14 20:06:38 +00:00
|
|
|
type = "mysql" # MariaDB. MySQL servers might work too, but no promises.
|
2019-01-14 21:32:55 +00:00
|
|
|
|
2019-01-15 16:37:46 +00:00
|
|
|
# The host that the database is running on. Both IP addresses & domain names are fine I think :-)
|
|
|
|
host = "127.0.0.1"
|
2019-01-14 21:32:55 +00:00
|
|
|
# The database to use.
|
|
|
|
name = "aq_db"
|
|
|
|
|
|
|
|
# The username to connect with
|
2019-01-13 13:06:32 +00:00
|
|
|
username = "user"
|
2019-01-14 21:32:55 +00:00
|
|
|
# the password to connect with
|
2019-01-13 13:06:32 +00:00
|
|
|
password = "Define_in_custom_config_file"
|
|
|
|
|
|
|
|
[routing]
|
|
|
|
# Settings that control the router's behaviour
|
|
|
|
|
|
|
|
# The default action to take if no action is specified
|
2019-01-14 20:06:38 +00:00
|
|
|
default-action = "fetch-data"
|
2019-01-15 17:27:35 +00:00
|
|
|
|
|
|
|
[data]
|
|
|
|
# Settings relating to the data returned by the API.
|
|
|
|
|
|
|
|
# The maximum number of seconds difference allowed before a reading is
|
|
|
|
# considered to be part of a different set.
|
|
|
|
#
|
|
|
|
# This is required, as not all the data items come in at the same time - so we
|
|
|
|
# need to be a bit 'fuzzy' about which readings we consider to be part of which
|
|
|
|
# time-step. Ideally, this value should be half of the actual data recording
|
|
|
|
# interval.
|
|
|
|
max_reading_timediff = 15
|