Total Complexity | 0 |
Total Lines | 32 |
Duplicated Lines | 0 % |
Changes | 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 | myems_mqtt_broker = { |
||
18 | 'host': '127.0.0.1', |
||
19 | 'port': 1883, |
||
20 | 'username': 'admin', |
||
21 | 'password': 'Password1', |
||
22 | } |
||
23 | |||
24 | # The quality of service level to use. |
||
25 | # The value is one of 0, 1 or 2, |
||
26 | qos = 0 |
||
27 | |||
28 | # The topic prefix that the message should be published on. |
||
29 | topic_prefix = 'myems/point/' |
||
30 | |||
31 | interval_in_seconds = 60 |
||
32 |