forked from intel-iot-devkit/motor-defect-detector-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.json
49 lines (46 loc) · 1.31 KB
/
config.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
{
"influx_host":"[email protected]",
"_comment": "localhost",
"influx_port":"8086",
"influx_database":"plc_data",
"influx_username":"admin",
"influx_password":"admin",
"influx_measurement":"plc_table",
"h2db_username":"SA",
"h2db_password":"",
"h2db_jar_location":"./h2.jar",
"modbus_alerts": {
"smcAC": {
"rules": {
"high": "data['smcAC_amp'] > thresholds['smcAC_amp']['high']",
"low": "data['smcAC_amp'] < thresholds['smcAC_amp']['low']"
}
},
"smcDC": {
"rules": {
"high": "data['smcDC_amp'] > thresholds['smcDC_amp']['high']",
"low": "data['smcDC_amp'] < thresholds['smcDC_amp']['low']"
}
},
"vib_table": {
"rules": {
"high": "data['vib_table_hz'] > thresholds['vib_table_hz']['high']",
"low": "data['vib_table_hz'] < thresholds['vib_table_hz']['low']"
}
}
},
"modbus_thresholds": {
"smcAC_amp": {
"low": -2.0,
"high": 2.0
},
"smcDC_amp": {
"low": 1.3,
"high": 7.1
},
"vib_table_hz": {
"low": 0.08,
"high": 2.1
}
}
}