config   A
last analyzed

Complexity

Total Complexity 0

Size/Duplication

Total Lines 25
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 0
eloc 17
dl 0
loc 25
rs 10
c 0
b 0
f 0
1
myems_system_db = {
2
    'user': 'root',
3
    'password': '!MyEMS1',
4
    'host': '127.0.0.1',
5
    'database': 'myems_system_db',
6
    'port': 3306,
7
}
8
9
myems_historical_db = {
10
    'user': 'root',
11
    'password': '!MyEMS1',
12
    'host': '127.0.0.1',
13
    'database': 'myems_historical_db',
14
    'port': 3306,
15
}
16
17
# Indicates how long the process waits between readings
18
interval_in_seconds = 180
19
20
# Get the gateway ID and token from MyEMS Admin
21
# This is used for getting data sources associated with the gateway
22
gateway = {
23
    'id': 1,
24
    'token': 'AAAAAAAA-AAAA-AAAA-AAAA-AAAAAAAAAAAA'
25
}
26