| Total Complexity | 0 |
| Total Lines | 25 |
| 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 | # 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 |